*{box-sizing:border-box}html{scroll-behavior:smooth}.rcu-page{margin:0;background:#f5f3ef;color:#253e50;font-family:var(--rainham-font, -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif);-webkit-font-smoothing:antialiased}.rcu-page button,.rcu-page a{font-family:inherit}button,a{-webkit-tap-highlight-color:transparent}.rcu-page main{max-width:1240px;margin:auto;padding:24px 40px 70px}.community-hero{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:38px;padding:42px 48px 54px;border:1px solid #fff;border-radius:36px;background:linear-gradient(125deg,#ffffffed,#e8eeece0);box-shadow:0 18px 55px #203e5010;overflow:hidden}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.hero-copy h1{font-size:clamp(54px,6vw,86px);letter-spacing:-.065em;line-height:.98;margin:24px 0}.hero-copy h1 span{color:#b96537}.intro{font-size:18px;line-height:1.7;max-width:460px}.action{display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:15px 21px;border:0;border-radius:16px;background:#284b63;color:white;text-decoration:none;font-size:12px;font-weight:750;cursor:pointer}.hero-copy .action{margin-top:14px}.hero-photos{position:relative;height:370px}.hero-main{width:82%;height:335px;object-fit:cover;border-radius:120px 120px 28px 28px;border:3px solid #bd713f;box-shadow:0 18px 32px #233d5025}.hero-small{position:absolute;width:49%;height:170px;bottom:-8px;right:-3px;object-fit:cover;border:7px solid white;border-radius:25px;transform:rotate(7deg);box-shadow:0 15px 25px #263d5038}.section-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:62px}.section-top h2{font-size:30px;letter-spacing:-.04em}.section-top span{font-size:10px;letter-spacing:.14em;font-weight:700}.filters{display:flex;flex-wrap:wrap;gap:9px;margin:8px 0 27px}.filters button{border:1px solid #d9dfdf;border-radius:30px;padding:12px 16px;background:#fff9;color:#385165;font-size:12px;cursor:pointer}.filters button[aria-pressed=true]{background:#294b61;color:white;border-color:#294b61}.strips{display:grid;gap:22px}.strip{display:grid;grid-template-columns:210px 1fr 145px;align-items:center;gap:30px;padding:15px 24px 15px 15px;border:1px solid white;border-radius:30px;background:#ffffffbd;box-shadow:0 10px 27px #263d5009}.strip[hidden]{display:none}.strip-photo{height:210px;border-radius:22px;overflow:hidden;background:var(--tone);display:grid;place-items:center}.strip-photo img{width:100%;height:100%;object-fit:cover;background:#eef3f6}.strip-copy h3{font-size:27px;line-height:1.12;letter-spacing:-.035em;margin:9px 0 12px;text-transform:uppercase}.strip-copy p{font-size:15px;line-height:1.7;margin:0 0 10px}.strip-copy .eyebrow{font-size:10px;color:#8c512e}.strip-copy .schedule{font-size:12px;font-weight:750;color:#4f6a7a}.strip-open{border:0;display:flex;align-items:center;flex-direction:column;gap:13px;background:none;color:#294b61;font-size:10px;font-weight:750;cursor:pointer}.strip-open svg,.large-icon svg,.dialog-icon svg{width:40px;height:40px}.strip-open svg{box-sizing:content-box;padding:17px;background:var(--tone);border:1px solid white;border-radius:23px;box-shadow:0 7px 12px #263d5010}.strip-open b{font-size:23px;color:#b96537}.large-icon svg{width:85px;height:85px;color:#446372}.community-content img{max-width:100%;height:auto;border-radius:16px}.community-content figure{margin:20px 0}.community-content a{color:#a85a2d;font-weight:650;overflow-wrap:anywhere}.community-content table{width:100%;font-size:13px}.community-content td{padding:8px}.community-content h2{font-size:25px!important}.community-content li{line-height:1.7}.community-content .wp-block-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hall-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:26px}.hall-actions .secondary{background:#bd713f}.rcu-page #rcu-availability.rainham-popup{width:min(1100px,calc(100% - 32px))}.rcu-page #rcu-availability iframe{width:100%;height:60svh;border:0;border-radius:16px;background:white}.rcu-page .rnv-nav a[aria-current=page]{color:#bd713f;font-weight:750}.dialog-icon{color:#b96537}.rcu-page dialog:not([open]){display:none}.rcu-page dialog{border:0;border-radius:28px;max-width:calc(100% - 32px)}
@media(max-width:900px){.rcu-page main{padding:20px 24px 50px}.community-hero{padding:35px 28px;gap:20px}.hero-photos{height:300px}.hero-main{height:270px}.hero-small{height:140px}.strip{grid-template-columns:155px 1fr 100px;gap:20px}.strip-photo{height:185px}.strip-copy h3{font-size:23px}.strip-open svg{padding:12px}}
@media(max-width:600px){.rcu-page main{padding:18px 18px 45px}.community-hero{grid-template-columns:1fr;padding:30px 25px 35px;border-radius:28px;gap:28px}.hero-copy h1{font-size:64px}.intro{font-size:16px}.hero-photos{height:275px;width:100%}.hero-main{height:255px;width:83%}.hero-small{height:140px;right:0;bottom:0}.section-top{margin-top:42px}.section-top h2{font-size:27px}.section-top span{display:none}.filters{gap:7px}.filters button{font-size:11px;padding:11px 13px}.strip{grid-template-columns:1fr 70px;gap:18px;padding:14px 18px 22px;border-radius:26px}.strip-photo{grid-column:1/-1;height:200px}.strip-copy h3{font-size:24px}.strip-copy p{font-size:14px}.strip-open{font-size:9px}.strip-open svg{width:28px;height:28px;padding:12px;border-radius:18px}.community-content .wp-block-gallery{grid-template-columns:1fr}.rainham-popup .rainham-popup-body{padding:22px!important}.hero-copy .action{font-size:11px}}

/* Light glass surfaces, photographs framed with the brand accent. */
.rcu-page{background:linear-gradient(145deg,#f7fafc 0%,#edf3f7 50%,#fafbfc 100%);background-attachment:fixed}
.community-hero{background:linear-gradient(120deg,#fffffff0,#e9f1f8c9);border:1px solid #fff;gap:40px;padding-top:46px;padding-bottom:48px}
.hero-copy h1{font-size:clamp(50px,5.5vw,76px);font-weight:650;line-height:1.04;letter-spacing:-.055em}.hero-copy h1 span{color:#365c78}.hero-copy .eyebrow{color:#a65e35}.hero-copy .intro{color:#516b7d}
.hero-main{border-radius:36px 95px 36px 36px;border:3px solid #bd713f}.hero-small{border:3px solid #bd713f;outline:5px solid #fff;border-radius:26px;transform:rotate(5deg)}
.strip-photo{border:2px solid #bd713f;background:linear-gradient(135deg,#f4f8fc,#e7eff5)}
.filters{align-items:center;padding:18px;border:1px solid #d6e1eb;border-radius:23px;background:linear-gradient(120deg,#ffffffed,#e8f0f8d9);box-shadow:0 8px 22px #263d5009;margin-bottom:30px;gap:10px}
.filter-label{display:inline-flex;align-items:center;gap:9px;flex:0 0 100%;margin:0 0 5px;color:#49697e;font-size:11px;font-weight:750;letter-spacing:.1em}.filter-label svg{width:20px;height:20px}
.filters button{display:inline-flex;align-items:center;gap:10px;min-height:46px;border:1px solid #c5d5e3;border-radius:14px;background:#fff;color:#35546a;font-size:12px;font-weight:650;padding:12px 16px;box-shadow:0 3px 6px #203e5006;transition:background .15s,border-color .15s,box-shadow .15s}
.filters button::before{content:'';width:15px;height:15px;flex-shrink:0;border:1.5px solid #8ca4b6;border-radius:50%}
.filters button[aria-pressed=true]{background:#294b61;border-color:#294b61;color:white;box-shadow:0 5px 12px #294b6122}.filters button[aria-pressed=true]::before{content:'✓';display:grid;place-items:center;border-color:#fff;background:#fff;color:#294b61;font-size:11px;font-weight:800}.filters button:hover{border-color:#bd713f}.filters button:focus-visible{outline:3px solid #bd713f;outline-offset:3px}
@media(max-width:600px){.community-hero{padding:30px 25px 35px;gap:28px}.hero-copy h1{font-size:clamp(46px,12vw,64px)}.filters{padding:15px;gap:8px}.filters button{font-size:11px;padding:10px 12px;min-height:44px;border-radius:12px}}

/* Keep hall booking action labels legible inside popup content. */
.rcu-page .hall-actions a.action,.rcu-page .hall-actions a.action:visited{color:#fff}
/* Consistent, responsive image dimensions with optional section overrides. */
.rcu-page{--community-image-size:210px;--community-image-border:#bd713f;--community-image-radius:24px;--community-image-shadow:0 8px 20px #294b6115}
.image-size-small{--community-image-size:160px}.image-size-medium{--community-image-size:210px}.image-size-large{--community-image-size:260px}
.image-border-orange{--community-image-border:#bd713f}.image-border-blue{--community-image-border:#365c78}.image-border-none{--community-image-border:transparent}
.image-shape-rounded{--community-image-radius:24px;--community-image-shadow:0 8px 20px #294b6115}.image-shape-circle{--community-image-radius:50%;--community-image-shadow:0 8px 20px #294b6115}.image-shape-arch{--community-image-radius:50% 50% 22px 22px;--community-image-shadow:0 8px 20px #294b6115}.image-shape-square{--community-image-radius:0px;--community-image-shadow:0 8px 20px #294b6115}.image-shape-offset{--community-image-radius:20px;--community-image-shadow:8px 8px 0 #dce7ef,12px 14px 22px #294b6115}
.rcu-page .strip{grid-template-columns:var(--community-image-size) 1fr 145px}.rcu-page .strip-photo{width:var(--community-image-size);height:var(--community-image-size);border:2px solid var(--community-image-border);border-radius:var(--community-image-radius);box-shadow:var(--community-image-shadow)}
.rcu-page :is(.hero-main,.hero-small,.community-content img){border:2px solid var(--community-image-border);border-radius:var(--community-image-radius);box-shadow:var(--community-image-shadow)}
.rcu-page .community-content a.action{color:white;display:inline-flex;margin-top:18px;margin-bottom:8px}
.community-hero{grid-template-columns:1fr 1fr;min-height:420px;padding:42px;background:linear-gradient(130deg,#ffffff,#e8f1f8);border:1px solid #fff;overflow:visible}.hero-copy h1{font-size:clamp(50px,5.7vw,78px);margin:22px 0;line-height:1.04}.hero-photos{height:320px}.hero-main{width:80%;height:290px;transform:rotate(-3deg)}.hero-small{width:50%;height:165px;right:0;bottom:0;transform:rotate(7deg)}.section-top{margin-top:45px}
@media(max-width:900px){.rcu-page .strip{grid-template-columns:min(var(--community-image-size),155px) 1fr 100px}.rcu-page .strip-photo{width:min(var(--community-image-size),155px);height:min(var(--community-image-size),155px)}.community-hero{padding:30px;gap:25px}.hero-photos{height:290px}.hero-main{height:260px}}
@media(max-width:600px){.rcu-page .strip{grid-template-columns:1fr 70px}.rcu-page .strip-photo{width:min(100%,var(--community-image-size));height:auto;aspect-ratio:1;justify-self:center;margin:5px 0 10px}.community-hero{grid-template-columns:1fr;padding:30px 25px;min-height:0}.hero-copy h1{font-size:clamp(46px,12vw,64px)}.hero-photos{height:275px}.hero-main{height:250px}.hero-small{height:145px}}
/* Community popup typography and image alignment. */
.rcu-page{background:linear-gradient(135deg,#edf4fa 0%,#f8fafc 44%,#f6ece4 100%);background-attachment:fixed}
.rcu-page .rainham-popup{font-family:var(--rainham-font,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif);font-size:15px;line-height:1.75}
.rcu-page .rainham-popup .community-content :is(h1,h2,h3,h4,h5,h6){font-family:inherit;font-size:22px!important;line-height:1.3!important;font-weight:650!important;letter-spacing:-.025em!important;text-transform:uppercase;margin:26px 0 16px!important}
.rcu-page .rainham-popup :is(.community-content,.rainham-popup-body) :is(p,li,td,th,figcaption){font-family:inherit;font-size:15px!important;line-height:1.75!important;letter-spacing:normal;font-weight:400}
.rcu-page .rainham-popup .community-content :is(strong,b){font-weight:700}
.rcu-page .community-content figure{display:block;width:100%;margin:24px auto;text-align:center}.rcu-page .community-content img{display:block;max-width:100%;width:auto;max-height:440px;height:auto;object-fit:contain;margin:24px auto}.rcu-page .community-content figure img{margin:0 auto}.rcu-page .community-content figcaption{text-align:center}
.rcu-page .hall-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch;margin:0 0 28px}
.rcu-page .hall-actions .action{box-sizing:border-box;width:100%;min-height:54px;margin:0!important;padding:14px 18px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:16px;font-size:12px!important;line-height:1.4!important;letter-spacing:0;font-weight:750;text-align:center;color:#fff;text-decoration:none}
@media(max-width:600px){.rcu-page .rainham-popup .community-content :is(h1,h2,h3,h4,h5,h6){font-size:22px!important}.rcu-page .hall-actions{grid-template-columns:1fr}.rcu-page .community-content img{max-height:340px}}
.rcu-page .rainham-popup .rainham-popup-header h2{font-size:22px!important;line-height:1.3!important;font-weight:650!important;letter-spacing:-.025em!important}
/* Information links follow the shared blue typography; actions keep their button treatment. */
.rcu-page .community-content a:not(.action){color:#365c78;font-family:inherit;font-size:inherit;line-height:inherit;font-weight:650;text-decoration:none}
.rcu-page .community-content a:not(.action):visited{color:#365c78}.rcu-page .community-content a:not(.action):hover{color:#253e50;text-decoration:none}.rcu-page .community-content a:focus-visible{outline:3px solid #bd713f;outline-offset:4px;border-radius:4px}

.rcu-page .community-content a.action[href*="/spaces-to-hire/"]{font-weight:750;text-transform:uppercase}
/* Clear hero typography and a visible, restrained shared-brand gradient. */
body.rcu-page{background:linear-gradient(120deg,#dceaf5 0%,#f1f5f8 47%,#f4dfcf 100%);background-attachment:fixed}
.rcu-page .community-hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:36px;background:linear-gradient(120deg,#fffffff2,#e9f2f9e6);overflow:hidden}
.rcu-page .hero-copy{min-width:0;position:relative;z-index:1}.rcu-page .hero-copy h1{font-size:clamp(40px,5vw,70px);color:#253e50;letter-spacing:-.045em;overflow-wrap:normal}.rcu-page .hero-copy h1 span{color:#365c78}.rcu-page .hero-photos{min-width:0}.rcu-page .hero-main{object-position:center;transform:rotate(-2deg)}
.rcu-page .filters{gap:8px;flex-wrap:wrap}.rcu-page .filter-label{flex:0 0 auto;margin:0 8px 0 0;white-space:nowrap;font-size:10px}.rcu-page .filters button{font-size:11px;padding:11px 12px;gap:7px}
@media(max-width:600px){.rcu-page .community-hero{grid-template-columns:1fr;gap:28px}.rcu-page .hero-copy h1{font-size:clamp(40px,11vw,62px)}.rcu-page .filter-label{flex-basis:100%;margin:0 0 7px}.rcu-page .filters button{flex:1 1 auto;justify-content:center;min-height:44px}}
.next-session{padding:22px;margin-bottom:28px;border:1px solid #cbdce9;border-left:4px solid #bd713f;border-radius:18px;background:linear-gradient(120deg,#e4eff8,#fff5ec)}.next-session .next-session-date{display:block;font-size:22px;line-height:1.35;color:#294b61}.next-session .next-session-time{margin:10px 0 0;font-weight:650!important}
/* Crop the existing photograph's white left margin without changing its content. */
.rcu-page .community-content .coffee-photo-crop{display:block;width:min(364px,100%);aspect-ratio:364/404;overflow:hidden;margin:24px auto;border:2px solid var(--community-image-border);border-radius:var(--community-image-radius);box-shadow:var(--community-image-shadow)}
.rcu-page .community-content .coffee-photo-crop img{display:block;width:106.6%;max-width:none;height:100%;max-height:none;object-fit:fill;margin:0 0 0 -6.6%;border:0;border-radius:0;box-shadow:none}
/* Preserve the Heritage Fund mark, clipping only its square white corners. */
.rcu-page .community-content img.heritage-fund-logo{width:min(300px,100%);height:auto;aspect-ratio:1;object-fit:cover;border-radius:50%;border:0;box-shadow:none;margin:24px auto}
/* Bring the real aerial photograph closer to the seasonal image's colour and contrast. */
.rcu-page .hero-main{filter:saturate(1.2) contrast(1.12) brightness(1.025);image-rendering:auto;backface-visibility:hidden}
/* Warm left edge, cool right edge, with slightly richer colour. */
body.rcu-page{background:linear-gradient(105deg,#ecd0b9 0%,#f1e8df 44%,#c9deed 100%);background-attachment:fixed}
/* One spacing value separates the hero, heading and filters at every width. */
.rcu-page main{--community-section-gap:28px;display:flex;flex-direction:column;gap:var(--community-section-gap)}
.rcu-page #activities{display:flex;flex-direction:column;gap:var(--community-section-gap);min-width:0}
.rcu-page .section-top{display:block;margin:0;padding:0;min-width:0}
.rcu-page .section-top h2{margin:0;line-height:1.2}
.rcu-page .filters{margin:0;flex-shrink:0}
.rcu-page .community-hero{flex-shrink:0;isolation:isolate}
@media(max-width:600px){.rcu-page main{--community-section-gap:24px}}
/* Mobile cards follow the centred Rainham layout used by Sundays and Safeguarding. */
@media(max-width:600px){
 .rcu-page .strip{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;gap:20px;padding:18px 22px 26px}
 .rcu-page .strip-photo{grid-column:auto;margin:0 0 4px}
 .rcu-page .strip-copy{width:100%;min-width:0;text-align:center}
 .rcu-page .strip-copy :is(h3,p){text-align:center}
 .rcu-page .strip-open{grid-column:auto;justify-self:center;align-items:center;width:100%;margin:0;padding:0;font-size:11px;gap:12px}
 .rcu-page .strip-open svg{width:36px;height:36px;padding:16px;border-radius:22px}
 .rcu-page .hero-copy{text-align:center}.rcu-page .hero-copy .intro{margin-left:auto;margin-right:auto}
 .rcu-page .section-top,.rcu-page .section-top h2{text-align:center}
 .rcu-page .filter-label{justify-content:center}.rcu-page .filters{justify-content:center}
}
/* Match the All-Age service's calendar layout, including its centred mobile view. */
.rcu-page .next-session.service-calendar{display:flex;align-items:center;gap:24px;padding:20px;background:#e4eef7;border:1px solid #d4e1ec;border-radius:22px}
.rcu-page .next-session .calendar-page{flex:0 0 110px;width:110px;background:#fff;border-radius:15px;overflow:hidden;text-align:center;box-shadow:0 8px 18px #263e5020}
.rcu-page .next-session .calendar-month{display:block;background:#be703e;color:#fff;padding:10px 6px;font-size:12px;font-weight:750;line-height:1.4}
.rcu-page .next-session .calendar-day{display:block;font-size:48px;font-weight:750;line-height:1.1;padding:12px;color:#294b61}
.rcu-page .next-session .calendar-weekday{display:block;padding:0 8px 12px;font-size:11px;font-weight:650;color:#526e83}
.rcu-page .next-session .calendar-details{display:flex;flex-direction:column;gap:10px;min-width:0}.rcu-page .next-session .calendar-details p{margin:0}.rcu-page .next-session .calendar-details .eyebrow{font-size:11px!important;font-weight:750!important;letter-spacing:.1em}
@media(max-width:600px){.rcu-page .next-session.service-calendar{flex-direction:column;align-items:center;gap:16px;padding:18px;text-align:center}.rcu-page .next-session .calendar-page{flex:0 0 auto;width:110px}.rcu-page .next-session .calendar-details{width:100%;align-items:center;text-align:center}.rcu-page .next-session .calendar-details :is(p,strong){text-align:center}}
/* Photographic stories fill the available popup width without distortion. */
.rcu-page #rcu-bell-ringing-at-st-margarets .community-content img.bell-feature-photo,.rcu-page #rcu-tafara .community-content img{width:100%;height:auto;max-height:none;object-fit:contain}
.rcu-page .bell-actions{display:flex;flex-wrap:wrap;gap:14px;margin:24px 0}.rcu-page .bell-actions a.action{margin:0;min-height:52px;text-align:center}
/* Eco Church uses a compact award and a tidy collection of activity cards. */
.rcu-page .eco-areas{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:22px 0}.rcu-page .eco-areas li{padding:8px 12px;border:1px solid #d4e3dd;border-radius:12px;background:#edf4ef;font-size:13px!important;color:#3e6253}
.rcu-page .eco-award{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:22px;padding:20px;margin:26px 0;background:linear-gradient(135deg,#edf5ef,#f8fbff);border:1px solid #d9e6df;border-radius:22px}.rcu-page .eco-award img{width:100%;height:auto;max-height:none;margin:0;border:0;border-radius:12px;box-shadow:none}.rcu-page .eco-award p{margin:0}
.rcu-page .eco-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.rcu-page .eco-action-card{padding:18px;background:#fff;border:1px solid #dce6e0;border-radius:20px;display:flex;flex-direction:column;gap:16px}.rcu-page .community-content .eco-action-card h3{margin:0!important;font-size:22px!important}.rcu-page .eco-action-card figure{margin:auto 0 0;padding:10px;background:#f2f6f4;border-radius:14px}.rcu-page .eco-action-card img{width:100%;height:210px;max-height:none;object-fit:contain;border:0;border-radius:8px;box-shadow:none;margin:0}
@media(max-width:600px){.rcu-page .eco-award{grid-template-columns:1fr;justify-items:center;text-align:center}.rcu-page .eco-award>div{width:110px}.rcu-page .eco-actions-grid{grid-template-columns:1fr}.rcu-page .eco-action-card h3{text-align:center}.rcu-page .eco-action-card img{height:auto;max-height:300px}.rcu-page .bell-actions{flex-direction:column}.rcu-page .bell-actions a.action{width:100%}}
/* Explicit full-width bell image and consistent, uncropped Tafara frames. */
body.rcu-page #rcu-bell-ringing-at-st-margarets .community-content figure{width:100%;max-width:none}
body.rcu-page #rcu-bell-ringing-at-st-margarets .community-content img.bell-feature-photo{display:block;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain}
body.rcu-page #rcu-tafara .community-content img{display:block;box-sizing:border-box;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:4/3;max-height:none!important;object-fit:contain!important;background:#edf2f7;padding:8px;margin:24px auto!important}
/* Coffee morning photographs share two equal frames at every screen size. */
.rcu-page .coffee-photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}
.rcu-page .coffee-photo-pair-frame{min-width:0;aspect-ratio:1;overflow:hidden;border:2px solid var(--community-image-border);border-radius:var(--community-image-radius);background:#edf2f7;box-shadow:var(--community-image-shadow)}
.rcu-page .community-content .coffee-photo-pair-frame img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;margin:0;border:0;border-radius:0;box-shadow:none}
.rcu-page .community-content .coffee-pair-crop img{width:106.6%;margin-left:-6.6%}
@media(max-width:600px){.rcu-page .coffee-photo-pair{gap:10px}.rcu-page .coffee-photo-pair-frame{border-radius:16px}}
/* Avoid doubled trailing margins at the foot of information popups. */
.rcu-page .community-content>:last-child{margin-bottom:0!important}
.rcu-page .community-content>:last-child img:last-child{margin-bottom:0!important}
/* Five distinct areas of care, presented as colourful glass tiles. */
.rcu-page .eco-areas{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:26px 0;padding:0;list-style:none}
.rcu-page .eco-areas li{grid-column:span 2;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:13px;padding:20px 12px;text-align:center;background:linear-gradient(145deg,#ffffff,var(--area-tone));border:1px solid #fff;border-radius:20px;box-shadow:0 7px 17px #263e5010}
.rcu-page .eco-areas li:nth-child(4),.rcu-page .eco-areas li:nth-child(5){grid-column:span 3}
.eco-area-icon{display:grid;place-items:center;padding:13px;border-radius:17px;background:var(--area-tone);border:1px solid #fff;box-shadow:0 4px 9px #263e500b;color:#365c78}.eco-area-icon svg{width:32px;height:32px}
.rcu-page .eco-areas strong{font-size:12px;line-height:1.5;font-weight:750;letter-spacing:.025em;color:#294b61}
@media(max-width:600px){.rcu-page .eco-areas{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rcu-page .eco-areas li,.rcu-page .eco-areas li:nth-child(4),.rcu-page .eco-areas li:nth-child(5){grid-column:span 1}.rcu-page .eco-areas li:last-child{grid-column:1/-1}.rcu-page .eco-areas li{padding:18px 12px}}
/* Editor-controlled fitting for framed photographs. */
.rcu-page .strip-photo img{object-fit:var(--photo-fit,cover);object-position:var(--photo-position,center);transform:scale(var(--photo-zoom,1))}
body.rcu-page #rcu-tafara .community-content img{object-fit:var(--photo-fit,cover)!important;object-position:var(--photo-position,center);padding:0}
.rcu-page .community-content .coffee-photo-pair-frame img{object-fit:var(--photo-fit,cover);object-position:var(--photo-position,center);transform:scale(var(--photo-zoom,1))}
/* Conservative display enhancement retains the original faces and photograph pixels. */
body.rcu-page .bell-feature-photo{filter:contrast(1.08) brightness(1.025)}
/* Eco action photos fill equal frames rather than leaving empty space. */
.rcu-page .eco-action-card figure{padding:0;overflow:hidden;aspect-ratio:4/3;display:block}
.rcu-page .community-content .eco-action-card img{display:block;width:100%;height:100%;max-height:none;object-fit:var(--photo-fit,cover);object-position:var(--photo-position,center);transform:scale(var(--photo-zoom,1));border-radius:0;margin:0}
@media(max-width:600px){.rcu-page .community-content .eco-action-card img{height:100%;max-height:none}}
.rcu-page .eco-action-card{padding:0;gap:0;overflow:hidden}.rcu-page .eco-action-card figure{border-radius:20px;margin:0}
/* A compact photo-library mosaic, using the existing church photographs. */
.rcu-page .community-content .community-photo-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:dense;grid-auto-rows:145px;gap:10px;margin:26px 0 0}
.rcu-page .community-content .community-photo-library figure{width:100%;height:100%;min-width:0;overflow:hidden;margin:0;border-radius:17px;background:#e4edf4;box-shadow:0 4px 10px #263e5012}
.rcu-page .community-content .community-photo-library figure:nth-child(7n+1){grid-row:span 2}
.rcu-page .community-content .community-photo-library figure:nth-child(7n+4){grid-column:span 2}
.rcu-page .community-content .community-photo-library img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;margin:0;border:0;border-radius:0;box-shadow:none}
@media(max-width:600px){.rcu-page .community-content .community-photo-library{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:125px;gap:8px}.rcu-page .community-content .community-photo-library figure{border-radius:13px}.rcu-page .community-content .community-photo-library figure:nth-child(7n+4){grid-column:span 1}.rcu-page .community-content .community-photo-library figure:nth-child(7n+6){grid-column:span 2}}
.rcu-page .community-content .community-photo-library figure{border:2px solid #bd713f}
/* Natural-ratio photo columns show the complete photographs without cropping. */
.rcu-page .community-content .community-photo-library{display:block;columns:3;column-gap:10px}
.rcu-page .community-content .community-photo-library figure{display:block;width:100%;height:auto;break-inside:avoid;page-break-inside:avoid;margin:0 0 10px!important;overflow:hidden;grid-column:auto;grid-row:auto}
.rcu-page .community-content .community-photo-library img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
@media(max-width:600px){.rcu-page .community-content .community-photo-library{columns:2;column-gap:8px}.rcu-page .community-content .community-photo-library figure{margin-bottom:8px!important}}
body.rcu-page .bell-feature-photo[src*="bell-ringers-enhanced"]{filter:none}
/* Venue photographs use consistent, warmly lit editorial frames. */
.rcu-page .hire-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0}
.rcu-page .community-content .hire-photo-grid figure{margin:0!important;aspect-ratio:4/3;overflow:hidden;border:2px solid #bd713f;border-radius:19px;background:#e9eff5;box-shadow:0 6px 16px #263e5014}
.rcu-page .community-content .hire-photo-grid img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;margin:0;border:0;border-radius:0;box-shadow:none;filter:saturate(1.15) contrast(1.06) brightness(1.04)}
.rcu-page .community-content .hire-testimonial{position:relative;margin:30px 0;padding:30px;border:1px solid #fff;border-left:4px solid #bd713f;border-radius:24px;background:linear-gradient(125deg,#e5eff8,#fff3e9);box-shadow:0 9px 24px #263e5010;text-align:left}
.hire-testimonial .testimonial-mark{display:block;font-size:65px;line-height:.8;color:#bd713f;font-family:Georgia,serif}.hire-testimonial blockquote{margin:16px 0}.rcu-page .hire-testimonial blockquote p{margin:0;font-style:italic}.rcu-page .hire-testimonial figcaption{font-weight:700!important;color:#365c78;text-align:left}
@media(max-width:600px){.rcu-page .hire-photo-grid{grid-template-columns:1fr}.rcu-page .community-content .hire-testimonial{padding:24px}}
.rcu-page #rcu-availability .availability-external{margin-top:20px;min-height:52px;text-align:center;color:#fff;text-decoration:none}
@media(max-width:600px){.rcu-page #rcu-availability .availability-external{width:100%}}
.rcu-page .hall-actions.hall-actions-three{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:600px){.rcu-page .hall-actions.hall-actions-three{grid-template-columns:1fr}}
/* A stronger editorial treatment for genuine venue reviews. */
.rcu-page .hire-reviews{display:grid;gap:20px;margin:32px 0}
.rcu-page .community-content .hire-testimonial{isolation:isolate;position:relative;overflow:hidden;margin:0!important;padding:36px 32px;border:1px solid #90b0c8;border-left:5px solid #bd713f;border-radius:28px 28px 28px 8px;background:linear-gradient(135deg,#284d68,#193548);box-shadow:0 14px 30px #203e5028;text-align:left}
.rcu-page .hire-testimonial::after{content:'';position:absolute;width:180px;height:180px;right:-70px;top:-75px;border:32px solid #ffffff08;border-radius:50%;pointer-events:none;z-index:-1}
.rcu-page .hire-testimonial .testimonial-mark{font-size:96px;line-height:.65;color:#efb48b;margin:4px 0 18px}
.rcu-page .rainham-popup .hire-testimonial blockquote p{font-size:18px!important;line-height:1.7!important;font-style:normal;font-weight:450;color:#f8fbff!important;letter-spacing:-.015em}
.rcu-page .rainham-popup .hire-testimonial figcaption{display:flex;align-items:center;gap:12px;color:#eec3a4!important;margin-top:22px;font-size:13px!important;font-weight:700!important;text-align:left}
.rcu-page .hire-testimonial figcaption::before{content:'';width:26px;height:2px;background:#efb48b;flex-shrink:0}
@media(max-width:600px){.rcu-page .community-content .hire-testimonial{padding:30px 24px}.rcu-page .rainham-popup .hire-testimonial blockquote p{font-size:17px!important}}
.rcu-page .hall-actions-three a[href*="terms-and-conditions"]{white-space:nowrap;padding-left:10px;padding-right:10px}
/* A calm, centred space for the Zimbabwe prayer. */
.rcu-page .tafara-prayer{position:relative;text-align:center;padding:36px 28px;margin:32px 0 0;border:1px solid #d1e0eb;border-radius:26px;background:linear-gradient(150deg,#e7f0f7,#fafcfe 58%,#f8ede3);box-shadow:0 9px 24px #294b610c}
.rcu-page .tafara-prayer .prayer-symbol{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 20px;border-radius:50%;border:1px solid #e6d4c4;background:#fff9;color:#ae6b40;font-size:24px}
.rcu-page .community-content .tafara-prayer h3{margin:0 0 22px!important;text-align:center;color:#294b61}
.rcu-page .rainham-popup .tafara-prayer p{font-size:17px!important;line-height:1.95!important;font-weight:400;text-align:center;color:#3e5a6f;margin:0!important}
@media(max-width:600px){.rcu-page .tafara-prayer{padding:30px 20px}.rcu-page .rainham-popup .tafara-prayer p{font-size:16px!important}}
.rcu-page .tufton-tree,.rcu-page .tufton-tree ul{list-style:none;padding:0;margin:20px 0}.rcu-page .tufton-tree ul{border-left:2px solid #c9dce9;margin-left:15px;padding-left:20px}.tufton-tree li{margin:18px 0}.tufton-person{display:flex;flex-direction:column;gap:6px;padding:15px 18px;border:1px solid #d4e2ed;border-radius:15px;background:linear-gradient(120deg,#e7f0f8,#fff);color:#294b61}.tufton-person span{font-size:13px}.tufton-spouse{margin:10px 0 0 24px}.tufton-spouse>span{display:block;font-size:12px;color:#617b8e;margin-bottom:8px}.tufton-spouse .tufton-person{background:#fbf0e7;border-color:#e9d8c9}.tufton-tree summary{cursor:pointer;color:#365c78;font-weight:700;padding:12px 0}.tufton-tree summary:focus-visible{outline:2px solid #bd713f}
/* Tufton Stories follows one full-width image and left-aligned text layout. */
body.rcu-page #rcu-tufton-stories .community-content{ text-align:left }
body.rcu-page #rcu-tufton-stories .community-content :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,figcaption){text-align:left!important}
body.rcu-page #rcu-tufton-stories .community-content figure{width:100%;max-width:none;text-align:left}
body.rcu-page #rcu-tufton-stories .community-content img{display:block;width:100%;max-width:100%;height:auto;max-height:none;margin:24px 0;object-fit:contain}
body.rcu-page #rcu-tufton-stories .community-content figure img{margin:0}
body.rcu-page #rcu-stained-glass .community-content,body.rcu-page #rcu-stained-glass .community-content :is(p,h2,h3,li,figcaption){text-align:left}
body.rcu-page #rcu-stained-glass .community-content img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;margin:24px 0}
.glass-photo-crop{display:block;overflow:hidden;border:2px solid var(--community-image-border);border-radius:var(--community-image-radius);margin:24px 0}
body.rcu-page #rcu-stained-glass .glass-photo-crop img{margin:-6% 0 0;border:0;border-radius:0}
.heritage-embed{margin:28px 0}.heritage-embed iframe{display:block;width:100%;height:480px;max-height:65svh;border:1px solid #d2e1ec;border-radius:18px;background:#edf2f7;margin:18px 0}.heritage-embed .action{margin-top:0!important}
.rcu-page .heritage-reader{margin:24px 0}.rcu-page .heritage-reader .book-page{display:flex;justify-content:center;padding:12px;border-radius:18px;background:#e4edf4}.rcu-page .community-content .book-page img{width:auto;max-width:100%;height:auto;max-height:62svh;margin:0!important;border:0;border-radius:3px;box-shadow:0 7px 20px #263e5020}
.book-controls{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:18px}.book-controls button{width:46px;height:46px;border:0;border-radius:50%;background:#294b61;color:white;font-size:22px;cursor:pointer}.book-controls button:disabled{opacity:.3;cursor:default}.book-count{font-size:13px;font-weight:700;color:#365c78}
.churchyard-map-launch{padding:26px;border:1px solid #d0deea;border-radius:22px;background:linear-gradient(120deg,#e6eff7,#fff4eb)}
.rcu-page .howes-portrait-frame{width:min(300px,100%);margin:0 auto 30px;padding:9px;border:1px solid #d2dfe9;border-radius:22px;background:white;box-shadow:0 12px 28px #263e5020;overflow:hidden}
.rcu-page .community-content img.howes-portrait{display:block;width:100%;height:auto;max-height:none;margin:0!important;border:0;border-radius:15px;filter:url(#howes-gentle-sharpen) contrast(1.04)}
.rcu-page .howes-story{text-align:left}.rcu-page .howes-citation{margin:26px 0;padding:24px;border-left:3px solid #bd713f;border-radius:0 18px 18px 0;background:#e7eff6}.rcu-page .howes-citation p{margin:0;font-style:italic}.howes-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:26px 0}.rcu-page .howes-photo-grid figure{margin:0!important}.rcu-page .howes-photo-grid figure:first-child{grid-column:1/-1}.rcu-page .howes-photo-grid img{width:100%;height:auto;max-height:none;margin:0;border-radius:18px}
/* Fit the booklet page and navigation inside the available popup height. */
body.rcu-page #rcu-heritage-booklet.rainham-popup{height:auto;max-height:90svh;overflow:hidden}
body.rcu-page #rcu-heritage-booklet .rainham-popup-body{padding:16px 22px!important}
body.rcu-page #rcu-heritage-booklet .community-content>p{margin:0 0 10px;font-size:13px!important;line-height:1.5!important}
body.rcu-page #rcu-heritage-booklet .dialog-icon{display:none}
body.rcu-page #rcu-heritage-booklet .heritage-reader{margin:10px 0 0}
body.rcu-page #rcu-heritage-booklet .book-page{padding:8px}
body.rcu-page #rcu-heritage-booklet .book-page img{max-height:max(80px,calc(90svh - 260px));max-width:100%;width:auto;height:auto}
body.rcu-page #rcu-heritage-booklet .book-controls{margin-top:12px;gap:22px}
@media(max-width:600px){body.rcu-page #rcu-heritage-booklet .rainham-popup-body{padding:14px 16px!important}body.rcu-page #rcu-heritage-booklet .book-page img{max-height:max(70px,calc(90svh - 280px))}}
.rcu-page .community-content .churchyard-map-preview{margin:0 0 22px}
.rcu-page .community-content .churchyard-map-preview img{display:block;width:100%;height:auto;max-height:none;margin:0;border:2px solid #bd713f;border-radius:22px}
/* Let the booklet page stand alone, using the reclaimed introduction space. */
body.rcu-page #rcu-heritage-booklet .heritage-reader{margin:0}
body.rcu-page #rcu-heritage-booklet .book-page{background:transparent;border:0;padding:0;box-shadow:none}
body.rcu-page #rcu-heritage-booklet .book-page img{max-height:max(80px,calc(90svh - 200px))}
@media(max-width:600px){body.rcu-page #rcu-heritage-booklet .book-page img{max-height:max(70px,calc(90svh - 215px))}}
/* Genuine historic images, consistent framing and gentle pixel-based sharpening. */
body.rcu-page #rcu-sgt-harold-norman-howes .howes-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.rcu-page #rcu-sgt-harold-norman-howes .howes-photo-grid figure:first-child{grid-column:auto}
body.rcu-page #rcu-sgt-harold-norman-howes .howes-photo-grid figure{aspect-ratio:3/4;overflow:hidden;border:1px solid #ccdbe6;border-radius:18px;background:transparent}
body.rcu-page #rcu-sgt-harold-norman-howes .howes-photo-grid img{width:100%;height:100%;object-fit:cover;border:0;border-radius:0;filter:url(#howes-gentle-sharpen) contrast(1.035)}
body.rcu-page #rcu-sgt-harold-norman-howes .howes-photo-grid figure:first-child img{object-position:right center}
body.rcu-page #rcu-stories img.howes-story-feature{display:block;width:100%;height:auto;max-height:none;border:0;border-radius:20px;filter:url(#howes-gentle-sharpen) contrast(1.035);box-shadow:0 10px 24px #263e501c}
@media(max-width:600px){body.rcu-page #rcu-sgt-harold-norman-howes .howes-photo-grid{grid-template-columns:1fr}.rcu-page #rcu-sgt-harold-norman-howes .howes-photo-grid figure{width:100%;max-width:340px;justify-self:center}}

/* Heritage image framing and dedicated map action. */
body.rcu-page #rcu-stories img.howes-story-feature{border:2px solid #bd713f}
body.rcu-page .community-content img[src*="CBR_AHK_AH_2299_81-001"]{width:100%;aspect-ratio:3/2;height:auto;object-fit:cover;object-position:center top}
body.rcu-page .community-content a:has(>img[src*="Screenshot-2025-03-17-at-21.06.08"]){display:block;overflow:hidden;border-radius:22px}
body.rcu-page .community-content img[src*="Screenshot-2025-03-17-at-21.06.08"]{display:block;width:100%;transform:scale(1.18);transform-origin:60% 35%;margin:0}
body.rcu-page .churchyard-map-launch .action{display:table;margin-top:22px}

body.rcu-page #rcu-stories img.howes-story-feature{width:min(100%,340px);height:auto;margin-inline:auto;object-fit:contain}
/* Matching brand borders on Harold's information photographs. */
body.rcu-page #rcu-sgt-harold-norman-howes .howes-story img{border:2px solid #bd713f;box-sizing:border-box;border-radius:20px}

/* Church archive document groups. */
.archive-collections{display:grid;gap:14px;margin-top:26px}
.archive-group{border:1px solid #cbdce8;border-radius:20px;background:linear-gradient(110deg,#edf3f8,#fff);overflow:hidden}
.archive-group summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;padding:20px 22px;color:#294b61;font-weight:750;list-style:none}
.archive-group summary::after{content:'+';font-size:24px;color:#bd713f}
.archive-group[open] summary::after{content:'−'}
.archive-group summary span{margin-left:auto;font-size:11px;letter-spacing:.06em;white-space:nowrap}
.archive-documents{display:grid;gap:10px;padding:0 18px 18px}
body.rcu-page .archive-documents a.archive-document{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;background:white;border:1px solid #d5e1ea;border-radius:13px;color:#365c78;font-size:14px;font-weight:700;text-decoration:none}
.archive-document small{font-size:10px;white-space:nowrap}
.archive-document:hover,.archive-document:focus-visible{outline:2px solid #bd713f;outline-offset:2px}
/* Equal frames on the Churchyard menu, with faces kept visible. */
body.rcu-page #rcu-churchyard .community-content a:has(>img){display:block;aspect-ratio:3/2;overflow:hidden;border:2px solid #bd713f;border-radius:22px;margin:24px 0}
body.rcu-page #rcu-churchyard .community-content a>img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 24%;margin:0;border:0;border-radius:0}
/* Crop two percent inside the orange photo frames. */
body.rcu-page #rcu-sgt-harold-norman-howes .howes-portrait-frame{padding:0;border:2px solid #bd713f}
body.rcu-page #rcu-sgt-harold-norman-howes .howes-photo-grid figure{border:2px solid #bd713f}
body.rcu-page #rcu-sgt-harold-norman-howes .howes-story img{transform:scale(1.02);border:0;border-radius:0}
body.rcu-page #rcu-bell-ringing-at-st-margarets img.bell-feature-photo{width:100%;height:auto;max-height:none;object-fit:contain;filter:none;transform:none}
@media(max-width:600px){.archive-group summary{padding:17px 15px;font-size:14px}.archive-group summary span{font-size:9px}.archive-documents{padding:0 12px 12px}body.rcu-page .archive-documents a.archive-document{align-items:flex-start;flex-direction:column;gap:8px;padding:14px}}

/* Full-width story photographs share one frame size across all designs. */
body.rcu-page #rcu-stories .story-image-device{--story-radius:24px;--story-border:#bd713f;position:relative;isolation:isolate;width:100%;box-sizing:border-box;margin:24px 0 30px;padding:0}
body.rcu-page #rcu-stories .story-image-device[data-border="blue"]{--story-border:#365c78}
body.rcu-page #rcu-stories .story-image-device[data-border="none"]{--story-border:transparent}
body.rcu-page #rcu-stories .story-image-crop{position:relative;aspect-ratio:4/3;overflow:hidden;border:2px solid var(--story-border);border-radius:var(--story-radius);box-shadow:0 12px 24px #263e501c}
body.rcu-page #rcu-stories .story-image-device img{display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none;object-fit:var(--photo-fit,cover);object-position:var(--photo-position,top);transform:scale(var(--photo-zoom,1))}
body.rcu-page #rcu-stories .story-device-offset{padding:0 12px 12px 0}
body.rcu-page #rcu-stories .story-device-offset::before{content:"";position:absolute;z-index:-1;inset:12px 0 0 12px;border-radius:24px;background:linear-gradient(130deg,#e6c3a8,#c9dce9);box-shadow:0 9px 20px #263e501c}
body.rcu-page #rcu-stories .story-device-offset .story-image-crop{aspect-ratio:auto;height:auto}
body.rcu-page #rcu-stories .story-device-offset .story-image-crop::before{content:"";display:block;padding-top:calc(75% + 9px)}
body.rcu-page #rcu-stories .story-device-offset img{position:absolute;inset:0}
body.rcu-page #rcu-stories .story-device-arch{--story-radius:48% 48% 24px 24px}
body.rcu-page #rcu-stories .story-device-oval{--story-radius:50%}
body.rcu-page #rcu-stories .story-device-square{--story-radius:0px}

/* Keep Harold’s face at the visible top of the story frame. */
body.rcu-page #rcu-stories .story-image-device img.howes-story-feature{object-position:center top;transform:none}

/* Show Harold’s complete portrait in both churchyard story listings. */
body.rcu-page #rcu-stories .story-image-device img.howes-story-feature{object-fit:contain!important;object-position:center center!important;transform:none!important;background:#edf1f3}
body.rcu-page #rcu-churchyard .community-content a>img[src*="19.11.27"]{object-fit:contain!important;object-position:center!important;background:#edf1f3;transform:none!important}

/* A quiet, respectful portrait card for churchyard stories. */
body.rcu-page #rcu-stories .community-content a.story-memorial-card{display:flex;flex-direction:column;width:100%;overflow:hidden;box-sizing:border-box;border:2px solid #bd713f;border-radius:24px;background:#243b4b;color:#fff;text-decoration:none;box-shadow:0 12px 28px #263e5020;margin:8px 0 0;transition:box-shadow .2s}
body.rcu-page #rcu-stories .story-memorial-name{display:block;padding:24px 22px 20px;text-align:center;font-size:clamp(18px,3.5vw,24px);font-weight:650;line-height:1.35;letter-spacing:.035em;color:#fff}
body.rcu-page #rcu-stories .story-memorial-photo{display:block;height:clamp(280px,48svh,420px);width:100%;background:linear-gradient(100deg,#324c5c,#243b4b)}
body.rcu-page #rcu-stories .story-memorial-photo img{display:block;width:100%;height:100%;max-height:none;margin:0;border:0;border-radius:0;object-fit:contain;object-position:center;filter:none;transform:none;box-shadow:none}
body.rcu-page #rcu-stories .story-memorial-prompt{display:flex;justify-content:center;align-items:center;gap:14px;padding:21px 18px;color:#fff;font-size:15px;line-height:1.5;font-weight:550;text-align:center;border-top:1px solid #ffffff24}
body.rcu-page #rcu-stories .story-memorial-prompt>span{color:#edb68e}
body.rcu-page #rcu-stories .story-memorial-card:hover{box-shadow:0 14px 32px #263e5030}
body.rcu-page #rcu-stories .story-memorial-card:focus-visible{outline:3px solid #365c78;outline-offset:5px}
@media(max-width:600px){body.rcu-page #rcu-stories .story-memorial-name{padding:21px 16px 18px}body.rcu-page #rcu-stories .story-memorial-photo{height:clamp(240px,45svh,360px)}}

/* Story cards share the light glass finish used throughout Community. */
body.rcu-page #rcu-stories .community-content a.story-memorial-card{background:linear-gradient(135deg,#ffffffed,#e9f1f8e6 70%,#fbede2e6);color:#365c78;backdrop-filter:blur(18px);box-shadow:inset 0 1px 0 #fff,0 10px 24px #263e5018}
body.rcu-page #rcu-stories .story-memorial-name{color:#365c78;letter-spacing:-.02em;font-weight:650;padding:24px 22px 18px}
body.rcu-page #rcu-stories .story-memorial-photo{width:calc(100% - 36px);margin:0 18px;overflow:hidden;border-radius:20px;background:linear-gradient(120deg,#e0e9ef,#f8fafb);box-shadow:0 6px 16px #263e5015}
body.rcu-page #rcu-stories .story-memorial-prompt{color:#365c78;border-top:0;padding:20px 18px 22px;font-weight:650}
body.rcu-page #rcu-stories .story-memorial-prompt>span{color:#bd713f}
body.rcu-page #rcu-stories .story-memorial-card:hover{box-shadow:inset 0 1px 0 #fff,0 14px 28px #263e5024}

/* Layered heritage frames: architectural presence without cropping the originals. */
body.rcu-page #rcu-heritage .community-content a.heritage-image-frame{display:block;position:relative;isolation:isolate;width:100%;box-sizing:border-box;padding:10px;margin:24px 0 38px;border:1px solid #d5ad8b;border-radius:32px;background:linear-gradient(135deg,#fffffffa,#e4eef6e8 65%,#f5e3d2ed);box-shadow:inset 0 1px 0 #fff,0 16px 32px #294b6126;text-decoration:none;transition:box-shadow .2s}
body.rcu-page #rcu-heritage .community-content a.heritage-image-frame::before{content:"";position:absolute;inset:7px -5px -7px 5px;z-index:-1;border:1px solid #9db8cc;border-radius:32px;background:linear-gradient(125deg,#e8d5c4,#d6e5f0);box-shadow:0 8px 20px #294b6115}
body.rcu-page #rcu-heritage .community-content a.heritage-image-frame img{display:block;width:100%;height:auto;max-width:100%;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;margin:0;border:2px solid #bd713f;border-radius:23px;box-shadow:inset 0 1px 0 #fff;filter:contrast(1.035) saturate(1.04);transform:none}
body.rcu-page #rcu-heritage .community-content a.heritage-image-frame:hover{box-shadow:inset 0 1px 0 #fff,0 18px 36px #294b6130}
body.rcu-page #rcu-heritage .community-content a.heritage-image-frame:focus-visible{outline:3px solid #365c78;outline-offset:5px}
@media(max-width:600px){body.rcu-page #rcu-heritage .community-content a.heritage-image-frame{padding:7px;margin:20px 0 30px;border-radius:26px}body.rcu-page #rcu-heritage .community-content a.heritage-image-frame::before{border-radius:26px;inset:5px -3px -5px 3px}body.rcu-page #rcu-heritage .community-content a.heritage-image-frame img{border-radius:18px}}

/* Full-bleed portrait panels with a floating glass caption. */
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .community-content a.story-portrait-panel{display:block;position:relative;isolation:isolate;width:100%;max-width:none;aspect-ratio:auto;height:auto;margin:28px 0 36px;padding:0;border:2px solid #bd713f;border-radius:64px 24px 36px 24px;background:#e7edf1;overflow:visible;box-shadow:0 16px 30px #263e5026;text-decoration:none}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel::before{content:"";position:absolute;inset:12px 7px -12px -7px;border-radius:64px 24px 36px 24px;z-index:-1;background:linear-gradient(125deg,#e8c3a5,#c6dce9);border:1px solid #cda684;transform:rotate(-1.3deg);box-shadow:0 9px 20px #263e501c}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-photo{display:block;width:100%;height:auto;max-height:none;margin:0;border-radius:62px 22px 34px 22px;overflow:hidden;background:transparent;box-shadow:none}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-photo img{display:block;width:100%!important;height:auto!important;max-width:none;max-height:none;aspect-ratio:auto;object-fit:contain!important;margin:0;border:0;border-radius:0;transform:none!important;filter:none}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-glass-caption{display:block;position:relative;margin:-130px 20px 20px;padding:20px 18px;border:1px solid #ffffffd9;border-radius:22px;background:linear-gradient(120deg,#fffffff0,#e8f1f6e8);backdrop-filter:blur(18px);box-shadow:inset 0 1px 0 #fff,0 8px 24px #263e5020;text-align:center}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-name{display:block;color:#365c78;font-size:clamp(18px,3.4vw,24px);font-weight:650;letter-spacing:-.02em;line-height:1.3;padding:0}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-prompt{display:flex;justify-content:center;align-items:center;gap:12px;padding:12px 0 0;color:#365c78;font-size:15px;font-weight:650;border:0;line-height:1.5}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-memorial-prompt>span{color:#bd713f}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) a.story-portrait-panel:focus-visible{outline:3px solid #365c78;outline-offset:7px}
@media(max-width:600px){body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-glass-caption{margin:-120px 12px 12px;padding:16px 12px}body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-prompt{font-size:14px}}

/* Locked churchyard preview dimensions: identical 3:2 panels at every width. */
body.rcu-page #rcu-churchyard .community-content a:has(>img),
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .community-content a.story-portrait-panel{width:100%;height:auto;aspect-ratio:3/2;box-sizing:border-box;margin:24px 0 36px}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-photo{position:absolute;inset:0;width:100%;height:100%;max-height:none;background:linear-gradient(115deg,#d7e3ec,#f6f8fa 48%,#e6d6c9)}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-photo img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center top!important}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-glass-caption{position:absolute;left:14px;right:14px;bottom:12px;margin:0;padding:12px 14px;border-radius:18px}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-name{font-size:clamp(15px,3vw,21px);line-height:1.25}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-prompt{font-size:13px;padding-top:5px;line-height:1.35}
@media(max-width:600px){body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-glass-caption{left:8px;right:8px;bottom:8px;padding:9px 10px;border-radius:14px}body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-name{font-size:14px}body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-prompt{font-size:12px}}

/* Natural photographic enhancement, without additional decorative framing. */
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced{display:block;width:100%;margin:24px 0 30px;padding:0;background:none;border:0;box-shadow:none;backdrop-filter:none}
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;margin:0;transform:none;filter:url(#howes-gentle-sharpen) brightness(1.04) contrast(1.055) saturate(1.035)}

/* Extra clarity for the Churchyard and Heritage Booklet preview photographs. */
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced:is([href*="/churchyard/"],[href*="/heritage-booklet/"]) img{filter:url(#howes-gentle-sharpen) brightness(1.065) contrast(1.075) saturate(1.025)}

body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced img[src*="churchyard-restored-v2"]{filter:none}
/* Consistent portrait crops, without the decorative offset backing. */
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .community-content a.story-portrait-panel{border-radius:24px;box-shadow:0 8px 20px #263e5018}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel::before{display:none}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-photo{border-radius:22px;overflow:hidden}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-photo img{object-position:center center!important;transform:scale(1.15)!important;transform-origin:center 45%}
body.rcu-page #rcu-heritage img[src*="churchyard-restored-v2"]{object-position:center top!important;margin-top:8px!important}
/* Gallery enlargement keeps the complete photograph visible. */
body.rcu-page .gallery-enlarge{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;line-height:0}
body.rcu-page .gallery-enlarge:focus-visible{outline:3px solid #365c78;outline-offset:3px}
body.rcu-page dialog.rainham-gallery-viewer{width:min(1100px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:92svh;padding:48px 14px 14px;border:1px solid #ffffffb3;border-radius:24px;background:#f5f8fced;box-shadow:0 24px 80px #20364c50;overflow:hidden}
.rainham-gallery-viewer::backdrop{background:#20364c99;backdrop-filter:blur(14px)}
body.rcu-page .rainham-gallery-viewer>img{display:block;width:100%;height:auto;max-height:calc(92svh - 70px);object-fit:contain;margin:0;border:0;border-radius:12px}
.gallery-viewer-close{position:absolute;top:7px;right:12px;width:36px;height:36px;border:0;border-radius:50%;background:#e5edf3;color:#365c78;font-size:27px;cursor:pointer}
/* Shared enlarged portrait crop: preserve eyes and mouth above the caption. */
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-photo img{transform:scale(1.45)!important;transform-origin:center 42%!important}
/* Give the church tower breathing room within its image area. */
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced:has(img[src*="churchyard-restored-v2"]){overflow:hidden;border-radius:24px;background:#cbd3db}
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced img[src*="churchyard-restored-v2"]{box-sizing:border-box;padding-top:16px;margin-top:0!important;object-fit:contain!important;object-position:center top!important}
/* Keep the brand border when a gallery photograph is enlarged. */
body.rcu-page .rainham-gallery-viewer>img{border:2px solid #bd713f;box-sizing:border-box;border-radius:16px}
/* Restore the churchyard photograph to the top of its natural frame. */
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced img[src*="churchyard-restored-v2"]{padding-top:0;margin-top:0!important}
/* Lock all five heritage previews to one responsive frame size. */
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced{width:100%;aspect-ratio:3/2;overflow:hidden;border-radius:24px;background:#e7edf2}
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced img,
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced img[src*="churchyard-restored-v2"]{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain!important;object-position:center!important;box-sizing:border-box;padding:0;margin:0!important}

/* Photo-only story links: identical close crops, without captions or side panels. */
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-photo{background:none}
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-photo img{object-fit:cover!important;object-position:center 49%!important;transform:none!important;transform-origin:center!important}
/* Tufton fills the consistent frame; favour the upper portrait to sit it lower. */
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced img[src*="CBR_AHK_AH_2299_81-001"]{object-fit:cover!important;object-position:center 15%!important}
/* A slightly closer, clearer stained-glass preview. */
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced[href*="/stained-glass/"] img{object-fit:cover!important;object-position:center!important;transform:scale(1.05);filter:url(#howes-gentle-sharpen) brightness(1.045) contrast(1.065) saturate(1.07)}
/* One consistent enhancement and exact 4% zoom for the five heritage previews. */
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced img,
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced img[src*="churchyard-restored-v2"],
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced[href*="/stained-glass/"] img{object-fit:cover!important;transform:scale(1.04)!important;transform-origin:center;filter:url(#howes-gentle-sharpen) brightness(1.045) contrast(1.065) saturate(1.045)!important}
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced img[src*="CBR_AHK_AH_2299_81-001"]{object-position:center 15%!important}
/* The border belongs to the fixed frame, independently of photo zoom. */
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced{border:2px solid #bd713f!important;border-radius:24px;box-sizing:border-box;overflow:hidden}
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced img{border:0!important;border-radius:0!important}

/* Named story cards preserve the existing image crop above a separate text field. */
body.rcu-page #rcu-stories .community-content a.story-named-card{aspect-ratio:auto;height:auto;overflow:hidden}
body.rcu-page #rcu-stories .story-named-card .story-memorial-photo{position:relative;inset:auto;aspect-ratio:3/2;width:100%;height:auto;border-radius:22px 22px 0 0}
body.rcu-page #rcu-stories .story-named-card .story-memorial-photo img{position:absolute;inset:0}
body.rcu-page #rcu-stories .story-link-details{display:flex;flex-direction:column;gap:8px;padding:20px 22px;text-align:center;background:linear-gradient(125deg,#fffffff0,#edf3f8ed);color:#365c78}
body.rcu-page #rcu-stories .story-link-details>strong{font-size:20px;font-weight:650;line-height:1.35;letter-spacing:-.02em}
body.rcu-page #rcu-stories .story-link-details>span{font-size:15px;font-weight:650;line-height:1.5}
body.rcu-page #rcu-stories .story-link-details>span>span{color:#bd713f;margin-left:8px}
@media(max-width:600px){body.rcu-page #rcu-stories .story-link-details{padding:17px 16px}body.rcu-page #rcu-stories .story-link-details>strong{font-size:17px}}
/* Remove the slight source-image edge on both Harold story links. */
body.rcu-page :is(#rcu-stories,#rcu-churchyard) .story-portrait-panel .story-memorial-photo img{transform:scale(1.02)!important;transform-origin:center 49%!important}
/* Non-destructive clarity and colour for the original stained-glass photographs. */
body.rcu-page #rcu-stained-glass .community-content img{filter:url(#howes-gentle-sharpen) brightness(1.035) contrast(1.10) saturate(1.18)}
/* Match the stained-glass clarity treatment throughout the Tufton photographs. */
body.rcu-page :is(#rcu-tufton-family,#rcu-tufton-stories,#rcu-tufton-family-tree) .community-content img{filter:url(#howes-gentle-sharpen) brightness(1.035) contrast(1.10) saturate(1.18)}

body.rcu-page #rcu-tufton-family-tree .tufton-interactive-link{margin:22px 0 28px}

/* Enlarged gallery: border follows the actual photograph, click image to close. */
body.rcu-page dialog.rainham-gallery-viewer{width:max-content;max-width:calc(100vw - 24px);max-height:92svh;padding:0;border:0;border-radius:0;background:transparent;overflow:visible;box-shadow:none}
body.rcu-page .rainham-gallery-viewer>img{display:block;width:auto;height:auto;max-width:calc(100vw - 28px);max-height:88svh;object-fit:contain;border:2px solid #bd713f;border-radius:0;box-sizing:border-box;cursor:zoom-out;box-shadow:0 16px 50px #20364c50}
body.rcu-page .rainham-gallery-viewer .gallery-viewer-close{top:8px;right:8px;z-index:1;background:#f5f8fce8}

body.rcu-page #rcu-tufton-interactive{width:min(1200px,calc(100vw - 32px));max-height:92svh}
body.rcu-page #rcu-tufton-interactive .dialog-icon,body.rcu-page #rcu-tufton-interactive .heritage-embed h3{display:none}
body.rcu-page #rcu-tufton-interactive .heritage-embed{margin:0}
body.rcu-page #rcu-tufton-interactive .heritage-embed iframe{width:100%;height:60svh;min-height:280px;border:1px solid #bd713f;border-radius:18px;background:white}

/* A physical booklet presentation using the actual cover, not a new illustration. */
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced[href*="/heritage-booklet/"]{display:flex;align-items:center;justify-content:center;position:relative;perspective:1000px;background:radial-gradient(ellipse at 50% 70%,#c9d9e5 0%,#edf3f7 65%,#fff 100%)}
body.rcu-page #rcu-heritage .heritage-book-object{display:block;position:relative;height:82%;aspect-ratio:3/4;transform:rotate(-5deg) rotateY(-14deg);transform-style:preserve-3d;box-shadow:9px 16px 24px #263e5035;isolation:isolate}
body.rcu-page #rcu-heritage .heritage-book-object::before{content:"";position:absolute;inset:4px -8px -4px 5px;background:repeating-linear-gradient(90deg,#fdfbf5 0 2px,#d5d2c8 2px 3px);border:1px solid #d1cdbf;border-radius:0 3px 3px 0;z-index:-1;box-shadow:5px 5px 9px #263e5015}
body.rcu-page #rcu-heritage .heritage-book-object::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#263e5038,transparent 5%,#ffffff70 7%,transparent 11%);pointer-events:none}
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced .heritage-book-object img.heritage-book-cover{display:block;width:100%!important;height:100%!important;object-fit:fill!important;border-radius:2px!important;transform:none!important;filter:none!important;margin:0!important;box-shadow:none}

/* Restore the photograph with a restrained archival warmth. */
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced[href*="/heritage-booklet/"]{display:block;perspective:none;background:#eee6da}
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced[href*="/heritage-booklet/"] img{filter:url(#howes-gentle-sharpen) sepia(.23) saturate(.82) contrast(1.055) brightness(1.035)!important}
/* Clearer photographic detail while retaining restrained vintage warmth. */
body.rcu-page #rcu-heritage .community-content a.heritage-photo-enhanced[href*="/heritage-booklet/"] img{filter:url(#howes-gentle-sharpen) sepia(.15) saturate(.95) contrast(1.12) brightness(1.045)!important}

/* Real activity photographs: fill existing frames, retaining natural faces and details. */
body.rcu-page .strip-photo img{filter:url(#howes-gentle-sharpen) brightness(1.025) contrast(1.045) saturate(1.04)}

body.rcu-page .strip[data-category] .strip-photo img[src*="ca087d73020847f9"],body.rcu-page .strip .strip-photo img[src*="05-Rainham-Church-front-HQ"]{filter:url(#howes-gentle-sharpen) sepia(.15) saturate(.95) contrast(1.12) brightness(1.045)}

/* Stable semantic classes keep Heritage framing independent of image filenames. */
body.rcu-page :is(#rcu-heritage,#rcu-tufton-family,#rcu-churchyard) .community-content a.rainham-heritage-image{display:block;width:100%;height:auto;aspect-ratio:3/2;overflow:hidden;box-sizing:border-box;border:2px solid #bd713f!important;border-radius:24px;margin:24px 0 30px;padding:0;background:#e7edf2;box-shadow:none;perspective:none}
body.rcu-page :is(#rcu-heritage,#rcu-tufton-family,#rcu-churchyard) .community-content a.rainham-heritage-image img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover!important;object-position:center!important;transform:scale(1.04)!important;border:0!important;border-radius:0!important;margin:0!important;padding:0}
body.rcu-page :is(#rcu-heritage,#rcu-tufton-family) .community-content a:is(.heritage-image-tufton-family,.heritage-image-tufton-family-tree) img{object-position:center 7%!important;transform-origin:center 7%!important}
body.rcu-page #rcu-heritage .community-content a.heritage-image-3d-model img{object-position:center top!important;transform:none!important;filter:none!important}
body.rcu-page #rcu-heritage-booklet .book-page img{max-height:max(80px,calc(85svh - 210px));width:auto;height:auto;object-fit:contain;margin:0!important}
/* Harold's borders remain outside the cropped photograph on every story view. */
body.rcu-page :is(#rcu-churchyard,#rcu-stories) .community-content a.story-portrait-panel{border:2px solid #bd713f!important;box-sizing:border-box;overflow:hidden}
body.rcu-page #rcu-sgt-harold-norman-howes .howes-portrait-frame,
body.rcu-page #rcu-sgt-harold-norman-howes .howes-photo-grid figure{border:2px solid #bd713f!important;box-sizing:border-box;overflow:hidden}
/* Let the booklet use the available popup height with compact controls. */
body.rcu-page #rcu-heritage-booklet.rainham-popup{width:min(820px,calc(100vw - 24px));max-height:94svh}
body.rcu-page #rcu-heritage-booklet .rainham-popup-body{padding:10px 14px!important}
body.rcu-page #rcu-heritage-booklet .book-page img{max-height:max(100px,calc(94svh - 175px));max-width:100%;width:auto;height:auto;object-fit:contain}
body.rcu-page #rcu-heritage-booklet .book-controls{margin-top:8px;gap:20px}
body.rcu-page #rcu-heritage-booklet .book-controls button{width:40px;height:40px}
@media(max-width:600px){body.rcu-page #rcu-heritage-booklet .rainham-popup-body{padding:8px 10px!important}body.rcu-page #rcu-heritage-booklet .book-page img{max-height:max(90px,calc(94svh - 180px))}}
