/* GTGF v15.99.47 — site-wide compactness + simplified navigation
 * Carries the homepage's tighter rhythm across public GTGF surfaces.
 * Functional workspaces (planner/dashboard internals) are intentionally left alone.
 */

:root{
  --gtgf-compact-line:#ddd8d0;
  --gtgf-compact-paper:#f5f3ef;
  --gtgf-compact-ink:#101010;
  --gtgf-compact-muted:#706a63;
  --gtgf-compact-radius:6px;
}

/* Header: direct destinations first, dropdowns only where they add value. */
body.gtgf-v14 .v14-header-inner{
  width:min(1240px,calc(100vw - 40px))!important;
  grid-template-columns:168px minmax(0,1fr) auto!important;
  gap:18px!important;
}
body.gtgf-v14 .v159947-nav-list{
  justify-content:flex-start!important;
  gap:clamp(7px,1vw,14px)!important;
}
body.gtgf-v14 .v159947-nav-list>li>a{
  padding:0 7px!important;
  font-size:.68rem!important;
  font-weight:860!important;
  letter-spacing:.09em!important;
}
body.gtgf-v14 .v159947-nav-list>.v14-has-submenu>button{
  width:14px!important;
  min-height:40px!important;
  margin-left:-4px!important;
}
body.gtgf-v14 .v159947-submenu{
  width:218px!important;
  padding:5px!important;
  margin-top:0!important;
  border-radius:0!important;
  border-color:rgba(255,255,255,.11)!important;
  box-shadow:0 22px 52px rgba(0,0,0,.26)!important;
}
body.gtgf-v14 .v159947-submenu li+li{
  border-top:1px solid rgba(255,255,255,.065)!important;
}
body.gtgf-v14 .v159947-submenu a{
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  padding:9px 10px!important;
  border-radius:0!important;
  font-size:.76rem!important;
  font-weight:780!important;
  line-height:1.25!important;
}
body.gtgf-v14 .v159947-submenu a:hover,
body.gtgf-v14 .v159947-submenu a:focus{
  padding-left:13px!important;
  background:rgba(255,255,255,.045)!important;
}

/* Mobile navigation: direct links read as direct links, not fake accordions. */
body.gtgf-v14 .v159947-mobile-nav{
  display:grid;
  gap:0;
}
body.gtgf-v14 .v159947-mobile-direct{
  display:flex;
  align-items:center;
  min-height:54px;
  border-bottom:1px solid rgba(255,255,255,.1);
  color:#fff!important;
  font-size:.96rem;
  font-weight:850;
  text-decoration:none!important;
}
body.gtgf-v14 .v159947-mobile-direct::after{
  content:'↗';
  margin-left:auto;
  color:rgba(255,255,255,.34);
  font-size:.82rem;
}
body.gtgf-v14 .v159947-mobile-direct.is-personal{
  color:var(--v14-orange)!important;
}
body.gtgf-v14 .v159947-mobile-nav .v14-mobile-group{
  border-bottom:1px solid rgba(255,255,255,.1);
}
body.gtgf-v14 .v159947-mobile-nav .v14-mobile-group>button{
  min-height:54px!important;
  padding:0!important;
  font-size:.96rem!important;
}
body.gtgf-v14 .v159947-mobile-nav .v14-mobile-group>div{
  padding:0 0 10px!important;
}
body.gtgf-v14 .v159947-mobile-nav .v14-mobile-group div a{
  min-height:38px!important;
  padding:8px 0!important;
  color:rgba(255,255,255,.62)!important;
  font-size:.82rem!important;
}

/* Shared public-page geometry. */
body.gtgf-v14:not(.home) :is(.v14-shell,.wrap){
  width:min(1180px,calc(100vw - 40px))!important;
  max-width:1180px!important;
}
body.gtgf-v14:not(.home) .v14-page>section{
  padding-top:clamp(42px,5vw,64px)!important;
  padding-bottom:clamp(42px,5vw,64px)!important;
}
body.gtgf-v14:not(.home) .v14-page>section:first-child{
  padding-top:clamp(46px,5.4vw,70px)!important;
}
body.gtgf-v14:not(.home) :is(.v14-section-head,.v159946-section-head,.v156-section-head,.v1550-section-intro,.v1588-major-head,.v1596-community-head){
  margin-bottom:18px!important;
}
body.gtgf-v14:not(.home) :is(.v14-section-head,.v159946-section-head,.v156-section-head,.v1550-section-intro,.v1588-major-head,.v1596-community-head) h2{
  max-width:16ch!important;
  margin:5px 0 0!important;
  font-size:clamp(1.9rem,3.3vw,3rem)!important;
  line-height:.98!important;
  letter-spacing:-.05em!important;
}
body.gtgf-v14:not(.home) :is(.v14-section-head,.v159946-section-head,.v156-section-head,.v1550-section-intro)>p{
  max-width:58ch!important;
  font-size:.9rem!important;
  line-height:1.5!important;
}
body.gtgf-v14:not(.home) :is(.eyebrow,.v14-eyebrow):not(.planner-section *){
  margin-bottom:7px!important;
  font-size:.63rem!important;
  letter-spacing:.135em!important;
}
body.gtgf-v14:not(.home) :is(.button,a.button,button.button,.v14-btn,.wp-element-button):not(.planner-section *){
  min-height:44px!important;
  padding:0 15px!important;
  border-radius:2px!important;
  font-size:.72rem!important;
}

