/* Scoped to the new health pages; existing layouts and ad containers are untouched. */
.hg-container { max-width: 800px; margin: auto; padding: 20px; }
.hg-brand { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 20px; }
.hg-brand a { color: var(--text-main); font-size: 1.3rem; font-weight: 800; text-decoration: none; }
.hg-brand span { color: var(--text-sub); font-size: .86rem; }
.hg-main { --hg-ink: #256b60; --hg-soft: #eff8f4; --hg-border: #c2dfd4; font-size: 1rem; }
.hg-main a { color: #27695e; text-underline-offset: 3px; }
.hg-main h1 { font-size: clamp(1.45rem, 4.8vw, 2rem); line-height: 1.4; margin: 12px 0; letter-spacing: -.035em; color: var(--text-main); }
.hg-main h2 { font-size: 1.15rem; line-height: 1.5; margin-bottom: 10px; }
.hg-main h3 { font-size: 1.04rem; line-height: 1.5; }
.hg-main p + p { margin-top: 8px; }
.hg-breadcrumb { font-size: .8rem; color: var(--text-sub); display: flex; flex-wrap: wrap; gap: 6px; }
.hg-intro { margin: 14px 0 12px; }
.hg-muted, .hg-meta { color: var(--text-sub); font-size: .86rem; }
.hg-meta { margin: 10px 0 20px; }
.hg-panel { background: var(--card-bg, white); border: 1px solid var(--border-color); border-radius: 18px; padding: 22px; margin: 16px 0; }
.hg-urgent { background: #fff7ed; border-color: #dfb077; color: #6a3616; }
.hg-main .hg-urgent a { color: #843b12; font-weight: 700; }
.hg-urgent p { font-size: .93rem; }
.hg-urgent strong { font-weight: 800; }
.hg-main ul { padding-left: 1.3em; }
.hg-main li + li { margin-top: 7px; }
.hg-main fieldset { border: 0; min-width: 0; padding: 0; margin: 18px 0; }
.hg-main legend { font-weight: 700; padding: 0; margin-bottom: 10px; }
.hg-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.hg-choice { display: flex; align-items: center; gap: 8px; padding: 12px 10px; border: 1px solid #c9d8d2; border-radius: 12px; cursor: pointer; min-height: 48px; background: var(--card-bg); }
.hg-choice:has(input:checked) { background: var(--hg-soft); border-color: var(--hg-ink); box-shadow: inset 0 0 0 1px var(--hg-ink); }
.hg-main input[type=checkbox] { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--hg-ink); }
.hg-safety-options { margin: 12px 0 0 !important; }
.hg-safety-options label { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: .87rem; cursor: pointer; }
.hg-main details { margin-top: 15px; }
.hg-main summary { cursor: pointer; padding: 10px 0; font-weight: 600; }
.hg-selects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 10px; }
.hg-selects label { font-weight: 600; font-size: .9rem; }
.hg-main select { display: block; width: 100%; margin-top: 7px; padding: 11px 8px; font: inherit; color: var(--text-main); background: var(--card-bg); border: 1px solid #b8cfc5; border-radius: 9px; min-height: 46px; }
.hg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 12px; }
.hg-main button, .hg-action-link { padding: 12px 18px; min-height: 46px; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; border: 1px solid var(--hg-border); }
.hg-main button { background: var(--hg-ink); color: white; }
.hg-main .hg-secondary { background: var(--card-bg); color: var(--hg-ink); }
.hg-main :is(a,button,input,select,summary):focus-visible { outline: 3px solid #247865; outline-offset: 4px; }
.hg-main [tabindex='-1'] { scroll-margin-top: 20px; }
.hg-main [tabindex='-1']:focus { outline: 2px solid var(--hg-ink); outline-offset: 5px; }
.hg-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.hg-topics a { display: inline-block; background: var(--card-bg); border: 1px solid var(--hg-border); border-radius: 30px; padding: 9px 14px; text-decoration: none; font-size: .91rem; }
.hg-results { margin-top: 26px; }
.hg-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 16px 0; }
.hg-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; }
.hg-card h3 { margin-bottom: 9px; }
.hg-card p { font-size: .92rem; }
.hg-card .hg-quick { padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--border-color); }
.hg-card .hg-more { display: inline-block; padding: 12px 0 0; font-weight: 700; }
.hg-summary { background: var(--hg-soft); border-color: var(--hg-border); }
.hg-source-note { color: var(--text-sub); font-size: .78rem; margin-top: 12px; }
.hg-sources { font-size: .87rem; }
.hg-sources a { overflow-wrap: anywhere; }
.hg-main .hg-table-wrap { overflow-x: auto; }
.hg-main table { width: 100%; border-collapse: collapse; font-size: .87rem; margin: 12px 0; }
.hg-main th, .hg-main td { padding: 10px; border: 1px solid var(--border-color); text-align: left; vertical-align: top; }
.hg-main th { background: var(--hg-soft); }
.hg-footer { text-align: center; margin: 30px 0 15px; font-size: .82rem; color: var(--text-sub); }
.hg-footer a { color: inherit; margin: 0 5px; }
.hg-main [hidden] { display: none !important; }
@media(max-width: 560px) {
 .hg-container { padding: 14px; }
 .hg-brand span { font-size: .76rem; }
 .hg-panel { padding: 17px; }
 .hg-choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .hg-choice { font-size: .9rem; }
 .hg-grid, .hg-selects { grid-template-columns: 1fr; }
 .hg-card { padding: 18px; }
 .hg-main th, .hg-main td { padding: 7px; }
}
@media(prefers-reduced-motion:reduce) { .hg-main * { scroll-behavior: auto; } }
