/* Shared layout for focused authority and offer pages. */

.authority-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 5rem) 0 5rem;
  background: var(--bark);
  color: var(--cream);
}

.authority-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(26,22,18,0.93) 0%, rgba(59,47,47,0.82) 55%, rgba(45,90,61,0.58) 100%),
    url('/images/forest-hero.avif') center/cover no-repeat;
}

.authority-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 4rem;
  align-items: center;
}

.authority-hero-copy { max-width: 760px; }
.authority-hero-copy .micro-label { display: block; margin-bottom: 1rem; color: var(--sand); }
.authority-hero h1 {
  max-width: 850px;
  margin-bottom: 1.5rem;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.03;
}
.authority-hero h1 em { color: var(--gold-light); font-style: italic; }
.authority-hero-lede {
  max-width: 720px;
  margin-bottom: 2rem;
  color: var(--sand);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.authority-hero-card {
  padding: 2rem;
  border: 1px solid rgba(210,180,140,0.2);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}
.authority-hero-card img { width: 100%; height: auto; border-radius: 4px; }
.authority-hero-card p { margin-top: 1.25rem; color: var(--sand); }
.authority-hero-card strong { color: var(--cream); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; }

.authority-section { padding: 6rem 0; background: var(--cream); }
.authority-section.alt { background: #f1e9de; }
.authority-section.dark { background: var(--dark); color: var(--cream); }
.authority-section.bark { background: var(--bark); color: var(--cream); }
.authority-section .section-intro {
  max-width: 780px;
  margin-bottom: 2.5rem;
  color: var(--slate);
  font-size: 1.12rem;
}
.authority-section.dark .section-intro,
.authority-section.bark .section-intro { color: var(--sand); }

.authority-copy {
  max-width: 820px;
  color: var(--slate);
  font-size: 1.05rem;
}
.authority-copy > * + * { margin-top: 1.25rem; }
.authority-copy h2,
.authority-copy h3 { color: var(--bark); font-family: var(--font-serif); line-height: 1.2; }
.authority-copy h2 { margin-top: 2.8rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.authority-copy h3 { margin-top: 2rem; font-size: 1.3rem; }
.authority-copy a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.authority-copy ul,
.authority-copy ol { padding-left: 1.35rem; }
.authority-copy li + li { margin-top: 0.6rem; }
.authority-copy strong { color: var(--bark); }
.authority-section.dark .authority-copy,
.authority-section.bark .authority-copy { color: var(--sand); }
.authority-section.dark .authority-copy h2,
.authority-section.dark .authority-copy h3,
.authority-section.dark .authority-copy strong,
.authority-section.bark .authority-copy h2,
.authority-section.bark .authority-copy h3,
.authority-section.bark .authority-copy strong { color: var(--cream); }
.authority-section.dark .authority-copy a,
.authority-section.bark .authority-copy a { color: var(--sand); }
.authority-section .authority-hero-card { background: var(--bark); }

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: start;
}
.three-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.pillar-card {
  min-height: 100%;
  padding: 2rem;
  border: 1px solid rgba(59,47,47,0.1);
  border-radius: 6px;
  background: rgba(255,255,255,0.62);
}
.pillar-card .micro-label { display: block; margin-bottom: 0.8rem; color: var(--gold); }
.pillar-card h3 { margin-bottom: 0.8rem; font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.25; }
.pillar-card p { color: var(--slate); }
.dark .pillar-card,
.bark .pillar-card {
  border-color: rgba(210,180,140,0.2);
  background: rgba(255,255,255,0.05);
}
.dark .pillar-card h3,
.bark .pillar-card h3 { color: var(--cream); }
.dark .pillar-card p,
.bark .pillar-card p { color: var(--sand); }
.dark .pillar-card .micro-label,
.bark .pillar-card .micro-label { color: var(--sand); }

.fit-list { display: grid; gap: 0; list-style: none; }
.fit-list li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid rgba(59,47,47,0.1);
  color: var(--slate);
}
.fit-list li::before {
  content: '';
  position: absolute;
  top: 1.65rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.dark .fit-list li,
.bark .fit-list li { border-color: rgba(210,180,140,0.18); color: var(--sand); }

.numbered-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: authority-step;
}
.numbered-card {
  counter-increment: authority-step;
  padding: 2rem;
  border-top: 3px solid var(--gold);
  background: #fff;
}
.numbered-card::before {
  content: '0' counter(authority-step);
  display: block;
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}
.numbered-card h3 { margin-bottom: 0.8rem; font-family: var(--font-serif); font-size: 1.25rem; }
.numbered-card p { color: var(--slate); }

.evidence-panel {
  padding: 2.25rem;
  border-left: 4px solid var(--gold);
  background: #fff;
  box-shadow: 0 12px 32px rgba(59,47,47,0.08);
}
.evidence-panel h2,
.evidence-panel h3 { margin-bottom: 1rem; font-family: var(--font-serif); }
.evidence-panel p + p { margin-top: 1rem; }
.evidence-panel ul { padding-left: 1.2rem; }
.evidence-panel li + li { margin-top: 0.5rem; }

.boundary-note {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(115,90,43,0.32);
  border-radius: 6px;
  background: rgba(210,180,140,0.16);
  color: var(--slate);
}
.boundary-note strong { color: var(--bark); }

.definition-block {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(210,180,140,0.24);
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  text-align: center;
}
.definition-block .micro-label { display: block; margin-bottom: 1.2rem; color: var(--sand); }
.definition-block p {
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.4;
}

.question-list { max-width: 900px; margin-top: 2.5rem; }
.question-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(210,180,140,0.2);
  color: var(--sand);
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  list-style-position: inside;
}

.credential-stack { display: grid; gap: 1rem; }
.credential-row {
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: #fff;
}
.credential-row strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; }
.credential-row span { color: var(--slate); }

.media-hero .authority-hero-card .micro-label { color: var(--sand); }
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.media-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 2rem;
  border-top: 3px solid var(--gold);
  background: #fff;
  box-shadow: 0 10px 26px rgba(59,47,47,0.06);
}
.media-card .micro-label { margin-bottom: 0.9rem; color: var(--gold); }
.media-card h3 {
  margin-bottom: 0.8rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.25;
}
.media-card p { margin-bottom: 1.3rem; color: var(--slate); }
.media-card a {
  margin-top: auto;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-transform: uppercase;
  text-underline-offset: 3px;
}

.cta-band { padding: 5rem 0; background: var(--forest); color: var(--cream); text-align: center; }
.cta-band .container { max-width: 880px; }
.cta-band h2 {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
}
.cta-band p { max-width: 700px; margin: 0 auto 2rem; color: #d8e1d9; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.cta-actions .hero-cta.secondary {
  border: 1px solid rgba(255,255,255,0.45);
  background: transparent;
}
.cta-actions .hero-cta.secondary:hover { background: rgba(255,255,255,0.1); }

.authority-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.4rem;
  margin-bottom: 1rem;
}
.authority-footer-nav a { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .authority-hero .container,
  .two-column { grid-template-columns: 1fr; }
  .authority-hero-card { max-width: 560px; }
  .three-column,
  .numbered-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .authority-hero { min-height: auto; padding: calc(var(--nav-height) + 3.5rem) 0 3.5rem; }
  .authority-hero .container { gap: 2rem; }
  .authority-hero h1 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
  .authority-hero-card { padding: 1.4rem; }
  .authority-section { padding: 4rem 0; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card,
  .numbered-card,
  .evidence-panel { padding: 1.5rem; }
  .cta-band { padding: 4rem 0; }
}
