/* Project 400 v2.0.3 — concise final parish profile. Other site pages are untouched. */
.p400-v203-single .p400-parish-profile{max-width:1200px;margin-inline:auto;padding-top:clamp(24px,3vw,38px);padding-bottom:58px;}
.p400-v203-introduction{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:clamp(18px,2.5vw,32px);margin:0 0 35px;}
.p400-v203-introduction:has(.p400-v203-main-image):not(:has(.p400-v203-description)){grid-template-columns:minmax(0,1fr);max-width:690px;}
.p400-v203-introduction:has(.p400-v203-description):not(:has(.p400-v203-main-image)){grid-template-columns:minmax(0,1fr);}
.p400-v203-main-image{margin:0;width:100%;aspect-ratio:16/10;border-radius:15px;overflow:hidden;background:#f3ede5;}
@media(min-width:901px){.p400-v203-introduction:has(.p400-v203-main-image):has(.p400-v203-description) .p400-v203-main-image{height:100%;aspect-ratio:auto;min-height:290px;max-height:390px;}}
.p400-v203-main-image img{display:block;width:100%;height:100%;object-fit:cover;}
.p400-v203-description{box-sizing:border-box;min-width:0;min-height:0;max-height:390px;display:flex;flex-direction:column;justify-content:center;align-self:stretch;padding:clamp(14px,2vw,26px);background:#fff;border:1px solid #ebdfd5;border-radius:15px;overflow:hidden;}
.p400-v203-description h2{font:700 clamp(1.5rem,2.2vw,2rem)/1.18 Georgia,serif;color:#4e1111;margin:0 0 14px;}
.p400-v203-description p{font-size:clamp(.94rem,1.1vw,1.05rem);line-height:1.65;color:#433936;margin:0;max-width:none!important;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8;overflow:hidden;}
.p400-v203-information{padding-top:clamp(14px,2vw,22px);padding-bottom:clamp(22px,3vw,35px);border-top:1px solid #e8dcd3;}
.p400-v203-information h2,.p400-v203-related h2{font:700 clamp(1.45rem,2.4vw,1.95rem)/1.2 Georgia,serif;color:#4e1111;margin:0 0 17px;}
.p400-v203-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:14px;align-items:stretch;}
.p400-v203-info-card{background:#fff;border:1px solid #eaded5;border-radius:12px;padding:18px 19px;min-width:0;overflow-wrap:anywhere;}
.p400-v203-info-card h3{font-size:.77rem;letter-spacing:.02em;font-weight:750;color:#7a1f1f;margin:0 0 9px;}
.p400-v203-info-card p{font-size:.96rem;line-height:1.5;margin:0 0 6px;max-width:none!important;}
.p400-v203-info-card a,.p400-v203-action{color:#721a21;font-weight:700;text-decoration:underline;text-underline-offset:2px;}
.p400-v203-info-masses p{display:flex;gap:8px;justify-content:space-between;align-items:baseline;}
.p400-v203-info-masses small{color:#695b57;font-size:.79rem;}
.p400-v203-info-card .p400-v203-action{margin-top:8px;}
.p400-v203-action{font:inherit;background:transparent;border:0;cursor:pointer;padding:0;min-height:32px;text-align:left;}
.p400-v203-action:focus-visible,.p400-v203-final-nav a:focus-visible,.p400-v203-dialog button:focus-visible{outline:3px solid #bb9a47;outline-offset:3px;}
.p400-v203-single .p400-parish-panel{border-top:1px solid #e8dcd3;padding:25px 0;}
.p400-v203-single .p400-parish-panel .p400-parish-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.p400-v203-single .p400-parish-panel h2{margin-bottom:16px;}
.p400-v203-related{border-top:1px solid #e8dcd3;padding:26px 0;}
.p400-v203-albums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;}
.p400-v203-album-card{background:#fff;border:1px solid #e9ddd4;border-radius:12px;overflow:hidden;text-align:left;cursor:pointer;color:#4e1111;padding:0;display:flex;flex-direction:column;min-width:0;font:inherit;}
.p400-v203-album-card img{width:100%;height:160px;object-fit:cover;display:block;}
.p400-v203-album-card span{font:700 1.06rem/1.35 Georgia,serif;padding:12px 13px 2px;}
.p400-v203-album-card small{color:#746863;padding:4px 13px 14px;}
.p400-v203-album-card:hover{border-color:#c5ad66;box-shadow:0 7px 20px rgba(58,19,15,.08);}
.p400-v203-final-nav{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;border-top:1px solid #e8dcd3;margin-top:12px;padding-top:24px;}
.p400-v203-final-nav a{color:#711824;font-weight:700;text-decoration:underline;}
.p400-v203-stations-action{background:#f6eee8;border-radius:30px;text-decoration:none;padding:9px 15px;}
/* Native dialog: keyboard-focusable, escapeable, return focus to invoking button. */
.p400-v203-dialog{border:0;border-radius:16px;width:min(720px,calc(100% - 28px));max-height:min(88dvh,850px);padding:0;background:#fff;color:#342522;box-shadow:0 24px 65px #260e0c70;overflow:hidden;}
.p400-v203-dialog::backdrop{background:rgba(30,14,16,.65);}
.p400-v203-dialog[open]{display:flex;flex-direction:column;}
.p400-v203-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;background:#4e1111;color:#fff;}
.p400-v203-dialog-head h2{font:700 clamp(1.3rem,2vw,1.8rem)/1.2 Georgia,serif;color:#fff;margin:0;}
.p400-v203-dialog-head button{background:#fff;color:#4e1111;font-size:1.5rem;line-height:1;width:38px;height:38px;border:0;border-radius:50%;cursor:pointer;flex:none;}
.p400-v203-dialog-body{overflow-y:auto;padding:19px 22px 24px;min-height:0;overscroll-behavior:contain;}
.p400-v203-mass-list,.p400-v203-stations-list{list-style:none!important;padding:0!important;margin:0!important;}
.p400-v203-mass-list li{display:flex;justify-content:space-between;gap:10px;padding:15px 0;border-bottom:1px solid #e7dcd5;}
.p400-v203-mass-list li>div{display:flex;flex-direction:column;gap:4px;min-width:0;}
.p400-v203-mass-list li>div:last-child{text-align:right;}
.p400-v203-mass-list strong{color:#4e1111;font-size:.98rem;}
.p400-v203-mass-list span{color:#5f5651;font-size:.88rem;}
.p400-v203-stations-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.p400-v203-stations-list li{background:#f9f5ef;border:1px solid #eee1d7;border-radius:10px;padding:13px;font-weight:650;}
.p400-v203-stations-list small{display:block;margin-top:5px;color:#695a54;font-weight:400;}
.p400-v203-photo-grid[hidden],.p400-v203-photo-stage[hidden]{display:none!important;}
.p400-v203-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.p400-v203-photo{padding:0;border:0;background:transparent;border-radius:8px;overflow:hidden;cursor:zoom-in;aspect-ratio:1;}
.p400-v203-photo img{display:block;width:100%;height:100%;object-fit:cover;}
.p400-v203-photo-stage{text-align:center;}
.p400-v203-photo-stage img{display:block;max-height:60dvh;max-width:100%;width:auto;height:auto;margin:0 auto 14px;object-fit:contain;}
.p400-v203-photo-stage button{background:#6d1721;color:#fff;border:0;border-radius:8px;padding:11px 15px;cursor:pointer;font-weight:650;}
@media(min-width:760px){.p400-v203-introduction:has(.p400-v203-main-image):has(.p400-v203-description) .p400-v203-description{height:100%;}.p400-v203-introduction:has(.p400-v203-main-image):has(.p400-v203-description){aspect-ratio:auto;}.p400-v203-introduction .p400-v203-main-image{align-self:stretch;}}
@media(max-width:900px){.p400-v203-single .p400-parish-panel .p400-parish-mini-grid,.p400-v203-albums{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:900px){.p400-v203-introduction{grid-template-columns:minmax(0,1fr)!important;gap:12px;}.p400-v203-main-image{aspect-ratio:16/9;}.p400-v203-description{padding:19px;max-height:none;}.p400-v203-description p{display:block;overflow:visible;}.p400-v203-stations-list{grid-template-columns:minmax(0,1fr);}}
@media(max-width:540px){.p400-v203-info-grid,.p400-v203-single .p400-parish-panel .p400-parish-mini-grid,.p400-v203-albums{grid-template-columns:minmax(0,1fr);}.p400-v203-dialog-head{padding:15px;}.p400-v203-dialog-body{padding:16px;}.p400-v203-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.p400-v203-mass-list li{gap:16px;}.p400-v203-mass-list li>div:last-child{max-width:57%;}.p400-v203-album-card img{height:195px;}}

/* Project 400 v2.1.5 — parish-owned outstations and complete contact details. */
.p400-v215-image-wrap{position:relative;isolation:isolate;}
.p400-v215-image-wrap::after{content:"";pointer-events:none;position:absolute;inset:auto 0 0;height:31%;background:linear-gradient(0deg,rgba(31,12,12,.52),transparent);z-index:0;}
.p400-v215-mass-button{appearance:none;display:inline-flex;align-items:center;gap:9px;position:absolute;z-index:2;bottom:18px;left:18px;max-width:calc(100% - 36px);border:1px solid rgba(255,255,255,.6);border-radius:999px;padding:12px 18px;background:#6e171b;color:#fff;font-family:inherit;font-weight:700;font-size:.91rem;line-height:1.2;box-shadow:0 8px 24px #32100f55;cursor:pointer;text-align:left;}
.p400-v215-mass-button:hover,.p400-v215-mass-button:focus-visible{background:#521014;color:#fff;outline:3px solid #d7af56;outline-offset:3px;}
.p400-v215-mass-button>span{font-size:1.22em;line-height:1;}
.p400-v215-mass-inline{position:relative;bottom:auto;left:auto;max-width:100%;margin:0 0 12px;}
.p400-v215-outstations{border-top:1px solid #e8dcd3;padding:23px 0 26px;margin-top:4px;}
.p400-v215-outstations h2{font:700 clamp(1.4rem,2.3vw,1.95rem)/1.24 Georgia,serif;color:#4e1111;margin:0 0 14px;}
.p400-v215-station-chips{display:flex;flex-wrap:wrap;gap:9px 11px;align-items:center;}
.p400-v215-station-chip{display:inline-flex;align-items:center;max-width:100%;padding:10px 15px;border:1px solid #ddcfc0;border-radius:100px;background:#fff;color:#5d2222;font-size:.93rem;font-weight:650;line-height:1.3;cursor:default;user-select:text;overflow-wrap:anywhere;}
.p400-v203-info-grid{grid-template-columns:repeat(auto-fit,minmax(min(295px,100%),1fr));}
.p400-v203-info-card a{overflow-wrap:anywhere;}
.p400-v215-verified{font-size:.82rem;line-height:1.5;color:#655650;margin:15px 0 0;}
@media(max-width:540px){.p400-v215-mass-button{padding:10px 14px;bottom:12px;left:12px;max-width:calc(100% - 24px);font-size:.83rem;}.p400-v215-mass-inline{bottom:auto;left:auto;}.p400-v215-outstations{padding:20px 0;}.p400-v215-station-chip{padding:9px 13px;}}
