/* Living Well uses the existing editorial palette and type system. No new fonts or scripts. */
.lw-section .section-content > p:not(.section-deck) { max-width: 760px; }
.lw-lead { font: 1.65rem/1.45 var(--serif); max-width: 740px; }
.lw-intro { font: 1.1rem/1.7 var(--serif); }
.lw-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lw-card { min-width: 0; padding: 24px; border: 1px solid var(--line-dark); background: var(--paper-light); overflow-wrap: anywhere; }
.lw-card h3 { font-size: 1.4rem; line-height: 1.3; margin-bottom: 14px; }
.lw-card p:last-child { margin-bottom: 0; font: 1.04rem/1.65 var(--serif); }
.lw-eyebrow { font: .68rem/1.7 var(--mono); color: var(--ink-soft); text-transform: uppercase; margin-bottom: 14px; }
.lw-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lw-route { min-width: 0; border-top: 3px solid var(--red); padding: 23px 0 0; }
.lw-route h3 { font-size: 1.6rem; line-height: 1.25; }
.lw-route p:last-child { font: 1.07rem/1.65 var(--serif); }
.lw-situations { border-top: 1px solid var(--line-dark); }
.lw-situations p { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; border-bottom: 1px solid var(--line); padding: 20px 0; margin: 0; }
.lw-situations span { font: 1.05rem/1.6 var(--serif); }
.lw-situations a { font-size: 1rem; font-weight: 600; }
.lw-breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 9px; font: .74rem/1.6 var(--sans); margin-bottom: 20px; }
.lw-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; }
.lw-breadcrumb span { align-self: center; }
.page-title { font-size: clamp(2.25rem, 4.25vw, 4rem); line-height: 1.14; max-width: 950px; }
.page-living-well .page-title { font-size: clamp(3.3rem, 7vw, 6rem); }
.lw-outline { max-width: 720px; margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: .88rem/1.6 var(--sans); }
.lw-outline summary, .lw-preview summary { cursor: pointer; padding: 14px 0; min-height: 48px; font-weight: 600; }
.lw-outline ol { padding-left: 24px; margin: 0 0 14px; }
.lw-outline li { padding-block: 6px; }
.lw-article .article-lead { font-size: 1.38rem; line-height: 1.55; }
.lw-callout { margin-block: 30px; padding: 22px 24px; background: var(--panel); border-left: 3px solid var(--red); }
.lw-callout h2 { margin-top: 0; font-size: 1.3rem; }
.lw-callout p:last-child { margin-bottom: 0; }
.lw-next { border-top: 1px solid var(--line-dark); margin-top: 28px; padding-top: 24px; }
.lw-next h2 { margin-top: 0; font-size: 1.3rem; }
.lw-next p { font: 1rem/1.6 var(--sans); }
.lw-preview { margin-top: 22px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line); max-width: 780px; }
.lw-preview pre { white-space: pre-wrap; overflow-wrap: anywhere; font: .85rem/1.7 var(--mono); padding: 20px; margin: 0 0 20px; background: var(--paper-light); border: 1px solid var(--line); }
.lw-article [id], .lw-section [id] { scroll-margin-top: 110px; }
@media (max-width: 1000px) { .lw-routes { grid-template-columns: minmax(0, 1fr); gap: 14px; } .lw-route h3 { margin-bottom: 12px; } }
@media (max-width: 650px) { .lw-cards { grid-template-columns: minmax(0, 1fr); } .lw-card { padding: 20px; } .lw-situations p { grid-template-columns: minmax(0, 1fr); gap: 8px; } .lw-callout { padding: 18px; } .lw-preview pre { padding: 15px; } }
@media print { .lw-outline, .lw-next, .lw-breadcrumb { display: none; } .lw-cards, .lw-routes { display: block; } .lw-card, .lw-callout { background: white; color: black; margin-block: 16px; } .lw-preview::details-content { content-visibility: visible !important; display: block !important; } .lw-preview pre { background: white; color: black; } .lw-section { break-inside: auto; } .lw-card { break-inside: avoid; } }

/* Long headings must remain readable with user-defined text spacing. */
.lw-section h2, .lw-section h3, .lw-article h2 { overflow-wrap: anywhere; }
