/* Patient education library; shares the clinic's existing typography and colours. */
.guide-page { background: #fff; }
.guide-page .site-header { width: 100%; }
.guide-page .nav-links { gap: clamp(.75rem, 1.4vw, 1.4rem); }
.guide-page a:focus-visible, .guide-home a:focus-visible { outline: 3px solid #2463df; outline-offset: 5px; border-radius: 3px; }
.guide-hub-hero { background: #edf3f5; border-bottom: 1px solid var(--line); padding: 72px 0 80px; }
.guide-hub-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 72px; }
.guide-hub-hero h1 { font-size: clamp(3rem, 5.6vw, 5.2rem); line-height: 1.08; letter-spacing: -.045em; margin: 20px 0 25px; }
.guide-deck { color: var(--muted); font-size: 1.16rem; line-height: 1.8; max-width: 720px; }
.guide-hub-hero .button { margin-top: 20px; gap: 22px; }
.guide-feature { border-radius: 20px; overflow: hidden; background: white; box-shadow: var(--shadow-soft); }
.guide-feature img { width: 100%; height: 235px; object-fit: cover; }
.guide-feature > div { padding: 28px 32px; }
.guide-feature h2 { font-size: 1.9rem; margin: 12px 0 20px; }
.guide-category { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #335e6a; }
.guide-category span { color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.guide-library, .guide-related { padding-top: 70px; padding-bottom: 70px; }
.guide-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.guide-section-heading h2, .guide-related > h2 { font-size: clamp(2rem, 3vw, 3rem); max-width: 780px; margin: 8px 0 0; }
.guide-section-heading > p { color: var(--muted); flex-shrink: 0; }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide-card { display: flex; flex-direction: column; align-items: start; border: 1px solid var(--line); border-top: 3px solid #335e6a; border-radius: 3px 3px 16px 16px; padding: 28px; background: white; }
.guide-card h3 { font-family: "Source Serif 4", Georgia, serif; font-size: 1.6rem; line-height: 1.3; margin: 10px 0 6px; }
.guide-card h3 a:hover, .guide-feature h2 a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 5px; }
.guide-card > p:not(.guide-category) { color: var(--muted); margin-bottom: 30px; }
.guide-read { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 20px; color: var(--blue-dark); font-weight: 800; margin-top: auto; text-decoration: underline; text-underline-offset: 5px; }
.guide-read span { text-decoration: none; font-size: 1.4rem; }
.guide-hub-cta { background: #172f3c; color: white; border-radius: 20px; padding: 40px; margin-bottom: 80px; display: flex; gap: 40px; align-items: center; justify-content: space-between; }
.guide-hub-cta h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 740px; }
.guide-hub-cta .eyebrow { color: #b7d9e2; }
.guide-hub-cta .button { flex-shrink: 0; }
.guide-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .85rem; padding-top: 30px; }
.guide-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.guide-article-header { padding-top: 45px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.guide-article-header h1 { font-size: clamp(2.5rem, 4.5vw, 4.2rem); max-width: 1000px; line-height: 1.12; letter-spacing: -.035em; }
.guide-meta { color: var(--muted); font-size: .85rem; margin-top: 28px; }
.guide-meta span { padding: 0 8px; }
.guide-layout { display: grid; grid-template-columns: 260px minmax(0, 780px); gap: 80px; padding-top: 45px; align-items: start; }
.guide-sidebar { position: sticky; top: 160px; font-size: .9rem; }
.guide-sidebar nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.guide-sidebar nav a:hover { color: var(--blue-dark); text-decoration: underline; }
.guide-sidebar-contact { margin-top: 28px; background: #edf3f5; padding: 20px; border-radius: 12px; }
.guide-sidebar-contact p { margin-top: 0; }
.guide-sidebar-contact a { color: var(--blue-dark); font-weight: 800; }
.guide-body { min-width: 0; font-size: 1.06rem; line-height: 1.85; }
.guide-body section { scroll-margin-top: 165px; margin: 42px 0; }
.guide-body h2 { font-size: clamp(1.65rem, 2.5vw, 2.2rem); line-height: 1.25; margin-bottom: 20px; }
.guide-body p, .guide-body ul, .guide-body ol { color: #42535c; }
.guide-body li { margin: 12px 0; }
.guide-body a:not(.button) { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.guide-takeaway { padding: 24px 30px; border-left: 4px solid #335e6a; background: #edf3f5; }
.guide-takeaway p { margin: 0; }
.guide-takeaway .guide-category { margin-bottom: 10px; }
.guide-body .guide-sources { border-top: 1px solid var(--line); padding-top: 25px; font-size: .9rem; }
.guide-sources h2 { font-size: 1.4rem; }
.guide-next { padding: 32px; background: #edf3f5; border-radius: 16px; }
.guide-service-link { display: block; margin-top: 18px; }
.guide-related .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
.guide-home { background: #edf3f5; scroll-margin-top: 135px; }
.guide-library { scroll-margin-top: 135px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media(max-width: 1100px) { .guide-layout { gap: 40px; grid-template-columns: 220px minmax(0, 1fr); } .guide-hub-grid { gap: 40px; } }
@media(max-width: 800px) {
 .guide-hub-grid, .guide-layout { grid-template-columns: 1fr; gap: 32px; }
 .guide-hub-hero { padding: 42px 0; }
 .guide-hub-hero h1 { font-size: 3.2rem; }
 .guide-feature img { height: 210px; }
 .guide-cards, .guide-related .guide-cards { grid-template-columns: 1fr; }
 .guide-sidebar { position: static; }
 .guide-sidebar-contact { display: none; }
 .guide-sidebar nav { padding: 20px; background: #f5f7f9; border-radius: 12px; }
 .guide-section-heading, .guide-hub-cta { align-items: start; flex-direction: column; gap: 16px; }
 .guide-hub-cta { padding: 28px; margin-bottom: 55px; }
 .guide-article-header { padding-top: 30px; }
 .guide-deck, .guide-body { font-size: 1rem; }
 .guide-takeaway, .guide-next { padding: 22px; }
 .guide-card { padding: 24px; }
 .guide-library, .guide-related { padding-top: 45px; padding-bottom: 45px; }
}
@media print { .guide-sidebar, .guide-related, .guide-next, .sticky-cta { display: none; } .guide-layout { display: block; } .guide-body a { color: inherit; } }
