.sco-worship-directory{max-width:1200px;margin:0 auto;color:#253e31}.sco-worship-heading h2{margin-bottom:5px}.sco-worship-heading p{margin:0 0 12px;color:#506758}.sco-worship-controls{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.sco-worship-controls label{flex:1 1 185px;font-size:13px;font-weight:600}.sco-worship-controls input,.sco-worship-controls select{display:block;width:100%;padding:10px;border:1px solid #bdcfc2;border-radius:7px;background:#fff}.sco-worship-map{width:100%;height:350px;min-height:240px;border:1px solid #d5e4d7;border-radius:9px;margin:12px 0 8px}.sco-worship-map-note{font-size:13px;color:#5f7465}.sco-worship-count{font-weight:700;margin:13px 0}.sco-worship-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}.sco-worship-card{border:1px solid #d4e2d8;border-radius:10px;background:#fff;padding:16px}.sco-worship-card[hidden],.sco-worship-directory [hidden]{display:none!important}.sco-worship-card h3{font-size:18px;line-height:1.3;margin:0 0 8px}.sco-worship-card p{font-size:14px;margin:7px 0}.sco-worship-meta{color:#51755f;font-weight:700}.sco-worship-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:13px}.sco-worship-links a{font-size:14px;text-decoration:underline;color:#185235}
.sco-worship-card-image{width:100%;aspect-ratio:16/9;overflow:hidden;margin:0 0 12px;border-radius:7px;background:#e9eee9}.sco-worship-card-image img{display:block;width:100%;height:100%;object-fit:cover}.sco-worship-card{overflow:hidden}

/* Bundled denomination illustrations are artwork, not photos of the actual location. */
.sco-worship-card-image-fallback{position:relative}
.sco-worship-art-label{position:absolute;bottom:8px;left:8px;padding:4px 7px;border-radius:4px;background:rgba(14,30,28,.78);color:#fff;font:600 11px/1.2 Arial,sans-serif;letter-spacing:.01em;pointer-events:none}

/* v0.0.286: Canton-first interactive church directory map. */
.sco-worship-view-controls{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 12px}
.sco-worship-view-button{border:1px solid #91ac98;background:#fff;color:#255941;border-radius:8px;padding:9px 13px;font-family:inherit;font-size:14px;font-weight:600;line-height:1.3;cursor:pointer}
.sco-worship-view-button.is-active,.sco-worship-view-button[aria-pressed="true"]{background:#214e37;color:#fff;border-color:#214e37}
.sco-worship-view-button:focus-visible,.sco-worship-map-actions button:focus-visible,.sco-worship-card-map-button:focus-visible{outline:3px solid #da9539;outline-offset:3px}
.sco-worship-map-section[hidden],.sco-worship-grid[hidden]{display:none!important}
.sco-worship-map-actions{display:flex;justify-content:space-between;align-items:center;gap:8px 14px;flex-wrap:wrap;margin:10px 0 8px}
.sco-worship-map-actions p{margin:0;font-size:14px;font-weight:700;color:#28523d}
.sco-worship-map-actions button{background:#fff;border:1px solid #98b09e;border-radius:7px;padding:7px 10px;color:#214e37;font-weight:600;cursor:pointer}
.sco-worship-map{width:100%;height:440px;min-height:300px;border:1px solid #ccdacf;border-radius:12px;margin:0 0 9px;overflow:hidden;background:#e8f0e7}
.sco-worship-map-marker{width:42px;height:54px;display:block;cursor:pointer;filter:drop-shadow(0 1px 2px rgba(0,0,0,.25))}
.sco-worship-map-note{font-size:13px;color:#587065;margin:5px 0 12px}
.sco-worship-admin-map-hint{font-size:13px;padding:10px 12px;background:#f6f4ea;border:1px solid #e4dab9;border-radius:8px}
.sco-worship-admin-map-hint a{font-weight:700;color:#255941}
.sco-worship-card-map-button{background:transparent;border:0;padding:0;color:#185235;text-decoration:underline;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}
.sco-worship-popup{max-width:290px;min-width:215px;font-family:Arial,Helvetica,sans-serif!important;line-height:1.4;color:#23392d}
.sco-worship-popup-photo{display:block;width:100%;height:126px;object-fit:cover;border-radius:7px;margin:0 0 6px;background:#edf1ed}
.sco-worship-popup-art-label{display:block;font-size:10px;color:#646f68;margin:0 0 7px}
.sco-worship-popup strong{display:block;font-size:17px;line-height:1.3;margin:5px 0;color:#1b4731}
.sco-worship-popup-denomination{font-size:13px;font-weight:700;color:#57735c;margin:2px 0 7px}
.sco-worship-popup-address,.sco-worship-popup-service{font-size:13px;margin:6px 0;white-space:pre-line}
.sco-worship-popup-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.sco-worship-popup-actions a{display:inline-flex!important;margin:0!important;font-size:12px!important;padding:6px 8px;border-radius:5px;background:#eaf2e9;color:#24523b!important;text-decoration:none!important}
.sco-worship-popup-actions a:hover,.sco-worship-popup-actions a:focus-visible{background:#d9e9d8;text-decoration:underline!important}
@media(max-width:680px){.sco-worship-map{height:340px}.sco-worship-map-actions{align-items:flex-start}.sco-worship-map-actions>div{display:flex;gap:6px;flex-wrap:wrap}.sco-worship-view-button{flex:1 1 auto}}

/* v0.0.287: list view first; full-sized on-demand church-map dialog. */
.sco-worship-view-controls{margin:12px 0 16px}
.sco-worship-view-controls .is-active{cursor:default}
.sco-worship-map-unavailable{align-self:center;font-size:13px;color:#68796d}
.sco-worship-modal[hidden]{display:none!important}
.sco-worship-modal{position:fixed;inset:0;z-index:100000}
.sco-worship-modal-backdrop{position:absolute;inset:0;background:rgba(15,24,20,.58)}
.sco-worship-modal-dialog{position:relative;z-index:1;display:flex;flex-direction:column;width:min(1180px,calc(100vw - 30px));height:min(86vh,900px);margin:clamp(12px,4vh,34px) auto;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 16px 48px rgba(0,0,0,.28)}
.sco-worship-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #d7e0d5;background:#fbfcfb}
.sco-worship-modal-header h3{margin:0!important;font-size:clamp(20px,2vw,28px)!important;line-height:1.2!important;color:#204c39!important}
.sco-worship-modal-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border:1px solid #d7e0d5;border-radius:50%;background:#fff;color:#234a39;font-size:28px;line-height:1;cursor:pointer}
.sco-worship-modal-close:hover,.sco-worship-modal-close:focus-visible{background:#edf4ee;outline-offset:2px}
.sco-worship-modal-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;padding:10px 15px 15px}
.sco-worship-modal .sco-worship-map-section{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:7px}
.sco-worship-modal .sco-worship-map{flex:1 1 auto;height:auto;min-height:160px;margin:0}
.sco-worship-modal .sco-worship-map-note{margin:0 0 3px}
.sco-worship-modal .sco-worship-admin-map-hint{margin:0 0 3px}
html.sco-worship-modal-open,body.sco-worship-modal-open{overflow:hidden}
@media(max-width:700px){
 .sco-worship-modal-dialog{width:calc(100vw - 16px);height:min(92vh,900px);margin:8px auto;border-radius:14px}
 .sco-worship-modal-header{padding:10px 12px}
 .sco-worship-modal-body{padding:7px 8px 10px}
 .sco-worship-modal .sco-worship-map-actions{margin:3px 0;gap:4px}
 .sco-worship-modal .sco-worship-map{height:auto;min-height:170px}
}

/* v0.0.289: Match the rest of SCO. The shortcode may be embedded in an
   editor block that sets a monospace font; never inherit that typography. */
.sco-worship-directory{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:16px;
    line-height:1.5;
}
.sco-worship-directory .sco-worship-heading h2{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:clamp(26px,3.1vw,41px);
    font-weight:750;
    line-height:1.14;
    letter-spacing:normal;
    color:#193f2b;
    margin:0 0 9px;
}
.sco-worship-directory .sco-worship-heading p{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:15px;
    line-height:1.5;
    color:#455b4e;
    margin:0 0 13px;
}
.sco-worship-directory .sco-worship-controls label,
.sco-worship-directory .sco-worship-controls input,
.sco-worship-directory .sco-worship-controls select,
.sco-worship-directory .sco-worship-view-button,
.sco-worship-directory .sco-worship-count,
.sco-worship-directory .sco-worship-card h3,
.sco-worship-directory .sco-worship-card p,
.sco-worship-directory .sco-worship-card a,
.sco-worship-directory .sco-worship-card button,
.sco-worship-directory .sco-worship-modal-header h3,
.sco-worship-directory .sco-worship-modal-header button,
.sco-worship-directory .sco-worship-map-actions,
.sco-worship-directory .sco-worship-map-actions button,
.sco-worship-directory .sco-worship-map-note,
.sco-worship-directory .sco-worship-admin-map-hint,
.sco-worship-directory .sco-worship-popup{
    font-family:Arial,Helvetica,sans-serif!important;
    letter-spacing:normal;
}
.sco-worship-directory .sco-worship-controls label{font-size:13px;font-weight:650}
.sco-worship-directory .sco-worship-controls input,
.sco-worship-directory .sco-worship-controls select{font-size:15px}
.sco-worship-directory .sco-worship-card h3{font-weight:700;line-height:1.35}
.sco-worship-directory .sco-worship-modal-header h3{font-weight:700!important}
