

/* Start:/our-news/news-detail.css?17746066693535*/
/* 1. Глобальные настройки страницы */
.news-detail-page {
    width: 100%;
    padding-top: 140px;
    box-sizing: border-box;
    color: #101011;
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.header {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    position: fixed;
    top: 0; left: 0; width: 100%; z-index: 1000;
}

.news-container-main, 
.news-detail-content-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

/* 2. Дата и город */
.news-info-top {
    margin-bottom: 50px;
    position: relative;
}

.news-info-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-city {
    font-size: 14px;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #868889;
}

.news-info-top::after {
    content: "";
    position: absolute;
    height: 1px;
    background-color: #000000;
    opacity: 0.3;
    left: 0;
    width: 85vw;
    bottom: -25px; 
}

/* 3. Заголовок */
h1.news-main-title {
    font-family: 'RFDewiExpanded-Bold', sans-serif;
    font-size: 3.5rem;
    line-height: 110%;
    margin: 0 0 40px 0;
    text-transform: uppercase;
    text-align: left;
}

/* 4. Контент новости */
.news-detail-content-wrapper {
    position: relative;
    padding-bottom: 40px; 
    margin-bottom: 120px; 
    overflow: hidden;
    clear: both;
}

.main-detail-image {
    float: left;
    width: 45%;
    margin: 0 40px 20px 0;
}

.main-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.text-regular {
    font-size: 16px;
    line-height: 1.7;
    color: #101011;
    display: block;
}

.text-regular img {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    max-width: 240px; 
    height: auto; 
    margin: 15px 10px;
    object-fit: contain;
}

/* 5. Теги и Нижняя линия */
.news-bottom-tags {
    clear: both;
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.tag-item {
    font-size: 13px;
    font-weight: 700;
    color: #79B82D;
    text-transform: uppercase;
}

.news-detail-content-wrapper::after {
    content: "";
    position: absolute;
    height: 1px;
    background-color: #000000;
    opacity: 0.3;
    left: 0;
    width: 85vw;
    bottom: 0;
}

/* 6. Адаптив */
@media (max-width: 1024px) {
    h1.news-main-title { font-size: 2rem; }
    .main-detail-image { float: none; width: 100%; margin: 0 0 20px 0; }
    .news-detail-page { padding-top: 120px; }
    .news-detail-content-wrapper { margin-bottom: 60px; }
}

/* ==========================================
   DARK THEME ADAPTATION (Класс на body)
   ========================================== */

/* Благодаря вложенности body.theme-dark, эти стили перекроют верхние без !important */

body.theme-dark .news-detail-page {
    background-color: #101011;
}

body.theme-dark .news-detail-page h1.news-main-title,
body.theme-dark .news-detail-page .text-regular,
body.theme-dark .news-detail-page .info-city {
    color: #ffffff;
}

body.theme-dark .news-info-top::after,
body.theme-dark .news-detail-content-wrapper::after {
    background-color: rgba(255, 255, 255, 0.2);
}

body.theme-dark .tag-item {
    color: #79B82D; /* Зеленый остается прежним */
}

body.theme-dark .header {
    background: rgba(16, 16, 17, 0.8);
}
/* End */


/* Start:/bitrix/components/bitrix/news.detail/templates/.default/style.css?1774606600155*/
div.news-detail
{
	word-wrap: break-word;
}
div.news-detail img.detail_picture
{
	float:left;
	margin:0 8px 6px 1px;
}
.news-date-time
{
	color:#486DAA;
}

/* End */
/* /our-news/news-detail.css?17746066693535 */
/* /bitrix/components/bitrix/news.detail/templates/.default/style.css?1774606600155 */
