.mini__title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 40px;
}

.hero-news .container {
    padding-top: 100px;
}




/* Featured blogs — large cards, 2 columns */
.hero-news__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 40px;
    width: 100%;
}

/* КАРТОЧКИ */
.news-card {
    cursor: pointer;
}

a.news-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Большая карточка */
.news-card--primary .news-card__img {
    width: 100%;
    height: 320px;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 24px;
    background-color: #f5f5f5;
}

.news-card--primary .news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.news-card--primary .news-card__title {
    font-size: 28px;
    line-height: 36px;
    margin-top: 16px;
}

.news-card--primary .news-card__text {
    font-size: 14px;
    line-height: 20px;
    margin-top: 16px;
}

.news-card--primary .news-card__meta {
    margin-top: 24px;
    font-weight: 400;
}

/* Мелкие карточки (legacy) */
.news-card--secondary {
    display: grid;
    grid-template-columns: 200px 1fr; /* 200px под синий блок */
    gap: 40px; /* Розовая линия */
    align-items: start;
}

.news-card--secondary .news-card__img {
    width: 200px;
    min-height: 200px;
    background-color: #666; /* Средне-серый вместо маленьких синих */
}

.news-card--secondary .news-card__content {
    min-height: 160px; /* Примерная высота серого блока текста */
    background-color: #999;
}












/* Обновляем твой блок, убирая серый фон и добавляя радиус */
.news-card--secondary .news-card__img {
    width: 200px;
    height: 200px; /* Фиксируем высоту, чтобы была квадратная */
    border-radius: 20px;
    overflow: hidden;
    background-color: transparent; /* Убираем серый */
}

.news-card--secondary .news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card--secondary .news-card__content {
    display: flex;
    align-items: start;
    flex-direction: column;
    background-color: transparent; /* Убираем серый */
    min-height: 200px; /* Выравниваем по высоте картинки */
}

.blog-tag {
    display: inline-block;
    width: auto;
    background-color: #fcf1ce; /* Подогнал цвет фона под скрин */
    color: #333;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.news-card__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    margin-top: 16px;
    margin-bottom: 0;
    color: #000;
}

.news-card__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 16px;
    margin-bottom: 0;
    color: #545454;
}

.news-card__meta {
    margin-top: 24px;
    font-size: 14px;
    color: #888; /* Цвет текста даты и времени */
}


/* Стили контента */
.news-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin-top: 12px;
    color: #000;
}

.news-card__text {
    font-size: 14px;
    line-height: 20px;
    color: #545454;
    margin: 8px 0;
}

/* Мета-данные (Автор и Дата) */
.news-card__meta {
    margin-top: auto; /* Прижимает автора и дату к низу контентного блока */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.news-card__author {
    color: #000;
}

.news-card__date {
    color: #888;
    font-weight: 400;
}














/* Жёлтый блок CTA */
.BIG-banner {
    width: 572px;
    height: 400px;
    background-color: #FDE999;
    /* Рисуем сетку тонкими линиями */
    background-image: 
        linear-gradient(#F3E3A3 1px, transparent 1px),
        linear-gradient(90deg, #F3E3A3 1px, transparent 1px);
    background-size: 40px 40px; /* Размер клетки */
    
    padding: 50px 60px;
    border-radius: 28px; /* Скругление как на макете */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.BIG-banner__title {
    /* Твой класс section__title уже работает, добавляем только отступ */
    margin-bottom: 24px;
    max-width: 450px; /* Чтобы текст красиво переносился */
}

.BIG-banner__text {
    font-size: 16px;
    line-height: 24px;
    color: #111;
    margin-bottom: 32px;
    max-width: 400px;
}

.BIG-banner__action {
    display: flex;
    justify-content: center;
}

/* На случай, если в твоем btn--black нужно подправить отступы именно для этого блока */
.BIG-banner .btn--black {
    padding-left: 32px;
    padding-right: 32px;
}



/* =================================================================================================== */
/* =================================================================================================== */
/* =================================================================================================== */
/* =================================================================================================== */

.blogs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* Настрой под свой дизайн */
    margin-bottom: 40px;
    justify-items: center;
}

.blogs__action {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

/* Класс для скрытия */
.is-hidden {
    display: none;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Отступ между картинкой и текстом */
    width: 386px; /* Фиксируем ширину всей карточки по картинке */
}

/* Обёртка для картинки */
.blog-card__image-wrapper {
    position: relative;
    width: 386px;
    height: 250px;
    border-radius: 28px; /* На глаз скруглил, поправь если нужно */
    overflow: hidden;
    background-color: #f5f5f5; /* Заглушка, пока нет картинки */
}

.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Чтобы картинка не плющилась */
}

/* Бейдж категории (если нужен) */
.blog-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 14px;
    /* Тут добавишь фон и отступы бейджа, если он верстается текстом */
}

/* Контентная часть */
.blog-card__content {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Расстояние между заголовком, текстом и датой */
}

.blog-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    margin: 0;
}

.blog-card__excerpt {
    font-size: 14px;
    color: #666; /* Сделал чуть серее, чтобы не сливалось с заголовком */
    line-height: 1.5;
    margin: 0;
}

/* Блок с автором и датой */
.blog-card__meta {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.blog-card__author {
    font-weight: 600;
    color: #000;
}

.blog-card__divider {
    color: #ccc; /* Серая палочка разделителя */
}

.blog-card__date {
    color: #888;
}

/* Специальное локальное исправление только для blog.html */
/* Без этого кода именно в blog.html почему-то header дёргается... */
body.blog .header {
    padding-top: 6px;
}

body.blog .header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding-top: 6px;
}

/* =================================================================================================== */
/* Single blog post                                                                                    */
/* =================================================================================================== */

body.single-post .header,
body.single .header {
    padding-top: 6px;
}

body.single-post .header.is-scrolled,
body.single .header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding-top: 6px;
}

