/* PropertyManagers-style home hero (scoped to 9to9 landing) */
body.nine-properties {
    --pm-hero-navy: #09233c;
    --pm-hero-accent: var(--nine-pm-brand-btn, #fdb813);
    --pm-hero-accent-soft: #fff4d6;
    --pm-hero-text-white: #fff;
    --pm-hero-text-primary: #333;
}

body.nine-properties .nine-pm-hero.search-face-wrap {
    position: relative;
    z-index: 1;
    margin-top: 0;
    min-height: 65vh;
    padding: 96px 20px 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--pm-hero-navy);
    overflow: hidden;
    box-sizing: border-box;
}

body.nine-properties .nine-pm-hero .hero-banner {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
    display: block;
}

body.nine-properties .nine-pm-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgb(9 35 60 / 35%) 0%, rgb(9 35 60 / 72%) 100%);
    pointer-events: none;
}

body.nine-properties .nine-pm-hero > .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

body.nine-properties .nine-pm-hero .city-heading-box {
    padding: 20px 0 0;
    color: var(--pm-hero-text-white);
    position: relative;
}

body.nine-properties .nine-pm-hero .city-heading-box h1 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(28px, 4.5vw, 55px);
    line-height: 1.15;
    font-weight: 700;
    color: var(--pm-hero-text-white);
    text-shadow: 0 2px 20px rgb(0 0 0 / 55%);
}

body.nine-properties .nine-pm-hero .sqy-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

body.nine-properties .nine-pm-hero .sqy-rating .rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--pm-hero-accent-soft);
    border: 1px solid var(--pm-hero-accent);
    font-size: 13px;
    font-weight: 700;
    color: var(--pm-hero-text-primary);
}

body.nine-properties .nine-pm-hero .sqy-rating .rating i {
    font-size: 12px;
    color: #f7b400;
}

body.nine-properties .nine-pm-hero .sqy-rating > span {
    font-size: 13px;
    font-weight: 500;
    color: rgb(255 255 255 / 88%);
}

body.nine-properties .nine-pm-hero .title-box {
    padding: 0 0 20px;
    text-align: left;
}

body.nine-properties .nine-pm-hero .title-box .description {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 0.35em;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--pm-hero-text-white);
}

body.nine-properties .nine-pm-hero .title-box .slide-text-box {
    height: 20px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: max-content;
    max-width: 100%;
    flex: 0 1 auto;
}

body.nine-properties .nine-pm-hero .title-box .slide-text {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: none;
}

body.nine-properties .nine-pm-hero .title-box .slide-text li {
    height: 20px;
    min-height: 20px;
    line-height: 20px;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--pm-hero-accent);
    white-space: nowrap;
}

body.nine-properties .nine-pm-hero .search-box-dynamic-body {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 24px;
}

body.nine-properties .nine-pm-hero .search-box.common-search {
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

body.nine-properties .nine-pm-hero .pm-hero-search-unit {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

body.nine-properties .nine-pm-hero .property-tab-list {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

body.nine-properties .nine-pm-hero .property-tab-list li {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 10px 17px;
    border-left: #07213a solid 1px;
    color: var(--pm-hero-text-white);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    background: rgb(12 29 47 / 60%);
    backdrop-filter: blur(6px);
    position: relative;
}

body.nine-properties .nine-pm-hero .property-tab-list li:first-child {
    border-left: 0;
}

body.nine-properties .nine-pm-hero .property-tab-list li.active {
    pointer-events: none;
    background: #000f1d;
    color: var(--pm-hero-text-white);
}

body.nine-properties .nine-pm-hero .property-tab-list li.active::after {
    content: '';
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 5px;
    height: 2px;
    background: var(--pm-hero-accent);
}

body.nine-properties .nine-pm-hero .search-filter-box {
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}

body.nine-properties .nine-pm-hero .filter-search-row.min-outer {
    display: flex;
    align-items: stretch;
    width: 100%;
}

body.nine-properties .nine-pm-hero .pm-hero-search-city {
    flex: 1;
    min-width: 0;
    display: flex;
    background: #fff;
    border-radius: 0 0 0 10px;
}

body.nine-properties .nine-pm-hero .pm-hero-search-city .search-input {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    position: relative;
    height: 55px;
}

body.nine-properties .nine-pm-hero .pm-hero-search-icon {
    position: absolute;
    left: 14px;
    font-size: 18px;
    color: #999;
    pointer-events: none;
}

body.nine-properties .nine-pm-hero .pm-hero-search-city .form-control {
    width: 100%;
    height: 53px;
    padding: 0 16px 0 44px;
    border: none;
    box-shadow: none;
    font-size: 16px;
    border-radius: 0 0 0 10px;
    background: #fff;
}

body.nine-properties .nine-pm-hero .pm-hero-search-city .form-control:focus {
    outline: none;
    box-shadow: none;
}

body.nine-properties .nine-pm-hero .search-cta .apply-button {
    height: 55px;
    min-width: 115px;
    border-radius: 0 10px 10px 0;
    border: none;
    background: var(--pm-hero-accent);
    color: var(--pm-hero-text-primary);
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

body.nine-properties .nine-pm-hero .search-cta .apply-button:hover {
    background: var(--nine-pm-brand-btn-hover, #e5a610);
}

@media (max-width: 991px) {
    body.nine-properties .nine-pm-hero .search-box.common-search {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    body.nine-properties .nine-pm-hero.search-face-wrap {
        min-height: 65vh;
        padding: 88px 12px 28px;
    }

    body.nine-properties .nine-pm-hero > .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.nine-properties .nine-pm-hero .city-heading-box h1 {
        font-size: 30px;
        line-height: 1.25;
    }

    body.nine-properties .nine-pm-hero .title-box .description {
        display: block;
    }

    body.nine-properties .nine-pm-hero .title-box .slide-text-box {
        height: 36px;
        display: inline-block;
        width: 100%;
        max-width: 100%;
        margin-top: 0.25rem;
    }

    body.nine-properties .nine-pm-hero .title-box .slide-text li {
        height: 36px;
        min-height: 36px;
        line-height: 36px;
        font-size: 16px;
        white-space: normal;
    }

    body.nine-properties .nine-pm-hero .filter-search-row.min-outer {
        flex-direction: column;
    }

    body.nine-properties .nine-pm-hero .pm-hero-search-city .search-input,
    body.nine-properties .nine-pm-hero .pm-hero-search-city .form-control {
        border-radius: 10px 10px 0 0;
    }

    body.nine-properties .nine-pm-hero .search-cta .apply-button {
        width: 100%;
        border-radius: 0 0 10px 10px;
    }
}
