.chdm-wrap{max-width:1100px;margin:1.5rem auto;color:inherit;font:inherit}.chdm-intro h2{margin:0 0 .4rem}.chdm-intro p{margin:.3rem 0 1.2rem}.chdm-controls{display:flex;align-items:end;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:.8rem}.chdm-controls label{display:grid;gap:.3rem;font-weight:600;flex:1;max-width:450px}.chdm-search{padding:.7rem .8rem;border:1px solid #b8c0c7;border-radius:7px;font:inherit;width:100%;background:#fff;color:#18242c}.chdm-count{font-size:.9rem}.chdm-map{height:460px;min-height:280px;width:100%;border:1px solid #d6dedb;border-radius:10px;overflow:hidden;z-index:0}.chdm-map-credit{font-size:.78rem;margin:.4rem 0 1.4rem;opacity:.8}.chdm-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:1rem}.chdm-card{padding:1rem;border:1px solid #d6dedb;border-radius:10px;background:#fff;color:#20342c;box-shadow:0 2px 8px rgba(0,0,0,.05)}.chdm-detail h3{font-size:1.13rem;margin:0 0 .55rem;color:#12543d}.chdm-detail p{font-size:.92rem;margin:.35rem 0;line-height:1.45}.chdm-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.8rem}.chdm-link{color:#08613f!important;text-decoration:underline;font-size:.88rem;font-weight:600}.chdm-show{margin-top:1rem;background:#12543d;color:#fff;border:0;border-radius:6px;padding:.55rem .8rem;cursor:pointer;font:inherit;font-size:.85rem}.chdm-show:hover,.chdm-show:focus{background:#0b3828}.chdm-empty{grid-column:1/-1}.chdm-pin-wrap{background:transparent;border:0}.chdm-pin{display:flex;align-items:center;justify-content:center;width:34px;height:34px;background:#fff;border:2px solid #b72331;border-radius:50%;font-size:20px;box-shadow:0 2px 7px #0005}.chdm-wrap .leaflet-popup-content{margin:13px 16px}.chdm-wrap .leaflet-popup-content-wrapper{border-radius:9px}@media(max-width:600px){.chdm-map{height:340px}.chdm-controls{display:block}.chdm-count{display:block;margin-top:.5rem}.chdm-card{padding:.85rem}.chdm-intro h2{font-size:1.4rem}}

/* v1.1: centered introduction, count above map */
.chdm-intro p{font-weight:700;text-align:center;margin:.3rem 0 .65rem;line-height:1.45}.chdm-controls{justify-content:flex-end;margin-bottom:.55rem}.chdm-count{margin-left:auto}

/* v1.2: center intro while aligning display count to the same row */
.chdm-topline{position:relative;display:flex;justify-content:center;align-items:center;min-height:2rem;margin:0 0 .55rem;padding:0 5.5rem}
.chdm-topline .chdm-intro p{margin:0;text-align:center;font-weight:700}
.chdm-topline .chdm-controls{position:absolute;right:0;top:50%;transform:translateY(-50%);margin:0;display:block}
.chdm-topline .chdm-count{display:block;margin:0;white-space:nowrap}
@media(max-width:600px){.chdm-topline{display:block;padding:0;margin-bottom:.5rem}.chdm-topline .chdm-controls{position:static;transform:none;text-align:right;margin-top:.25rem}.chdm-topline .chdm-intro p{text-align:center}}

/* v1.5: mobile map-first layout; attribution stays in Leaflet control. */
.chdm-map{margin-bottom:1rem}
@media(max-width:600px){
  .chdm-list{display:none}
  .chdm-map{height:clamp(380px,65vh,580px);min-height:380px;margin-bottom:0}
  .chdm-wrap .leaflet-popup-content{max-height:45vh;overflow-y:auto}
  .chdm-wrap .leaflet-control-attribution{font-size:10px;line-height:1.25}
}

/* v1.7: centered introduction and submission link; no display counter. */
.chdm-topline{display:block;min-height:0;padding:0;margin:0 0 .45rem}
.chdm-topline .chdm-intro{text-align:center}
.chdm-topline .chdm-intro p{margin:0;line-height:1.45;font-weight:700;text-align:center}
.chdm-topline .chdm-intro .chdm-submit-line{margin:.15rem 0 0}
.chdm-submit-line a{color:inherit!important;text-decoration:none!important;font-weight:700}
.chdm-submit-line a:hover,.chdm-submit-line a:focus-visible{text-decoration:underline!important}
@media(max-width:600px){.chdm-topline{margin-bottom:.5rem}}

/* v2.2.1: Reuse the theme's H5 visual treatment for the map submission link. */
.chdm-wrap .chdm-submit-line{font-size:1.25em;line-height:1.25;margin:.25rem 0 .35rem!important;text-align:center}
.chdm-wrap .chdm-submit-line a{color:#e00000!important;font-weight:700;text-decoration:none}
.chdm-wrap .chdm-submit-line a:hover,.chdm-wrap .chdm-submit-line a:focus-visible{text-decoration:underline!important}

/* v2.3: Compact directory cards with accessible expandable details. */
.chdm-card-buttons{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}
.chdm-card-buttons .chdm-show{margin-top:0}
.chdm-expanded[hidden]{display:none!important}
.chdm-expanded{margin-top:1rem;padding-top:.75rem;border-top:1px solid #d6dedb}
.chdm-expanded p{font-size:.92rem;margin:.35rem 0;line-height:1.45}
.chdm-hours{font-size:.92rem;line-height:1.45;margin:.4rem 0}
.chdm-hours-title{font-weight:600;margin-bottom:.2rem}
.chdm-hours-rows{display:grid;gap:.12rem}
.chdm-hours-row{padding-left:.65rem}
.chdm-detail .chdm-hours{font-size:.92rem}
