.f12-home {
    background: var(--f12-color-surface-page);
    color: var(--f12-color-text-primary);
}

.f12-home .home-page-container {
    width: min(100%, var(--f12-layout-content-max, 1280px));
    padding: var(--f12-space-12) var(--f12-space-8) var(--f12-space-16);
}

/* Hero */
.f12-home .hero-section {
    min-height: 42vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

.f12-home .hero-image,
.f12-home .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.f12-home .hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.f12-home .hero-content {
    position: relative;
    z-index: 3;
    padding: var(--f12-space-16) 0;
    max-width: 800px;
    text-align: center;
}

.f12-home .hero-search {
    margin-top: calc(var(--f12-space-16) * -1);
    position: relative;
    z-index: 4;
}

.f12-home .hero-search__field {
    max-width: 520px;
    margin: 0 auto;
}

.f12-home .hero-search .ep-search-form {
    width: 100%;
    position: relative;
}

.f12-home .hero-search + .home-page-container {
    padding-top: var(--f12-space-6);
}

.f12-home .f12-sections {
    padding-bottom: var(--f12-space-8);
}

/* Shared transitions */
.f12-home .resource-section-header a.f12-btn--primary,
.f12-home .church-button-group a.f12-btn--primary,
.f12-home .church-button-group a.f12-btn--secondary {
    transition:
        transform var(--f12-duration-normal) var(--f12-ease-standard),
        box-shadow var(--f12-duration-normal) var(--f12-ease-standard),
        background-color var(--f12-duration-normal) var(--f12-ease-standard),
        border-color var(--f12-duration-normal) var(--f12-ease-standard),
        color var(--f12-duration-normal) var(--f12-ease-standard);
}

.f12-home .resource-section-header a.f12-btn--primary:hover,
.f12-home .church-button-group a.f12-btn--primary:hover,
.f12-home .church-button-group a.f12-btn--secondary:hover {
    transform: translateY(-1px);
    box-shadow: var(--f12-shadow-1);
}

.f12-home .featured-media img,
.f12-home .f12-resource-media img,
.f12-home .church-media img {
    transition: transform 240ms var(--f12-ease-standard);
}

.f12-home .featured-media:hover img,
.f12-home .f12-resource-media:hover img,
.f12-home .church-media:hover img {
    transform: scale(1.035);
}

/* Motion */
.f12-home .motion-target {
    opacity: 1;
    transform: none;
    filter: none;
}

@media (prefers-reduced-motion: no-preference) {
    .js-motion .f12-home .motion-target {
        opacity: 0;
        transform: translateY(14px) scale(0.985);
    }

    .js-motion .f12-home .motion-target.is-visible {
        animation: f12-home-reveal-up 520ms var(--f12-ease-standard) both;
        animation-delay: var(--reveal-delay, 0ms);
    }
}

@keyframes f12-home-reveal-up {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* About split */
.f12-home .about-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--f12-space-16);
    align-items: center;
}

.f12-home .about-beliefs-split {
    --f12-split-col-gap: var(--f12-space-16);
}

.f12-home .about-cta-hub {
    display: grid;
    gap: var(--f12-space-4);
    align-self: stretch;
}

.f12-home .about-cta-hub__actions {
    display: grid;
    grid-template-columns: minmax(min-content, 1.3fr) repeat(3, minmax(0, 1fr));
    gap: var(--f12-space-3);
    align-items: center;
    width: min(100%, 680px);
    margin-inline: auto;
}

.f12-home .about-action-card-wrap {
    min-width: 0;
    width: 100%;
}

.f12-home .about-action-card {
    padding: var(--f12-space-4);
    border-radius: var(--f12-radius-2);
    border: 1px solid var(--f12-color-border-subtle);
    background: #fff;
    box-shadow: var(--f12-shadow-surface-subtle);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 9px;
    aspect-ratio: 1 / 1;
    min-height: 0;
    position: relative;
    transition:
        transform var(--f12-duration-normal) var(--f12-ease-standard),
        box-shadow var(--f12-duration-normal) var(--f12-ease-standard),
        border-color var(--f12-duration-normal) var(--f12-ease-standard);
}

.f12-home .about-action-card,
.f12-home .about-action-card:visited {
    color: var(--f12-color-text-heading);
    text-decoration: none;
}

.f12-home .about-action-card.f12-on-dark,
.f12-home .about-action-card.f12-on-dark:visited {
    color: #fff;
}

.f12-home .about-action-card:hover,
.f12-home .about-action-card:focus-visible {
    transform: translateY(-7px);
    box-shadow: var(--f12-shadow-surface-hover);
    border-color: rgba(15, 23, 42, 0.34);
    text-decoration: none;
    color: var(--f12-color-text-heading);
}

.f12-home .about-action-card.f12-on-dark:hover,
.f12-home .about-action-card.f12-on-dark:focus-visible {
    color: #fff;
}

.f12-home .about-action-card--feature {
    padding: var(--f12-space-5);
    background: var(--f12-color-brand-editorial);
    border-color: var(--f12-color-brand-editorial);
    color: #fff;
    aspect-ratio: auto;
    min-height: 154px;
    justify-content: center;
}

.f12-home .about-action-card__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    transition:
        color var(--f12-duration-fast) var(--f12-ease-standard),
        transform var(--f12-duration-fast) var(--f12-ease-standard);
}

.f12-home .about-action-card__icon svg {
    width: 100%;
    height: 100%;
}

.f12-home .about-action-card--feature .about-action-card__icon {
    width: 24px;
    height: 24px;
    color: #fff;
}

.f12-home .about-action-card:hover .about-action-card__icon,
.f12-home .about-action-card:focus-visible .about-action-card__icon {
    color: currentColor;
    transform: scale(1.18);
}

.f12-home .about-action-card__title {
    margin: 0;
    font-size: var(--f12-font-size-sm);
    font-weight: var(--f12-font-weight-semibold);
    line-height: 1.2;
    color: currentColor;
    min-height: 2.4em;
}

.f12-home .about-action-card--feature .about-action-card__title {
    font-size: var(--f12-font-size-md);
    min-height: 0;
    color: #fff;
}

.f12-home .about-action-card__title--rotating {
    display: grid;
    width: 100%;
    overflow: hidden;
}

.f12-home .about-action-card__phrase {
    grid-area: 1 / 1;
    align-self: center;
    opacity: 0;
    transform: translateX(100%);
}

.f12-home .about-action-card__phrase.is-active {
    opacity: 1;
    transform: translateX(0);
}

.f12-home .about-action-card__phrase.is-leaving {
    transform: translateX(-100%);
}

