/* One continuous cinematic banner: artwork right, copy left at every width. */
.court-subpage .gallery-hero,
.court-subpage .gallery-series-hero,
.court-subpage .gallery-featured {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: clamp(340px, 34vw, 460px);
    isolation: isolate;
    overflow: hidden;
    background: #160906;
}

.court-subpage .gallery-hero-art,
.court-subpage .gallery-featured__image.gallery-hero-art {
    position: absolute;
    inset: 0 0 0 28%;
    z-index: 0;
    display: block;
    width: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    border: 0;
    background: var(--gallery-artwork) center 24% / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%);
    mask-image: linear-gradient(90deg, transparent, #000 24%);
}
.court-subpage .gallery-hero-art::before { display: none; }
.court-subpage .gallery-hero-art img { display: none; }

.court-subpage .gallery-hero::after,
.court-subpage .gallery-series-hero::after,
.court-subpage .gallery-featured::after {
    content: '';
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #100705f5 0%, #170906e8 33%, #1b0906ba 47%, #19070540 67%, #1206030a 100%);
}

.court-subpage .gallery-hero__content,
.court-subpage .gallery-series-hero__copy,
.court-subpage .gallery-featured > div {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 54%;
    min-width: 0;
    margin: 0;
    padding: clamp(24px, 3.5vw, 44px);
    background: transparent;
    text-align: left;
    text-shadow: 0 2px 12px #10030199;
}
.court-subpage .gallery-hero__content > p,
.court-subpage .gallery-series-hero__copy > p,
.court-subpage .gallery-featured > div > p {
    margin: 0 0 12px;
    color: #dfb76e;
    font: 400 11px/1.5 'Cinzel', serif;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.court-subpage .gallery-hero h1,
.court-subpage .gallery-series-hero__copy h1,
.court-subpage .gallery-featured h2 {
    width: 100%;
    max-width: none;
    margin: 0 0 12px;
    color: #f1cf8b;
    font: 400 clamp(30px, 3.6vw, 52px)/1.08 'Cinzel', serif;
    letter-spacing: .02em;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
    text-shadow: inherit;
}
.court-subpage .gallery-series-hero__copy h2,
.court-subpage .gallery-featured > div > span {
    max-width: none;
    margin: 0 0 14px;
    color: #ddb274;
    font: 400 12px/1.5 'Cinzel', serif;
    letter-spacing: .12em;
    text-wrap: balance;
}
.court-subpage .gallery-hero__content > span,
.court-subpage .gallery-series-hero__copy > div,
.court-subpage .gallery-featured > div > small {
    display: block;
    max-width: none;
    margin: 0;
    color: #f0dfbd;
    font: italic 20px/1.4 'EB Garamond', serif;
    overflow-wrap: anywhere;
}
.court-subpage .gallery-hero__content > small {
    display: block;
    margin-top: 20px;
    color: #e1bd7d;
    font: 400 10px/1.6 'Cinzel', serif;
    letter-spacing: .12em;
}
.court-subpage .gallery-series-hero__actions,
.court-subpage .gallery-featured__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 9px;
    margin-top: 22px;
}
.court-subpage .gallery-series-hero__actions a,
.court-subpage .gallery-featured__actions a {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 9px 6px;
    border: 1px solid #c49143;
    border-radius: 3px;
    background: #0d06056b;
    color: #f0cf91;
    font: 400 10px/1.4 'Cinzel', serif;
    letter-spacing: .06em;
    text-align: center;
    white-space: normal;
    text-wrap: balance;
}
.court-subpage .gallery-series-meta { margin-top: 12px; color: #d7b67b; font-size: 9px; line-height: 1.5; }

@media (max-width: 760px) {
    .court-subpage .gallery-page .gallery-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px !important;
    }
    .court-subpage .gallery-cta__copy {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    .court-subpage .gallery-cta__copy > div { min-width: 0; }
    .court-subpage .gallery-cta__copy img { width: 42px; height: 42px; }
    .court-subpage .gallery-cta strong {
        font-size: 15px;
        line-height: 1.25;
        letter-spacing: .035em;
    }
    .court-subpage .gallery-cta span {
        display: block;
        margin-top: 5px;
        font-size: 15px;
        line-height: 1.35;
    }
    .court-subpage .gallery-cta a {
        display: grid;
        place-items: center;
        box-sizing: border-box;
        width: 100%;
        min-height: 44px;
        padding: 10px;
        font-size: 10px;
        line-height: 1.4;
        white-space: normal;
        text-align: center;
    }
    .court-subpage .gallery-series-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .court-subpage .gallery-series-nav a {
        min-height: 0;
        height: clamp(76px, 20vw, 96px);
        padding: 8px 4px;
        border-radius: 4px;
    }
    .court-subpage .gallery-series-nav span {
        font-size: clamp(9px, 2.5vw, 12px);
        line-height: 1.2;
        letter-spacing: .04em;
        text-wrap: balance;
    }
    .court-subpage .gallery-hero,
    .court-subpage .gallery-series-hero,
    .court-subpage .gallery-featured {
        min-height: 0;
        aspect-ratio: auto;
    }
    .court-subpage .gallery-hero { min-height: clamp(180px, 52vw, 300px); }
    .court-subpage .gallery-series-hero,
    .court-subpage .gallery-featured { min-height: clamp(260px, 67vw, 350px); }
    .court-subpage .gallery-hero-art,
    .court-subpage .gallery-featured__image.gallery-hero-art {
        inset: 0 0 0 31%;
        height: auto;
        min-height: 0;
        background-position: center 25%;
    }
    .court-subpage .gallery-hero__content,
    .court-subpage .gallery-series-hero__copy,
    .court-subpage .gallery-featured > div {
        width: 61%;
        padding: clamp(12px, 3.5vw, 24px);
        text-align: left;
        align-items: flex-start;
    }
    .court-subpage .gallery-hero__content > p,
    .court-subpage .gallery-series-hero__copy > p,
    .court-subpage .gallery-featured > div > p {
        font-size: clamp(7px, 1.9vw, 10px);
        margin-bottom: 8px;
        letter-spacing: .14em;
    }
    .court-subpage .gallery-hero h1,
    .court-subpage .gallery-series-hero__copy h1,
    .court-subpage .gallery-featured h2 {
        max-width: none;
        margin-bottom: 8px;
        font-size: clamp(21px, 5.6vw, 35px);
        line-height: 1.08;
    }
    .court-subpage .gallery-series-hero__copy h2,
    .court-subpage .gallery-featured > div > span {
        max-width: none;
        margin-bottom: 9px;
        font-size: clamp(8px, 2.05vw, 12px);
        line-height: 1.45;
        letter-spacing: .07em;
    }
    .court-subpage .gallery-hero__content > span,
    .court-subpage .gallery-series-hero__copy > div,
    .court-subpage .gallery-featured > div > small {
        max-width: none;
        font-size: clamp(12px, 3.2vw, 18px);
        line-height: 1.35;
    }
    .court-subpage .gallery-hero__content > small { margin-top: 12px; font-size: clamp(6px, 1.65vw, 9px); letter-spacing: .06em; }
    .court-subpage .gallery-series-hero__actions,
    .court-subpage .gallery-featured__actions { margin-top: 13px; gap: 6px; }
    .court-subpage .gallery-series-hero__actions a,
    .court-subpage .gallery-featured__actions a { min-height: 36px; padding: 7px 3px; font-size: clamp(7px, 1.85vw, 10px); letter-spacing: .025em; }
    .court-subpage .gallery-series-meta { margin-top: 9px; font-size: clamp(6px, 1.65vw, 9px); }
}