/* Training landing — keep the route, remove the tall brochure feel. */
body.gtgf-v14 .v142-training-hero{
  padding:clamp(46px,5.5vw,72px) 0!important;
}
body.gtgf-v14 .v142-training-hero__grid{
  gap:clamp(28px,4.5vw,56px)!important;
}
body.gtgf-v14 .v142-training-hero h1{
  max-width:10ch!important;
  font-size:clamp(3rem,5.8vw,5.1rem)!important;
  line-height:.88!important;
}
body.gtgf-v14 .v142-training-hero .v14-lead{
  max-width:54ch!important;
  margin-top:14px!important;
  font-size:1rem!important;
}
body.gtgf-v14 :is(.v14-method,.v142-training-levels,.v142-discipline-media,.v1514-training-clusters){
  padding:clamp(42px,5vw,62px) 0!important;
}
body.gtgf-v14 .v14-step-grid,
body.gtgf-v14 .v1514-training-clusters__grid{
  gap:0!important;
  border-top:1px solid var(--gtgf-compact-line)!important;
  border-left:1px solid var(--gtgf-compact-line)!important;
}
body.gtgf-v14 .v14-step-grid>*,
body.gtgf-v14 .v1514-training-clusters__grid>a{
  min-height:0!important;
  padding:16px!important;
  border:0!important;
  border-right:1px solid var(--gtgf-compact-line)!important;
  border-bottom:1px solid var(--gtgf-compact-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.gtgf-v14 .v142-discipline-media__grid{
  border-color:var(--gtgf-compact-line)!important;
}
body.gtgf-v14 .v151-training-discipline-card,
body.gtgf-v14 .v142-discipline-media__grid>a{
  border-radius:0!important;
  box-shadow:none!important;
}
body.gtgf-v14 .v142-discipline-media__grid a>div{
  min-height:190px!important;
  padding:18px!important;
}
body.gtgf-v14 .v142-discipline-media__grid h3{
  margin:14px 0 7px!important;
  font-size:1.25rem!important;
}

/* Nutrition landing — same strong hero, less vertical and less soft-card styling. */
body.gtgf-v14 .v159946-nutrition-hero{
  padding:clamp(42px,5vw,64px) 0!important;
}
body.gtgf-v14 .v159946-nutrition-hero__grid{
  gap:clamp(28px,4.8vw,62px)!important;
}
body.gtgf-v14 .v159946-nutrition-hero h1{
  font-size:clamp(3rem,5.4vw,5.15rem)!important;
  line-height:.86!important;
}
body.gtgf-v14 .v159946-nutrition-hero__lead{
  margin-top:16px!important;
  font-size:.98rem!important;
  line-height:1.52!important;
}
body.gtgf-v14 .v159946-nutrition-hero__actions{
  margin-top:18px!important;
}
body.gtgf-v14 .v159946-nutrition-hero__proof{
  margin-top:16px!important;
  padding-top:12px!important;
}
body.gtgf-v14 .v159946-nutrition-hero__media{
  min-height:clamp(330px,35vw,470px)!important;
  border-radius:4px!important;
  box-shadow:none!important;
}
body.gtgf-v14 :is(.v159946-nutrition-route,.v159946-day-types,.v159946-fuel-reference,.v159946-nutrition-library,.v159946-nutrition-faq){
  padding-top:clamp(40px,5vw,60px)!important;
  padding-bottom:clamp(40px,5vw,60px)!important;
}
body.gtgf-v14 .v159946-nutrition-page :is([class*="__card"],[class*="-card"],article):not(.planner-section *){
  border-radius:4px!important;
  box-shadow:none!important;
}

/* Knowledge — less archive sprawl, tighter editorial rhythm. */
body.gtgf-v14 .v1594-knowledge-hero{
  padding:clamp(48px,5.5vw,68px) 0 clamp(38px,4vw,52px)!important;
}
body.gtgf-v14 .v1594-knowledge-hero__grid{
  gap:clamp(26px,4vw,50px)!important;
}
body.gtgf-v14 .v1594-knowledge-hero__copy h1{
  max-width:11ch!important;
  font-size:clamp(3rem,5.6vw,5rem)!important;
  line-height:.88!important;
}
body.gtgf-v14 .v1594-start-here{
  border-radius:0!important;
}
body.gtgf-v14 :is(.v145-knowledge-library,.v156-knowledge-routes,.v1515-topic-hubs,.v153-knowledge-standard){
  padding:clamp(42px,5vw,64px) 0!important;
}
body.gtgf-v14 .v1594-knowledge .v156-filter-panel{
  margin-bottom:18px!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.gtgf-v14 .v151-article-grid{
  gap:10px!important;
}
body.gtgf-v14 :is(.v145-article-card,.v1524-article-card){
  border-radius:4px!important;
  box-shadow:none!important;
}
body.gtgf-v14 .v1515-topic-hubs__grid{
  gap:0!important;
  border-top:1px solid var(--gtgf-compact-line)!important;
  border-left:1px solid var(--gtgf-compact-line)!important;
}
body.gtgf-v14 .v1515-topic-hubs__grid>a{
  border:0!important;
  border-right:1px solid var(--gtgf-compact-line)!important;
  border-bottom:1px solid var(--gtgf-compact-line)!important;
  padding:15px!important;
}

/* Events — list first, chrome second. */
body.gtgf-v14 :is(.v1596-event-community-strip,.v1588-major-events,.v1587-events-browser){
  padding-top:clamp(40px,5vw,60px)!important;
  padding-bottom:clamp(40px,5vw,60px)!important;
}
body.gtgf-v14 .v1587-events-tools{
  padding:10px!important;
  border-radius:3px!important;
  box-shadow:none!important;
}
body.gtgf-v14 :is(.v1596-community-event,.v1588-major-item,.event-card){
  border-radius:3px!important;
  box-shadow:none!important;
}
body.gtgf-v14 .v1588-major-item,
body.gtgf-v14 .event-card{
  padding-top:13px!important;
  padding-bottom:13px!important;
}

/* Community and GTGF editorial pages. */
body.gtgf-v14 .v1550-club-hero{
  padding:clamp(48px,5.5vw,72px) 0!important;
}
body.gtgf-v14 .v1550-club-hero__grid{
  gap:clamp(28px,4.5vw,54px)!important;
}
body.gtgf-v14 .v1550-club-preview{
  border-radius:4px!important;
  box-shadow:none!important;
}
body.gtgf-v14 .v1550-club-public .section,
body.gtgf-v14 .gtgf-clubhouse{
  padding-top:clamp(42px,5vw,62px)!important;
  padding-bottom:clamp(42px,5vw,62px)!important;
}
body.gtgf-v14 .trip-v146 :is(.trip-v146-promise,.trip-v148-decision,.trip-v147-casa-rail,.trip-packages,.trip-v158-extras,.trip-booking,.section){
  padding-top:clamp(42px,5vw,62px)!important;
  padding-bottom:clamp(42px,5vw,62px)!important;
}
body.gtgf-v14 .trip-v146 :is(.trip-package,.trip-v148-day,.metric,.trip-booking__panel){
  border-radius:4px!important;
  box-shadow:none!important;
}
body.gtgf-v14 :is(.v142-story-teaser,.v1526-news-card,.recipe-card,.recipe-single__facts){
  border-radius:4px!important;
  box-shadow:none!important;
}

/* Footer: compact end state. */
body.gtgf-v14 .v14-site-footer{
  padding-top:38px!important;
}
body.gtgf-v14 .v14-footer-top{
  gap:28px!important;
  padding-bottom:30px!important;
}

@media(max-width:1020px){
  body.gtgf-v14 .v14-header-inner{
    grid-template-columns:1fr auto!important;
    width:calc(100vw - 30px)!important;
  }
}

@media(max-width:720px){
  body.gtgf-v14:not(.home) :is(.v14-shell,.wrap){
    width:min(100% - 24px,1180px)!important;
  }
  body.gtgf-v14:not(.home) .v14-page>section,
  body.gtgf-v14 :is(.v145-knowledge-library,.v156-knowledge-routes,.v1515-topic-hubs,.v153-knowledge-standard,.v1596-event-community-strip,.v1588-major-events,.v1587-events-browser,.gtgf-clubhouse){
    padding-top:32px!important;
    padding-bottom:32px!important;
  }
  body.gtgf-v14 .v142-training-hero,
  body.gtgf-v14 .v159946-nutrition-hero,
  body.gtgf-v14 .v1594-knowledge-hero,
  body.gtgf-v14 .v1550-club-hero{
    padding-top:36px!important;
    padding-bottom:32px!important;
  }
  body.gtgf-v14 .v159946-nutrition-hero__media{
    min-height:280px!important;
  }
  body.gtgf-v14 .v14-step-grid,
  body.gtgf-v14 .v1514-training-clusters__grid,
  body.gtgf-v14 .v1515-topic-hubs__grid{
    grid-template-columns:1fr!important;
  }
}
