/* Rundown coach guides. Brand tokens remain canonical in /tokens.css. */

.guide-body {
  background: var(--rd-cream);
  color: var(--rd-near-black);
}

.guide-body .nav {
  border-bottom: 1px solid rgba(11, 77, 60, 0.18);
}

.guide-body .nav-cta {
  border-radius: 8px;
  background: var(--rd-forest);
  box-shadow: inset 0 -2px 0 var(--rd-gold);
  color: var(--rd-cream) !important;
}

.guide-body .nav-cta:hover {
  background: var(--rd-forest-2);
  color: var(--rd-cream) !important;
  text-decoration: none;
}

.guide-page {
  padding: clamp(40px, 7vw, 84px) 24px 96px;
}

.guide-shell {
  width: min(100%, 920px);
  margin: 0 auto;
}

.guide-header {
  padding-bottom: 28px;
  border-bottom: 3px solid var(--rd-gold);
}

.guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--rd-mono);
  font-size: 0.75rem;
  color: var(--rd-cool-gray);
}

.guide-breadcrumb a {
  font-weight: 700;
  text-underline-offset: 3px;
}

.guide-header .eyebrow {
  margin-bottom: 12px;
}

.guide-header h1,
.guide-index-hero h1 {
  max-width: 860px;
  margin: 0;
  color: var(--rd-forest);
  font-family: var(--rd-display);
  font-size: clamp(3.25rem, 8vw, 5.4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.94;
  text-transform: uppercase;
}

.guide-byline {
  margin: 22px 0 0;
  color: var(--rd-cool-gray);
  font-size: 0.88rem;
  line-height: 1.55;
}

.guide-content,
.guide-sources {
  font-size: 1.05rem;
  line-height: 1.72;
}

.guide-content {
  padding-top: 34px;
}

.guide-content > p:first-child {
  margin-top: 0;
  color: var(--rd-forest-3);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.55;
}

.guide-content p,
.guide-sources p {
  margin: 0 0 1.15em;
}

.guide-content h2,
.guide-sources h2 {
  margin: 2.2em 0 0.55em;
  color: var(--rd-forest);
  font-family: var(--rd-display);
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.guide-content h3 {
  margin: 1.8em 0 0.45em;
  color: var(--rd-forest);
  font-family: var(--rd-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.08;
  text-transform: uppercase;
}

.guide-content ul,
.guide-content ol,
.guide-sources ul {
  padding-left: 1.35em;
  margin: 0 0 1.35em;
}

.guide-content li,
.guide-sources li {
  margin-bottom: 0.55em;
}

.guide-content a,
.guide-sources a {
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.guide-content blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-left: 4px solid var(--rd-gold);
  background: rgba(11, 77, 60, 0.06);
  color: var(--rd-forest-3);
  font-weight: 650;
}

.guide-content blockquote p {
  margin: 0;
}

.guide-content table {
  display: block;
  width: 100%;
  margin: 1.25em 0 1.75em;
  overflow-x: auto;
  border-collapse: collapse;
  border: 1px solid rgba(11, 77, 60, 0.25);
  background: var(--rd-cream);
  font-size: 0.9rem;
  line-height: 1.48;
  -webkit-overflow-scrolling: touch;
}

.guide-content th,
.guide-content td {
  min-width: 145px;
  padding: 12px 14px;
  border-right: 1px solid rgba(11, 77, 60, 0.16);
  border-bottom: 1px solid rgba(11, 77, 60, 0.16);
  text-align: left;
  vertical-align: top;
}

.guide-content th {
  background: var(--rd-forest);
  color: var(--rd-cream);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.guide-content tbody tr:nth-child(even) {
  background: rgba(11, 77, 60, 0.045);
}

.guide-sources {
  margin-top: 64px;
  padding: 10px 28px 28px;
  border-top: 3px solid var(--rd-forest);
  background: rgba(11, 77, 60, 0.06);
  font-size: 0.88rem;
}

.guide-sources h2 {
  margin-top: 0.72em;
}

.guide-sources strong {
  color: var(--rd-forest-3);
}

.guide-more {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid rgba(11, 77, 60, 0.22);
  border-bottom: 3px solid var(--rd-gold);
  background: var(--rd-cream);
}

.guide-more .eyebrow {
  margin-bottom: 8px;
}

.guide-more a {
  font-weight: 700;
  text-underline-offset: 3px;
}

.guide-index-hero {
  padding-bottom: 40px;
  border-bottom: 3px solid var(--rd-gold);
}

.guide-index-hero .lede {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 1.18rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.guide-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 26px;
  border: 1.5px solid rgba(11, 77, 60, 0.25);
  border-bottom: 4px solid var(--rd-gold);
  border-radius: 10px;
  background: var(--rd-cream);
  color: var(--rd-near-black);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: var(--rd-forest);
  box-shadow: 0 12px 28px rgba(11, 77, 60, 0.11);
  text-decoration: none;
}

.guide-card .eyebrow {
  margin-bottom: 14px;
}

.guide-card h2 {
  margin: 0 0 14px;
  color: var(--rd-forest);
  font-family: var(--rd-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.guide-card p {
  margin: 0 0 24px;
  line-height: 1.55;
}

.guide-card .guide-card-cta {
  margin-top: auto;
  color: var(--rd-forest);
  font-weight: 750;
}

.guide-card-wide {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .guide-page {
    padding: 30px 16px 70px;
  }

  .guide-breadcrumb {
    margin-bottom: 22px;
  }

  .guide-byline span {
    display: none;
  }

  .guide-byline strong {
    display: inline;
  }

  .guide-content,
  .guide-sources {
    font-size: 1rem;
  }

  .guide-content table {
    width: calc(100vw - 32px);
    margin-left: 0;
  }

  .guide-content th,
  .guide-content td {
    min-width: 180px;
  }

  .guide-sources {
    padding: 8px 18px 22px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-card-wide {
    grid-column: auto;
  }
}

@media print {
  .guide-body .nav,
  .guide-body .footer,
  .guide-more {
    display: none;
  }

  .guide-page {
    padding: 0;
  }

  .guide-shell {
    width: 100%;
  }

  .guide-content table {
    display: table;
    overflow: visible;
    font-size: 8pt;
  }

  .guide-content a::after,
  .guide-sources a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
