/* ========================================
   БЛОГ / FAQ
======================================== */

.blog-page {
    padding: 40px 0 90px;
}
/* Заголовок страницы */
.blog-page h1 {
    margin: 0 0 0 40px;
    font-size: 28px;
    line-height: 1.1;
    color: #202636;

}
/* Вступительный текст */

.blog-page__intro {
    margin: 8px 0 12px 40px;
    font-size: 18px;
    line-height: 1.6;
    color: #66758d;
}

/* ========================================
   FAQ
======================================== */
.faq {
    max-width: 1000px;
    margin:  auto;
}
.faq h2 {
    margin: 0 0 30px;
    font-size: 18px;
    line-height: 1.1;
    color: #202636;
}
/* Один вопрос */

.faq-item {
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(32, 38, 54, 0.08);
    overflow: hidden;
}
/* Вопрос */

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #202636;
    list-style: none;
}
/* Убираем стандартный треугольник */

.faq-item summary::-webkit-details-marker {
    display: none;
}
/* Стрелка */

.faq-item__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    margin-left: 20px;
    border-radius: 50%;
    background: #e77b2c;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    transition: transform 0.25s ease;
}
/* При открытии поворачиваем стрелку */
.faq-item[open] .faq-item__arrow {
    transform: rotate(180deg);
}

/* Ответ */
.faq-item__answer {
    padding: 0 20px 20px;
}
.faq-item__answer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #66758d;
}
/* ========================================
   HOVER
======================================== */

.faq-item summary:hover {
    color: #e77b2c;
}
.faq-item summary:hover .faq-item__arrow {
    background: #d8792f;
}

/* ========================================
   АДАПТИВ
======================================== */

@media (max-width: 768px) {

    .blog-page {
        padding: 50px 0 70px;
    }
    .blog-page h1 {
        font-size: 34px;
    }
    .blog-page__intro {
        font-size: 18px;
        margin-bottom: 40px;
    }
    .faq h2 {
        font-size: 24px;
    }
    .faq-item summary {
        padding: 20px;
        font-size: 18px;
    }
    .faq-item__answer {
        padding: 0 20px 20px;
    }
    .faq-item__answer p {
        font-size: 16px;
    }
    .faq-item__arrow {
        width: 34px;
        height: 34px;
        font-size: 21px;
    }
}