﻿/* Custom CSS to inject specific overrides for the UAE template */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif !important;
    background-color: #f7f7f7; /* Very light gray for background */
    color: #333333;
}

/* Base resets inside the custom template area */
.uae-property-template p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.uae-property-template h1, 
.uae-property-template h2, 
.uae-property-template h3, 
.uae-property-template h4 {
    font-family: 'Inter', sans-serif !important;
    color: #1a1a1a;
    font-weight: 600;
}

.brand-blue-text {
    color: #002D72;
}

.brand-blue-bg {
    background-color: #002D72;
}


.cb-meta-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
    padding: 24px 0;
    margin-bottom: 8px;
    border-top: 1px solid #e2e6ee;
    border-bottom: 1px solid #e2e6ee;
    align-items: center;
}



.cb-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}


.cb-meta-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5dbe6;
    border-radius: 12px;
    background: #f7f8fb;
    color: #2f3f5f;
}


.cb-meta-icon i {
    font-size: 21px;
    color: #2f3f5f;
    line-height: 1;
}




.cb-meta-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #2f3f5f;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}



.cb-meta-copy {
    min-width: 0;
}

.cb-meta-label {
    margin-bottom: 2px;
    color: #2f3f5f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.cb-meta-value {
    color: #111927;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    word-break: break-word;
}
.cb-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 20px;
    margin-top: 22px;
}

.cb-main-column,
.cb-side-column {
    min-width: 0;
}

.cb-main-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cb-panel {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.cb-panel-title {
    margin: 0 0 14px;
    color: #1d2939;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.cb-panel-body,
.cb-description-body {
    color: #475467;
    font-size: 14px;
    line-height: 1.75;
}

.cb-description-body p:last-child {
    margin-bottom: 0;
}

.cb-address-line {
    margin: 0 0 14px;
    color: #344054;
    font-size: 14px;
    font-weight: 500;
}

.cb-map-wrap {
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #f8fafc;
}

.cb-amenities-list {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 2;
    column-gap: 28px;
}

.cb-amenities-list li {
    break-inside: avoid;
    position: relative;
    padding-left: 16px;
    margin: 0 0 8px;
    color: #344054;
    font-size: 14px;
    line-height: 1.55;
}

.cb-amenities-list li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #0f3b8f;
}

.cb-floor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cb-floor-item {
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}

.cb-floor-title {
    margin: 0 0 8px;
    color: #1d2939;
    font-size: 13px;
    font-weight: 600;
}

.cb-floor-item img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.cb-empty-text {
    margin: 8px 0 0;
    color: #667085;
    font-size: 13px;
}

.cb-contact-panel {
    padding: 20px;
}

.cb-agent-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #e4e7ec;
}

.cb-agent-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 58px;
}

.cb-agent-name {
    margin: 0 0 4px;
    color: #1d2939;
    font-size: 14px;
    font-weight: 600;
}

.cb-agent-link {
    display: block;
    color: #475467;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.6;
}

.cb-agent-link:hover {
    color: #012169;
}

.cb-view-listings {
    margin-top: 2px;
    font-weight: 500;
    text-decoration: underline;
}

.cb-contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cb-field label {
    display: block;
    margin-bottom: 4px;
    color: #344054;
    font-size: 12px;
    font-weight: 600;
}

.cb-message {
    min-height: 94px;
    resize: vertical;
}

.cb-submit-btn {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: #012169;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cb-submit-btn:hover {
    background: #00184b;
}

/* Image gallery grid styling */
.uae-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    height: 540px;
}

@media (max-width: 768px) {
    .uae-gallery-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .uae-gallery-main, .uae-gallery-subs {
        height: 300px;
    }
}

.uae-gallery-main {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.uae-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px 0 0 12px;
}

.uae-gallery-subs {
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    height: 100%;
    min-height: 0;
}