@media (prefers-reduced-motion: no-preference) {
    .f12-home .about-action-card__phrase {
        transition:
            opacity 350ms ease,
            transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .f12-home .about-action-card__title--rotating.is-wiggling {
        animation: f12-home-title-wiggle 450ms ease-in-out;
    }
}

@keyframes f12-home-title-wiggle {
    0%, 100% {
        transform: translateX(0) rotate(0);
    }
    25% {
        transform: translateX(-2px) rotate(-0.6deg);
    }
    50% {
        transform: translateX(2px) rotate(0.6deg);
    }
    75% {
        transform: translateX(-1px) rotate(-0.3deg);
    }
}

.f12-home .about-action-card__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 247, 247, 0.95);
    color: var(--f12-color-brand-editorial);
    font-size: 0.62rem;
    font-weight: var(--f12-font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

/* Topic spotlight uses the shared heading, media, body mobile order. */
.f12-home .home-topic {
    --f12-split-col-gap: var(--f12-space-16);
    /* This feature has no CTA; omit the shared template's empty rows and gaps. */
    grid-template-rows: auto auto;
    grid-template-areas: "intro media" "body media";
}

@media (max-width: 1024px) {
    .f12-home .home-topic {
        grid-template-rows: auto auto auto;
        grid-template-areas: "intro" "media" "body";
    }
}

.f12-home .home-topic__articles.featured-collection-rail {
    display: block;
}

.f12-home .home-topic__articles .featured-collection-rail__list {
    max-block-size: none;
    overflow: visible;
}

/* About beliefs media */
.f12-home .featured-media {
    aspect-ratio: 16 / 10;
    background: var(--f12-color-surface-subtle);
    border-radius: var(--f12-radius-3);
    overflow: hidden;
    box-shadow: var(--f12-shadow-1);
}

.f12-home .featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.f12-home .about-media {
    --f12-home-play-x: 50%;
    --f12-home-play-y: 50%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.f12-home .video-thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.f12-home .video-thumb--button {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    text-align: inherit;
}

.f12-home .video-thumb::before {
    content: "";
    position: absolute;
    left: var(--f12-home-play-x);
    top: var(--f12-home-play-y);
    width: min(18%, 5rem);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 248, 238, 0.16) 0%,
        rgba(255, 248, 238, 0.08) 48%,
        rgba(255, 248, 238, 0) 76%
    );
    opacity: 0.58;
    pointer-events: none;
    transition:
        opacity var(--f12-duration-fast) var(--f12-ease-standard),
        transform var(--f12-duration-fast) var(--f12-ease-standard);
    z-index: 1;
}

.f12-home .video-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.32) 0%,
        rgba(0, 0, 0, 0.1) 55%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
}

.f12-home .about-media .f12-media-play {
    --f12-media-play-border-color: rgba(255, 255, 255, 0.72);
    --f12-media-play-bg: rgba(255, 247, 240, 0.11);
    --f12-media-play-shadow: 0 10px 22px rgba(48, 27, 8, 0.16);
    --f12-media-play-shadow-active: 0 14px 26px rgba(48, 27, 8, 0.24);
    --f12-media-play-color: rgba(255, 255, 255, 0.96);
    --f12-media-play-duration: 4.8s;

    left: var(--f12-home-play-x);
    top: var(--f12-home-play-y);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 247, 240, 0.08)),
        var(--f12-media-play-bg);
    opacity: 0.98;
    transition:
        opacity var(--f12-duration-fast) var(--f12-ease-standard),
        background var(--f12-duration-fast) var(--f12-ease-standard),
        border-color var(--f12-duration-fast) var(--f12-ease-standard),
        box-shadow var(--f12-duration-fast) var(--f12-ease-standard);
}

.f12-home .about-media .video-thumb:hover .f12-media-play,
.f12-home .about-media .video-thumb:focus-visible .f12-media-play,
.f12-home .about-media .video-thumb:focus-within .f12-media-play {
    --f12-media-play-bg: rgba(255, 248, 240, 0.16);
    --f12-media-play-border-color: rgba(255, 255, 255, 0.78);
    opacity: 1;
}

.f12-home .about-media .video-thumb:hover::before,
.f12-home .about-media .video-thumb:focus-visible::before,
.f12-home .about-media .video-thumb:focus-within::before {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(1.03);
}

.f12-home .about-media .video-thumb:focus-visible {
    outline: 0;
}

.f12-home .about-media .video-thumb:focus-visible .f12-media-play {
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.26),
        0 18px 34px rgba(7, 10, 16, 0.34);
}

.f12-home .about-label {
    position: absolute;
    bottom: -28px;
    right: -48px;
    display: flex;
    align-items: center;
    gap: var(--f12-space-2);
    font-size: var(--f12-font-size-sm);
    font-weight: var(--f12-font-weight-medium);
    color: var(--f12-color-text-muted);
    pointer-events: none;
    z-index: 5;
}

.f12-home .about-label svg {
    width: 32px;
    height: 32px;
    color: var(--f12-color-brand-editorial);
    opacity: 0.75;
}

/* Lyrics and chords: the two sheets share one eight-second peel cycle. */
@property --f12-worship-peel-edge {
    syntax: '<percentage>';
    inherits: true;
    initial-value: 100%;
}
@property --f12-worship-fold-width {
    syntax: '<percentage>';
    inherits: true;
    initial-value: 0%;
}
@property --f12-worship-fold-opacity {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
}

.f12-home .lyrics-chords-promo {
    --f12-split-col-gap: var(--f12-space-12);
}

.f12-home .lyrics-chords-promo__visual {
    min-width: 0;
}

.f12-home .lyrics-chords-promo__media {
    position: relative;
    isolation: isolate;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--f12-radius-3);
    background: #fff;
}

.f12-home .lyrics-chords-promo__sheet {
    position: absolute;
    inset: 0;
    display: block;
    animation: f12-worship-peel 8s linear infinite;
    animation-delay: var(--worship-slide-delay);
}

.f12-home .lyrics-chords-promo__sheet img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
    mask-image: linear-gradient(45deg, #000 calc(var(--f12-worship-peel-edge) - .15%), transparent var(--f12-worship-peel-edge));
}

.f12-home .lyrics-chords-promo__sheet--artwork img {
    object-fit: contain;
}

.f12-home .lyrics-chords-promo__sheet::before,
.f12-home .lyrics-chords-promo__sheet::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: var(--f12-worship-fold-opacity);
}

