/* Guide pages (/guide/). Loaded after styles.css; builds on .page-hero and .legal. */

.guide-hero .section-label a {
  color: inherit;
  text-decoration: none;
}
.guide-hero .section-label a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-hero .page-hero-sub {
  margin-bottom: 0;
}

/* Reading width and rhythm for long-form posts */
.guide-post .container,
.guide-index .container {
  max-width: 720px;
}
.guide-post p,
.guide-post li {
  font-size: 18px;
  line-height: 1.75;
}
.guide-post h2 {
  margin-top: 48px;
}
.guide-post h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 19px;
  margin: 28px 0 8px;
}
.guide-post strong {
  font-weight: 600;
}

.guide-checked {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(28, 40, 38, 0.15);
  font-size: 15px !important;
  opacity: 0.8;
}

/* Share row: plain links, no third-party scripts */
.guide-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 28px 0 36px;
}
.guide-share-label {
  width: 100%;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.guide-share a,
.guide-share button {
  font: 600 15px/1 var(--font-body);
  color: var(--charcoal);
  background: transparent;
  border: 1.5px solid var(--charcoal);
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  cursor: pointer;
}
.guide-share a:hover,
.guide-share button:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.guide-author {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: rgba(21, 71, 0, 0.06);
  border-radius: 12px;
}
.guide-author img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}
.guide-author p {
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.guide-subscribe {
  margin-top: 28px;
  font-weight: 600;
}

/* Earlier / next */
.guide-more {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.guide-more a {
  display: block;
  padding: 16px 20px;
  border: 1px solid rgba(28, 40, 38, 0.2);
  border-radius: 12px;
  text-decoration: none !important;
  color: var(--charcoal) !important;
  font-weight: 600;
  line-height: 1.4;
}
.guide-more a span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 6px;
}
.guide-more-next {
  text-align: right;
  grid-column: 2;
}
@media (max-width: 600px) {
  .guide-more {
    grid-template-columns: 1fr;
  }
  .guide-more-next {
    grid-column: 1;
    text-align: left;
  }
}

/* Index list */
.guide-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 32px;
}
.guide-card {
  margin: 0 0 20px !important;
}
.guide-card a {
  display: block;
  padding: 24px 28px;
  border: 1px solid rgba(28, 40, 38, 0.15);
  border-radius: 14px;
  text-decoration: none !important;
  color: var(--charcoal) !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.guide-card a:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.guide-card h2 {
  margin: 0 0 8px !important;
  font-size: 26px !important;
}
.guide-card p {
  margin-bottom: 12px !important;
}
.guide-card time {
  font-size: 14px;
  opacity: 0.75;
}
.guide-card-draft,
.guide-draft-banner {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--charcoal);
  border-radius: 4px;
  padding: 2px 8px;
}
.guide-draft-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 3000;
  margin: 0;
  padding: 8px 14px;
}
.guide-feeds {
  font-size: 15px !important;
}

.guide-print-footer {
  display: none;
}

/* Print: a clean handout organizations can copy and pass out */
@media print {
  .site-nav,
  .mobile-drawer,
  .skip-link,
  .site-footer,
  .guide-share,
  .guide-more,
  .guide-subscribe,
  .guide-draft-banner,
  .guide-author img {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .page-hero {
    background: none !important;
    color: #000 !important;
    padding: 0 0 12px !important;
  }
  .page-hero h1 {
    font-size: 30pt !important;
  }
  .page-hero-sub {
    opacity: 1 !important;
  }
  .section-label,
  .section-label a {
    color: #000 !important;
  }
  .legal {
    padding: 0 !important;
  }
  .guide-post p,
  .guide-post li {
    font-size: 12pt;
    line-height: 1.5;
  }
  .guide-post h2 {
    color: #000 !important;
    font-size: 17pt !important;
    margin-top: 18pt !important;
    break-after: avoid;
  }
  .guide-post a {
    color: #000 !important;
  }
  /* Show where links go, since paper can't be clicked */
  .guide-post a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    word-break: break-all;
  }
  .guide-author {
    background: none !important;
    padding: 0 !important;
  }
  .guide-print-footer {
    display: block;
    margin-top: 18pt;
    font-size: 10pt !important;
  }
}
