

/* Start:/local/templates/main/components/bitrix/news.detail/news-detail/style.css?17709946195128*/
/* ============================================
   СТИЛИ ДЛЯ ДЕТАЛЬНОЙ СТРАНИЦЫ НОВОСТИ
   ============================================ */

/* Секция детальной страницы */
.news-detail-page {
    background-color: #2C2C2C;
    min-height: 100vh;
    padding: 140px 0 80px 0;
}

/* Кнопка "Назад к новостям" */
.news-detail__back {
    margin-bottom: 40px;
}

.news-detail__back--bottom {
    margin-top: 60px;
    margin-bottom: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFA901;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Roboto-Medium', sans-serif;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.back-link:hover {
    gap: 12px;
    color: #FFB833;
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-4px);
}

/* Контейнер новости */
.news-detail {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Заголовок новости */
.news-detail__title {
    color: #FFF;
    font-size: 38px;
    font-weight: 700;
    font-family: 'Roboto-Bold', sans-serif;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* Дата публикации */
.news-detail__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 169, 1, 0.1);
    border: 2px solid #FFA901;
    border-radius: 8px;
    color: #FFA901;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Roboto-Medium', sans-serif;
    margin-bottom: 30px;
}

.news-detail__date svg {
    width: 18px;
    height: 18px;
}

/* Основное изображение */
.news-detail__image {
    width: 100%;
    max-width: 700px;  /* Ограничение ширины */
    margin: 0 auto 30px auto;  /* Центрирование */
    border-radius: 12px;
    overflow: hidden;
    background: #2C2C2C;
}

.news-detail__image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

/* Блок превью (анонса) */
.news-detail__preview {
    background: rgba(255, 169, 1, 0.08);
    border-left: 4px solid #FFA901;
    padding: 20px 25px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
    color: #E0E0E0;
    font-size: 17px;
    line-height: 1.7;
    font-family: 'Roboto-Light', sans-serif;
}

/* Детальный текст */
.news-detail__content {
    color: #D0D0D0;
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Roboto-Light', sans-serif;
}

/* Типографика внутри контента */
.news-detail__content h2 {
    color: #FFF;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Roboto-Bold', sans-serif;
    margin-top: 40px;
    margin-bottom: 20px;
}

.news-detail__content h3 {
    color: #FFF;
    font-size: 22px;
    font-weight: 600;
    font-family: 'Roboto-Medium', sans-serif;
    margin-top: 30px;
    margin-bottom: 15px;
}

.news-detail__content p {
    margin-bottom: 20px;
}

.news-detail__content ul,
.news-detail__content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.news-detail__content li {
    margin-bottom: 10px;
    color: #D0D0D0;
}

.news-detail__content ul li {
    list-style: disc;
}

.news-detail__content ol li {
    list-style: decimal;
}

.news-detail__content blockquote {
    border-left: 4px solid #FFA901;
    padding-left: 25px;
    margin: 30px 0;
    color: #B8B8B8;
    font-style: italic;
}

.news-detail__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

.news-detail__content a {
    color: #FFA901;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.news-detail__content a:hover {
    color: #FFB833;
}

.news-detail__content strong,
.news-detail__content b {
    color: #FFF;
    font-weight: 700;
    font-family: 'Roboto-Bold', sans-serif;
}

/* Адаптив для планшетов */
@media screen and (max-width: 1024px) {
    .news-detail {
        padding: 40px;
    }
    
    .news-detail__title {
        font-size: 32px;
    }
    
    .news-detail__image {
        height: 400px;
    }
}

/* Адаптив для мобильных */
@media screen and (max-width: 768px) {
    .news-detail-page {
        padding: 100px 0 60px 0;
    }
    
    .news-detail {
        padding: 30px 20px;
    }
    
    .news-detail__title {
        font-size: 26px;
    }
    
    .news-detail__date {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .news-detail__image {
        height: 250px;
    }
    
    .news-detail__preview {
        font-size: 15px;
        padding: 15px 20px;
    }
    
    .news-detail__content {
        font-size: 15px;
    }
    
    .news-detail__content h2 {
        font-size: 24px;
    }
    
    .news-detail__content h3 {
        font-size: 20px;
    }
    
    .back-link {
        font-size: 14px;
    }
}

/* End */
/* /local/templates/main/components/bitrix/news.detail/news-detail/style.css?17709946195128 */
