/* Independent, editable photographs on About worship and department cards. */
.about-page .about-department-grid{grid-template-columns:repeat(3,minmax(0,1fr));border:0;gap:24px}
.about-page a.department-card{position:relative;min-height:275px;padding:30px;border:1px solid #dfe8ec;overflow:hidden;isolation:isolate}
.about-page .worship-info-card{overflow:hidden;isolation:isolate;min-height:280px;display:flex;flex-direction:column}
.about-page .worship-info-card .worship-card-mark{position:absolute;top:30px;right:30px}
.about-page .worship-info-card .worship-detail-link{margin-top:auto;padding-top:20px;align-self:start}
.about-page .department-card .department-open{margin-top:auto;padding-top:24px}
.about-page .about-card-photo{position:absolute;inset:0;background-size:cover;background-position:center;z-index:-2;pointer-events:none;opacity:var(--card-photo-opacity,1);filter:var(--card-photo-filter,none);transition:transform .7s ease,filter .6s ease,opacity .6s ease}
.about-page .has-card-photo{background:#132c29;color:#fff;border-color:transparent}
.about-page .has-card-photo:before{content:"";position:absolute;inset:0;background:var(--card-tint,#16382f);opacity:var(--card-strength,.35);z-index:-1;pointer-events:none}
.about-page .has-card-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#071a2420 0%,#071a2480 55%,#071a24dc 100%);z-index:-1;pointer-events:none}
.about-page .has-card-photo :is(h3,p,.department-age,.department-open,.worship-card-number,.worship-card-mark,.worship-detail-link){color:#fff;text-shadow:0 1px 5px #081d28a6}
.about-page .has-card-photo .worship-card-line{background:#ffffff88}
/* One editable caption surface wraps every department card's text. */
.about-page a.department-card{--department-pad-x:30px;--department-pad-y:30px}
.about-page .department-card .about-card-copy{position:relative;isolation:isolate;z-index:0;display:flex;flex-direction:column;flex:1;min-width:0}
.about-page .about-department-grid .has-card-photo .about-card-copy{color:var(--caption-text-color,#fff)}
.about-page .about-department-grid .has-card-photo .about-card-copy :is(.department-age,h3,p,.department-open){color:inherit;text-shadow:0 1px 3px #071a2480}
.about-page .about-department-grid .has-card-photo .about-card-copy:before{content:"";position:absolute;inset:-8px -6px;z-index:-1;background:var(--caption-color,#071a24);opacity:var(--caption-opacity,.65);border-radius:6px;pointer-events:none}
.about-page .about-department-grid .has-card-photo .department-age{align-self:flex-start}
.about-page .about-department-grid .has-card-photo p{font-weight:500}
.about-page .about-department-grid .has-card-photo .department-open{font-weight:600}
.about-page .about-department-grid .has-card-photo:before{transition:opacity .6s ease}
.about-page .about-department-grid .has-card-photo:after{content:none}
.about-page .about-department-grid .has-card-photo[data-card-layout="gradient"] .about-card-copy{margin-top:20px}
.about-page .about-department-grid .has-card-photo[data-card-layout="gradient"] .about-card-copy:before{inset:-24px calc(-1 * var(--department-pad-x)) calc(-1 * var(--department-pad-y));background:linear-gradient(180deg,transparent,var(--caption-color,#071a24) 24px,var(--caption-color,#071a24));border-radius:0}
.about-page .about-department-grid a.has-card-photo[data-card-layout="split"]{padding:0;--department-photo-height:140px}
.about-page .about-department-grid .has-card-photo[data-card-layout="split"]:before{content:"";inset:0 0 auto;height:var(--department-photo-height);z-index:1}
.about-page .about-department-grid .has-card-photo[data-card-layout="split"] .about-card-photo{position:relative;inset:auto;z-index:0;height:var(--department-photo-height);flex:none}
.about-page .about-department-grid .has-card-photo[data-card-layout="split"] .about-card-copy{padding:22px;background:#f3f6f7;color:#213d49}
.about-page .about-department-grid .has-card-photo[data-card-layout="split"] .about-card-copy:before{content:none}
.about-page .about-department-grid .has-card-photo[data-card-layout="split"] .about-card-copy :is(.department-age,h3,p,.department-open){text-shadow:none}
@media(max-width:767px){.about-page a.department-card{--department-pad-x:10px;--department-pad-y:16px}.about-page .about-department-grid a.has-card-photo[data-card-layout="split"]{--department-photo-height:95px}.about-page .about-department-grid .has-card-photo[data-card-layout="split"] .about-card-copy{padding:14px 10px}}

@media(hover:hover) and (pointer:fine){.about-page .about-department-grid .has-card-photo:is(:hover,:focus-visible) .about-card-photo{transform:scale(1.06);filter:none;opacity:1}.about-page .about-department-grid .has-card-photo:is(:hover,:focus-visible):before,.about-page .about-department-grid .has-card-photo:is(:hover,:focus-visible):after{opacity:0}}
@media(hover:hover) and (pointer:fine){.about-page .has-card-photo:hover .about-card-photo{transform:scale(1.06)}.about-page a.department-card.has-card-photo:hover{background:#132c29;transform:none;box-shadow:0 12px 28px #14352f26}}
@media(max-width:767px){.about-page .about-department-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.about-page a.department-card{padding:22px 16px;min-height:265px}.about-page .department-card h3{font-size:18px;line-height:1.5}.about-page .department-card p{font-size:13px;line-height:1.8}.about-page .department-card .department-open{font-size:12px}.about-page .worship-info-card{min-height:250px}.about-page .has-card-photo:hover{translate:none}}
@media(prefers-reduced-motion:reduce){.about-page .about-card-photo,.about-page .about-department-grid .has-card-photo:before,.about-page .about-department-grid .has-card-photo:after{transition:none}.about-page .has-card-photo:is(:hover,:focus-visible) .about-card-photo,.about-page .about-department-grid .has-card-photo:is(:hover,:focus-visible) .about-card-photo{transform:none}}