.f12-home .lyrics-chords-promo__sheet::before {
    background: linear-gradient(45deg, transparent calc(var(--f12-worship-peel-edge) - 3%), #1d181433 var(--f12-worship-peel-edge), #1d18141f calc(var(--f12-worship-peel-edge) + 3%), transparent calc(var(--f12-worship-peel-edge) + 8%));
    filter: blur(6px);
}

.f12-home .lyrics-chords-promo__sheet::after {
    --fold-span: calc(var(--f12-worship-fold-width) * .6);
    background: linear-gradient(45deg, transparent calc(var(--f12-worship-peel-edge) - var(--fold-span)), #c6c5c2 calc(var(--f12-worship-peel-edge) - var(--fold-span) * .97), #e5e3df calc(var(--f12-worship-peel-edge) - var(--fold-span) * .68), #faf9f6 calc(var(--f12-worship-peel-edge) - var(--fold-span) * .22), #fff calc(var(--f12-worship-peel-edge) - var(--fold-span) * .04), #c6bfb2 var(--f12-worship-peel-edge), transparent calc(var(--f12-worship-peel-edge) + .2%));
}

@keyframes f12-worship-peel {
    0%, 34.5% { z-index: 3; --f12-worship-peel-edge: 100%; --f12-worship-fold-width: 0%; --f12-worship-fold-opacity: 0; }
    37.5% { z-index: 3; --f12-worship-peel-edge: 98%; --f12-worship-fold-width: 1.5%; --f12-worship-fold-opacity: 1; }
    42% { z-index: 3; --f12-worship-peel-edge: 91%; --f12-worship-fold-width: 4%; --f12-worship-fold-opacity: 1; animation-timing-function: cubic-bezier(.55, 0, .8, .55); }
    45% { z-index: 3; --f12-worship-peel-edge: 65%; --f12-worship-fold-width: 9%; --f12-worship-fold-opacity: 1; }
    49.999% { z-index: 3; --f12-worship-peel-edge: -14%; --f12-worship-fold-width: 12%; --f12-worship-fold-opacity: 1; }
    50%, 100% { z-index: 1; --f12-worship-peel-edge: 100%; --f12-worship-fold-width: 0%; --f12-worship-fold-opacity: 0; }
}

.f12-home .lyrics-chords-promo .f12-split-feature__intro,
.f12-home .lyrics-chords-promo .f12-split-feature__cta {
    position: relative;
}

.f12-home .lyrics-chords-promo__notes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    color: var(--f12-color-text-muted);
}

.f12-home .lyrics-chords-promo__note {
    position: absolute;
    top: 0;
    right: 22px;
    width: 19px;
    height: 19px;
    opacity: 0;
    animation: f12-worship-note 12s ease-in-out infinite;
    animation-delay: -3s;
}

.f12-home .lyrics-chords-promo__note svg {
    display: block;
    width: 100%;
    height: 100%;
}

.f12-home .lyrics-chords-promo__note + .lyrics-chords-promo__note {
    top: -20px;
    right: 92px;
    width: 18px;
    height: 18px;
    animation-delay: -7s;
}

.f12-home .lyrics-chords-promo__notes--lower .lyrics-chords-promo__note {
    top: 8px;
    right: 28px;
    width: 22px;
    height: 22px;
    animation-delay: -10s;
}

.f12-home .lyrics-chords-promo__notes--lower .lyrics-chords-promo__note + .lyrics-chords-promo__note {
    top: 24px;
    right: 104px;
    width: 19px;
    height: 19px;
    animation-delay: -1s;
}

@keyframes f12-worship-note {
    0%, 100% { opacity: 0; transform: translate(-2px, 3px) rotate(-6deg); }
    18% { opacity: .52; }
    40% { opacity: .65; }
    75%, 99% { opacity: 0; transform: translate(4px, -11px) rotate(5deg); }
}

@media (max-width: 1024px) {
    .f12-home .lyrics-chords-promo {
        grid-template-areas: "intro" "body" "cta" "media";
    }
}

@media (max-width: 420px) {
    .f12-home .lyrics-chords-promo__notes--lower .lyrics-chords-promo__note + .lyrics-chords-promo__note {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .f12-home .lyrics-chords-promo__sheet {
        animation: none;
        display: none;
    }
    .f12-home .lyrics-chords-promo__sheet:first-child {
        display: block;
    }
    .f12-home .lyrics-chords-promo__sheet img {
        mask-image: none;
    }
    .f12-home .lyrics-chords-promo__sheet::before,
    .f12-home .lyrics-chords-promo__sheet::after,
    .f12-home .lyrics-chords-promo__notes {
        display: none;
    }
}

/* Resources */
.f12-home .resource-section-header {
    column-gap: var(--f12-space-8);
    row-gap: var(--f12-space-8);
}

.f12-home .resources-context-band {
    padding: var(--f12-space-10);
    border-radius: var(--f12-radius-3);
    background: var(--f12-color-surface-subtle);
}

.f12-home .resources-context-band__inner {
    display: grid;
    gap: var(--f12-space-16);
}

.f12-home .resource-section-header--centered {
    justify-content: center;
    text-align: center;
}

.f12-home .resource-section-header--centered .f12-section-intro {
    align-items: center;
    margin-inline: auto;
}

.f12.f12-home a:is(
    .resource-section-title-link,
    .featured-resources__lead-title-link,
    .featured-resources__card-title-link,
    .featured-collection-rail__title-link,
    .event-card-title-link
):is(:link, :visited, :hover, :focus, :focus-visible, :active) {
    color: var(--f12-color-text-heading);
    text-decoration: none;
}

.f12-home .featured-resources,
.f12-home .featured-resources__slider,
.f12-home .featured-resources__slider-frame,
.f12-home .featured-resources__viewport {
    min-width: 0;
    max-width: 100%;
}

.f12-home .featured-resources__lead {
    --f12-split-col-gap: clamp(var(--f12-space-8), 5vw, var(--f12-space-16));
    --f12-split-row-gap: var(--f12-space-4);
    align-items: center;
}

.f12-home .featured-resources__lead-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--f12-radius-3);
    background: var(--f12-color-surface-card);
    box-shadow: var(--f12-shadow-2);
}

.f12-home .featured-resources__lead-type {
    display: none;
}

.f12-home .featured-resources__lead-media img,
.f12-home .featured-resources__card .f12-resource-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--f12-duration-normal) var(--f12-ease-standard);
}

.f12-home .featured-resources__lead-media:hover img,
.f12-home .featured-resources__lead-media:focus-visible img,
.f12-home .featured-resources__card .f12-resource-media:hover img,
.f12-home .featured-resources__card .f12-resource-media:focus-visible img {
    transform: scale(1.025);
}

.f12-home .featured-resources__lead-media:focus-visible,
.f12-home .featured-resources__card .f12-resource-media:focus-visible {
    outline: 3px solid var(--f12-color-brand-editorial);
    outline-offset: 3px;
}

.f12-home .featured-resources__play-surface {
    --f12-home-play-x: 50%;
    --f12-home-play-y: 50%;
}

.f12-home .featured-resources__play-surface .f12-media-play {
    --f12-media-play-border-color: rgba(255, 255, 255, 0.72);
    --f12-media-play-bg: rgba(255, 247, 240, 0.11);
    --f12-media-play-shadow: 0 10px 22px rgba(48, 27, 8, 0.16);
    --f12-media-play-shadow-active: 0 14px 26px rgba(48, 27, 8, 0.24);
    --f12-media-play-color: rgba(255, 255, 255, 0.96);
    --f12-media-play-duration: 4.8s;
    z-index: 3;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 247, 240, 0.08)),
        var(--f12-media-play-bg);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--f12-duration-normal) var(--f12-ease-standard),
        visibility var(--f12-duration-normal) var(--f12-ease-standard);
}

