/* Секция вопросов */
.faq-section {
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border-bottom: 1px solid var(--text-p-color);
}

/* Вопрос — кликабельный */
.faq-question {
    padding: 10px 0;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.faq-icon {
    font-size: var(--font-size-2xlarge);
    font-weight: 300;
    color: var(--accent-color);
    width: 20px;
    text-align: right;
}

/* Ответ — по умолчанию скрыт */
.faq-answer {
    display: none;
    padding: 5px 0 15px;
    font-size: 15px;
    color: var(--text-p-color);
    line-height: 1.5;
}


/* Сетка блога */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.blog-tile {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 20px;
    overflow: hidden;
    background-color: #004D4D;
    border: 1px solid #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.blog-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Ограничим высоту картинки */
.blog-image-wrapper {
    max-height: 218px;
    overflow: hidden;
    display: block;
}

.blog-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Заголовок */
.blog-tile h3 {
    font-size: var(--font-size-large);
    font-weight: 300;
    color: var(--text-color);
    margin: 0;
    padding: 16px;
    background-color: #004D4D;
}

/* Страница статьи блога */
.article-image {
  margin: 38px 0;
  text-align: left;
}

.article-image img {
  max-width: 100%;
  height: auto;
  border-radius: 38px;
  border: 1px solid #fff
}

.article-content {
    margin: 38px 0;
}

.latest-articles {
    margin: 38px 0 76px;
}

/* 💻 На десктопе — три колонки */
@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .article-image {
        float: left;              /* картинка уходит влево */
        margin: 0 48px 38px 0;    /* отступ справа и снизу, чтобы текст не лип */
        max-width: 40%;         /* ограничиваем ширину картинки */
    }

    .article-content {
        margin: 0;
    }

}



