.home-page .heritage-section>.shell{width:100%}.home-page .heritage-section .heritage-footer{justify-content:flex-end}.home-page .heritage-heading,.home-page .heritage-footer,.church-gallery-toolbar{width:min(1280px,100% - 48px);margin-inline:auto}.church-gallery{--church-gap:16px;--church-group-width:clamp(660px, 66vw, 1020px);z-index:2;flex-direction:column;flex:1;gap:15px;min-width:0;display:flex;position:relative}.church-gallery-toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.church-gallery-toolbar p{color:#c4d0c9;margin:0;font-size:.8rem}.church-gallery-count{color:#fff;margin-right:5px;font-weight:700}.church-gallery-controls{align-items:center;gap:8px;display:flex}.church-gallery-controls button{color:#fff;cursor:pointer;background:#ffffff08;border:1px solid #ffffff35;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-width:40px;height:40px;transition:background .18s;display:inline-flex}.church-gallery-controls button:hover{background:#ffffff20}.church-gallery-controls .church-gallery-toggle{min-width:96px;padding:0 13px;font-size:.72rem}.church-gallery-controls button:disabled{opacity:.5;cursor:default}.church-gallery-rail{overscroll-behavior-x:contain;scrollbar-width:none;scroll-behavior:auto;border-radius:0;flex:1;min-height:360px;display:flex;overflow:auto hidden}.church-gallery-rail::-webkit-scrollbar{display:none}.church-gallery-cycle{gap:var(--church-gap);padding-right:var(--church-gap);flex:none;display:flex}.church-gallery-group{flex:0 0 var(--church-group-width);width:var(--church-group-width);gap:var(--church-gap);grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:1.35fr 1fr;display:grid}.church-gallery-card{isolation:isolate;background:#28463f;border-radius:22px;min-width:0;min-height:0;display:block;position:relative;overflow:hidden}.church-gallery-card-large{grid-row:1/3}.church-gallery-card:after{z-index:1;content:"";pointer-events:none;background:linear-gradient(#0000,#081a1610 42%,#081a16e8);position:absolute;inset:0}.church-gallery-card img{object-fit:cover;width:100%;height:100%;transition:transform .85s cubic-bezier(.22,1,.36,1);position:absolute;inset:0}.church-gallery-card:hover img{transform:scale(1.04)}.church-gallery-caption{z-index:2;color:#fff;gap:6px;display:grid;position:absolute;bottom:24px;left:22px;right:22px}.church-gallery-caption small{color:#ffffffb8;letter-spacing:.1em;text-transform:uppercase;font-size:.61rem;font-weight:700}.church-gallery-caption strong{font-family:var(--font-display), Georgia, serif;overflow-wrap:anywhere;font-size:clamp(1.65rem,2.3vw,2.5rem);font-weight:600;line-height:1.02}.church-gallery-card-large .church-gallery-caption strong{font-size:clamp(2.3rem,3.3vw,3.6rem)}.church-gallery-number{z-index:2;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#142e275c;border:1px solid #ffffff50;border-radius:99px;padding:5px 9px;font-size:.63rem;font-weight:600;position:absolute;top:18px;left:18px}.church-gallery :focus-visible{outline-offset:-4px;outline:3px solid #f3c99b}@media (max-width:860px){.church-gallery{--church-group-width:88vw;--church-gap:12px}.church-gallery-rail{min-height:390px}.church-gallery-caption{bottom:18px;left:15px;right:15px}.church-gallery-caption strong{font-size:1.7rem}.church-gallery-card-large .church-gallery-caption strong{font-size:2.4rem}}@media (max-width:620px){.church-gallery{--church-group-width:130vw;--church-gap:10px;gap:12px}.church-gallery-group{grid-template-columns:1.1fr 1fr}.church-gallery-rail{min-height:340px}.church-gallery-card{border-radius:16px}.church-gallery-toolbar{gap:8px}.church-gallery-toolbar p{max-width:110px;font-size:.7rem;line-height:1.4}.church-gallery-controls{gap:5px}.church-gallery-controls button{min-width:38px;height:38px}.church-gallery-controls .church-gallery-toggle{min-width:82px;padding:0 10px}.church-gallery-caption{bottom:16px;left:12px;right:12px}.church-gallery-caption small{font-size:.52rem}.church-gallery-caption strong{font-size:1.5rem}.church-gallery-card-large .church-gallery-caption strong{font-size:2rem}.church-gallery-number{top:12px;left:12px}}@media (prefers-reduced-motion:reduce){.church-gallery-card img{transition:none}.church-gallery-card:hover img{transform:none}}
