/* PeakView 0.1.2.112 — preserved resort Hero and existing results toolbar as one shared surface.
 * Leaf pages reuse the shared catalog wrapper/gutters; only leaf-specific presentation stays here.
 */

.com-peakview-catalog--destination-experience.com-peakview-catalog--page-leaf {
    --pv-leaf-text: #14263a;
    --pv-leaf-muted: #5d6c7a;
    --pv-leaf-accent: #087f89;
    --pv-leaf-accent-dark: #075b64;
    --pv-leaf-border: rgba(20, 38, 58, .12);
    --pv-leaf-soft: #f5f8f9;
}

.com-peakview-catalog--page-leaf .pv-dx--leaf {
    display: block;
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 1.15rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Preserve the accepted 0.1.2.110 leaf Hero and join the existing results toolbar
 * to it inside the same visual surface. The toolbar markup remains single-instance. */
.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__discovery {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--pv-dx-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 38, 58, .07);
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__hero {
    min-height: clamp(280px, 31vw, 420px);
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: linear-gradient(135deg, #edf6f5, #f7efe7);
    box-shadow: none;
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__hero-media img {
    object-position: center;
    filter: saturate(1.08) contrast(1.035);
    transform: none;
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__hero-shade {
    background:
        linear-gradient(90deg, rgba(8, 29, 49, .80) 0%, rgba(8, 29, 49, .60) 36%, rgba(8, 29, 49, .24) 68%, rgba(8, 29, 49, .07) 100%),
        linear-gradient(0deg, rgba(7, 24, 40, .24), transparent 60%);
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__hero-content {
    justify-content: center;
    width: min(860px, 78%);
    padding: clamp(1.45rem, 3.5vw, 3rem);
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__hero h1 {
    max-width: none;
    color: #fff;
    font-size: clamp(1.85rem, 3.4vw, 3.15rem);
    line-height: 1.06;
    letter-spacing: -.035em;
    text-shadow: 0 2px 16px rgba(4, 20, 34, .34);
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__subtitle {
    max-width: 58ch;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(.98rem, 1.35vw, 1.12rem);
    line-height: 1.55;
    text-shadow: 0 1px 10px rgba(4, 20, 34, .30);
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__section {
    margin-top: 0;
    border-top: 1px solid var(--pv-dx-border);
    padding: clamp(1.15rem, 2.5vw, 2rem) clamp(1rem, 2.5vw, 2rem);
    background: #fff;
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__section-head {
    margin-bottom: .9rem;
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__section-head h2 {
    color: var(--pv-dx-text);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    line-height: 1.25;
    letter-spacing: 0;
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination {
    min-height: 150px;
    border: 1px solid rgba(20, 38, 58, .08);
    border-radius: 13px;
    box-shadow: 0 7px 18px rgba(20, 38, 58, .08);
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination img {
    object-position: center;
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination:hover,
.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination:focus-visible {
    border-color: rgba(0, 127, 134, .45);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(20, 38, 58, .15);
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination-copy {
    right: .7rem;
    bottom: .65rem;
    left: .7rem;
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination-copy strong {
    font-size: .84rem;
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__occasion-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__occasion {
    min-height: 72px;
    border-radius: 12px;
    box-shadow: none;
}

/* The existing results control completes the shared Hero surface.
 * It keeps its original markup, filtering, sorting and drawer behavior. */
.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__results-control {
    margin-top: 0;
    border: 0;
    border-top: 1px solid var(--pv-dx-border);
    border-radius: 0;
    background: rgba(248, 250, 252, .78);
    box-shadow: none;
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__results-total {
    font-size: 1rem;
}

.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__quick-button,
.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__sort,
.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__filter-button {
    border-radius: 9px;
    box-shadow: none;
}

/* Large promotional offer cards: exactly three on normal desktop leaf pages. */
.com-peakview-catalog--page-leaf .pv-catalog-body {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
}

.com-peakview-catalog--page-leaf .pv-catalog-main {
    width: 100%;
}

.com-peakview-catalog--page-leaf .pv-catalog-search-section--programs,
.com-peakview-catalog--page-leaf .pv-catalog-search-section--hotels {
    margin-top: 0;
}

.com-peakview-catalog--page-leaf .pv-catalog-grid,
.com-peakview-catalog--page-leaf .pv-catalog-grid--hotel-search {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(1.25rem, 2vw, 2.25rem) !important;
    align-items: stretch;
}

.com-peakview-catalog--page-leaf .pv-catalog-section-title {
    margin: 0 0 1rem;
    color: var(--pv-leaf-text);
    font-size: clamp(1.3rem, 1.9vw, 1.8rem);
    letter-spacing: -.025em;
}

.com-peakview-catalog--page-leaf .pv-catalog-load-more {
    margin-top: 1.25rem;
}

/* Editorial SEO content keeps reading width while remaining visually tied to the catalog. */
.com-peakview-catalog--page-leaf .pv-dx__editorial-intro,
.com-peakview-catalog--page-leaf .pv-landing-editorial,
.com-peakview-catalog--page-leaf .pv-internal-links,
.com-peakview-catalog--page-leaf .pv-related-offers {
    width: min(1120px, calc(100% - 2rem));
    margin-right: auto;
    margin-left: auto;
}

.com-peakview-catalog--page-leaf .pv-dx__editorial-intro {
    margin-top: clamp(2rem, 4vw, 3.5rem);
}


@media (max-width: 1180px) {
    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__occasion-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .com-peakview-catalog--page-leaf .pv-catalog-grid,
    .com-peakview-catalog--page-leaf .pv-catalog-grid--hotel-search {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1023px) {
    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__hero {
        min-height: 340px;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__hero-content {
        width: 76%;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination {
        min-height: 132px;
    }
}

@media (max-width: 760px) {
    .com-peakview-catalog--page-leaf .pv-dx--leaf {
        margin-bottom: 1rem;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__discovery {
        border-radius: 16px;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__hero {
        min-height: 410px;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__hero-shade {
        background:
            linear-gradient(180deg, rgba(8, 29, 49, .76) 0%, rgba(8, 29, 49, .50) 42%, rgba(8, 29, 49, .18) 100%),
            linear-gradient(0deg, rgba(7, 24, 40, .24), transparent 58%);
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__hero-content {
        justify-content: flex-end;
        width: 100%;
        padding: 1.15rem;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__hero h1 {
        max-width: 100%;
        color: #fff;
        font-size: clamp(1.55rem, 7vw, 2rem);
        text-shadow: 0 2px 16px rgba(4, 20, 34, .34);
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__subtitle {
        display: -webkit-box;
        margin-top: .55rem;
        overflow: hidden;
        color: rgba(255, 255, 255, .92);
        font-size: .89rem;
        line-height: 1.42;
        text-shadow: 0 1px 10px rgba(4, 20, 34, .30);
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__section {
        margin-top: 0;
        padding: 1rem .8rem;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__section-head {
        margin-bottom: .7rem;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__section-head h2 {
        font-size: 1rem;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .42rem;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination {
        min-height: 96px;
        border-radius: 10px;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination.is-preview-overflow {
        display: none;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf.is-destinations-expanded .pv-dx__destination.is-preview-overflow {
        display: block;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination-copy {
        right: .42rem;
        bottom: .42rem;
        left: .42rem;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination-copy strong {
        font-size: .68rem;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__destination-copy small {
        display: none;
    }

    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__results-control {
        margin-top: 0;
    }

    .com-peakview-catalog--page-leaf .pv-catalog-grid,
    .com-peakview-catalog--page-leaf .pv-catalog-grid--hotel-search {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1.5rem !important;
    }

    .com-peakview-catalog--page-leaf .pv-dx__editorial-intro,
    .com-peakview-catalog--page-leaf .pv-landing-editorial,
    .com-peakview-catalog--page-leaf .pv-internal-links,
    .com-peakview-catalog--page-leaf .pv-related-offers {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .com-peakview-catalog--page-leaf .pv-dx__hero-media img,
    .com-peakview-catalog--page-leaf .pv-dx__destination,
    .com-peakview-catalog--page-leaf .pv-dx__type {
        transition: none !important;
    }
}

/* PeakView 0.1.2.115 — leaf Hero uses the lighter shared photographic overlay. */
.com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__hero-shade {
    background:
        linear-gradient(90deg, rgba(8, 29, 49, .62) 0%, rgba(8, 29, 49, .40) 36%, rgba(8, 29, 49, .14) 68%, rgba(8, 29, 49, .02) 100%),
        linear-gradient(0deg, rgba(7, 24, 40, .18), transparent 60%);
}

@media (max-width: 760px) {
    .com-peakview-catalog--page-leaf .pv-dx--leaf .pv-dx__hero-shade {
        background:
            linear-gradient(180deg, rgba(8, 29, 49, .24) 0%, rgba(8, 29, 49, .32) 48%, rgba(8, 29, 49, .48) 100%),
            linear-gradient(90deg, rgba(7, 24, 40, .18), rgba(7, 24, 40, .03));
    }
}

