/* Proposed: one modern title band for every inner page that uses the old grey "mountains" wave header.
   Targets only the FIRST Elementor section of a page when it has the mountains top shape, so page content is untouched. */
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] {
  margin-top: 0 !important;
  padding: 34px 0 30px !important;
  background: linear-gradient(120deg, #0b6b3a 0%, #0b8a4a 45%, #1e7fc0 100%) !important;
  position: relative;
  overflow: hidden;
}
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"']::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255, 210, 63, .28); pointer-events: none;
}
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] > .elementor-shape { display: none !important; }
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] .elementor-element-populated { background: none !important; }
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] .elementor-background-overlay { display: none !important; }

/* Title: show at once (no slow fade-in), modern bold font instead of italic Courgette */
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] .elementor-invisible { visibility: visible !important; }
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] .animated { animation: none !important; }
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] h1.elementor-heading-title,
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] h2.elementor-heading-title {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif !important; font-style: normal !important;
  font-size: 40px !important; font-weight: 800 !important; color: #fff !important; letter-spacing: .5px; line-height: 1.15;
}
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] h3.elementor-heading-title,
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] h4.elementor-heading-title,
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] h5.elementor-heading-title,
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] h6.elementor-heading-title,
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] p.elementor-heading-title {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif !important; font-size: 18px !important; font-weight: 500 !important;
  color: rgba(255, 255, 255, .92) !important;
}
/* Any heading after the first one in the band is the subtitle, whatever tag the page used */
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] .elementor-widget-heading ~ .elementor-widget-heading .elementor-heading-title {
  font-size: 18px !important; font-weight: 500 !important; color: rgba(255, 255, 255, .92) !important; letter-spacing: 0;
}
/* Divider line under the title becomes a short gold accent bar */
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] .elementor-divider-separator {
  border-top: 4px solid #ffd23f !important; width: 70px !important; border-radius: 4px;
}
.elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] .elementor-widget-spacer { display: none; }

@media (max-width: 767px) {
  .elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] { padding: 22px 0 18px !important; }
  .elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] h1.elementor-heading-title,
  .elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] h2.elementor-heading-title { font-size: 28px !important; }
  .elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] p.elementor-heading-title,
  .elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] h3.elementor-heading-title,
  .elementor > .elementor-top-section:first-child[data-settings*='"shape_divider_top":"mountains"'] .elementor-widget-heading ~ .elementor-widget-heading .elementor-heading-title { font-size: 15px !important; }
}

/* Life @ Crescent (page 140): show all text at once instead of the slow Elementor fade-in. */
.page-id-140 .elementor-invisible { visibility: visible !important; }
.page-id-140 .elementor-element.animated { animation: none !important; }

/* ---------- Main menu: bold, modern tabs (desktop) ---------- */
@media (min-width: 960px) {
  #site-navigation-wrap .dropdown-menu > li > a.menu-link { font-weight: 700 !important; font-size: 15px !important; color: #14284b !important; letter-spacing: .2px; padding: 0 4px !important; }
  #site-navigation-wrap .dropdown-menu > li > a.menu-link > .text-wrap { display: inline-block; padding: 9px 16px; border-radius: 30px; line-height: 1.2; transition: background .2s, color .2s, box-shadow .2s; }
  #site-navigation-wrap .dropdown-menu > li:hover > a.menu-link > .text-wrap { background: #e6f4ec; color: #0b8a4a; }
  #site-navigation-wrap .dropdown-menu > li.current-menu-item > a.menu-link > .text-wrap,
  #site-navigation-wrap .dropdown-menu > li.current-menu-ancestor > a.menu-link > .text-wrap { background: linear-gradient(135deg, #0b8a4a, #0b6b3a); color: #fff; box-shadow: 0 3px 0 #ffd23f; }
  #site-navigation-wrap .dropdown-menu > li > a.menu-link .nav-arrow { color: inherit; }
  #site-navigation-wrap .dropdown-menu .sub-menu { border: 0 !important; border-top: 3px solid #ffd23f !important; border-radius: 0 0 14px 14px; box-shadow: 0 14px 34px rgba(11, 60, 93, .18) !important; padding: 8px !important; min-width: 250px; }
  #site-navigation-wrap .dropdown-menu .sub-menu li a.menu-link { font-weight: 600 !important; font-size: 14.5px !important; color: #14284b !important; border-radius: 8px; padding: 10px 14px !important; border: 0 !important; }
  #site-navigation-wrap .dropdown-menu .sub-menu li a.menu-link:hover { background: #eef8f2 !important; color: #0b8a4a !important; }
}
/* Phone menu: bold items, current page in green */
#mobile-dropdown .menu > li > a { font-weight: 700 !important; color: #14284b !important; }
#mobile-dropdown .sub-menu li a { font-weight: 600 !important; }
#mobile-dropdown li.current-menu-item > a, #mobile-dropdown li.current-menu-ancestor > a { color: #0b8a4a !important; }
