/* ========================================
   Jardine Logging Project - styles.css
   ======================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-forest: #2D5016;
  --color-forest-dark: #1A3409;
  --color-forest-light: #4A7A2E;
  --color-earth: #8B6914;
  --color-earth-light: #C4A035;
  --color-sky: #4A7C9B;
  --color-cream: #FAF8F0;
  --color-warm-white: #FDFCF8;
  --color-text: #2C2C2C;
  --color-text-light: #5A5A5A;
  --color-border: #E0DDD4;
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-warm-white);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
}

a {
  color: var(--color-forest);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(26, 52, 9, 0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-earth-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(26,52,9,0.92) 0%, rgba(45,80,22,0.85) 50%, rgba(26,52,9,0.9) 100%);
  background-color: var(--color-forest-dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(139,105,20,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(74,124,155,0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-logo {
  width: 480px;
  height: auto;
  object-fit: contain;
  margin-bottom: 32px;
  border-radius: 0;
  box-shadow: none;
}

.hero h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-subtitle strong {
  color: var(--color-earth-light);
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s;
  cursor: pointer;
  margin: 6px;
}

.btn-primary {
  background: var(--color-earth);
  color: #fff;
  border: 2px solid var(--color-earth);
}

.btn-primary:hover {
  background: var(--color-earth-light);
  border-color: var(--color-earth-light);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ---- Sections ---- */

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-cream);
}

.section-title {
  margin-bottom: 40px;
  font-size: 2.2rem;
  color: var(--color-forest-dark);
  text-align: center;
}

.section-intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 48px;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* ---- Map Viewer ---- */

.map-viewer {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid var(--color-border);
  background: #f0efe8;
  cursor: zoom-in;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-viewer.grabbing {
  cursor: grabbing;
}

.map-image {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center center;
  transition: transform 0.15s ease-out;
  user-select: none;
  -webkit-user-drag: none;
}

.map-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}

.map-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 8px;
  background: rgba(26, 52, 9, 0.85);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.map-btn:hover {
  background: var(--color-forest);
}

.map-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  pointer-events: none;
  transition: opacity 0.5s;
  z-index: 10;
}

#map.section {
  padding-bottom: 32px;
}

/* ---- Aerial Flyover (YouTube embed) ---- */

#flyover.section {
  padding-top: 48px;
  padding-bottom: 64px;
}

.video-embed {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid var(--color-border);
  box-shadow: 0 6px 28px rgba(0,0,0,0.18);
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Fallback for older browsers without aspect-ratio support */
@supports not (aspect-ratio: 16 / 9) {
  .video-embed {
    aspect-ratio: auto;
    padding-bottom: 56.25%;
    height: 0;
  }
}

.map-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 12px;
  font-style: italic;
}

.map-legend-inline {
  white-space: nowrap;
}

.legend-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  vertical-align: middle;
  border: 1px solid rgba(0,0,0,0.2);
}

.legend-swatch.commercial {
  background: repeating-linear-gradient(
    45deg,
    #D4943A,
    #D4943A 2px,
    #E8C47A 2px,
    #E8C47A 4px
  );
}

.legend-swatch.non-commercial {
  background: #3A7D44;
}

/* ---- Two Column Layout ---- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.col-text p {
}

.fact-card {
  background: var(--color-forest-dark);
  color: #fff;
  padding: 24px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 16px;
}

.fact-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-earth-light);
  line-height: 1.2;
}

.fact-label {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 4px;
}

/* ---- Subscribe Box ---- */
.subscribe-box {
  text-align: center;
  margin-bottom: 48px;
  padding: 32px;
  background: #1A3409 !important;
  border-radius: 12px;
  color: #fff !important;
}
.subscribe-box h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--color-earth-light);
}
.subscribe-box p {
  opacity: 0.9;
  margin-bottom: 16px;
}


.beehiiv-embed {
  width: 100%;
  max-width: 560px;
  min-height: 520px;
}

