/*
 * BINABY | pages/guides_index.css
 * Styles extracted from templates/guides/index.html.
 * Main selectors: Page-specific selectors; see SELECTOR_INDEX.md
 * Keep cascade order and media conditions. Edit existing rules instead of appending patches.
 * Shared tokens: site.css. File map and rationale: CSS_MAINTENANCE.md.
 */

.guide-hub {
  padding: 0 0 40px;
  background: linear-gradient(180deg,#f9fbfe 0%,#fff 260px);
}

.guide-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.guide-hub__hero {
  padding: 56px 0 30px;
  border-bottom: 1px solid rgba(17,24,39,.08);
}

.guide-eyebrow {
  margin: 0 0 9px;
  color: var(--muted,#667085);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guide-hub__title {
  margin: 0 0 12px;
  color: var(--text,#182230);
  font-size: clamp(2rem,4vw,3rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.guide-hub__lead {
  max-width: 68ch;
  margin: 0;
  color: var(--text-soft,#475467);
  font-size: 1.04rem;
  line-height: 1.72;
}

.guide-hub__body {
  padding: 28px 0 0;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.guide-card {
  padding: 22px;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16,24,40,.05);
}

.guide-card__title {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.guide-card__title a,
.guide-card__link {
  color: var(--text,#182230);
  text-decoration: none;
}

.guide-card__title a:hover,
.guide-card__link:hover {
  text-decoration: underline;
}

.guide-card__text {
  margin: 0 0 15px;
  color: var(--text-soft,#475467);
  font-size: .95rem;
  line-height: 1.68;
}

.guide-card__link {
  font-weight: 800;
}

@media (max-width:900px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:640px) {
  .guide-wrap {
    padding: 0 16px;
  }

  .guide-hub__hero {
    padding: 42px 0 24px;
  }

  .guide-card {
    padding: 18px;
    border-radius: 18px;
  }
}
