/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* =============================================
   Article page redesign — template 3036
   ============================================= */

/* 1. Hero: fullbleed cover image, tall, with strong bottom gradient */
body.elementor-page-3036 .elementor-element-d30023a {
  min-height: 560px !important;
  background-color: #0f2e4c !important; /* fallback if image fails */
}

body.elementor-page-3036 .elementor-element-d30023a:not(.elementor-motion-effects-element-type-background),
body.elementor-page-3036 .elementor-element-d30023a > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-size: cover !important;
  background-position: center center !important;
}

/* Darker gradient so title text is always legible */
body.elementor-page-3036 .elementor-element-d30023a::before {
  background-color: transparent !important;
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.80) 100%
  ) !important;
}

/* 2. Title inner container: push title to bottom with generous padding */
body.elementor-page-3036 .elementor-element-4439331 {
  padding-top: 0 !important;
  padding-bottom: 52px !important;
}

/* 3. Title: white, large, sharp */
body.elementor-page-3036 .elementor-element-56b14f8 {
  width: 75% !important;
  max-width: 820px !important;
}

body.elementor-page-3036 .elementor-element-56b14f8 .elementor-heading-title {
  color: #ffffff !important;
  font-size: clamp(28px, 4vw, 54px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55) !important;
}

/* 4. Content area: white, rounded top, generous padding */
body.elementor-page-3036 .elementor-element-0113b49 {
  border-radius: 32px 32px 0 0 !important;
  padding-top: 64px !important;
  padding-bottom: 80px !important;
  gap: 0 !important;
}

/* 5. Hide TOC sidebar — it's empty in the static export */
body.elementor-page-3036 .elementor-element-84edbb5 {
  display: none !important;
}

/* 6. Article content column: full width when TOC hidden */
body.elementor-page-3036 .elementor-element-2aa124c {
  width: 100% !important;
}

/* 7. Article body text: readable column width + good typography */
body.elementor-page-3036 .elementor-widget-theme-post-content .elementor-widget-container {
  max-width: 700px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 18px !important;
  line-height: 1.85 !important;
  color: #2a3f54 !important;
}

body.elementor-page-3036 .elementor-widget-theme-post-content .elementor-widget-container p {
  margin-bottom: 1.2em !important;
}

body.elementor-page-3036 .elementor-widget-theme-post-content .elementor-widget-container h2,
body.elementor-page-3036 .elementor-widget-theme-post-content .elementor-widget-container h3,
body.elementor-page-3036 .elementor-widget-theme-post-content .elementor-widget-container h4,
body.elementor-page-3036 .elementor-widget-theme-post-content .elementor-widget-container h5 {
  color: #0f2e4c !important;
  font-size: clamp(18px, 2vw, 24px) !important;
  line-height: 1.3 !important;
  margin-top: 2em !important;
  margin-bottom: 0.5em !important;
}

body.elementor-page-3036 .elementor-widget-theme-post-content .elementor-widget-container ul,
body.elementor-page-3036 .elementor-widget-theme-post-content .elementor-widget-container ol {
  padding-left: 1.5em !important;
}

body.elementor-page-3036 .elementor-widget-theme-post-content .elementor-widget-container li {
  margin-bottom: 0.5em !important;
}

@media (max-width: 1024px) {
  body.elementor-page-3036 .elementor-element-d30023a {
    min-height: 420px !important;
  }
  body.elementor-page-3036 .elementor-element-56b14f8 {
    width: 90% !important;
  }
  body.elementor-page-3036 .elementor-widget-theme-post-content .elementor-widget-container {
    font-size: 17px !important;
  }
}

@media (max-width: 767px) {
  body.elementor-page-3036 .elementor-element-d30023a {
    min-height: 320px !important;
  }
  body.elementor-page-3036 .elementor-element-4439331 {
    padding-bottom: 32px !important;
  }
  body.elementor-page-3036 .elementor-element-56b14f8 {
    width: 100% !important;
  }
  body.elementor-page-3036 .elementor-element-0113b49 {
    border-radius: 20px 20px 0 0 !important;
    padding-top: 40px !important;
  }
  body.elementor-page-3036 .elementor-widget-theme-post-content .elementor-widget-container {
    font-size: 16px !important;
    line-height: 1.75 !important;
  }
}
