/* Editorial treatment for prose guides — the same publication identity as the
   infographic one-sheets (guide-canvas): Fraunces display, Manrope body,
   cream sheet on the parchment canvas, navy ink. Applied by wrapping a guide's
   content in .guide-article > .guide-sheet; the inner markup keeps the site's
   standard classes (page-hero, section, prose, faq-*) and is restyled in scope. */

.guide-article {
    --ga-navy: #1A2332;
    --ga-blue-deep: #005A9C;
    --ga-cream: #faf8f3;
    --ga-stone: #f3efe7;
    --ga-line: #e6e1d6;
    --ga-line-2: #d4ccba;
    --ga-ink: #14191f;
    --ga-ink-2: #3a4250;
    --ga-muted: #5d6570;
    background: #e9e4d8;
    padding: 24px 12px 48px;
    font-family: 'Manrope', -apple-system, sans-serif;
    color: var(--ga-ink);
    -webkit-font-smoothing: antialiased;
}

.guide-article .guide-sheet {
    max-width: 920px;
    margin: 0 auto;
    background: var(--ga-cream);
    box-shadow: 0 30px 80px -30px rgba(13, 19, 32, 0.35), 0 4px 16px -4px rgba(13, 19, 32, 0.12);
    overflow: hidden;
}

/* Header — restyles the site's blue hero band into the sheet's paper masthead */
.guide-article .page-hero {
    background: linear-gradient(180deg, #eaf1f6 0%, #dde8ef 45%, var(--ga-cream) 100%);
    border-bottom: 3px solid var(--ga-navy);
    padding: 34px 36px 26px;
    text-align: left;
    color: var(--ga-ink);
}
.guide-article .page-hero .container { max-width: none; padding: 0; margin: 0; }
.guide-article .guide-eyebrow {
    font-family: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ga-blue-deep); font-weight: 500; margin: 0 0 10px;
}
.guide-article .page-hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 144, "SOFT" 30;
    font-size: clamp(28px, 4.4vw, 40px);
    line-height: 1.05; letter-spacing: -0.02em;
    color: var(--ga-navy); font-weight: 400;
    max-width: 760px; margin: 0 0 12px;
}
.guide-article .page-hero p { color: var(--ga-ink-2); font-size: 15px; line-height: 1.6; max-width: 680px; margin: 0; }

/* Body sections live on the sheet */
.guide-article section.section { background: var(--ga-cream) !important; padding: 30px 36px; }
.guide-article section.section + section.section { border-top: 0.5px solid var(--ga-line-2); }
.guide-article .section .container { max-width: none; padding: 0; margin: 0; }

.guide-article .prose { max-width: 700px; color: var(--ga-ink); font-size: 15.5px; line-height: 1.7; }
.guide-article .prose h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 144;
    font-size: 24px; line-height: 1.1; color: var(--ga-navy); font-weight: 400;
    letter-spacing: -0.01em; margin: 2.1em 0 0.7em; padding-bottom: 8px;
    border-bottom: 1px solid var(--ga-line-2);
}
.guide-article .prose h2:first-child { margin-top: 0; }
.guide-article .prose h3 { font-size: 16.5px; font-weight: 700; color: var(--ga-navy); margin: 1.6em 0 0.5em; }
.guide-article .prose a { color: var(--ga-blue-deep); text-decoration: underline; text-decoration-color: rgba(0, 90, 156, 0.35); }
.guide-article .prose a:hover { text-decoration-color: currentColor; }
.guide-article .prose ul, .guide-article .prose ol { padding-left: 1.4rem; }
.guide-article .prose li { margin-bottom: 0.45em; }
.guide-article .prose strong { color: var(--ga-navy); }
.guide-article .prose code {
    background: var(--ga-stone); border: 1px solid var(--ga-line); border-radius: 3px;
    padding: 0.1em 0.35em; font-size: 0.88em;
}
.guide-article .text-muted { color: var(--ga-muted) !important; }

