*{box-sizing:border-box} [hidden]{display:none!important}
:root{--blue:#00468c;--navy:#09315c;--orange:#b65c22;--muted:#586b7d;--line:#dce4ed}
body{margin:0;background:#f5f7fa;color:#223a50;font:16px/1.65 'Lato',Arial,sans-serif}
a{color:var(--blue);text-underline-offset:4px} button,input,select{font:inherit} button,a,input,select{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #cf7030;outline-offset:4px}
.skip-link{position:absolute;left:20px;top:-100px;z-index:10;background:#fff;padding:12px}.skip-link:focus{top:12px}
.church-container{width:min(1180px,calc(100% - 48px));margin:auto}
.church-header{min-height:110px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:12px max(24px,calc((100vw - 1180px)/2));border-bottom:1px solid var(--line)}
.church-header img{display:block;object-fit:contain;max-width:100%}.church-header nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 26px}.church-header nav a{font-weight:700;text-decoration:none;font-size:14px}.church-header nav a[aria-current]{color:var(--orange);text-decoration:underline}
.church-hero{background:var(--navy);color:#fff;padding:64px 0 86px;border-bottom:5px solid #cf7030}
.eyebrow{font-size:12px;text-transform:uppercase;font-weight:700;letter-spacing:1.6px;color:var(--orange);margin:0 0 12px}.church-hero .eyebrow{color:#f3b67f}
.church-hero h1{font-size:clamp(30px,4.1vw,49px);line-height:1.17;letter-spacing:-1px;margin:0 0 24px;max-width:900px}.church-hero p:last-child{max-width:760px;font-size:18px;line-height:1.75;margin:0;color:#e2ebf6}
.church-directory{padding-bottom:60px}.church-filters{position:relative;margin-top:-32px;padding:28px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 35px #09315c0d;display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px}
.church-filters label{display:block;font-size:13px;font-weight:700;margin-bottom:8px}.church-filters input,.church-filters select{width:100%;height:50px;padding:0 12px;background:#fff;color:#223a50;border:1px solid #afbdcc;border-radius:5px;min-width:0}.church-filters input::placeholder{color:#6a7785}
.church-filter-actions{grid-column:1/-1;display:flex;gap:12px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 20px;border-radius:6px;border:1px solid var(--blue);text-decoration:none;font-weight:700;font-size:14px;cursor:pointer;line-height:1.5;text-align:center}.button-primary{background:var(--blue);color:#fff}.button-secondary{background:#fff;color:var(--blue)}.button:hover{box-shadow:0 3px 10px #00468c22}.button:disabled{cursor:wait;opacity:.65}
.church-location-hint{grid-column:1/-1;margin:-6px 0 0;font-size:13px;color:var(--muted)}.church-location-status,.church-notice{padding:16px 20px;background:#e9f1fa;border:1px solid #ccdeef;border-radius:8px;font-size:14px}.church-location-status[data-error]{background:#fff5e9;border-color:#efd3ae}
.church-results-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:44px 0 24px}.church-results-heading h2{font-size:28px;line-height:1.3;color:var(--navy);margin:0}.church-results-heading>p{color:var(--muted);font-size:14px;margin:0;white-space:nowrap}.church-coverage{font-size:13px;color:var(--muted);margin:-8px 0 24px}
.church-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.church-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:0 4px 18px #09315c05}.church-card-main{padding:24px 24px 0;flex:1}.church-card-region{color:var(--orange);font-weight:700;letter-spacing:.6px;text-transform:uppercase;font-size:10px;margin:0 0 10px}.church-card h3{color:var(--navy);font-size:21px;line-height:1.3;margin:0 0 16px}.church-card address{font-style:normal;font-size:14px;line-height:1.65;overflow-wrap:anywhere}.church-card-city{font-weight:700;margin-top:10px}.church-card-cep{color:var(--muted);font-size:13px;margin:4px 0 0}.church-distance{display:inline-block;background:#eaf3fc;color:var(--blue);border-radius:20px;font-size:12px;padding:4px 10px;margin:14px 0 0}.church-distance-note{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.church-pastor{display:flex;align-items:center;gap:12px;margin:22px 0 0;border-top:1px solid #edf0f4;padding-top:16px;font-size:13px}.church-pastor img{width:52px;height:66px;object-fit:cover;object-position:center 15%;border-radius:5px;background:#f6f6f6}.church-pastor p{margin:0}.church-pastor-label{font-size:11px;color:var(--muted)}.church-pastor-name{font-weight:700;line-height:1.4}.church-contact{font-size:12px;color:var(--muted);margin:16px 0 0}.church-contact a{display:inline-block;margin-right:12px;font-size:13px;font-weight:700}.church-card-actions{display:flex;gap:8px;padding:20px 24px 24px}.church-card-actions .button{flex:1;font-size:12px;min-height:42px;padding:8px}.church-review{font-size:11px;color:#85501f;margin:8px 0 0}
.church-empty{text-align:center;padding:48px 24px;background:#fff;border:1px dashed #afbdcc;border-radius:8px}.church-empty h3{color:var(--navy)}.church-more{text-align:center;margin-top:32px}.church-help{display:flex;align-items:center;justify-content:space-between;gap:28px;background:#e9eff6;padding:30px;border-radius:10px;margin-top:50px}.church-help h2{font-size:21px;color:var(--navy);line-height:1.3;margin:0 0 10px}.church-help p{font-size:14px;max-width:620px;margin:0}.church-help .button{flex-shrink:0}.church-source{color:var(--muted);font-size:12px;margin:28px 0 0}.church-footer{text-align:center;border-top:1px solid var(--line);background:#fff;padding:30px 24px;font-size:13px}.church-footer>a:first-child{font-size:20px;font-weight:700;text-decoration:none}.church-footer p{margin:8px 0}
@media(max-width:1000px){.church-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.church-filters{grid-template-columns:1fr 1fr}.church-search{grid-column:1/-1}.church-help{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.church-container{width:calc(100% - 32px)}.church-header{align-items:flex-start;gap:14px;padding:16px;flex-direction:column}.church-header img{width:120px;height:72px}.church-header nav{justify-content:flex-start;gap:10px 18px}.church-header nav a{font-size:13px}.church-hero{padding:40px 0 60px}.church-hero h1{font-size:29px;letter-spacing:-.5px}.church-hero p:last-child{font-size:16px}.church-filters{padding:20px;gap:16px;grid-template-columns:1fr}.church-search{grid-column:auto}.church-filter-actions{flex-direction:column}.church-filters select{font-size:16px}.church-results-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-top:32px}.church-results-heading h2{font-size:25px}.church-grid{grid-template-columns:1fr}.church-help{padding:24px}.church-help .button{width:100%}.church-card-main{padding:22px 22px 0}.church-card-actions{padding:20px 22px 22px}}
