/* ============================================================
   PetDeets guide pages (/guides/*), on top of styles.css.
   task-1743a. styles.css is NOT edited for these pages: the
   homepage must not change by a pixel. Only what the guide
   layout needs that styles.css does not already have.
   Bump ?v= on every guide page when this file changes.
   ============================================================ */

/* ---------- Five cards (feature-card, with an h2 instead of an h3) ----------
   Six columns: the first three cards take two each, the last two take three,
   so five cards fill two rows with no hole. */
.guide-cards { padding: 24px 0 16px; }
.guide-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.guide-grid > .feature-card { grid-column: span 2; }
.guide-grid > .feature-card:nth-child(n+4) { grid-column: span 3; }
.feature-card h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -.3px; line-height: 1.3; }

/* ---------- Text sections ---------- */
.guide-text { padding: 56px 0 0; }
.guide-text .section-lead { margin-bottom: 0; }

/* ---------- Questions ---------- */
.guide-faq { padding: 72px 0 32px; }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
    background: var(--surface); border-radius: var(--radius-sm); padding: 22px 24px;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.faq-item h3 { font-size: 1.08rem; font-weight: 800; letter-spacing: -.2px; line-height: 1.35; margin-bottom: 6px; }
.faq-item p { color: var(--text-soft); }

/* ---------- Closing block: the medical small print ----------
   Full opacity and bold: white on the orange gradient is already low contrast,
   so small text gets no further dimming. */
.cta-fine { max-width: 560px; margin: 28px auto 0; font-size: .92rem; font-weight: 700; }

/* ---------- Responsive (the same breakpoints as styles.css) ---------- */
@media (max-width: 980px) {
    .guide-grid { grid-template-columns: repeat(2, 1fr); }
    .guide-grid > .feature-card,
    .guide-grid > .feature-card:nth-child(n+4) { grid-column: auto; }
}
@media (max-width: 620px) {
    .guide-grid { grid-template-columns: 1fr; }
    .guide-text { padding-top: 44px; }
    .guide-faq { padding-top: 56px; }
}
