
.hd1-item[hidden], .hd1-dag[hidden], .hd1-tag[hidden], .hd1-zoek[hidden], .hd1-live[hidden], .hd1-actie[hidden], .leeg[hidden], .hd1-kaart-svg [hidden] { display: none; }

.hd1-brandweer { --hd1: var(--rood); --hd1-stip: #b3261e; }
.hd1-ambulance { --hd1: #8a6a00; --hd1-stip: #d9a400; }
.hd1-politie { --hd1: #1b3f8f; --hd1-stip: #2b5cb8; }
.hd1-heli { --hd1: #0b6f61; --hd1-stip: #0f9d8a; }
.hd1-knrm { --hd1: #a8500f; --hd1-stip: #e8701a; }
.hd1-overig { --hd1: var(--tekst-zacht); --hd1-stip: #8a959a; }

.hd1-nood { display: grid; gap: 12px; background: var(--rood-licht); border-left: 5px solid var(--rood); border-radius: var(--radius-s); padding: 14px 16px; margin: 0 0 18px; }
.hd1-nood-tekst { display: flex; gap: 12px; align-items: flex-start; }
.hd1-nood-tekst > .ic { width: 28px; height: 28px; color: var(--rood); }
.hd1-nood p { margin: 0; }
.hd1-nood-knoppen { display: flex; flex-wrap: wrap; gap: 8px; }
.hd1-nood-knoppen .knop { flex: 1 1 auto; }
@media (min-width: 640px) {
  .hd1-nood { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .hd1-nood-knoppen .knop { flex: none; }
}

.hd1-live { position: sticky; top: 8px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--zee-donker); color: var(--wit); border-radius: 999px; padding: 6px 6px 6px 16px; margin: 0 0 14px; box-shadow: var(--schaduw); font-weight: 600; }
.hd1-live > span { display: inline-flex; align-items: center; gap: 6px; }
.hd1-live .knop { background: var(--zon); border-color: var(--zon); color: var(--tekst); }

.hd1-stand { background: var(--wit); border: 1px solid var(--rand); border-radius: var(--radius); padding: 14px 16px 10px; margin: 0 0 22px; box-shadow: var(--schaduw); }
.hd1-stand-zin { margin: 0 0 10px; }
.hd1-balk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 3px; align-items: end; height: 72px; }
.hd1-balk li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0; }
.hd1-staaf { display: block; width: 100%; max-width: 22px; min-height: 3px; max-height: calc(100% - 18px); border-radius: 4px 4px 1px 1px; background: var(--zee); transition: height .25s ease; }
.hd1-staaf-leeg { background: var(--rand); }
.hd1-balk li:last-child .hd1-staaf:not(.hd1-staaf-leeg) { background: var(--rood); }
.hd1-dagnaam { font-size: .68rem; color: var(--tekst-zacht); line-height: 1.6; }

.hd1-kop { font-size: 1.2rem; margin: 6px 0 10px; }

.hd1-diensten { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 600px) { .hd1-diensten { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hd1-dienst { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--wit); border: 2px solid var(--rand); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--tekst);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.hd1-dienst img, .hd1-collage { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hd1-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--rand); }
.hd1-collage img { aspect-ratio: auto; width: 100%; height: 100%; min-height: 0; }
.hd1-dienst-naam { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; font-weight: 700; font-size: .95rem; border-top: 4px solid var(--hd1, var(--zee)); }
.hd1-n { min-width: 26px; text-align: center; font-size: .8rem; font-weight: 700; border-radius: 999px; padding: 1px 8px; background: var(--zee-licht); color: var(--zee-donker); }
.hd1-dienst:hover { transform: translateY(-2px); box-shadow: var(--schaduw); color: var(--tekst); }
.hd1-dienst[aria-current="true"] { border-color: var(--hd1, var(--zee)); box-shadow: 0 0 0 2px var(--hd1, var(--zee)); }
.hd1-dienst[aria-current="true"] .hd1-dienst-naam { background: var(--hd1, var(--zee)); color: var(--wit); }
.hd1-dienst[aria-current="true"] .hd1-n { background: var(--wit); color: var(--tekst); }
.hd1-dienst[aria-current="true"]::after { content: ""; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--wit) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d2a2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: var(--schaduw); }
.hd1-dienst-rustig img { filter: grayscale(.6); opacity: .75; }

.hd1-dorpen { margin-bottom: 12px; }
.hd1-dorpen .chip { gap: 4px; }

.hd1-kaart-blok { margin: 0 0 16px; background: #dcecef; border: 1px solid var(--rand); border-radius: var(--radius); padding: 8px 8px 10px; }
.hd1-kaart-svg { display: block; width: 100%; height: auto; max-height: 360px; }
.hd1-land { fill: #cfe3c4; stroke: #8fb487; stroke-width: 1; }
.hd1-dijk { fill: none; stroke: #6f8f6a; stroke-width: 1.2; }
.hd1-dorpnamen text { font: 600 8px var(--font); fill: var(--tekst-zacht); }
.hd1-stip { cursor: pointer; }
.hd1-stip circle { transition: r .15s ease; }
.hd1-stip:hover circle:last-of-type, .hd1-stip:focus circle:last-of-type { r: 8; }
.hd1-stip:focus { outline: none; }
.hd1-stip:focus-visible circle:last-of-type { stroke: var(--zee-donker); stroke-width: 3; }
.hd1-stip-golf { opacity: .35; transform-box: fill-box; transform-origin: center; animation: hd1-golf 1.6s ease-out infinite; }
@keyframes hd1-golf { from { transform: scale(.8); opacity: .5; } to { transform: scale(2.6); opacity: 0; } }
.hd1-kaart-blok figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 6px 6px 0; }
.hd1-legenda { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .82rem; }
.hd1-legenda li { display: inline-flex; align-items: center; gap: 5px; }
.hd1-bol { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 2px var(--wit); }
.hd1-kaart-blok .hint { font-size: .8rem; margin: 0; }

.hd1-zoek { display: flex; align-items: center; gap: 8px; background: var(--wit); border: 1.5px solid var(--rand-veld); border-radius: 999px; padding: 0 14px; margin: 0 0 8px; }
.hd1-zoek:focus-within { outline: 3px solid var(--zee-donker); outline-offset: 2px; }
.hd1-zoek .ic { color: var(--tekst-zacht); }
.hd1-zoek input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; font: inherit; color: var(--tekst); }
.hd1-zoek input:focus { outline: none; }
.hd1-telling { font-size: .88rem; color: var(--tekst-zacht); margin: 0 0 4px; }

.hd1-lijst { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.hd1-kaart { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); background: var(--wit); border: 1px solid var(--rand); border-left: 5px solid var(--hd1); border-radius: var(--radius-s); overflow: hidden; transition: box-shadow .15s ease; }
.hd1-kaart:hover { box-shadow: var(--schaduw); }
@media (min-width: 560px) { .hd1-kaart { grid-template-columns: 150px minmax(0, 1fr); } }
.hd1-plaatjes { display: grid; grid-auto-rows: minmax(0, 1fr); gap: 2px; background: var(--rand); min-height: 96px; }
.hd1-plaatjes picture { display: block; min-height: 0; }
.hd1-plaatje { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.hd1-plaatjes-1 .hd1-plaatje { min-height: 96px; }
.hd1-tekst { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; min-width: 0; }
.hd1-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.hd1-label { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--hd1); }
.hd1-label .ic { width: 16px; height: 16px; }
.hd1-tag { font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 1px 8px; }
.hd1-tag-spoed { background: var(--rood); color: var(--wit); }
.hd1-tag-net { background: var(--zon); color: var(--tekst); }
.hd1-tag-jou { background: var(--zee); color: var(--wit); }
.hd1-titel { font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; color: var(--zee-donker); text-decoration: none; }
.hd1-titel::after { content: ""; position: absolute; inset: 0; }
.hd1-kaart:hover .hd1-titel { text-decoration: underline; }
.hd1-titel:focus-visible { outline: none; box-shadow: none; }
.hd1-kaart:has(.hd1-titel:focus-visible) { outline: 3px solid var(--zee-donker); outline-offset: 2px; }
.hd1-kort { font-size: .9rem; color: var(--tekst-zacht); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hd1-ook { list-style: none; margin: 2px 0; padding: 6px 0 0; border-top: 1px dashed var(--rand); display: grid; gap: 2px; font-size: .86rem; }
.hd1-ook li { display: flex; align-items: flex-start; gap: 6px; }
.hd1-ook .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--tekst-zacht); }
.hd1-ook a { position: relative; z-index: 1; overflow-wrap: anywhere; }
.hd1-waar { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .82rem; color: var(--tekst-zacht); }
.hd1-waar > * { display: inline-flex; align-items: center; gap: 4px; }
.hd1-acties { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hd1-actie { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 4px 12px; border-radius: 999px; border: 1.5px solid var(--rand); background: var(--wit); color: var(--zee-donker); font: inherit; font-size: .82rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.hd1-actie:hover { border-color: var(--zee); color: var(--zee-donker); }

.hd1-hulp { display: grid; gap: 8px; margin: 0 0 8px; }
.hd1-hulp details, .hd1-cijfers { background: var(--wit); border: 1px solid var(--rand); border-radius: var(--radius-s); }
.hd1-hulp summary, .hd1-cijfers > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 10px 14px; font-weight: 700; color: var(--zee-donker); }
.hd1-hulp summary::-webkit-details-marker, .hd1-cijfers summary::-webkit-details-marker { display: none; }
.hd1-hulp summary::after, .hd1-cijfers > summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--zee-licht); color: var(--zee-donker); display: grid; place-items: center; font-size: 1.1rem; line-height: 1; }
.hd1-hulp details[open] summary::after, .hd1-cijfers[open] > summary::after { content: "\2212"; }
.hd1-hulp details[open] summary, .hd1-cijfers[open] > summary { border-bottom: 1px solid var(--rand); }
.hd1-hulp details > :not(summary) { margin: 10px 14px 12px; }
.hd1-hulp ol { padding-left: 20px; }
.hd1-hulp li { margin-bottom: 4px; }
.hd1-offline { display: flex; align-items: center; gap: 6px; margin: 0 0 22px; }
.hd1-cijfers > summary .hint { font-weight: 400; margin-left: 4px; }

.hd1-cijfers { margin: 0 0 18px; }
.hd1-cijfers-in { padding: 4px 14px 12px; }
.hd1-cijfers h3 { font-size: 1rem; margin: 12px 0 8px; }
.hd1-perdienst { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hd1-perdienst li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 32px; gap: 8px; align-items: center; font-size: .88rem; }
.hd1-perdienst-balk { height: 14px; background: var(--zand); border-radius: 0 4px 4px 0; }
.hd1-perdienst-balk span { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.hd1-perdienst-n { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hd1-maanden { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; align-items: end; height: 140px; }
.hd1-maanden li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0; }
.hd1-maand-stapel { display: flex; flex-direction: column; gap: 2px; width: 100%; max-width: 28px; max-height: calc(100% - 18px); min-height: 2px; }
.hd1-maand-stapel span { display: block; min-height: 2px; }
.hd1-maand-stapel span:first-child { border-radius: 4px 4px 0 0; }
.hd1-maand-naam { font-size: .68rem; color: var(--tekst-zacht); line-height: 1.6; white-space: nowrap; }
.hd1-tabel { margin-top: 12px; font-size: .88rem; }
.hd1-tabel summary { cursor: pointer; color: var(--zee); font-weight: 600; min-height: 36px; display: flex; align-items: center; }
.hd1-tabel-schuif { overflow-x: auto; }
.hd1-tabel table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.hd1-tabel th, .hd1-tabel td { padding: 4px 8px; border-bottom: 1px solid var(--rand); text-align: right; white-space: nowrap; }
.hd1-tabel th:first-child { text-align: left; }

.hd1-preventie { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--zee-licht); border-radius: var(--radius); overflow: hidden; padding-right: 14px; margin: 0 0 16px; text-decoration: none; color: var(--tekst); }
.hd1-preventie img { width: 100%; height: 100%; min-height: 84px; object-fit: cover; }
.hd1-preventie span { padding: 10px 0; font-size: .92rem; }
.hd1-preventie strong { display: block; color: var(--zee-donker); font-size: 1rem; }
.hd1-preventie > .ic { color: var(--zee); }
.hd1-preventie:hover strong { text-decoration: underline; }
@media (min-width: 560px) { .hd1-preventie { grid-template-columns: 140px minmax(0, 1fr) auto; } }

.blok-112 { padding-top: 12px; padding-bottom: 0; }
.hd1-strook { display: flex; flex-wrap: wrap; align-items: stretch; background: var(--wit); border: 1px solid var(--rand); border-left: 5px solid var(--hd1); border-radius: var(--radius-s); overflow: hidden; margin: 0 0 16px; box-shadow: var(--schaduw); }
.hd1-strook-in { flex: 1 1 260px; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; text-decoration: none; color: var(--tekst); min-width: 0; }
.hd1-strook-in picture { display: block; height: 100%; }
.hd1-strook-plaatje { width: 100%; height: 100%; min-height: 64px; object-fit: cover; }
.hd1-strook-tekst { display: flex; flex-direction: column; gap: 1px; padding: 8px 8px 8px 0; min-width: 0; }
.hd1-strook-titel { font-weight: 700; color: var(--zee-donker); overflow-wrap: anywhere; }
.hd1-strook-in:hover .hd1-strook-titel { text-decoration: underline; }
.hd1-strook-meer { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: .86rem; font-weight: 600; white-space: nowrap; align-self: center; }
.hd1-strook.is-rustig { box-shadow: none; border-left-width: 3px; margin-bottom: 8px; }
.hd1-strook.is-rustig .hd1-strook-in { grid-template-columns: 56px minmax(0, 1fr); }
.hd1-strook.is-rustig .hd1-strook-plaatje { min-height: 40px; max-height: 48px; }
.hd1-strook.is-rustig .hd1-strook-titel { font-weight: 600; font-size: .92rem; }

@media (prefers-reduced-motion: reduce) {
  .hd1-staaf, .hd1-dienst, .hd1-kaart, .hd1-stip circle { transition: none; }
  .hd1-dienst:hover { transform: none; }
  .hd1-stip-golf { animation: none; display: none; }
}
