/* Shared public-site geometry. Keep Home, Paid Guides, Blog, and About aligned. */
.landing-shell,
.path-shell,
.site-shell{
  position:sticky;
  top:0;
  z-index:20;
  width:100%;
  background:rgba(248,250,247,.94);
  border-bottom:1px solid rgba(199,210,204,.94);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}

.landing-shell-inner,
.landing-inner,
.path-inner,
.site-inner{
  width:min(1120px,calc(100% - 32px));
  margin-right:auto;
  margin-left:auto;
}

#landing{
  align-items:stretch;
  padding:0 0 72px;
}

.brand-row,
.path-shell-row,
.shell-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:70px;
  margin-right:auto;
  margin-left:auto;
  padding:14px 0;
  border:0;
}

.landing-brand,
.path-brand,
.brand-lockup{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:12px;
  color:var(--text,var(--navy,#17272d));
  text-align:left;
  text-decoration:none;
}

.landing-brand:hover,
.path-brand:hover,
.brand-lockup:hover{
  text-decoration:none;
}

.brand-logo,
.path-brand img,
.brand-lockup img{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:12px;
  object-fit:cover;
  box-shadow:0 10px 22px rgba(21,47,60,.14);
}

.brand-copy,
.path-brand span,
.brand-text{
  display:grid;
  gap:2px;
}

.brand-copy strong,
.path-brand strong,
.brand-text strong{
  display:block;
  font-size:1rem;
  font-weight:700;
  line-height:1.1;
}

.brand-copy span,
.path-brand small,
.brand-text span{
  display:block;
  margin:0;
  color:var(--muted,#526469);
  font-size:.84rem;
  font-weight:400;
  line-height:1.2;
}

.brand-nav,
.path-nav,
.shell-nav{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
  margin-left:auto;
}

/* Keep the homepage on the same desktop/tablet header contract as inner pages. */
#landing .brand-row{
  flex-wrap:nowrap;
  justify-content:space-between;
}

#landing .brand-nav{
  width:auto;
  justify-content:flex-start;
  margin-left:auto;
}

.brand-nav a,
.path-nav a,
.shell-nav a{
  padding:0;
  border-radius:0;
  color:var(--navy,#17272d);
  font-size:1rem;
  font-weight:700;
  line-height:1.7;
  text-decoration:none;
}

.brand-nav a:hover,
.path-nav a:hover,
.shell-nav a:hover{
  background:transparent;
  color:var(--green,#286754);
  text-decoration:none;
}

.brand-nav a[aria-current="page"],
.path-nav a[aria-current="page"],
.shell-nav a[aria-current="page"]{
  color:var(--green,#286754);
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:7px;
}

.brand-nav .nav-challenge,
.path-nav .nav-primary-cta,
.shell-nav .nav-primary-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin-left:0;
  padding:0 16px!important;
  border-radius:999px;
  background:var(--navy,#17272d);
  color:#fff!important;
  line-height:1.2;
  text-decoration:none;
}

.brand-nav .nav-challenge:hover,
.path-nav .nav-primary-cta:hover,
.shell-nav .nav-primary-cta:hover{
  background:var(--green,#286754)!important;
  color:#fff!important;
  text-decoration:none;
}

.landing-hero,
.path-hero,
.article-hero,
.collection-hero{
  padding-top:50px;
  padding-bottom:46px;
}

.landing-hero{
  gap:30px;
  padding-right:0;
  padding-left:0;
}

.challenge-landing-hero{
  padding-top:50px;
}

@media (max-width:960px){
  .landing-hero,
  .path-hero,
  .article-hero,
  .collection-hero{
    padding-top:44px;
    padding-bottom:40px;
  }
}

@media (max-width:720px){
  .landing-shell-inner,
  .landing-inner,
  .path-inner,
  .site-inner{
    width:min(100% - 20px,1120px);
  }

  .brand-row,
  .path-shell-row,
  .shell-row{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    min-height:0;
    padding:12px 0;
  }

  #landing .brand-row{
    flex-wrap:nowrap;
    justify-content:flex-start;
  }

  .brand-nav,
  .path-nav,
  .shell-nav,
  #landing .brand-nav{
    width:100%;
    justify-content:center;
    gap:10px 14px;
    margin-left:0;
  }

  .brand-nav a,
  .path-nav a,
  .shell-nav a,
  #landing .brand-nav a{
    padding:0;
    font-size:.9rem;
  }

  .brand-nav a:not(.nav-challenge),
  .path-nav a:not(.nav-primary-cta),
  .shell-nav a:not(.nav-primary-cta){
    order:1;
  }

  .brand-nav .nav-challenge,
  .path-nav .nav-primary-cta,
  .shell-nav .nav-primary-cta{
    order:2;
    flex:1 0 100%;
    width:100%;
    min-height:40px;
  }

  .landing-hero,
  .path-hero,
  .article-hero,
  .collection-hero{
    padding-top:32px;
    padding-bottom:32px;
  }

  #landing .landing-hero{
    gap:18px;
    padding-right:0;
    padding-left:0;
  }
}
