/* Home page — equal section width and vertical rhythm */
body.nine-properties {
    --nine-pm-content-max: 1280px;
    --nine-pm-content-gutter: 15px;
    --nine-pm-section-gap: 2.5rem;
}

/*
 * One equal gap between every home block — padding-top on each band wrapper and footer.
 */
body.nine-properties .nine-pm-rental-band,
body.nine-properties .nine-pm-ad-band,
body.nine-properties .nine-pm-callback-band,
body.nine-properties .nine-pm-section-band,
body.nine-properties .nine-pm-home-section {
    padding-top: var(--nine-pm-section-gap) !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box;
}

body.nine-properties .nine-pm-callback-band.nine-pm-home-cta-band {
    padding-bottom: var(--nine-pm-section-gap) !important;
}

body.nine-properties .nine-pm-footer {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.nine-properties .nine-pm-rental-section .title-box .description,
body.nine-properties .nine-pm-corporate-stays-section .nine-pm-corporate-stays-head .description,
body.nine-properties .nine-pm-corporate-stays-section .title-box .description,
body.nine-properties .nine-pm-featured-section .title-box .description {
    text-align: justify;
    text-justify: inter-word;
}

body.nine-properties .nine-pm-hero + .nine-pm-rental-band {
    padding-top: var(--nine-pm-section-gap) !important;
}

body.nine-properties .nine-pm-about-band .nine-pm-about-section,
body.nine-properties .nine-pm-testimonials-band .nine-pm-testimonials-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.nine-properties .nine-pm-hero {
    margin-bottom: 0 !important;
}

body.nine-properties .nine-pm-about-section {
    overflow: visible;
}

body.nine-properties .nine-pm-about-section .cs_video_block.cs_style_2 .cs_video_info h3,
body.nine-properties .nine-pm-about-section .cs_offerbox .cs_video_info h3 {
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.25;
}

body.nine-properties .nine-pm-about-section .cs_video_block.cs_style_2 {
    padding: 14px 16px !important;
    gap: 12px !important;
}

body.nine-properties .nine-pm-about-section .cs_video_block.cs_style_2 .cs_player_btn.cs_style_2,
body.nine-properties .nine-pm-about-section .cs_offerbox .cs_offerbox_icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
}

body.nine-properties .nine-pm-about-section .cs_offerbox {
    padding-top: 22px !important;
}

body.nine-properties .nine-pm-about-section .cs_offerbox .cs_video_info {
    padding: 14px 16px !important;
}

body.nine-properties .nine-pm-about-section .nine-pm-about-highlight-icon i {
    font-size: 18px;
    line-height: 1;
}

body.nine-properties .nine-pm-about-section > .container {
    position: relative;
    z-index: 1;
    overflow: visible;
}

body.nine-properties .nine-pm-about-section .cs_about_content {
    padding-left: 0 !important;
    position: relative;
    z-index: 2;
    max-width: 100%;
}

body.nine-properties .nine-pm-list-property-form {
    padding: 22px 22px 20px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 8px 24px rgb(9 35 60 / 6%);
}

body.nine-properties .nine-pm-list-property-form__section-title {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    color: #333;
}

body.nine-properties .nine-pm-list-property-form__title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #555;
}

body.nine-properties .nine-pm-list-property-form__intro {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.45;
    color: #666;
}

body.nine-properties .nine-pm-list-property-form__form {
    margin: 0;
}

body.nine-properties .nine-pm-list-property-form__field {
    margin-bottom: 12px;
}

body.nine-properties .nine-pm-list-property-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

body.nine-properties .nine-pm-list-property-form__row .nine-pm-list-property-form__field {
    margin-bottom: 0;
}

body.nine-properties .nine-pm-list-property-form .cs_form_field {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
    box-sizing: border-box;
}

body.nine-properties .nine-pm-list-property-form select.cs_form_field {
    appearance: auto;
    cursor: pointer;
}

body.nine-properties .nine-pm-list-property-form__gallery-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

body.nine-properties .nine-pm-list-property-form__file-wrap {
    min-height: 88px;
    padding: 12px;
    border: 1px dashed #d1d5db;
    background: #fafafa;
    overflow: hidden;
}

body.nine-properties .nine-pm-list-property-form__file-label {
    gap: 6px;
    font-size: 13px;
    line-height: 1.35;
    color: #666;
    cursor: pointer;
    pointer-events: none;
}

body.nine-properties .nine-pm-list-property-form__file-label i {
    font-size: 20px;
    color: #09233c;
}

