.jcc-festive-banner {
    --festive-background: #320e19;
    --festive-gold: #ffe6ac;
    margin: 0 0 1.25rem;
    border: 1px solid #b98a47;
    border-radius: 0.8rem;
    background: var(--festive-background);
    color: #fff8ed;
    overflow: hidden;
}
.jcc-festive-members {
    margin-block: 1rem;
}
.jcc-festive-banner::after {
    content: "";
    display: block;
    aspect-ratio: 1.9;
    background: url("/assets/jcc-christmas-banner-v2.jpg") right center / 155% auto no-repeat;
}
.jcc-festive-copy {
    position: relative;
    z-index: 1;
    padding: clamp(1.2rem, 3.4vw, 3rem);
}
.jcc-festive-copy h2 {
    margin: 0 0 0.38em;
    color: var(--festive-gold);
    font: 700 clamp(1.95rem, 4.2vw, 3.65rem)/1.07 Georgia, serif;
}
.jcc-festive-copy p {
    max-width: 36ch;
    margin: 0;
    color: inherit;
    line-height: 1.5;
}
.jcc-festive-copy a {
    display: inline-block;
    margin-top: 1rem;
    border: 1px solid currentColor;
    border-radius: 0.35rem;
    padding: 0.38rem 0.8rem;
    color: var(--festive-gold);
    font-weight: 700;
    text-underline-offset: 0.18em;
}
.jcc-festive-copy a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
.jcc-festive-members .jcc-festive-copy {
    padding: clamp(1rem, 2.6vw, 2rem);
}
.jcc-festive-members .jcc-festive-copy h2 {
    font-size: clamp(1.45rem, 2.3vw, 2.35rem);
}
.jcc-festive-members::after {
    aspect-ratio: 2.65;
}
@media (min-width: 48rem) {
    .jcc-festive-banner {
        position: relative;
        isolation: isolate;
        display: grid;
        align-items: center;
        min-height: clamp(17rem, 31vw, 27rem);
    }
    .jcc-festive-banner::after {
        position: absolute;
        inset: 0;
        aspect-ratio: auto;
        background: linear-gradient(90deg, var(--festive-background) 1%, #320e19db 30%, #320e1900 62%),
            url("/assets/jcc-christmas-banner-v2.jpg") right center / cover no-repeat;
    }
    .jcc-festive-copy {
        box-sizing: border-box;
        width: 49%;
    }
    .jcc-festive-members {
        min-height: clamp(10.5rem, 17vw, 14.5rem);
    }
    .jcc-festive-members::after {
        left: 40%;
        background-image: linear-gradient(90deg, var(--festive-background), #320e1900 48%),
            url("/assets/jcc-christmas-banner-v2.jpg");
        background-size: auto, 130% auto;
        background-position: center, right 17%;
        background-repeat: no-repeat;
    }
    .jcc-festive-members .jcc-festive-copy {
        width: 54%;
    }
}
[data-high-contrast] .jcc-festive-banner::after {
    display: none;
}
[data-high-contrast] .jcc-festive-copy {
    width: auto;
}
[data-high-contrast] .jcc-festive-banner {
    min-height: 0;
}

.jcc-festive-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: center;
    max-width: 1108px;
    margin: clamp(0.8rem, 2vw, 1.6rem) auto 0;
    width: calc(100% - 2rem);
    border: 1px solid #b98a47;
    border-radius: 0.65rem;
    overflow: hidden;
    color: #fff0cf;
    background: #390d1a;
}
.jcc-festive-page[data-palette="pine"] {
    background: #12372e;
}
.jcc-festive-page[data-palette="navy"] {
    background: #122741;
}
.jcc-festive-page p {
    margin: 0;
    padding: clamp(0.65rem, 2.7vw, 2.15rem);
    color: inherit;
    font: 700 clamp(1.1rem, 3vw, 2.15rem)/1.15 Georgia, serif;
}
#app .jcc-festive-page img {
    display: block;
    margin: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 3.2;
    object-fit: cover;
}
@media (max-width: 30rem) {
    .jcc-festive-page {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    }
    #app .jcc-festive-page img {
        aspect-ratio: 1.65;
    }
}
[data-high-contrast] .jcc-festive-page,
[data-high-contrast] .jcc-festive-banner {
    background: Canvas;
    color: CanvasText;
    border-color: CanvasText;
}
[data-high-contrast] .jcc-festive-page {
    grid-template-columns: minmax(0, 1fr);
}
[data-high-contrast] .jcc-festive-page img {
    display: none !important;
}
[data-high-contrast] .jcc-festive-copy h2,
[data-high-contrast] .jcc-festive-copy a {
    color: inherit;
}

.jcc-festive-members::after {
    background-image: url("/assets/jcc-christmas/members-area.jpg");
    background-size: cover;
}
@media (min-width: 48rem) {
    .jcc-festive-members::after {
        left: 43%;
        background-image: linear-gradient(90deg, var(--festive-background), #320e1900 38%),
            url("/assets/jcc-christmas/members-area.jpg");
        background-size: auto, cover;
        background-position: center, center 42%;
    }
}
