body {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    background: #f4f7f9;
    margin: 0;
    padding: 0;
    cursor: default;
}

ul {
    list-style: none;
}

::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}

::-webkit-scrollbar-button {
    width: 0px !important;
    height: 0px !important;
}

::-webkit-scrollbar-thumb {
    background: #e1e1e1 !important;
    border: 100px none #ffffff !important;
    border-radius: 0px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff !important;
}

::-webkit-scrollbar-thumb:active {
    background: #eee !important;
}

::-webkit-scrollbar-track {
    background: #666666 !important;
    border: 0px none #ffffff !important;
    border-radius: 0px !important;
}

::-webkit-scrollbar-track:hover {
    background: #666666 !important;
}

::-webkit-scrollbar-track:active {
    background: #333333 !important;
}

::-webkit-scrollbar-corner {
    background: transparent !important;
}


a:link {
    color: #fff !important;
    text-decoration: none;
}

a:visited {
    color: #fff !important;
    text-decoration: none;
}

a:hover {
    color: #fff !important;
    text-decoration: none;
}

a:active {
    color: #fff !important;
    text-decoration: none;
}


.clear_both {
    clear: both;
}

.clear_5 {
    clear: both;
    margin-bottom: 5px;
}

.clear_10 {
    clear: both;
    margin-bottom: 10px;
}

.clear_15 {
    clear: both;
    margin-bottom: 15px;
}

.clear_20 {
    clear: both;
    margin-bottom: 20px;
}

.clear_30 {
    clear: both;
    margin-bottom: 30px;
}

.clear_40 {
    clear: both;
    margin-bottom: 40px;
}

.clear_50 {
    clear: both;
    margin-bottom: 50px;
}

.clear_80 {
    clear: both;
    margin-bottom: 80px;
}


.bg_none {
    background: none !important;
}

.bg_199d92 {
    background: #199d92 !important;
}

.bg_fbb92a {
    background: #fbb92a !important;
}

.bg_ed6300 {
    background: #ed6300 !important;
}

.bg_b83110 {
    background: #b83110 !important;
}

.bg_348cb2 {
    background: #348cb2 !important;
}

.bg_68970e {
    background: #68970e !important;
}


.header_top_sect {
    height: 35px;
    line-height: 35px;
    color: #fff;
    background: #d71309;
}

.header_top_sect a {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.top_menus {
    float: left;
}

.top_menus li {
    float: left;
    list-style: none;
    margin-right: 10px;
}

.header_login_sect {
    float: right;
    height: 35px;
    padding: 0px 10px;
    background: #acacac;
    color: #fff;
    cursor: pointer;
}

.header_sect {
    background: #fff;
    height: 105px;
}

.main_logo {
    cursor: pointer;
    margin-top: 15px;
    float: left;
}


.header_button_sect {
    border-top: solid 3px #d0d0d0;
    border-bottom: solid 3px #d0d0d0;
    float: right;
    height: 45px;
    line-height: 40px;
    margin-top: 32px;
    cursor: pointer;
}

.header_button_sect i {
    line-height: 40px;
    font-size: 22px;
    float: left;
    width: 35px;
}

.header_button_sect span {
    float: left;
    width: 80%;
    line-height: 25px;
    font-weight: 600;
}

.header_button_sect small {
    float: left;
    width: 80%;
    line-height: 3px;
}

.header_button_sect:hover {
    color: #d71309;
}


.main_menu_sect {
    height: 50px;
    line-height: 50px;
    color: #f1f1f1;
    font-weight: 600;
    font-size: 14px;
    background: #124C7B;
}

.main_menu_sect li i {
    margin-left: 5px;
}


.main_menu_sect .dropdown-menu {
    background: #124C7B;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    margin-top: 0px;
    border-top: 0px;
    padding-top: 0px;
}

.main_menu_sect .dropdown-menu a {
    color: #fff !important;
    height: 30px;
    line-height: 24px;
    padding-left: 10px;
}

.main_menu_sect .dropdown-menu a:hover {
    color: red !important;
}


.top_search_sect {
    line-height: 13px;
    padding: 10px 0px;
    height: 50px;
}

.top_search_sect input {
    width: 88%;
    float: left;
    height: 30px;
    border: 0px;
    font-weight: 300;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.6);
    padding: 0px 8px;
    color: #333;
}

.top_search_sect button.search_button {
    width: 12%;
    border: 0px;
    float: left;
    height: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
}

.top_search_sect button.search_button:hover {
    background: rgba(255, 255, 255, 0.8);
}

.top_search_sect button.search_button:hover i {
    color: #1c1f9c;
}

.head {
    border-bottom: 1px solid #dbdbdb;
    margin-bottom: 15px;
    height: 40px;
    color: #666;
}

.head a {
    color: #666 !important;
}

.head .headindg {
    float: left;
    display: block;
    font-size: 14px;
    line-height: 40px;
    position: relative;
    font-weight: 600;
}

.head .headindg:after {
    content: '';
    position: absolute;
    height: 3px;
    background-color: #124C7B;
    bottom: -1px;
    left: 0;
    width: 100%
}


.main_slider_sect {
    background: #fff;
    padding: 15px 10px;
    padding-bottom: 10px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}

.main_showcase_sect {
    background: #fff;
    padding: 0px 10px;
    padding-bottom: 10px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}

.slider_image_sect {
    padding: 2px;
    border: solid 1px #ccc;
    margin-bottom: 15px;
}

.slider_image_sect img {
    /* height:294px; */
}

.slider_image_sect span {
    position: absolute;
    line-height: 35px;
    background: #d71309;
    padding: 0 12px;
    color: #fff;
    font-weight: 600;
    top: 2px;
    z-index: 1;
    opacity: 0.8;
}


.slider_content_sect .title {
    float: left;
    width: 100%;
    background: #D6D6D6;
    padding-top: 5px;
    padding-bottom: 2px;
    min-height: 45px;
    font-size: 14px;
    font-weight: 600;
    padding-left: 8px;
}

.slider_content_sect ul {
    float: left;
    width: 100%;
    list-style: none;
    padding-left: 0px;
    /* border:solid 1px #D6D6D6;  */
    border-bottom: 0px;
}

.slider_content_sect ul li {
    float: left;
    width: 100%;
    padding-left: 10px;
    line-height: 23px;
    /* border-bottom:solid 1px #D6D6D6; */
}

.slider_content_sect ul li span {
    font-weight: 600;
    font-size: 14px;
}

.slider_content_sect ul li small {
    font-weight: 500;
    float: right;
    padding-right: 20px;
    font-size: 14px;
}

.main_search_sect {
    float: left;
    width: 100%;
    background: #fff;
    padding: 15px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    min-height: 60px;
}

.estate_cont_item {
    font-size: 14px;
}

.estate_cont_item i {
    /* font-size:16px;  */
    margin-right: 5px;
    color: green;
    margin-bottom: 10px;
}


.main_title_sect {
    float: left;
    width: 100%;
    height: 46px;
    padding-left: 10px;
    cursor: pointer;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f6f6f6));
    background: -moz-linear-gradient(top, #ffffff, #f6f6f6);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6');
    border: 1px solid #e5e5e5;
}

.main_title_sect span {
    padding-right: 25px;
    height: 38px;
    float: left;
    border-bottom: solid 1px #be2426;
}

.main_title_sect em {
    line-height: 40px;
    font-size: 17px;
    margin-right: 5px;
    color: #be2426;
}

.main_title_sect button {
    font-size: 11px;
    margin: 10px;
}


.main_content_sect {

    /* float: left; */
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: 0px;
    padding: 17px 10px 10px 10px;
    /* padding-top: 0px; */
    overflow: hidden;

}

.main_tabs_top_sect {
    float: left;
    height: 45px;
}

.estate_tabs_sect {
    z-index: 999 !important;
}

.estate_tabs_sect .main_tabs li {
    list-style: none;
    position: relative;
    z-index: 99;
    font-weight: 600;
    float: left;
    line-height: 45px;
    padding: 0 15px;
    border-left: solid 1px #e5e5e5;
}

.estate_tabs_sect .main_tabs li.active {
    background: #fff;
    border-top: solid 2px #be2426;
    margin-top: -2px;
}

.main_content_sect .tab_container {
    padding-top: 10px;
    padding-left: 5px;
}

.main_tab_estate_sect {
    border: solid 1px #dce3ea;
    padding: 1% 0.5% 2% 0.5%;
    width: 32%;
    float: left;
    margin-right: 1%;
    margin-bottom: 1%;
    cursor: pointer;
    transition: all 0.15s linear;
}

.estate_img {
    /* padding:2px; */
}

.estate_img img {
    width: 100%;
}

.main_tab_estate_sect span {
    float: left;
    width: 96%;
    margin-left: 2%;
    text-align: center;
    margin-top: 5px;
    height: 65px;
    overflow: hidden;
    font-weight: 600;
    font-size: 14px;
}

.main_tab_estate_sect small {
    float: left;
    width: 100%;
    text-align: center;
    margin-top: 5px;
    font-weight: 600;
}

.main_tab_estate_sect img { /* height: 135px; */
}

.main_tab_estate_sect .text_overflow {
    float: left;
    width: 100%;
    text-align: center;
    margin-top: 5px;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 15px;
}

.main_tab_estate_sect p {
    float: left;
    width: 100%;
    text-align: center;
    margin-top: 5px;
    font-weight: 600;
    margin-bottom: 0px;
    font-size: 15px;
    color: #d71309;
}

.main_tab_estate_sect button {
    margin-left: auto !important;
    margin-right: auto !important;
}

.main_tab_estate_sect:hover {
    border: #bbb solid 1px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}

.main_tab_estate_sect .estate_img {
    /* border : #bbb solid 1px; */
}

/* .main_tab_estate_sect:hover > .estate_img{border : #bbb solid 1px;} */


.user_register_title {
    float: left;
    width: 100%;
    min-height: 50px;
    border-bottom: solid 1px #ccc;
    margin-bottom: 13px;
}

.user_register_title span {
    color: #be2426;
}

.user_register_title p {
    margin-top: 3px;
    font-size: 13px;
    color: #666;
}

.main_register_sect .input-group {
    margin-top: 10px;
    height: 35px;
}

.main_register_sect input {
    font-size: 12px;
}

.main_register_sect select {
    font-size: 12px;
    color: #8d8d8d;
    height: 35px !important;
}

.main_register_sect textarea {
    font-size: 12px;
    color: #8d8d8d;
    height: 85px !important;
    padding: 5px;
}

.register_city_sect {
    float: left;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.register_city_sect .pr-0 {
    padding-left: 8px;
}

#radioBtn {
    float: left;
    width: 100%;
    color: #8d8d8d;
    background-color: #fff;
}

#radioBtn .notActive {
    color: #8d8d8d;
    background-color: #fff;
}

#radioBtn a {
    font-size: 13px;
    line-height: 25px;
    cursor: pointer;
    box-shadow: none;
}

.gender_male {
    float: left;
    width: 30%;
}

.gender_noactive {
    float: left;
    width: 40%;
}

.gender_woman {
    float: left;
    width: 30%;
}


.show_category_sect {
    height: 49px;
}

.show_category_news {
    height: 35px;
    width: 35px;
    background: #C6C6C6;
    text-align: center;
    margin-right: 10px;
    margin-top: 6px;
}

.show_category_news i {
    line-height: 38px;
    font-size: 19px;
}

.show_category_news:hover {
    background: #666;
    color: #efefef;
}


.category_news_item {
    float: left;
    background: #fff;
    width: 100%;
    border: solid 1px #ddd;
    padding: 8px;
    cursor: pointer;
    margin-bottom: 11px;
}

.category_news_item .category_news_item_img {
    width: 30%;
    float: left;
    border: solid 1px #efefef;
    cursor: pointer;
}

.category_news_item .category_news_item_img img {
    width: 100%;
    height: 120px;
    /* width:100%; */
}

.category_news_content {
    float: left;
    width: 68%;
    float: right;
}

.category_news_content span {
    width: 100%;
    padding-left: 10px;
    min-height: 33px;
    padding-top: 7px;
    float: left;
    font-weight: 500;
    font-size: 13px;
    background: #E7E7E7;
    margin-bottom: 6px;
    font-weight: 600;
}

.category_news_content span em {
    float: right;
    padding-right: 10px;
    font-style: normal;
}

.category_news_content p {
    width: 100%;
    float: left;
    font-size: 13px;
    margin-bottom: 5px;
    max-height: 55px;
}

.category_news_content small {
    margin-top: -22px;
    right: 0px;
    float: right;
    width: 85%;
    height: 22px;
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(85%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(255, 255, 255, 1)));
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 1) 100%);
    background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 1) 100%);
    background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=1);
}

.category_news_date {
    min-height: 25px;
    float: left;
    width: 100%;
}

.category_news_date strong {
    height: 25px;
    float: left;
    width: 100%;
    background: none;
    font-size: 13px;
    line-height: 35px;
}

.category_news_date strong i {
    margin-right: 5px;
}

.category_news_date strong em {
    font-style: normal;
    font-weight: 400;
}

.category_news_date strong i {
    font-style: normal;
    font-weight: 400;
}

.category_news_item:hover {
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.15);
}

.multiple_news_item {
    width: 32.3%;
    margin-right: 10px;
    padding-bottom: 15px !important;
}

.multiple_news_item .category_news_item_img {
    width: 100%;
}

.multiple_news_item .category_news_content {
    width: 100%;
    min-height: 49px;
}

.multiple_news_item .category_news_content span {
    padding-left: 0px;
    background: none;
    margin-bottom: 0px;
}

.multiple_news_item .category_news_date strong i {
    display: none;
}

.multiple_news_item .category_news_content span em {
    display: none;
}


.data_table_bottom {
    float: left;
    width: 100%;
    min-height: 45px;
    box-sizing: border-box;
    line-height: 42px;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f6f6f6));
    background: -moz-linear-gradient(top, #ffffff, #f6f6f6);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6');
    border: 1px solid #e5e5e5;
}

.data_table_bottom span {
    float: right;
    line-height: 45px;
    font-size: 12px;
    margin-left: 10px;
    margin-right: 10px;
}

.data_table_bottom button {
    font-size: 12px;
    font-weight: 600;
}

.data_table_buttons {
    float: left;
}

.data_table_buttons button {
    margin-left: 5px;
}

.data_table_buttons button:hover {
    transition: all 0.4s;
    background: #B72224;
    color: #efefef;
}

.data_table_buttons .active {
    background: #B72224;
    color: #efefef;
}


.membership_benefits hr {
    margin-top: 7px;
    margin-bottom: 5px;
}

.membership_benefits p {
    font-size: 12px;
}

.benefits_items div {
    font-size: 12px;
    margin-bottom: 8px;
}

.benefits_items div i {
    margin-right: 5px;
}


.main_dots_sect {
    float: right;
}

.main_dots_sect i {
    line-height: 45px;
    font-size: 18px;
}

.next_top_sect {
    float: left;
    height: 45px;
    line-height: 45px;
    padding: 0 11px;
    border-left: solid 1px #e5e5e5;
}

.prev_top_sect {
    float: left;
    height: 45px;
    line-height: 45px;
    padding: 0 10px;
    border-left: solid 1px #e5e5e5;
}

.next_top_sect:hover, .prev_top_sect:hover {
    background: #eeeeee;
    transition: all 0.6s;
}


.register_conditions {
    font-size: 12px;
}

.register_conditions a {
    font-size: 13px;
    color: #be2426;
    text-decoration: none;
    font-weight: 600;
}

.register_conditions b {
    font-size: 13px;
    color: #be2426;
    font-weight: 600;
}


.main_survey_content {
    margin-top: 10px;
    width: 100%;
    min-height: 80px;
    border: solid 1px #e5e5e5;
    margin-bottom: 10px;
    padding: 10px;
}

