.div-block-1317 {
    padding-right: 23px;
}

.text-block-178 {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.card__video-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
    background: #000;
}

.div-block-1320._22:hover {
    transform: unset;
}

.div-block-1320 {
    background-image: none;
}

.swiper-wrapper.slider5, .swiper-wrapper.sliderhar {
    justify-content: normal;
}

.div-block-1319 {
    position: sticky;
    top: 0;
    align-self: flex-start;
}

.additional-details-list {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;

    margin-top: 59px;
}

ul.clean-list, ul.clean-list li {
    list-style: none;
}

.clean-list {
    margin-left: 0 !important;
    padding-left: 0;
}

.additional-details-list li {
    list-style: none !important;
    margin-left: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 2.3;
    padding-right: 10px;
}

.additional-details-list li span {
    float: right;
    font-weight: 700;
}

.yoast-breadcrumbs, .yoast-breadcrumbs a {
    color: #828282;
    font-size: 14px;
}

.yoast-breadcrumbs .breadcrumb_last {
    color: #2D2D2D;
}

.yoast-breadcrumbs > span {
    z-index: 2;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    position: relative;
    flex-wrap: wrap;
}

.div-block-1376 {
    overflow: hidden;
}

.div-block-1252 {
    margin-right: 61px;
}

.text-block-151 {
    min-width: 0;
}

.div-block-1253 {
    flex: none;
}

/*.slider-4._3663 {*/
/*    display: flex;*/
/*}*/

.div-block-1258._666 {
    padding: 24px;
}

.link-block-3 {
    margin-top: 16px;
}

.div-block-1279 {
    background-size: 100% auto;
}

.bg_grey {
    background-color: #f5f5f5;
}

.section_page._999 {
    margin-top: 0;
}

.div-block-1351.bg_grey {
    margin-top: 120px;
}

.person_description {
    opacity: 0.7;
    line-height: 19px;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.3);
}

.hero_section {
    position: relative;
}

.hero_section:after {
    content: " ";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0;
}

.div-block-1232 {
    z-index: 100;
}

.div-block-1339 {
    background-repeat: no-repeat;
    background-size: cover;
}

.div-block-1248 {
    flex: none;
}

.text-block-149 {
    min-width: 0;
}

.service_list {
    grid-row-gap: 25px;
    flex-flow: wrap;
    justify-content: space-between;
    margin-top: 55px;
    display: flex;
}

.service_item {
    background-color: var(--white);
    border-radius: 12px;
    width: 32%;
    min-height: 308px;
    transition: all .4s;
    overflow: hidden;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Контейнер для пункта меню "Услуги" */
.menu-item-has-children {
    position: relative;
}

/* Стрелка возле "Услуги" */
.menu-item-has-children > a:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 17px;
    margin-left: 5px;
    vertical-align: middle;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.85947 11.0264C3.92145 11.0889 3.99518 11.1385 4.07642 11.1724C4.15766 11.2062 4.2448 11.2236 4.3328 11.2236C4.42081 11.2236 4.50795 11.2062 4.58919 11.1724C4.67043 11.1385 4.74416 11.0889 4.80614 11.0264L7.85947 7.9731C7.92145 7.91062 7.99518 7.86102 8.07642 7.82717C8.15766 7.79333 8.2448 7.7759 8.3328 7.7759C8.42081 7.7759 8.50795 7.79333 8.58919 7.82717C8.67043 7.86102 8.74416 7.91062 8.80614 7.9731L11.8595 11.0264C11.9214 11.0889 11.9952 11.1385 12.0764 11.1724C12.1577 11.2062 12.2448 11.2236 12.3328 11.2236C12.4208 11.2236 12.508 11.2062 12.5892 11.1724C12.6704 11.1385 12.7442 11.0889 12.8061 11.0264C12.9303 10.9015 13 10.7326 13 10.5564C13 10.3803 12.9303 10.2113 12.8061 10.0864L9.74614 7.02643C9.37114 6.6519 8.86281 6.44153 8.3328 6.44153C7.8028 6.44153 7.29447 6.6519 6.91947 7.02643L3.85947 10.0864C3.7353 10.2113 3.66561 10.3803 3.66561 10.5564C3.66561 10.7326 3.7353 10.9015 3.85947 11.0264Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}




/* Стили для выпадающего подменю */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    z-index: 1000;

    /* Начальное состояние */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    /* Добавляем плавность */
    transition: all 0.3s ease-in-out;
}

/* Показываем подменю при наведении */
.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* При наведении поворачиваем стрелку */
.menu-item-has-children:hover > a:after {
    transform: rotate(0deg);
}


/* Стили для пунктов подменю */
.sub-menu li {
    list-style: none;
}

.sub-menu a {
    display: block;
    padding: 8px 24px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 19px;
    transition: all 0.3s ease 0s;
}

/* Эффект при наведении на пункты подменю */
.sub-menu a:hover, .sub-menu .nav-link-2.w--current {
    background-color: #f5f5f5;
    color: #000;
}

ul.main_menu, ul.main_menu li {
    list-style: none;
}

