.cem-search,.cem-map-shell{font-family:inherit}.cem-search{background:#fff;border:1px solid #ddd;padding:16px;margin-bottom:16px}.cem-search-row{display:flex;gap:8px;margin-top:8px}.cem-search-row input{flex:1;min-width:0}.cem-search-row button,.cem-map-toolbar button{cursor:pointer}.cem-results{margin-top:10px}.cem-result{display:block;width:100%;text-align:left;border:1px solid #ddd;background:#fff;padding:10px;margin:6px 0;cursor:pointer}.cem-result:hover{background:#f5f8ff}.cem-result strong,.cem-result span{display:block}.cem-map-shell{border:1px solid #d5d5d5;background:#fff}.cem-map-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid #ddd}.cem-public-map-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.cem-public-map-viewport{height:70vh;min-height:450px;overflow:auto;background:#e5e7ea}.cem-map-stage{position:relative;width:100%;min-width:100%;line-height:0;background:#fff}.cem-map-stage>img{display:block;width:100%;height:auto}.cem-marker{position:absolute;transform:translate(-50%,-50%);width:var(--cem-marker-size,22px);height:var(--cem-marker-size,22px);border:2px solid #fff;border-radius:50%;box-shadow:0 1px 5px rgba(0,0,0,.5);cursor:pointer;z-index:5}.cem-marker span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;line-height:1;color:#fff;font-weight:700;font-size:clamp(7px,calc(var(--cem-marker-size,22px)*.42),12px);text-shadow:0 1px 2px rgba(0,0,0,.65);pointer-events:none}.cem-marker.cem-available{background:#20b15a}.cem-marker.cem-reserved{background:#f0ad00}.cem-marker.cem-occupied{background:#d63638}.cem-marker.cem-preneed{background:#2271b1}.cem-marker.cem-unavailable{background:#8c8f94}.cem-marker.cem-historical{background:#7e3fa1}.cem-marker.is-active{outline:3px solid rgba(34,113,177,.35);z-index:7}.cem-popup{position:absolute;z-index:20;min-width:210px;max-width:280px;background:#fff;border:1px solid #bbb;border-radius:7px;padding:14px;line-height:1.4;box-shadow:0 8px 24px rgba(0,0,0,.25)}.cem-popup:after{content:"";position:absolute;width:0;height:0;border:10px solid transparent}.cem-popup.arrow-right:after{left:-20px;top:calc(var(--cem-popup-arrow-y,30px) - 10px);border-right-color:#fff}.cem-popup.arrow-left:after{right:-20px;top:calc(var(--cem-popup-arrow-y,30px) - 10px);border-left-color:#fff}.cem-popup.arrow-bottom:after{top:-20px;left:calc(var(--cem-popup-arrow-x,30px) - 10px);border-bottom-color:#fff}.cem-popup.arrow-top:after{bottom:-20px;left:calc(var(--cem-popup-arrow-x,30px) - 10px);border-top-color:#fff}.cem-popup .cem-popup-close{position:absolute;right:7px;top:4px;border:0;background:none;font-size:22px;cursor:pointer}.cem-popup h3{margin:0 24px 5px 0;font-size:18px}.cem-popup p{margin:4px 0}.cem-legend{display:flex;gap:14px;flex-wrap:wrap;padding:10px 12px;border-top:1px solid #ddd}.cem-legend span{display:flex;align-items:center;gap:5px}.cem-legend i{width:10px;height:10px;border-radius:50%;display:inline-block}.cem-legend .available{background:#20b15a}.cem-legend .reserved{background:#f0ad00}.cem-legend .occupied{background:#d63638}.cem-legend .preneed{background:#2271b1}.cem-legend .historical{background:#7e3fa1}

.cem-popup-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}.cem-popup-gallery img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px}.cem-mobile-blocker{display:none}
@media (max-width:767px){.cem-mobile-blocker{display:flex;position:fixed;inset:0;z-index:2147483647;background:#050505;color:#fff;align-items:center;justify-content:center;text-align:center;padding:24px;box-sizing:border-box}.cem-mobile-blocker-card{max-width:360px}.cem-mobile-blocker h1{color:#fff;font-size:28px;margin:0 0 28px}.cem-mobile-blocker p{font-size:18px;line-height:1.55;margin:0 0 24px}.cem-mobile-phone{font-weight:600}.cem-mobile-home{display:inline-block;background:#fff;color:#111!important;text-decoration:none;padding:12px 22px;border-radius:4px;font-weight:700}.cem-search,.cem-map-shell{visibility:hidden}}

/* v1.8.7 — Public map full-browser-width layout.
   WordPress themes often constrain shortcode content to a narrow, centered
   column. Break the map (not the search form) out of that column, leaving
   a safe gutter on both sides of the actual browser viewport. */
@media (min-width: 768px) {
  .cem-map-shell.cem-multi-map-shell {
    box-sizing: border-box;
    width: calc(100vw - 32px) !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw + 16px) !important;
    margin-right: 0 !important;
  }
}
/* The JS sizes this to the unzoomed map image's rendered height, so at
   100% the whole image is laid out without clipping or stretching. At
   higher zoom levels this same area becomes an internally scrollable map. */
.cem-map-shell .cem-public-map-viewport { min-height: 0; }