.main_survey_content span {
    float: left;
    width: 100%;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.main_survey_content p {
    font-size: 13px;
    font-weight: 400;
    float: left;
    width: 100%;
}

.main_survey_content button {
    font-size: 13px;
    height: 28px;
}

.survey_content_item {
    float: left;
    width: 100%;
    height: 38px;
    background: #ECECEC;
    line-height: 38px;
    padding-left: 10px;
    margin-bottom: 13px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
}

.survey_content_item:hover {
    transition: all 0.8s;
    background: #293848;
    color: #fff;
}

.survey_content_data {
    float: left;
    width: 100%;
    margin-bottom: 15px;
}

.survey_content_data span {
    float: left;
    width: 100%;
    font-size: 11px;
    margin-bottom: 5px;
}

.survey_content_data span b {
    font-weight: 600;
    font-size: 10px;
    padding-left: 5px;
    float: right;
}

.survey_data_result {
    float: left;
    width: 100%;
    margin-top: 10px;
}


.content_title_sect {
    float: left;
    width: 100%;
    height: 32px;
    line-height: 32px;
    border-top: solid 1px #e5e5e5;
    color: #666;
    cursor: pointer;
    padding-left: 10px;
}

.content_title_sect:hover {
    background: #EAEAEA;
}


.consultant_sect {
    width: 100%;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    background: #ececec;
    overflow: hidden;
}

.consultant_sect_img {
    margin-left: auto;
    background: #fff;
    margin-right: auto;
    width: 120px;
    padding: 1px;
    border: solid 1px #d9d9d9;
    margin-bottom: 10px;
}

.consultant_sect img {
    width: 100%;
}

.consultant_sect span {
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.consultant_detail_sect {
    width: 100%;
    background: #fdfdfd;
    border-radius: 4px;
}

.consultant_detail_sect li {
    list-style: none;
    height: 35px;
    line-height: 35px;
    border-bottom: solid 1px #ddd;
}

.consultant_detail_sect li:last-child {
    border-bottom: solid 0px #ddd;
}

.consultant_detail_sect li span {
    text-align: right;
    font-size: 13px;
    font-weight: 600;
}

.estate_detail_title {

    width: 100%;
    padding: 12px 0 12px 10px;
    font-weight: 500;
    font-size: 13px;
    background: #E7E7E7;
    margin-bottom: 10px;
    font-weight: 600;
    display: block;

}

.estate_detail_img {
    float: left;
    width: 100%;
    background: #fff;
    padding: 1px;
    border: solid 1px #ddd;
}

.estate_detail_img img {
    width: 100%;
}


.estate_small_img {
    background: #fff;
    padding: 1px;
    border: solid 1px #ddd;
    cursor: pointer;
}

.estate_small_img img {
    width: 100%;
}


.eml-satir {
    float: left;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0px 0px 7px 0px;
    padding: 7px 0px 0px 7px;
    border-top: 1px solid #d8d8d8;
    font-size: 11px;
    font-weight: normal;
    color: #393939;
    text-decoration: none;
}

.eml-sag .first {
    border-top: none !important;
}

.eml-satir b {
    float: left;
    width: 40%;
    height: auto;
    overflow: hidden;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    border: 0px;
    font-size: 11px;
    font-weight: bold;
    color: #393939;
    text-decoration: none;
}


.footer_top {
    box-shadow: 0 8px 25px 0 rgba(5, 6, 7, 0.7);
    background: #fff;
    padding: 15px 0px;
}

.ads_item img {
    width: auto !important;
    border: 0px;
    transition: filter ease .5s;
    height: 35px;
    width: auto;
    filter: grayscale(0%);
    opacity: 1;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

.ads_item img:hover {
    filter: grayscale(110%);
}

.header_facebook {
    background: #6688cd;
}

.header_facebook:hover {
    background: #555;
}

.header_twitter {
    background: #29c5f5;
}

.header_twitter:hover {
    background: #555;
}

.header_google {
    background: #e65c3b;
}

.header_google:hover {
    background: #555;
}

.header_rss {
    background: #e86927;
}

.header_rss:hover {
    background: #555;
}

.header_pinterest {
    background: #B60C1C;
}

.header_pinterest:hover {
    background: #555;
}

.header_youtube {
    background: #AF2025;
}

.header_youtube:hover {
    background: #555;
}

.header_whatsapp {
    background: #00e676;
}

.header_whatsapp:hover {
    background: #1ebea5;
}

.header_telegram {
    background: #1e95d3;
}

.header_telegram:hover {
    background: #3aade0;
}

.main_footer_sect .main_footer_button {
    height: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    border-radius: 6px;
    border: solid 1px #ddd;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 50px;
    color: #666;
}

.main_footer_sect .main_footer_button i {
    margin-right: 6px;
    color: #9f9e9c;
    font-size: 17px;
}

.main_footer_sect .footer_yazilar {
    cursor: pointer;
    margin-bottom: 15px;
}

.main_footer_sect .footer_yazilar i {
    margin-right: 5px;
}

.header_social_part {
    float: left;
    height: 48px;
}

.header_social_icons {
    width: 40px;
    height: 40px;
    float: left;
    cursor: pointer;
    text-align: center;
}

.header_social_icons em {
    color: #fff;
    font-size: 22px;
    line-height: 40px;
}

.site-footer {
    display: flow-root;
    clear: both;
    position: relative;
    width: 100%;
}

.footer_top_section {
    height: 5px;
    background: #B72224;
    color: #fff;
    padding: 5px;
}

.footer_top_section a {
    color: #fff;
}

.footer_top_section .footer_top_item em {
    line-height: 30px;
    font-size: 18px;
}

.footer_top_section .footer_top_item {
    height: 100%;
    line-height: 30px;
    padding: 0 15px;
    text-align: center;
    float: left;
    border-right: solid 1px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.footer_top_section .footer_top_item:hover {
    background: rgba(0, 0, 0, 0.2);
    border-right: solid 1px rgba(0, 0, 0, 0);
}

.footer_top_section .footer_top_item:last-child {
    border-right: solid 0px rgba(0, 0, 0, 0);
}

.footer_bottom_sect {
    background: #1D1D1D;
    min-height: 110px;
    padding-top: 15px;
    color: #EBECF0;
}

.footer_bottom_copyright {
    background: #181818;
    height: 45px;
    line-height: 45px;
}

.footer_bottom_copyright span {
    float: left;
    font-size: 12px;
}

.footer_bottom_copyright a {
    float: right;
    font-size: 12px;
    text-decoration: none;
    margin-right: 40px;
    color: #efefef;
}

.footer_up_button {
    float: right;
    height: 45px;
    background: #1d1d1d;
    width: 45px;
    cursor: pointer;
    text-align: center;
}

.footer_up_button em {
    line-height: 45px;
    font-size: 24px;
}

.footer_port_title {
    height: 40px;
    color: #EBECF0;
}

.footer_port_title span {
    float: left;
    width: 100%;
    height: 40px;
    font-size: 14px;
}

.footer_port_title span em {
    font-size: 17px;
    margin-right: 5px;
}

.footer_port_title span small {
    border-bottom: solid 1px rgba(255, 255, 255, 0.2);
    height: 100%;
    padding-bottom: 5px;
    padding-right: 15px;
}

.footer_item_sec {
    float: left;
    width: 100%;
    margin-bottom: 5px;
    font-size: 13px;
    cursor: pointer;
    color: #efefef;
}

.footer_item_sec em {
    margin-right: 3px;
}

.footer_item_sec:hover {
    padding-left: 5px;
    transition: all 0.6s;
}

.footer_bottom_title .footer_button_sec {
    padding-right: 30px;
}

.footer_bottom_title .main_footer_button {
    height: 50px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: solid 1px rgba(255, 255, 255, 0.2);
    padding-left: 15px;
    padding-right: 15px;
    line-height: 50px;
    color: #666;
}

.footer_bottom_title .main_footer_button i {
    margin-right: 6px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 17px;
}

.footer_bottom_title .footer_logo_sect {
    width: 100%;
    height: 50px;
    background-size: auto 90%;
    margin-bottom: 10px;
    opacity: 0.3;
    cursor: pointer;
}

.footer_logo_sect img {
    background-size: auto 90%;
    margin-bottom: 10px;
    cursor: pointer;
    max-height: 60px;
}

.footer_category .footer_item_sec {
    width: 50%;
}

.footer_bottom_title .header_social_icons:first-child {
    margin-left: 0px;
}

.footer_app_sect .main_footer_button {
    height: 34px;
    line-height: 34px;
}

.footer_app_sect .main_footer_button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.header_button_sect .header_link {
    color: black !important;
}

.header_button_sect .header_link:hover {
    color: #d71309 !important;
}

.author_list ul {
    width: 100%;
    padding: 0;
}

.author_list .authors {

    width: 99%;
    background: #fff;
    padding: 15px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    min-height: 60px;
    margin: 1% 1% 0 0;
    height: 430px;
}

.authors .author_link {
    color: black !important;
}

.company_detail_text_title {
    display: block;
    padding-bottom: 10px;
    border-bottom: solid 1px #efefef;
    margin-bottom: 8px;
    width: 100%;
    float: left;
}

.company_detail_text_title span {
    width: 125px;
    float: left;
    font-size: 15px;
    font-weight: 700;
}

.main_dots_sect, .company_detail_text_title span b {
    float: right;
}

.company_detail_text_title div {
    float: left;
    padding-left: 10px;
    font-size: 14px;
}

.btn .link_color {
    color: black !important;
}

.main_tab_estate_sect .link_color {
    color: black !important;
}

.content_title_sect .link_color {
    color: black !important;
}

.news_content_social_sect {
    /* float: right;
    background: #fff;
    padding-left: 2px;
    min-height: 40px;
    margin-top: -4px; */

    text-align: center;
    overflow: hidden;
    margin: 0 0 5px 0;

}

.news_content_social_sect a {
    display: inline-block;
    margin: 0 2px;

}

.non-image {
    font-size: 22px;
    color: black;
    text-transform: uppercase;
    font-weight: bold;
    margin-left: -11px;
    margin-top: 27px;
    float: right;
    max-width: 313px;
    display: block;
}

.ad-ribbon {
    position: absolute;
    line-height: 35px;
    padding: 0 12px;
    color: #fff;
    font-weight: 600;
    top: 0;
    z-index: 1;
}


.slider_section .owl-nav {
    position: absolute;
    width: 100%;
    top: 37%;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.slider_section .owl-nav [class*='owl-'] {
    color: #FFF;
    font-size: 14px;
    margin: 5px;
    padding: 4px 7px;
    background: #D6D6D6;
    display: inline-block;
    cursor: pointer;
    border-radius: 3px;

}

.slider_section .owl-nav [class*='owl-']:hover { /* background: #869791; */
    color: #FFF;
    text-decoration: none;
}

.slider_section .owl-nav .owl-prev {
    position: absolute;
    left: -20px;
    width: 24px;
    height: 50px;
}

.slider_section .owl-nav .owl-next {
    position: absolute;
    right: -20px;
    width: 24px;
    height: 50px;
}

.slider_section .owl-nav .owl-next em, .slider_section .owl-nav .owl-prev em {
    line-height: 42px;
}

.slider_section .owl-nav .disabled {
    opacity: 0.5;
    cursor: default;
}

.slider_section .owl-nav.disabled + .owl-dots {
    margin-top: 10px;
}

.slider_section .owl-dots {
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.slider_section .owl-dots .owl-dot {
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.slider_section .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background: #D6D6D6;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity 200ms ease;
    border-radius: 30px;
}

.slider_section .owl-dots .owl-dot.active span, .slider_section .owl-dots .owl-dot:hover span {
    background: #869791;
}


.center_section .owl-nav {
    position: absolute;
    width: 100%;
    top: 37%;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.center_section .owl-nav [class*='owl-'] {
    color: #FFF;
    font-size: 14px;
    margin: 5px;
    padding: 4px 7px;
    background: #D6D6D6;
    display: inline-block;
    cursor: pointer;
    border-radius: 3px;
}

.center_section .owl-nav [class*='owl-']:hover { /* background: #869791; */
    color: #FFF;
    text-decoration: none;
}

.center_section .owl-nav .owl-prev {
    position: absolute;
    left: -20px;
    width: 24px;
    height: 50px;
}

.center_section .owl-nav .owl-next {
    position: absolute;
    right: -20px;
    width: 24px;
    height: 50px;
}

.center_section .owl-nav .owl-next em, .center_section .owl-nav .owl-prev em {
    line-height: 42px;
}

.center_section .owl-nav .disabled {
    opacity: 0.5;
    cursor: default;
}

.center_section .owl-nav.disabled + .owl-dots {
    margin-top: 10px;
}

/* TOPMENU */

#mega {
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
}

#mega li {
    float: left;
    position: relative;
    height: 50px;
}

#mega a {
    padding: 0 8px;
    color: #263642;
    outline: 0;
    text-decoration: none;
    display: block;
    line-height: 50px;
}

#mega li:hover {
    background: #0c365d;
    z-index: 1000;
}

#mega li.sub:hover {
    background: #0c365d;
    z-index: 1000;
}

#mega li.sub:hover a {
    color: #fff;
}

#mega li a:hover {
    color: #fff;
}

#mega ul {
    position: absolute;
    left: -999em;
    border: 0;
    font-weight: normal;
    text-align: left;
    background: #0c365d;
    width: 100%;
}

#mega li:hover ul {
    left: 0;
    top: 50px;
    padding-left: 0;
    min-width: 200px;
}

#mega li.dif:hover ul {
    left: -221px;
}

#mega ul p {
    float: left;
    width: 100%;
    position: relative;
}

#mega ul a {
    text-decoration: none;
    float: left;
    clear: left;
    width: 100%;
    line-height: 1;
    padding: 8px;
    padding-left: 10px;
    line-height: 20px;
}

#mega ul a:hover {
    background: #000;
}

#mega ul a:hover, #mega ul a:focus, #mega ul a:active {
    text-decoration: none;
    color: #fff;
}


/* TOPMENU */


/* fix param */

.d-none {
    display: none !important;
}


.w-25 {
    width: 25% !important;
}

.w-50 {
    width: 50% !important;
}

.w-75 {
    width: 75% !important;
}

.w-100 {
    width: 100% !important;
}

.h-25 {
    height: 25% !important;
}

.h-50 {
    height: 50% !important;
}

.h-75 {
    height: 75% !important;
}

.h-100 {
    height: 100% !important;
}

.mw-100 {
    max-width: 100% !important;
}

.mh-100 {
    max-height: 100% !important;
}

.m-0 {
    margin: 0 !important;
}

.mt-0,
.my-0 {
    margin-top: 0 !important;
}

.mr-0,
.mx-0 {
    margin-right: 0 !important;
}

.mb-0,
.my-0 {
    margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
    margin-left: 0 !important;
}

.m-1 {
    margin: 0.25rem !important;
}

.mt-1,
.my-1 {
    margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
    margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
    margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
    margin-left: 0.25rem !important;
}

.m-2 {
    margin: 0.5rem !important;
}

.mt-2,
.my-2 {
    margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
    margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
    margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
    margin-left: 0.5rem !important;
}

.m-3 {
    margin: 1rem !important;
}

.mt-3,
.my-3 {
    margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
    margin-right: 1rem !important;
}

.mb-3,
.my-3 {
    margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
    margin-left: 1rem !important;
}

.m-4 {
    margin: 1.5rem !important;
}

.mt-4,
.my-4 {
    margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
    margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
    margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
    margin-left: 1.5rem !important;
}

.m-5 {
    margin: 3rem !important;
}

.mt-5,
.my-5 {
    margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
    margin-right: 3rem !important;
}

.mb-5,
.my-5 {
    margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
    margin-left: 3rem !important;
}

.p-0 {
    padding: 0 !important;
}

.pt-0,
.py-0 {
    padding-top: 0 !important;
}

.pr-0,
.px-0 {
    padding-right: 0 !important;
}

.pb-0,
.py-0 {
    padding-bottom: 0 !important;
}

.pl-0,
.px-0 {
    padding-left: 0 !important;
}

.p-1 {
    padding: 0.25rem !important;
}

.pt-1,
.py-1 {
    padding-top: 0.25rem !important;
}

.pr-1,
.px-1 {
    padding-right: 0.25rem !important;
}

.pb-1,
.py-1 {
    padding-bottom: 0.25rem !important;
}

.pl-1,
.px-1 {
    padding-left: 0.25rem !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.pt-2,
.py-2 {
    padding-top: 0.5rem !important;
}

.pr-2,
.px-2 {
    padding-right: 0.5rem !important;
}

.pb-2,
.py-2 {
    padding-bottom: 0.5rem !important;
}

.pl-2,
.px-2 {
    padding-left: 0.5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.pt-3,
.py-3 {
    padding-top: 1rem !important;
}

.pr-3,
.px-3 {
    padding-right: 1rem !important;
}

.pb-3,
.py-3 {
    padding-bottom: 1rem !important;
}

.pl-3,
.px-3 {
    padding-left: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.pt-4,
.py-4 {
    padding-top: 1.5rem !important;
}

.pr-4,
.px-4 {
    padding-right: 1.5rem !important;
}

.pb-4,
.py-4 {
    padding-bottom: 1.5rem !important;
}

.pl-4,
.px-4 {
    padding-left: 1.5rem !important;
}

.p-5 {
    padding: 3rem !important;
}

.pt-5,
.py-5 {
    padding-top: 3rem !important;
}

.pb-0 {
    padding-bottom: 0px !important;
}

.pr-5,
.px-5 {
    padding-right: 3rem !important;
}

.pb-5,
.py-5 {
    padding-bottom: 3rem !important;
}

.pl-5,
.px-5 {
    padding-left: 3rem !important;
}

.m-auto {
    margin: auto !important;
}

.mt-auto,
.my-auto {
    margin-top: auto !important;
}

.mr-auto,
.mx-auto {
    margin-right: auto !important;
}

.mb-auto,
.my-auto {
    margin-bottom: auto !important;
}

.ml-auto,
.mx-auto {
    margin-left: auto !important;
}

.bb-0 {
    border-bottom: 0px !important;
}

@media (min-width: 1200px) {
    .container {
        /* width: 1000px; */
    }
}

/* fix param */


.owl-carousel .owl-item {
    position: relative;
}


#advisors .item {

    /* border:1px solid red; */
    /* overflow:hidden; */
    /* width: inherit !important; */


}


.main_slider_sect .eml-sag {
    padding-left: 17px;


}


.mm-menu a, .mm-menu a:active, .mm-menu a:hover, .mm-menu a:link, .mm-menu a:visited {
    color: rgba(0, 0, 0, .75) !important;
}


.mm-menu a i, .mm-menu a em {
    display: none;
}


#mega li ul li {
    float: inherit;
    height: inherit;
}

.site-navigation #mega .page-contact,
.site-navigation #mega .page-main {
    display: none;
}


.menu-open {
    font-size: 28px;
    display: none;
}

.survey_button_success {
    display: none;
}


.respimg, .estate_img {
    display: block;
    width: 100%;
    position: relative;
    height: 0;
    padding: 62% 0 0 0;
    overflow: hidden;
}


.respimg img, .estate_img img {
    position: absolute;
    display: block;
    max-width: 100%;
    max-height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}


.main_tab_estate_sect .estate_img {
    width: 98%;
    margin-left: 1%;
}

.main_showcase_sect .owl-carousel {
    padding-top: 10px;
}


.fotorama {
    width: 100%;
    display: block;
}

.estate_cont_item .fa-square-o {
    color: #666;
}

.social_footer .header_social_icons {
    margin: 0 5px 0 0;
}

.top_menus .dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    color: #000 !important;
}


.dropdown .dropdown-menu {

    min-width: 120px;
}


@media only screen and (max-width: 990px) {

    .menu-open {

        display: inline-block;
    }

    #mega {
        display: none;
    }


    .slider_1 {
        padding-right: 0;
        margin-bottom: 17px;
    }


    .main_tab_content .main_tab_estate_sect {
        width: 47%;
        margin-right: 2%

    }

    .tab_pd {
        padding-right: 0 !important;
    }

    .cat_list {
        padding-left: 0 !important;
        margin-top: 17px;
    }


    .news_content_social_sect {
        margin: 17px 0;
    }


    .category_news_item {
        width: 32.3%;
        margin-right: 10px;
        padding-bottom: 15px !important;
    }

    .category_news_item .category_news_item_img {
        width: 100%;
    }

    .category_news_item .category_news_content {
        width: 100%;
        min-height: 49px;
    }

    .category_news_item .category_news_content span {
        padding-left: 0px;
        background: none;
        margin-bottom: 0px;
    }

    .category_news_item .category_news_item_img {
        width: 100%;
    }

    .category_news_item .btn {
        display: none
    }


}


@media only screen and (max-width: 720px) {

    .main_showcase_sect button {
        display: none;

    }


    .main_tab_content .main_tab_estate_sect {
        width: 47%;
        margin-right: 2%

    }

    .top_menus .page-home, .top_menus .page-team, .top_menus .page-contact {
        display: none
    }


    .copy, #kariha {
        display: block;
        /* width:100%; */
    }

    #kariha {
        float: left;
        padding: 10px 0 0 0;
    }

    .footer_bottom_copyright {
        background: #181818;
        height: inherit;
        line-height: inherit;
        padding: 10px 0;
    }


    .category_news_item {
        width: 48%;
        margin-right: 2%;

    }

}


@media only screen and (max-width: 480px) {

    .top_search_sect input {
        width: 79%;
    }

    .top_search_sect button.search_button {
        width: 20%;
    }


    .main_tab_content .main_tab_estate_sect {
        width: 99%;
        margin-right: 0.5%

    }

    .category_news_item {
        width: 100%;
        margin-right: 0;

    }

}


