.deck-highlight-card {
    display: grid;
    min-height: 520px;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--line, rgba(59, 40, 30, .14));
    border-radius: 20px;
    background: #faf3eb;
    box-shadow: 0 22px 52px rgba(46, 29, 20, .1);
}

.deck-highlight-card__copy {
    display: flex;
    padding: clamp(44px, 6vw, 78px);
    justify-content: center;
    flex-direction: column;
}

.deck-highlight-card__copy h2 {
    max-width: 650px;
    margin: 0 0 18px;
    color: var(--cacao, #3b281e);
    font-family: var(--serif, "Playfair Display", Georgia, serif);
    font-size: clamp(2.6rem, 4.6vw, 4.6rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.025em;
    text-align: center;
}

.deck-highlight-card__copy .title-scribble { margin-inline: auto; }

.deck-highlight-card__copy .title-scribble {
    width: 132px;
    height: 18px;
    background: url("../../svg/decorative/title-scribble.svg") center / contain no-repeat;
}

.deck-highlight-card__copy p {
    max-width: 610px;
    margin: 22px 0 0;
    color: var(--text, #63564d);
    font-size: var(--type-body, 1rem);
    line-height: var(--leading-body, 1.7);
    overflow-wrap: anywhere;
}

.deck-highlight-card__actions {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 12px;
}

.deck-highlight-card__actions[hidden] { display: none !important; }

.deck-highlight-card__actions .button {
    display: inline-flex;
    min-height: 48px;
    padding: 13px 23px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.deck-highlight-card__actions .button:hover { transform: translateY(-2px); }
.deck-highlight-card__actions .button[hidden] { display: none !important; }
.deck-highlight-card__link { border-color: var(--orange-dark, #934218); color: #fff; background: var(--orange-dark, #934218); }
.deck-highlight-card__link:hover,
.deck-highlight-card__link:focus-visible { border-color: var(--cacao, #3b281e); color: #fff; background: var(--cacao, #3b281e); }
.deck-highlight-card__details { border-color: var(--orange-dark, #934218); color: var(--orange-dark, #934218); background: var(--sand, #f2eadc); }
.deck-highlight-card__details:hover,
.deck-highlight-card__details:focus-visible { border-color: var(--orange-dark, #934218); color: #fff; background: var(--orange-dark, #934218); }

.deck-highlight-card__media {
    position: relative;
    min-height: 520px;
    margin: 0;
    background: var(--sand, #f2eadc);
}

.deck-highlight-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.deck-highlight-card__gallery-trigger {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    cursor: zoom-in;
}

.deck-highlight-card__gallery-trigger:focus-visible {
    outline: 3px solid var(--gold, #e4aa47);
    outline-offset: -5px;
}

.deck-highlight-card__gallery-hint {
    position: absolute;
    z-index: 2;
    bottom: 24px;
    left: 50%;
    display: inline-flex;
    min-height: 30px;
    padding: 6px 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 999px;
    color: #fff;
    background: rgba(31, 20, 15, .58);
    box-shadow: 0 8px 24px rgba(20, 12, 8, .2);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1;
    white-space: nowrap;
    transform: translateX(-50%);
}

.deck-highlight-card__gallery-trigger:hover .deck-highlight-card__gallery-hint {
    background: rgba(31, 20, 15, .74);
}

.deck-highlight-card__gallery-hint[hidden] { display: none !important; }

@media (min-width: 901px) {
    .deck-highlight-card {
        height: auto;
        min-height: clamp(520px, 40vw, 550px);
        max-height: none;
    }

    .deck-highlight-card.is-image-portrait { grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr); }
    .deck-highlight-card.is-image-square { grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr); }
    .deck-highlight-card.is-image-landscape { grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr); }
    .deck-highlight-card.has-measured-image { grid-template-columns: minmax(0, 1fr) minmax(280px, var(--highlight-media-width)); }

    .deck-highlight-card__copy {
        min-height: 0;
        align-items: center;
        overflow: visible;
        text-align: center;
    }

    .deck-highlight-card__copy p { margin-inline: auto; }
    .deck-highlight-card__actions { justify-content: center; }

    .deck-highlight-card__media {
        height: auto;
        min-height: 520px;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M9 0H100V100H9C3 97 6 88 2 80C0 71 6 62 2 52C0 43 6 34 2 24C0 14 5 4 9 0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M9 0H100V100H9C3 97 6 88 2 80C0 71 6 62 2 52C0 43 6 34 2 24C0 14 5 4 9 0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
        filter: drop-shadow(-12px 0 14px rgba(46, 29, 20, .24));
    }
}

@media (max-width: 900px) {
    .deck-highlight-card {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .deck-highlight-card__media {
        height: clamp(380px, 105vw, 520px);
        min-height: 0;
        max-height: 520px;
        order: -1;
    }

    .deck-highlight-card__media::after {
        position: absolute;
        z-index: 1;
        right: 0;
        bottom: 0;
        left: 0;
        height: clamp(100px, 24vw, 170px);
        background: linear-gradient(0deg, #faf3eb 0%, rgba(250, 243, 235, .88) 24%, rgba(250, 243, 235, .42) 52%, transparent 100%);
        content: "";
        pointer-events: none;
    }

    .deck-highlight-card__gallery-hint { bottom: 20px; }
}

@media (max-width: 700px) {
    .deck-highlight-card { border-radius: 16px; }
    .deck-highlight-card__copy { padding: 36px 26px 42px; }
    .deck-highlight-card__copy h2 { font-size: 2.45rem; }
    .deck-highlight-card__media { height: clamp(360px, 105vw, 480px); min-height: 0; max-height: 480px; }
    .deck-highlight-card__gallery-hint {
        bottom: 14px;
        min-height: 26px;
        padding: 5px 9px;
        font-size: 10px;
    }
    .deck-highlight-card__actions { align-items: stretch; flex-direction: column; }
    .deck-highlight-card__actions .button { width: 100%; }
}

.deck-highlight-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0 0 clamp(92px, 10vw, 145px);
    background: var(--paper);
}

.deck-highlight-section > .section-shell { position: relative; z-index: 1; }

.deck-highlight-modal[hidden] { display: none; }
.deck-highlight-modal { position: fixed; z-index: 2300; inset: 0; display: grid; padding: 20px; place-items: center; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }
.deck-highlight-modal.is-open { opacity: 1; visibility: visible; }
.deck-highlight-modal__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(18, 13, 10, .9); backdrop-filter: blur(10px); cursor: zoom-out; }
.deck-highlight-modal__panel { position: relative; z-index: 1; display: grid; box-sizing: border-box; width: min(1320px, 100%); height: min(880px, calc(100dvh - 40px)); min-width: 0; min-height: 0; padding: 70px 82px 56px; place-items: center; overflow: hidden; border: 1px solid rgba(255, 253, 248, .15); border-radius: 22px; background: #171716; box-shadow: 0 34px 90px rgba(0, 0, 0, .56); transform: translateY(18px) scale(.985); transition: transform .22s ease; }
.deck-highlight-modal.is-open .deck-highlight-modal__panel { transform: translateY(0) scale(1); }
.deck-highlight-modal__close { position: absolute; z-index: 3; top: 12px; right: 18px; }
.deck-highlight-modal__images { position: relative; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.deck-highlight-modal__figure { position: relative; width: 100%; height: 100%; min-width: 0; min-height: 0; margin: 0; overflow: hidden; }
.deck-highlight-modal__figure[hidden] { display: none; }
.deck-highlight-modal__figure img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; box-shadow: 0 20px 54px rgba(0, 0, 0, .32); }
.deck-highlight-modal__arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 48px; height: 48px; padding: 0; place-items: center; border: 1px solid rgba(228, 170, 71, .7); border-radius: 50%; color: #fff; background: rgba(23, 23, 22, .76); cursor: pointer; transform: translateY(-50%); }
.deck-highlight-modal__arrow:hover,
.deck-highlight-modal__arrow:focus-visible { border-color: var(--gold); background: var(--orange-dark); }
.deck-highlight-modal__arrow--previous { left: 16px; }
.deck-highlight-modal__arrow--next { right: 16px; }
.deck-highlight-modal__counter { position: absolute; bottom: 19px; left: 50%; margin: 0; color: rgba(255, 253, 248, .78); font-size: 12px; font-weight: 700; letter-spacing: .1em; transform: translateX(-50%); }

@media (max-width: 700px) {
    .deck-highlight-section { padding-bottom: 80px; }
    .deck-highlight-modal { padding: 0; }
    .deck-highlight-modal__panel { width: 100%; height: 100dvh; padding: 70px 14px 64px; border: 0; border-radius: 0; }
    .deck-highlight-modal__close { right: 12px; }
    .deck-highlight-modal__arrow { top: auto; bottom: 10px; transform: none; }
    .deck-highlight-modal__arrow--previous { left: 14px; }
    .deck-highlight-modal__arrow--next { right: 14px; }
    .deck-highlight-modal__counter { bottom: 27px; }
}
.deck-highlight-card.is-banner {
    position: relative;
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
}
.highlight-banner { position: relative; aspect-ratio: 16 / 7; overflow: hidden; }
.highlight-banner__zoom { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.highlight-banner__zoom:focus-visible { outline: 3px solid var(--gold, #e4aa47); outline-offset: -5px; }
.highlight-banner__cta {
    position: relative;
    display: flex;
    width: fit-content;
    margin: 18px auto 22px;
    box-sizing: border-box;
    min-height: 44px;
    max-width: calc(100% - 40px);
    padding: 12px 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--orange-dark, #934218);
    border-radius: 999px;
    color: #fff;
    background: var(--orange-dark, #934218);
    box-shadow: 0 4px 18px rgba(20, 12, 8, .2);
    font-family: var(--sans, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background .2s ease, border-color .2s ease;
}
.highlight-banner__cta[href] { cursor: pointer; }
.highlight-banner__cta[href]:hover { color: #fff; background: var(--cacao, #3b281e); border-color: var(--cacao, #3b281e); }
.highlight-banner__cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.highlight-banner__cta[hidden] { display: none !important; }
.highlight-banner[hidden], .deck-highlight-card.is-banner > .deck-highlight-card__copy, .deck-highlight-card.is-banner > .deck-highlight-card__media { display: none !important; }
.highlight-banner__slide { position: absolute; inset: 0; margin: 0; }
.highlight-banner__slide[hidden] { display: none !important; }
.highlight-banner__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.highlight-banner__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    color: #fff;
    background: rgba(20, 12, 8, .38);
    backdrop-filter: blur(8px);
    font-size: 19px;
    cursor: pointer;
    transform: translateY(-50%);
}
.highlight-banner__arrow--previous { left: 16px; }
.highlight-banner__arrow--next { right: 16px; }
.highlight-banner__arrow:hover { background: rgba(20, 12, 8, .65); }
.highlight-banner__controls { position: absolute; z-index: 2; bottom: 16px; left: 50%; padding: 10px 14px; border-radius: 99px; background: rgba(20, 12, 8, .38); backdrop-filter: blur(8px); transform: translateX(-50%); }
.highlight-banner__dots { display: flex; align-items: center; gap: 7px; }
.highlight-banner__dots button { width: 9px; height: 9px; padding: 0; border: 1px solid rgba(255, 255, 255, .38); border-radius: 50%; background: rgba(20, 12, 8, .18); cursor: pointer; }
.highlight-banner__dots button.is-active { width: 26px; border-color: var(--gold, #e4aa47); border-radius: 99px; background: var(--gold, #e4aa47); }
.highlight-banner__arrow:focus-visible, .highlight-banner__dots button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.highlight-banner__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
    .highlight-banner { aspect-ratio: 4 / 5; }
    .highlight-banner__arrow--previous { left: 10px; }
    .highlight-banner__arrow--next { right: 10px; }
    .highlight-banner__controls { bottom: 12px; }
}
.highlight-section-heading {
    max-width: 780px;
    margin: 0 auto clamp(24px, 3vw, 40px);
    text-align: center;
    overflow-wrap: anywhere;
}
.highlight-section-heading h2 {
    margin: 0;
    color: var(--cacao);
    font-family: var(--serif);
    font-size: var(--type-section);
    line-height: 1.08;
}
.highlight-section-heading p {
    margin: 0;
    color: var(--text);
    font-size: var(--type-body);
    line-height: var(--leading-body);
}
.highlight-section-heading h2 + p { margin-top: 16px; }
