/* faq на главной странице */
.faq{
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    row-gap: 12px;
    column-gap: 20px;
}
.faq .faq-item{
    color: #25232B;
    padding: 32px 24px;
    border: 1px solid #25232B;
    border-radius: 25px;
    height: max-content;
    margin: 0;
}

/* Стили для каждого элемента FAQ */
.faq .faq-question {
    gap: 10px;
    display: grid;
    grid-template-columns: 1fr 16px;
    justify-content: space-between;
    align-items: center;
    color: #25232B;
    width: 100%;
    padding: 0px;
    border: none;
    text-align: left;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq .faq-question:hover {
    background: none;
    color: #25232B;
}
.faq .faq-question .icon{
    transform: rotate(45deg);
    transition: 0.5s;
}

/* Скрытые ответы */
.faq .faq-answer {
    font-size: 18px;
    color: #25232B;
    display: none;
    border: none;
    padding: 10px;
    margin-top: 5px;
}
.faq .faq-answer ul{
    padding-left: 25px;
    list-style-type: circle;
    box-sizing: border-box;
}
/* Активный ответ */
.faq .faq-item.active .faq-answer {
    display: block;
}

.faq .faq-item.active .faq-question {
    background: none;
    color: #25232B;
}

.faq .faq-item.active .faq-question .icon{
    transform: rotate(270deg);
    transition: 0.5s;
}
/* /faq на главной странице */
/* faq страница */
.faq_page .section_1{
    background-size: auto, 700px !important;
}
.faq_page .section_1 .s1_inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
    flex-direction: column;
}
.faq_page .section_1 .s1_inner h1{
    margin-bottom: 0;
}
.faq_page .section_1 .s1_inner p{
    font-size: 24px;
    font-weight: 600;
}
.faq_page .section_1 .s1_inner .input_container{
    margin-top: 20px;
    display: flex;
    width: 50%;
    padding: 16px 24px;
    flex-direction: row;
    justify-content: space-between;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-sizing: border-box;
}
.faq_page .section_1 .s1_inner .input_container input{
    border: none;
    width: 100%;
    color: #A3A3A3;
    font-size: 18px;
}
.faq_page .s2_inner{
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}.faq_page .s2_inner .faq{
    margin-top: 0;
 }
#faq_search {
    width: 100%;
}
#faq_search {

}
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:not(:has(p:contains(""))) {
    display: none;
}
.icon-clear {
    cursor: pointer;
}

/* /faq страница */