.slider_item .btn {
    padding: 3px 6px !important;
    margin-bottom: 5px;
    vertical-align: unset;
}

/* Modern team page */
.team-page {
    display: flow-root;
    clear: both;
    width: 100%;
    padding: 34px 0 54px;
    background: radial-gradient(circle at 100% 0, rgba(255, 178, 30, .12), transparent 34%), #f3f5f8;
}

.team-page-clear {
    clear: both;
    width: 100%;
    height: 0;
}

.team-page-clear + .footer_top_section {
    clear: both;
}

.team-page__header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding: 24px 28px;
    border: 1px solid #e5e8ed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(31, 39, 51, .06);
}

.team-page__heading-icon {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    color: #fff;
    font-size: 24px;
    background: linear-gradient(135deg, #ffbd2e, #f28b00);
    box-shadow: 0 9px 20px rgba(242, 139, 0, .24);
}

.team-page__eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #e10b05;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.team-page__header h1 {
    margin: 0;
    color: #1f2733;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: none;
}

.team-page__header p {
    margin: 5px 0 0;
    color: #727b88;
    font-size: 14px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.team-grid--single {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
}

.team-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
    overflow: hidden;
    min-height: 325px;
    border: 1px solid #e1e5ea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(31, 39, 51, .09);
    transition: transform .22s ease, box-shadow .22s ease;
}

.team-card::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #e10b05, #ffb51f);
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 21px 48px rgba(31, 39, 51, .14);
}

.team-card__photo {
    position: relative;
    min-height: 325px;
    overflow: hidden;
    background: #e9edf2;
}

.team-card__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgba(17, 23, 31, .16));
    pointer-events: none;
}

.team-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 325px;
    object-fit: cover;
    transition: transform .35s ease;
}

.team-card:hover .team-card__photo img {
    transform: scale(1.025);
}

.team-card__body {
    display: flex;
    min-width: 0;
    padding: 30px;
    flex-direction: column;
}

.team-card__role {
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    color: #a45e00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .55px;
    line-height: 1;
    text-transform: uppercase;
    background: #fff3d8;
}

.team-card__body h2 {
    margin: 12px 0 0;
    color: #1d2530;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
}

.team-card__divider {
    display: block;
    width: 42px;
    height: 3px;
    margin: 13px 0 18px;
    border-radius: 3px;
    background: #e10b05;
}

.team-card__contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.team-contact {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid #e8ebef;
    border-radius: 10px;
    color: #303946 !important;
    background: #f8f9fb;
    transition: border-color .2s ease, background .2s ease;
}

.team-contact--email {
    grid-column: 1 / -1;
}

.team-contact:hover {
    border-color: #ffc34e;
    color: #1d2530 !important;
    background: #fffaf0;
}

.team-contact__icon {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    color: #e10b05;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(31, 39, 51, .07);
}

.team-contact > span:last-child {
    min-width: 0;
}

.team-contact small,
.team-contact strong {
    display: block;
}

.team-contact small {
    margin-bottom: 2px;
    color: #8a929d;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.team-contact strong {
    overflow: hidden;
    color: #303946;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-card__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding: 13px 17px;
    border-radius: 10px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    background: linear-gradient(135deg, #e10b05, #bd0803);
    box-shadow: 0 8px 18px rgba(225, 11, 5, .2);
    transition: box-shadow .2s ease, transform .2s ease;
}

.team-card__button:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 11px 23px rgba(225, 11, 5, .28);
}

.team-card__button .fa {
    transition: transform .2s ease;
}

.team-card__button:hover .fa {
    transform: translateX(3px);
}

.team-page__empty {
    padding: 55px 25px;
    border: 1px dashed #d9dde3;
    border-radius: 16px;
    color: #7d8590;
    text-align: center;
    background: #fff;
}

.team-page__empty .fa {
    margin-bottom: 10px;
    font-size: 34px;
    color: #ffb51f;
}

@media (max-width: 1199px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-grid:not(.team-grid--single) .team-card {
        max-width: 820px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .team-page {
        padding: 20px 0 34px;
    }

    .team-page__header {
        align-items: flex-start;
        padding: 19px;
        border-radius: 13px;
    }

    .team-page__heading-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 13px;
        font-size: 20px;
    }

    .team-page__header h1 {
        font-size: 22px;
    }

    .team-page__header p {
        font-size: 13px;
        line-height: 1.45;
    }

    .team-card {
        grid-template-columns: 1fr;
    }

    .team-card__photo,
    .team-card__photo img {
        min-height: 0;
        height: 310px;
    }

    .team-card__body {
        padding: 23px 20px 20px;
    }

    .team-card__body h2 {
        font-size: 22px;
    }
}

@media (max-width: 420px) {
    .team-page__header {
        gap: 12px;
    }

    .team-page__header p {
        display: none;
    }

    .team-card__contacts {
        grid-template-columns: 1fr;
    }

    .team-contact--email {
        grid-column: auto;
    }
}

/* Modern contact page */
.contact-page {
    display: flow-root;
    clear: both;
    width: 100%;
    padding: 34px 0 54px;
    background: radial-gradient(circle at 100% 0, rgba(255, 178, 30, .12), transparent 34%), #f3f5f8;
}

.contact-page-clear {
    clear: both;
    width: 100%;
    height: 0;
}

.contact-page-clear + .footer_top_section {
    clear: both;
}

.contact-page__header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding: 24px 28px;
    border: 1px solid #e5e8ed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(31, 39, 51, .06);
}

.contact-page__heading-icon {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    color: #fff;
    font-size: 24px;
    background: linear-gradient(135deg, #ffbd2e, #f28b00);
    box-shadow: 0 9px 20px rgba(242, 139, 0, .24);
}

.contact-page__eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #e10b05;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.contact-page__header h1 {
    margin: 0;
    color: #1f2733;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: none;
}

.contact-page__header p {
    margin: 5px 0 0;
    color: #727b88;
    font-size: 14px;
}

.contact-page__grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 24px;
    align-items: stretch;
}

.contact-card,
.contact-map-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #e1e5ea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(31, 39, 51, .08);
}

.contact-card::before,
.contact-map-card::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #e10b05, #ffb51f);
}

.contact-card {
    padding: 29px;
}

.contact-card__heading,
.contact-map-card__heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
}

.contact-card__heading-icon,
.contact-map-card__heading > span {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #a45e00;
    font-size: 17px;
    background: #fff3d8;
}

.contact-card__heading-icon--red {
    color: #e10b05;
    background: #fff0ef;
}

.contact-card__heading h2,
.contact-map-card__heading h2 {
    margin: 0;
    color: #1f2733;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.contact-card__heading p,
.contact-map-card__heading p {
    margin: 3px 0 0;
    color: #7c8591;
    font-size: 12px;
    line-height: 1.45;
}

.contact-methods {
    display: grid;
    gap: 10px;
}

.contact-method {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid #e7eaee;
    border-radius: 12px;
    color: #27303c !important;
    background: #f8f9fb;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.contact-method:hover {
    transform: translateX(3px);
    border-color: #ffc34e;
    color: #1d2530 !important;
    background: #fffaf0;
}

.contact-method__icon,
.contact-address__icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #e10b05;
    font-size: 15px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(31, 39, 51, .07);
}

.contact-method__text {
    min-width: 0;
    flex: 1;
}

.contact-method small,
.contact-method strong,
.contact-address small,
.contact-address strong {
    display: block;
}

.contact-method small,
.contact-address small {
    margin-bottom: 2px;
    color: #8b939e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.contact-method strong {
    overflow: hidden;
    color: #2c3541;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-method__arrow {
    color: #bdc3ca;
    font-size: 16px;
}

.contact-address {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 13px;
    color: #fff !important;
    background: linear-gradient(135deg, #242d39, #151b23);
    box-shadow: 0 10px 24px rgba(21, 27, 35, .16);
}

.contact-address__icon {
    color: #fff;
    background: linear-gradient(135deg, #ffb51f, #f28b00);
}

.contact-address small {
    color: #aeb6c0;
}

.contact-address strong {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.contact-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.contact-field {
    display: block;
    margin: 0 0 13px;
    color: #56606c;
    font-size: 11px;
    font-weight: 800;
}

.contact-field > span:first-child {
    display: block;
    margin-bottom: 6px;
}

.contact-field b {
    color: #e10b05;
}

.contact-field__control {
    display: flex;
    align-items: center;
    min-height: 46px;
    overflow: hidden;
    border: 1px solid #e2e6eb;
    border-radius: 11px;
    background: #f8f9fb;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-field__control:focus-within {
    border-color: #ffb51f;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 181, 31, .13);
}

.contact-field__control > .fa {
    flex: 0 0 42px;
    color: #e10b05;
    text-align: center;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    margin: 0;
    padding: 12px 13px 12px 0;
    border: 0 !important;
    outline: 0 !important;
    color: #28313d;
    font-size: 13px;
    font-weight: 500;
    background: transparent !important;
    box-shadow: none !important;
}

.contact-field--message .contact-field__control {
    align-items: flex-start;
}

.contact-field--message .contact-field__control > .fa {
    padding-top: 14px;
}

.contact-field textarea {
    min-height: 108px;
    resize: vertical;
}

.contact-form__submit {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 2px;
    padding: 14px 18px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    background: linear-gradient(135deg, #e10b05, #bd0803);
    box-shadow: 0 9px 20px rgba(225, 11, 5, .22);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.contact-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(225, 11, 5, .3);
}

.contact-alert {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}

.contact-alert--success {
    color: #176a3a;
    background: #eaf8f0;
}

.contact-alert--error {
    color: #a72c28;
    background: #fff0ef;
}

.contact-map-card {
    margin-top: 24px;
    padding: 25px 25px 0;
}

.contact-map-card__heading {
    margin-bottom: 18px;
}

.contact-map-card__map {
    overflow: hidden;
    height: 360px;
    margin: 0 -25px;
    background: #e8ebef;
}

.contact-map-card__map iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

@media (max-width: 991px) {
    .contact-page__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .contact-page {
        padding: 20px 0 34px;
    }

    .contact-page__header {
        align-items: flex-start;
        padding: 19px;
        border-radius: 13px;
    }

    .contact-page__heading-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 13px;
        font-size: 20px;
    }

    .contact-page__header h1 {
        font-size: 22px;
    }

    .contact-card {
        padding: 22px 19px;
        border-radius: 15px;
    }

    .contact-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-map-card {
        padding: 21px 19px 0;
        border-radius: 15px;
    }

    .contact-map-card__map {
        height: 300px;
        margin: 0 -19px;
    }
}

@media (max-width: 420px) {
    .contact-page__header {
        gap: 12px;
    }

    .contact-page__header p {
        display: none;
    }

    .contact-method strong {
        font-size: 12px;
    }
}

/* Neutral commercial theme palette
 * These overrides intentionally load before the generated color stylesheet,
 * so important declarations keep the distributable theme predictable.
 */
:root {
    --theme-ink: #263946;
    --theme-primary: #365f6d;
    --theme-primary-dark: #294b57;
    --theme-secondary: #6f8f99;
    --theme-soft: #edf3f5;
    --theme-border: #dfe6e9;
    --theme-surface: #ffffff;
    --theme-page: #f3f5f6;
}

/* Calm, neutral site header */
.header_top_sect {
    background: var(--theme-ink) !important;
    box-shadow: inset 0 -1px rgba(255, 255, 255, .08);
}

.header_top_sect a {
    color: #f7fafb !important;
}

span.header_login_sect,
.header_login_sect {
    background: var(--theme-primary) !important;
}

.main_menu_sect {
    color: #344750 !important;
    border-top: 1px solid #e9edef;
    border-bottom: 1px solid #dfe5e8;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(38, 57, 70, .06);
}

.main_menu_sect #mega > li > a,
.main_menu_sect .menu-open {
    display: block;
    padding: 0 14px;
    color: #344750 !important;
    transition: color .18s ease, background .18s ease;
}

.main_menu_sect #mega > li > a:hover,
.main_menu_sect #mega > li:hover > a,
.main_menu_sect #mega > li.active > a {
    color: var(--theme-primary-dark) !important;
    background: var(--theme-soft) !important;
}

.main_menu_sect #mega li ul,
.main_menu_sect .dropdown-menu,
.menu_top_category ul,
.menu_top_acilir ul li ul {
    border: 1px solid var(--theme-border) !important;
    background: #fff !important;
    box-shadow: 0 12px 28px rgba(38, 57, 70, .12);
}

.main_menu_sect #mega li ul a,
.main_menu_sect .dropdown-menu a {
    color: #3e5059 !important;
    background: #fff !important;
}

.main_menu_sect #mega li ul a:hover,
.main_menu_sect .dropdown-menu a:hover,
.menu_top_category:hover,
.menu_top_category.active,
.menu_top_acilir:hover > ul li .menu_top_category {
    color: var(--theme-primary-dark) !important;
    background: var(--theme-soft) !important;
}

.top_search_sect input {
    border: 1px solid #dfe5e8 !important;
    color: #344750 !important;
    background: #f4f6f7 !important;
}

.top_search_sect button.search_button {
    color: #fff !important;
    background: var(--theme-primary) !important;
}

/* Unify modern team and contact pages with the same understated palette. */
.team-page,
.contact-page {
    background: radial-gradient(circle at 100% 0, rgba(54, 95, 109, .08), transparent 34%), var(--theme-page) !important;
}

.team-page__heading-icon,
.contact-page__heading-icon {
    background: var(--theme-primary) !important;
    box-shadow: 0 9px 20px rgba(54, 95, 109, .2) !important;
}

.team-page__eyebrow,
.contact-page__eyebrow {
    color: var(--theme-primary) !important;
}

.team-card::before,
.contact-card::before,
.contact-map-card::before {
    background: var(--theme-secondary) !important;
}

.team-card__divider {
    background: var(--theme-primary) !important;
}

.team-card__role {
    color: var(--theme-primary-dark) !important;
    background: var(--theme-soft) !important;
}

.team-contact__icon,
.contact-method__icon,
.contact-address__icon,
.contact-field__control > .fa,
.contact-card__heading-icon--red {
    color: var(--theme-primary) !important;
}

.contact-card__heading-icon,
.contact-map-card__heading > span,
.contact-card__heading-icon--red {
    color: var(--theme-primary) !important;
    background: var(--theme-soft) !important;
}

.contact-method:hover,
.team-contact:hover {
    border-color: #a9bec5 !important;
    background: #f4f8f9 !important;
}

.contact-field b {
    color: var(--theme-primary) !important;
}

.contact-field__control:focus-within {
    border-color: #7fa0ab !important;
    box-shadow: 0 0 0 3px rgba(54, 95, 109, .12) !important;
}

.team-card__button,
.contact-form__submit {
    background: var(--theme-primary) !important;
    box-shadow: 0 9px 20px rgba(54, 95, 109, .2) !important;
}

.team-card__button:hover,
.contact-form__submit:hover {
    background: var(--theme-primary-dark) !important;
    box-shadow: 0 12px 25px rgba(41, 75, 87, .25) !important;
}

.contact-address {
    background: var(--theme-ink) !important;
}

.contact-address__icon {
    color: #fff !important;
    background: var(--theme-primary) !important;
}

.contact-alert--success {
    color: #315d48;
    background: #edf6f1;
}

.contact-alert--error {
    color: #73514d;
    background: #f8f1f0;
}

@media (max-width: 990px) {
    .main_menu_sect .menu-open {
        color: #344750 !important;
        background: transparent !important;
    }
}

/* Modern unified site header */
.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    border-bottom: 1px solid #e5eaec;
    background: #fff;
}

.site-header__inner {
    display: flex;
    min-height: 104px;
    align-items: center;
    gap: 28px;
}

.site-header__logo {
    display: flex;
    flex: 0 1 300px;
    min-width: 210px;
    align-items: center;
    color: var(--theme-ink) !important;
}

.site-header__logo img {
    display: block;
    width: auto;
    max-width: min(100%, 300px);
    height: auto;
    max-height: 88px;
    object-fit: contain;
    object-position: left center;
}

.site-header__logo > span {
    font-size: 20px;
    font-weight: 800;
}

.site-header__quick-links {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 3px;
    margin-left: auto;
}

.site-header__quick-links > a,
.site-language__toggle {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    color: #42545d !important;
    font-size: 13px;
    font-weight: 700;
    background: transparent;
    transition: color .18s ease, background .18s ease;
}

.site-header__quick-links > a:hover,
.site-language__toggle:hover,
.site-language.open .site-language__toggle {
    color: var(--theme-primary-dark) !important;
    background: var(--theme-soft);
}

.site-language__toggle {
    cursor: pointer;
}

.site-language__toggle::after {
    display: none;
}

.site-language__menu {
    right: 0;
    left: auto;
    min-width: 150px;
    padding: 7px;
    border: 1px solid var(--theme-border);
    border-radius: 11px;
    box-shadow: 0 14px 32px rgba(38, 57, 70, .14);
}

.site-language__menu li {
    float: none;
    width: 100%;
}

.site-language__menu li a {
    display: block;
    padding: 8px 10px;
    border-radius: 7px;
    color: #42545d !important;
    font-size: 12px;
    font-weight: 600;
}

.site-language__menu li a:hover {
    color: var(--theme-primary-dark) !important;
    background: var(--theme-soft) !important;
}

.site-header__phone {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 1px solid #dfe7ea;
    border-radius: 12px;
    color: #31444d !important;
    background: #f5f8f9;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.site-header__phone:hover {
    transform: translateY(-1px);
    border-color: #a9bec5;
    color: var(--theme-primary-dark) !important;
    background: #fff;
}

.site-header__phone-icon {
    display: flex;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    background: var(--theme-primary);
}

.site-header__phone-text small,
.site-header__phone-text strong {
    display: block;
    white-space: nowrap;
}

.site-header__phone-text small {
    margin-bottom: 1px;
    color: #849099;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .45px;
    text-transform: uppercase;
}

.site-header__phone-text strong {
    color: #31444d;
    font-size: 12px;
    font-weight: 800;
}

.site-navigation {
    position: relative;
    z-index: 90;
    height: 58px;
    border-bottom: 1px solid #dfe6e9;
    background: #fff;
    box-shadow: 0 5px 16px rgba(38, 57, 70, .06);
}

.site-navigation__inner,
.site-nav {
    height: 100%;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-nav__categories {
    display: flex;
    height: 100%;
    min-width: 0;
    align-items: stretch;
    margin: 0;
}

.site-nav__categories > li {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    margin: 0;
}

.site-nav__categories > li > a {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 6px;
    padding: 0 15px;
    color: #3d5059 !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease;
}

.site-nav__categories > li > a::after {
    content: '';
    position: absolute;
    right: 15px;
    bottom: 0;
    left: 15px;
    height: 2px;
    transform: scaleX(0);
    background: var(--theme-primary);
    transition: transform .18s ease;
}

.site-nav__categories > li:hover > a,
.site-nav__categories > li.active > a {
    color: var(--theme-primary-dark) !important;
    background: #f5f8f9;
}

.site-nav__categories > li:hover > a::after,
.site-nav__categories > li.active > a::after {
    transform: scaleX(1);
}

.site-nav__categories li ul {
    position: absolute;
    z-index: 10;
    top: 100%;
    left: 0;
    display: none;
    min-width: 210px;
    padding: 8px;
    border: 1px solid var(--theme-border);
    border-radius: 0 0 12px 12px;
    background: #fff !important;
    box-shadow: 0 16px 34px rgba(38, 57, 70, .14);
}

.site-nav__categories li:hover > ul {
    display: block;
}

.site-nav__categories li ul li {
    display: block;
    width: 100%;
}

.site-nav__categories li ul a {
    display: block;
    padding: 9px 10px;
    border-radius: 7px;
    color: #43545c !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.site-nav__categories li ul a:hover {
    color: var(--theme-primary-dark) !important;
    background: var(--theme-soft) !important;
}

.site-nav__mobile-item {
    display: none !important;
}

.mm-menu .site-nav__mobile-item {
    display: block !important;
}

.site-nav__search {
    flex: 0 0 285px;
    margin-left: auto;
}

.site-nav__search form {
    display: flex;
    overflow: hidden;
    height: 38px;
    border: 1px solid #dfe6e9;
    border-radius: 10px;
    background: #f5f7f8;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.site-nav__search form:focus-within {
    border-color: #8ca8b1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(54, 95, 109, .1);
}

.site-nav__search input {
    min-width: 0;
    flex: 1;
    padding: 0 13px;
    border: 0;
    outline: 0;
    color: #344750;
    font-size: 12px;
    background: transparent;
}

.site-nav__search button {
    flex: 0 0 42px;
    border: 0;
    color: #fff;
    background: var(--theme-primary);
    cursor: pointer;
}

.site-nav__toggle {
    display: none !important;
}

.site-navigation-spacer {
    clear: both;
    height: 15px;
    background: #f4f7f9;
}

@media (max-width: 1199px) {
    .site-header__inner {
        gap: 18px;
    }

    .site-header__quick-links > a,
    .site-language__toggle {
        padding: 0 8px;
        font-size: 12px;
    }

    .site-nav__categories > li > a {
        padding: 0 11px;
    }

    .site-nav__search {
        flex-basis: 245px;
    }
}

@media (max-width: 990px) {
    .site-header__inner {
        min-height: 82px;
    }

    .site-header__logo {
        flex-basis: 235px;
        min-width: 170px;
    }

    .site-header__logo img {
        max-width: 235px;
        max-height: 62px;
    }

    .site-header__quick-links {
        display: none;
    }

    .site-header__phone {
        margin-left: auto;
    }

    .site-navigation {
        height: 56px;
    }

    .site-nav {
        gap: 14px;
    }

    .site-nav__toggle {
        display: flex !important;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border: 1px solid #dce4e7;
        border-radius: 10px;
        color: var(--theme-primary) !important;
        font-size: 19px;
        background: #f4f7f8 !important;
    }

    .site-nav__categories {
        display: none;
    }

    .site-nav__search {
        flex: 1;
        max-width: none;
    }
}

@media (max-width: 600px) {
    .site-header__inner {
        min-height: 72px;
        gap: 10px;
    }

    .site-header__logo {
        flex-basis: auto;
        min-width: 0;
    }

    .site-header__logo img {
        max-width: 205px;
        max-height: 55px;
    }

    .site-header__phone {
        padding: 8px;
        border: 0;
        background: transparent;
    }

    .site-header__phone-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .site-header__phone-text {
        display: none;
    }

    .site-navigation-spacer {
        height: 10px;
    }
}

@media (max-width: 380px) {
    .site-header__logo img {
        max-width: 175px;
    }
}


.mm-menu .site-nav__search,
.mm-menu .site-nav__toggle {
    display: none !important;
}

/* The real desktop navigation remains untouched and owns the flex layout. */
.site-navigation .site-nav {
    display: flex;
}

@media (min-width: 991px) {
    .mm-menu,
    .mm-menu.site-nav,
    .mm-menu_offcanvas.mm-menu_opened,
    .mm-menu_offcanvas.site-nav.mm-menu_opened {
        display: none !important;
    }

    .mm-wrapper_opening .mm-page,
    .mm-wrapper_opening body > .mm-page {
        transform: none !important;
    }
}


/* Poppins typography and calm menu interaction */
html,
body,
button,
input,
select,
textarea {
    font-family: 'Poppins', Arial, sans-serif !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Legacy menu rules added colored side borders on hover/active items. Keep the
   modern underline and soft background, but remove those vertical accents. */
.site-navigation .site-nav__categories > li,
.site-navigation .site-nav__categories > li:hover,
.site-navigation .site-nav__categories > li.active,
.site-navigation .site-nav__categories > li > a,
.site-navigation .site-nav__categories > li:hover > a,
.site-navigation .site-nav__categories > li.active > a {
    border: 0 !important;
    box-shadow: none !important;
}

.site-navigation .site-nav__categories > li::before,
.site-navigation .site-nav__categories > li::after,
.site-navigation .site-nav__categories > li > a::before {
    display: none !important;
    content: none !important;
}


/* Modern responsive homepage hero */
.homepage-hero {
    padding: 18px 0 0;
}

.homepage-hero__frame {
    overflow: hidden;
    border: 1px solid rgba(38, 57, 70, .1);
    border-radius: 22px;
    background: #17252c;
    box-shadow: 0 22px 54px rgba(28, 46, 56, .15);
}

.homepage-hero__slide,
.homepage-hero__link,
.homepage-hero__gallery {
    position: relative;
    display: block;
    min-height: clamp(470px, 48vw, 620px);
}

.homepage-hero__link {
    overflow: hidden;
    color: #fff !important;
    text-decoration: none !important;
}

.homepage-hero__gallery {
    display: grid;
    grid-template-columns: minmax(0, 68%) minmax(0, 32%);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 3px;
    background: #17252c;
}

.homepage-hero__gallery--1 {
    display: block;
}

.homepage-hero__gallery--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
}

.homepage-hero__image {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #233740;
}

.homepage-hero__gallery--3 .homepage-hero__image--1 {
    grid-row: 1 / 3;
}

.homepage-hero__image img {
    width: 100%;
    height: 100%;
    min-height: clamp(470px, 48vw, 620px);
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2, .65, .3, 1);
}

.homepage-hero__gallery--3 .homepage-hero__image:not(:first-child) img {
    min-height: 0;
}

.homepage-hero__link:hover .homepage-hero__image img {
    transform: scale(1.025);
}

.homepage-hero__shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 20, 26, .52) 0%, rgba(9, 20, 26, .12) 58%, rgba(9, 20, 26, .22) 100%),
        linear-gradient(0deg, rgba(8, 18, 24, .96) 0%, rgba(8, 18, 24, .72) 29%, rgba(8, 18, 24, .08) 68%);
    pointer-events: none;
}

