

/* Start:/local/templates/newswason_new/components/goodda/news.url/blog/bitrix/news.list/.default/style.css?177504007510764*/
/* Разметка двух колонок для блога */

.blog__wrapper {
	display: grid;
	grid-template-columns: 285px 1fr;
	gap: 55px;
}

.blog__sidebar {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

/* Стили для блока сайдбара */
.blog__sidebar-item {
	background: rgb(255, 255, 255);
	border-radius: 20px;
	box-shadow: 0 4px 4px rgba(163, 163, 163, 0.45);
	padding: 26px;
}

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

.blog__sidebar-category-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.blog__sidebar-category-item {
	padding: 0;
	box-shadow: none;
	background: none;
	border-radius: 0;
	flex: 1;
}

.blog__sidebar-category-link {
	display: inline-block;
	background: #00b2ca;
	border-radius: 20px;
	padding: 3px 10px;
	font-size: 14px;
	font-weight: 400;
	color: rgb(255, 255, 255);
	text-decoration: none;
	line-height: 1.3;
	transition: all 0.3s ease;
	width: 100%;
	text-align: center;
	white-space: nowrap;
}

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



/* Цветовые модификаторы для разнообразия */
.blog__sidebar-category-link--color2 {
	background: rgba(0, 178, 202, 0.5);
}

.blog__sidebar-category-link--color3 {
	background: rgba(0, 178, 202, 0.8);
}

.blog__sidebar-category-item--active .blog__sidebar-category-link {
	background: #e78b90;
	color: #fff;
}



/* Топ посты */
.blog__top-posts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.blog__top-post {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.blog__top-post-number {
	font-size: 18px;
	font-weight: 700;
	color: rgb(20, 20, 20);
	flex-shrink: 0;
}

.blog__top-post-content {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.blog__top-post-title {
	font-size: 14px;
	font-weight: 400;
	color: rgb(0, 0, 0);
	text-decoration: none;
	line-height: 1.3;
	transition: opacity 0.3s ease;
	padding-top: 6px;
	transition: all 0.3s ease;
}

.blog__top-post-title:hover {
	color: #038798;
}

.blog__top-post-category {
	font-size: 10px;
	font-weight: 700;
	color: rgb(178, 178, 178);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: right;
	transition: all 0.3s ease;
}

.blog__top-post-category:hover{
	color: #038798;
	text-decoration: underline;
}

/* Модификатор блока с градиентным фоном */
.blog__sidebar-item--gradient {
	background: linear-gradient(55deg, #028697 0%,  #028697 50%, #81EFFE 100%);
	border-radius: 30px;
}

.blog__sidebar-title--white {
	color: rgb(255, 255, 255);
	font-size: 20px;
	line-height: 1.3;
	margin-bottom: 15px;
}

/* Форма подписки */
.blog__subscribe-form {
	margin: 0;
}

.blog__subscribe-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.blog__subscribe-input {
	width: 100%;
	height: 40px;
	padding: 12px 50px 12px 15px;
	background: rgb(255, 255, 255);
	border: none;
	border-radius: 20px;
	font-size: 15px;
	font-weight: 500;
	color: rgb(0, 0, 0);
	outline: none;
}

.blog__subscribe-input::placeholder {
	color: rgb(181, 181, 181);
	font-weight: 500;
}

.blog__subscribe-btn {
	position: absolute;
	right: 1px;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	background: linear-gradient(90deg, #e78b90 0%, #f6a8d7 100%);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s ease;
}

.blog__subscribe-btn:hover {
	opacity: 0.8;
}

/* Стили для карточек блога */

.blog__content {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

/* Базовые стили карточки */
.blog-card {
	background: rgb(255, 255, 255);
	border-radius: 20px;
	box-shadow: 0 4px 4px rgba(163, 163, 163, 0.45);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
}

.blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(163, 163, 163, 0.45);
}

.blog-card__category {
	font-size: 10px;
	font-weight: 700;
	color: rgb(178, 178, 178);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.blog-card__title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.blog-card__title a {
	color: rgb(20, 20, 20);
	text-decoration: none;
	transition: color 0.3s ease;
}

.blog-card__title a:hover {
	color: #038798;
}

.blog-card__text {
	font-size: 14px;
	font-weight: 400;
	color: rgb(20, 20, 20);
	line-height: 1.5;
	margin: 10px 0;
}

.blog-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	color: rgb(3, 121, 136);
	text-decoration: none;
	transition: color 0.3s ease;
}

.blog-card__link:hover {
	color: #00b2ca;
}

.blog-card__link svg {
	width: 8px;
	height: 12px;
	transition: transform 0.3s ease;
}

.blog-card__link:hover svg {
	transform: translateX(3px);
}

/* Общий футер для карточек */
.blog-card__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
}

/* Тип 1: Большая карточка на всю ширину */
.blog-card--type1 {
	grid-column: 1 / -1;
}

.blog-card--type1:after{
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 80px;
	background: linear-gradient(90deg,  rgba(255, 255, 255, 0.3) 0%, rgba(254, 162, 187, 0.3) 100%);
	
}

.blog-card--type1 .blog-card__wrapper {
	display: flex;
	gap: 20px;
	padding: 5px 55px 5px 5px;
	position: relative;
	z-index: 1;
}

.blog-card--type1 .blog-card__image {
	flex-shrink: 0;
	width: 249px;
	height: 273px;
	border-radius: 20px;
	overflow: hidden;
}

.blog-card--type1 .blog-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-card--type1 .blog-card__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 43px 0 15px 0;
}

.blog-card--type1 .blog-card__title {
	font-size: 18px;
}

.blog-card--type1 .blog-card__text {
	font-size: 16px;
}

.blog-card--type1 .blog-card__footer {
	padding-top: 15px;
}

.blog-card--type1 .blog-card__link {
	color: #e78b90;
}

/* Тип 2: Карточка 50%, картинка сверху */
.blog-card--type2 {
	/* Автоматически займет 1 колонку */
}

.blog-card--type2 .blog-card__image {
	width: 100%;
	height: 115px;
	padding: 5px;
}

.blog-card--type2 .blog-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

.blog-card--type2 .blog-card__content {
	padding: 15px 20px 20px;
	display: flex;
	flex-direction: column;
	min-height: 168px;
}

.blog-card--type2 .blog-card__footer {
	margin-top: auto;
	padding-top: 10px;
}

/* Тип 3: Карточка 50%, текст слева, картинка справа */
.blog-card--type3 {
	/* Автоматически займет 1 колонку */
}

.blog-card--type3 .blog-card__wrapper {
	display: flex;
	gap: 15px;
	padding: 5px 5px 0px 18px;
	min-height: 200px;
}

.blog-card--type3 .blog-card__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding-top: 33px;
}

.blog-card--type3 .blog-card__image {
	flex-shrink: 0;
	width: 200px;
	height: 241px;
	border-radius: 20px;
	overflow: hidden;
}

.blog-card--type3 .blog-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-card--type3 .blog-card__footer {
	padding: 15px 20px;
}

/* Тип 4: Карточка с цветным фоном */
.blog-card--type4 {
	/* Автоматически займет 1 колонку */
	position: relative;
	min-height: 283px;
	padding: 24px 33px 15px 22px;
}

.blog-card--type4 .blog-card__icon {
	position:relative;
	z-index: 1;
    display: flex;
    justify-content: end;
    align-items: center;
	min-height: 55px;
}

.blog-card--type4 .blog-card__icon  img{
	height: auto;
	width: auto;
	max-height: 55px;
	object-fit: contain;
}

.blog-card--type4 .blog-card__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	height: 100%;

}

.blog-card--type4 .blog-card__title {
	max-width: 83%;
}

.blog-card--type4 .blog-card__title a,
.blog-card--type4 .blog-card__text {
	color: rgb(20, 20, 20);
	margin-top: 35px;
}

.blog-card--type4 .blog-card__link {
	color: rgb(3, 121, 136);
}

.blog-card--type4 .blog-card__footer {
	margin-top: auto;
	padding-top: 15px;
}

/* Модификаторы цветов для типа 4 */
.blog-card--blue {
	background: rgba(0, 178, 202, 0.1);
	position: relative;
}
.blog-card--blue:before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: url('/local/templates/newswason_new/components/goodda/news.url/blog/bitrix/news.list/.default/./img/blog-item-blue-1.png');
	background-size: contain;
	background-repeat: no-repeat;
	width: 146px;
	height: 146px;
}

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


