/* =========================================================
   BLUESTONE PROPERTIES
   DESKTOP CATEGORY MEGA MENU
========================================================= */

.categories-menu {
    position: relative;
}


/* Desktop Mega Menu */

.categories-mega-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;

    width: 980px;

    padding: 22px;

    background: #ffffff;

    border-top: 2px solid #0b5b99;

    border-radius: 0 0 15px 15px;

    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(-50%) translateY(8px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;

    z-index: 99999;
}


/* Desktop Open */

.categories-menu:hover .categories-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(-50%) translateY(0);
}


/* Grid */

.categories-grid {
    display: grid;

    grid-template-columns: repeat(7, 1fr);

    gap: 10px;
}


/* Category Card */

.category-item {
    min-height: 108px;

    padding: 13px 7px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    gap: 9px;

    background: #ffffff;

    border: 1px solid #e8edf2;

    border-radius: 9px;

    text-decoration: none !important;

    transition: all .25s ease;
}


.category-item:hover {
    background: #f5f9fd;

    border-color: #c9dbea;

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(0, 79, 140, .08);
}


/* Category Icon */

.category-icon {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #edf5fc;

    color: #075c9d;

    font-size: 17px;

    transition: all .25s ease;
}


.category-item:hover .category-icon {
    background: #075c9d;

    color: #ffffff;

    transform: scale(1.05);
}


/* Category Name */

.category-name {
    display: block;

    color: #222d3a;

    font-size: 11px;

    line-height: 1.35;

    font-weight: 500;

}


.category-item:hover .category-name {
    color: #075c9d;
}


/* =========================================================
   DESKTOP ADD PROPERTY
========================================================= */

.header-account .tf-btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;
}


/* =========================================================
   BLUESTONE MOBILE NAVIGATION
========================================================= */

.bluestone-mobile-nav {
    width: 100%;

    margin: 0;

    padding: 5px 0 10px;
}


/* Main Item */

.bm-item {
    width: 100%;

    border-bottom: 1px solid #eeeeee;
}


.bm-item>a,
.bm-link {
    width: 100%;

    min-height: 57px;

    padding: 0 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: transparent;

    border: 0;

    color: #182130;

    font-family: inherit;

    font-size: 16px;

    font-weight: 500;

    text-decoration: none;

    text-align: left;

    cursor: pointer;

    transition: all .2s ease;
}


.bm-item>a:hover,
.bm-link:hover {
    color: #075c9d;
}


/* Dropdown Arrow */

.bm-link>i {
    font-size: 11px;

    color: #25303c;

    transition: transform .25s ease;
}


/* Open Arrow */

.bm-dropdown.bm-open .bm-link>i {
    transform: rotate(90deg);

    color: #075c9d;
}


/* =========================================================
   MOBILE NORMAL SUBMENU
========================================================= */

.bm-submenu {
    display: none;

    padding: 4px 0 10px;

    background: #f7f9fb;
}


.bm-dropdown.bm-open>.bm-submenu {
    display: block;
}


.bm-submenu a {
    display: block;

    padding: 11px 25px 11px 43px;

    color: #626d79;

    font-size: 14px;

    line-height: 1.3;

    text-decoration: none;

    border-bottom: 1px solid #edf0f2;
}


.bm-submenu a:hover {
    color: #075c9d;

    background: #f0f6fb;
}


/* =========================================================
   MOBILE CATEGORY GRID
========================================================= */

.bm-category-grid {
    display: none;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 8px;

    padding: 12px 18px 16px;

    background: #f7f9fb;
}


.bm-category-dropdown.bm-open>.bm-category-grid {
    display: grid;
}


/* Category Mobile Card */

.bm-category-grid a {
    min-height: 74px;

    padding: 10px 6px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 6px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e4e9ee;

    border-radius: 8px;

    color: #26313e;

    font-size: 10px;

    line-height: 1.3;

    text-decoration: none;

    transition: all .2s ease;
}


.bm-category-grid a:hover {
    border-color: #b9d0e2;

    color: #075c9d;

    background: #f9fcff;
}


/* Category Icon */

.bm-category-grid a i {
    width: 31px;
    height: 31px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #edf5fc;

    color: #075c9d;

    font-size: 12px;
}


/* =========================================================
   MOBILE ADD PROPERTY
========================================================= */

.mobile-menu .button-mobi-sell {
    padding: 15px 20px 20px;
}


.mobile-menu .button-mobi-sell .tf-btn {
    width: 100%;

    min-height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border-radius: 28px;

    font-size: 14px;
}


/* =========================================================
   REMOVE THEME GENERATED MOBILE NAV
========================================================= */

.mobile-menu .menu-outer {
    display: none !important;
}


/* Remove Login/Register if theme cache still injects it */

.mobile-menu .login-box {
    display: none !important;
}


/* =========================================================
   MOBILE MENU
========================================================= */

