

/* Start:/local/templates/newswason_new/components/goodda/news.url/blog/bitrix/news.detail/.default/style.css?17750400755243*/
/* Блок детальной страницы статьи */
.blog-detail {
	padding: 40px 0;
	min-height: 100vh;
}

.blog-detail__wrapper {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

/* Сайдбар "Содержание" */
.blog-detail__sidebar {
	flex: 0 0 285px;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 4px 4px rgba(163, 163, 163, 0.45);
	padding: 20px;
	position: sticky;
	top: 20px;
}

.blog-detail__sidebar-title {
	
	font-size: 18px;
	font-weight: 700;
	color: rgb(20, 20, 20);
	margin: 0 0 20px 0;
}

.blog-detail__sidebar-nav {
	/* Навигация */
}

.blog-detail__sidebar-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.blog-detail__sidebar-item {
	margin-bottom: 15px;
}

.blog-detail__sidebar-item:last-child {
	margin-bottom: 0;
}

.blog-detail__sidebar-link {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	text-decoration: none;
	color: rgb(20, 20, 65);
	
	font-size: 14px;
	
	line-height: 1.3;
	transition: color 0.3s ease;
}

.blog-detail__sidebar-link:hover {
	color: rgb(2, 134, 151);
}

.blog-detail__sidebar-number {
	font-weight: 700;
	color: rgb(20, 20, 20);
	flex-shrink: 0;
}

.blog-detail__sidebar-text {
	flex: 1;
}

/* Основной контент */
.blog-detail__content {
	flex: 1;
	min-width: 0;
}

.blog-detail__title {
	
	font-size: 26px;
	font-weight: 700;
	color: rgb(20, 20, 20);
	margin: 0 0 30px 0;
	line-height: 1.3;
}

/* Блок с разделом и датой */
.blog-detail__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.blog-detail__section {
	/* Раздел слева */
}

/* Стили для ссылки раздела (используем класс из списка статей) */
.blog-detail__section .blog__sidebar-category-link {
	display: inline-block;
	background: #00b2ca;
	border-radius: 20px;
	padding: 3px 10px;
	font-size: 14px;
	
	color: rgb(255, 255, 255);
	text-decoration: none;
	line-height: 1.3;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.blog-detail__section .blog__sidebar-category-link:hover {
	color: #fff;
	text-decoration: underline;
}

.blog-detail__date {
	
	font-size: 16px;
	font-weight: 700;
	color: rgb(157, 157, 157);
}

/* Блок с картинками */
.blog-detail__photos {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
	height: 300px;
}

.blog-detail__photo {
	border-radius: 20px;
	overflow: hidden;
	position: relative;
}

.blog-detail__photo img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

.blog-detail__photo--large {
	flex: 0 0 62.5%;
	height: 300px;
}

.blog-detail__photo-group {
	flex: 0 0 calc(37.5% - 20px);
	display: flex;
	flex-direction: column;
	gap: 20px;
	height: 300px;
}

.blog-detail__photo--small {
	flex: 1;
	height: 50%;
}

/* Текст статьи */
.blog-detail__text {
	
	font-size: 14px;
	
	color: rgb(20, 20, 20);
	line-height: 1.6;
	margin-bottom: 30px;
}

.blog-detail__text h1,
.blog-detail__text h2,
.blog-detail__text h3,
.blog-detail__text h4,
.blog-detail__text h5,
.blog-detail__text h6 {
	
	font-weight: 700;
	color: rgb(2, 134, 151);
	margin: 30px 0 15px 0;
}

.blog-detail__text h1 {
	font-size: 20px;
}

.blog-detail__text h2 {
	font-size: 18px;
}

.blog-detail__text p {
	margin: 0 0 15px 0;
	font-size: 14px;
}

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

.blog-detail__text ul{
	margin: 0 0 15px 0;
	padding-left: 10px;
	list-style: none;
}

.blog-detail__text ul li{
	margin-bottom: 10px;
	position: relative;
	padding-left: 20px;
}

.blog-detail__text ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 7px;
	width: 3px;
	height: 3px;
	background-color: #028697;
	border-radius: 50%;
}

.blog-detail__text ul li:last-child{
	margin-bottom: 0;
}

/* Кнопка "Вернуться" */
.blog-detail__sidebar .blog-detail__back {
	margin-top: 30px;
	text-align: right;
}

.blog-detail__back-link {
	
	font-size: 16px;
	font-weight: 700;
	color: rgb(157, 157, 157);
	text-decoration: none;
	transition: color 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.blog-detail__back-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: linear-gradient(90deg, #e78b90 0%, #f6a8d7 100%);
	border-radius: 50%;
	flex-shrink: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.blog-detail__back-link svg {
	transform: rotate(180deg);
	transition: transform 0.3s ease;
}

.blog-detail__back-link:hover {
	color: rgb(2, 134, 151);
}

.blog-detail__back-link:hover .blog-detail__back-icon {
	opacity: 0.8;
}

/* Мобильная версия */
@media (max-width: 768px) {
	.blog-detail__wrapper {
		flex-direction: column;
		gap: 30px;
	}
	
	.blog-detail__sidebar {
		display: none; /* Скрываем блок "Содержание" в мобильной версии */
	}
	
	.blog-detail__content {
		width: 100%;
	}
	

	
	.blog-detail__photos {
		height: 135px;
		gap: 6px;
	}
	
	.blog-detail__photo {
		border-radius: 10px;
	}
	
	.blog-detail__photo--large {
		height: 135px;
	}
	
	.blog-detail__photo-group {
		height: 135px;
		gap: 3px;
	}
	
	.blog-detail__photo--small {
		height: 50%;
	}
}

/* End */


/* Start:/local/templates/newswason_new/components/bitrix/news.list/related_articles/style.css?17750400758174*/
/* Блок похожих статей */
.related-articles {
    margin-top: 40px;
    margin-bottom: -50px;
    background-color: rgb(245, 245, 245);
   
}

/* Заголовок блока */
.related-articles__header-wrapper {
    margin-bottom: 40px;
}

.related-articles__title {
   
    font-size: 32px;
    font-weight: 700;
    color: rgb(78, 78, 78);
    margin: 0;
}

/* Контейнер слайдера */
.related-articles__slider-container {
    position: relative;
}

/* Обертка слайдера */
.related-articles__slider-wrapper {
    position: relative;
    overflow: visible;
    padding-bottom: 30px;
}

/* Обертка навигации - позиционирована поверх слайдера */
.related-articles__nav-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.related-articles__nav-wrapper .container--sm {
    position: relative;
    height: 100%;
}

/* Навигация слайдера - на краях container--sm */
.related-articles__nav.slider-nav {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.related-articles__nav .slider-nav__btn {
    pointer-events: auto;
}

.related-articles__nav .slider-nav__btn--disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Swiper слайдер */
.related-articles__swiper {
    overflow: visible;
}

.related-articles__swiper .swiper-wrapper {
    align-items: stretch;
    display: flex;
}

.related-articles__swiper .swiper-slide {
    height: auto;
    display: flex;
    flex-shrink: 0;
}

/* Карточка статьи */
.related-articles__card {
    width: 100%;
    height: 200px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: rgb(0, 178, 202); /* Фон на случай отсутствия картинки */
}


/* Фоновое изображение */
.related-articles__card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.related-articles__card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Затемнение поверх изображения */
.related-articles__card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

/* Контент карточки */
.related-articles__card-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Заголовок статьи */
.related-articles__card-title {
   
    font-size: 16px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    margin: 0;
    line-height: 1.3;
    padding: 0 10px;
    max-height: calc(100% - 50px); /* Оставляем место для кнопки */
    align-self: center;
    margin: auto 0;
}

/* Кнопка "Подробнее" */
.related-articles__card-link {
   
    font-size: 12px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    bottom: 0;
    right: 0;
}

.related-articles__card-link:hover {
    opacity: 0.8;
    text-decoration: none;
    color: rgb(255, 255, 255);
    transform: translateX(3px);
}

.related-articles__card-link-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.related-articles__card-link:hover .related-articles__card-link-icon {
    transform: translateX(3px);
}

/* Иконка для цветных карточек */
.related-articles__card-icon {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 15px;
    min-height: 40px;
}

.related-articles__card-icon img {
    height: auto;
    width: auto;
    max-height: 40px;
    max-width: 40px;
    object-fit: contain;
}

/* Синяя карточка */
.related-articles__card--blue {
    background: rgba(0, 178, 202, 0.1);
    padding: 15px 18px;
    justify-content: flex-start;
}

.related-articles__card--blue .related-articles__card-content {
    justify-content: center;
    align-items: center;
    padding-top: 0;
}

.related-articles__card--blue:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url('/local/templates/newswason_new/components/bitrix/news/blog/bitrix/news.list/.default/img/blog-item-blue-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 103px;
    height: 103px;
    z-index: 0;
}

.related-articles__card--blue:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 127px;
    background: url('/local/templates/newswason_new/components/bitrix/news/blog/bitrix/news.list/.default/img/blog-item-blue-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 82px;
    height: 82px;
    z-index: 0;
}

.related-articles__card--blue .related-articles__card-title {
    color: rgb(20, 20, 20);
    margin: auto 0;
    max-width: 100%;
}

.related-articles__card--blue .related-articles__card-link {
    color: rgb(3, 121, 136);
    margin-top: auto;
}

/* Розовая карточка */
.related-articles__card--pink {
    background: rgba(231, 139, 144, 0.1);
    padding: 15px 18px;
    justify-content: flex-start;
}

.related-articles__card--pink .related-articles__card-content {
    justify-content: center;
    align-items: center;
    padding-top: 0;
}

.related-articles__card--pink:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url('/local/templates/newswason_new/components/bitrix/news/blog/bitrix/news.list/.default/img/blog-item-pink-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 128px;
    height: 128px;
    z-index: 0;
}

.related-articles__card--pink:after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 113px;
    background: url('/local/templates/newswason_new/components/bitrix/news/blog/bitrix/news.list/.default/img/blog-item-pink-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 113px;
    height: 113px;
    z-index: 0;
}

.related-articles__card--pink .related-articles__card-title {
    color: rgb(20, 20, 20);
    margin: auto 0;
    max-width: 100%;
}

.related-articles__card--pink .related-articles__card-link {
    color: #e78b90;
    margin-top: auto;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .related-articles__title {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .related-articles__title {
        font-size: 24px;
    }
    
    .related-articles__card {
        height: 180px;
        padding: 18px;
    }
    
    .related-articles__card-title {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .related-articles {
        margin-top: 20px;
    }
    
    .related-articles__header-wrapper {
        margin-bottom: 30px;
    }
    
    .related-articles__title {
        font-size: 22px;
    }
    
    .related-articles__card {
        height: 160px;
        padding: 15px;
    }
    
    .related-articles__card-title {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    
    .related-articles__card-link {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .related-articles__title {
        font-size: 20px;
    }
    
    .related-articles__card {
        height: 150px;
        padding: 12px;
    }
    
    .related-articles__card-title {
        font-size: 12px;
    }
}

/* End */
/* /local/templates/newswason_new/components/goodda/news.url/blog/bitrix/news.detail/.default/style.css?17750400755243 */
/* /local/templates/newswason_new/components/bitrix/news.list/related_articles/style.css?17750400758174 */