.f12-home .featured-resources__play-surface:hover .f12-media-play,
.f12-home .featured-resources__play-surface:focus-visible .f12-media-play,
.f12-home .featured-resources__play-surface:focus-within .f12-media-play {
    --f12-media-play-bg: rgba(255, 248, 240, 0.16);
    --f12-media-play-border-color: rgba(255, 255, 255, 0.78);
    opacity: 1;
    visibility: visible;
}

.f12-home .featured-resources__lead-copy {
    max-width: 34rem;
}

.f12-home .featured-resources__lead .f12-split-feature__intro {
    gap: var(--f12-space-2);
}

.f12-home .featured-resources__slider {
    --featured-slider-gap: var(--f12-space-8);
}

.f12-home .featured-resources__slider-heading,
.f12-home .featured-resources__view-all {
    display: none;
}

.f12-home .featured-resources__slider-frame {
    margin-inline: calc(-1 * var(--f12-space-2));
    padding-inline: var(--f12-space-2);
}

.f12-home .featured-resources__viewport {
    padding-block: var(--f12-space-2) var(--f12-space-3);
}

.f12-home .featured-resources__track {
    gap: var(--featured-slider-gap);
}

.f12-home .featured-resources__card {
    flex: 0 0 calc((100% - (var(--featured-slider-gap) * 3)) / 4);
    min-width: 0;
    scroll-snap-align: start;
}

.f12-home .featured-resources__card .f12-resource-media {
    box-shadow: var(--f12-shadow-1);
}

.f12-home .featured-resources__card .resource-card-body,
.f12-home .featured-resources__card .resource-card-cta {
    padding-left: var(--f12-space-3);
}

.f12-home .f12-home-empty-card {
    grid-column: 1 / -1;
    padding: var(--f12-space-6);
    border: 1px solid var(--f12-color-border-subtle);
    border-radius: var(--f12-radius-3);
    background: var(--f12-color-surface-card);
    box-shadow: var(--f12-shadow-1);
}

/* Events */
.f12-home .events-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--f12-space-6);
}

.f12-home .events-showcase--featured {
    --event-arrow-outset: 18px;
    --event-arrow-outset-mobile: 16px;
}

.f12-home .events-showcase > * {
    min-width: 0;
}

.f12-home .event-inline-heading {
    max-width: 780px;
    margin-inline: 0;
    padding-inline: 0;
}

.f12-home .event-content-rail--centered {
    justify-content: center;
    text-align: center;
}

.f12-home .event-content-rail--centered .event-inline-heading {
    align-items: center;
    margin-inline: auto;
}

.f12-home .event-content-rail {
    padding-inline: var(--f12-space-4);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.f12-home .event-slider-frame {
    z-index: 2;
    position: relative;
}

.f12-home .event-slider-viewport {
    padding-block: var(--f12-space-2) var(--f12-space-3);
}

.f12-home .events-card-grid,
.f12-home .event-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--f12-space-6);
}

.f12-home .event-slide {
    flex: 0 0 calc((100% - (var(--f12-space-6) * 2)) / 3);
    scroll-snap-align: start;
    padding: 0;
}

.f12-home .event-slide--empty {
    flex-basis: 100%;
}

.f12-home .event-card {
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--f12-radius-3);
    overflow: hidden;
    padding: 0;
    gap: var(--f12-space-4);
    position: relative;
    z-index: 1;
    height: 100%;
}

.f12-home .event-card__media {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 595;
    overflow: hidden;
    border-radius: calc(var(--f12-radius-3) - 1px);
    background: var(--f12-color-surface-subtle);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.f12-home .event-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92);
    transition:
        transform var(--f12-duration-normal) var(--f12-ease-standard),
        filter var(--f12-duration-normal) var(--f12-ease-standard);
}

.f12-home .event-card:hover .event-card__media img,
.f12-home .event-card:focus-within .event-card__media img {
    filter: saturate(1);
    transform: scale(1.05);
}

.f12-home .event-card__date {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: var(--f12-space-1) var(--f12-space-3);
    border-radius: var(--f12-radius-pill);
    font-size: var(--f12-font-size-2xs);
    font-weight: var(--f12-font-weight-bold);
    letter-spacing: var(--f12-letter-spacing-caps);
    line-height: 1;
    text-transform: uppercase;
    position: absolute;
    top: var(--f12-space-3);
    right: var(--f12-space-3);
    background: rgba(24, 28, 34, 0.42);
    color: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.f12-home .event-card__body,
.f12-home .event-card-link {
    margin-inline: var(--f12-space-4);
}

.f12-home .event-card-link {
    margin-bottom: var(--f12-space-4);
}

.f12-home .event-card-link {
    position: relative;
    display: inline-flex;
    width: fit-content;
    font-size: var(--f12-font-size-xs);
    font-weight: var(--f12-font-weight-bold);
    letter-spacing: var(--f12-letter-spacing-caps);
    text-transform: uppercase;
    color: var(--f12-color-text-heading);
    text-decoration: none;
    padding-bottom: 0.28rem;
    line-height: 1.1;
}

.f12-home .event-card-link:hover,
.f12-home .event-card-link:focus,
.f12-home .event-card-link:focus-visible,
.f12-home .event-card-link:active {
    color: var(--f12-color-text-heading);
}

.f12-home .event-card-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--f12-color-brand-editorial);
    transition: width var(--f12-duration-normal) var(--f12-ease-standard);
}

.f12-home .event-card-link--regional::after {
    background: var(--f12-color-brand-regional);
}

.f12-home .event-card-link:hover::after,
.f12-home .event-card-link:focus-visible::after {
    width: 100%;
}

.f12-home .home-slider-arrow {
    z-index: 4;
    width: 42px;
    height: 42px;
    top: var(--slider-arrow-y, 50%);
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(45, 45, 45, 0.08);
    color: var(--f12-color-text-heading);
    box-shadow: 0 12px 26px rgba(24, 28, 34, 0.08);
}

.f12-home .home-slider-arrow:hover:not(:disabled),
.f12-home .home-slider-arrow:focus-visible:not(:disabled) {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(45, 45, 45, 0.14);
    color: var(--f12-color-text-heading);
    box-shadow: 0 16px 32px rgba(24, 28, 34, 0.14);
}

.f12-home .event-slider-frame .home-slider-arrow[data-slider-prev] {
    left: calc(var(--event-arrow-outset) * -1);
}

.f12-home .event-slider-frame .home-slider-arrow[data-slider-next] {
    right: calc(var(--event-arrow-outset) * -1);
}

.f12-home .featured-resources__slider-frame .home-slider-arrow[data-featured-prev] {
    left: -14px;
}

.f12-home .featured-resources__slider-frame .home-slider-arrow[data-featured-next] {
    right: -14px;
}

.f12-home .home-slider-arrow:disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* This Is Church */
.f12-home .church-section {
    --f12-split-col-gap: var(--f12-space-12);
    max-width: 1200px;
    margin: 0 auto;
}

.f12-home .church-media {
    border-radius: var(--f12-radius-3);
    overflow: hidden;
}

.f12-home .church-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.f12-home .church-button-group {
    display: flex;
    gap: var(--f12-space-4);
    flex-wrap: wrap;
}