.uae-gallery-sub-top, .uae-gallery-sub-bottom {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.uae-gallery-subs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Explicit Corners for right side */
.uae-gallery-sub-top img {
    border-radius: 0 12px 0 0;
}

.uae-gallery-sub-bottom img {
    border-radius: 0 0 12px 0;
}

/* Forms */
.uae-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.uae-input:focus {
    border-color: #002D72;
}

.sticky-top-20 {
    position: sticky;
    top: 5rem;
}

/* Map placeholder */
.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    margin-top: 16px;
}
/* Search Template Specifics */
.uae-search-template .page-pagination a, 
.uae-search-template .page-pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: white;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s;
}

.uae-search-template .page-pagination .current {
    background: #002D72 !important;
    color: white !important;
    border-color: #002D72 !important;
}

.uae-search-template .page-pagination a:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Force Boxed Header on Search Page */
.uae-search-template-active header .container,
.uae-search-template-active .header-main .container,
.uae-search-template-active .header-bottom .container {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* If the header is fixed/absolute, we ensure it respects the boxed layout */
.uae-search-template-active .header-main {
    background: white !important;
}

/* Footer & Global Layout Fixes for Search Results */
.uae-search-template-active #footer,
.uae-search-template-active footer {
    position: relative !important;
    z-index: 50 !important;
    display: block !important;
    margin-top: 0 !important;
    background: #002D72 !important; /* Ensure footer background is solid */
}

/* Force document flow - stop Houzez Half Map from floating things */
.uae-search-template-active .half-map-wrap,
.uae-search-template-active #houzez-gmap-main,
.uae-search-template-active .map-on-right,
.uae-search-template-active .map-on-left {
    display: none !important;
    position: static !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Grid Spacing */
.uae-search-template {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
}

/* Responsive Overrides for Icons */
@media (max-width: 640px) {
    .uae-search-template .grid {
        gap: 4px !important;
    }
    .uae-search-template .p-6 {
        padding: 1rem !important;
    }
}

@media (max-width: 1199px) {
    .cb-meta-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cb-content-grid {
        grid-template-columns: 1fr;
    }

    .cb-side-column {
        order: 2;
    }
}

@media (max-width: 767px) {
    .cb-meta-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
        padding: 22px 0;
    }

    .cb-meta-item {
        gap: 12px;
    }

    .cb-meta-label {
        margin-bottom: 2px;
        color: #2f3f5f;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
    }

    .cb-meta-value {
        color: #111927;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.25;
        word-break: break-word;
    }

    .cb-panel {
        padding: 16px;
    }

    .cb-panel-title {
        font-size: 16px;
    }

    .cb-amenities-list {
        columns: 1;
    }

    .cb-floor-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage featured listings - UAE style */
body.home {
    background-color: #ffffff;
}

.home .elementor-element-6fc59222 {
    overflow: hidden;
}

.home .elementor-element-61d75a7d .houzez_section_title_wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
    margin-bottom: 38px;
}

.home .elementor-element-61d75a7d .houzez_section_title {
    margin: 0;
    color: #4b4b4f !important;
    font-family: "Plus Jakarta Sans", "Inter", sans-serif !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.home .elementor-element-61d75a7d .houzez_section_subtitle {
    margin: 0;
    color: #6f7178 !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.45;
}

.home .elementor-element-30e331f {
    position: relative;
}

.home .elementor-element-30e331f .property-carousel-module.card-context-coldwell_featured_home {
    position: relative;
    padding-bottom: 72px;
}

.home .elementor-element-30e331f .listing-view.grid-view {
    padding-bottom: 0;
}

.home .elementor-element-30e331f .property-carousel-buttons-wrap {
    position: absolute;
    top: -88px;
    right: 0;
    left: 0;
    z-index: 3;
    min-height: 48px;
}

.home .elementor-element-30e331f .btn-view-all {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #4b4b4f !important;
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    box-shadow: none !important;
}

.home .elementor-element-30e331f .btn-view-all::after {
    content: "\2197";
    display: inline-block;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    transform: translateY(-1px);
}

.home .elementor-element-30e331f .slick-prev,
.home .elementor-element-30e331f .slick-next {
    position: absolute;
    bottom: 0;
    top: auto;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: transparent !important;
    transform: none;
}

.home .elementor-element-30e331f .slick-prev {
    left: calc(50% - 56px);
}

.home .elementor-element-30e331f .slick-next {
    right: calc(50% - 56px);
}

.home .elementor-element-30e331f .slick-prev::before,
.home .elementor-element-30e331f .slick-next::before {
    color: #223a70;
    font-size: 28px;
    font-weight: 400;
    opacity: 1;
}

.home .elementor-element-30e331f .slick-prev::before {
    content: "\2190";
}

.home .elementor-element-30e331f .slick-next::before {
    content: "\2192";
}

.home .elementor-element-30e331f .slick-dots {
    position: static;
    display: flex !important;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.home .elementor-element-30e331f .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.home .elementor-element-30e331f .slick-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d5d9e2;
    color: transparent;
    opacity: 1;
}

.home .elementor-element-30e331f .slick-dots button::before {
    content: none !important;
    display: none !important;
}

.home .elementor-element-30e331f .slick-dots li.slick-active button {
    width: 10px;
    height: 10px;
    background: #173c88;
}

.home .elementor-element-30e331f .slick-slide {
    padding: 0 15px;
}

.home .elementor-element-30e331f .slick-track {
    display: flex !important;
}

.home .elementor-element-30e331f .slick-slide {
    float: none;
    height: inherit !important;
}

.home .elementor-element-30e331f .slick-slide > div {
    height: 100%;
}

.home .elementor-element-30e331f .slick-list {
    margin: 0 -15px;
    padding-bottom: 0;
}

.home .cb-featured-card {
    height: 100%;
}

.home .cb-featured-card.item-listing-wrap {
    height: 100%;
}

.home .cb-featured-card .item-wrap {
    height: 100%;
    background: transparent;
    box-shadow: none;
}

.home .cb-featured-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #ebedf2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home .cb-featured-card-media {
    position: relative;
}

.home .cb-featured-card:hover .cb-featured-card-inner {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.home .cb-featured-card .item-header .label-featured {
    position: absolute;
    top: 22px;
    left: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    background: #133f9c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home .cb-featured-card .item-header .label-featured::before {
    content: "\26A1";
    font-size: 13px;
    line-height: 1;
}

.home .cb-featured-card .listing-image-wrap,
.home .cb-featured-card .listing-thumb,
.home .cb-featured-card .hover-effect,
.home .cb-featured-card .listing-featured-thumb {
    display: block;
    width: 100%;
}

.home .cb-featured-card .listing-thumb img {
    width: 100%;
    height: 288px;
    object-fit: cover;
}

.home .cb-featured-card .slick-prev,
.home .cb-featured-card .slick-next {
    top: 50%;
    bottom: auto;
    width: 34px;
    height: 34px;
    border: 0;
    background: rgba(15, 23, 42, 0.12) !important;
    border-radius: 999px;
    color: transparent !important;
    transform: translateY(-50%);
    z-index: 4;
}

.home .cb-featured-card .slick-prev {
    left: 12px;
    right: auto;
}

.home .cb-featured-card .slick-next {
    right: 12px;
    left: auto;
}

.home .cb-featured-card .slick-prev::before,
.home .cb-featured-card .slick-next::before {
    color: #ffffff;
    font-size: 20px;
    opacity: 1;
}

.home .cb-featured-card .slick-prev:hover,
.home .cb-featured-card .slick-next:hover {
    background: rgba(15, 23, 42, 0.22) !important;
}

.home .cb-featured-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 16px 18px 14px;
}

.home .cb-featured-card .item-title {
    margin: 0 0 8px !important;
    min-height: 42px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.32;
}

.home .cb-featured-card .item-title a {
    color: #4b4b4f;
    display: -webkit-box;
    overflow: hidden;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home .cb-featured-card .item-address {
    min-height: 20px;
    margin: 0 0 14px !important;
    color: #7a7a80;
    font-size: 14px;
    line-height: 1.45;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.home .cb-featured-card .item-address i {
    display: none;
}

.home .cb-featured-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    color: #65656b;
    font-size: 14px;
    line-height: 1.2;
}

.home .cb-featured-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home .cb-featured-card-meta-item i {
    color: #55565d;
    font-size: 17px;
}

.home .cb-featured-card-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-bottom: 15px;
    border-bottom: 1px solid #e7e9ef;
}

.home .cb-featured-card-price-values {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home .cb-featured-card-price-values .item-price {
    color: #4b4b4f;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.home .cb-featured-card-price-values .item-sub-price {
    color: #7a7a80;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.home .cb-featured-card-reference {
    color: #4b4b4f;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.home .cb-featured-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px 14px;
}

.home .cb-featured-card-agent {
    min-width: 0;
}

.home .cb-featured-card-agent a {
    color: #66666b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home .cb-featured-card-agent .item-author-image {
    flex: 0 0 auto;
}

.home .cb-featured-card-agent img {
    width: 42px;
    height: 42px;
    object-fit: cover;
}

.home .cb-featured-card-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
    min-width: 74px;
}

.home .cb-featured-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    color: #4b4b4f;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.home .cb-featured-card-action:hover {
    color: #133f9c;
    background: rgba(19, 63, 156, 0.06);
}

