/* Shared page hero — collection, detail and editorial templates.
   Same visual language as the homepage hero, deliberately a little shorter so
   the page's own content starts higher up. */

.page-hero {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    min-height: clamp(360px, 46vh, 580px);
    overflow: hidden;
    background: #101d17;
    isolation: isolate;
}

.page-hero--compact {
    min-height: clamp(300px, 38vh, 460px);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.page-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 50% 42%, rgba(8, 18, 14, .2) 0%, rgba(8, 18, 14, .62) 100%),
        linear-gradient(180deg, rgba(8, 18, 14, .5) 0%, rgba(8, 18, 14, .22) 38%, rgba(8, 18, 14, .78) 100%);
}

.page-hero-inner {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(56px, 9vh, 96px) 22px clamp(30px, 5vh, 52px);
    color: #fff;
}

.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
    color: #f3e7d4;
}

.page-hero-eyebrow:before {
    content: '';
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: .8;
}

.page-hero-title {
    margin: 14px 0 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(32px, 4.4vw, 60px);
    line-height: 1.06;
    letter-spacing: -1px;
    max-width: 20ch;
    text-shadow: 0 2px 22px rgba(0, 0, 0, .45);
    overflow-wrap: anywhere;
}

.page-hero-lead {
    margin: 16px 0 0;
    max-width: 62ch;
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.7;
    color: #ece8df;
}

.page-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.page-hero-meta li {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 30px;
    padding: 7px 14px;
    font-size: 11px;
    letter-spacing: .04em;
    color: #fff;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.page-hero-actions .button,
.page-hero-actions .button.outline {
    margin: 0;
    background: var(--orange, #eb642c);
    border: 1px solid transparent;
    color: var(--accent-text, #171b17);
    border-radius: 4px;
    padding: 14px 26px;
    font-weight: 600;
}

.page-hero-actions .button.ghost {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .75);
    color: #fff;
}

.page-hero-actions .button.ghost:hover {
    background: rgba(255, 255, 255, .2);
}

.page-hero-actions .button:hover {
    filter: brightness(1.07);
}

/* The first block of content after a hero should not add a big gap as well. */
.page-hero + .content,
.page-hero + .wrap {
    padding-top: clamp(26px, 4vh, 44px);
}

html[data-theme=dark] .page-hero-scrim {
    background:
        radial-gradient(ellipse at 50% 42%, rgba(4, 9, 7, .28) 0%, rgba(4, 9, 7, .68) 100%),
        linear-gradient(180deg, rgba(4, 9, 7, .56) 0%, rgba(4, 9, 7, .26) 38%, rgba(4, 9, 7, .84) 100%);
}

@media (max-width: 720px) {
    .page-hero,
    .page-hero--compact {
        min-height: min(72vh, 480px);
    }

    .page-hero-inner {
        padding: 58px 20px 34px;
    }

    .page-hero-title {
        max-width: none;
        font-size: clamp(28px, 8vw, 40px);
    }

    .page-hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .page-hero-actions .button {
        width: 100%;
        justify-content: center;
    }
}

@media print {
    .page-hero-bg,
    .page-hero-scrim {
        display: none;
    }

    .page-hero,
    .page-hero-inner {
        min-height: 0;
        padding: 0;
    }

    .page-hero-title,
    .page-hero-lead,
    .page-hero-eyebrow {
        color: #111;
        text-shadow: none;
    }
}

/* Tabs / search bands that used to sit inside the page's own heading block. */
.collection-heading.collection-tabs-only,
.collection-heading.booking-path-only {
    padding-top: 0;
    padding-bottom: 18px;
    margin: 0;
}

.collection-heading.collection-tabs-only .collection-tabs,
.collection-heading.booking-path-only .booking-path {
    margin-top: 0;
}

.pkg-searchband {
    margin: 6px 0 22px;
}

.pkg-searchband .pkg-search {
    margin: 0;
}