.blog-card--pink {
	background: rgba(231, 139, 144, 0.1);
}

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

.blog-card--pink:after{
	content: '';
	position: absolute;
	bottom: 23px;
	left: 160px;
	background: url('/local/templates/newswason_new/components/goodda/news.url/blog/bitrix/news.list/.default/./img/blog-item-pink-2.png');
	background-size: contain;
	background-repeat: no-repeat;
	width: 160px;
	height: 160px;
}

.blog-card--type4.blog-card--pink .blog-card__link {
	color: #e78b90;
}

/* Адаптивность - на мобильных устройствах колонки идут друг под другом */
@media (max-width: 768px) {
	.blog__wrapper {
		grid-template-columns: 1fr;
	}
	
	.blog__content {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	/* Тип 1: картинка сверху на мобильных */
	.blog-card--type1 .blog-card__wrapper {
		flex-direction: column;
		padding: 6px 6px 17px;
	}

	.blog-card--type1 .blog-card__content{
		padding: 0;
	}

	.blog-card--type1 .blog-card__footer{
		padding-top: 0;
		padding-left: 21px;
		padding-right: 9px;
	}
	
	.blog-card--type1 .blog-card__image {
		width: 100%;
		height: 200px;
	}
	
	/* Тип 3: картинка сверху на мобильных */
	.blog-card--type3 .blog-card__wrapper {
		flex-direction: column;
	}
	
	.blog-card--type3 .blog-card__image {
		width: 100%;
		height: 200px;
	}
	
	/* Тип 4: меньшая иконка на мобильных */
	/*.blog-card--type4 .blog-card__icon {
		width: 86px;
		height: 86px;
	}*/
}

/* End */


/* Start:/local/templates/newswason_new/components/bitrix/system.pagenavigation/custom/style.css?17750400751721*/
/* Пагинация */
.catalog-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.catalog-pagination__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Стрелки */
.catalog-pagination__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #028697;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}

.catalog-pagination__arrow:hover {
    color: #016677;
}

.catalog-pagination__arrow--disabled {
    color: #CCCCCC;
    cursor: not-allowed;
    pointer-events: none;
}

.catalog-pagination__arrow svg {
    width: 8px;
    height: 14px;
}

/* Номера страниц */
.catalog-pagination__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 500;
    color: #028697;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.catalog-pagination__item:not(.catalog-pagination__item--active):hover {
    background-color: rgba(2, 134, 151, 0.1);
    color: #028697;
    text-decoration: none;
}

.catalog-pagination__item--active {
    background-color: #028697;
    color: #FFFFFF;
    cursor: default;
}

.catalog-pagination__item--active:hover {
    background-color: #028697;
}

/* Многоточие */
.catalog-pagination__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: #666666;
    font-size: 16px;
    font-weight: 500;
    user-select: none;
}

/* End */
/* /local/templates/newswason_new/components/goodda/news.url/blog/bitrix/news.list/.default/style.css?177504007510764 */
/* /local/templates/newswason_new/components/bitrix/system.pagenavigation/custom/style.css?17750400751721 */
