:is(.frame-type-sitepackage_offers, .frame-type-sitepackage-offers, .frame:has(.od-offers)) {
    background: var(--color-surface-dark);
}

:is(.frame-type-sitepackage_offers, .frame-type-sitepackage-offers, .frame:has(.od-offers)) :is(.frame-header, header:first-child),
:is(.frame-type-sitepackage_offers, .frame-type-sitepackage-offers, .frame:has(.od-offers)) > :is(h1, h2, h3) {
    width: min(100%, 100rem);
    margin-inline: auto;
    padding-inline: 3rem;
    padding-top: clamp(2.5rem, 5vw, 5rem);
    text-align: center;
}

:is(.frame-type-sitepackage_offers, .frame-type-sitepackage-offers, .frame:has(.od-offers)) :is(.frame-header, header:first-child) > :last-child {
    margin-bottom: 0;
}

:is(.frame-type-sitepackage_offers, .frame-type-sitepackage-offers, .frame:has(.od-offers)) :is(.frame-header, header:first-child) :is(h1, h2, h3),
:is(.frame-type-sitepackage_offers, .frame-type-sitepackage-offers, .frame:has(.od-offers)) > :is(h1, h2, h3) {
    margin: 0;
    color: var(--color-taupe);
    font-family: "Libre Caslon Text", Georgia, serif;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    text-transform: none;
    text-wrap: balance;
}

:is(.frame-type-sitepackage_offers, .frame-type-sitepackage-offers, .frame:has(.od-offers)):has(.frame-header, header:first-child, > h1, > h2, > h3) .od-offers {
    padding-top: clamp(2rem, 3.5vw, 3.75rem);
}

.od-offers {
    padding: clamp(3rem, 5vw, 5.5rem) 0;
    overflow: hidden;
    background: var(--color-surface-dark);
    color: var(--color-text);
}

.od-offers__inner {
    max-width: 100rem;
    margin-inline: auto;
}

.od-offer {
    display: none;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.od-offer.is-active {
    display: block;
}

.od-offer__grid {
    display: grid;
    grid-template-columns: minmax(0, 11fr) minmax(27rem, 9fr);
    min-height: 40rem;
}

.od-offer__media {
    position: relative;
    min-width: 0;
    min-height: 40rem;
    overflow: hidden;
    background: var(--color-surface-deep);
}

.od-offer__main-image,
.od-offer__accent-image {
    margin: 0;
}

.od-offer__main-image,
.od-offer__main-image picture {
    width: 100%;
    height: 100%;
}

.od-offer__image-file {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.od-offer__media--collage .od-offer__main-image {
    width: 100%;
}

.od-offer__accent-image {
    position: absolute;
    right: clamp(1.25rem, 2.5vw, 2.5rem);
    bottom: clamp(1.25rem, 2.5vw, 2.5rem);
    width: min(34%, 18rem);
    height: min(70%, 27rem);
    border: 0.5rem solid var(--color-surface);
    box-shadow: 0 1.25rem 3rem rgba(106, 1, 9, 0.22);
}

.od-offer__accent-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.od-offer__placeholder {
    display: grid;
    min-height: 40rem;
    place-items: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 4rem;
}

.od-offer__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.25rem, 4vw, 4rem);
}