.f12-home .church-highlight {
    background: #fbf153;
    padding: 2px 6px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.f12-home .church-btn-dark,
.f12-home .church-btn-dark:visited {
    --f12-btn-fg: #fff;
    background: #111;
    border-color: #111;
    color: var(--f12-btn-fg);
}

.f12-home .church-btn-dark:hover,
.f12-home .church-btn-dark:focus-visible,
.f12-home .church-btn-dark:active {
    --f12-btn-fg: #fff;
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: var(--f12-btn-fg);
}

/* Stay Connected: the route map is drawn by home-v2.js. */
.f12-home .home-connect {
    --f12-split-col-gap: var(--f12-space-10);
}

.f12-home .home-connect .f12-split-feature__cta .f12-btn + .f12-btn {
    margin-left: var(--f12-space-8);
}

/* 12px under the large title. On smaller screens the map sits between them. */
@media (min-width: 1025px) {
    .f12-home .home-connect .f12-split-feature__body {
        margin-top: calc(var(--f12-space-3) - var(--f12-split-row-gap));
    }
}

.f12-home .home-connect__map svg {
    display: block;
    width: 100%;
    overflow: visible;
    color: var(--f12-color-brand-editorial);
}

.f12-home .home-connect__marker { --ripple-size: 2.3; }
.f12-home .home-connect__marker--lead { --ripple-size: 3.6; }
.f12-home .home-connect__dot { fill: currentColor; }

/* Hubs stay strong; other churches are quieter dots. */
.f12-home .home-connect__marker:not(.home-connect__marker--hub) .home-connect__dot {
    scale: 0.7;
    fill-opacity: 0.55;
}

.f12-home .home-connect__halo { fill: currentColor; opacity: 0.12; }

.f12-home .home-connect__ring {
    fill: none;
    stroke: currentColor;
    stroke-width: 0.7;
    opacity: 0;
}

.f12-home .home-connect__routes {
    fill: none;
    stroke: currentColor;
    stroke-width: 0.7;
    stroke-linecap: round;
}

.f12-home .home-connect__routes path { stroke-dasharray: 1; opacity: 0.35; }
.f12-home .home-connect__plane { fill: currentColor; stroke: none; opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
    .f12-home .home-connect__map .is-waiting { visibility: hidden; }

    .f12-home .home-connect__map .is-playing .home-connect__ring {
        animation: home-connect-ripple 620ms var(--delay) ease-out both;
    }

    .f12-home .home-connect__map .is-playing .home-connect__dot {
        animation: home-connect-dot-pop 360ms var(--delay) cubic-bezier(0.3, 1.6, 0.5, 1) both;
    }

    .f12-home .home-connect__map .is-playing .home-connect__routes path {
        animation: home-connect-route-draw 1800ms var(--delay) cubic-bezier(0.45, 0, 0.2, 1) both;
    }

    .f12-home .home-connect__map .is-playing .home-connect__halo {
        transform-origin: 0 0;
        animation: home-connect-halo 3600ms calc(var(--delay) + 400ms) ease-in-out infinite both;
    }
}

@keyframes home-connect-ripple {
    from { opacity: 0.55; transform: scale(0.35); }
    to { opacity: 0; transform: scale(var(--ripple-size)); }
}

@keyframes home-connect-dot-pop {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes home-connect-route-draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}

@keyframes home-connect-halo {
    0%, 100% { opacity: 0.14; transform: scale(1); }
    50% { opacity: 0.04; transform: scale(1.6); }
}

/* Stay Connected and its event stack read as one section, so they sit closer than separate sections. */
.f12-home .home-connect-group {
    display: grid;
    gap: var(--f12-layout-section-gap-grouped);
}

@media (max-width: 768px) {
    .f12-home .home-connect-group {
        gap: var(--f12-layout-section-gap-grouped-mobile);
    }
}

/* Event stack: one event at a time on its banner, with the next events peeking out behind.
   home-v2.js moves the deck. */
.f12-home .event-stack {
    --peek: clamp(12px, 3.2vw, 36px);
    --step: 0.045; /* How much smaller each card behind gets. */
    --card-radius: clamp(14px, 1.8vw, 22px);
    --card-ratio: 1920 / 595;
    --turn: 700ms;
    display: grid;
    max-width: 1040px;
    margin-inline: auto;
    gap: var(--f12-space-6);
    justify-items: center;
}

.f12-home .event-stack__deck {
    display: grid;
    width: 100%;
    padding-top: calc(var(--peek) * 2);
    touch-action: pan-y; /* Vertical scrolling stays native; horizontal drags change the card. */
    user-select: none;
    outline: none;
}

.f12-home .event-stack__deck > * {
    grid-area: 1 / 1;
}

/* --i is a card's depth: 0 is the front card, 1 and 2 peek out behind, deeper cards are hidden. */
.f12-home .event-stack__card {
    --i: 0;
    position: relative;
    z-index: calc(20 - var(--i));
    display: block;
    aspect-ratio: var(--card-ratio);
    overflow: hidden;
    border-radius: var(--card-radius);
    text-decoration: none;
    box-shadow: 0 calc(18px - var(--i) * 6px) 44px rgba(16, 18, 22, calc(0.28 - var(--i) * 0.08));
    transform-origin: 50% 0;
    transform: translateY(calc(var(--i) * var(--peek) * -1)) scale(calc(1 - var(--i) * var(--step)));
    opacity: calc(1 - max(var(--i) - 2, 0));
    transition:
        transform var(--turn) cubic-bezier(0.22, 1, 0.36, 1),
        opacity var(--turn) cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow var(--turn) ease;
}

.f12-home .event-stack__card img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1d1f22; /* Shows while the photo loads. */
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Every layer rounds its own corners. Clipping alone leaves a dark ring and stepped curves on moving cards. */
.f12-home .event-stack__card img,
.f12-home .event-stack__card::before,
.f12-home .event-stack__card::after {
    border-radius: inherit;
}

/* A soft shade behind the type, and a white wash that fades cards behind the front one toward the page.
   Both change by opacity only, so they ease smoothly as a card moves up the deck. */
.f12-home .event-stack__card::before,
.f12-home .event-stack__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.f12-home .event-stack__card::before {
    background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(10, 12, 15, 0.42), rgba(10, 12, 15, 0.12) 75%);
}

.f12-home .event-stack__card::after {
    background: #fff;
    opacity: calc(min(var(--i), 1) * 0.35 + var(--i) * 0.15);
    transition: opacity var(--turn) cubic-bezier(0.22, 1, 0.36, 1);
}

.f12-home .event-stack__text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 0.2em;
    padding: var(--f12-space-6);
    color: #fff; /* On the text, not the card: title links take their colour from their parent. */
    text-align: center;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.3);
    opacity: calc(1 - min(var(--i), 1));
    transition: opacity calc(var(--turn) * 0.6) ease;
}

