/* Blueprint guides - small additions layered on top of ../legal/legal.css,
   which already supplies the theme-aware tokens, type, and footer used
   across every legal page. Guides reuse that file for everything except
   the few components below: breadcrumb, CTA box, source list and the
   /guides index card grid. No em dashes or en dashes anywhere. */

.breadcrumb {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }

.guide-meta {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ---- Check-an-address call to action ---- */
.cta-box {
  border: 1px solid var(--surface-stroke);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 28px 0 32px;
  text-align: center;
}
.cta-box h2 {
  margin: 0 0 8px !important;
  font-size: 1.15rem !important;
}
.cta-box p { margin: 0 0 16px; color: var(--text-secondary); }
/* Outlined pill, same pattern as the homepage nav's "Get the app" button:
   text-primary on the page background gives the same AA contrast as the rest
   of the body copy, so no separate contrast check is needed for a filled
   accent background. */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border: 1px solid var(--surface-stroke);
  border-radius: 999px;
  font-size: 1rem;
}
.cta-btn:hover {
  text-decoration: none;
  border-color: var(--bp-accent);
  background: color-mix(in srgb, var(--bp-accent) 12%, transparent);
}
.cta-btn:focus-visible { outline: 2px solid var(--bp-accent); outline-offset: 3px; }

/* ---- Sources list ---- */
.src-list-guide {
  margin: 0 0 16px;
  padding-left: 22px;
}
.src-list-guide li { margin: 0 0 8px; }

/* ---- Related guides ---- */
.related-list {
  margin: 0 0 16px;
  padding-left: 22px;
}

/* ---- /guides index card grid ---- */
.guide-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .guide-grid { grid-template-columns: 1fr 1fr; }
}
.guide-card {
  display: block;
  border: 1px solid var(--surface-stroke);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  border-radius: 14px;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.guide-card:hover { border-color: var(--bp-accent); text-decoration: none; }
.guide-card h2 {
  margin: 0 0 8px !important;
  font-size: 1.1rem !important;
  color: var(--text-primary);
}
.guide-card p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }

@media (max-width: 480px) {
  .cta-box { padding: 18px 16px; }
}
