

/* Start:/local/templates/home/components/bitrix/news.list/contacts-chronology/style.css?17648379814864*/
/* Контейнер 50/50 */
.contacts-new__container {
    display: flex;
    gap: 80px;
    margin: 80px auto;
    max-width: 1400px;
    align-items: flex-start;
}

/* Заголовок — такой же, как в других секциях */
.contacts-new__title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 36px;
    color: #1D1D1F;
}

/* Левая половина */
.contacts-new__left {
    flex: 1;
    max-width: 480px;
}

/* Правая половина */
.contacts-new__right {
    flex: 1;
}

/* Карта */
.contacts-new__right iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 22px;
}

/* Список контактов */
.contacts-new__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contacts-new__list li {
    margin-bottom: 22px;
}

/* Ссылки как подписи под фотками */
.contacts-new__list a {
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: color .25s ease;
}

.contacts-new__list a:hover {
    color: #DB4E40; /* фирменный красный ДХ */
}

/* Иконки */
.icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    object-fit: contain;
}
section.contacts-new .contacts-new__list a {
    color: #1a1a1a !important;
    text-decoration: none !important;
}

section.contacts-new .contacts-new__list a:hover {
    color: #DB4E40 !important;
    text-decoration: none !important;
}


/* Общий каркас с мягкой подложкой как у формы */
.section.contacts-new {
    background: #fff;
    border-radius: 24px;
    padding: 60px 80px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin: 60px auto;
    max-width: 1600px;
    box-sizing: border-box;
}

/* Чтобы контент не прилипал */
.contacts-new__container {
    margin: 0 !important;
}

/* Мобильная версия — ставим колонки друг под другом */
@media (max-width: 768px) {

    .contacts-new__container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px; /* безопасные отступы по бокам */
    }

    .contacts-new__left,
    .contacts-new__right {
        max-width: 100%;
        width: 100%;
    }

    /* Карта — скругления и высота для мобилки */
    .contacts-new__right iframe {
        height: 360px;
        border-radius: 18px;
    }

    /* Текст и иконки — немного меньше и плотнее */
    .contacts-new__list a {
        font-size: 20px;
        gap: 12px;
    }

    .contacts-new__title {
        font-size: 36px;
        margin-bottom: 28px;
    }
}
@media (max-width: 768px) {

    /* Контейнер карты */
    .contacts-new__right {
        width: 100%;
        position: relative;
        overflow: hidden;       /* убирает внутренний скролл */
        border-radius: 18px;
    }

    /* iframe подстраивается по высоте контента */
    .contacts-new__right iframe {
        width: 100%;
        height: 580px;          /* ключевой момент – увеличили высоту */
        border: none;
        display: block;
        pointer-events: none;   /* карта НЕ реагирует при скролле */
    }

    /* Включаем интерактив только при клике */
    .contacts-new__right iframe.active {
        pointer-events: auto;
    }
}

/* Мобильная версия контактов — выравнивание под форму */
@media (max-width: 768px) {

    section.contacts-new {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }

    .contacts-new__container {
        flex-direction: column !important;
        gap: 32px !important;
    }

    .contacts-new__right iframe {
        height: 350px !important;
        border-radius: 18px !important;
    }

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

    .contacts-new__list a {
        font-size: 20px !important;
    }

    .icon {
        width: 28px !important;
        height: 28px !important;
    }
}

@media (max-width: 768px) {
    .contacts-new__right iframe {
        height: 580px !important; /* было 350 — мало */
    }
}

.contacts-new__list .icon {
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.12));
}

@media (min-width: 1024px) {
    .direct-list__photo {
        width: 340px !important;
        height: 340px !important;
    }
}
/* End */
/* /local/templates/home/components/bitrix/news.list/contacts-chronology/style.css?17648379814864 */
