/* Match card surfaces and text to each theme; never pair white cards with pale text. */
html[data-category] .category-collection .category-entry{background:var(--surface,#fff);color:var(--ink,#173449);border:1px solid var(--border,#d7e2eb);border-top:4px solid var(--accent,#08758b);padding:24px;border-radius:var(--radius,16px);box-shadow:0 4px 18px #102b3d08;transform:none;min-width:0;height:100%;box-sizing:border-box}
html[data-category] .category-collection .category-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
html[data-category] .category-collection .section-top{margin-bottom:24px}
html[data-category] .category-collection .section-top h2{font-size:clamp(26px,3vw,36px);line-height:1.2;overflow-wrap:anywhere}
html[data-category] .category-entry .category-entry-number{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:28px;padding:0 8px;border:1px solid var(--border,#d7e2eb);border-radius:7px;color:var(--ink,#173449);background:var(--soft,#f3f7fa);font-size:12px;letter-spacing:.04em}
html[data-category] .category-entry h3{color:var(--ink,#173449);font-size:clamp(19px,1.8vw,23px);font-weight:700;line-height:1.4;margin:14px 0 18px;text-transform:none;letter-spacing:normal;overflow-wrap:anywhere}
html[data-category] .category-entry dl{margin:0}
html[data-category] .category-entry dl>div{padding:13px 0;border-top:1px solid var(--border,#d7e2eb)}
html[data-category] .category-entry dt{color:var(--muted,#536678);font-size:11px;font-weight:700;line-height:1.5;letter-spacing:.06em;text-transform:uppercase;opacity:1;margin:0 0 5px}
html[data-category] .category-entry dd{color:var(--ink,#173449);font-size:14px;line-height:1.65;margin:0;opacity:1;white-space:pre-wrap;overflow-wrap:anywhere}
html[data-category] .category-entry a{color:var(--ink,#173449);text-decoration:underline;text-underline-offset:3px;font-weight:600}
html[data-category] .story-card,html[data-category] .specialty-facts>div{background:var(--surface,#fff);color:var(--ink,#173449);border-color:var(--border,#d7e2eb)}
@media(max-width:760px){html[data-category] .category-collection .category-entry-grid{grid-template-columns:1fr;gap:16px}html[data-category] .category-collection .category-entry{padding:20px}html[data-category] .category-entry h3{font-size:20px}html[data-category] .category-entry dd{font-size:15px}}
@media(max-width:360px){html[data-category] .category-collection .category-entry{padding:16px}html[data-category] .category-entry h3{font-size:18px}}
