/* Scoped gemeente modules, R1 #14609; the shared collection remains unchanged. */
.hmg-stories-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.hmg-search{margin:56px 0;padding-top:28px;border-top:1px solid #d9d8cd}.hmg-card-text{position:relative;padding:26px;background:#e8eddf;border-top:4px solid #71865a;min-height:270px;display:flex;flex-direction:column;justify-content:flex-start}.hmg-card-text:before{content:'↗';font:34px/1 system-ui,sans-serif;color:#57723f;margin-bottom:16px}.hmg-card-text h3{margin:0 0 16px}.hmg-card-text p:last-child{margin-top:auto;margin-bottom:0}.hmg-card-text a{font:14px/1.5 system-ui,sans-serif}
.hmg-map-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;align-items:start}.hmg-map-art,.hmg-map-kernen{min-width:0}.hmg-map-art figure{width:100%;max-width:none}.hmg-map-art img{width:100%;height:auto;max-height:none;object-fit:contain;background:#e7efec}.hmg-map-kernen{background:#e4eee3;padding:24px;border-top:4px solid #47746a}.hmg-map-kernen h3{margin:0 0 18px}.hmg-map-kernen ul,.hmg-dark ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0 0 24px;padding:0}.hmg-map-kernen li{padding:5px 10px;background:#fff;border:1px solid #b7c8b2;font:14px/1.5 system-ui,sans-serif}.hmg-route-actions{display:flex;flex-wrap:wrap;gap:10px}.hmg-route-actions p{margin:0}.hmg-route-actions a{display:inline-block;padding:10px 14px;background:#244c3b;color:#fff;text-decoration:none;border-radius:2px;font:14px/1.5 system-ui,sans-serif}
.hmg-theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hmg-theme-card{padding:24px;background:#e5eddf;border-top:4px solid #698354}.hmg-theme-card:before{content:'✦';font:30px/1 system-ui,sans-serif;color:#56703c}.hmg-theme-card h3{margin:18px 0 12px}.hmg-theme-card p{font-size:16px}.hmg-theme-card p:last-child{margin-bottom:0}.hmg-theme-heritage{background:#f2e5ce;border-color:#a5824a}.hmg-theme-region{background:#f0ddd5;border-color:#a3664b}
.hmg-day-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.hmg-day-stop{padding:24px;background:#fff;border-top:3px solid #c39c74}.hmg-day-stop>p:first-child{font:32px/1 Georgia,serif;color:#9a6540;margin-bottom:20px}.hmg-day-stop p{font-size:16px}.hmg-day-stop p:last-child{margin-bottom:0}
.hmg-dark{padding:32px;border:0}.hmg-dark h2{margin:18px 0}.hmg-dark>p:first-child{font:13px/1.5 system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#d7e4cb}.hmg-dark li{padding:5px 10px;background:#335146;font:15px/1.5 system-ui,sans-serif}.hmg-dark a{color:#fff}.hmg-dark>p:last-child{margin-bottom:0}
.hmg-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.hmg-metric{padding:20px 16px;background:#f3e9d8;border-top:3px solid #ab8b5b;min-width:0}.hmg-metric p{font:14px/1.5 system-ui,sans-serif;margin:0 0 14px}.hmg-metric p:last-child{margin:0}.hmg-metric strong{font:clamp(28px,3vw,42px)/1.2 Georgia,serif;letter-spacing:-.04em;font-weight:400}.hmg-facts>p{font:14px/1.5 system-ui,sans-serif}
.hmg-more ul,.hmg-station-list ul,.hmg-sources ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hmg-more li,.hmg-station-list li{padding:16px 18px;background:#fff5e6;border-left:3px solid #b4915a;display:flex;align-items:center;min-width:0}.hmg-more li a,.hmg-station-list li a{font:16px/1.5 system-ui,sans-serif;display:block;width:100%;text-decoration:none}.hmg-more li a:after{content:' ↗';color:#936430}.hmg-station-list li{background:#e6eee4;border-color:#6b875d}.hmg-station-list{margin-top:20px}.hmg-sources ul{gap:0 24px}.hmg-sources li{padding:10px 0;border-bottom:1px solid #d9d8cd}
.hmg-search .wp-block-search__label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.hmg-page .wp-block-search__input{flex:1}.hmg-page :is(.hmg-map-layout,.hmg-theme-grid,.hmg-day-grid,.hmg-metrics)>*{margin:0!important}.hmg-page footer>.mm-colophon-link{display:block;margin-top:12px}.hmg-page footer>a{line-height:1.7}
@media(max-width:850px){.hmg-map-layout,.hmg-theme-grid{grid-template-columns:1fr}.hmg-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hmg-more ul,.hmg-station-list ul,.hmg-sources ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.hmg-day-grid{grid-template-columns:1fr}.hmg-dark{padding:22px}.hmg-search{margin:36px 0}.hmg-card-text{min-height:250px;padding:22px}.hmg-more ul,.hmg-station-list ul,.hmg-sources ul{grid-template-columns:1fr}.hmg-metric{padding:16px 12px}.hmg-metric strong{font-size:28px}}

/* Scoped integration: vendor owns the map; E/B own the collection. */
.hmg-map-art{min-width:0}.hmg-map-art .gk-kaart{margin:0;width:100%;box-sizing:border-box}.hmg-map-art .gk-groepen{flex-wrap:wrap}


/* Classic-theme core/group wrappers must not become grid/flex items. */
.hmg-page .wp-block-group__inner-container{display:contents}
.hmg-page main .hmg-map{scroll-margin-top:72px}