.home .cb-featured-card-action i {
    font-size: 18px;
}

@media (max-width: 1024px) {
    .home .elementor-element-30e331f .property-carousel-module.card-context-coldwell_featured_home {
        padding-bottom: 72px;
    }

    .home .elementor-element-30e331f .property-carousel-buttons-wrap {
        top: -76px;
    }
}

@media (max-width: 767px) {
    .home .elementor-element-61d75a7d .houzez_section_title {
        font-size: 24px !important;
    }

    .home .elementor-element-30e331f .property-carousel-module.card-context-coldwell_featured_home {
        padding-bottom: 72px;
    }

    .home .elementor-element-30e331f .property-carousel-buttons-wrap {
        position: static;
        margin-bottom: 16px;
        min-height: 0;
    }

    .home .elementor-element-30e331f .btn-view-all {
        position: static;
    }

    .home .elementor-element-30e331f .slick-prev {
        left: calc(50% - 48px);
    }

    .home .elementor-element-30e331f .slick-next {
        right: calc(50% - 48px);
    }

    .home .cb-featured-card .listing-thumb img {
        height: 228px;
    }

    .home .cb-featured-card .slick-prev {
        left: 10px;
    }

    .home .cb-featured-card .slick-next {
        right: 10px;
    }

    .home .cb-featured-card-meta {
        gap: 12px 14px;
        font-size: 13px;
    }

    .home .cb-featured-card-price-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .home .cb-featured-card-reference {
        white-space: normal;
    }

    .home .cb-featured-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .home .cb-featured-card-actions {
        margin-left: 56px;
    }
}