.homepage-hero__content {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 880px;
    padding: clamp(28px, 5vw, 62px);
    color: #fff;
}

.homepage-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.homepage-hero__badge {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    color: #fff;
    background: rgba(18, 36, 44, .54);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    backdrop-filter: blur(10px);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1;
    text-transform: uppercase;
}

.homepage-hero__badge--primary {
    border-color: rgba(255, 255, 255, .5);
    background: var(--theme-primary);
}

.homepage-hero__content h1 {
    max-width: 820px;
    margin: 0 0 10px;
    color: #fff !important;
    font-size: clamp(27px, 3.15vw, 46px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.12;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .42);
}

.homepage-hero__location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 17px;
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

.homepage-hero__details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.homepage-hero__price {
    margin-right: 6px;
    color: #fff;
    font-size: clamp(23px, 2.45vw, 35px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.1;
    text-shadow: 0 3px 16px rgba(0, 0, 0, .55);
}

.homepage-hero__feature {
    display: inline-flex;
    min-height: 38px;
    flex-direction: column;
    justify-content: center;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 9px;
    background: rgba(12, 28, 35, .5);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.homepage-hero__feature small {
    color: rgba(255, 255, 255, .66);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.homepage-hero__button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 14px;
    padding: 11px 18px;
    border-radius: 11px;
    color: var(--theme-ink);
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
    font-size: 13px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease;
}

.homepage-hero__link:hover .homepage-hero__button {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .25);
}

.homepage-hero__carousel .owl-nav {
    position: absolute;
    z-index: 4;
    top: 50%;
    right: 18px;
    left: 18px;
    height: 0;
    margin: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.homepage-hero__carousel .owl-nav button.owl-prev,
.homepage-hero__carousel .owl-nav button.owl-next {
    position: absolute;
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin: -23px 0 0;
    border: 1px solid rgba(255, 255, 255, .32) !important;
    border-radius: 50%;
    color: #fff !important;
    background: rgba(12, 28, 35, .5) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    backdrop-filter: blur(10px);
    pointer-events: auto;
    transition: background .18s ease, transform .18s ease;
}

.homepage-hero__carousel .owl-nav button.owl-prev {
    left: 0;
}

.homepage-hero__carousel .owl-nav button.owl-next {
    right: 0;
}

.homepage-hero__carousel .owl-nav button:hover {
    background: var(--theme-primary) !important;
    transform: scale(1.05);
}

.homepage-hero__carousel .owl-dots {
    position: absolute;
    z-index: 4;
    right: clamp(26px, 4vw, 52px);
    bottom: clamp(26px, 4vw, 48px);
    display: flex;
    gap: 7px;
}

.homepage-hero__carousel .owl-dots .owl-dot span {
    display: block;
    width: 7px;
    height: 7px;
    margin: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .48);
    transition: width .2s ease, background .2s ease;
}

.homepage-hero__carousel .owl-dots .owl-dot.active span {
    width: 25px;
    background: #fff;
}

@media (max-width: 767px) {
    .homepage-hero {
        padding-top: 10px;
    }

    .homepage-hero__frame {
        border-radius: 16px;
    }

    .homepage-hero__slide,
    .homepage-hero__link,
    .homepage-hero__gallery,
    .homepage-hero__image img {
        min-height: 560px;
    }

    .homepage-hero__gallery {
        display: block;
    }

    .homepage-hero__image:not(:first-child) {
        display: none;
    }

    .homepage-hero__content {
        padding: 24px 22px 34px;
    }

    .homepage-hero__badges {
        margin-bottom: 11px;
    }

    .homepage-hero__badge {
        min-height: 27px;
        padding: 5px 9px;
        font-size: 9px;
    }

    .homepage-hero__content h1 {
        font-size: clamp(25px, 7vw, 34px);
    }

    .homepage-hero__location {
        margin-bottom: 13px;
        font-size: 12px;
    }

    .homepage-hero__details {
        margin-bottom: 17px;
    }

    .homepage-hero__price {
        width: 100%;
        font-size: 25px;
    }

    .homepage-hero__feature:nth-of-type(n + 3) {
        display: none;
    }

    .homepage-hero__carousel .owl-nav {
        top: 42%;
        right: 10px;
        left: 10px;
    }

    .homepage-hero__carousel .owl-nav button.owl-prev,
    .homepage-hero__carousel .owl-nav button.owl-next {
        width: 39px;
        height: 39px;
        margin-top: -20px;
    }

    .homepage-hero__carousel .owl-dots {
        right: 20px;
        bottom: 20px;
    }

    .homepage-hero__button {
        min-height: 43px;
        padding: 10px 15px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homepage-hero__image img,
    .homepage-hero__button,
    .homepage-hero__carousel .owl-dots .owl-dot span {
        transition: none;
    }
}


/* Modern homepage showcase cards */
.homepage-showcase {
    padding: 6px 0 24px;
}

.homepage-showcase__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 13px;
    padding: 0 3px;
}

.homepage-showcase__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--theme-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1;
    text-transform: uppercase;
}

.homepage-showcase__header h2 {
    margin: 0;
    color: var(--theme-ink);
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.homepage-showcase__count {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--theme-border);
    border-radius: 50%;
    color: var(--theme-primary-dark);
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.property-carousel .owl-stage-outer {
    margin: 0 -3px;
    padding: 4px 3px 22px;
}

.property-carousel .owl-stage {
    display: flex;
}

.property-carousel .owl-item {
    display: flex;
    min-height: 100%;
}

.property-card {
    display: flex;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(38, 57, 70, .11);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(35, 53, 63, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    border-color: rgba(54, 105, 121, .26);
    box-shadow: 0 17px 38px rgba(35, 53, 63, .14);
}

.property-card__link {
    display: flex;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
    color: inherit !important;
    text-decoration: none !important;
}

.property-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.52 / 1;
    background: #e8edef;
}

.property-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2, .65, .3, 1);
}

.property-card:hover .property-card__media img {
    transform: scale(1.045);
}

.property-card__media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 27, 34, .25), transparent 42%, rgba(12, 27, 34, .1));
    pointer-events: none;
}

.property-card__badges {
    position: absolute;
    top: 13px;
    left: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.property-card__badge {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 999px;
    color: #fff;
    background: rgba(18, 36, 44, .58);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .13);
    backdrop-filter: blur(9px);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .045em;
    line-height: 1;
    text-transform: uppercase;
}

.property-card__badge--primary {
    background: var(--theme-primary);
}

.property-card__ribbon {
    position: absolute;
    top: 13px;
    right: 13px;
    display: flex;
    width: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 50%;
    color: #fff;
    background: rgba(18, 36, 44, .62);
    backdrop-filter: blur(9px);
}

.property-card__body {
    display: flex;
    min-height: 194px;
    flex: 1;
    flex-direction: column;
    padding: 18px 17px 16px;
}

.property-card__body h3 {
    display: -webkit-box;
    min-height: 45px;
    overflow: hidden;
    margin: 0 0 11px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--theme-ink);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.48;
}

.property-card__location {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 0 0 16px;
    color: #74838a;
    font-size: 11px;
    line-height: 1.55;
}

.property-card__location i {
    margin-top: 3px;
    color: var(--theme-secondary);
}

.property-card__location span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.property-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e9edef;
}

.property-card__footer strong {
    overflow: hidden;
    color: var(--theme-primary-dark);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-card__arrow {
    display: flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--theme-primary);
    transition: transform .18s ease, background .18s ease;
}

.property-card:hover .property-card__arrow {
    transform: translateX(3px);
    background: var(--theme-primary-dark);
}

.property-carousel .owl-nav {
    position: absolute;
    z-index: 3;
    top: 41%;
    right: 9px;
    left: 9px;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.property-carousel .owl-nav .owl-prev,
.property-carousel .owl-nav .owl-next {
    position: absolute;
    display: flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    margin-top: -22px;
    border: 1px solid var(--theme-border) !important;
    border-radius: 50%;
    color: var(--theme-primary-dark) !important;
    background: #fff !important;
    box-shadow: 0 9px 25px rgba(35, 53, 63, .16);
    pointer-events: auto;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.property-carousel .owl-nav .owl-prev {
    left: 0;
}

.property-carousel .owl-nav .owl-next {
    right: 0;
}

.property-carousel .owl-nav .owl-prev:hover,
.property-carousel .owl-nav .owl-next:hover {
    color: #fff !important;
    background: var(--theme-primary) !important;
    transform: scale(1.05);
}

.property-carousel .owl-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: -7px;
}

.property-carousel .owl-dots .owl-dot span {
    display: block;
    width: 7px;
    height: 7px;
    margin: 0;
    border-radius: 999px;
    background: #cbd5d9;
    transition: width .2s ease, background .2s ease;
}

.property-carousel .owl-dots .owl-dot.active span {
    width: 23px;
    background: var(--theme-primary);
}

@media (max-width: 767px) {
    .homepage-showcase {
        padding: 3px 0 20px;
    }

    .homepage-showcase__header {
        margin-bottom: 10px;
    }

    .property-carousel .owl-stage-outer {
        padding-bottom: 18px;
    }

    .property-carousel .owl-nav {
        right: 7px;
        left: 7px;
    }

    .property-carousel .owl-nav .owl-prev,
    .property-carousel .owl-nav .owl-next {
        width: 39px;
        height: 39px;
        margin-top: -20px;
    }

    .property-card__body {
        min-height: 181px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .property-card,
    .property-card__media img,
    .property-card__arrow {
        transition: none;
    }
}


/* Modern homepage category rows and sidebar */
.homepage-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(255px, 285px);
    gap: 23px;
    align-items: start;
    padding-top: 4px;
}

.homepage-content-main,
.homepage-sidebar {
    min-width: 0;
}

.homepage-category-section {
    margin-bottom: 25px;
    padding: 20px 20px 9px;
    border: 1px solid rgba(38, 57, 70, .09);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(35, 53, 63, .07);
}

.homepage-category-section__header {
    margin-bottom: 11px;
}

.homepage-category-section__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--theme-primary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
}

.homepage-category-section__header h2 {
    margin: 0;
    color: var(--theme-ink);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.homepage-category-section .property-card__body {
    min-height: 188px;
}

.homepage-category-section .property-card__body h3 {
    font-size: 14px;
}

.homepage-category-section .property-card__footer strong {
    font-size: 16px;
}

.homepage-sidebar {
    display: grid;
    gap: 18px;
}

.sidebar-panel {
    overflow: hidden;
    border: 1px solid rgba(38, 57, 70, .1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(35, 53, 63, .08);
}

.sidebar-panel__header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 17px;
    border-bottom: 1px solid #e7edef;
}

.sidebar-panel__icon {
    display: flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--theme-primary-dark);
    background: var(--theme-soft);
    font-size: 15px;
}

.sidebar-panel__header small {
    display: block;
    margin-bottom: 3px;
    color: var(--theme-secondary);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
}

.sidebar-panel__header h2 {
    margin: 0;
    color: var(--theme-ink);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.2;
}

.sidebar-team__list {
    padding: 14px;
}

.sidebar-advisor {
    overflow: hidden;
    padding: 8px;
    border-radius: 14px;
    background: #f5f8f9;
    text-align: center;
}

.sidebar-advisor + .sidebar-advisor {
    margin-top: 12px;
}

.sidebar-advisor > img {
    width: 100%;
    height: 185px;
    border-radius: 11px;
    object-fit: cover;
}

.sidebar-advisor h3 {
    margin: 14px 5px 11px;
    color: var(--theme-ink);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.3;
}

.sidebar-advisor__contacts {
    display: grid;
    gap: 6px;
}

