.parish-directory-page,
.parish-profile-page{background:#faf9f7}

.parish-directory-hero,
.parish-profile-heading{padding:57px 0 64px;background:linear-gradient(180deg,#fbfaf8,#f1f0ee);border-bottom:1px solid #e5e3df}
.parish-directory-hero .wrap,
.parish-profile-heading .wrap{max-width:1070px}
.parish-directory-hero .breadcrumb,
.parish-profile-heading .breadcrumb{color:#77736d;font-size:9px}
.parish-directory-hero h1,
.parish-profile-heading h1{margin:14px 0 9px;color:#202020;font:600 clamp(38px,5.3vw,58px)/1.07 var(--serif);letter-spacing:-.045em}
.parish-directory-hero h1 em,
.parish-profile-heading h1 em{font-weight:500}
.parish-directory-hero p,
.parish-profile-heading p{max-width:700px;margin:0;color:#77736d;font-size:13px;line-height:1.75}
.parish-directory{max-width:1070px;padding-top:74px;padding-bottom:72px}
.parish-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.parish-directory-card{position:relative;display:flex;min-height:250px;flex-direction:column;align-items:flex-start;overflow:hidden;padding:28px;border:1px solid #deddda;border-radius:17px;background:#fff;box-shadow:0 10px 24px rgba(25,33,45,.035);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.parish-directory-card:hover{transform:translateY(-3px);border-color:#c5b88f;box-shadow:0 16px 32px rgba(25,33,45,.08)}
.parish-directory-watermark{position:absolute;top:4px;right:13px;color:rgba(31,54,91,.055);font:160px/1 Georgia,serif;pointer-events:none}
.parish-directory-labels{position:relative;z-index:1;display:flex;align-items:center;gap:8px;min-height:22px}
.parish-directory-labels>span:first-child{padding:5px 9px;border-radius:999px;background:#f0f0ef;color:#565656;font:800 8px var(--ui);letter-spacing:.1em;text-transform:uppercase}
.parish-directory-labels .parish-status-chip{font-size:8px}
.parish-directory-card h2{position:relative;z-index:1;margin:13px 0 8px;color:#232323;font:600 clamp(21px,2.4vw,27px)/1.2 var(--serif);letter-spacing:-.025em}
.parish-directory-card h2 a{color:inherit;text-decoration:none}
.parish-directory-card h2 a:hover{color:var(--wine2)}
.parish-directory-card>p{position:relative;z-index:1;max-width:92%;margin:0 0 14px;color:#77736d;font-size:11px;line-height:1.75}
.parish-directory-card .parish-directory-status{margin:0 0 12px;color:#725e5e}
.parish-directory-button{position:relative;z-index:1;display:inline-flex;align-items:center;gap:9px;margin-top:auto;padding:10px 16px;border:1px solid #8a8985;border-radius:999px;color:#292929;text-decoration:none;font:800 8px var(--ui);letter-spacing:.08em;text-transform:uppercase;transition:background .18s ease,color .18s ease,border-color .18s ease}
.parish-directory-button:hover{border-color:var(--wine);background:var(--wine);color:#fff}

.parish-profile-heading{padding-top:47px;padding-bottom:58px}
.parish-profile-heading h1{font-size:clamp(39px,5.2vw,58px)}
.parish-profile-heading .parish-status-chip{display:inline-flex;margin-top:13px}
.parish-profile-content{max-width:1070px;padding-top:55px;padding-bottom:70px}
.parish-profile-nav{display:flex;gap:8px;overflow-x:auto;margin:0 0 26px;padding:0 0 8px}
.parish-profile-nav a{flex:0 0 auto;padding:9px 13px;border:1px solid #deddda;border-radius:999px;background:#fff;color:#4b4b4b;font-size:11px;text-decoration:none}
.parish-profile-nav a:hover{border-color:#b59b62;color:#6b5425}
.parish-profile-layout{display:grid;grid-template-columns:minmax(230px,.72fr) minmax(0,1.35fr);gap:38px;align-items:start}
.parish-profile-aside{min-height:330px;padding:28px 25px;border:1px solid #deddda;border-radius:17px;background:linear-gradient(155deg,#f8f8f7,#efefee)}
.parish-profile-facts{display:grid}
.parish-profile-fact{display:grid;gap:5px;padding:13px 0;border-top:1px solid #dcdad6}
.parish-profile-fact:first-child{margin-top:12px}
.parish-profile-fact span{color:#82807b;font:700 8px var(--ui);letter-spacing:.12em;text-transform:uppercase}
.parish-profile-fact strong,
.parish-profile-fact a{color:#2c2c2c;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.parish-profile-fact a{text-decoration:none}
.parish-profile-fact a:hover{text-decoration:underline}
.parish-profile-status{padding:10px 12px;border-left:3px solid #b59b62;border-radius:0 8px 8px 0;background:#f3efe6;color:#625537;font-size:11px;line-height:1.6}
.parish-profile-button{display:block;margin-top:9px;padding:11px 15px;border:1px solid var(--wine);border-radius:999px;background:var(--wine);color:white;text-align:center;text-decoration:none;font:800 8px var(--ui);letter-spacing:.1em;text-transform:uppercase}
.parish-profile-button:hover{background:var(--wine2)}
.parish-profile-button.is-secondary{background:transparent;color:var(--wine)}
.parish-profile-button.is-secondary:hover{background:var(--wine);color:#fff}
.parish-profile-main{min-width:0}
.parish-profile-story{padding:8px 0 20px}
.parish-profile-story .kicker{color:#77736d}
.parish-profile-story h2,
.parish-profile-gallery-heading h2{margin:7px 0 5px;color:#202020;font:600 clamp(34px,4vw,45px)/1.08 var(--serif);letter-spacing:-.04em}
.parish-profile-story h2 em,
.parish-profile-gallery-heading h2 em{font-weight:500}
.parish-profile-story>p{margin:0 0 17px;color:#5e5e5b;font-size:13px;line-height:1.9}
.parish-profile-story h3{margin:22px 0 6px;color:#292929;font:500 17px var(--serif)}
.parish-profile-clergy{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:9px}
.parish-profile-clergy a{display:grid;gap:4px;padding:12px;border:1px solid #e2e0dc;border-radius:10px;background:#fff;color:#343434;text-decoration:none}
.parish-profile-clergy a span{color:#77736d;font-size:10px}
.parish-profile-schedule{display:grid}
.parish-profile-schedule>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid #e5e3df;font-size:12px}
.parish-profile-schedule>div span{color:#77736d}
.parish-profile-schedule>div strong{text-align:right;color:#343434}
.parish-profile-gallery-section{margin-top:18px}
.parish-profile-gallery-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px}
.parish-profile-gallery-heading h2{font-size:clamp(30px,3.8vw,42px)}
.parish-profile-gallery-heading>p{margin:0 0 5px;color:#85827d;font-size:10px}
.parish-gallery-window{position:relative;overflow:hidden;border-radius:16px;background:#252525;box-shadow:0 16px 38px rgba(0,0,0,.12)}
.parish-gallery-track{display:flex;width:100%;transition:transform .38s ease}
.parish-gallery-slide{flex:0 0 100%;min-width:0;aspect-ratio:16/8.5}
.parish-gallery-slide img{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1)}
.parish-gallery-arrow{position:absolute;top:50%;display:grid;width:38px;height:38px;place-items:center;transform:translateY(-50%);border:1px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(23,28,34,.5);color:white;font-size:18px;cursor:pointer}
.parish-gallery-arrow:hover{background:var(--wine)}
.parish-gallery-arrow.is-prev{left:13px}
.parish-gallery-arrow.is-next{right:13px}
.parish-gallery-dots{position:absolute;right:0;bottom:12px;left:0;display:flex;justify-content:center;gap:6px}
.parish-gallery-dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.48);cursor:pointer}
.parish-gallery-dots button.active{background:#fff}
.parish-gallery-empty{display:grid;min-height:240px;place-items:center;border:1px dashed #cfccc5;border-radius:16px;background:#f2f1ef;color:#77736d;font-size:12px;text-align:center}
.parish-profile-back{display:inline-block;margin-top:28px;color:var(--wine);font-size:11px;text-decoration:none}
.parish-profile-back:hover{text-decoration:underline}

@media(max-width:760px){
  .parish-directory-hero,.parish-profile-heading{padding:38px 0 42px}
  .parish-directory{padding-top:38px;padding-bottom:46px}
  .parish-directory-grid{grid-template-columns:1fr}
  .parish-directory-card{min-height:220px;padding:23px}
  .parish-profile-content{padding-top:34px;padding-bottom:48px}
  .parish-profile-layout{grid-template-columns:1fr;gap:22px}
  .parish-profile-aside{min-height:0}
  .parish-profile-gallery-heading{align-items:flex-start;flex-direction:column;gap:4px}
  .parish-gallery-slide{aspect-ratio:4/3}
}
@media(prefers-reduced-motion:reduce){
  .parish-directory-card,.parish-gallery-track,.parish-directory-button{transition:none}
}
