/**
 * Layout 06 staged-migration stylesheet.
 *
 * The hero, search, content, properties, popular row, and form use the shared
 * landing-page components. The CDN stylesheet remains temporarily while the
 * remaining seasonal/background rules are normalized.
 */

.cck_hlp .hlp-layout-06 {
    background: #fff;
}

.cck_hlp .hlp06-hero {
    position: relative;
    display: flex;
    min-height: 550px;
    align-items: center;
    padding: 80px 0;
    background-color: #405a67;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    isolation: isolate;
}

.cck_hlp .hlp06-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(0, 0, 0, 0.44);
    content: "";
}

.cck_hlp .hlp06-hero .container {
    width: 100%;
    max-width: 1200px;
}

.cck_hlp .hlp06-hero__content {
    max-width: 850px;
}

.cck_hlp .hlp06-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(2.25rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.08;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cck_hlp .hlp06-hero__intro,
.cck_hlp .hlp06-hero__intro p {
    margin: 0;
    color: #fff;
    font-size: clamp(1rem, 1.35vw, 1.5rem);
    line-height: 1.35;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.cck_hlp .hlp06-search-area,
.cck_hlp .hlp06-search-area .search-bar,
.cck_hlp .hlp06-search-area .searchbar-flex-v2 {
    margin: 0;
    background: var(--hlp-search-bg);
}

.cck_hlp .hlp06-search-area .searchbar-flex-v2 {
    --sf-container-width: 760px;
    --sf-primary-calendar-width: 23.5rem;
    --sf-primary-item-width: 10.75rem;
    --sf-field-height: 2.75rem;
    --sf-button-height: 2.75rem;
    padding: 16px 0 13px;
}

.cck_hlp .hlp06-search-area .searchbar-flex-v2__container {
    padding-right: 0;
    padding-left: 0;
}

.cck_hlp .hlp06-search-area .searchbar-flex-v2__advanced {
    margin-top: 4px;
}

.cck_hlp .hlp06-form {
    border-top: 0;
}

/* Prevent the legacy #hlp h4 CDN rule from shadowing shared card copy. */
.cck_hlp .hlp-layout-06 .hlp-selected-property-card h4,
.cck_hlp .hlp-layout-06 .hlp-selected-property-card h4 a,
.cck_hlp .hlp-layout-06 .hlp-selected-property-card h4 span {
    text-shadow: none;
}

/* Keep the seasonal darkening layer behind the popular heading and cards. */
.cck_hlp .hlp-layout-06 .hlp06-popular {
    isolation: isolate;
}

.cck_hlp .hlp-layout-06 .hlp06-popular::before {
    z-index: 0;
    pointer-events: none;
}

.cck_hlp .hlp-layout-06 .hlp06-popular > .container {
    position: relative;
    z-index: 1;
}

.cck_hlp .hlp-layout-06 .hlp06-popular .hlpTitle,
.cck_hlp .hlp-layout-06 .hlp06-popular .hlpTitle h3 {
    color: #fff;
}

.cck_hlp .hlp-layout-06 .hlp06-popular .hlp-selected-properties {
    justify-content: center;
}

.cck_hlp .hlp-layout-06 .hlp06-properties--resolved .hlp-selected-properties {
    justify-content: center;
}

@media (max-width: 991.98px) {
    .cck_hlp .hlp06-hero {
        min-height: 470px;
        padding: 65px 0;
    }

    .cck_hlp .hlp06-search-area .searchbar-flex-v2__container {
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (max-width: 767.98px) {
    .cck_hlp .hlp06-hero {
        min-height: 380px;
        padding: 50px 0;
        background-position: center;
    }

    .cck_hlp .hlp06-hero h1 {
        font-size: 2rem;
    }

    .cck_hlp .hlp06-search-area .searchbar-flex-v2 {
        padding: 16px 0;
    }

}

@media (max-width: 575.98px) {
    .cck_hlp .hlp06-hero {
        min-height: 330px;
        padding: 40px 0;
    }

    .cck_hlp .hlp06-hero h1 {
        font-size: 1.75rem;
    }
}
