/* ==========================================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ БЛОГА / НОВОСТЕЙ (test/news/)
   ========================================================================== */

.news-content > section {
    padding: 80px 0;
    color: var(--white);
    background: transparent;
}

/* --------------------------------------------------------------------------
   Хлебные крошки
   -------------------------------------------------------------------------- */
.news-hero .breadcrumbs {
    margin-bottom: 36px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.site-page .news-hero .news-hero__info .container {
    margin: 0px;
}

.news-hero .breadcrumbs-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.news-hero .breadcrumbs a {
    transition: color .2s ease;
    color: var(--muted);
    text-decoration: none;
}

.news-hero .breadcrumbs a:hover,
.news-hero .breadcrumbs a:focus-visible,
.news-hero .breadcrumbs-current,
.news-hero .breadcrumbs-separator {
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Hero-секция
   -------------------------------------------------------------------------- */
.news-hero {
    padding: 8px 0 48px;
}

.news-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;    
}

.news-hero__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 432px;
}

.news-hero__title {
    margin: 0 0 36px 0;
    color: var(--white);
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
}

.news-hero__title .color-cyan {
    color: var(--cyan);
}

.news-hero__description {
    margin: 0;
    color: var(--white);
    font-size: 16px;
    line-height: 1.4;
}

.news-hero__image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.news-hero__image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: block;
}

.news-hero__image img {
    width: 100%;
    max-width: 658px;
    display: block;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .news-content > section {
        padding: 40px 0;
    }    
    .news-hero__grid {
        grid-template-columns: 1fr; /* Выстраиваем в одну колонку */
        gap: 32px;                  /* Отступ между текстом и картинкой */
    }

    .news-hero {
        padding: 8px 0 32px;        /* Уменьшаем нижний отступ секции */
    }

    .news-hero__title {
        font-size: 32px;            /* Заголовок для телефонов */
        margin-bottom: 32px;
    }

    .news-hero__info {
        width: 100%;
    }

    .news-hero__description {
        font-size: 15px;
    }
}