.single-post-page {
    background-color: #fff;
}

.single-post {
    padding-top: 48px;
    margin-bottom: 80px;
}

.single-post__top {
    margin-bottom: 32px;
}

.single-post__back-link {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-post__back-link:hover {
    color: #957800;
}

.single-post__header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.single-post__tag {
    margin-bottom: 16px;
}

.single-post__title {
    font-size: 40px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #000;
    margin: 0 0 20px;
}

.single-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.single-post__author {
    font-weight: 600;
    color: #000;
}

.single-post__divider {
    color: #ccc;
}

.single-post__date {
    color: #888;
}

.single-post__image-wrap {
    max-width: 900px;
    margin: 0 auto 48px;
    border-radius: 28px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.single-post__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}

.single-post__content {
    max-width: 720px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.75;
    color: #333;
}

.single-post__content > *:first-child {
    margin-top: 0;
}

.single-post__content > *:last-child {
    margin-bottom: 0;
}

.single-post__content p {
    margin: 0 0 1.25em;
}

.single-post__content h2,
.single-post__content h3,
.single-post__content h4 {
    color: #000;
    font-weight: 700;
    line-height: 1.35;
    margin: 1.75em 0 0.75em;
}

.single-post__content h2 {
    font-size: 28px;
}

.single-post__content h3 {
    font-size: 22px;
}

.single-post__content h4 {
    font-size: 18px;
}

.single-post__content ul,
.single-post__content ol {
    margin: 0 0 1.25em;
    padding-left: 1.4em;
}

.single-post__content li {
    margin-bottom: 0.5em;
}

.single-post__content a {
    color: #111;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-post__content a:hover {
    color: #957800;
}

.single-post__content blockquote {
    margin: 1.5em 0;
    padding: 20px 24px;
    border-left: 4px solid #fde999;
    background: #fffbf0;
    border-radius: 0 12px 12px 0;
    color: #444;
    font-style: italic;
}

.single-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 1.5em 0;
}

.single-post__footer {
    max-width: 720px;
    margin: 56px auto 0;
    padding-top: 32px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
}

@media (max-width: 1180px) {
    .hero-news__grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 40px;
        box-sizing: border-box;
    }

    .news-card--primary .news-card__img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .single-post {
        padding-top: 32px;
        margin-bottom: 60px;
    }

    .single-post__title {
        font-size: 30px;
    }

    .single-post__image-wrap {
        border-radius: 20px;
        margin-bottom: 32px;
    }

    .single-post__content {
        font-size: 16px;
    }

    .single-post__content h2 {
        font-size: 24px;
    }

    .single-post__content h3 {
        font-size: 20px;
    }
}