.sidebar-advisor__contacts a {
    display: flex;
    min-width: 0;
    min-height: 37px;
    align-items: center;
    gap: 9px;
    padding: 8px 9px;
    border: 1px solid #e2e9ec;
    border-radius: 9px;
    color: #4b606a !important;
    background: #fff;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none !important;
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.sidebar-advisor__contacts a:hover {
    transform: translateX(2px);
    border-color: var(--theme-secondary);
    color: var(--theme-primary-dark) !important;
}

.sidebar-advisor__contacts i {
    width: 15px;
    flex: 0 0 15px;
    color: var(--theme-primary);
}

.sidebar-advisor__contacts span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-category-nav {
    display: grid;
    padding: 8px;
}

.sidebar-category-nav > a {
    display: flex;
    min-height: 45px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px 9px 12px;
    border-radius: 10px;
    color: #40545e !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.sidebar-category-nav > a + a {
    border-top: 1px solid #edf1f3;
}

.sidebar-category-nav > a:hover {
    transform: translateX(2px);
    color: var(--theme-primary-dark) !important;
    background: var(--theme-soft);
}

.sidebar-category-nav__meta {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.sidebar-category-nav__meta small {
    display: inline-flex;
    min-width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--theme-primary-dark);
    background: #edf3f5;
    font-size: 10px;
    font-weight: 700;
}

.sidebar-category-nav__meta i {
    color: #92a1a8;
}

@media (max-width: 990px) {
    .homepage-content-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .homepage-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sidebar-advisor > img {
        height: 240px;
    }
}

@media (max-width: 620px) {
    .homepage-category-section {
        padding: 17px 14px 7px;
        border-radius: 16px;
    }

    .homepage-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .sidebar-advisor > img {
        height: 270px;
    }
}


/* Stable homepage columns and refined typography */
.homepage-content-layout {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 23px;
    direction: ltr !important;
}

.homepage-content-main {
    display: block !important;
    width: calc(100% - 308px) !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    float: none !important;
    clear: none !important;
    order: 1 !important;
    direction: ltr !important;
}

.homepage-sidebar {
    display: grid !important;
    width: 285px !important;
    min-width: 285px !important;
    max-width: 285px !important;
    flex: 0 0 285px !important;
    float: none !important;
    clear: none !important;
    order: 2 !important;
    direction: ltr !important;
}

.homepage-category-section,
.homepage-category-section__carousel,
.homepage-category-section__carousel .owl-stage-outer {
    width: 100% !important;
    max-width: 100% !important;
}

/* Moderate Poppins weights preserve hierarchy
   without making every label and card title look bold. */
body {
    font-weight: 400;
}

.site-header__quick-links a,
.site-nav__categories > li > a,
.site-header__phone strong {
    font-weight: 600 !important;
}

.homepage-hero__content h1,
.homepage-hero__price,
.homepage-showcase__header h2,
.homepage-category-section__header h2,
.sidebar-panel__header h2,
.sidebar-advisor h3 {
    font-weight: 600 !important;
}

.homepage-hero__badge,
.homepage-showcase__eyebrow,
.homepage-category-section__eyebrow,
.sidebar-panel__header small,
.property-card__badge {
    font-weight: 600 !important;
}

.property-card__body h3,
.property-card__footer strong,
.homepage-category-section .property-card__body h3,
.homepage-category-section .property-card__footer strong {
    font-weight: 600 !important;
}

.property-card__body h3,
.homepage-category-section .property-card__body h3 {
    font-size: 15px;
    line-height: 1.45;
}

.property-card__location {
    font-size: 12px;
    line-height: 1.55;
}

.sidebar-advisor__contacts a {
    font-size: 11px;
    font-weight: 500;
}

.sidebar-category-nav > a {
    font-size: 13px;
    font-weight: 500;
}

.sidebar-category-nav__meta small {
    font-weight: 600;
}

.footer_bottom_sect a,
.footer_bottom_sect span,
.footer_bottom_sect strong,
.footer_bottom_sect b,
.footer_bottom_copyright,
.footer_bottom_copyright a,
.footer_bottom_copyright span {
    font-family: 'Poppins', Arial, sans-serif !important;
    font-weight: 500 !important;
}

@media (max-width: 990px) {
    .homepage-content-layout {
        flex-direction: column !important;
    }

    .homepage-content-main,
    .homepage-sidebar {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: 0 0 auto !important;
    }

    .homepage-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .homepage-content-layout {
        gap: 17px;
    }

    .homepage-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* Compact property cards and subtle surfaces */
.homepage-showcase {
    padding-bottom: 8px;
}

.homepage-content-layout {
    padding-top: 0;
}

.homepage-category-section {
    margin-bottom: 18px;
    padding-bottom: 5px;
    box-shadow: 0 3px 14px rgba(35, 53, 63, .045);
}

.property-carousel .owl-stage-outer {
    padding-bottom: 12px;
}

.property-carousel .owl-dots {
    margin-top: 0;
}

.property-card {
    border-color: rgba(38, 57, 70, .12);
    border-radius: 15px;
    box-shadow: 0 3px 12px rgba(35, 53, 63, .055);
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 19px rgba(35, 53, 63, .09);
}

.property-card__media {
    aspect-ratio: 1.58 / 1;
}

.property-card__body,
.homepage-category-section .property-card__body {
    min-height: 0;
    padding: 15px 16px 14px;
}

.property-card__body h3,
.homepage-category-section .property-card__body h3 {
    min-height: 43px;
    margin-bottom: 7px;
    font-size: 14px;
    line-height: 1.5;
}

.property-card__location {
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.55;
}

.property-card__footer {
    margin-top: 0;
    padding-top: 11px;
}

.property-card__footer strong,
.homepage-category-section .property-card__footer strong {
    font-size: 16px;
}

.property-card__arrow {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
}

.sidebar-panel {
    box-shadow: 0 3px 14px rgba(35, 53, 63, .05);
}

.sidebar-advisor {
    background: #f7f9fa;
}

@media (max-width: 620px) {
    .homepage-showcase {
        padding-bottom: 4px;
    }

    .property-card__body,
    .homepage-category-section .property-card__body {
        padding: 14px;
    }
}


/* Homepage alignment and advisor contact actions */
.homepage-content-layout {
    justify-content: flex-start !important;
}

.homepage-content-main {
    margin: 0 !important;
    padding: 0 !important;
}

.homepage-category-section {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.sidebar-advisor__contacts {
    gap: 8px;
}

.sidebar-advisor__contacts .sidebar-advisor__contact {
    min-height: 51px;
    gap: 10px;
    padding: 7px 9px;
    border-color: #dfe7ea;
    border-radius: 11px;
    background: #fff;
}

.sidebar-advisor__contact-icon {
    display: flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #fff;
    background: var(--theme-primary);
    font-size: 13px;
}

.sidebar-advisor__contact--whatsapp .sidebar-advisor__contact-icon {
    background: var(--theme-secondary);
}

.sidebar-advisor__contact-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
}

.sidebar-advisor__contact-copy small {
    color: #86969d;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.sidebar-advisor__contact-copy strong {
    overflow: hidden;
    max-width: 100%;
    color: #344a54;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-advisor__contact--phone:hover .sidebar-advisor__contact-icon,
.sidebar-advisor__contact--whatsapp:hover .sidebar-advisor__contact-icon {
    background: var(--theme-primary-dark);
}

@media (max-width: 990px) {
    .homepage-content-main {
        margin: 0 !important;
        padding: 0 !important;
    }
}


/* Explicit homepage grid and advisor carousel */
.homepage-content-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 285px !important;
    grid-template-rows: auto !important;
    column-gap: 23px !important;
    align-items: start !important;
    justify-content: stretch !important;
    direction: ltr !important;
}

.homepage-content-main {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.homepage-sidebar {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.sidebar-team__carousel {
    display: block;
    padding: 14px;
}

.sidebar-team__carousel .owl-stage-outer {
    overflow: hidden;
}

.sidebar-team__carousel .owl-item {
    padding: 0;
}

.sidebar-team__carousel .sidebar-advisor {
    width: 100%;
    margin: 0;
}

.sidebar-advisor__contacts .sidebar-advisor__contact {
    border: 0;
    color: #fff !important;
    background: var(--theme-primary-dark);
    box-shadow: 0 6px 15px rgba(38, 78, 91, .16);
}

.sidebar-advisor__contacts .sidebar-advisor__contact--whatsapp {
    background: var(--theme-primary);
}

.sidebar-advisor__contact-icon {
    color: #fff;
    background: rgba(255, 255, 255, .17);
}

.sidebar-advisor__contact-copy small {
    color: rgba(255, 255, 255, .7);
}

.sidebar-advisor__contact-copy strong {
    color: #fff;
}

.sidebar-advisor__contacts .sidebar-advisor__contact:hover {
    color: #fff !important;
    background: #203f4a;
    box-shadow: 0 8px 19px rgba(31, 65, 77, .22);
}

.sidebar-advisor__listings {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 13px;
    border: 1px solid #dce6e9;
    border-radius: 10px;
    color: var(--theme-primary-dark) !important;
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.sidebar-advisor__listings:hover {
    transform: translateY(-1px);
    color: #fff !important;
    background: var(--theme-primary-dark);
}

.sidebar-team__carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.sidebar-team__carousel .owl-nav .owl-prev,
.sidebar-team__carousel .owl-nav .owl-next {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce6e9;
    border-radius: 50%;
    color: var(--theme-primary-dark);
    background: #fff;
}

.sidebar-team__carousel .owl-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
}

.sidebar-team__carousel .owl-dots .owl-dot span {
    display: block;
    width: 6px;
    height: 6px;
    margin: 0;
    border-radius: 50%;
    background: #ccd7db;
}

.sidebar-team__carousel .owl-dots .owl-dot.active span {
    background: var(--theme-primary);
}

@media (max-width: 990px) {
    .homepage-content-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        row-gap: 18px !important;
    }

    .homepage-content-main {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .homepage-sidebar {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
}


/* Shared action button and final card interaction refinements. */
.theme-action-button {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--theme-primary-dark);
    border-radius: 10px;
    color: #fff !important;
    background: var(--theme-primary-dark);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease;
}

.theme-action-button:hover,
.theme-action-button:focus {
    border-color: var(--theme-primary);
    color: #fff !important;
    background: var(--theme-primary);
    text-decoration: none !important;
}

.sidebar-advisor__contacts .sidebar-advisor__contact-icon,
.sidebar-advisor__contacts .sidebar-advisor__contact-icon i,
.sidebar-advisor__contacts .sidebar-advisor__contact-icon i::before {
    color: #fff !important;
}

.sidebar-advisor__listings,
.sidebar-advisor__listings:hover,
.sidebar-advisor__listings:focus {
    color: #fff !important;
}

.sidebar-advisor__listings {
    width: 100%;
    justify-content: space-between;
    border-color: var(--theme-primary-dark);
    background: var(--theme-primary-dark);
    box-shadow: none;
    transform: none;
}

.sidebar-advisor__listings:hover,
.sidebar-advisor__listings:focus {
    border-color: var(--theme-primary);
    background: var(--theme-primary);
    box-shadow: none;
    transform: none;
}

.property-card,
.property-card:hover,
.property-card:focus-within {
    box-shadow: none !important;
}

.property-card:hover,
.property-card:focus-within {
    transform: none !important;
}

/* Modern site footer */
.site-footer--modern {
    position: relative;
    clear: both;
    margin-top: 42px;
    padding-top: 0;
    overflow: hidden;
    color: #dbe5e8;
    background: #172c35;
    border-top: 4px solid var(--theme-primary);
}

.site-footer--modern::before {
    position: absolute;
    top: 0;
    right: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .025);
    content: '';
    pointer-events: none;
}

.site-footer__main {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 1.25fr) minmax(140px, .7fr) minmax(260px, 1.15fr) minmax(170px, .75fr);
    gap: 42px;
    padding: 48px 0 42px;
}

.site-footer__brand,
.site-footer__column {
    min-width: 0;
}

.site-footer__logo {
    display: inline-flex;
    max-width: 210px;
    min-height: 62px;
    align-items: center;
    padding: 9px 13px;
    border-radius: 13px;
    background: #fff;
}

.site-footer__logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
}

.site-footer__brand-title {
    color: #fff !important;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none !important;
}

.site-footer__brand-copy {
    margin: 15px 0 13px;
    color: #9fb2b9;
    font-size: 12px;
    font-weight: 500;
}

.site-footer__contact-list {
    display: grid;
    gap: 8px;
}

.site-footer__contact {
    display: flex;
    max-width: 245px;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    color: #eef5f6 !important;
    background: rgba(255, 255, 255, .045);
    text-decoration: none !important;
    transition: border-color .18s ease, background-color .18s ease;
}

.site-footer__contact > span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: var(--theme-primary);
}

.site-footer__contact i,
.site-footer__contact i::before {
    color: #fff !important;
}

.site-footer__contact strong {
    color: #eef5f6 !important;
    font-size: 11px;
    font-weight: 600 !important;
}

.site-footer__contact:hover {
    border-color: rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .085);
}

.site-footer__column h2 {
    position: relative;
    margin: 5px 0 18px;
    padding-bottom: 11px;
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.site-footer__column h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: var(--theme-primary);
    content: '';
}

.site-footer__links {
    display: grid;
    gap: 10px;
}

.site-footer__links--categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
}

.site-footer__links a {
    position: relative;
    padding-left: 13px;
    color: #b7c6cb !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none !important;
    transition: color .18s ease;
}

.site-footer__links a::before {
    position: absolute;
    top: .55em;
    left: 0;
    width: 5px;
    height: 5px;
    border: 1px solid #77919a;
    border-radius: 50%;
    content: '';
}

.site-footer__links a:hover {
    color: #fff !important;
}

.site-footer__links a:hover::before {
    border-color: var(--theme-primary);
    background: var(--theme-primary);
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.site-footer__socials a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 11px;
    color: #eaf1f3 !important;
    background: rgba(255, 255, 255, .055) !important;
    text-decoration: none !important;
    transition: border-color .18s ease, background-color .18s ease;
}

.site-footer__socials a i,
.site-footer__socials a i::before {
    color: #eaf1f3 !important;
    font-size: 16px;
}

.site-footer__socials a:hover {
    border-color: var(--theme-primary);
    color: #fff !important;
    background: var(--theme-primary) !important;
}

.site-footer__store-links {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.site-footer__store-links a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 9px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 9px;
    color: #c7d4d8 !important;
    background: rgba(255, 255, 255, .035);
    font-size: 10px;
    text-decoration: none !important;
}

.site-footer__bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, .09);
    background: #12242c;
}

.site-footer__bottom-inner {
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 20px;
}

.site-footer__bottom p {
    flex: 1;
    margin: 0;
    color: #90a5ac;
    font-size: 10px;
    font-weight: 500;
}

.site-footer__credit {
    color: #b9c8cd !important;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none !important;
}

.site-footer__to-top {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
}

.site-footer__to-top:hover {
    border-color: var(--theme-primary);
    background: var(--theme-primary);
}

@media (max-width: 1100px) {
    .site-footer__main {
        grid-template-columns: 1.1fr .7fr 1fr;
    }

    .site-footer__social-column {
        grid-column: 2 / 4;
    }
}

@media (max-width: 767px) {
    .site-footer--modern {
        margin-top: 28px;
    }

    .site-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 22px;
        padding: 34px 0 30px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__social-column {
        grid-column: 1 / -1;
    }

    .site-footer__contact-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__contact {
        max-width: none;
    }
}

@media (max-width: 520px) {
    .site-footer__main,
    .site-footer__contact-list,
    .site-footer__links--categories {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer__brand,
    .site-footer__social-column {
        grid-column: auto;
    }

    .site-footer__bottom-inner {
        min-height: 0;
        flex-wrap: wrap;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .site-footer__bottom p {
        width: 100%;
        flex-basis: 100%;
    }

    .site-footer__credit {
        flex: 1;
    }
}

/* Navigation interaction cleanup */
.site-navigation #mega.site-nav__categories > li,
.site-navigation #mega.site-nav__categories > li:hover,
.site-navigation #mega.site-nav__categories > li.active {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.site-navigation #mega.site-nav__categories > li > a,
.site-navigation #mega.site-nav__categories > li:hover > a,
.site-navigation #mega.site-nav__categories > li.active > a {
    border-right: 0 !important;
    border-left: 0 !important;
    box-shadow: none !important;
}

.site-navigation #mega.site-nav__categories > li::before,
.site-navigation #mega.site-nav__categories > li::after,
.site-navigation #mega.site-nav__categories > li > a::before {
    display: none !important;
    width: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    content: none !important;
}

.site-navigation .site-nav__categories > li:not(.has-submenu) > ul {
    display: none !important;
}

.site-navigation .site-nav__categories > li.has-submenu:hover > ul {
    display: block;
}

/* Pointer focus and keyboard focus treatment
 * Mouse clicks, right clicks and drag gestures must not leave the browser's
 * default black focus frame. Keyboard navigation keeps a visible theme ring.
 */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
[tabindex]:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--theme-primary) !important;
    outline-offset: 3px;
}

.property-card__link:focus,
.property-card__link:active,
.site-nav__categories a:focus,
.site-nav__categories a:active,
.site-footer a:focus,
.site-footer a:active {
    border-color: inherit;
    box-shadow: none !important;
}

.property-card__link:focus:not(:focus-visible),
.property-card__link:active,
.site-nav__categories a:focus:not(:focus-visible),
.site-nav__categories a:active,
.site-footer a:focus:not(:focus-visible),
.site-footer a:active {
    outline: none !important;
}

/* Modern category listing page */
.listing-page {
    min-height: 600px;
    padding: 28px 0 44px;
    color: var(--theme-ink);
    background: var(--theme-page);
}

.listing-page__header {
    display: flex;
    min-height: 128px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 18px;
    padding: 25px 28px;
    border: 1px solid var(--theme-border);
    border-radius: 18px;
    background: #fff;
}

.listing-page__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--theme-primary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.listing-page__header h1 {
    margin: 0;
    color: #203640;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.2;
}

.listing-page__header p {
    margin: 7px 0 0;
    color: #788991;
    font-size: 12px;
}

.listing-page__header p strong {
    color: var(--theme-primary-dark);
    font-weight: 600;
}

.listing-page__header-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background: var(--theme-primary);
    font-size: 22px;
}

.listing-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.listing-subcategories a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 9px;
    padding: 7px 9px 7px 13px;
    border: 1px solid var(--theme-border);
    border-radius: 10px;
    color: #40545d !important;
    background: #fff;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none !important;
}

.listing-subcategories a:hover {
    border-color: #bfd0d5;
    color: var(--theme-primary-dark) !important;
}