@media (max-width: 640px) {
  .subscribe-box {
    padding: 24px 16px;
  }

  .beehiiv-embed {
    min-height: 620px !important;
    height: 620px !important;
  }
}

.section-contact {
  text-align: center;
  margin-top: 48px;
  font-size: 1.5rem;
  color: var(--color-text-light);
}
.section-contact a {
  color: var(--color-forest);
  font-weight: 600;
  text-decoration: none;
}
.section-contact a:hover {
  text-decoration: underline;
}

/* ---- Concerns Grid ---- */

.concerns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.concern-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.3s;
}

.concern-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.concern-icon {
  width: 48px;
  height: 48px;
  color: var(--color-forest);
}

.concern-card h3 {
  font-size: 1.3rem;
  color: var(--color-forest-dark);
  margin-bottom: 12px;
}

.concern-card p {
  margin-bottom: 14px;
  color: var(--color-text-light);
}

.concern-card ul {
  padding-left: 20px;
  color: var(--color-text-light);
}

.concern-card li {
  margin-bottom: 8px;
}

.concern-card li strong {
  color: var(--color-text);
}

/* ---- Quote Banner ---- */

.quote-banner {
  background: var(--color-forest-dark);
  padding: 64px 0;
  text-align: center;
}

.quote-banner blockquote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: rgba(255,255,255,0.95);
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.8;
  font-style: italic;
}

.quote-banner cite {
  color: var(--color-earth-light);
  font-size: 0.95rem;
  font-style: normal;
}

/* ---- Timeline ---- */

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--color-border);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-marker {
  position: absolute;
  left: -34px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-border);
  border: 3px solid var(--color-warm-white);
  box-shadow: 0 0 0 2px var(--color-border);
}

.timeline-marker.active {
  background: var(--color-forest);
  box-shadow: 0 0 0 2px var(--color-forest), 0 0 12px rgba(45,80,22,0.3);
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--color-forest-dark);
  margin-bottom: 6px;
}

.timeline-content p {
  color: var(--color-text-light);
}

/* ---- News & Press ---- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.news-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(45, 80, 22, 0.10);
  color: var(--color-forest-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.news-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.news-card h3 a {
  color: var(--color-forest-dark);
}

.news-card h3 a:hover {
  color: var(--color-forest);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.news-sep {
  opacity: 0.5;
}

.news-card p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.news-link {
  font-weight: 700;
}

.news-empty {
  text-align: center;
  color: var(--color-text-light);
}

/* ---- Action Grid ---- */

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.action-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px;
  border-top: 4px solid var(--color-forest);
}

.action-card h3 {
  font-size: 1.15rem;
  color: var(--color-forest-dark);
  margin-bottom: 10px;
}

.action-card p {
  color: var(--color-text-light);
  font-size: 0.98rem;
}

/* ---- Contact Box ---- */

.contact-box {
  background: var(--color-forest-dark);
  color: #fff;
  border-radius: 12px;
  padding: 36px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-box h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--color-earth-light);
}

.contact-box p {
  margin-bottom: 4px;
  opacity: 0.9;
}

/* ---- Footer ---- */

.footer {
  background: #1A1A1A;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 48px 0 32px;
}

.footer-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0.85;
}

.footer p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
}

.footer-sub {
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  color: rgba(255,255,255,0.5) !important;
  margin-top: 8px;
}

