/* The existing Groups carousel and congregation banner share one desktop canvas. */
@media (min-width: 1025px) {
    .home-page .home-groups-scene {
        position: relative;
        background-color: #071d3b;
        background-image: linear-gradient(to bottom, rgba(3,19,43,.78), rgba(3,19,43,.64) 52%, rgba(3,19,43,.24) 88%), url('../images/bg/groups-congregation.webp');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center, center 52%;
    }
    .home-page .home-groups-scene #ministries-section { padding: 58px 0 0; background: transparent; }
    .home-groups-scene #ministries-section .title-wrap { margin-bottom: 36px; }
    .home-groups-scene #ministries-section .sub-title { color: #22d1f0; }
    .home-groups-scene #home-groups-title { color: #fff; font-size: clamp(32px,3.4vw,48px); }
    .home-groups-scene #ministries-section .border-bottom { border-color: #22d1f0 !important; background-color: #22d1f0; }
    .home-groups-scene .ministries-main-wrapper .owl-stage { display: flex; }
    .home-groups-scene .ministries-main-wrapper .owl-stage::after { display: none; }
    .home-groups-scene .ministries-main-wrapper .owl-item,
    .home-groups-scene .ministries-main-wrapper .owl-item > .item { display: flex; }
    .home-groups-scene .ministries-main-wrapper .owl-item > .item { width: 100%; }
    .home-groups-scene .ministries-box-style-2 {
        width: 100%; margin-bottom: 18px; overflow: hidden;
        background: #fff; border: 1px solid rgba(255,255,255,.55);
        border-bottom: 4px solid #16c4ed; border-radius: 14px;
        box-shadow: 0 14px 32px rgba(0,10,28,.2);
    }
    .home-groups-scene .ministries-inner { display: flex; flex-direction: column; height: 100%; }
    .home-groups-scene .ministries-thumb { flex: 0 0 auto; aspect-ratio: 3 / 2; max-height: 230px; }
    .home-groups-scene .ministries-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .home-groups-scene .ministries-content { display: flex; flex-direction: column; flex: 1; padding: 24px; }
    .home-groups-scene .ministries-title { margin-bottom: 12px; }
    .home-groups-scene .ministries-title h4 { margin-bottom: 0; font-size: 25px; line-height: 1.2; }
    .home-groups-scene .ministries-title a { color: #071d42; }
    .home-groups-scene .ministries-desc { flex: 1; }
    .home-groups-scene .ministries-desc p { margin-bottom: 0; color: #5a6a7d; font-size: 15px; line-height: 1.65; }
    .home-groups-scene .ministries-link.margin-top-20 { margin-top: 20px; }
    .home-groups-scene .ministries-link .link { color: #087bc1; border: 0; font-size: 15px; }
    .home-groups-scene .ministries-link .link::after { margin-left: 10px; content: '\2192'; }
    .home-groups-scene .ministries-main-wrapper .owl-nav button {
        top: -91px; right: 0; width: 42px; height: 42px;
        border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(3,19,43,.3);
    }
    .home-groups-scene .ministries-main-wrapper .owl-nav .owl-prev { margin-right: 54px; }
    .home-groups-scene .ministries-main-wrapper .owl-nav span::after { display: none; }
    .home-groups-scene .ministries-main-wrapper .owl-nav button:hover,
    .home-groups-scene .ministries-main-wrapper .owl-nav button:focus-visible { background: #087bc1; }
    .home-groups-scene .ministries-main-wrapper .owl-dots { margin-top: 6px; }
    .home-groups-scene .ministries-main-wrapper .owl-dot span {
        width: 9px; height: 9px; border: 0; border-radius: 50%; transform: none;
        background: rgba(255,255,255,.7);
    }
    .home-groups-scene .ministries-main-wrapper .owl-dot.active span { background: #16c4ed; }
    .home-groups-scene .ministries-main-wrapper button:focus-visible { outline: 2px solid #70e3ff; outline-offset: 4px; }
    /* As the cards pass, this clear band reveals more of the same photograph. */
    .home-groups-scene .header-section { height: clamp(240px,30vh,360px); background: none; box-shadow: none; }
    .home-groups-scene .shape-bottom .shape-fill { fill: var(--home-cream,#fcf8ef); }
}
@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
    /* Only the photograph stays anchored to the viewport; the overlay scrolls. */
    .home-page .home-groups-scene { background-attachment: scroll, fixed; }
}
@media (max-width: 1024px) {
    .home-groups-scene .ministries-main-wrapper .owl-dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .home-groups-scene,
    .home-groups-scene .header-section { background-attachment: scroll; }
}
@media print {
    .home-page .home-groups-scene { background: #fff; }
    .home-groups-scene #home-groups-title { color: #071d42; }
    .home-groups-scene .header-section { display: none; }
}