.listing-subcategories small {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 7px;
    color: var(--theme-primary-dark);
    background: var(--theme-soft);
    font-size: 9px;
    font-weight: 600;
}

.listing-page__layout {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.listing-filter {
    position: sticky;
    z-index: 4;
    top: 18px;
    overflow: hidden;
    border: 1px solid var(--theme-border);
    border-radius: 17px;
    background: #fff;
}

.listing-filter__header {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 18px;
    border-bottom: 1px solid var(--theme-border);
}

.listing-filter__header-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--theme-primary-dark);
    background: var(--theme-soft);
}

.listing-filter__header h2 {
    margin: 1px 0 3px;
    color: #253b45;
    font-size: 14px;
    font-weight: 600;
}

.listing-filter__header p {
    margin: 0;
    color: #8a989e;
    font-size: 9px;
    line-height: 1.5;
}

.listing-filter__close {
    display: none;
}

.listing-filter__form {
    --listing-filter-field-gap: 14px;
    display: grid;
    gap: var(--listing-filter-field-gap);
    max-height: calc(100vh - 150px);
    padding: 18px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: #c6d4d8 transparent;
    scrollbar-width: thin;
}

/* Location fields participate in the form grid directly, so every vertical
   field uses the same spacing token regardless of how it was generated. */
.listing-location-filter {
    display: contents;
}

.listing-filter__field {
    min-width: 0;
}

.listing-filter__field > label,
.listing-filter__checks legend {
    display: block;
    width: auto;
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    color: #53666f;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.listing-filter__control {
    position: relative;
}

.listing-filter__control > i {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 12px;
    color: #76909a;
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.listing-filter__control input,
.listing-filter__control select {
    display: block;
    width: 100%;
    height: 42px;
    padding: 0 32px 0 34px;
    border: 1px solid #dce5e8;
    border-radius: 10px;
    outline: 0;
    color: #40535c;
    background: #f8fafb;
    font-size: 10px;
    font-weight: 500;
    transition: border-color .18s ease, background-color .18s ease;
}

.listing-filter__control input:focus,
.listing-filter__control select:focus {
    border-color: #94b0b9;
    background: #fff;
}

.listing-filter__checks {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.listing-filter__check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.listing-filter__check {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #52666f;
    cursor: pointer;
    font-size: 9px;
    font-weight: 500;
}

.listing-filter__check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.listing-filter__check > span {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d3dfe2;
    border-radius: 5px;
    color: transparent;
    background: #fff;
    font-size: 9px;
}

.listing-filter__check input:checked + span {
    border-color: var(--theme-primary);
    color: #fff;
    background: var(--theme-primary);
}

.listing-filter__check em {
    overflow: hidden;
    font-style: normal;
    line-height: 1.3;
    text-overflow: ellipsis;
}

.listing-filter__price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.listing-filter__actions {
    display: grid;
    gap: 9px;
    padding-top: 4px;
}

.listing-filter__submit {
    width: 100%;
    justify-content: space-between;
    border: 0;
    cursor: pointer;
}

.listing-filter__clear {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #73858c !important;
    font-size: 9px;
    font-weight: 500;
    text-decoration: none !important;
}

.listing-page__results {
    min-width: 0;
}

.listing-toolbar {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 12px 14px 12px 18px;
    border: 1px solid var(--theme-border);
    border-radius: 15px;
    background: #fff;
}

.listing-toolbar__summary {
    display: grid;
    gap: 3px;
}

.listing-toolbar__summary strong {
    color: #263d47;
    font-size: 13px;
    font-weight: 600;
}

.listing-toolbar__summary span {
    color: #87969c;
    font-size: 9px;
}

.listing-toolbar__actions,
.listing-view-switcher {
    display: flex;
    align-items: center;
    gap: 7px;
}

.listing-view-switcher {
    padding: 4px;
    border-radius: 11px;
    background: #f0f4f5;
}

.listing-view-switcher button,
.listing-toolbar__filter-toggle {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #73858c;
    background: transparent;
    cursor: pointer;
}

.listing-view-switcher button.is-active {
    color: #fff;
    background: var(--theme-primary);
}

.listing-toolbar__filter-toggle {
    display: none;
    width: auto;
    gap: 7px;
    padding: 0 12px;
    color: var(--theme-primary-dark);
    background: var(--theme-soft);
    font-size: 10px;
    font-weight: 600;
}

.listing-results {
    display: grid;
    gap: 14px;
}

.listing-results.is-list-view {
    grid-template-columns: minmax(0, 1fr);
}

.listing-results.is-grid-view {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-result-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    background: #fff;
}

.listing-results.is-list-view .listing-result-card {
    grid-template-columns: minmax(230px, 31%) minmax(0, 1fr);
    min-height: 224px;
}

.listing-results.is-grid-view .listing-result-card {
    grid-template-rows: auto minmax(0, 1fr);
}

.listing-result-card__media {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    background: #e9eff1;
}

.listing-results.is-list-view .listing-result-card__media {
    min-height: 224px;
}

.listing-results.is-grid-view .listing-result-card__media {
    aspect-ratio: 1.52 / 1;
}

.listing-result-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-result-card:hover .listing-result-card__media img {
    transform: none;
}

.listing-result-card__placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 190px;
    align-items: center;
    justify-content: center;
    color: #9aabb1;
    font-size: 28px;
}

.listing-result-card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 20px;
    color: #fff;
    background: rgba(34, 70, 82, .9);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.listing-result-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 18px;
}

.listing-result-card__topline {
    min-height: 18px;
    margin-bottom: 5px;
}

.listing-result-card__topline span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #8a999f;
    font-size: 8px;
    font-weight: 500;
}

.listing-result-card h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.42;
}

.listing-result-card h2 a {
    color: #2b414b !important;
    text-decoration: none !important;
}

.listing-result-card__location {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 9px 0 0;
    color: #7c8e95;
    font-size: 11px;
    line-height: 1.5;
}

.listing-result-card__location i {
    margin-top: 2px;
    color: #7395a0;
}

.listing-result-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.listing-result-card__features > span {
    display: grid;
    gap: 2px;
    min-width: 82px;
    padding: 7px 9px;
    border: 1px solid #e2e9eb;
    border-radius: 8px;
    background: #f8fafb;
}

.listing-result-card__features small {
    color: #91a0a5;
    font-size: 7px;
    font-weight: 600;
    text-transform: uppercase;
}

.listing-result-card__features strong {
    overflow: hidden;
    color: #455a63;
    font-size: 9px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listing-result-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e4eaec;
}

.listing-result-card__footer > strong {
    overflow: hidden;
    color: var(--theme-primary-dark);
    font-size: 17px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listing-result-card__details {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 9px;
    color: #fff !important;
    background: var(--theme-primary);
    font-size: 9px;
    font-weight: 600;
    text-decoration: none !important;
}

.listing-results.is-grid-view .listing-result-card__body {
    padding: 15px;
}

.listing-results.is-grid-view .listing-result-card h2 {
    min-height: 3.9em;
    font-size: 15px;
}

.listing-results.is-grid-view .listing-result-card__location {
    min-height: 3em;
}

.listing-results.is-grid-view .listing-result-card__features {
    display: none;
}

.listing-results.is-grid-view .listing-result-card__footer > strong {
    font-size: 14px;
}

.listing-results.is-grid-view .listing-result-card__details {
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 50%;
}

.listing-results.is-grid-view .listing-result-card__details span {
    display: none;
}

.listing-empty-state {
    display: flex;
    min-height: 360px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 35px;
    border: 1px solid var(--theme-border);
    border-radius: 17px;
    text-align: center;
    background: #fff;
}

.listing-empty-state > span {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--theme-primary);
    background: var(--theme-soft);
    font-size: 21px;
}

.listing-empty-state h2 {
    margin: 16px 0 5px;
    color: #2c424c;
    font-size: 18px;
    font-weight: 600;
}

.listing-empty-state p {
    margin: 0 0 18px;
    color: #809198;
    font-size: 10px;
}

.listing-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 24px;
}

.listing-pagination a,
.listing-pagination span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--theme-border);
    border-radius: 9px;
    color: #566a73 !important;
    background: #fff;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none !important;
}

.listing-pagination .is-active {
    border-color: var(--theme-primary);
    color: #fff !important;
    background: var(--theme-primary);
}

.listing-filter-backdrop {
    display: none;
}

@media (max-width: 1100px) {
    .listing-page__layout {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 17px;
    }

    .listing-results.is-grid-view {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .listing-results.is-list-view .listing-result-card {
        grid-template-columns: minmax(210px, 35%) minmax(0, 1fr);
    }
}

@media (max-width: 850px) {
    .listing-page__layout {
        display: block;
    }

    .listing-filter {
        position: fixed;
        z-index: 1002;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(340px, calc(100vw - 35px));
        max-height: none;
        border: 0;
        border-radius: 0 18px 18px 0;
        transform: translateX(-105%);
        transition: transform .25s ease;
    }

    .listing-page.is-filter-open .listing-filter {
        transform: translateX(0);
    }

    .listing-filter__form {
        max-height: calc(100vh - 76px);
    }

    .listing-filter__close {
        display: inline-flex;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        padding: 0;
        border: 0;
        border-radius: 9px;
        color: #61757e;
        background: #eef3f4;
    }

    .listing-filter-backdrop {
        position: fixed;
        z-index: 1001;
        inset: 0;
        background: rgba(17, 35, 43, .52);
    }

    .listing-page.is-filter-open .listing-filter-backdrop {
        display: block;
    }

    body.listing-filter-open {
        overflow: hidden;
    }

    .listing-toolbar__filter-toggle {
        display: inline-flex;
    }
}

@media (max-width: 680px) {
    .listing-page {
        padding-top: 16px;
    }

    .listing-page__header {
        min-height: 110px;
        padding: 20px;
        border-radius: 15px;
    }

    .listing-page__header h1 {
        font-size: 22px;
    }

    .listing-page__header-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 13px;
        font-size: 18px;
    }

    .listing-results.is-list-view .listing-result-card {
        grid-template-columns: minmax(180px, 38%) minmax(0, 1fr);
    }

    .listing-results.is-list-view .listing-result-card__details span {
        display: none;
    }

    .listing-results.is-list-view .listing-result-card__details {
        width: 34px;
        height: 34px;
        min-height: 34px;
        padding: 0;
        border-radius: 50%;
    }

    .listing-result-card__features {
        display: none;
    }
}

@media (max-width: 520px) {
    .listing-toolbar {
        min-height: 60px;
        padding: 10px 11px 10px 14px;
    }

    .listing-toolbar__summary strong {
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .listing-toolbar__filter-toggle span {
        display: none;
    }

    .listing-toolbar__filter-toggle {
        width: 36px;
        padding: 0;
    }

    .listing-results.is-grid-view,
    .listing-results.is-list-view {
        grid-template-columns: minmax(0, 1fr);
    }

    .listing-results.is-list-view .listing-result-card,
    .listing-results.is-grid-view .listing-result-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr);
    }

    .listing-results.is-list-view .listing-result-card__media,
    .listing-results.is-grid-view .listing-result-card__media {
        min-height: 0;
        aspect-ratio: 1.55 / 1;
    }

    .listing-results.is-list-view .listing-result-card h2,
    .listing-results.is-grid-view .listing-result-card h2 {
        min-height: 0;
        font-size: 15px;
    }

    .listing-results.is-list-view .listing-result-card__location,
    .listing-results.is-grid-view .listing-result-card__location {
        min-height: 0;
    }
}

/* Modern listing detail page */
.listing-detail-page {
    min-height: 600px;
    padding: 26px 0 44px;
    color: var(--theme-ink);
    background: var(--theme-page);
}

.listing-detail-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 18px;
    padding: 24px 26px;
    border: 1px solid var(--theme-border);
    border-radius: 18px;
    background: #fff;
}

.listing-detail-header__copy {
    min-width: 0;
}

.listing-detail-header__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 9px;
}

.listing-detail-header__badges span {
    padding: 6px 9px;
    border-radius: 20px;
    color: #fff;
    background: var(--theme-primary);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.listing-detail-header__badges span + span {
    color: var(--theme-primary-dark);
    background: var(--theme-soft);
}

.listing-detail-header h1 {
    max-width: 820px;
    margin: 0;
    color: #203640;
    font-size: clamp(22px, 2.4vw, 31px);
    font-weight: 600;
    line-height: 1.25;
}

.listing-detail-header__copy > p {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 10px 0 0;
    color: #788b93;
    font-size: 10px;
    line-height: 1.5;
}

.listing-detail-header__copy > p i {
    margin-top: 2px;
    color: #71929d;
}

.listing-detail-header__aside {
    display: grid;
    flex: 0 0 auto;
    justify-items: end;
    gap: 12px;
}

.listing-detail-header__price {
    color: var(--theme-primary-dark);
    font-size: 23px;
    font-weight: 600;
    white-space: nowrap;
}

.listing-detail-share {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.listing-detail-share a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce5e8;
    border-radius: 9px;
    color: #607780 !important;
    background: #f8fafb !important;
    text-decoration: none !important;
}

.listing-detail-share a:hover {
    border-color: var(--theme-primary);
    color: #fff !important;
    background: var(--theme-primary) !important;
}

.listing-detail-top {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(300px, .78fr);
    gap: 20px;
    align-items: start;
}

.listing-gallery,
.listing-detail-card,
.listing-detail-section {
    overflow: hidden;
    border: 1px solid var(--theme-border);
    border-radius: 18px;
    background: #fff;
}

.listing-gallery {
    padding: 12px;
}

.listing-gallery__stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.52 / 1;
    border-radius: 13px;
    background: #e7edef;
}

.listing-gallery__stage > a {
    display: block;
    width: 100%;
    height: 100%;
}

.listing-gallery__stage img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-gallery__empty {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #94a7ad;
    font-size: 35px;
}

.listing-gallery__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    color: #294b57;
    background: rgba(255, 255, 255, .93);
    cursor: pointer;
    transform: translateY(-50%);
}

.listing-gallery__arrow--previous { left: 14px; }
.listing-gallery__arrow--next { right: 14px; }

.listing-gallery__counter {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 7px 10px;
    border-radius: 20px;
    color: #fff;
    background: rgba(24, 49, 59, .82);
    font-size: 9px;
    font-weight: 500;
}

.listing-gallery__counter b {
    font-weight: 600;
}

.listing-gallery__thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding: 1px 1px 2px;
    overflow-x: auto;
    scrollbar-color: #c8d5d9 transparent;
    scrollbar-width: thin;
}

.listing-gallery__thumbnail {
    width: 88px;
    height: 62px;
    flex: 0 0 88px;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 9px;
    background: #e7edef;
    cursor: pointer;
}

.listing-gallery__thumbnail.is-active {
    border-color: var(--theme-primary);
}

.listing-gallery__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-detail-sidebar {
    display: grid;
    gap: 14px;
}

.listing-detail-card {
    padding: 17px;
}

.listing-detail-card__header,
.listing-detail-section__header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.listing-detail-card__header {
    margin-bottom: 13px;
}

.listing-detail-card__header > span,
.listing-detail-section__header > span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--theme-primary-dark);
    background: var(--theme-soft);
}

.listing-detail-card__header h2,
.listing-detail-section__header h2 {
    margin: 0;
    color: #2a414b;
    font-size: 13px;
    font-weight: 600;
}

.listing-detail-facts dl {
    margin: 0;
}

.listing-detail-facts dl > div {
    display: grid;
    grid-template-columns: minmax(95px, .85fr) minmax(0, 1.15fr);
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #e5ebed;
}

.listing-detail-facts dt,
.listing-detail-fact-grid dt {
    color: #819198;
    font-size: 9px;
    font-weight: 500;
}

.listing-detail-facts dd,
.listing-detail-fact-grid dd {
    margin: 0;
    color: #3c525c;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.45;
}

.listing-detail-advisor__profile {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px;
    border-radius: 12px;
    background: #f6f9fa;
}

.listing-detail-advisor__profile img {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 12px;
    object-fit: cover;
}

.listing-detail-advisor__profile > div {
    min-width: 0;
}

.listing-detail-advisor__profile strong {
    display: block;
    overflow: hidden;
    color: #2e444e;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listing-detail-advisor__profile a {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: #829299 !important;
    font-size: 8px;
    text-decoration: none !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listing-detail-advisor__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 9px;
}

.listing-detail-advisor__actions a,
.listing-detail-advisor__listings {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 9px;
    color: #fff !important;
    background: var(--theme-primary-dark);
    font-size: 9px;
    font-weight: 600;
    text-decoration: none !important;
}

.listing-detail-advisor__actions a + a {
    background: var(--theme-primary);
}

.listing-detail-advisor__actions i,
.listing-detail-advisor__listings i {
    color: #fff !important;
}

.listing-detail-advisor__listings {
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 11px;
    color: var(--theme-primary-dark) !important;
    background: var(--theme-soft);
}

.listing-detail-advisor__listings i {
    color: var(--theme-primary-dark) !important;
}

.listing-detail-section {
    margin-top: 18px;
    padding: 22px;
}

.listing-detail-section__header {
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e4eaec;
}

.listing-detail-section__header small {
    display: block;
    margin-bottom: 2px;
    color: #82949b;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.listing-detail-description__content {
    color: #4e626b;
    font-size: 12px;
    line-height: 1.85;
}

.listing-detail-description__content > *:first-child { margin-top: 0; }
.listing-detail-description__content > *:last-child { margin-bottom: 0; }
.listing-detail-description__content img { max-width: 100%; height: auto; }

.listing-detail-fact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.listing-detail-fact-grid > div {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e0e8ea;
    border-radius: 10px;
    background: #f8fafb;
}

.listing-detail-fact-grid dd {
    margin-top: 5px;
}

.listing-detail-amenities__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.listing-detail-amenities__grid span {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border: 1px solid #e0e8ea;
    border-radius: 9px;
    color: #52666f;
    background: #f8fafb;
    font-size: 10px;
    font-weight: 500;
}

.listing-detail-amenities__grid i {
    color: var(--theme-primary);
}

.listing-detail-map {
    padding-bottom: 0;
}

.listing-detail-map__canvas {
    height: 390px;
    margin: 0 -22px;
}

.listing-detail-map__canvas.has-two-maps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.listing-detail-map iframe,
.listing-detail-map #map {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.listing-detail-not-found {
    display: flex;
    min-height: 430px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 35px;
    border: 1px solid var(--theme-border);
    border-radius: 18px;
    text-align: center;
    background: #fff;
}

.listing-detail-not-found > span {
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--theme-primary);
    background: var(--theme-soft);
    font-size: 22px;
}

