

/* 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 */
/* /local/templates/newswason_new/components/goodda/news.url/blog/bitrix/news.detail/.default/style.css?17750400755243 */
