/* v39: one navigation and footer implementation, present in every HTML page. */
.site-header {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 14px;
  right: 14px;
  width: auto;
  height: auto;
  min-height: 68px;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #beddff38;
  border-radius: 18px;
  background: linear-gradient(180deg, #0d2748f5, #081b34f2);
  box-shadow: 0 18px 50px #020c1a2e;
  backdrop-filter: blur(26px);
  color: #fff;
}
.v19-brand {
  display: flex;
  align-items: center;
  flex: none;
}
.v19-brand img {
  display: block;
  width: 164px;
  height: auto;
}
.v19-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}
.v19-nav-item {
  position: relative;
}
.v19-trigger,
.v19-cta,
.v19-direct,
.v19-menu-toggle {
  font:
    600 13px/1.4 Manrope,
    system-ui,
    sans-serif;
  color: #e1ecf8;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.v19-trigger {
  padding: 14px 11px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}
.v19-trigger:after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.v19-nav-item.open > .v19-trigger:after {
  transform: rotate(225deg);
}
.v19-direct {
  padding: 14px 11px;
}
.v19-cta {
  display: block;
  padding: 13px 17px;
  border: 1px solid #beddff50;
  border-radius: 12px;
  background: #ffffff14;
}
.v19-mega {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 390px;
  max-width: calc(100vw - 60px);
  padding: 18px;
  border: 1px solid #b1d7ff38;
  border-radius: 18px;
  background: #081b31;
  box-shadow: 0 28px 70px #0005;
  max-height: calc(100dvh - 120px);
  overflow: auto;
}
.js-nav .v19-mega {
  display: none;
}
.js-nav .v19-nav-item.open > .v19-mega {
  display: block;
}
.v19-mega-link {
  display: block;
  padding: 11px 12px;
  color: #c2d2e5;
  font:
    500 14px/1.5 Manrope,
    system-ui,
    sans-serif;
  text-decoration: none;
  border-radius: 8px;
}
.v19-mega-link:hover,
.v19-mega-link:focus-visible {
  color: #fff;
  background: #ffffff12;
}
.v19-menu-toggle {
  display: none;
  padding: 12px 13px;
  border: 1px solid #beddff50;
  border-radius: 11px;
  background: #ffffff0d;
  cursor: pointer;
}
.v19-footer {
  position: relative;
  padding: 60px 0 28px;
  background: #06101d;
  color: #b0bfd1;
}
.v19-footer-shell {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.v19-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 34px;
}
.v19-footer-brand img {
  width: 165px;
  height: auto;
}
.v19-footer-brand p {
  font-size: 13px;
  line-height: 1.75;
  max-width: 400px;
}
.v19-footer-main > div:not(.v19-footer-brand) {
  display: flex;
  flex-direction: column;
}
.v19-footer-main b {
  margin-bottom: 14px;
  color: #e0e9f4;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.v19-footer-main a {
  display: block;
  padding: 5px 0;
  color: #b0bfd1;
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
}
.v19-footer-main a:hover {
  color: #fff;
  text-decoration: underline;
}
.v19-footer-base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid #ffffff24;
  color: #a0b1c5;
  font-size: 11px;
}
/* Without JS, all navigation destinations remain available in normal flow. */
.site-header:not(.js-nav) {
  position: relative;
  top: 0;
  left: 0;
  right: auto;
  width: 100%;
  flex-wrap: wrap;
  border-radius: 0;
}
.site-header:not(.js-nav) .v19-nav {
  flex-wrap: wrap;
  align-items: flex-start;
}
.site-header:not(.js-nav) .v19-mega {
  position: static;
  max-width: 100%;
  width: auto;
  max-height: none;
  box-shadow: none;
}
@media (max-width: 1180px) {
  .js-nav .v19-menu-toggle {
    display: block;
  }
  .js-nav .v19-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: auto;
    max-height: calc(100dvh - 116px);
    overflow: auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid #b1d7ff38;
    border-radius: 18px;
    background: #07182c;
  }
  .js-nav .v19-nav.mobile-open {
    display: flex;
  }
  .v19-nav-item {
    width: 100%;
  }
  .v19-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 14px;
  }
  .v19-mega {
    position: static;
    width: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0 4px 10px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .v19-direct,
  .v19-cta {
    padding: 14px 11px;
    font-size: 14px;
  }
  .site-header:not(.js-nav) .v19-nav {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 900px) {
  .v19-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 9px 11px;
    gap: 8px;
  }
  .v19-brand img {
    width: 140px;
  }
  .v19-footer-shell {
    width: calc(100% - 32px);
  }
  .v19-footer-main {
    grid-template-columns: 1fr;
  }
  .v19-footer-base {
    flex-direction: column;
  }
}

/* EC-BTN-104 + EC-NAV-121: Re-assert hero / CTA text-white on buttons & links.
   Uses class~= (word match) not class*= (substring) to avoid matching hover:text-white etc. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