/* FAQ block */
.guide-article .section-header { text-align: left; margin-bottom: 18px; max-width: 700px; }
.guide-article .section-header h2 {
    font-family: 'Fraunces', Georgia, serif; font-weight: 400;
    color: var(--ga-navy); font-size: 24px; margin: 0;
}
.guide-article .section-header p { color: var(--ga-ink-2); }
.guide-article .content-narrow, .guide-article .faq-accordion { max-width: 700px; margin: 0; }
.guide-article .faq-item { background: #fff; border: 1px solid var(--ga-line); }
.guide-article .faq-item summary h3 { color: var(--ga-navy); }
.guide-article .faq-answer { color: var(--ga-ink-2); }

@media (max-width: 640px) {
    .guide-article { padding: 12px 0 32px; }
    .guide-article .page-hero,
    .guide-article section.section { padding-left: 20px; padding-right: 20px; }
}

@media print {
    .guide-article { background: #fff; padding: 0; }
    .guide-article .guide-sheet { box-shadow: none; }
}

/* Byline: author + freshness under the hero deck */
.guide-article .guide-byline {
    margin: 14px 0 0; font-family: 'Manrope', sans-serif; font-size: 12.5px; font-weight: 600;
    color: var(--ga-ink-2); display: block; line-height: 1.6;
}
.guide-article .guide-byline a { color: var(--ga-navy); text-decoration: none; border-bottom: 1px solid rgba(26,35,50,0.25); }
.guide-article .guide-byline a:hover { border-bottom-color: var(--ga-navy); }
.guide-article .guide-byline .guide-byline-sep { color: var(--ga-muted); margin: 0 6px; }

/* ===== Shared guide header with regional scene (matches the original Ontario / Nova Scotia guides) ===== */
.guide-article .head {
    position: relative; overflow: hidden;
    padding: 34px 40px 150px;
    background: linear-gradient(180deg, #eaf1f6 0%, #dde8ef 45%, var(--ga-cream, #faf8f3) 100%);
    border-bottom: 3px solid var(--ga-navy);
}
.guide-article .head::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--ga-navy) 0%, var(--ga-navy) 64%, #0074C4 64%, #0074C4 100%);
}
.guide-article .scene { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; pointer-events: none; }
.guide-article .scene svg { width: 100%; height: 100%; display: block; }
.guide-article .head-inner { position: relative; z-index: 1; max-width: 640px; }
.guide-article .head .eyebrow {
    font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: #005A9C; font-weight: 500; display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.guide-article .head .eyebrow::after { content: ""; flex: 1; height: 1px; background: rgba(26,35,50,0.25); max-width: 120px; }
.guide-article .head h1.title {
    font-family: 'Fraunces', Georgia, serif; font-variation-settings: "opsz" 144, "SOFT" 30;
    font-size: clamp(28px, 4.2vw, 38px); line-height: 1.05; letter-spacing: -0.02em; color: var(--ga-navy);
    margin: 0 0 10px; font-weight: 380; text-wrap: balance;
}
.guide-article .head h1.title em { font-style: italic; color: #005A9C; font-weight: 380; font-variation-settings: "opsz" 144, "SOFT" 100; }
.guide-article .head .deck { font-size: 13.5px; line-height: 1.55; color: var(--ga-ink-2); margin: 0; }
.guide-article .head .guide-byline { margin-top: 12px; }

/* Readiness checklist with check boxes */
.guide-article .prose ul.checklist { list-style: none; padding: 0; margin: 12px 0 24px; display: grid; gap: 8px; }
.guide-article .prose ul.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; background: #fff; border: 1px solid var(--ga-line); font-size: 0.95rem; }
.guide-article .prose ul.checklist .box { width: 16px; height: 16px; border: 1.5px solid var(--ga-navy); border-radius: 3px; flex-shrink: 0; margin-top: 3px; }

/* Product band: what AccessPoint does for this guide's obligation */
.guide-article .prose .feature-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.12);
    border: 1px solid var(--ga-navy); margin: 16px 0 24px;
}
.guide-article .prose .feature { background: var(--ga-navy); color: rgba(255,255,255,0.82); padding: 14px 14px 16px; }
.guide-article .prose .feature h3 { font-family: 'Manrope', sans-serif; font-size: 13.5px; font-weight: 700; color: #fff; margin: 0 0 6px; letter-spacing: -0.005em; }
.guide-article .prose .feature p { font-size: 12.5px; line-height: 1.5; margin: 0; color: rgba(255,255,255,0.78); }
@media (max-width: 760px) { .guide-article .prose .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .guide-article .prose .feature-grid { grid-template-columns: 1fr; } }

/* Shared closing band */
.guide-article .guide-footer { padding: 24px 40px 20px; background: #0d1320; color: rgba(255,255,255,0.7); }
.guide-article .guide-footer .cta-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.guide-article .guide-footer h5 { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: #0074C4; font-weight: 500; margin: 0 0 8px; }
.guide-article .guide-footer h3 { font-family: 'Fraunces', Georgia, serif; font-variation-settings: "opsz" 144; font-size: 17px; color: #fff; font-weight: 400; margin: 0 0 6px; letter-spacing: -0.01em; }
.guide-article .guide-footer p { margin: 0; font-size: 12.5px; line-height: 1.5; }
.guide-article .guide-footer .cta-links { display: flex; flex-direction: column; gap: 8px; border-left: 1px solid rgba(255,255,255,0.12); padding-left: 24px; }
.guide-article .guide-footer .row-link { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,0.88); text-decoration: none; border-bottom: none; }
.guide-article .guide-footer .row-link:hover span { text-decoration: underline; }
.guide-article .guide-footer .row-link svg { width: 14px; height: 14px; color: #0074C4; flex-shrink: 0; }
.guide-article .guide-footer .footer-bottom { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 10.5px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.guide-article .guide-footer .footer-bottom .brand { color: rgba(255,255,255,0.7); }
@media (max-width: 720px) {
    .guide-article .head { padding: 26px 20px 130px; }
    .guide-article .scene { height: 120px; }
    .guide-article .guide-footer { padding: 20px; }
    .guide-article .guide-footer .cta-grid { grid-template-columns: 1fr; }
    .guide-article .guide-footer .cta-links { border-left: none; padding-left: 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.12); }
}
@media print {
    .guide-article .head { padding-bottom: 90px; }
    .guide-article .scene { height: 90px; }
    .guide-article .prose .feature { background: #1A2332 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .guide-article .guide-footer { background: #0d1320 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
