

/* Start:/local/templates/havens-2024/components/bitrix/news.list/faq/style.css?17853305175072*/
/* ==== Вопрос-ответ: плитка ==== */
.faq-t {
    margin: 39px 0 80px;
}
.faq-t__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 52px 30px;
    align-items: start;
}
.faq-t__item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Вопрос над картинкой, тот же размер шрифта, что и раньше */
.faq-t__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}
.faq-t__num {
    flex: 0 0 auto;
    display: inline-flex;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #A0A0A0;
    background-color: transparent;
    border: 1px solid #A0A0A0;
    transition: all .35s ease;
    margin-top: 2px;
}
.faq-t__q {
    flex: 1 1 auto;
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    color: #fff;
    transition: color .35s ease;
}
.faq-t__head:hover .faq-t__num {
    color: #191C1D;
    background-color: #F5BE0B;
    border-color: #F5BE0B;
}
.faq-t__head:hover .faq-t__q {
    color: #F5BE0B;
}

/* Картинка */
.faq-t__pic {
    position: relative;
    display: block;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 440 / 240;
    border-radius: 3px;
    overflow: hidden;
    padding: 0;
    border: none;
    cursor: pointer;
    background: #191C1D;
}
.faq-t__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease, filter .45s ease;
}
.faq-t__pic-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .4);
    backdrop-filter: blur(2px);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: .3px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.4) rotate(-20deg);
    transition: opacity .45s ease, transform .55s cubic-bezier(.34, 1.56, .64, 1);
}
.faq-t__pic:hover img {
    transform: scale(1.06);
    filter: brightness(.55);
}
.faq-t__pic:hover .faq-t__pic-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

@media (max-width: 950px) {
    .faq-t__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }
}
@media (max-width: 560px) {
    .faq-t__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .faq-t__q {
        font-size: 18px;
    }
}

/* ==== Модальное окно ответа ==== */
.faqt-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    overflow-y: auto;
    padding: 40px 20px;
}
.faqt-modal[hidden] {
    display: none !important;
}
.faqt-modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 11, 12, .75);
}
.faqt-modal__window {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.faqt-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #E0E0E0;
    background: #fff;
    color: #191C1D;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    z-index: 2;
}
.faqt-modal__close:hover {
    background: #F5BE0B;
    border-color: #F5BE0B;
    color: #191C1D;
}
.faqt-modal__scroll {
    padding: 34px 38px 40px;
}
.faqt-modal__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}
.faqt-modal__num {
    display: none;
}
.faqt-modal__q {
    margin: 0;
    font-weight: 700;
    font-size: 22px;
    line-height: 140%;
    color: #191C1D;
}
.faqt-modal__a {
    color: #191C1D;
    font-size: 16px;
    line-height: 160%;
    overflow-x: hidden;
}
.faqt-modal__a p {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 170%;
}
.faqt-modal__a ul,
.faqt-modal__a ol {
    margin: 0 0 16px;
    padding-left: 22px;
}
.faqt-modal__a li {
    margin-bottom: 8px;
}
.faqt-modal__a strong,
.faqt-modal__a b {
    color: #191C1D;
}
.faqt-modal__a a {
    color: #D6A200 !important;
    text-decoration: underline;
}
.faqt-modal__a img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 0 18px;
    border-radius: 6px;
}

@media (max-width: 560px) {
    .faqt-modal {
        padding: 40px 0;
    }
    .faqt-modal__window {
        max-width: 100%;
    }
    .faqt-modal__scroll {
        padding: 36px 20px 28px;
    }
    .faqt-modal__q {
        font-size: 19px;
    }
}

/* End */
/* /local/templates/havens-2024/components/bitrix/news.list/faq/style.css?17853305175072 */
