/* Education directory (education.php, education-single.php) — 2026-10-12 */
.ed-wrap, .ed-profile { --ed-acc: #24578C; --ed-acc-soft: rgba(36,87,140,.10); }
.ed-card--primary, .ed-phead--primary, .ed-chip--primary { --ed-acc: #B7791F; --ed-acc-soft: rgba(183,121,31,.12); }
.ed-card--school, .ed-phead--school, .ed-chip--school { --ed-acc: #24578C; --ed-acc-soft: rgba(36,87,140,.10); }
.ed-card--college, .ed-phead--college, .ed-chip--college { --ed-acc: #7B3F8C; --ed-acc-soft: rgba(123,63,140,.10); }
.ed-card--madrasa, .ed-phead--madrasa, .ed-chip--madrasa { --ed-acc: #0E6E4C; --ed-acc-soft: rgba(14,110,76,.10); }
.ed-card--technical, .ed-phead--technical, .ed-chip--technical { --ed-acc: #8A3B2B; --ed-acc-soft: rgba(138,59,43,.10); }
.ed-card--kindergarten, .ed-phead--kindergarten, .ed-chip--kindergarten { --ed-acc: #C2410C; --ed-acc-soft: rgba(194,65,12,.10); }
.ed-card--education_office, .ed-phead--education_office, .ed-chip--education_office { --ed-acc: #475569; --ed-acc-soft: rgba(71,85,105,.12); }
html[data-bs-theme="dark"] .ed-wrap, html[data-bs-theme="dark"] .ed-profile { --ed-acc: #8DB8E8; }
html[data-bs-theme="dark"] .ed-card--primary, html[data-bs-theme="dark"] .ed-phead--primary, html[data-bs-theme="dark"] .ed-chip--primary { --ed-acc: #E9B44C; }
html[data-bs-theme="dark"] .ed-card--school, html[data-bs-theme="dark"] .ed-phead--school, html[data-bs-theme="dark"] .ed-chip--school { --ed-acc: #8DB8E8; }
html[data-bs-theme="dark"] .ed-card--college, html[data-bs-theme="dark"] .ed-phead--college, html[data-bs-theme="dark"] .ed-chip--college { --ed-acc: #C99BD6; }
html[data-bs-theme="dark"] .ed-card--madrasa, html[data-bs-theme="dark"] .ed-phead--madrasa, html[data-bs-theme="dark"] .ed-chip--madrasa { --ed-acc: #6FCF9F; }
html[data-bs-theme="dark"] .ed-card--technical, html[data-bs-theme="dark"] .ed-phead--technical, html[data-bs-theme="dark"] .ed-chip--technical { --ed-acc: #E59A85; }
html[data-bs-theme="dark"] .ed-card--kindergarten, html[data-bs-theme="dark"] .ed-phead--kindergarten, html[data-bs-theme="dark"] .ed-chip--kindergarten { --ed-acc: #F4A06B; }
html[data-bs-theme="dark"] .ed-card--education_office, html[data-bs-theme="dark"] .ed-phead--education_office, html[data-bs-theme="dark"] .ed-chip--education_office { --ed-acc: #A8B5C7; }

.ed-h2 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; color: var(--ink); margin: 0 0 .85rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ed-h2 > i { color: var(--ed-acc); }
.ed-count { font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: 99px; padding: .05rem .55rem; }

/* Search */
.ed-search { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: .85rem; margin-top: -2.2rem; position: relative; z-index: 2; }
.ed-search__row { display: grid; grid-template-columns: minmax(0, 1fr) 190px 190px auto; gap: .6rem; }
.ed-search__box { position: relative; }
.ed-search__box i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.ed-search__box input { width: 100%; height: 46px; border: 1px solid var(--border-soft); border-radius: 12px; padding: 0 .9rem 0 2.5rem; background: var(--bg-soft); color: var(--ink); font-size: 1rem; }
.ed-search__box input:focus { outline: none; border-color: var(--brand-green); box-shadow: 0 0 0 3px rgba(14,110,76,.15); background: var(--surface); }
.ed-search .form-select { height: 46px; border-radius: 12px; border-color: var(--border-soft); }
.ed-search__go { height: 46px; border-radius: 12px; padding: 0 1.2rem; white-space: nowrap; }
.ed-search__opts { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: .65rem; font-size: .9rem; color: var(--muted); }
.ed-toggle { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; }
.ed-toggle input { width: 1.05rem; height: 1.05rem; accent-color: var(--brand-green); }
.ed-sort select { border: 1px solid var(--border-soft); border-radius: 8px; padding: .2rem .5rem; background: var(--surface); color: var(--ink); }

/* Type chips */
.ed-chips { display: flex; gap: .5rem; overflow-x: auto; padding: 1rem 0 .4rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.ed-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 99px; border: 1px solid var(--border-soft); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; transition: .15s ease; }
.ed-chip i { color: var(--ed-acc); }
.ed-chip span { font-size: .78rem; font-weight: 700; background: var(--bg-soft); border-radius: 99px; padding: 0 .45rem; color: var(--muted); }
.ed-chip:hover { border-color: var(--ed-acc); color: var(--ed-acc); }
.ed-chip.is-active { background: var(--ed-acc); border-color: var(--ed-acc); color: #fff; }
.ed-chip.is-active i, .ed-chip.is-active span { color: #fff; }
.ed-chip.is-active span { background: rgba(255,255,255,.22); }
html[data-bs-theme="dark"] .ed-chip.is-active { color: #111; }
html[data-bs-theme="dark"] .ed-chip.is-active i, html[data-bs-theme="dark"] .ed-chip.is-active span { color: #111; }

/* Offices */
.ed-offices { margin: 1.2rem 0 .5rem; }
.ed-offices__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .9rem; }
.ed-office { --ed-acc: #475569; background: linear-gradient(160deg, var(--surface), var(--bg-soft)); border: 1px solid var(--border-soft); border-left: 4px solid var(--ed-acc); border-radius: var(--radius); padding: 1rem 1.1rem; }
.ed-office h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .35rem; font-family: var(--font-display); }
.ed-office h3 a { color: var(--ink); text-decoration: none; }
.ed-office h3 a:hover { color: var(--brand-green); }
.ed-office__contact { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .88rem; margin: 0 0 .55rem; }
.ed-office__contact a { color: var(--brand-green); text-decoration: none; word-break: break-all; }
.ed-office__person { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .4rem 0; border-top: 1px dashed var(--border-soft); }
.ed-office__person strong { display: block; font-size: .92rem; }
.ed-office__person small { color: var(--muted); font-size: .8rem; }
.ed-office__more { display: inline-block; margin-top: .35rem; font-size: .85rem; font-weight: 600; color: var(--brand-green); text-decoration: none; }

/* Result bar */
.ed-resultbar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: 1.1rem 0 .7rem; color: var(--muted); }
.ed-resultbar p { margin: 0; }
.ed-resultbar strong { color: var(--ink); }
.ed-clear { font-size: .88rem; color: var(--danger); text-decoration: none; font-weight: 600; }

/* Cards */
.ed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.ed-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1rem 1.05rem .95rem; box-shadow: var(--shadow-soft); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; overflow: hidden; }
.ed-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--ed-acc); opacity: .85; }
.ed-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft-hover); border-color: color-mix(in srgb, var(--ed-acc) 35%, var(--border-soft)); }
.ed-card__top { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin-bottom: .45rem; }
.ed-type { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; color: var(--ed-acc); background: var(--ed-acc-soft); border-radius: 99px; padding: .15rem .6rem; }
.ed-tag { font-size: .74rem; font-weight: 600; color: var(--muted); border: 1px solid var(--border-soft); border-radius: 99px; padding: .1rem .5rem; }
.ed-tag--girls { color: #B03A70; border-color: rgba(176,58,112,.35); background: rgba(176,58,112,.07); }
html[data-bs-theme="dark"] .ed-tag--girls { color: #F29BC3; }
.ed-card__photo { position: absolute; top: .9rem; right: .9rem; border-radius: 10px; object-fit: cover; }
.ed-card__title { font-family: var(--font-display); font-size: 1.06rem; font-weight: 700; line-height: 1.4; margin: 0; }
.ed-card__title a { color: var(--ink); text-decoration: none; }
.ed-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.ed-card__title a:hover { color: var(--ed-acc); }
.ed-card__en { font-size: .8rem; color: var(--muted); margin: .1rem 0 0; font-family: system-ui, sans-serif; }
.ed-card__meta { list-style: none; padding: 0; margin: .6rem 0 .5rem; display: grid; gap: .22rem; font-size: .88rem; color: var(--muted); }
.ed-card__meta li { display: flex; gap: .45rem; align-items: baseline; }
.ed-card__meta i { width: 1rem; text-align: center; color: var(--ed-acc); opacity: .8; flex: 0 0 auto; }
.ed-card__meta b { color: var(--ink); font-weight: 700; letter-spacing: .02em; }
.ed-card__foot { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: auto; padding-top: .55rem; border-top: 1px dashed var(--border-soft); }
.ed-verify { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; font-weight: 600; border-radius: 6px; padding: .12rem .45rem; }
.ed-verify--ok { color: #0E6E4C; background: rgba(14,110,76,.10); }
.ed-verify--gov { color: #24578C; background: rgba(36,87,140,.09); }
.ed-verify--inst { color: #7B3F8C; background: rgba(123,63,140,.09); }
.ed-verify--dir { color: var(--muted); background: var(--bg-soft); }
html[data-bs-theme="dark"] .ed-verify--ok { color: #6FCF9F; }
html[data-bs-theme="dark"] .ed-verify--gov { color: #8DB8E8; }
html[data-bs-theme="dark"] .ed-verify--inst { color: #C99BD6; }
.ed-srcn { font-size: .74rem; color: var(--muted); display: inline-flex; gap: .25rem; align-items: center; }
.ed-card__actions { position: relative; z-index: 1; display: flex; gap: .5rem; margin-top: .7rem; }
.ed-card__actions > * { flex: 1; justify-content: center; }
.ed-empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--muted); }
.ed-empty i { font-size: 2.4rem; color: var(--border-soft); margin-bottom: .6rem; display: block; }
.ed-mini-call { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(14,110,76,.10); color: var(--brand-green); text-decoration: none; flex: 0 0 auto; }
.ed-mini-call:hover { background: var(--brand-green); color: #fff; }

.ed-note { display: flex; gap: .9rem; margin-top: 2rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border-soft); }
.ed-note > i { font-size: 1.4rem; color: var(--brand-green); margin-top: .2rem; }
.ed-note p { margin: .25rem 0 .7rem; color: var(--muted); font-size: .93rem; }

/* Profile */
.ed-profile { padding-top: 1.5rem; }
.ed-phead { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; background: linear-gradient(135deg, var(--surface) 55%, var(--ed-acc-soft)); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow-soft); overflow: hidden; }
.ed-phead::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid var(--ed-acc-soft); pointer-events: none; }
.ed-phead__media img, .ed-phead__icon { width: 104px; height: 104px; border-radius: 22px; object-fit: cover; }
.ed-phead__icon { display: grid; place-items: center; font-size: 2.6rem; color: #fff; background: linear-gradient(140deg, var(--ed-acc), color-mix(in srgb, var(--ed-acc) 60%, #000)); box-shadow: 0 10px 24px var(--ed-acc-soft); }
.ed-phead__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .45rem; }
.ed-phead__title { font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.3; margin: 0; color: var(--ink); }
.ed-phead__en { margin: .15rem 0 0; color: var(--muted); font-family: system-ui, sans-serif; font-size: .95rem; }
.ed-phead__loc { margin: .45rem 0 0; color: var(--muted); }
.ed-phead__loc i { color: var(--ed-acc); }
.ed-phead__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; position: relative; z-index: 1; }
.ed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.2rem; margin-top: 1.2rem; align-items: start; }
.ed-panel { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.15rem 1.2rem; box-shadow: var(--shadow-soft); margin-bottom: 1.2rem; }
.ed-side { position: sticky; top: 90px; }
.ed-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; margin: 0; }
.ed-fact { background: var(--bg-soft); border-radius: 12px; padding: .6rem .8rem; min-width: 0; }
.ed-fact dt { font-size: .78rem; font-weight: 600; color: var(--muted); }
.ed-fact dt i { color: var(--ed-acc); width: 1rem; }
.ed-fact dd { margin: .15rem 0 0; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.ed-fact dd a { color: var(--brand-green); text-decoration: none; }
.ed-desc { margin-top: 1rem; }
.ed-head__card { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.ed-head__info { flex: 1; min-width: 180px; display: flex; flex-direction: column; }
.ed-head__info strong { font-size: 1.08rem; }
.ed-head__info small { color: var(--muted); }
.ed-head__src { font-size: .78rem; color: var(--muted); margin-top: .15rem; }
.ed-head__src a { color: inherit; }
.ed-avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--ed-acc); background: var(--ed-acc-soft); border: 2px solid var(--surface); box-shadow: 0 0 0 2px var(--ed-acc-soft); }
.ed-avatar--sm { width: 38px; height: 38px; font-size: 1rem; box-shadow: none; }
.ed-prev { margin-top: .8rem; font-size: .86rem; color: var(--muted); }
.ed-prev summary { cursor: pointer; font-weight: 600; }
.ed-prev ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.ed-staffnote { margin: .7rem 0 0; font-size: .82rem; color: #9A6B00; }
.ed-staff { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .5rem; }
.ed-staff__row { display: flex; align-items: center; gap: .65rem; padding: .5rem .6rem; border-radius: 12px; border: 1px solid var(--border-soft); min-width: 0; }
.ed-staff__row--more { display: none; }
.ed-staff__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ed-staff__who strong { font-size: .93rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-staff__who small { font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-mutednote { margin: .8rem 0 0; font-size: .8rem; color: var(--muted); }
.ed-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .5rem; }
.ed-related__item { display: flex; gap: .6rem; align-items: center; padding: .55rem .7rem; border-radius: 12px; background: var(--bg-soft); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.ed-related__item i { color: var(--ed-acc); }
.ed-related__item small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.ed-related__item:hover { background: var(--ed-acc-soft); }
.ed-srclist { list-style: none; counter-reset: src; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ed-srclist li { counter-increment: src; position: relative; padding: .55rem .7rem .55rem 2.3rem; border-radius: 12px; background: var(--bg-soft); }
.ed-srclist li::before { content: counter(src); position: absolute; left: .6rem; top: .6rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; background: var(--ed-acc); }
.ed-srclist a { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.ed-srclist__label { font-weight: 700; font-size: .9rem; line-height: 1.35; }
.ed-srclist__host { font-size: .76rem; color: var(--brand-green); overflow-wrap: anywhere; }
.ed-srclist__host i { font-size: .65rem; }
.ed-srclist a:hover .ed-srclist__label { text-decoration: underline; }
.ed-srclist__meta { display: block; font-size: .74rem; color: var(--muted); margin-top: .2rem; }
.ed-stype { font-weight: 700; }
.ed-stype--government { color: #24578C; }
.ed-stype--institution { color: #7B3F8C; }
.ed-stype--legacy, .ed-stype--directory { color: #9A6B00; }
html[data-bs-theme="dark"] .ed-stype--government { color: #8DB8E8; }
html[data-bs-theme="dark"] .ed-stype--institution { color: #C99BD6; }
html[data-bs-theme="dark"] .ed-stype--legacy, html[data-bs-theme="dark"] .ed-stype--directory { color: #E9B44C; }
.ed-help p { color: var(--muted); font-size: .9rem; }

@media (max-width: 991.98px) {
  .ed-search__row { grid-template-columns: 1fr 1fr; }
  .ed-search__box { grid-column: 1 / -1; }
  .ed-search__go { grid-column: 1 / -1; }
  .ed-layout { grid-template-columns: 1fr; }
  .ed-side { position: static; }
}
@media (max-width: 575.98px) {
  .ed-search { margin-top: -1.6rem; padding: .7rem; }
  .ed-grid { grid-template-columns: 1fr; }
  .ed-phead { grid-template-columns: 1fr; padding: 1.1rem; }
  .ed-phead__media img, .ed-phead__icon { width: 76px; height: 76px; font-size: 2rem; border-radius: 18px; }
  .ed-phead__actions > * { flex: 1 1 auto; }
  .ed-facts { grid-template-columns: 1fr 1fr; }
  .ed-fact--wide { grid-column: 1 / -1; }
  .ed-staff { grid-template-columns: 1fr; }
}

/* Healthcare (healthcare.php, healthcare-single.php) */
.ed-card--hospital, .ed-phead--hospital, .ed-chip--hospital { --ed-acc: #B42318; --ed-acc-soft: rgba(180,35,24,.09); }
.ed-card--clinic, .ed-phead--clinic, .ed-chip--clinic { --ed-acc: #24578C; --ed-acc-soft: rgba(36,87,140,.10); }
.ed-card--diagnostic_center, .ed-phead--diagnostic_center, .ed-chip--diagnostic_center { --ed-acc: #7B3F8C; --ed-acc-soft: rgba(123,63,140,.10); }
.ed-card--community_clinic, .ed-phead--community_clinic, .ed-chip--community_clinic { --ed-acc: #0E6E4C; --ed-acc-soft: rgba(14,110,76,.10); }
.ed-card--health_center, .ed-phead--health_center, .ed-chip--health_center { --ed-acc: #0F766E; --ed-acc-soft: rgba(15,118,110,.10); }
.ed-card--ngo_clinic, .ed-phead--ngo_clinic, .ed-chip--ngo_clinic { --ed-acc: #B7791F; --ed-acc-soft: rgba(183,121,31,.12); }
.ed-card--pharmacy, .ed-phead--pharmacy, .ed-chip--pharmacy { --ed-acc: #2F855A; --ed-acc-soft: rgba(47,133,90,.10); }
.ed-card--ambulance, .ed-phead--ambulance, .ed-chip--ambulance { --ed-acc: #C2410C; --ed-acc-soft: rgba(194,65,12,.10); }
html[data-bs-theme="dark"] .ed-card--hospital, html[data-bs-theme="dark"] .ed-phead--hospital, html[data-bs-theme="dark"] .ed-chip--hospital { --ed-acc: #F2918A; }
html[data-bs-theme="dark"] .ed-card--clinic, html[data-bs-theme="dark"] .ed-phead--clinic, html[data-bs-theme="dark"] .ed-chip--clinic { --ed-acc: #8DB8E8; }
html[data-bs-theme="dark"] .ed-card--diagnostic_center, html[data-bs-theme="dark"] .ed-phead--diagnostic_center, html[data-bs-theme="dark"] .ed-chip--diagnostic_center { --ed-acc: #C99BD6; }
html[data-bs-theme="dark"] .ed-card--community_clinic, html[data-bs-theme="dark"] .ed-phead--community_clinic, html[data-bs-theme="dark"] .ed-chip--community_clinic { --ed-acc: #6FCF9F; }
html[data-bs-theme="dark"] .ed-card--health_center, html[data-bs-theme="dark"] .ed-phead--health_center, html[data-bs-theme="dark"] .ed-chip--health_center { --ed-acc: #5ECFC4; }
html[data-bs-theme="dark"] .ed-card--ngo_clinic, html[data-bs-theme="dark"] .ed-phead--ngo_clinic, html[data-bs-theme="dark"] .ed-chip--ngo_clinic { --ed-acc: #E9B44C; }
html[data-bs-theme="dark"] .ed-card--pharmacy, html[data-bs-theme="dark"] .ed-phead--pharmacy, html[data-bs-theme="dark"] .ed-chip--pharmacy { --ed-acc: #7BD3A1; }
html[data-bs-theme="dark"] .ed-card--ambulance, html[data-bs-theme="dark"] .ed-phead--ambulance, html[data-bs-theme="dark"] .ed-chip--ambulance { --ed-acc: #F4A06B; }
.hc-tag24 { color: #B42318; border-color: rgba(180,35,24,.35); background: rgba(180,35,24,.06); font-weight: 700; }
html[data-bs-theme="dark"] .hc-tag24 { color: #F2918A; }
.hc-sos { font-weight: 700; color: #B42318; text-decoration: none; }
.hc-sos:hover { text-decoration: underline; color: #B42318; }
html[data-bs-theme="dark"] .hc-sos { color: #F2918A; }
.hc-emergency { margin: 1.2rem 0 .4rem; --ed-acc: #B42318; }
.hc-emergency__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: .7rem; }
.hc-em { display: flex; align-items: center; gap: .75rem; background: var(--surface); border: 1px solid var(--border-soft); border-left: 4px solid #B42318; border-radius: var(--radius); padding: .7rem .85rem; }
.hc-em__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(180,35,24,.09); color: #B42318; flex: 0 0 auto; }
.hc-em__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hc-em__body a { color: var(--ink); text-decoration: none; }
.hc-em__body strong { font-size: .95rem; line-height: 1.35; }
.hc-em__body small { color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-em .call-btn { flex: 0 0 auto; white-space: nowrap; }
.hc-subh { font-size: .95rem; font-weight: 700; margin: 1.1rem 0 .55rem; display: flex; gap: .45rem; align-items: center; }
.hc-subh i { color: var(--ed-acc); }
.hc-services { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.hc-services li { background: var(--ed-acc-soft); color: var(--ink); border-radius: 99px; padding: .2rem .7rem; font-size: .86rem; }
.hc-sospanel { border-color: rgba(180,35,24,.25); background: linear-gradient(160deg, var(--surface), rgba(180,35,24,.04)); }
.hc-sospanel .ed-h2 > i { color: #B42318; }
@media (max-width: 575.98px) {
  .hc-emergency__grid { grid-template-columns: 1fr; }
  .hc-em { flex-wrap: wrap; }
  .hc-em .call-btn { width: 100%; justify-content: center; }
}
/* union / village pages: accent on related items */
.ed-related__item[class*="ed-card--"] { border-left: 3px solid var(--ed-acc, var(--brand-green)); }
.ed-related__item[class*="ed-card--"] i { color: var(--ed-acc, var(--brand-green)); }
.ed-chips.pt-0 { padding-top: 0; }