.footer-copy {
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  color: rgba(255,255,255,0.35) !important;
  margin-top: 24px !important;
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .col-sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .fact-card {
    margin-bottom: 0;
  }
  .concerns-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero-logo {
    width: 312px;
    height: auto;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .section-title {
  margin-bottom: 40px;
    font-size: 1.7rem;
  }
  .section {
    padding: 56px 0;
  }
  .col-sidebar {
    grid-template-columns: 1fr;
  }
  .fact-card {
    margin-bottom: 12px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 52, 9, 0.97);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .quote-banner blockquote {
    font-size: 1.1rem;
  }
}

/* ---- Urgent Alert Banner ---- */

.alert-banner {
  background: linear-gradient(135deg, #7a2b0e 0%, #a83917 100%);
  color: #fff;
  padding: 32px 0;
  border-top: 4px solid #f5b82e;
  border-bottom: 4px solid #f5b82e;
}

.alert-banner .container {
  text-align: center;
}

.alert-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f5b82e;
  margin-bottom: 8px;
}

.alert-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.alert-meta {
  font-size: 1.05rem;
  margin-bottom: 20px;
  opacity: 0.95;
}

.alert-banner .btn-primary {
  background: #f5b82e;
  color: #1A3409;
  border-color: #f5b82e;
}

.alert-banner .btn-primary:hover {
  background: #ffcf4d;
  border-color: #ffcf4d;
}

@media (max-width: 640px) {
  .alert-title {
    font-size: 1.1rem;
  }
  .alert-meta {
    font-size: 0.98rem;
  }
}

/* ---- Instagram nav icon ---- */

.nav-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: background 0.2s, color 0.2s;
}

.nav-ig svg {
  width: 18px;
  height: 18px;
}

.nav-ig:hover {
  background: var(--color-earth-light);
  color: var(--color-forest-dark);
  border-color: var(--color-earth-light);
}

/* ---- Footer social ---- */

.footer-social {
  margin: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-cream);
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.2s, color 0.2s;
}

.footer-social a:hover {
  opacity: 1;
  color: var(--color-earth-light);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

/* ---- YouTube nav icon ---- */

.nav-yt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  margin-left: 6px;
}

.nav-yt svg {
  width: 20px;
  height: 20px;
}

.nav-yt:hover {
  background: #FF0033;
  color: #fff;
  border-color: #FF0033;
}

/* ---- Watch on YouTube card (Get Involved) ---- */

.watch-box {
  background: linear-gradient(135deg, #C8001A 0%, #FF0033 60%, #FF4D4D 100%);
  color: #fff;
  padding: 32px 28px;
  border-radius: 8px;
  text-align: center;
  margin: 0 auto 32px;
  max-width: 720px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.watch-box .watch-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  color: #fff;
}

.watch-box .watch-icon svg {
  width: 100%;
  height: 100%;
}

.watch-box h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #fff;
}

.watch-box p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.watch-box .btn-outline {
  border-color: #fff;
  color: #fff;
}

.watch-box .btn-outline:hover {
  background: #fff;
  color: #C8001A;
}

/* ---- Follow on Instagram card (Get Involved) ---- */

.follow-box {
  background: linear-gradient(135deg, #4A2C82 0%, #C13584 50%, #F58529 100%);
  color: #fff;
  padding: 32px 28px;
  border-radius: 8px;
  text-align: center;
  margin: 0 auto 32px;
  max-width: 720px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.follow-box .follow-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  color: #fff;
}

.follow-box .follow-icon svg {
  width: 100%;
  height: 100%;
}

.follow-box h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #fff;
}

.follow-box p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.follow-box .btn-outline {
  border-color: #fff;
  color: #fff;
}

.follow-box .btn-outline:hover {
  background: #fff;
  color: #C13584;
}

/* ---- Featured: Our Comments callout ---- */

.featured-comments {
  background: var(--color-forest-dark);
  color: #fff;
  padding: 48px 0;
  border-top: 4px solid #f5b82e;
  border-bottom: 4px solid #f5b82e;
}

.featured-comments .container {
  text-align: center;
  max-width: 880px;
}

.featured-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f5b82e;
  margin-bottom: 8px;
}

.featured-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 18px;
}

.featured-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.95);
}

.featured-points {
  text-align: left;
  margin: 0 auto 28px;
  max-width: 720px;
  padding: 0;
  list-style: none;
}

.featured-points li {
  padding: 8px 0 8px 32px;
  position: relative;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
}

.featured-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #f5b82e;
  font-weight: 700;
  font-size: 1.2rem;
}

.featured-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.featured-comments .btn-primary {
  background: #f5b82e;
  color: var(--color-forest-dark);
  border-color: #f5b82e;
}

