/*
Theme Name: Rwanda
Theme URI: https://www.volcanoesrwanda.org
Author: Volcanoes National Park Rwanda
Description: Custom theme for Volcanoes National Park Rwanda — gorilla trekking & wildlife adventures.
Version: 1.0
Text Domain: rwanda
*/

/* ===========================
   CUSTOM PROPERTIES
=========================== */
:root{
  --navy:#1A8A6E;
  --navy-dark:#1E332F;
  --blue:#2C4A45;
  --green:#F0A93C;
  --gray:#5f5f5f;
  --light-gray:#F5F1E4;
}

/* ===========================
   RESET & BASE
=========================== */
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:source-sans-pro,sans-serif;font-size:16px;line-height:1.2em;color:var(--navy);}
img{max-width:100%;display:block}
h1,h2,h3,h4,h5,h6{font-family:brandon-grotesque,sans-serif;text-transform:uppercase;font-weight:700;}
h1 strong,h2 strong,h3 strong{color:var(--green)}
.container{width:100%;max-width:1244px;margin:0 auto;padding:0 32px}
.container-sm{width:100%;max-width:1044px;margin:0 auto;padding:0 32px}
a{text-decoration:none}
.tagline,.tagline-left{position:relative;display:inline-block;padding-bottom:9px;text-transform:uppercase;letter-spacing:1.5px;font-weight:600;font-size:15px;}
.tagline{text-align:center}
.tagline:after,.tagline-left:after{content:"";position:absolute;bottom:0;left:0;width:30px;height:3px;background:var(--green)}
.tagline:after{left:50%;transform:translateX(-50%)}