@media (max-width: 991px) {

    .categories-mega-menu {
        display: none !important;
    }

    .main-menu {
        display: none !important;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 575px) {

    .bm-category-grid {
        grid-template-columns: repeat(2, 1fr);

        padding-left: 15px;
        padding-right: 15px;
    }


    .bm-category-grid a {
        min-height: 70px;

        font-size: 9.5px;
    }


    .bm-link,
    .bm-item>a {
        padding-left: 20px;
        padding-right: 20px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .bm-category-grid {
        gap: 6px;
    }


    .bm-category-grid a {
        min-height: 67px;

        padding: 8px 4px;
    }

}

.flat-section {
    padding-top: 44px;
    padding-bottom: 52px;
}

/* =========================================================
   LATEST PROPERTY SECTION
========================================================= */

.latest-property-section {

    padding: 30px 0;

    background: #fbfbfb;

}


/* =========================================================
   HEADING
========================================================= */

.latest-property-heading {

    max-width: 700px;

    margin: 0 auto 48px;

}


.latest-property-heading .section-subtitle {

    display: block;

    margin-bottom: 10px;

    color: #0c5b99;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.8px;

}


.latest-property-heading .section-title {

    margin: 0 0 12px;

    color: #17202b;

    font-size: 38px;

    font-weight: 700;

}


.latest-property-heading .section-description {

    margin: 0;

    color: #747d87;

    font-size: 15px;

    line-height: 1.7;

}


/* =========================================================
   PROPERTY CARD
========================================================= */

.latest-property-card {

    display: grid;

    grid-template-columns: 48% 52%;

    max-width: 1180px;

    margin: auto;

    background: #ffffff;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 15px 45px rgba(24, 38, 52, 0.08);

}


/* =========================================================
   IMAGE
========================================================= */

.latest-property-image {

    position: relative;

    min-height: 470px;

    overflow: hidden;

}


.latest-property-image a {

    display: block;

    width: 100%;

    height: 100%;

}


.latest-property-image img {

    width: 95%;

    height: 95%;

    /* min-height: 470px; */

    /* object-fit: cover; */

    transition:
        transform .5s ease;

}


.latest-property-card:hover .latest-property-image img {

    transform: scale(1.04);

}


/* Badge */

.latest-property-badge {

    position: absolute;

    top: 22px;

    left: 22px;

    padding: 8px 14px;

    background: #0c5b99;

    color: #ffffff;

    border-radius: 5px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: .3px;

}


/* =========================================================
   CONTENT
========================================================= */

.latest-property-content {

    padding: 45px 48px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.property-category {

    display: inline-block;

    margin-bottom: 13px;

    color: #0c5b99;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.2px;

}


.property-title {

    margin: 0 0 12px;

    max-width: 480px;

    color: #17202b;

    font-size: 30px;

    line-height: 1.3;

    font-weight: 700;

}


.property-location {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    color: #69737e;

    font-size: 13px;

}


.property-location i {

    color: #0c5b99;

}


.property-description {

    margin: 0 0 24px;

    color: #737c86;

    font-size: 14px;

    line-height: 1.8;

}


/* =========================================================
   FEATURES
========================================================= */

.property-features {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 13px 20px;

    margin: 0;

    padding: 0 0 28px;

    list-style: none;

    border-bottom: 1px solid #edf0f3;

}


.property-features li {

    display: flex;

    align-items: center;

    gap: 9px;

    color: #4f5964;

    font-size: 13px;

}


.property-features li i {

    width: 25px;

    color: #0c5b99;

    font-size: 13px;

}


/* =========================================================
   BOTTOM
========================================================= */

.latest-property-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;

}


.property-price {

    display: flex;

    flex-direction: column;

}


.property-price span {

    margin-bottom: 4px;

    color: #9299a1;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: .8px;

}


.property-price strong {

    color: #17202b;

    font-size: 24px;

    font-weight: 700;

}


/* =========================================================
   READ MORE
========================================================= */

.latest-property-read-more {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 12px 19px;

    border: 1px solid #0c5b99;

    border-radius: 5px;

    color: #0c5b99;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;

    transition: all .25s ease;

}


.latest-property-read-more i {

    font-size: 10px;

    transition:
        transform .25s ease;

}


.latest-property-read-more:hover {

    background: #0c5b99;

    color: #ffffff;

}


.latest-property-read-more:hover i {

    transform: translateX(4px);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .latest-property-section {

        padding: 75px 0;

    }


    .latest-property-card {

        grid-template-columns: 45% 55%;

    }


    .latest-property-image,
    .latest-property-image img {

        min-height: 450px;

    }


    .latest-property-content {

        padding: 35px 30px;

    }


    .property-title {

        font-size: 25px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .latest-property-section {

        padding: 60px 0;

    }


    .latest-property-heading {

        margin-bottom: 30px;

    }


    .latest-property-heading .section-title {

        font-size: 30px;

    }


    .latest-property-heading .section-description {

        font-size: 13px;

    }


    .latest-property-card {

        display: block;

        border-radius: 10px;

    }


    .latest-property-image {

        min-height: 280px;

    }


    .latest-property-image img {

        min-height: 280px;

    }


    .latest-property-content {

        padding: 28px 22px;

    }


    .property-title {

        font-size: 23px;

    }


    .property-features {

        grid-template-columns: 1fr;

        gap: 11px;

    }


    .latest-property-bottom {

        align-items: flex-start;

        flex-direction: column;

    }


    .latest-property-read-more {

        width: 100%;

        justify-content: center;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .latest-property-image,
    .latest-property-image img {

        min-height: 240px;

    }


    .property-title {

        font-size: 21px;

    }


    .property-price strong {

        font-size: 22px;

    }

}