/* Building Guides (/guides, /guides/{slug}) - loaded only by Views/Guides. Uses the public glass theme variables
   (public-glass.css) with plain fallbacks so the pages also read well when the theme is off. */

.guide-hub-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem;
    background: var(--pg-glass-strong, #fff);
    border: 1px solid var(--pg-border, rgba(20, 40, 58, 0.11));
    border-radius: var(--pg-radius, 16px);
    box-shadow: var(--pg-shadow, 0 10px 30px rgba(20, 40, 58, 0.08));
}
.guide-hub-card h3 { font-size: 1.1rem; line-height: 1.3; margin-bottom: 0.5rem; }
.guide-hub-card h3 a { color: var(--pg-ink, #14283a); text-decoration: none; }
.guide-hub-card h3 a:hover, .guide-hub-card h3 a:focus-visible { text-decoration: underline; }
.guide-hub-card p { flex: 1 1 auto; margin-bottom: 0.75rem; }
.guide-meta { font-size: 0.85rem; color: var(--pg-muted, #5b6b7a); }

.guide-article { max-width: 46rem; }
.guide-article h2 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.65rem); margin-top: 2.25rem; margin-bottom: 0.75rem; scroll-margin-top: 110px; }
.guide-article h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.guide-article p, .guide-article li { line-height: 1.65; }
.guide-article li { margin-bottom: 0.35rem; }
.guide-article table { font-size: 0.95rem; }

.guide-box {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    background: var(--pg-glass-strong, #fff);
    border: 1px solid var(--pg-border, rgba(20, 40, 58, 0.11));
    border-radius: var(--pg-radius, 16px);
}
.guide-box > :last-child { margin-bottom: 0; }
.guide-box h2 { font-size: 1.15rem; margin-top: 0; margin-bottom: 0.75rem; }
.guide-box-short { border-left: 5px solid var(--pg-sun, #ffc107); }
.guide-box-delivery { border-left: 5px solid var(--pg-sea, #1a5f7a); }
.guide-toc ol { margin-bottom: 0; padding-left: 1.25rem; }
.guide-toc li { margin-bottom: 0.25rem; }

.guide-needs { list-style: none; padding-left: 0; }
.guide-needs li { padding: 0.5rem 0; border-bottom: 1px solid var(--pg-border, rgba(20, 40, 58, 0.11)); margin-bottom: 0; }
.guide-needs li:last-child { border-bottom: 0; }
.guide-needs a { font-weight: 600; }

.guide-faq h3 { font-size: 1.05rem; margin-top: 1.25rem; margin-bottom: 0.35rem; }

.guide-note { font-size: 0.9rem; color: var(--pg-muted, #5b6b7a); }

@media (max-width: 575.98px) {
    .guide-box, .guide-hub-card { padding: 1rem; }
}
