/* ==========================================================================
   AstroNavigations - global overrides
   Loaded after styles.css, so these rules win over the theme defaults.
   ========================================================================== */

/* 1. Cormorant Garamond everywhere -----------------------------------------
   Kajabi requests the font from Google Fonts because it is set in
   Settings > Style guide. These rules stop anything falling back. */
:root { --astro-font: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif; }

body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6,
p, a, li, span, blockquote, figcaption, label,
.btn, .link-list__link, .logo__text {
  font-family: var(--astro-font);
}

/* 2. Astro blocks ---------------------------------------------------------- */
[class*="block-type--astro_"] img { max-width: 100%; height: auto; }
[class*="block-type--astro_"] p,
[class*="block-type--astro_"] h1,
[class*="block-type--astro_"] h2,
[class*="block-type--astro_"] h3,
[class*="block-type--astro_"] h4 { overflow-wrap: break-word; }

/* Cards and testimonials fill their column so a row stays even, whatever the
   copy length. Works with the section's "Equal height blocks" setting. */
.block-type--astro_card > .block { height: 100%; }


/* 4. Bleed images sit flush on the section edge ---------------------------- */
.block-type--astro_media .astro-media { max-width: 100%; }

/* ==========================================================================
   5. HEADER - matches the hero nav bar in the design
   Kajabi's own Header section is used (Sections > Header), not a block.
   ========================================================================== */
.header {
  background-color: transparent;
  border-bottom: 1px solid rgba(201, 169, 110, .35);
}
.header .header__container { max-width: 1340px; }
.header .link-list__link,
.header .header__block a {
  text-transform: uppercase;
  letter-spacing: .16em;
  transition: color .18s ease;
}
.header .link-list__link:hover { color: #C9A96E; }

/* Gold pipe between the top-level menu items */
.header .link-list__links { display: flex; align-items: center; gap: 18px; }
.header .link-list__links > a + a::before,
.header .header__block .link-list__link + .link-list__link::before {
  content: "|";
  color: #C9A96E;
  opacity: .7;
  margin-right: 18px;
  display: inline-block;
}
.header .logo__image { width: 90px; }

/* Sticky state gets the solid navy so links stay readable over pale sections */
.header--sticky { border-bottom-color: rgba(201, 169, 110, .5); }
.astro-content__divider svg {
    color: #C9A96E;
    margin: inherit;
}
@media (max-width: 767px) {
  .header .link-list__links { justify-content: center; }
  .header .link-list__links > a + a::before { margin-right: 12px; }
}

/* ==========================================================================
   6. FOOTER - Kajabi's own Footer section (Sections > Footer)
   The menu is rendered through block.liquid, so it arrives carrying a grid
   class (col-6 = 50% width). That is what broke the row. Neutralised below.
   ========================================================================== */
.footer {
  background-image: url("astro-bg-hero-navy.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

@media (min-width: 992px) {
  .footer .footer__container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 0 20px;
    max-width: 1340px;
  }
  .footer .footer__container > .footer__block { flex: 1 1 auto; margin: 0; min-width: 0; }
  .footer .footer__container > .footer__block--astro-sep { flex: 0 0 auto; }
  .footer .footer__container > .footer__block--astro-legal { flex: 0 0 100%; width: 100%; }
  /* grid classes have no business inside the footer row */
  .footer .footer__container > [class*="col-"] {
    width: auto !important;
    flex: 1 1 auto;
    padding: 0 !important;
    margin: 0 !important;
  }
}

.footer .link-list__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; }
.footer .link-list__link { text-decoration: none; margin: 0 !important; transition: opacity .18s ease; }
.footer .link-list__link:hover { opacity: .78; }

@media (max-width: 991px) {
  .footer .footer__container { text-align: center; }
  .footer .footer__block { margin: 14px 0; }
}

/* ==========================================================================
   7. Scroll performance
   No scroll-behaviour rules anywhere in this file.
   ========================================================================== */
.section, .footer, .header { background-attachment: scroll; }

/* ==========================================================================
   8. Upsell page default background
   Set here, not through a custom section setting, so Kajabi's own
   Media type / Image / Video controls stay completely untouched.
   The section's own <style> block renders after this stylesheet, so the
   moment you pick an image or video in the editor it overrides this rule.
   ========================================================================== */
#section-upsell {
  background-image: url("astro-bg-upsell.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}




h3.astro-content__kicker {
justify-content: center !important;}


@media(min-width:768px){
body, .page, .main-content {
  overflow: visible !important;
}

div#block-bd_steps {
    position: -webkit-sticky;   
    position: sticky;
    top: 100px;
    z-index: 99;  
    transition: transform 0.4s ease;
    will-change: transform;
}


}


























/* ==========================================================================
   8. Birth details page - vertical rules between the trust badges
   ========================================================================== */
@media (min-width: 768px) {
  .block-type--astro_card.astro-badge-rule > .block {
    border-left: 1px solid rgba(201, 169, 110, .55);
  }
}