.listing-detail-not-found h1 { margin: 17px 0 6px; font-size: 23px; }
.listing-detail-not-found p { color: #7c8f96; font-size: 11px; }
.listing-detail-not-found > div { display: flex; gap: 9px; margin-top: 12px; }
.listing-detail-not-found__contact { display: inline-flex; align-items: center; padding: 9px 14px; color: var(--theme-primary-dark) !important; text-decoration: none !important; }

@media (max-width: 1000px) {
    .listing-detail-top {
        grid-template-columns: minmax(0, 1fr);
    }

    .listing-detail-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .listing-detail-fact-grid,
    .listing-detail-amenities__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .listing-detail-page { padding-top: 16px; }

    .listing-detail-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
        border-radius: 15px;
    }

    .listing-detail-header__aside {
        width: 100%;
        justify-items: start;
    }

    .listing-detail-share { justify-content: flex-start; }
    .listing-detail-header__price { font-size: 20px; }
    .listing-gallery { padding: 8px; border-radius: 15px; }
    .listing-gallery__stage { border-radius: 10px; }

    .listing-detail-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .listing-detail-fact-grid,
    .listing-detail-amenities__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .listing-detail-section { padding: 18px; border-radius: 15px; }
    .listing-detail-map__canvas { margin: 0 -18px; height: 330px; }
    .listing-detail-map__canvas.has-two-maps { grid-template-columns: minmax(0, 1fr); height: 620px; }
}

@media (max-width: 480px) {
    .listing-gallery__stage { aspect-ratio: 1.25 / 1; }
    .listing-gallery__arrow { width: 36px; height: 36px; }
    .listing-gallery__thumbnail { width: 72px; height: 52px; flex-basis: 72px; }
    .listing-detail-fact-grid,
    .listing-detail-amenities__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Listing detail readability and density refinements */
.listing-detail-header {
    padding: 22px 24px;
}

.listing-detail-header h1 {
    font-size: clamp(25px, 2.6vw, 34px);
}

.listing-detail-header__copy > p {
    font-size: 13px;
}

.listing-detail-header__badges span {
    font-size: 10px;
}

.listing-detail-header__price {
    color: #214d5b;
    font-size: clamp(31px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -.025em;
}

.listing-detail-card {
    padding: 15px;
}

.listing-detail-card__header {
    margin-bottom: 10px;
}

.listing-detail-card__header h2,
.listing-detail-section__header h2 {
    font-size: 16px;
}

.listing-detail-facts dl > div {
    grid-template-columns: minmax(105px, .8fr) minmax(0, 1.2fr);
    padding: 8px 0;
}

.listing-detail-facts dt,
.listing-detail-fact-grid dt {
    font-size: 11px;
}

.listing-detail-facts dd,
.listing-detail-fact-grid dd {
    font-size: 12px;
}

.listing-detail-advisor__profile {
    padding: 0;
    background: transparent;
}

.listing-detail-advisor__profile img {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    border-radius: 50%;
}

.listing-detail-advisor__profile strong {
    font-size: 15px;
}

.listing-detail-advisor__profile a {
    margin-top: 5px;
    font-size: 10px;
}

.listing-detail-advisor__actions {
    grid-template-columns: minmax(0, 1fr);
}

.listing-detail-advisor__actions a {
    min-height: 48px;
    justify-content: flex-start;
    padding: 7px 11px;
}

.listing-detail-advisor__actions a > i {
    display: inline-flex;
    width: 29px;
    height: 29px;
    align-items: center;
    justify-content: center;
    flex: 0 0 29px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
}

.listing-detail-advisor__actions a > span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.listing-detail-advisor__actions small {
    color: rgba(255, 255, 255, .72);
    font-size: 8px;
    font-weight: 500;
    text-transform: uppercase;
}

.listing-detail-advisor__actions strong {
    overflow: hidden;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listing-detail-advisor__listings {
    min-height: 41px;
    font-size: 11px;
}

.listing-detail-section {
    margin-top: 14px;
    padding: 18px 20px;
}

.listing-detail-section__header {
    margin-bottom: 14px;
    padding-bottom: 12px;
}

.listing-detail-section__header small {
    font-size: 9px;
}

.listing-detail-description__content {
    font-size: 14px;
    line-height: 1.75;
}

.listing-detail-fact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
}

.listing-detail-fact-grid > div {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid #e3e9eb;
    border-radius: 0;
    background: transparent;
}

.listing-detail-fact-grid dd {
    margin-top: 0;
    text-align: right;
}

.listing-detail-feature-groups {
    display: grid;
    gap: 16px;
}

.listing-detail-feature-group + .listing-detail-feature-group {
    padding-top: 14px;
    border-top: 1px solid #e4eaec;
}

.listing-detail-feature-group h3 {
    margin: 0 0 10px;
    color: #344b55;
    font-size: 13px;
    font-weight: 600;
}

.listing-detail-amenities__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.listing-detail-amenities__grid span {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 12px;
}

.listing-detail-map__canvas {
    height: 380px;
    background: #e8eef0;
}

.listing-detail-map iframe {
    background: #e8eef0;
}

@media (max-width: 1000px) {
    .listing-detail-advisor__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .listing-detail-header__price {
        font-size: 30px;
    }

    .listing-detail-fact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .listing-detail-fact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .listing-detail-advisor__actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Listing detail visual system alignment */
.listing-detail-page {
    font-size: 14px;
}

.listing-detail-header,
.listing-gallery,
.listing-detail-card,
.listing-detail-section {
    position: relative;
    border-top: 3px solid var(--theme-primary);
}

.listing-detail-header {
    padding: 20px 24px;
}

.listing-detail-header__badges span {
    font-size: 12px;
}

.listing-detail-header__copy > p {
    font-size: 13px;
}

.listing-detail-header__price {
    font-size: clamp(27px, 2.35vw, 32px);
    line-height: 1.1;
}

.listing-detail-share a {
    width: 38px;
    height: 38px;
    font-size: 14px;
}

.listing-gallery__counter {
    font-size: 12px;
}

.listing-detail-card {
    padding: 16px;
}

.listing-detail-card__header {
    margin: -1px 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dfe7e9;
}

.listing-detail-card__header > span,
.listing-detail-section__header > span {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 15px;
}

.listing-detail-card__header h2,
.listing-detail-section__header h2 {
    font-size: 16px;
}

.listing-detail-facts dt,
.listing-detail-fact-grid dt {
    font-size: 12px;
}

.listing-detail-facts dd,
.listing-detail-fact-grid dd {
    font-size: 13px;
}

.listing-detail-facts dl > div {
    padding: 10px 0;
}

.listing-detail-advisor__profile {
    gap: 13px;
    padding: 12px;
    border: 1px solid #e1e9eb;
    border-radius: 13px;
    background: #f7f9fa;
}

.listing-detail-advisor__profile img {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
    border-radius: 13px;
}

.listing-detail-advisor__profile strong {
    font-size: 16px;
    line-height: 1.3;
}

.listing-detail-advisor__profile a {
    margin-top: 6px;
    font-size: 12px;
}

.listing-detail-advisor__actions {
    gap: 9px;
    margin-top: 10px;
}

.listing-detail-advisor__actions a {
    min-height: 54px;
    border-radius: 10px;
}

.listing-detail-advisor__actions a > i {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 14px;
}

.listing-detail-advisor__actions small,
.listing-detail-advisor__actions strong {
    font-size: 12px;
}

.listing-detail-advisor__actions small {
    color: rgba(255, 255, 255, .76);
    line-height: 1.2;
}

.listing-detail-advisor__actions strong {
    line-height: 1.3;
}

.listing-detail-advisor__listings {
    min-height: 46px;
    justify-content: space-between;
    padding: 0 14px;
    color: #fff !important;
    background: var(--theme-primary-dark);
    font-size: 12px;
}

.listing-detail-advisor__listings:hover {
    color: #fff !important;
    background: var(--theme-primary);
}

.listing-detail-advisor__listings i,
.listing-detail-advisor__listings:hover i {
    color: #fff !important;
}

.listing-detail-section {
    padding: 19px 21px;
}

.listing-detail-section__header small {
    font-size: 12px;
    letter-spacing: .04em;
}

.listing-detail-description__content {
    font-size: 15px;
}

.listing-detail-feature-group h3 {
    font-size: 14px;
}

.listing-detail-amenities__grid span {
    font-size: 13px;
}

.listing-detail-not-found p,
.listing-detail-not-found__contact {
    font-size: 12px;
}

@media (max-width: 1000px) {
    .listing-detail-advisor__actions small,
    .listing-detail-advisor__actions strong {
        font-size: 12px;
    }
}

@media (max-width: 700px) {
    .listing-detail-header__price {
        font-size: 27px;
    }
}

/* Listing detail column balance and lightbox polish */
.listing-detail-top {
    align-items: start;
}

.listing-detail-sidebar {
    gap: 12px;
}

.listing-detail-advisor {
    padding: 14px;
}

.listing-detail-advisor .listing-detail-card__header {
    margin-bottom: 11px;
    padding-bottom: 10px;
}

.listing-detail-advisor__profile {
    padding: 10px;
}

.listing-detail-advisor__profile img {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
}

.listing-detail-advisor__actions,
.listing-detail-advisor__actions:first-of-type {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 9px;
}

.listing-detail-advisor__actions a {
    min-width: 0;
    min-height: 50px;
    padding: 7px 9px;
}

.listing-detail-advisor__actions a > i {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
}

.listing-detail-advisor__actions a > span {
    overflow: hidden;
}

.listing-detail-advisor__actions small,
.listing-detail-advisor__actions strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



@media (max-width: 700px) {
    .listing-detail-advisor__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 430px) {
    .listing-detail-advisor__actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Equal desktop detail columns */
@media (min-width: 1001px) {
    .listing-detail-top {
        align-items: stretch;
    }

    .listing-gallery,
    .listing-detail-sidebar {
        height: 100%;
    }

    .listing-detail-sidebar {
        grid-template-rows: auto minmax(0, 1fr);
    }

    .listing-detail-advisor {
        height: 100%;
    }
}

/* Listing detail viewer, feature states and map alignment */
.listing-detail-advisor__actions a {
    justify-content: center;
    gap: 9px;
}

.listing-detail-advisor__actions a > strong {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.listing-detail-amenities__grid span.is-inactive {
    color: #89979e;
    background: #f5f7f8;
    border-color: #e3e9ec;
    opacity: .58;
}

.listing-detail-amenities__grid span.is-inactive i {
    color: #9eaaaf;
}

.listing-detail-map {
    padding: 22px;
}

.listing-detail-map__canvas {
    height: 390px;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #eef3f5;
}

.listing-detail-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


@media (max-width: 700px) {
    .listing-detail-map {
        padding: 18px;
    }

    .listing-detail-map__canvas {
        height: 320px;
        margin: 0;
    }
}

/* Grid-only listing results and readable filters */
.listing-page__results {
    min-width: 0;
}

.listing-results,
.listing-results.is-grid-view,
.listing-results.is-list-view {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.listing-results .listing-result-card,
.listing-results.is-list-view .listing-result-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.listing-results .listing-result-card__media,
.listing-results.is-list-view .listing-result-card__media {
    width: 100%;
    min-width: 0;
    height: 220px;
}

.listing-results .listing-result-card__body,
.listing-results.is-list-view .listing-result-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.listing-results .listing-result-card__footer {
    margin-top: auto;
}

.listing-mobile-filter-button {
    display: none;
}

.listing-filter p,
.listing-filter label,
.listing-filter legend,
.listing-filter select,
.listing-filter input,
.listing-filter button,
.listing-filter a,
.listing-filter small,
.listing-filter span,
.listing-filter em,
.listing-filter strong {
    font-size: 11px !important;
}

.listing-filter h2 {
    font-size: 16px !important;
}

.listing-filter__submit,
.listing-filter__clear {
    font-size: 12px !important;
}

@media (max-width: 1180px) {
    .listing-results,
    .listing-results.is-grid-view,
    .listing-results.is-list-view {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    .listing-mobile-filter-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        min-height: 46px;
        margin-bottom: 14px;
        border: 0;
        border-radius: 12px;
        color: #fff;
        background: #365f6d;
        font-size: 13px;
        font-weight: 700;
    }
}

@media (max-width: 650px) {
    .listing-results,
    .listing-results.is-grid-view,
    .listing-results.is-list-view {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Blueimp listing lightbox theme */
#blueimp-gallery.blueimp-gallery {
    z-index: 10060;
    background: rgba(10, 27, 35, .96);
    font-family: 'Poppins', Arial, sans-serif;
}

#blueimp-gallery > .slides > .slide > .slide-content {
    max-width: calc(100% - 140px);
    max-height: calc(100% - 150px);
    border-radius: 12px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .32);
}

#blueimp-gallery > .title {
    top: 22px;
    right: 150px;
    left: 150px;
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-shadow: none;
}

#blueimp-gallery > .prev,
#blueimp-gallery > .next,
#blueimp-gallery > .close {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    background: rgba(54, 95, 109, .92);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
    opacity: 1;
    text-shadow: none;
    transition: background-color .2s ease, transform .2s ease;
}

#blueimp-gallery > .prev:hover,
#blueimp-gallery > .next:hover,
#blueimp-gallery > .close:hover {
    color: #fff;
    background: #46798a;
    transform: translateY(-1px);
}

#blueimp-gallery > .prev,
#blueimp-gallery > .next {
    width: 52px;
    height: 52px;
    margin-top: -26px;
    border-radius: 50%;
    font-size: 0;
}

#blueimp-gallery > .prev::before,
#blueimp-gallery > .next::before,
#blueimp-gallery > .close::before {
    font-family: FontAwesome;
    font-size: 19px;
    line-height: 1;
}

#blueimp-gallery > .prev::before {
    content: '\f053';
}

#blueimp-gallery > .next::before {
    content: '\f054';
}

#blueimp-gallery > .close {
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
}

#blueimp-gallery > .close::before {
    content: '\f00d';
}


#blueimp-gallery > .indicator {
    right: 24px;
    bottom: 18px;
    left: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 70px;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
}

#blueimp-gallery > .indicator > li {
    flex: 0 0 76px;
    width: 76px;
    height: 54px;
    margin: 0;
    border: 2px solid transparent;
    border-radius: 9px;
    background-size: cover;
    background-position: center;
    box-shadow: none;
    opacity: .58;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