.home .coldwell-apartment-types-section {
    padding: 58px 0 56px;
    background: #ffffff;
}

.home .coldwell-apartment-types-inner {
    position: relative;
    width: min(1180px, calc(100% - 88px));
    margin: 0 auto;
}

.home .coldwell-apartment-types-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 38px;
    text-align: left;
}

.home .coldwell-apartment-types-title .houzez_section_title {
    margin: 0;
    color: #4b4b4f !important;
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.home .coldwell-apartment-types-title .houzez_section_subtitle {
    margin: 0;
    color: #6f7178 !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.45;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home {
    position: relative;
    padding-top: 8px;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .taxonomy-cards-module-slider-nav {
    position: absolute;
    top: -74px;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0;
    width: 148px;
    height: 28px;
    pointer-events: none;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-prev,
.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-next {
    position: absolute;
    top: -74px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: transparent !important;
    transform: none;
    pointer-events: auto;
    z-index: 5;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-prev {
    right: 122px;
    left: auto;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-next {
    right: 0;
    left: auto;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-prev::before,
.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-next::before {
    color: #1f2d4d;
    font-size: 18px;
    font-weight: 300;
    opacity: 1;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-prev:hover::before,
.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-next:hover::before {
    color: #173c88;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .taxonomy-cards-module-slider {
    margin: 0 -10px;
    overflow: visible;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .taxonomy-item-card-wrap {
    padding: 0 10px;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-dots {
    position: absolute;
    top: -66px;
    right: 40px;
    left: auto;
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 4;
    pointer-events: auto;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-dots button {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d4d8e1;
    color: transparent;
    cursor: pointer;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-dots button::before {
    content: none !important;
    display: none !important;
}

.home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-dots li.slick-active button {
    width: 8px;
    height: 8px;
    background: #173c88;
}

.home .coldwell-taxonomy-card {
    height: 100%;
}

.home .coldwell-taxonomy-card-link {
    position: relative;
    display: block;
    height: 278px;
    overflow: hidden;
    border-radius: 22px;
    color: #ffffff;
    text-decoration: none;
    background: #d7dbe6;
}

.home .coldwell-taxonomy-card-image,
.home .coldwell-taxonomy-card-image img {
    width: 100%;
    height: 100%;
}

.home .coldwell-taxonomy-card-image {
    position: absolute;
    inset: 0;
}

.home .coldwell-taxonomy-card-image img {
    display: block;
    object-fit: cover;
}

.home .coldwell-taxonomy-card-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 19, 32, 0.14) 0%, rgba(12, 19, 32, 0.24) 38%, rgba(10, 14, 24, 0.66) 100%);
}

.home .coldwell-taxonomy-card-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px 24px 24px;
}

.home .coldwell-taxonomy-card-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 82%;
}

.home .coldwell-taxonomy-card-title {
    margin: 0;
    color: #ffffff;
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.02em;
}

.home .coldwell-taxonomy-card-count {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.home .coldwell-taxonomy-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
}

.home .coldwell-taxonomy-card-cta span {
    font-size: 22px;
    line-height: 1;
    transform: translateY(-1px);
}

@media (max-width: 1199px) {
    .home .coldwell-apartment-types-inner {
        width: min(1180px, calc(100% - 56px));
    }

    .home .coldwell-taxonomy-card-link {
        height: 268px;
    }

    .home .coldwell-taxonomy-card-title {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .home .coldwell-apartment-types-section {
        padding: 34px 0 30px;
    }

    .home .coldwell-apartment-types-inner {
        width: calc(100% - 24px);
    }

    .home .coldwell-apartment-types-title {
        align-items: flex-start;
        margin-bottom: 20px;
        text-align: left;
    }

    .home .coldwell-apartment-types-title .houzez_section_title {
        font-size: 24px !important;
    }

    .home .coldwell-apartment-types-title .houzez_section_subtitle {
        font-size: 15px !important;
    }

    .home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home {
        padding-top: 0;
        padding-bottom: 54px;
    }

    .home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .taxonomy-cards-module-slider-nav {
        top: auto;
        right: 50%;
        bottom: 0;
        transform: translateX(64px);
        pointer-events: none;
        width: 74px;
    }

    .home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-prev,
    .home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-next {
        top: auto;
        bottom: 0;
    }

    .home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-prev {
        right: calc(50% + 22px);
    }

    .home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-next {
        right: calc(50% - 84px);
    }

    .home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .slick-dots {
        top: auto;
        right: 50%;
        bottom: 7px;
        transform: translateX(50%);
    }

    .home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .taxonomy-cards-module-slider {
        margin: 0 -8px;
    }

    .home .coldwell-apartment-types-section .taxonomy-context-coldwell_apartment_types_home .taxonomy-item-card-wrap {
        padding: 0 8px;
    }

    .home .coldwell-taxonomy-card-link {
        height: 236px;
        border-radius: 18px;
    }

    .home .coldwell-taxonomy-card-content {
        padding: 22px 20px 20px;
    }

    .home .coldwell-taxonomy-card-title {
        font-size: 18px;
    }
}