body.nine-properties .nine-pm-list-property-form__file-wrap .cs_file_load {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

body.nine-properties .nine-pm-list-property-form__submit {
    width: 100%;
    margin-top: 2px;
    min-height: 46px;
    border: none;
    cursor: pointer;
    background-color: var(--nine-pm-brand-btn, #fdb813) !important;
    color: #09233c !important;
}

body.nine-properties .nine-pm-list-property-form__submit:hover {
    background-color: var(--nine-pm-brand-btn-hover, #e5a610) !important;
}

body.nine-properties .nine-pm-nri-property-form__trust {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #666;
    text-align: center;
}

body.nine-properties .nine-pm-nri-property-form__result {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

body.nine-properties .nine-pm-nri-property-form__result.is-success {
    color: #0e9f6e;
}

body.nine-properties .nine-pm-nri-property-form__result.is-error {
    color: #c0392b;
}

body.nine-properties .nine-pm-list-property-form .cs_form_field.is-invalid,
body.nine-properties .nine-pm-list-property-form select.cs_form_field.is-invalid {
    outline: 1px solid #e74c3c;
}

@media (max-width: 991px) {
    body.nine-properties .nine-pm-list-property-form {
        margin-top: 4px;
    }
}

@media (max-width: 575px) {
    body.nine-properties .nine-pm-list-property-form {
        padding: 16px;
    }

    body.nine-properties .nine-pm-list-property-form__section-title {
        font-size: 22px;
    }

    body.nine-properties .nine-pm-list-property-form__title {
        font-size: 17px;
    }

    body.nine-properties .nine-pm-list-property-form__row {
        grid-template-columns: 1fr;
    }
}

body.nine-properties .nine-pm-about-section .cs_section_title,
body.nine-properties .nine-pm-about-section .cs_section_desc {
    max-width: 100%;
    overflow-wrap: anywhere;
}

body.nine-properties .nine-pm-about-section .cs_about_shape_1 {
    display: none;
}

body.nine-properties .nine-pm-about-section .cs_about_thumbnail {
    overflow: visible;
    isolation: isolate;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    background: #e8eef3;
    border-radius: 10px;
}

body.nine-properties .nine-pm-about-section .nine-pm-about-row > .nine-pm-about-form-col,
body.nine-properties .nine-pm-about-section .nine-pm-about-row > .nine-pm-about-media-col {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    body.nine-properties .nine-pm-about-section .nine-pm-about-media-col {
        flex: 0 0 auto !important;
        width: min(380px, 38%) !important;
        max-width: 380px !important;
    }

    body.nine-properties .nine-pm-about-section .nine-pm-about-form-col {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
    }
}

body.nine-properties .nine-pm-about-section .nine-pm-about-form-col .cs_about_content,
body.nine-properties .nine-pm-about-section .nine-pm-about-form-col .nine-pm-list-property-form {
    flex: 1 1 auto;
    height: 100%;
}

body.nine-properties .nine-pm-about-section .cs_about_thumbnail > img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 10px;
}

body.nine-properties .nine-pm-about-section .cs_video_block.cs_style_2,
body.nine-properties .nine-pm-about-section .cs_offerbox {
    z-index: 4;
    left: 16px !important;
    right: auto;
    width: min(calc(100% - 32px), 320px) !important;
    max-width: calc(100% - 32px) !important;
    animation: nine-pm-about-slide 20s linear infinite !important;
}

body.nine-properties .nine-pm-about-section .cs_offerbox {
    animation-delay: 10s !important;
}

body.nine-properties .nine-pm-about-section .cs_video_block.cs_style_2:hover,
body.nine-properties .nine-pm-about-section .cs_offerbox:hover {
    animation-play-state: paused;
}

@keyframes nine-pm-about-slide {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(48px);
    }
}

@media (max-width: 991px) {
    body.nine-properties .nine-pm-about-section .nine-pm-about-media-col {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.nine-properties .nine-pm-about-section .cs_about_thumbnail {
        height: auto;
    }

    body.nine-properties .nine-pm-about-section .cs_about_thumbnail > img {
        height: auto;
        max-height: 340px;
        min-height: 0;
        aspect-ratio: 4 / 3;
        object-position: center;
    }

    body.nine-properties .nine-pm-about-section .cs_video_block.cs_style_2,
    body.nine-properties .nine-pm-about-section .cs_offerbox {
        width: min(calc(100% - 24px), 320px) !important;
        max-width: calc(100% - 24px) !important;
        left: 12px !important;
    }

    @keyframes nine-pm-about-slide {
        0%,
        100% {
            transform: translateX(0);
        }

        50% {
            transform: translateX(28px);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    body.nine-properties .nine-pm-about-section .cs_video_block.cs_style_2,
    body.nine-properties .nine-pm-about-section .cs_offerbox {
        animation: none !important;
    }
}

body.nine-properties .nine-pm-rental-section.white-box,
body.nine-properties .nine-pm-ad-banner.white-box,
body.nine-properties .nine-pm-owners-section.white-box,
body.nine-properties .nine-pm-featured-section.white-box {
    padding-bottom: 0 !important;
}

body.nine-properties .nine-pm-rental-section,
body.nine-properties .nine-pm-ad-banner__inner,
body.nine-properties .nine-pm-callback-band__inner,
body.nine-properties .nine-pm-section-band__inner,
body.nine-properties .nine-pm-hero > .container,
body.nine-properties .nine-pm-home-section > .container,
body.nine-properties .nine-pm-about-section > .container,
body.nine-properties .nine-pm-testimonials-section > .container,
body.nine-properties .nine-pm-footer > .container {
    max-width: var(--nine-pm-content-max) !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--nine-pm-content-gutter);
    padding-right: var(--nine-pm-content-gutter);
    box-sizing: border-box;
}

@media (max-width: 767px) {
    body.nine-properties {
        --nine-pm-section-gap: 1.75rem;
    }

    body.nine-properties .nine-pm-rental-section,
    body.nine-properties .nine-pm-home-section > .container,
    body.nine-properties .nine-pm-about-section > .container,
    body.nine-properties .nine-pm-testimonials-section > .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}
