/* ===================================================
   Guides — hub + article pages
   Reuses existing design tokens (--is-black, --is-red,
   --is-offwhite, --is-line, --radius) from style.css.
   =================================================== */

.guides-hero {
  background: var(--is-black); color: var(--is-white);
  padding: 5rem 2rem 4rem; text-align: center;
}
.guides-hero .eyebrow { color: var(--is-red); }
.guides-hero h1 {
  color: var(--is-white); font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 780px; margin: 0.75rem auto 1.5rem; line-height: 1.15;
}
.guides-hero-sub {
  max-width: 560px; margin: 0 auto; color: #C8C6CA; font-size: 1.1rem; line-height: 1.6;
}

/* Hub listing grid */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 3.5rem 0;
}
.guide-card {
  border: 1px solid var(--is-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.guide-card:hover { background: var(--is-offwhite); border-color: var(--is-black); }
.guide-card-tag {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--is-red); font-weight: 600; margin-bottom: 0.6rem;
}
.guide-card h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 0.75rem; }
.guide-card p { color: var(--is-grey); font-size: 0.92rem; line-height: 1.55; margin-bottom: 1.25rem; flex-grow: 1; }
.guide-card-link { font-weight: 700; font-size: 0.9rem; }
.guide-card:hover .guide-card-link { color: var(--is-red); }

/* Article pages */
.guide-article-hero {
  background: var(--is-black); color: var(--is-white);
  padding: 4rem 2rem 3rem; text-align: center;
}
.guide-article-hero .eyebrow { color: var(--is-red); }
.guide-article-hero h1 {
  color: var(--is-white); font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  max-width: 760px; margin: 0.75rem auto 0; line-height: 1.2;
}

.guide-breadcrumb {
  font-size: 0.82rem; color: var(--is-grey); padding: 1.25rem 2rem 0;
}
.guide-breadcrumb a:hover { color: var(--is-red); }

.guide-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1rem;
  line-height: 1.75;
  font-size: 1.02rem;
}
.guide-body h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}
.guide-body h2:first-child { margin-top: 0; }
.guide-body p { margin-bottom: 1.15rem; color: var(--is-black); }
.guide-body ul, .guide-body ol { margin: 0 0 1.15rem 1.4rem; }
.guide-body li { margin-bottom: 0.5rem; line-height: 1.6; }
.guide-body strong { font-weight: 700; }

.guide-checklist {
  list-style: none; margin: 1rem 0 1.5rem; padding: 1.1rem 1.3rem;
  background: var(--is-offwhite); border: 1px solid var(--is-line); border-radius: var(--radius);
}
.guide-checklist li {
  display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.65rem; font-size: 0.95rem;
}
.guide-checklist li:last-child { margin-bottom: 0; }
.guide-checklist li::before {
  content: ''; flex-shrink: 0; width: 16px; height: 16px; margin-top: 0.2rem;
  border: 2px solid var(--is-grey); border-radius: 3px;
}

.guide-cta {
  max-width: 720px; margin: 1rem auto 4rem; padding: 1.5rem 1.75rem;
  background: var(--is-offwhite); border: 1px solid var(--is-line); border-radius: var(--radius);
  font-size: 0.95rem; line-height: 1.6; color: var(--is-black);
}
.guide-cta a { font-weight: 700; color: var(--is-red); }
.guide-cta a:hover { text-decoration: underline; }

.guides-more {
  border-top: 1px solid var(--is-line);
  padding: 3rem 2rem 4rem;
}
.guides-more .section-inner { padding: 0; }
.guides-more h2 { font-size: 1.3rem; margin-bottom: 1.5rem; }

@media (max-width: 700px) {
  .guide-body { padding: 2rem 1.25rem 1rem; }
}