.od-offer__eyebrow {
    margin: 0 0 0.85rem;
    color: var(--color-primary-text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.od-offer__title {
    margin: 0 0 1.25rem;
    color: var(--color-taupe);
    font-size: clamp(2.35rem, 3.35vw, 4rem);
    font-weight: 400;
    hyphens: auto;
    line-height: 1.02;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.od-offer__lead,
.od-offer__lead p,
.od-offer__summary,
.od-offer__summary p,
.od-offer__description,
.od-offer__description p,
.od-offer__price-info,
.od-offer__price-info p {
    color: var(--color-muted);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.od-offer__lead {
    font-weight: 600;
}

.od-offer__summary {
    margin-top: 0.75rem;
}

.od-offer__lead > :last-child,
.od-offer__summary > :last-child,
.od-offer__description > :last-child,
.od-offer__price-info > :last-child {
    margin-bottom: 0;
}

.od-offer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 2rem;
}

.od-offer__button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--color-primary);
    color: var(--color-primary-text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.od-offer__button--primary,
.od-offer__button:hover,
.od-offer__button:focus-visible {
    background: var(--color-primary);
    color: var(--color-on-primary);
}

.od-offer__button--primary:hover,
.od-offer__button--primary:focus-visible {
    border-color: var(--color-primary-dark);
    background: var(--color-primary-dark);
}

.od-offer__details {
    border-top: 1px solid var(--color-border);
}

.od-offer__details-content {
    display: grid;
    gap: 2rem;
    padding: clamp(1.5rem, 4vw, 4rem);
    background: #fbfaf8;
}

.od-offer__prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.od-offer__price-block {
    min-width: 0;
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    background: #fff;
}

.od-offer__price-block h3,
.od-offer__gallery h3 {
    margin: 0 0 1rem;
    color: var(--color-taupe);
    font-size: 1.5rem;
    font-weight: 400;
}

.od-offer__table-scroll {
    overflow-x: auto;
}

.od-offer__price-block table {
    width: 100%;
    border-collapse: collapse;
}

.od-offer__price-block th,
.od-offer__price-block td {
    padding: 0.65rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    text-align: left;
    vertical-align: top;
}

.od-offer__price-block th {
    background: var(--color-surface-deep);
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.od-offer__gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.od-offer__gallery-link {
    display: block;
    overflow: hidden;
    background: var(--color-surface-deep);
}

.od-offer__gallery-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 220ms ease;
}

.od-offer__gallery-link:hover .od-offer__gallery-image,
.od-offer__gallery-link:focus-visible .od-offer__gallery-image {
    transform: scale(1.025);
}

.od-offers__navigation {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.od-offers__overview {
    display: grid;
    grid-auto-columns: calc((100% - 2.25rem) / 4);
    grid-auto-flow: column;
    gap: 0.75rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.od-offers__overview-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 7rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-muted);
    text-align: left;
}

.od-offers__overview-item.is-active {
    border-color: var(--color-primary);
    background: var(--color-surface-deep);
    color: #fff;
}

.od-offers__overview-title {
    color: inherit;
    font-family: "Libre Caslon Text", Georgia, serif;
    font-size: 1.35rem;
    line-height: 1.15;
    text-wrap: balance;
}

.od-offers__overview-copy {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.85rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.od-offers__arrow {
    display: inline-grid;
    width: 3.25rem;
    border: 1px solid var(--color-surface-deep);
    border-radius: 0;
    background: var(--color-surface-deep);
    color: #fff;
    place-items: center;
}

.od-offers__arrow:hover,
.od-offers__arrow:focus-visible {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.od-offers__empty {
    margin: 0;
    padding: 2rem;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-muted);
    text-align: center;
}

@media (max-width: 1199.98px) {
    .od-offer__grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .od-offer__media {
        min-height: min(68vw, 34rem);
    }

    .od-offer__content {
        padding: clamp(2rem, 5vw, 3rem);
    }

    .od-offers__overview {
        grid-auto-columns: calc((100% - 0.75rem) / 2);
    }
}

@media (max-width: 767.98px) {
    .od-offers {
        padding: 2rem 0;
    }

    .od-offers__inner {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }

    :is(.frame-type-sitepackage_offers, .frame-type-sitepackage-offers, .frame:has(.od-offers)) :is(.frame-header, header:first-child),
    :is(.frame-type-sitepackage_offers, .frame-type-sitepackage-offers, .frame:has(.od-offers)) > :is(h1, h2, h3) {
        width: 100%;
        padding-inline: 1rem;
        padding-top: 2rem;
    }

    .od-offer__media {
        min-height: 70vw;
    }

    .od-offer__media--collage .od-offer__main-image {
        width: 100%;
        height: 100%;
    }

    .od-offer__accent-image {
        display: none;
    }

    .od-offer__content,
    .od-offer__details-content {
        padding: 1.5rem;
    }

    .od-offer__title {
        font-size: clamp(2.25rem, 12vw, 3.25rem);
    }

    .od-offer__actions,
    .od-offer__prices,
    .od-offer__gallery-grid {
        grid-template-columns: 1fr;
    }

    .od-offer__actions {
        display: grid;
    }

    .od-offer__button {
        width: 100%;
    }

    .od-offers__navigation {
        grid-template-columns: 1fr;
    }

    .od-offers__overview {
        grid-auto-columns: minmax(78vw, 1fr);
    }

    .od-offers__arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .od-offers__overview,
    .od-offer__gallery-image {
        scroll-behavior: auto;
        transition: none;
    }
}
