

/* Start:/bitrix/templates/bs_education_s1/components/bitrix/news/news/bitrix/news.detail/.default/style.css?17808358424821*/
:root {
    --news-primary-color: #2c3e50;
    --news-text-color: #34495e;
    --news-muted-color: #7f8c8d;
    --news-bg-light: #f8f9fa;
    --news-border-color: #e2e8f0;
}

/* Главный контейнер — Ширина 90% с центрированием */
.news-detail-container {
    color: var(--news-text-color);
    width: 90%;          /* Контент занимает ровно 90% ширины */
    margin: 0 auto;      /* Центрирует блок на странице */
    box-sizing: border-box;
    padding: 20px 0; 
    word-wrap: break-word; 
    overflow-wrap: break-word;
}

/* На мобильных устройствах расширяем до 100%, чтобы эффективно использовать экран */
@media (max-width: 576px) {
    .news-detail-container {
        width: 100%;
        padding: 20px 10px;
    }
}

/* Заголовок статьи */
.news-detail-title {
    font-size: 2.5rem;
    color: var(--news-primary-color);
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.2;
    font-weight: 700;
}

@media (max-width: 768px) {
    .news-detail-title {
        font-size: 1.85rem;
    }
}

/* Мета-данные (Дата) */
.news-detail-meta {
    margin-bottom: 24px;
}

.news-detail-date {
    font-size: 0.875rem;
    color: var(--news-muted-color);
    display: inline-flex;
    align-items: center;
    background: var(--news-bg-light);
    padding: 4px 12px;
    border-radius: 4px;
}

/* Главное изображение */
.news-detail-image-wrapper {
    margin-bottom: 35px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.news-detail-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 550px;
}

/* Текстовый контент */
.news-detail-content {
    margin-bottom: 40px;
    width: 100%;
}

/* Лид-абзац (Превью текст) */
.news-detail-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--news-primary-color);
    line-height: 1.6;
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid var(--news-primary-color);
}

/* Стилизация основного текста (включая HTML из админки) */
.news-body {
    word-break: break-word; 
    width: 100%;
    line-height: 1.6;
}

/* ИСПРАВЛЕНИЕ ДЛЯ КАРТИНОК ВНУТРИ ТЕКСТА */
.news-body img {
    max-width: 100% !important; 
    height: auto !important;     
    display: block;              
    margin-left: auto;           
    margin-right: auto;
    margin-bottom: 1.5rem;       
    border-radius: 6px;
}

.news-body p {
    margin-bottom: 1.5rem;
}

.news-body h2, .news-body h3, .news-body h4 {
    color: var(--news-primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.news-body ul, .news-body ol {
    margin-bottom: 1.5rem;
    padding-left: 24px;
}

.news-body li {
    margin-bottom: 0.6rem;
}

.news-body blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    background-color: var(--news-bg-light);
    border-left: 4px solid var(--news-primary-color);
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* Блок дополнительных свойств */
.news-detail-properties {
    background: var(--news-bg-light);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 35px;
    border: 1px solid var(--news-border-color);
    width: 100%;
    box-sizing: border-box;
}

.properties-title {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--news-primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.properties-list {
    margin: 0;
}

.property-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dashed var(--news-border-color);
}

.property-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.property-name {
    font-weight: 600;
    width: 25%;
    color: var(--news-primary-color);
    margin: 0;
}

.property-value {
    width: 75%;
    margin: 0;
}

@media (max-width: 768px) {
    .property-item {
        flex-direction: column;
    }
    .property-name, .property-value {
        width: 100%;
    }
    .property-name {
        margin-bottom: 4px;
    }
}

/* Постраничная навигация внутри статьи */
.news-pager {
    margin: 25px 0;
    padding: 12px 0;
    border-top: 1px solid var(--news-border-color);
    border-bottom: 1px solid var(--news-border-color);
}

/* Блок "Поделиться" */
.news-detail-share {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--news-border-color);
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
/* End */
/* /bitrix/templates/bs_education_s1/components/bitrix/news/news/bitrix/news.detail/.default/style.css?17808358424821 */