.f12-home .event-stack__eyebrow,
.f12-home .event-stack__date,
.f12-home .event-stack__label {
    font-size: clamp(0.6875rem, 0.9vw, 0.8125rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.f12-home .event-stack__title {
    margin: 0.15em 0 0.35em;
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

/* The site's title-link arrow sits just after the event name, without moving the centred name. */
.f12-home .event-stack__title.f12-title-link__label {
    position: relative;
}

.f12-home .event-stack__title.f12-title-link__label::after {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.f12-home .event-stack__place {
    font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
    font-weight: 700;
}

/* The section's line, sitting in the front card's bottom corners. */
.f12-home .event-stack__labels {
    z-index: 30;
    align-self: end;
    display: flex;
    justify-content: space-between;
    padding: 0 clamp(1.25rem, 7.5%, 6rem) clamp(1rem, 3.2%, 1.75rem);
    color: #fff;
    pointer-events: none;
    transition: opacity 300ms ease;
}

.f12-home .event-stack.is-dragging .event-stack__labels,
.f12-home .event-stack.is-turning .event-stack__labels { opacity: 0.6; }

.f12-home .event-stack__label { margin: 0; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35); }

/* Leaving: the front card keeps its look while it drops forward and fades, then rejoins the back of the deck unseen. */
.f12-home .event-stack__card.is-leaving {
    --i: 0 !important;
    z-index: 25;
    opacity: 0;
    transform: translateY(18%) scale(1.04);
    transition:
        transform calc(var(--turn) * 0.9) cubic-bezier(0.4, 0, 0.6, 1),
        opacity calc(var(--turn) * 0.55) cubic-bezier(0.4, 0, 1, 1);
}

/* Type hands over cleanly: the old event's words go first, the new event's arrive just after. */
.f12-home .event-stack__card.is-leaving .event-stack__text {
    opacity: 0;
    transition-duration: 160ms;
}

.f12-home .event-stack__card.is-front .event-stack__text {
    transition-delay: calc(var(--turn) * 0.3);
}

.f12-home .event-stack__card.is-front:hover img,
.f12-home .event-stack__card.is-front:focus-visible img { transform: scale(1.03); }

.f12-home .event-stack__card:focus-visible {
    outline: 3px solid var(--f12-color-brand-editorial);
    outline-offset: 4px;
}

/* While dragging, the front card follows the finger without easing. */
.f12-home .event-stack.is-dragging .event-stack__card.is-front { transition: none; }

.f12-home .event-stack__controls {
    display: flex;
    align-items: center;
    gap: var(--f12-space-4);
}

.f12.f12-home .event-stack__arrow { display: inline-flex; font-size: 1.05rem; }

.f12-home .event-stack__dots {
    display: flex;
    align-items: center;
    gap: var(--f12-space-2);
}

/* Each dot is a 24px tap target around a small visible pill. */
.f12-home .event-stack__dot {
    position: relative;
    width: 14px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transition: width 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.f12-home .event-stack__dot::before,
.f12-home .event-stack__dot::after {
    content: "";
    position: absolute;
    inset: 9px 4px;
    border-radius: 999px;
    background: var(--f12-color-border-subtle);
}

.f12-home .event-stack__dot::after {
    background: var(--f12-color-text-muted);
    transform-origin: 0 50%;
    transform: scaleX(0);
}

.f12-home .event-stack__dot[aria-current="true"] { width: 34px; }
.f12-home .event-stack__dot[aria-current="true"]::after { transform: scaleX(1); }

/* While playing, the active dot fills up until the next card. */
.f12-home .event-stack.is-autoplay .event-stack__dot[aria-current="true"]::after {
    animation: event-stack-progress var(--interval) linear both;
}

.f12-home .event-stack.is-paused .event-stack__dot[aria-current="true"]::after {
    animation-play-state: paused;
}

@keyframes event-stack-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.f12-home .event-stack__dot:focus-visible {
    outline: 2px solid var(--f12-color-brand-editorial);
    outline-offset: 2px;
    border-radius: 999px;
}

/* Phones: a taller, full-width card, with the cards behind bigger and peeking out further. */
@media (max-width: 640px) {
    .f12-home .event-stack { --card-ratio: 4 / 3; --peek: 18px; --step: 0.03; }
    .f12-home .event-stack__labels { padding: 0 var(--f12-space-5) var(--f12-space-5); }
}

@media (prefers-reduced-motion: reduce) {
    .f12-home .event-stack { --turn: 1ms; }
    .f12-home .event-stack__card img { transition: none; }
}

/* One event: no stack to peek at or browse, so drop the peek space and the controls. */
.f12-home .event-stack:has(.event-stack__card:only-of-type) .event-stack__deck { padding-top: 0; }
.f12-home .event-stack:has(.event-stack__card:only-of-type) .event-stack__controls { display: none; }

/* Podcasts on the go: title and listen links above the campaign panel.
   The panel type is Acumin Pro Wide from Adobe Fonts; the site font stands in until a kit loads it. */
.f12-home .home-podcasts {
    --home-podcasts-display-font: "acumin-pro-wide", var(--f12-font-family-sans);
    display: grid;
    gap: var(--f12-space-8);
}

/* Inset to line up with the Featured Resources content above, which sits inside its band's padding. */
.f12-home .home-podcasts__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--f12-space-4) var(--f12-space-8);
    padding-inline: var(--f12-space-10);
}

.f12-home .home-podcasts__intro {
    flex: 1 1 360px;
    max-width: 720px;
}

.f12-home .home-podcasts__intro > * {
    margin: 0;
}

.f12-home .home-podcasts__listen {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--f12-space-3);
}

.f12-home .home-podcasts__listen-label {
    margin-right: var(--f12-space-1);
    color: var(--f12-color-text-heading);
    font-size: var(--f12-font-size-xs);
    font-weight: var(--f12-font-weight-bold);
    letter-spacing: var(--f12-letter-spacing-caps);
    text-transform: uppercase;
}

.f12-home .home-podcasts__app {
    display: grid;
    place-items: center;
    width: 44px;
    aspect-ratio: 1;
    border: 1px solid var(--f12-color-border-subtle);
    border-radius: 50%;
    background: var(--f12-color-surface-page);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.f12-home .home-podcasts__app:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -10px rgba(16, 18, 22, 0.35);
}

.f12-home .home-podcasts__app svg { width: 22px; height: 22px; }
.f12-home .home-podcasts__app--spotify { color: #1db954; }
.f12-home .home-podcasts__app--apple { color: #9933cc; }

/* The grey panel, with live artwork text on the left and the covers fanned on the right. */
.f12-home .home-podcasts__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: var(--f12-space-8);
    aspect-ratio: 1920 / 520;
    min-height: 280px;
    padding: var(--f12-space-6) clamp(var(--f12-space-8), 6vw, var(--f12-space-16));
    border-radius: clamp(20px, 2.4vw, 32px);
    background: linear-gradient(90deg, #a5a5a5 0%, #c7c7c7 47%, #f0f0f0 100%);
    color: #fff;
}

.f12-home .home-podcasts__artwork {
    display: grid;
    gap: var(--f12-space-4);
    font-family: var(--home-podcasts-display-font);
}

.f12-home .home-podcasts__eyebrow {
    display: block;
    font-size: clamp(0.75rem, 0.6rem + 0.5vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) {
    .f12-home .home-podcasts__eyebrow { animation: home-podcasts-press-play 2800ms ease-in-out infinite; }
}

@keyframes home-podcasts-press-play {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

/* Sizes follow the artwork, relative to "podcasts": "on the" 0.76em light, "go" 1.47em bold.
   "on the go" sits under "podcasts", right-aligned to it, with "on the" raised beside the large "go". */
.f12-home .home-podcasts__wordmark {
    display: inline-grid;
    justify-self: start;
    width: max-content;
    margin: 0;
    color: inherit;
    font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem);
    font-weight: 700;
    line-height: 0.82;
    letter-spacing: -0.05em;
}

.f12-home .home-podcasts__wordmark-rest {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.12em;
    margin-top: -0.1em;
}

.f12-home .home-podcasts__wordmark-on {
    position: relative;
    top: -0.46em;
    font-size: 0.76em;
    font-weight: 300;
}

.f12-home .home-podcasts__wordmark-go {
    font-size: 1.47em;
    line-height: 0.82;
}

.f12-home .home-podcasts__covers {
    position: relative;
    container-type: inline-size;
    align-self: stretch;
    min-height: 220px;
}

/* Square cover art in a thin see-through grey rim. Each cover opens its podcast. */
.f12-home .home-podcasts__cover {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: min(46%, 260px);
    padding: 1.15cqi;
    border-radius: 9%;
    overflow: hidden;
    background: rgba(70, 70, 70, 0.28);
    box-shadow: 0 26px 34px -14px rgba(16, 18, 22, 0.42);
    transition:
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.f12-home .home-podcasts__cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 7%;
}

/* The stack order never changes, so a hovered cover never jumps in front of another.
   Hovering the group fans the back covers out; the hovered cover slides further and lifts. */
.f12-home .home-podcasts__cover--left { z-index: 1; transform: translate(-100%, -46%) rotate(-12deg) scale(0.9); }
.f12-home .home-podcasts__cover--right { z-index: 1; transform: translate(0%, -46%) rotate(12deg) scale(0.9); }
.f12-home .home-podcasts__cover--front { z-index: 2; transform: translate(-50%, -54%); }

.f12-home .home-podcasts__covers:is(:hover, :focus-within) .home-podcasts__cover--left { transform: translate(-110%, -48%) rotate(-13deg) scale(0.9); }
.f12-home .home-podcasts__covers:is(:hover, :focus-within) .home-podcasts__cover--right { transform: translate(10%, -48%) rotate(13deg) scale(0.9); }
.f12-home .home-podcasts__covers .home-podcasts__cover--left:is(:hover, :focus-visible) { transform: translate(-126%, -54%) rotate(-15deg) scale(0.94); }
.f12-home .home-podcasts__covers .home-podcasts__cover--right:is(:hover, :focus-visible) { transform: translate(26%, -54%) rotate(15deg) scale(0.94); }
.f12-home .home-podcasts__covers .home-podcasts__cover--front:is(:hover, :focus-visible) { transform: translate(-50%, -58%) scale(1.03); }

.f12-home .home-podcasts__cover:is(:hover, :focus-visible) {
    box-shadow: 0 34px 40px -14px rgba(16, 18, 22, 0.5);
}

/* AirPods float around the panel edges. The back one is blurred for depth. */
.f12-home .home-podcasts__pod {
    position: absolute;
    z-index: 4;
    height: auto;
    pointer-events: none;
}

.f12-home .home-podcasts__pod--front {
    left: 4%;
    bottom: -5%;
    width: clamp(90px, 9.5vw, 140px);
    transform: rotate(-8deg);
    filter: drop-shadow(0 14px 18px rgba(16, 18, 22, 0.25));
}

.f12-home .home-podcasts__pod--back {
    left: 36%;
    top: 7%;
    width: clamp(48px, 5vw, 76px);
    filter: blur(2px) drop-shadow(0 8px 10px rgba(16, 18, 22, 0.18));
    opacity: 0.9;
}

/* The AirPods drift with the page scroll, tied to the panel crossing the screen. The near (sharp) one
   travels further and turns more than the far (blurred) one, which reads as depth. Scroll-driven CSS runs
   off the main thread; browsers without it, or with reduced motion, keep them still. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .f12-home .home-podcasts__panel {
            view-timeline-name: --home-podcasts-panel;
        }

        .f12-home .home-podcasts__pod {
            animation-timing-function: linear;
            animation-fill-mode: both;
            animation-timeline: --home-podcasts-panel;
            animation-range: entry 0% exit 100%;
            will-change: transform;
        }

        .f12-home .home-podcasts__pod--front { animation-name: home-podcasts-pod-near; }
        .f12-home .home-podcasts__pod--back { animation-name: home-podcasts-pod-far; }
    }
}

@keyframes home-podcasts-pod-near {
    from { transform: translate3d(-6px, 48px, 0) rotate(-16deg); }
    to { transform: translate3d(14px, -56px, 0) rotate(2deg); }
}

@keyframes home-podcasts-pod-far {
    from { transform: translate3d(8px, 22px, 0) rotate(14deg); }
    to { transform: translate3d(-8px, -24px, 0) rotate(-8deg); }
}

/* Phones and small tablets: one centred headline line, with the covers hanging below the panel. */
@media (max-width: 900px) {
    .f12-home .home-podcasts__panel {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: var(--f12-space-4);
        aspect-ratio: auto;
        min-height: 0;
        margin-bottom: 16%;
        padding: var(--f12-space-8) var(--f12-space-6) 0;
        background: linear-gradient(180deg, #a5a5a5 0%, #cdcdcd 50%, #f0f0f0 100%);
        text-align: center;
    }

    .f12-home .home-podcasts__wordmark {
        display: block;
        width: auto;
        font-size: clamp(2rem, 0.9rem + 5.6vw, 3.4rem);
        text-align: center;
    }

    .f12-home .home-podcasts__wordmark-rest { display: inline-flex; gap: 0.2em; margin: 0; }
    .f12-home .home-podcasts__wordmark-on { top: -0.08em; }
    .f12-home .home-podcasts__wordmark-go { font-size: 1em; }

    .f12-home .home-podcasts__covers {
        width: min(88%, 400px);
        min-height: 0;
        aspect-ratio: 16 / 9;
        margin-bottom: -16%;
    }

    .f12-home .home-podcasts__cover { width: 50%; }

    .f12-home .home-podcasts__pod--front { left: 2%; top: 52%; bottom: auto; width: 18%; max-width: 105px; }
    .f12-home .home-podcasts__pod--back { left: auto; right: 6%; top: 50%; width: 11%; max-width: 64px; }
}

/* The resources band goes full width here, so no inset. */
@media (max-width: 768px) {
    .f12-home .home-podcasts__header { padding-inline: 0; }
    .f12-home .home-podcasts__listen { justify-content: center; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .f12-home .home-podcasts__cover,
    .f12-home .home-podcasts__app {
        transition: none;
    }
}

/* Breakpoints */
@media (max-width: 1024px) {
    .f12-home .about-split {
        grid-template-columns: 1fr;
        gap: var(--f12-space-10);
    }

    .f12-home .about-cta-hub__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .f12-home .about-action-card,
    .f12-home .about-action-card--feature {
        aspect-ratio: auto;
        min-height: 168px;
        height: 100%;
    }

    .f12-home .about-action-card__title,
    .f12-home .about-action-card--feature .about-action-card__title {
        min-height: 0;
    }

    .f12-home .featured-resources__lead-copy {
        max-width: none;
    }

    .f12-home .featured-resources__card {
        flex-basis: calc((100% - var(--featured-slider-gap)) / 2);
    }
}

@media (max-width: 900px) {
    .f12-home .events-card-grid,
    .f12-home .event-slider-track {
        gap: var(--f12-space-6);
    }

    .f12-home .event-slide {
        flex-basis: 100%;
        padding: 0;
    }

    .f12-home .event-slider-frame .home-slider-arrow[data-slider-prev] {
        left: calc(var(--event-arrow-outset-mobile) * -1);
    }

    .f12-home .event-slider-frame .home-slider-arrow[data-slider-next] {
        right: calc(var(--event-arrow-outset-mobile) * -1);
    }

}

@media (max-width: 768px) {
    .f12-home .home-page-container {
        padding: var(--f12-space-10) var(--f12-space-5) var(--f12-space-12);
    }

    .f12-home .resources-context-band {
        margin-inline: calc(50% - 50vw);
        padding: var(--f12-space-10) 0;
        border-radius: 0;
    }

    .f12-home .resources-context-band__inner {
        width: min(100%, var(--f12-layout-content-max, 1280px));
        margin-inline: auto;
        padding-inline: var(--f12-space-5);
    }

    .f12-home .hero-search {
        margin-top: calc(var(--f12-space-12) * -1);
    }

    .f12-home .resource-section-header {
        row-gap: var(--f12-space-3);
    }

    .f12-home .resources-context-band {
        overflow: hidden;
    }

    .f12-home .resources-context-band__inner {
        gap: var(--f12-space-10);
    }

    .f12-home .featured-resources__lead {
        grid-template-areas:
            "media"
            "intro"
            "body"
            "cta";
        --f12-split-row-gap: var(--f12-space-3);
    }

    .f12-home .featured-resources__lead .f12-split-feature__intro .f12-eyebrow {
        display: none;
    }

    .f12-home .featured-resources__lead-type {
        display: inline-flex;
    }

    .f12-home .featured-resources__lead-cta,
    .f12-home .featured-resources__card .resource-card-cta {
        display: none;
    }

    .f12-home .featured-resources__slider {
        --featured-slider-gap: var(--f12-space-5);
    }

    .f12-home .featured-resources__slider-frame {
        margin-inline: 0;
        padding-inline: 0;
    }

    .f12-home .featured-resources__slider-heading {
        display: block;
        margin: 0 0 var(--f12-space-4) var(--f12-space-3);
    }

    .f12-home .featured-resources__viewport {
        width: 100%;
        overflow: visible;
        padding: 0;
    }

    .f12-home .featured-resources__track {
        display: grid;
        gap: var(--f12-space-8);
    }

    .f12-home .featured-resources__card {
        width: 100%;
        gap: var(--f12-space-3);
    }

    .f12-home .featured-resources__slider:not(.is-expanded) .featured-resources__card:nth-child(n + 3) {
        display: none;
    }

    .f12-home .featured-resources__card .resource-card-body {
        padding-right: var(--f12-space-3);
    }

    .f12-home .featured-resources__view-all {
        display: flex;
        justify-content: center;
        margin-top: var(--f12-space-8);
    }

    .f12-home .featured-resources__toggle {
        min-height: 42px;
        text-transform: none;
        letter-spacing: 0;
    }

    .f12-home .featured-resources__toggle:focus-visible {
        outline: 2px solid var(--f12-color-brand-editorial);
        outline-offset: 3px;
    }

    .f12-home .featured-resources__toggle-icon {
        width: 0.45rem;
        height: 0.45rem;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: translateY(-0.1rem) rotate(45deg);
        transition: transform var(--f12-duration-fast) var(--f12-ease-standard);
    }

    .f12-home .featured-resources__toggle[aria-expanded="true"] .featured-resources__toggle-icon {
        transform: translateY(0.1rem) rotate(225deg);
    }

    .f12-home .featured-resources__arrow,
    .f12-home .featured-resources__dots {
        display: none !important;
    }

    .f12-home .events-showcase--featured {
        overflow: hidden;
    }

    .f12-home .events-showcase--featured .home-slider-arrow {
        display: inline-flex !important;
    }

    .f12-home .about-cta-hub__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--f12-space-2);
        align-items: end;
    }

    .f12-home .about-action-card-wrap {
        width: 100%;
        display: grid;
        justify-items: center;
        align-items: center;
    }

    .f12-home .about-action-card {
        min-height: 0;
    }

    .f12-home .about-action-card--feature {
        width: 100%;
        min-height: 160px;
        padding: var(--f12-space-5);
    }

    .f12-home .about-action-card:not(.about-action-card--feature) {
        width: 88%;
        min-height: 112px;
        aspect-ratio: 1 / 0.78;
        padding: var(--f12-space-2);
        gap: var(--f12-space-2);
    }

    .f12-home .about-action-card:not(.about-action-card--feature) .about-action-card__icon {
        width: 20px;
        height: 20px;
    }

    .f12-home .about-action-card:not(.about-action-card--feature) .about-action-card__title {
        min-height: 0;
    }

    .f12-home .about-action-card-wrap.about-action-card--anchor-bottom-right {
        justify-items: end;
        align-items: end;
    }

    .f12-home .about-action-card-wrap.about-action-card--anchor-bottom-left {
        justify-items: start;
        align-items: end;
    }

    .f12-home .about-action-card-wrap.about-action-card--anchor-top-right {
        justify-items: end;
        align-items: start;
    }

    .f12-home .about-action-card-wrap.about-action-card--anchor-top-left {
        justify-items: start;
        align-items: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .f12-home .resource-section-header a.f12-btn--primary,
    .f12-home .church-button-group a.f12-btn--primary,
    .f12-home .church-button-group a.f12-btn--secondary,
    .f12-home .featured-media img,
    .f12-home .f12-resource-media img,
    .f12-home .event-card__media img,
    .f12-home .church-media img,
    .f12-home .motion-target,
    .f12-home .f12-media-play--pulse,
    .f12-home .f12-media-play--pulse::before,
    .f12-home .f12-media-play--pulse::after,
    .f12-home .f12-media-play--soft-idle,
    .f12-home .f12-media-play--soft-idle::before {
        transition: none;
        animation: none;
        filter: none;
        transform: none;
        opacity: 1;
    }
}