.featured-comments .btn-primary:hover {
  background: #ffcf4d;
  border-color: #ffcf4d;
}

.featured-comments .btn-outline {
  border-color: #fff;
  color: #fff;
}

.featured-comments .btn-outline:hover {
  background: #fff;
  color: var(--color-forest-dark);
}

@media (max-width: 640px) {
  .featured-title { font-size: 1.5rem; }
  .featured-lead { font-size: 1rem; }
}

/* ---- Comments page (comments.html) ---- */

.comments-page {
  padding: 110px 0 64px;
  background: var(--color-warm-white);
}

.comments-page .container {
  max-width: 800px;
}

.comments-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--color-border);
}

.comments-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-earth);
  margin-bottom: 12px;
}

.comments-header h1 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  line-height: 1.3;
  color: var(--color-forest-dark);
  margin-bottom: 16px;
}

.comments-meta {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.comments-cta {
  margin: 24px 0 18px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.comments-deadline {
  background: rgba(245, 184, 46, 0.15);
  border-left: 4px solid var(--color-earth-light);
  padding: 14px 18px;
  margin-top: 18px;
  font-size: 0.98rem;
  text-align: left;
  border-radius: 4px;
}

.comments-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.comments-body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-forest-dark);
  margin: 40px 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.comments-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-forest);
  margin-bottom: 8px;
}

.comments-list {
  counter-reset: comment;
  padding: 0;
  list-style: none;
}

.comments-list > li {
  counter-increment: comment;
  padding: 24px 0 24px 70px;
  position: relative;
  border-top: 1px solid var(--color-border);
}

.comments-list > li:first-child {
  border-top: none;
}

.comments-list > li::before {
  content: counter(comment);
  position: absolute;
  left: 0;
  top: 24px;
  width: 52px;
  height: 52px;
  background: var(--color-forest);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}

.comments-list > li p:last-child {
  margin-bottom: 0;
}

.endorsements {
  margin: 16px 0 0 20px;
  font-size: 0.98rem;
}

.endorsements li {
  margin-bottom: 4px;
}

.signature {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-style: italic;
  line-height: 1.8;
}

.comments-footer-cta {
  margin-top: 48px;
  background: var(--color-forest-dark);
  color: #fff;
  padding: 36px 28px;
  border-radius: 8px;
  text-align: center;
}

.comments-footer-cta h2 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 16px;
  border: none;
}

.comments-footer-cta p {
  margin-bottom: 16px;
  line-height: 1.65;
}

.comments-footer-cta .btn-primary {
  background: #f5b82e;
  color: var(--color-forest-dark);
  border-color: #f5b82e;
}

.comments-footer-cta .btn-outline {
  border-color: #fff;
  color: #fff;
}

@media (max-width: 640px) {
  .comments-page { padding: 90px 0 48px; }
  .comments-header h1 { font-size: 1.6rem; }
  .comments-list > li {
    padding-left: 0;
    padding-top: 64px;
  }
  .comments-list > li::before {
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ---- Precedent Callout ---- */

.precedent-callout {
  background: var(--color-cream);
  border-left: 5px solid var(--color-forest);
  padding: 22px 0;
}

.precedent-callout p {
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 880px;
  margin: 0 auto;
  color: var(--color-text);
}

.precedent-callout a {
  color: var(--color-forest-dark);
  text-decoration: underline;
}

.precedent-callout a:hover {
  color: var(--color-forest);
}

/* ---- Get-Involved CTA Box ---- */

.cta-box {
  background: var(--color-forest-dark);
  color: #fff;
  padding: 32px 28px;
  border-radius: 8px;
  text-align: center;
  margin: 0 auto 32px;
  max-width: 720px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.cta-box h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #f5b82e;
}

.cta-box p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.cta-box .btn-primary {
  background: #f5b82e;
  color: #1A3409;
  border-color: #f5b82e;
}

.cta-box .btn-primary:hover {
  background: #ffcf4d;
  border-color: #ffcf4d;
}
