/* Content / SEO pages - load AFTER site.css */

.content-hero {
  background: linear-gradient(135deg, #0d2345 0%, #1a3a6b 60%, #1e4a8c 100%);
  color: var(--white);
  padding: 56px clamp(1.25rem, 4vw, 2rem) 48px;
  position: relative;
  overflow: hidden;
}

.content-hero.has-hero-img {
  background: transparent;
}

.content-hero.has-hero-img::before {
  display: none;
}

.content-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 100% 0%,
    rgba(232, 160, 32, 0.18),
    transparent 55%
  );
  pointer-events: none;
}

.content-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

body:has(.content-wrap.wide) .content-hero-inner {
  max-width: 1120px;
}

.content-hero .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: block;
}

.content-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  color: var(--white);
  margin: 0 0 0.85rem;
  line-height: 1.12;
  font-weight: 700;
}

.content-hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.content-hero .lede {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 560px;
  margin: 0;
}

nav.breadcrumb,
.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0.45rem;
  margin: 0 0 1.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  position: static;
  height: auto;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.15s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  opacity: 0.45;
  user-select: none;
}

.breadcrumb [aria-current="page"] {
  color: var(--white);
}

.content-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px clamp(1.25rem, 4vw, 2rem) 80px;
}

.content-wrap.wide {
  max-width: 1120px;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  color: var(--primary);
  margin: 2.25rem 0 0.85rem;
  line-height: 1.25;
  font-weight: 700;
}

.prose h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin: 1.75rem 0 0.65rem;
  font-weight: 700;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(26, 58, 107, 0.25);
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--accent-dk);
  text-decoration-color: var(--accent);
}

.prose .as-of {
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--light);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  margin: 1.25rem 0;
  border-radius: 0 8px 8px 0;
}

.cta-band {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin: 2.5rem 0 1rem;
  text-align: center;
}

.cta-band h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.cta-band p {
  margin-bottom: 1.25rem;
}

.cta-band .btn {
  margin: 4px;
}

.collab-band {
  margin: 2.5rem 0 1rem;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(26, 58, 107, 0.06) 0%, var(--light) 50%, rgba(192, 87, 42, 0.08) 100%);
  text-align: left;
}
.collab-band .collab-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent, #e8a020);
}
.collab-band p {
  margin: 0 0 1rem;
  color: var(--muted, #5a6a7e);
  line-height: 1.65;
}
.collab-band .collab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.collab-band .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  color: var(--primary, #1a3a6b);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  background: #fff;
}
.collab-band .btn-secondary:hover {
  border-color: var(--primary, #1a3a6b);
}
.collab-band .collab-mirror {
  margin: 0;
  font-size: 0.85rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.hub-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
  text-decoration: none;
  color: inherit;
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.hub-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
}

.hub-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.hub-card .hub-meta {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.related-links {
  display: grid;
  gap: 10px;
  margin: 1.5rem 0;
}

.related-links a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.related-links a:hover {
  border-color: var(--accent);
  background: var(--light);
}

.faq-list {
  margin: 1.5rem 0;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 14px 16px;
  background: var(--white);
}

.faq-list summary {
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.faq-list details[open] summary {
  margin-bottom: 10px;
}

.faq-list details p,
.faq-list .faq-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted, #5a6a7e);
}

.callout-panel {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--light);
}
.callout-panel p:last-child {
  margin-bottom: 0;
}

.guide-toc {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 2rem;
  position: static;
  height: auto;
  box-shadow: none;
}

.guide-toc strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.guide-toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.guide-toc a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0 0 1.35rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  position: static;
  height: auto;
  background: var(--white);
  box-shadow: none;
  padding: 0;
}

.content-hero .lang-switch {
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
}

.lang-switch a {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.content-hero .lang-switch a {
  color: rgba(255, 255, 255, 0.7);
}

.lang-switch a.is-active,
.lang-switch a[aria-current="page"] {
  background: var(--accent);
  color: var(--white);
}


/* Phase 2 figures */
.guide-figure,
.case-panel,
.proof-strip {
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  border: 0;
}

.guide-figure img,
.case-panel img,
.proof-strip img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--light);
}

.guide-figure figcaption,
.case-panel figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.case-panel {
  margin: 0 0 1.75rem;
}

.proof-strip {
  margin: 0.5rem 0 1.5rem;
}
