/* Shared premium hero for listing pages.
   All selectors are component-scoped to avoid affecting the navbar or page content. */
.curated-listing-hero {
    height: 610px;
    min-height: 610px;
    overflow: hidden;
    background: #111716;
    isolation: isolate;
}

.curated-listing-hero__image {
    position: absolute;
    inset: 0;
    z-index: -2;
    object-position: center center;
}

.curated-listing-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 10, 9, .91) 0%, rgba(10, 13, 12, .76) 31%, rgba(12, 15, 14, .46) 59%, rgba(12, 15, 14, .28) 100%),
        linear-gradient(0deg, rgba(5, 8, 7, .48) 0%, rgba(5, 8, 7, .05) 48%, rgba(5, 8, 7, .24) 100%);
}

.curated-listing-hero__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding-top: 88px;
}

.curated-listing-hero__copy {
    width: min(100%, 980px);
    min-width: 0;
    gap: 18px;
    color: #fff;
    text-align: start;
}

.curated-listing-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #cfaa5f;
    font-family: var(--font-main-bold);
    font-size: 14px;
    line-height: 1;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.curated-listing-hero__eyebrow i {
    display: block;
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.curated-listing-hero h1 {
    width: min(100%, 950px);
    margin: 8px 0 0;
    color: #fff;
    font-family: var(--font-secondary);
    font-size: clamp(52px, 4.15vw, 66px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.018em;
}

.curated-listing-hero h1 span {
    display: block;
}

.curated-listing-hero__copy > p {
    width: min(100%, 690px);
    max-width: 100%;
    margin: 0;
    color: rgba(255, 255, 255, .94);
    font-family: var(--font-main-medium);
    font-size: 17px;
    line-height: 1.7;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .38);
}

[dir="rtl"] .curated-listing-hero__image,
[dir="rtl"] .curated-listing-hero__overlay {
    transform: scaleX(-1);
}

[dir="rtl"] .curated-listing-hero__eyebrow {
    flex-direction: row-reverse;
}

@media (max-width: 992px) {
    .curated-listing-hero {
        height: 560px;
        min-height: 560px;
    }

    .curated-listing-hero__content {
        padding-top: 76px;
    }

    .curated-listing-hero__copy {
        width: min(100%, 680px);
    }

    .curated-listing-hero h1 {
        font-size: clamp(44px, 6.6vw, 58px);
    }
}

@media (max-width: 768px) {
    .curated-listing-hero {
        height: 590px;
        min-height: 590px;
    }

    .curated-listing-hero__image {
        object-position: 64% center;
    }

    .curated-listing-hero__overlay {
        background:
            linear-gradient(90deg, rgba(7, 10, 9, .88) 0%, rgba(9, 12, 11, .68) 66%, rgba(9, 12, 11, .45) 100%),
            linear-gradient(0deg, rgba(5, 8, 7, .58) 0%, rgba(5, 8, 7, .08) 54%, rgba(5, 8, 7, .34) 100%);
    }

    .curated-listing-hero__content {
        align-items: flex-end;
        padding: 110px 0 54px;
    }

    .curated-listing-hero__copy {
        width: calc(100vw - 30px);
        max-width: calc(100vw - 30px);
        gap: 14px;
    }

    .curated-listing-hero__eyebrow {
        font-size: 12px;
    }

    .curated-listing-hero h1 {
        margin-top: 6px;
        font-size: clamp(38px, 10vw, 48px);
        line-height: 1.07;
    }

    .curated-listing-hero__copy > p {
        width: 100%;
        overflow-wrap: break-word;
        font-family: var(--font-main);
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 420px) {
    .curated-listing-hero {
        height: 620px;
        min-height: 620px;
    }

    .curated-listing-hero__content {
        padding-bottom: 42px;
    }

    .curated-listing-hero h1 {
        font-size: 38px;
    }
}