#blueimp-gallery > .indicator > li:hover,
#blueimp-gallery > .indicator > li.active {
    border-color: #fff;
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    #blueimp-gallery > .slides > .slide > .slide-content {
        max-width: calc(100% - 24px);
        max-height: calc(100% - 132px);
        border-radius: 8px;
    }

    #blueimp-gallery > .title {
        top: 20px;
        right: 118px;
        left: 18px;
        overflow: hidden;
        font-size: 12px;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #blueimp-gallery > .prev,
    #blueimp-gallery > .next {
        width: 44px;
        height: 44px;
        margin-top: -22px;
    }

    #blueimp-gallery > .prev {
        left: 10px;
    }

    #blueimp-gallery > .next {
        right: 10px;
    }

    #blueimp-gallery > .close {
        top: 12px;
        right: 12px;
    }


    #blueimp-gallery > .indicator {
        right: 10px;
        bottom: 10px;
        left: 10px;
        justify-content: flex-start;
        height: 62px;
    }

    #blueimp-gallery > .indicator > li {
        flex-basis: 64px;
        width: 64px;
        height: 46px;
    }
}
/* Dynamic blog/pages */
.content-blog-list { padding-top: 24px; }
.content-blog-card { margin-bottom: 24px; }
.content-blog-card__inner { display: block; height: 100%; overflow: hidden; border: 1px solid #e8edf3; border-radius: 12px; background: #fff; color: inherit; box-shadow: 0 8px 24px rgba(31,45,61,.08); transition: transform .18s ease, box-shadow .18s ease; }
.content-blog-card__inner:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(31,45,61,.12); text-decoration: none; }
.content-blog-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.content-blog-card__body { padding: 18px; }
.content-blog-card__body small { color: #7b8b9d; }
.content-blog-card__body h2 { margin: 8px 0 10px; font-size: 20px; line-height: 1.35; color: #20344d; }
.content-blog-card__body p { color: #617083; line-height: 1.6; }
.content-blog-card__body span { color: var(--theme-primary, #be2426); font-weight: 700; }
.content-blog-detail { padding-top: 24px; }
.content-blog-detail__image { width: 100%; max-height: 520px; object-fit: cover; border-radius: 14px; margin-bottom: 18px; }
.content-blog-detail__date { color: #7b8b9d; margin-bottom: 16px; }
.content-blog-detail__terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.content-blog-detail__terms span, .content-blog-detail__terms em { padding: 7px 11px; border-radius: 999px; background: #f1f5f9; color: #34465c; font-style: normal; }
/* Blog archive/detail layout */
.content-blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.content-blog-main { min-width: 0; }
.content-blog-sidebar { display: flex; flex-direction: column; gap: 16px; }
.content-blog-widget { background: #fff; border: 1px solid #e3e9f1; border-radius: 10px; padding: 18px; box-shadow: 0 8px 24px rgba(31,45,61,.06); }
.content-blog-widget h3 { margin: 0 0 14px; font-size: 18px; line-height: 1.3; color: #20344d; }
.content-blog-widget__links, .content-blog-widget__popular { display: flex; flex-direction: column; gap: 8px; }
.content-blog-widget__links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; color: #34465c; border-bottom: 1px solid #eef2f6; }
.content-blog-widget__links a:last-child, .content-blog-widget__popular a:last-child { border-bottom: 0; }
.content-blog-widget__links a:hover, .content-blog-widget__popular a:hover { color: var(--theme-primary, #be2426); text-decoration: none; }
.content-blog-widget__links em { min-width: 28px; padding: 3px 8px; border-radius: 999px; background: #eef6ff; color: #1473d2; font-style: normal; text-align: center; font-size: 12px; }
.content-blog-widget__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.content-blog-widget__tags a, .content-blog-detail__terms a { display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 999px; background: #f1f5f9; color: #34465c; text-decoration: none; }
.content-blog-widget__tags a:hover, .content-blog-detail__terms a:hover { background: #e7f2ff; color: #1473d2; text-decoration: none; }
.content-blog-widget__popular a { padding: 8px 0; color: #34465c; border-bottom: 1px solid #eef2f6; font-weight: 600; line-height: 1.45; }
.content-blog-detail__image { border-radius: 0 !important; }
.content-blog-detail__terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
@media (max-width: 991px) { .content-blog-layout { grid-template-columns: 1fr; } .content-blog-sidebar { order: 2; } }

/* Blog readability hardening: keep legacy/global theme link colors from washing sidebar chips out. */
.content-blog-sidebar .content-blog-widget,
.content-blog-detail .content-blog-sidebar .content-blog-widget,
.content-blog-list .content-blog-sidebar .content-blog-widget {
    color: #24364b !important;
}
.content-blog-sidebar .content-blog-widget h3 {
    color: #132a43 !important;
    font-weight: 700 !important;
}
.content-blog-sidebar .content-blog-widget__links a,
.content-blog-sidebar .content-blog-widget__links a span,
.content-blog-sidebar .content-blog-widget__popular a {
    color: #2f4258 !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.content-blog-sidebar .content-blog-widget__links a:hover,
.content-blog-sidebar .content-blog-widget__links a:hover span,
.content-blog-sidebar .content-blog-widget__popular a:hover {
    color: var(--theme-primary, #be2426) !important;
}
.content-blog-sidebar .content-blog-widget__links em {
    background: #e9f4ff !important;
    color: #176fbf !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}
.content-blog-sidebar .content-blog-widget__tags a,
.content-blog-detail__terms a {
    background: #eef4fb !important;
    color: #2f4258 !important;
    border: 1px solid #dce7f3 !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.content-blog-sidebar .content-blog-widget__tags a:hover,
.content-blog-detail__terms a:hover {
    background: #e4f1ff !important;
    color: #176fbf !important;
}

.content-blog-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #73869d;
    font-size: 13px;
    margin-bottom: 10px;
}
.content-blog-card__meta time,
.content-blog-card__meta span { margin: 0; }
.content-view-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eef7fb;
    color: #2a6072;
    font-size: 14px;
    font-weight: 700;
}
.listing-view-count {
    display: flex;
    width: fit-content;
    margin: 22px auto 0;
}

.content-blog-detail__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 6px;
    color: #73869d;
    font-size: 13px;
    font-weight: 600;
}
.content-blog-detail__meta time,
.content-blog-detail__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #73869d;
    line-height: 1.3;
}
.content-blog-detail__views {
    padding-left: 14px;
    border-left: 1px solid #dce7ef;
}
@media (max-width: 600px) {
    .content-blog-detail__views {
        padding-left: 0;
        border-left: 0;
    }
}

/* Blog detail meta: compact date + views line */
.content-blog-article__header > div {
    min-width: 0;
}
.content-blog-detail__meta {
    gap: 9px !important;
    margin-top: 5px !important;
    color: #6f8298 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}
.content-blog-detail__meta time,
.content-blog-detail__meta span {
    gap: 5px !important;
    color: #6f8298 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    white-space: nowrap;
}
.content-blog-detail__views {
    padding-left: 0 !important;
    border-left: 0 !important;
}
.content-blog-detail__views::before {
    content: 'â€¢';
    margin-right: 4px;
    color: #b6c2cf;
    font-weight: 700;
}
.content-blog-detail__meta i {
    color: #2f6b7b;
    font-size: 12px;
}

/* Blog detail meta final alignment */
.content-blog-detail__meta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 4px !important;
    line-height: 1.2 !important;
}
.content-blog-detail__meta time,
.content-blog-detail__meta span {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    color: #6f8298 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}
.content-blog-detail__views {
    position: relative;
    padding-left: 10px !important;
    border-left: 1px solid #d7e1ea !important;
}
.content-blog-detail__views::before {
    content: none !important;
}
.content-blog-detail__views i {
    display: none !important;
}

/* Blog detail views icon alignment */
.content-blog-detail__views {
    gap: 5px !important;
}
.content-blog-detail__views i {
    display: inline-block !important;
    color: #2f6b7b !important;
    font-size: 12px !important;
    line-height: 1 !important;
}
.mobile-drawer-brand,
.mobile-drawer-actions {
    display: none;
}


/* Drawer-only items must not appear in the desktop category bar. */
@media (min-width: 991px) {
    #mega.site-nav__categories > li.mobile-drawer-brand,
    #mega.site-nav__categories > li.mobile-drawer-actions {
        display: none !important;
    }
}


/* Stable custom mobile drawer */
@media (max-width: 990px) {
    html.mm-wrapper_opening,
    html.mm-wrapper_opened,
    html.mm-wrapper_blocking,
    body.mm-wrapper_opening,
    body.mm-wrapper_opened,
    body.mm-wrapper_blocking {
        overflow: auto !important;
    }
    html.mm-wrapper_opening .mm-page,
    .mm-wrapper_opening .mm-page,
    .mm-wrapper_opened .mm-page,
    .mm-page {
        transform: none !important;
    }
    .mm-menu,
    .mm-menu_offcanvas,
    .mm-menu_offcanvas.site-nav {
        display: none !important;
    }
    body.mobile-menu-open {
        overflow: hidden;
    }
    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 2147483000;
        display: block;
        visibility: hidden;
        opacity: 0;
        background: rgba(12, 31, 41, .28);
        transition: opacity .22s ease, visibility .22s ease;
    }
    body.mobile-menu-open .mobile-menu-backdrop {
        visibility: visible;
        opacity: 1;
    }
    .site-nav__toggle,
    .menu-open.site-nav__toggle {
        display: inline-flex !important;
        flex: 0 0 42px !important;
        width: 42px !important;
        height: 42px !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(43, 96, 112, .22) !important;
        border-radius: 12px !important;
        background: #2b6070 !important;
        color: #fff !important;
        box-shadow: 0 8px 18px rgba(43, 96, 112, .18) !important;
        text-decoration: none !important;
    }
    .site-nav__toggle i,
    .menu-open.site-nav__toggle i {
        color: #fff !important;
        opacity: 1 !important;
    }
    .site-navigation #mega.site-nav__categories,
    #mega.site-nav__categories {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 2147483001 !important;
        display: flex !important;
        flex-direction: column !important;
        visibility: hidden !important;
        pointer-events: none !important;
        width: min(86vw, 410px) !important;
        height: 100vh !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: 18px 0 42px rgba(15, 41, 51, .18) !important;
        transform: translate3d(-105%, 0, 0) !important;
        transition: transform .24s ease, visibility .24s ease !important;
    }
    body.mobile-menu-open .site-navigation #mega.site-nav__categories,
    body.mobile-menu-open #mega.site-nav__categories {
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate3d(0, 0, 0) !important;
    }
    .site-navigation #mega .page-main,
    .site-navigation #mega .page-contact,
    #mega .page-main,
    #mega .page-contact,
    #mega .site-nav__mobile-item {
        display: block !important;
    }
    #mega.site-nav__categories > li.mobile-drawer-brand,
    #mega.site-nav__categories > li.mobile-drawer-brand:hover {
        display: block !important;
        border-bottom: 1px solid #e7eff3 !important;
        background: #fff !important;
    }
    #mega.site-nav__categories > li.mobile-drawer-brand > a.mobile-drawer-brand__link,
    #mega.site-nav__categories > li.mobile-drawer-brand:hover > a.mobile-drawer-brand__link {
        display: flex !important;
        align-items: center !important;
        min-height: 92px !important;
        padding: 18px 22px !important;
        background: #fff !important;
    }
    #mega.site-nav__categories > li.mobile-drawer-brand img {
        display: block !important;
        width: auto !important;
        max-width: 190px !important;
        max-height: 62px !important;
        object-fit: contain !important;
    }
    #mega.site-nav__categories > li.mobile-drawer-actions,
    #mega.site-nav__categories > li.mobile-drawer-actions:hover {
        display: block !important;
        margin-top: auto !important;
        padding: 16px 18px calc(18px + env(safe-area-inset-bottom)) !important;
        border-top: 1px solid #e7eff3 !important;
        border-bottom: 0 !important;
        background: #f7fbfc !important;
    }
    .mobile-drawer-actions__grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .mobile-drawer-action,
    #mega.site-nav__categories .mobile-drawer-action {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        min-height: 44px !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
        background: #2b6070 !important;
        color: #fff !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }
    .mobile-drawer-action--all {
        grid-column: 1 / -1 !important;
        background: #173947 !important;
    }
    #mega.site-nav__categories .mobile-drawer-action i {
        display: inline-block !important;
        color: #fff !important;
    }
    #mega.site-nav__categories > li,
    #mega.site-nav__categories > li:hover,
    #mega.site-nav__categories > li.active {
        position: relative !important;
        display: block !important;
        float: none !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #e7eff3 !important;
        background: #fff !important;
    }
    #mega.site-nav__categories > li > a,
    #mega.site-nav__categories > li:hover > a,
    #mega.site-nav__categories > li.active > a {
        display: block !important;
        height: auto !important;
        min-height: 49px !important;
        padding: 15px 56px 15px 22px !important;
        color: #0d2838 !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        background: transparent !important;
        text-decoration: none !important;
    }
    #mega.site-nav__categories > li > a:before,
    #mega.site-nav__categories > li > a:after,
    #mega.site-nav__categories > li:before,
    #mega.site-nav__categories > li:after {
        display: none !important;
    }
    #mega.site-nav__categories > li.has-submenu:after,
    #mega.site-nav__categories > li.sub:after {
        content: '' !important;
        position: absolute !important;
        top: 20px !important;
        right: 24px !important;
        z-index: 2 !important;
        display: block !important;
        width: 9px !important;
        height: 9px !important;
        border-top: 2px solid #2b6070 !important;
        border-right: 2px solid #2b6070 !important;
        transform: rotate(45deg) !important;
        pointer-events: none !important;
    }
    #mega.site-nav__categories > li.mobile-submenu-open:after {
        transform: rotate(135deg) !important;
    }
    #mega.site-nav__categories > li > a > i,
    #mega.site-nav__categories > li > a > em {
        display: none !important;
    }
    #mega.site-nav__categories > li > ul {
        position: static !important;
        display: none !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 0 8px 0 !important;
        border: 0 !important;
        background: #f7fbfc !important;
        box-shadow: none !important;
    }
    #mega.site-nav__categories > li.mobile-submenu-open > ul {
        display: block !important;
    }
    #mega.site-nav__categories > li > ul > li,
    #mega.site-nav__categories > li > ul > li:hover {
        display: block !important;
        float: none !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }
    #mega.site-nav__categories > li > ul > li > a {
        display: block !important;
        padding: 11px 22px 11px 36px !important;
        color: #33566a !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        background: transparent !important;
    }
    #mega.site-nav__categories .menu-all-category > a {
        color: #2b6070 !important;
        background: #edf7fa !important;
    }
    body.mobile-menu-open .site-header,
    body.mobile-menu-open .site-navigation,
    body.mobile-menu-open .site-navigation-spacer {
        z-index: auto !important;
    }
}

/* Listing portfolio print action */
.listing-detail-header__tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.listing-detail-print {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid var(--theme-primary);
    border-radius: 9px;
    color: #fff !important;
    background: var(--theme-primary) !important;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
}

.listing-detail-print:hover {
    border-color: var(--theme-primary-dark);
    background: var(--theme-primary-dark) !important;
}

.search-results-page .listing-page__results {
    margin-top: 22px;
}

/* Advisor listings carousel on the listing detail page */
.advisor-listings-carousel {
    overflow: hidden;
}

.advisor-listings-carousel__header {
    min-height: 52px;
}

.advisor-listings-carousel__heading {
    min-width: 0;
}

.advisor-listings-carousel__controls {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.advisor-listings-carousel__controls button {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d9e4e7;
    border-radius: 10px;
    color: var(--theme-primary-dark);
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease, opacity .2s ease;
}

.advisor-listings-carousel__controls button:hover:not(:disabled) {
    border-color: var(--theme-primary);
    color: #fff;
    background: var(--theme-primary);
}

.advisor-listings-carousel__controls button:disabled {
    opacity: .35;
    cursor: default;
}

.advisor-listings-carousel__track {
    display: grid;
    grid-auto-columns: calc((100% - 36px) / 3);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    padding: 1px 1px 7px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.advisor-listings-carousel__track::-webkit-scrollbar {
    display: none;
}

.advisor-listing-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe8ea;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 65, 77, .05);
    scroll-snap-align: start;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.advisor-listing-card:hover {
    border-color: #bfd1d6;
    box-shadow: 0 14px 32px rgba(31, 65, 77, .11);
    transform: translateY(-2px);
}

.advisor-listing-card__image {
    position: relative;
    display: flex;
    aspect-ratio: 3 / 2;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #8ea0a7 !important;
    background: #edf3f4;
    text-decoration: none !important;
}

.advisor-listing-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advisor-listing-card:hover .advisor-listing-card__image img {
    transform: none;
}

.advisor-listing-card__image > span {
    font-size: 28px;
}

.advisor-listing-card__image > b {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #fff;
    background: rgba(31, 77, 91, .92);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.advisor-listing-card__body {
    padding: 16px;
}

.advisor-listing-card__body > small,
.advisor-listing-card__body > p {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #84969d;
    font-size: 9px;
}

.advisor-listing-card__body h3 {
    min-height: 44px;
    margin: 8px 0;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
}

.advisor-listing-card__body h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: #263f49 !important;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.advisor-listing-card__body > p {
    min-height: 18px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.advisor-listing-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #e6ecee;
}

.advisor-listing-card__footer strong {
    color: var(--theme-primary-dark);
    font-size: 16px;
    white-space: nowrap;
}

.advisor-listing-card__footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--theme-primary) !important;
    font-size: 9px;
    font-weight: 650;
    text-decoration: none !important;
}

@media (max-width: 1000px) {
    .advisor-listings-carousel__track {
        grid-auto-columns: calc((100% - 18px) / 2);
    }
}

@media (max-width: 620px) {
    .advisor-listings-carousel__track {
        grid-auto-columns: 86%;
        gap: 12px;
    }

    .advisor-listings-carousel__controls button {
        width: 34px;
        height: 34px;
    }

    .advisor-listing-card__body {
        padding: 14px;
    }
}

/* Listing detail recent-view social proof */
.listing-social-proof {
    position: fixed;
    bottom: 22px;
    left: 22px;
    z-index: 1040;
    display: grid;
    width: min(390px, calc(100vw - 44px));
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    padding: 14px 13px 14px 14px;
    border: 1px solid rgba(45, 91, 104, .15);
    border-left: 4px solid var(--theme-primary);
    border-radius: 15px;
    opacity: 0;
    color: #314a54;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 18px 45px rgba(29, 61, 72, .2);
    pointer-events: none;
    transform: translate3d(calc(-100% - 30px), 0, 0);
    transition: opacity .4s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
    backdrop-filter: blur(12px);
}

.listing-social-proof.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

.listing-social-proof__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--theme-primary);
    background: var(--theme-soft);
    font-size: 19px;
}

.listing-social-proof__copy {
    display: block;
    min-width: 0;
}

.listing-social-proof__copy strong,
.listing-social-proof__copy > span {
    display: block;
}

.listing-social-proof__copy strong {
    margin-bottom: 4px;
    color: #263f49;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.listing-social-proof__copy > span {
    color: #6f838b;
    font-size: 13px;
    line-height: 1.5;
}

.listing-social-proof__copy strong.listing-social-proof__count {
    display: inline;
    margin: 0;
    color: var(--theme-primary-dark);
    font-size: 15px;
    font-weight: 750;
    line-height: inherit;
}

.listing-social-proof > button {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    align-self: start;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #8b9ca2;
    background: transparent;
    cursor: pointer;
}

.listing-social-proof > button:hover {
    color: #314a54;
    background: #edf3f4;
}

@media (max-width: 620px) {
    .listing-social-proof {
        bottom: 14px;
        left: 14px;
        width: calc(100vw - 28px);
        grid-template-columns: 42px minmax(0, 1fr) 26px;
        gap: 10px;
        padding: 12px;
        border-radius: 13px;
    }

    .listing-social-proof__icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .listing-social-proof {
        transition-duration: .01ms;
    }
}

/* Category overflow menu and readable submenu labels */
.site-nav__categories li ul a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav__categories li ul a > em {
    flex: 0 0 13px;
    width: 13px;
    margin: 0;
    text-align: center;
}

.site-nav__categories li ul a > span {
    min-width: 0;
}

.site-nav__categories li ul li {
    position: relative;
}

.site-nav__categories li ul li > ul {
    top: -9px;
    left: calc(100% + 7px);
    border-radius: 12px;
}

.site-nav__categories .menu-overflow > ul > li.has-submenu > a::after {
    content: "\f105";
    margin-left: auto;
    padding-left: 12px;
    font-family: FontAwesome;
}

/* Team card contacts and advisor social links */
.team-card__contacts {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.team-contact,
.team-contact--email {
    grid-column: auto;
    min-height: 58px;
    padding: 10px 12px;
}

.team-contact--phone {
    border-color: #dce6e9;
    background: #f5f8f9;
}

.team-contact--phone .team-contact__icon {
    color: #fff !important;
    background: var(--theme-primary);
}

.team-contact--phone strong {
    overflow: visible;
    font-size: 14px;
    text-overflow: clip;
    white-space: nowrap;
}

.team-card__socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 17px;
}

.team-social {
    display: inline-flex;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce5e8;
    border-radius: 10px;
    color: var(--theme-primary) !important;
    font-size: 15px;
    background: #f5f8f9;
    transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}

.team-social:hover {
    transform: translateY(-2px);
    border-color: var(--theme-primary);
    color: #fff !important;
    background: var(--theme-primary);
}

@media (max-width: 990px) {
    .site-nav__categories li ul li > ul {
        top: auto;
        left: auto;
    }
}

@media (max-width: 420px) {
    .team-contact--phone strong {
        font-size: 13px;
    }
}
/* Homepage TCMB exchange-rate card */
.sidebar-currency { overflow: hidden; }
.sidebar-currency__header { border-bottom: 1px solid #e2e9ee; }

.sidebar-currency__list { padding: 0 14px 12px; }
.sidebar-currency__row { display: grid; grid-template-columns: 42px minmax(86px,1fr) auto; align-items: center; gap: 8px; min-height: 62px; padding: 10px 3px; border-bottom: 1px solid #edf1f4; }
.sidebar-currency__row:last-child { border-bottom: 0; }
.sidebar-currency__symbol { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: #edf6f8; color: #2d6575; font-size: 20px; font-weight: 800; }
.sidebar-currency__identity strong,.sidebar-currency__identity small { display: block; }
.sidebar-currency__identity strong { color: #16344a; font-size: 14px; }
.sidebar-currency__identity small { overflow: hidden; color: #8292a0; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.sidebar-currency__value { display:flex;flex-direction:column;align-items:flex-end;color:#19374b;font-size:14px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.sidebar-currency__value small{margin-bottom:2px;color:#8a98a6;font-size:9px;font-weight:700}
.sidebar-currency__footer { padding: 10px 17px; border-top: 1px solid #e6edf1; background: #f7fafb; color: #8493a0; font-size: 10px; }
.sidebar-currency__footer i { margin-right: 5px; color: #2d6575; }
@media (max-width: 420px) { .sidebar-currency__row { grid-template-columns:38px minmax(76px,1fr) auto;gap:7px }.sidebar-currency__value{font-size:13px} }