/* ===========================
   BUTTONS
=========================== */
.button{display:inline-block;letter-spacing:1px;text-transform:uppercase;text-align:center;font-size:14px;font-weight:600;padding:13.5px 23px;border:2px solid;transition:all .3s;}
.button.secondary-button{color:#fff;background:var(--blue);border-color:var(--blue)}
.button.secondary-button:hover{color:var(--blue);background:#fff}
.button.primary-button{color:#fff;background:var(--navy);border-color:var(--navy)}
.button.primary-button:hover{color:var(--navy);background:#fff}
.button.transparent-button{background:transparent;border-color:#fff;color:#fff;display:inline-flex;align-items:center;gap:10px}

/* ===========================
   HEADER / NAV
=========================== */
.site-header{position:relative;width:100%;background:var(--navy);z-index:9999}
.top-menu{display:none}
.header-bottom{display:flex;justify-content:space-between;align-items:center;padding:0 24px 0 40px;height:80px}
.header-bottom .site-logo{display:flex;align-items:center}
.header-bottom .site-logo a{color:#fff;font-family:brandon-grotesque,sans-serif;font-size:24px;font-weight:700;letter-spacing:3px;text-transform:uppercase;padding:14px 0;display:flex;align-items:center}
.site-logo-img{height:72px;width:auto;display:block}
.main-menu{display:flex;list-style:none;gap:0;align-items:center}
.main-menu li a{display:flex;align-items:center;gap:5px;color:#fff;letter-spacing:0.9px;text-transform:uppercase;font-family:brandon-grotesque,sans-serif;font-size:13px;font-weight:700;padding:10px 15px;transition:color .3s;white-space:nowrap}
.main-menu li a:hover{color:var(--green)}
.main-menu li a .caret{font-size:10px}

/* Sub-menus: hidden by default, revealed on hover (desktop) */
.main-menu .sub-menu{display:none;list-style:none}

@media(min-width:1025px){
  .main-menu li{position:relative}
  .main-menu li:hover > .sub-menu,
  .main-menu li:focus-within > .sub-menu{
    display:block;
    position:absolute;
    top:100%;
    left:0;
    background:var(--navy-dark);
    min-width:220px;
    z-index:10000;
    padding:8px 0;
    box-shadow:0 8px 24px rgba(0,0,0,0.25);
  }
  .main-menu .sub-menu li a{
    padding:10px 20px;
    display:block;
    color:#fff;
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
    white-space:nowrap;
    border:none;
  }
  .main-menu .sub-menu li a:hover{color:var(--green);background:rgba(255,255,255,0.05)}
}

.header-apply{display:flex;align-items:center;margin-left:20px;flex-shrink:0}
.header-apply a{background:var(--green);color:#1E332F;text-align:center;text-transform:uppercase;font-family:brandon-grotesque,sans-serif;font-weight:700;font-size:13px;letter-spacing:1px;padding:0 26px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:3px;white-space:nowrap;transition:background .25s,transform .15s}
.header-apply a:hover{background:#d9932a;transform:translateY(-1px)}

/* Hamburger button */
.nav-hamburger{display:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:none;border:none;cursor:pointer;padding:10px;margin-right:16px;z-index:10000}
.nav-hamburger span{display:block;width:24px;height:2px;background:#fff;transition:all .3s}

/* Mobile nav drawer */
@media(max-width:1024px){
  .top-menu{display:none}
  .nav-hamburger{display:flex}
  .main-menu{
    display:none;
    flex-direction:column;
    position:fixed;
    top:0;
    left:0;right:0;bottom:0;
    height:100vh;
    height:100dvh;
    max-height:100vh;
    max-height:100dvh;
    background:#1E332F;
    z-index:9998;
    padding:1.5rem 1.5rem 5rem;
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    align-items:flex-start;
  }
  .main-menu.open{display:flex}
  .main-menu.open li{width:100%}
  .main-menu.open li a{padding:14px 0;border-bottom:1px solid rgba(255,255,255,0.12);font-size:16px;display:block}
  .main-menu.open .sub-menu{
    display:block !important;
    position:static;
    background:rgba(255,255,255,0.04);
    border-left:2px solid var(--green);
    margin-left:0.5rem;
    padding-left:0.85rem;
  }
  .main-menu.open .sub-menu li a{
    padding:10px 0;
    font-size:14px;
    border-bottom:1px solid rgba(255,255,255,0.06);
  }
  html.nav-open,body.nav-open{overflow:hidden !important;height:100%;touch-action:none}
}

/* ===========================
   HERO
=========================== */
.big-hero-section{background:var(--navy);min-height:calc(100vh - 103px);display:flex;align-items:center;position:relative;overflow:hidden;padding:50px 0}
.big-hero-section img.hero-bg{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;opacity:1}
.big-hero-section .container{position:relative;z-index:2;text-align:center}
.big-hero-section--box-content{max-width:916px;margin:0 auto}
.big-hero-section--box-content .tagline{color:#fff}
.big-hero-section--box-content h1{color:#fff;font-size:48px;line-height:56px;margin:0 0 20px}
.big-hero-section--box-content h4{color:#fff;text-transform:none;font-weight:600;font-size:20px;margin:0 0 20px;font-family:source-sans-pro,sans-serif}
.hero-links{display:flex;justify-content:center;align-items:center;gap:24px}
@media(max-width:991px){
  .hero-links{flex-direction:column;gap:10px}
  .big-hero-section--box-content h1{font-size:26px;line-height:2rem}
}

/* ===========================
   BIG SLIDER
=========================== */
.section-big-slider{margin:65px 0 43px}
.section-big-slider--title{text-align:center;max-width:640px;margin:0 auto 38px}
.section-big-slider--title h2{margin:0 0 14px;font-size:40px;line-height:44px}
.section-big-slider--title p{font-size:15px;line-height:1.38rem}
.section-big-slider--items-item{position:relative;width:100%;height:496px;background-size:cover;background-position:center;display:flex;align-items:center}
.section-big-slider--items-item .category{position:absolute;top:0;left:0;background:#1E332F;color:#fff;text-transform:uppercase;font-family:brandon-grotesque,sans-serif;padding:6px 12px;font-size:16px}
.section-big-slider--items-item-description{max-width:330px;margin-left:100px;color:#fff;position:relative;z-index:2}
.section-big-slider--items-item-description h3{color:#fff;margin:0 0 5px;font-size:36px}
.section-big-slider--items-item-description p.text{margin:0 0 23px;font-size:15px;line-height:1.38rem}
@media(max-width:991px){
  .section-big-slider--items-item-description{margin-left:37px;max-width:243px}
  .section-big-slider--items-item-description h3{font-size:24px}
}

/* ===========================
   FOUR EXPERIENCE CARDS
=========================== */
.section-big-cards{margin:43px 0 64px}
.big-title{text-align:center;max-width:640px;margin:0 auto 38px}
.big-title h2{margin:0 0 14px;font-size:40px;line-height:44px}
.big-title p{font-size:15px;line-height:1.38rem}
.section-big-cards--items{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;max-width:1244px;margin:0 auto}
.section-big-cards--items-item{display:flex;flex-direction:column;align-items:center;max-width:280px;margin:0 auto;width:100%}
.image-text{text-align:center;margin-bottom:14px}
.image-text .image-wrapper{min-height:67px;display:flex}
.image-text .image-wrapper img{max-width:100px;margin:auto;display:block}
.image-text p{text-transform:uppercase;font-family:brandon-grotesque,sans-serif;font-size:18px;font-weight:450;margin:0}
.image-text p span{display:block;color:var(--gray);font-size:11px}
.card-desc{position:relative;width:100%;padding:248px 19px 17px;background-size:cover;background-position:center;margin-bottom:14px}
.card-desc:after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(25,40,81,0),rgba(25,40,81,.7),#1A8A6E);z-index:0}
.card-desc h3{position:relative;z-index:1;color:#fff;font-size:24px;max-width:230px;margin:0 0 17px;text-shadow:0 1px 4px rgba(0,0,0,.5)}
.card-desc p{position:relative;z-index:1;color:#fff;text-transform:uppercase;font-size:14px;font-weight:600;margin:0}
@media(max-width:1199px){.section-big-cards--items{grid-template-columns:repeat(2,1fr);max-width:600px}}
@media(max-width:575px){.section-big-cards--items{grid-template-columns:1fr}}

/* ===========================
   HALF SECTIONS
=========================== */
.half-section{margin:70px 0}
.half-section--box{display:flex;justify-content:space-between;align-items:center;gap:40px}
.half-section--box-text{max-width:518px}
.half-section--box-text h2{margin:0 0 20px;line-height:2.75rem;font-size:40px}
.half-section--box-text p{margin:0 0 20px;font-size:15px;line-height:1.38rem}
.half-section--box-img{max-width:580px;width:100%}
.half-section--box-img img{width:100%}
.half-section.left-image .half-section--box{flex-direction:row-reverse}
@media(max-width:991px){
  .half-section--box{flex-direction:column}
  .half-section.left-image .half-section--box{flex-direction:column-reverse}
}

/* Icon section with dark gradient */
.dark-bg-gradient{background:linear-gradient(#1A8A6E 0%,#1A8A6E 10%,#1E332F 100%);color:#fff;position:relative}
.dark-bg-gradient *{color:#fff}
.dark-bg-gradient h2 strong{color:var(--green)}
.section-with-icons{padding:67px 0 57px;margin:0}
.section-with-icons .tagline-left{color:#fff}
.half-section--icons{display:flex;justify-content:space-around;gap:20px;margin-top:30px}
.half-section--item{text-align:center;display:flex;flex-direction:column;align-items:center;max-width:242px}
.half-section--item-icon img{margin:0 0 15px}
.half-section--item-title{text-transform:uppercase;letter-spacing:1.4px;font-size:14px;font-weight:600;margin:0 0 10px}
.half-section--item-text{font-size:15px;line-height:1.38rem}
@media(max-width:991px){.half-section--icons{flex-direction:column;align-items:center}}

/* ===========================
   STORIES SLIDER
=========================== */
.stories-slider-section{background:linear-gradient(#1A8A6E 0%,#1A8A6E 10%,#1E332F 100%);padding:103px 0 81px;color:#fff}
.stories-slider-item{display:flex;justify-content:space-between;align-items:center;gap:65px}
.stories-slider-item--content{max-width:380px}
.stories-slider-item--content .tagline-left{color:#fff}
.stories-slider-item--content h2{color:#fff;margin:0 0 20px;font-size:36px;line-height:1.2}
.stories-slider-item--content p{margin:0 0 20px;font-size:15px;line-height:1.38rem}
.stories-slider-item--content a{color:#fff;text-transform:uppercase;font-size:14px;font-weight:600;letter-spacing:1.4px}
.stories-slider-navigation{display:flex;justify-content:space-between;gap:30px;margin-top:20px}
.stories-slider-navigation span{flex:1;text-align:center;text-transform:uppercase;font-size:14px;font-weight:600;padding:17px 0 13px;border-bottom:3px solid transparent;cursor:pointer}
.stories-slider-navigation span.active{color:var(--green);border-color:var(--green)}
.stories-slider-item--wrapper{display:flex;max-width:664px;width:100%}
.stories-slider-item--wrapper img{width:50%;object-fit:cover}
.stories-slider-item--wrapper-description{background:#fff;width:50%;padding:41px 40px 30px}
.stories-slider-item--wrapper-description p{color:var(--navy);font-size:15px;line-height:1.38rem;margin:0 0 8px}
.stories-slider-item--wrapper-description p strong{font-size:22px;line-height:28px;display:block;margin-bottom:8px}
.stories-slider-item--wrapper-description .stories-slider-item--name{text-transform:uppercase;letter-spacing:1.5px;font-size:15px;font-weight:700}
.stories-slider-item--wrapper-description .trip-type{color:#989898;text-transform:uppercase;letter-spacing:1.4px;font-size:14px}
@media(max-width:1024px){
  .stories-slider-item{flex-direction:column}
  .stories-slider-item--wrapper{flex-direction:column;max-width:380px}
  .stories-slider-item--wrapper img{width:100%}
  .stories-slider-item--wrapper-description{width:100%}
}

/* ===========================
   BOTTOM PAGE BAR
=========================== */
.bottom-page{background:var(--navy);padding:50px 0}
.bottom-page--items{display:grid;grid-template-columns:repeat(4,1fr);}
.bottom-page--items-item{display:flex;justify-content:center;align-items:center;gap:20px;position:relative;padding:0 20px}
.bottom-page--items-item:not(:last-child):after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:1px;height:71px;background:#000}
.bottom-page--img img{width:50px}
.bottom-page--items-item--content p{color:#fff;text-transform:uppercase;letter-spacing:1.5px;font-size:15px;font-weight:600;margin:0 0 8px}
.bottom-page--items-item--content a{color:#2C4A45;text-transform:uppercase;letter-spacing:1.4px;font-size:14px;font-weight:600}
@media(max-width:1100px){
  .bottom-page--items{grid-template-columns:repeat(2,1fr);gap:30px;max-width:540px;margin:0 auto}
  .bottom-page--items-item:after{display:none}
}
@media(max-width:767px){.bottom-page--items{grid-template-columns:1fr;max-width:280px}}

/* ===========================
   FOOTER
=========================== */
.site-footer{background:#1E332F;color:#fff;padding:52px 0 0}
.site-footer a{color:var(--green)}
.site-footer a:hover{color:#fff}
.footer-row{display:flex;justify-content:space-between;gap:32px;padding-bottom:72px;flex-wrap:wrap}
.footer-column h4{text-transform:uppercase;letter-spacing:1.5px;font-size:15px;font-weight:600;margin:0 0 17px;color:#fff}
.footer-column p,.footer-column li{font-size:16px;line-height:27px}
.footer-column ul{list-style:none}
.footer-column ul a{color:var(--green)}
.footer-column ul a:hover{color:#fff}
.footer-logo{height:60px;width:auto;display:block}
.social-list{display:flex;gap:14px;list-style:none;margin-top:20px}
.social-list a{color:#fff;display:flex}
.copyright{text-align:center;padding:20px 0;font-size:14px;border-top:1px solid #22392F;color:#c6c6c6}
.copyright a{color:var(--green)}
@media(max-width:991px){.footer-row{flex-direction:column}}

/* ===========================
   INNER HERO (page.php + single.php)
=========================== */
.inner-hero{
  position:relative;
  min-height:380px;
  background-color:var(--navy-dark);
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:flex-end;
  padding-bottom:56px;
}
.inner-hero--post{min-height:480px}
.inner-hero--overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom, rgba(30,51,47,0.35) 0%, rgba(30,51,47,0.82) 100%);
}
.inner-hero--no-image .inner-hero--overlay{background:linear-gradient(135deg,#1A8A6E 0%,#1E332F 100%)}
.inner-hero--content{position:relative;z-index:2}
.inner-hero--content h1{
  color:#fff;
  font-size:42px;
  line-height:1.15;
  margin:16px 0 0;
  max-width:760px;
}
@media(max-width:767px){.inner-hero--content h1{font-size:28px}}

/* Breadcrumb */
.breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  font-size:13px;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  color:rgba(255,255,255,0.75);
}
.breadcrumb a{color:rgba(255,255,255,0.75);transition:color .2s}
.breadcrumb a:hover{color:var(--green)}
.breadcrumb-sep{color:rgba(255,255,255,0.4);font-size:11px}

/* Post category badge */
.post-badge{
  display:inline-block;
  background:var(--green);
  color:var(--navy-dark);
  font-family:brandon-grotesque,sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  padding:5px 14px;
  margin-top:20px;
  margin-bottom:8px;
}

/* ===========================
   PAGE BODY (page.php)
=========================== */
.inner-body{padding:60px 0 40px}
.inner-body--content{max-width:820px;margin:0 auto}

/* Rich content typography */
.inner-body--content h2,
.single-article--body h2{font-size:30px;margin:40px 0 16px;line-height:1.2}
.inner-body--content h3,
.single-article--body h3{font-size:22px;margin:32px 0 12px}
.inner-body--content h4,
.single-article--body h4{font-size:17px;margin:24px 0 10px}
.inner-body--content p,
.single-article--body p{font-size:19px;line-height:1.85rem;margin:0 0 24px;color:var(--gray)}
.inner-body--content a,
.single-article--body a{color:var(--navy);border-bottom:1px solid rgba(26,138,110,0.3);transition:border-color .2s}
.inner-body--content a:hover,
.single-article--body a:hover{border-color:var(--navy)}
.inner-body--content ul,
.inner-body--content ol,
.single-article--body ul,
.single-article--body ol{margin:0 0 24px;padding-left:24px;font-size:19px;line-height:1.85rem;color:var(--gray)}
.inner-body--content li,
.single-article--body li{margin-bottom:8px}
.inner-body--content img,
.single-article--body img{border-radius:4px;margin:28px 0;width:100%;height:auto}
.inner-body--content blockquote,
.single-article--body blockquote{
  border-left:4px solid var(--green);
  margin:32px 0;
  padding:16px 24px;
  background:var(--light-gray);
  font-size:18px;
  font-style:italic;
  line-height:1.7;
  color:var(--navy-dark);
}
.inner-body--content table,
.single-article--body table{width:100%;border-collapse:collapse;margin:28px 0;font-size:15px}
.inner-body--content th,
.single-article--body th{background:var(--navy);color:#fff;padding:12px 16px;text-align:left;font-family:brandon-grotesque,sans-serif;letter-spacing:1px;font-size:13px;text-transform:uppercase}
.inner-body--content td,
.single-article--body td{padding:10px 16px;border-bottom:1px solid #e8e8e8;color:var(--gray)}
.inner-body--content tr:nth-child(even) td,
.single-article--body tr:nth-child(even) td{background:#f9f7f2}

/* ===========================
   SINGLE ARTICLE + SIDEBAR
=========================== */
.single-wrap{padding:60px 0 20px}

.single-layout{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:60px;
  align-items:start;
}

/* ── Sidebar ── */
.single-sidebar{
  position:sticky;
  top:24px;
  display:flex;
  flex-direction:column;
  gap:28px;
}

/* CTA widget */
.sidebar-cta{
  background:var(--navy-dark);
  color:#fff;
  border-radius:4px;
  overflow:hidden;
  padding:32px 28px 28px;
}
.sidebar-cta--badge{
  display:inline-block;
  background:var(--green);
  color:var(--navy-dark);
  font-family:brandon-grotesque,sans-serif;
  font-size:10px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  padding:4px 12px;
  margin-bottom:16px;
}
.sidebar-cta--heading{
  font-size:22px;
  line-height:1.25;
  color:#fff;
  margin:0 0 14px;
}
.sidebar-cta--text{
  font-size:14px;
  line-height:1.65rem;
  color:rgba(255,255,255,0.8);
  margin:0 0 18px;
}
.sidebar-cta--list{
  list-style:none;
  padding:0;
  margin:0 0 24px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.sidebar-cta--list li{
  font-size:14px;
  color:rgba(255,255,255,0.85);
  display:flex;
  align-items:center;
  gap:8px;
}
.sidebar-cta--btn{
  display:block;
  background:var(--green);
  color:var(--navy-dark);
  font-family:brandon-grotesque,sans-serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  text-align:center;
  padding:14px 20px;
  transition:background .25s,color .25s;
}
.sidebar-cta--btn:hover{background:#fff;color:var(--navy-dark)}

/* Quick facts widget */
.sidebar-widget{
  background:#f9f7f2;
  border:1px solid #e8e4d8;
  border-radius:4px;
  padding:24px 24px 20px;
}
.sidebar-widget--title{
  font-size:13px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--navy);
  margin:0 0 16px;
  padding-bottom:12px;
  border-bottom:2px solid var(--green);
  display:inline-block;
}
.sidebar-facts{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.sidebar-facts li{
  display:flex;
  justify-content:space-between;
  font-size:14px;
  color:var(--gray);
  padding-bottom:10px;
  border-bottom:1px solid #ede9df;
  line-height:1.4;
}
.sidebar-facts li:last-child{border-bottom:none;padding-bottom:0}
.sidebar-facts li span{
  font-weight:700;
  color:var(--navy-dark);
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:1px;
  padding-top:2px;
  min-width:90px;
}

/* Responsive: stack on narrow screens */
@media(max-width:900px){
  .single-layout{grid-template-columns:1fr}
  .single-sidebar{position:static}
}

/* Post nav bar */
.post-nav-bar{padding:40px 0;border-top:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6;margin-bottom:0}
.post-nav-bar--inner{display:flex;justify-content:space-between;gap:32px}
.post-nav-bar--prev,.post-nav-bar--next{max-width:45%}
.post-nav-bar--next{text-align:right;margin-left:auto}
.post-nav-bar--prev a,
.post-nav-bar--next a{display:flex;flex-direction:column;gap:4px;color:var(--navy-dark);border:none}
.post-nav-bar--prev a:hover,
.post-nav-bar--next a:hover{color:var(--navy)}
.post-nav-bar--label{font-family:brandon-grotesque,sans-serif;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--navy);opacity:.7}
.post-nav-bar--title{font-size:15px;font-weight:600;line-height:1.4;color:var(--navy-dark)}
@media(max-width:600px){
  .post-nav-bar--inner{flex-direction:column;gap:20px}
  .post-nav-bar--prev,.post-nav-bar--next{max-width:100%}
  .post-nav-bar--next{text-align:left;margin-left:0}
}

/* ===========================
   PAGE CTA (bottom of page + post)
=========================== */
.page-cta{padding:80px 0;text-align:center}
.page-cta--inner{max-width:640px;margin:0 auto}
.page-cta .tagline{color:#fff;margin-bottom:16px;display:inline-block}
.page-cta h2{font-size:38px;line-height:1.15;margin:0 0 16px;color:#fff}
.page-cta--sub{font-size:17px;line-height:1.6;margin:0 0 32px;color:rgba(255,255,255,0.8)}
@media(max-width:767px){.page-cta h2{font-size:26px}}

/* ===========================
   ACCESSIBILITY
=========================== */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}

/* ===========================
   DESIGN POLISH v1.1
=========================== */

/* Smooth scroll + font rendering */
html{scroll-behavior:smooth}
body{line-height:1.65;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

/* ── Hero entrance — CSS keyframes (browser-native, tab-throttle safe) ── */
@keyframes vnp-fade-up{
  from{opacity:0;transform:translateY(28px)}
  to  {opacity:1;transform:translateY(0)}
}
.big-hero-section--box-content .tagline{
  opacity:0;
  animation:vnp-fade-up .85s cubic-bezier(.22,1,.36,1) 0.35s forwards
}
.big-hero-section--box-content h1{
  opacity:0;
  animation:vnp-fade-up 1.05s cubic-bezier(.22,1,.36,1) 0.55s forwards
}
.big-hero-section--box-content h4{
  opacity:0;
  animation:vnp-fade-up .8s cubic-bezier(.22,1,.36,1) 0.82s forwards
}
.hero-links a:nth-child(1){
  opacity:0;
  animation:vnp-fade-up .7s cubic-bezier(.22,1,.36,1) 1.05s forwards
}
.hero-links a:nth-child(2){
  opacity:0;
  animation:vnp-fade-up .7s cubic-bezier(.22,1,.36,1) 1.2s forwards
}
@media(prefers-reduced-motion:reduce){
  .big-hero-section--box-content .tagline,
  .big-hero-section--box-content h1,
  .big-hero-section--box-content h4,
  .hero-links a{animation:none;opacity:1}
}

/* Heading line-heights — prevent cramping & overlap */
h2{line-height:1.15}
h3{line-height:1.25}
.big-title h2{line-height:1.15;margin-bottom:16px}
.section-big-slider--title h2{line-height:1.15}
.half-section--box-text h2{line-height:1.15;font-size:clamp(26px,3.2vw,40px)}
.stories-slider-item--content h2{line-height:1.2;font-size:clamp(24px,2.8vw,36px)}
.inner-hero--content h1{line-height:1.12}

/* Body text consistency */
.section-big-slider--title p,
.big-title p,
.half-section--box-text p,
.half-section--item-text,
.stories-slider-item--content p,
.section-silo-guides--subtitle{font-size:16px;line-height:1.72;color:var(--gray)}
/* Restore white text on dark gradient sections */
.dark-bg-gradient .half-section--box-text p,
.dark-bg-gradient .half-section--item-text,
.stories-slider-section .stories-slider-item--content p{color:rgba(255,255,255,.85)}

/* Hero text rhythm */
.big-hero-section--box-content .tagline{margin-bottom:18px}
.big-hero-section--box-content h1{margin-bottom:18px;font-size:clamp(32px,4.5vw,54px);line-height:1.08}
.big-hero-section--box-content h4{margin-bottom:32px;font-size:clamp(16px,1.6vw,20px);line-height:1.6;opacity:.9}

/* ── Equal-height experience cards ── */
.section-big-cards--items{align-items:stretch}
.section-big-cards--items-item{height:100%}
/* Target the image link wrapper (has inline style, no class) */
.section-big-cards--items-item > a:not(.button){
  flex:1;
  display:flex;
  flex-direction:column;
  width:100%
}
/* Override card-desc to use min-height + flex-end for text position */
.card-desc{
  flex:1;
  min-height:300px;
  padding:20px 19px 17px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end
}

/* ── Section spacing ── */
.section-big-slider{margin:80px 0 64px}
.section-big-cards{margin:64px 0 80px}
.half-section{margin:80px 0}

/* ── Half section balance ── */
.half-section--box{gap:64px;align-items:center}
.half-section--box-img{min-width:0}
.half-section--box-img img{border-radius:6px;box-shadow:0 12px 48px rgba(0,0,0,.12)}

/* ── Leadership icons alignment ── */
.half-section--icons{gap:24px;padding:48px 0 0}
.half-section--item{max-width:220px;text-align:center}
.half-section--item-text{font-size:15px;line-height:1.65;color:rgba(255,255,255,.8)}
.half-section--item-title{font-size:13px;letter-spacing:1.4px;margin-bottom:10px}

/* ── Stories section ── */
.stories-slider-item{gap:64px}
.stories-slider-item--wrapper-description p strong{line-height:1.4;font-size:20px}
.stories-slider-navigation span{font-size:13px;letter-spacing:1.4px}

/* ── Silo cards ── */
.section-silo-guides--grid{gap:16px}
.silo-card{border-radius:6px;gap:8px}
.silo-card--label{font-size:12px;color:var(--navy)}
.silo-card--title{font-size:13px;line-height:1.45}

/* ── FAQ ── */
.faq-question{font-size:16px;line-height:1.4;padding:20px 0}
.faq-answer p{font-size:15px;line-height:1.75;color:#555}

/* ── Recent posts ── */
.post-card--title{font-size:15px;line-height:1.4}
.post-card--excerpt{
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical
}

/* ── Bottom bar ── */
.bottom-page--items-item--content p{font-size:14px;letter-spacing:1.2px}
.bottom-page--items-item--content a{color:var(--green);font-size:13px}

/* ── 3D tilt context ── */
.section-big-cards--items{perspective:1200px}
.section-big-cards--items-item{will-change:transform;transition:box-shadow .3s}
.section-big-cards--items-item:hover{box-shadow:0 16px 48px rgba(0,0,0,.18)}
.section-silo-guides--grid{perspective:1000px}
.silo-card{will-change:transform}

/* Three.js hero canvas */
#hero-particles{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1;opacity:.55}
.big-hero-section .container{z-index:3}
.big-hero-section img.hero-bg{z-index:0}

/* ── GSAP initial visibility guard ──
   Elements set opacity:0 by GSAP before animating get a fallback */
.js-anim-init{opacity:1}

/* Micro-interaction: button shine sweep */
.button{position:relative;overflow:hidden}
.button::after{
  content:"";
  position:absolute;
  top:0;left:-75%;
  width:50%;height:100%;
  background:linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,.25) 100%);
  transform:skewX(-20deg);
  transition:left .5s ease
}
.button:hover::after{left:125%}

/* Micro-interaction: silo card accent bar */
.silo-card{position:relative;overflow:hidden}
.silo-card::before{
  content:"";
  position:absolute;
  left:0;top:0;
  width:3px;height:0;
  background:var(--green);
  transition:height .35s ease;
  border-radius:6px 0 0 6px
}
.silo-card:hover::before{height:100%}

/* Post card image zoom already has transition — ensure smooth */
.post-card--img img{transition:transform .45s cubic-bezier(.25,.46,.45,.94)}

/* Smooth FAQ transition instead of display:none toggle */
.faq-answer{
  display:block;
  overflow:hidden;
  max-height:0;
  transition:max-height .4s cubic-bezier(.4,0,.2,1), padding .3s ease;
  padding-bottom:0
}
.faq-answer.open{
  max-height:600px;
  padding-bottom:22px
}

/* Mobile adjustments */
@media(max-width:767px){
  .section-big-slider{margin:48px 0 40px}
  .section-big-cards{margin:40px 0 56px}
  .half-section{margin:56px 0}
  .stories-slider-item{gap:32px}
  .half-section--icons{flex-direction:column;align-items:center;gap:32px}
}

/* Inline anchor text links (used across homepage section text) */
.inline-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color .2s;
}
.inline-link:hover { color: var(--green); }

/* ─── POST CONTENT: cost cards ──────────────────────────────────── */
.cost-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px;
  margin: 2em 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy-dark);
  box-shadow: 0 4px 24px rgba(30,51,47,0.18);
}
.cost-card {
  background: var(--navy-dark);
  padding: 22px 22px 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
}
.cost-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  opacity: 0.55;
}
.cost-card strong {
  display: block;
  font-family: brandon-grotesque, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--green);
  margin-bottom: 10px;
}
.cost-card p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ─── POST CONTENT: details/summary FAQ accordion ─────────────── */
.single-article--body details {
  border: 1px solid #d4e6d9;
  border-radius: 6px;
  margin: 8px 0;
  overflow: hidden;
}
.single-article--body details summary {
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--navy-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f8f5;
  transition: background .2s;
}
.single-article--body details summary::-webkit-details-marker { display: none; }
.single-article--body details summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform .25s;
}
.single-article--body details[open] summary { background: #eaf2ec; }
.single-article--body details[open] summary::after { content: '−'; }
.single-article--body details summary:hover { background: #eaf2ec; }
.single-article--body details > p,
.single-article--body details > div {
  padding: 16px 20px;
  margin: 0;
  font-size: 0.95rem;
  color: #3a3a3a;
  line-height: 1.65;
  border-top: 1px solid #d4e6d9;
  background: #fff;
}

/* ─── POST CONTENT: responsive overrides (≤ 600px) ──────────────── */
@media(max-width:600px) {
  /* Cost cards: 2-col on mid-mobile */
  .cost-cards { grid-template-columns: repeat(2, 1fr); gap: 2px; }

  /* Details/summary: tighter padding */
  .single-article--body details summary { padding: 13px 14px; font-size: 0.92rem; }
  .single-article--body details > p,
  .single-article--body details > div { padding: 13px 14px; }

  /* Widget calculator rows: stack label above input/select.
     !important needed because the scoped <style> uses ID selectors (#uw-*) which
     have higher specificity than any class selector we can write from the theme. */
  .uw-row, .uwc-row { flex-direction: column !important; align-items: flex-start !important; gap: 6px !important; }
  .uw-row label, .uwc-row label,
  .uw-label { min-width: 0 !important; width: 100% !important; font-size: 0.9rem !important; }
  .uw-row select, .uw-row input[type=number],
  .uwc-row select, .uwc-row input[type=number],
  .uw-field, .uwc-field { width: 100% !important; box-sizing: border-box !important; }
  .uw-btn, .uwc-btn { width: 100% !important; padding: 0.65em 1em !important; font-size: 1rem !important; }
  .uw-result, .uwc-result { padding: 0.85em 1em !important; }
  .uw-result-total, .uwc-total { font-size: 1.1em !important; }

  /* Widget month grid (seasonal calendar widgets) */
  .uw-month-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .uw-month { font-size: 0.78rem !important; padding: 6px 4px !important; }
}

@media(max-width:380px) {
  /* Very small phones: single column cost cards */
  .cost-cards { grid-template-columns: 1fr; gap: 2px; }
  .uw-month-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ═══════════════════════════════════════════════════════════════
   POST CONTENT: shared design components (added 2026-06-22)
   Card families share the cost-card visual language so every
   article renders consistently regardless of which generator
   produced it.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Card grids: activity / season / comparison / budget / pack ─── */
.activity-cards, .season-cards, .comparison-grid, .budget-cards, .pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px;
  margin: 2em 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy-dark);
  box-shadow: 0 4px 24px rgba(30,51,47,0.18);
}
.activity-card, .season-card, .comparison-card, .budget-card, .pack-category {
  background: var(--navy-dark);
  padding: 22px 22px 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
}
.activity-card::before, .season-card::before, .comparison-card::before,
.budget-card::before, .pack-category::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  opacity: 0.55;
}
.activity-card strong, .season-card strong, .comparison-card strong,
.budget-card strong, .pack-category strong {
  display: block;
  font-family: brandon-grotesque, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--green);
  margin-bottom: 10px;
}
.activity-card p, .season-card p, .comparison-card p,
.budget-card p, .pack-category p,
.activity-card li, .season-card li, .comparison-card li,
.budget-card li, .pack-category li {
  margin: 0 0 6px;
  color: rgba(255,255,255,0.78);
  font-size: 0.93rem;
  line-height: 1.6;
}
.pack-category ul { margin: 0; padding-left: 1.1em; }

/* ─── Tip / note callout box ─── */
.tip-box {
  background: var(--light-gray);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 1.8em 0;
  color: var(--navy-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}
.tip-box strong {
  display: block;
  font-family: brandon-grotesque, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.tip-box p { margin: 0; }

/* ─── FAQ accordion spacing (styling inherited from details rules) ─── */
.single-article--body details + details { margin-top: 6px; }

/* ─── Widget headings / notes / totals not covered above ─── */
.uw-title, .uwc-title, .uw-planner-title, .uw-result-title {
  font-family: brandon-grotesque, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 0 0 14px;
}
.uw-note, .uwc-note, .uw-sub, .uwc-sub, .uw-subtitle, .uwc-subtitle, .uw-static, .uw-static-info, .uwc-static {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin: 10px 0 0;
}
.uw-total, .uw-total-box, .uw-total-amount, .uw-total-row,
.uwc-total, .uwc-total-box, .uwc-total-amt, .uwc-total-num, .uwc-total-label {
  font-weight: 700;
  color: var(--navy-dark);
}
.uw-price, .uwc-price, .uwc-cost { font-weight: 600; color: var(--navy); }
.uw-breakdown, .uw-result-breakdown, .uwc-breakdown,
.uw-line, .uwc-line, .uw-result-line {
  font-size: 0.92rem;
  line-height: 1.7;
}
.uw-check, .uwc-check, .uw-check-row, .uw-checkbox-row, .uw-checkrow {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 6px 0;
  font-size: 0.93rem;
  line-height: 1.5;
}
.uw-divider, .uwc-divider { border: 0; border-top: 1px solid #d4e6d9; margin: 12px 0; }

/* ─── Utility ─── */
.whitespace-pre-wrap { white-space: pre-wrap; }

/* ─── Responsive: card grids drop to 2 / 1 column ─── */
@media(max-width:600px) {
  .activity-cards, .season-cards, .comparison-grid, .budget-cards, .pack-grid {
    grid-template-columns: repeat(2, 1fr); gap: 2px;
  }
}
@media(max-width:380px) {
  .activity-cards, .season-cards, .comparison-grid, .budget-cards, .pack-grid {
    grid-template-columns: 1fr; gap: 2px;
  }
}
