

/* Start:/bitrix/templates/leslab/components/bitrix/news.detail/news_detail/style.css?17915378393421*/
/* ============================================================
   Стили компонента bitrix:news.detail, шаблон news_detail —
   детальная страница новости.

   Макета в Figma нет (подтверждено 06.10.2026). Фон — общий
   фон сайта, как у детальных площадок и фактов, дата/бейдж/счётчики — классы
   карточки News-card 32:3, теги — .news-filters__tag.

   ⚠️ Отход от Style Guide: у текста line-height 1.4 вместо 1.1.
   Это длинное чтение, при 1.1 строки абзаца слипаются (в «О проекте»
   и фактах по той же причине 1.25; здесь текста больше).
   ============================================================ */

.news-detail {
    /* Ширину задаёт колонка сетки .news-detail-layout (template_styles.css):
       на десктопе ~830px — близко к 795px текста About (Figma 80:84). */
    min-width: 0;
}

.news-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 15px;
    margin-bottom: 15px;
}

.news-detail__title {
    margin-bottom: 25px;
    padding-bottom: 0;
}

.news-detail__image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    border-radius: 10px;
}

/* Основной текст (2:5) — 16 Light. */
.news-detail__text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4;
    color: #fff;
}

.news-detail__text p {
    margin: 0 0 1em 0;
}

.news-detail__text p:last-child {
    margin-bottom: 0;
}

.news-detail__text h2,
.news-detail__text h3 {
    margin: 1.5em 0 0.6em 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
}

.news-detail__text a {
    color: var(--color-accent-yellow);
}

.news-detail__text img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.news-detail__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    /* Пунктир — рисунок .section-divider (штрих 5, пробел 7). */
    background-image: repeating-linear-gradient(
        to right,
        #EFF0E5 0,
        #EFF0E5 5px,
        transparent 5px,
        transparent 12px
    );
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 2px;
}

.news-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-detail__counters {
    padding: 0;
    margin-left: auto;
}

.news-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    color: var(--color-accent-yellow);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.1;
    text-decoration: none;
}

.news-detail__back:hover span {
    text-decoration: underline;
}

.news-detail__back-icon {
    /* Та же стрелка, что у карусели (16x25), уменьшенная вдвое. */
    display: block;
    width: 8px;
    height: auto;
}

@media (max-width: 767.98px) {
    .news-detail__title {
        margin-bottom: 20px;
    }

    .news-detail__image {
        margin-bottom: 20px;
    }
}

/* End */


/* Start:/bitrix/templates/leslab/components/bitrix/news.list/news_related/style.css?17915378392556*/
/* ============================================================
   «Другие новости» — правая колонка детальной новости.
   Без подложки (по просьбе 09.10.2026): строки разделены
   пунктиром — тем же рисунком, что .section-divider.
   Макета нет; дата, бейдж и кегли — из карточки News-card 32:3.
   ============================================================ */

.news-related__title {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
}

.news-related__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-related__item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
}

.news-related__item:first-child {
    padding-top: 0;
}

.news-related__item + .news-related__item {
    background-image: repeating-linear-gradient(
        to right,
        #EFF0E5 0,
        #EFF0E5 5px,
        transparent 5px,
        transparent 12px
    );
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 1px;
}

/* Миниатюра 4:3 — как у миниатюр галереи площадки. Нет картинки —
   серая заливка плейсхолдера, как в карточке новости. */
.news-related__thumb {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background-color: #C7C6C6;
}

.news-related__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-related__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin-bottom: 6px;
}

.news-related__date {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-accent-yellow);
    white-space: nowrap;
}

.news-related__badge {
    font-size: 12px;
    padding: 2px 4px;
}

.news-related__name {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    text-decoration: none;
}

.news-related__name:hover {
    color: var(--color-accent-yellow);
}

.news-related__all {
    display: inline-block;
    margin-top: 10px;
    color: var(--color-bg-light);
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.news-related__all:hover {
    border-bottom-color: transparent;
}

/* End */
/* /bitrix/templates/leslab/components/bitrix/news.detail/news_detail/style.css?17915378393421 */
/* /bitrix/templates/leslab/components/bitrix/news.list/news_related/style.css?17915378392556 */
