/* Small spacing and alignment refinements requested after visual review. */
.homepage .official-logo .brand-window{width:455px}
.homepage .official-logo .brand-window{border:0;box-shadow:none;overflow:hidden;clip-path:inset(3px 0)}
.homepage .official-logo .brand-window{overflow:visible;clip-path:none;mix-blend-mode:normal}
.homepage .official-logo img.brand-wordmark{mix-blend-mode:screen;clip-path:inset(28% 0 28%)}
.homepage .hero-verse>span{display:block}
.homepage .hero-inner{padding-top:24px;padding-bottom:70px}
.homepage .welcome{padding:58px 0}
.homepage .welcome .quick-grid b{font-size:calc(6.25cqw + 1px)}
.homepage .welcome .quick-grid small{font-size:calc(4.5cqw + 1px)}

/* Keep the sermon title, artwork, and details on the card's center axis. */
.homepage .welcome .sermon-panel{
  grid-template-columns:minmax(0,1fr);
  justify-items:stretch;
}
.homepage .welcome .sermon-title,
.homepage .welcome .sermon-art,
.homepage .welcome .sermon-meta{grid-column:1;min-width:0;width:100%}
.homepage .welcome .sermon-title{text-align:center}
.homepage .welcome .sermon-meta{
  grid-template-columns:minmax(0,1fr) auto;
  justify-items:stretch;
  text-align:left;
  padding-left:9.375cqw;
  padding-right:5.625cqw;
}
.homepage .welcome .sermon-copy{align-items:flex-start;text-align:left}
.homepage .welcome .sermon-copy time{margin:0;font-size:2cqw;font-weight:500;line-height:1.4;letter-spacing:-.5px;color:#15191c}
.homepage .welcome .sermon-art{background-image:url('images/original-cards/sermon-background.svg');background-size:120% auto;background-position:35% 44.5%;background-repeat:no-repeat}
.homepage .welcome .sermon-art .play{display:none}

.homepage .community-stage{padding-top:36px;padding-bottom:36px}
.homepage footer{padding-top:48px;padding-bottom:48px}

@media(max-width:1100px){
  .homepage .official-logo .brand-window{width:358px}
  .homepage .bar{height:120px;min-height:120px}
}
@media(max-width:850px){
  .homepage .official-logo .brand-window{width:299px}
  .homepage .bar{height:100px;min-height:100px}
  .homepage .hero-inner{padding-top:18px;padding-bottom:54px}
  .homepage .welcome{padding:48px 0}
}
@media(max-width:600px){
  .homepage .official-logo .brand-window{width:307px}
  .homepage .bar{height:104px;min-height:104px}
  .homepage .hero-inner{padding-top:12px;padding-bottom:42px}
  .homepage .welcome{padding:40px 0 48px}
  .homepage .welcome .quick-grid b{font-size:calc(5.5cqw + 1px)}
  .homepage .welcome .quick-grid small{font-size:calc(3.5cqw + 1px)}
  .homepage .welcome .sermon-meta{padding-top:4.75cqw;padding-bottom:7cqw}
  .homepage .community-stage{padding-top:30px;padding-bottom:30px}
  .homepage footer{padding-top:42px;padding-bottom:42px}
}
@media(max-width:400px){.homepage .official-logo .brand-window{width:min(280px,calc(100vw - 75px))}.homepage .bar{gap:5px}}

/* Use the new pastor portrait in the Sunday sermon artwork */
.homepage .welcome .sermon-art{position:relative;background:radial-gradient(ellipse at 28% 44%,#f9fafb 0,#e9edf2 48%,#d7e0ea 100%)!important;overflow:hidden}
.homepage .welcome .sermon-art .sermon-pastor{position:absolute;right:2%;bottom:0;height:100%;width:auto;max-width:62%;object-fit:contain;object-position:center bottom;mix-blend-mode:multiply;mask-image:linear-gradient(90deg,transparent 0%,#000 18%);}

/* Match the soft-focus sermon preview with a centered play cue. */
.homepage .welcome .sermon-art{background-image:url('images/original-cards/sermon-background.svg')!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important}
.homepage .welcome .sermon-art .play{display:grid!important;position:absolute;left:50%;top:50%;z-index:3;width:72px;height:72px;margin:0;padding:0!important;place-items:center;border:0!important;border-radius:50%;background:transparent!important;color:#ffffffe6;transform:translate(-50%,-50%)}
.homepage .welcome .sermon-art .play svg{display:block;width:100%;height:100%}
.homepage .welcome .sermon-art:hover .play{transform:translate(-50%,-50%) scale(1.05)}