.div-block-1289 ul.sub-menu {
    display: none !important;
}

.div-block-1289 .menu-item-object-service a:after {
    content: '';
    display: none;
}

.info_blocks {
    margin-top: 40px;
}

.info_blocks .div-block-1243-copy {
    color: #fff;
}

.info_blocks .div-block-1246 {
    margin-bottom: 40px;
}

.info_blocks .div-block-1250 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 55px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.info-block_description {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
}

.info-block_subtitle {
    font-size: 24px;
    text-align: center;
    margin-top: 40px;
}

.info_blocks .item_block {
    background-color: #f5f5f5;
    border-radius: 12px;
    min-height: 308px;
    padding: 23px 19px;
    transition: all 0.4s;
}

.info-block_after_text {
    font-size: 24px;
    line-height: 37px;
    max-width: 800px;
    text-align: center;
    margin: 40px auto 0;
}

/*.info_blocks .item_block {*/
/*    background-color: #f5f5f5;*/
/*    border-radius: 12px;*/
/*    width: 49%;*/
/*    min-height: 308px;*/
/*    padding-top: 23px;*/
/*    padding-left: 23px;*/
/*    padding-right: 19px;*/
/*    transition: all .4s;*/
/*}*/

.info_blocks .item_block:hover {
    background-color: var(--blue);
    color: var(--white);
}

.info_blocks .item_block:hover .div-block-1243-copy {
    background-color: #FFF;
    color: var(--blue);
}

.info_blocks.bg_grey .item_block {
    background-color: #fff;
}

.info_blocks.bg_grey .item_block:hover {
    background-color: var(--blue);
}

.bg_grey .div-block-1258 {
    background-color: #fff;
}

.property_id {
    right: 12px;
    top: 12px;
    left: auto !important;
    background: rgba(84, 89, 109, .5);
    position: absolute;
    z-index: 1000;
    padding: 5px 8px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    color: #fff;
    border-radius: 6px;
    pointer-events: none;
    touch-action: none;
}

.div-block-1327, .slider._33 {
    position: relative;
}

.link-block-4 {
    background-position: 0 0;
    background-size: cover;
}

.link-block-4.tg {
    background-image: url(../images/telegram.svg);
}

.div-block-1324 {
    display: none;
}

/* Медиа-запросы для контроля количества колонок */
@media (min-width: 1200px) {
    .info_blocks .div-block-1250 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .info_blocks .div-block-1250 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .info_blocks .div-block-1250 {
        grid-template-columns: 1fr;
    }

    .div-block-1292 {
        margin-right: 0;
    }
}

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

    ul.sub-menu {
        display: none !important;
    }

    .menu-item-object-service a:after {
        content: '';
        display: none;
    }


    /*
    Не доработано, отключил мобильное подменю, выше отключение
     */
    /*!* Стили для выпадающего подменю в мобильной версии *!*/
    /*ul.main_menu .sub-menu {*/
    /*    display: none;*/
    /*    background: transparent;*/
    /*    position: static;*/
    /*    box-shadow: none;*/
    /*    padding-left: 20px;*/
    /*    max-height: 0;*/
    /*    overflow: hidden;*/
    /*    transition: max-height 0.3s ease-out;*/
    /*}*/

    /*!* Стили для активного подменю *!*/
    /*ul.main_menu .sub-menu.active {*/
    /*    opacity: 1;*/
    /*    display: block;*/
    /*    overflow: visible;*/
    /*    max-height: 1000px; !* Достаточно большое значение *!*/
    /*}*/

    /*!* Стили для ссылок в подменю *!*/
    /*ul.main_menu .sub-menu a {*/
    /*    color: #fff;*/
    /*    padding: 10px 0;*/
    /*    font-size: 16px;*/
    /*}*/

    /*!* Поворот стрелки при открытом подменю *!*/
    /*ul.main_menu .menu-item-has-children.active > a:after {*/
    /*    transform: rotate(0deg);*/
    /*}*/

    /*.div-block-1319 {*/
    /*    position: relative;*/
    /*}*/

    /*.service_item {*/
    /*    width: 49%;*/
    /*}*/
}

@media only screen and (max-width: 804px) {
    .service_item {
        width: 100%;
    }
}

@media only screen and (max-width: 620px) {
    .additional-details-list li {
        font-size: 12px;
    }

    .person_description {
        line-height: 14px;
    }
}

@media only screen and (max-width: 589px) {
    .additional-details-list {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }
}

/* Карта Яндекс JS API в первой секции страницы «Контакты» (#map внутри .div-block-1305).
   Контейнеру карты нужна заданная высота, иначе ymaps не отрисует тайлы. */
.div-block-1305 #map.map {
    width: 100%;
    height: 100%;
    min-height: 407px;
    border-radius: 12px;
}

@media only screen and (max-width: 991px) {
    .div-block-1305 #map.map {
        min-height: 350px;
    }
}

@media only screen and (max-width: 767px) {
    .div-block-1305 #map.map {
        min-height: 251px;
    }
}

