/* Post Swiper Slider — базовые стили */

.pss-wrapper {
	margin: 0 0 30px;
	width: 100%;
}

.pss-wrapper .swiper {
	width: 100%;
	/*padding-bottom: 40px; /* место под пагинацию */
	box-sizing: border-box;
}

.pss-wrapper .swiper-slide {
	border-radius: 10px;
	overflow: hidden;
}

.pss-slide {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	position: relative;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-decoration: none;
	color: #fff;
	box-sizing: border-box;
}

.pss-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.75) 100%);
	pointer-events: none;
}

.pss-badges {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 14px 16px 0;
}

.pss-badge {
	display: inline-block;
	background: #e63946;
	color: #fff;
	font-size: 11px;
	line-height: 1;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 5px 9px;
	border-radius: 4px;
}

.pss-slide-content {
	position: relative;
	z-index: 2;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: auto;
}

.pss-slide-title {
	font-size: 17px;
	line-height: 1.3;
	font-weight: 700;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pss-slide-date {
	font-size: 12px;
	opacity: 0.85;
}

/* Навигация Swiper */
.pss-wrapper .swiper-button-prev,
.pss-wrapper .swiper-button-next {
	color: #fff;
	background: rgba(0, 0, 0, 0.35);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	transition: background 0.2s ease;
}

.pss-wrapper .swiper-button-prev:hover,
.pss-wrapper .swiper-button-next:hover {
	background: rgba(0, 0, 0, 0.6);
}

.pss-wrapper .swiper-button-prev::after,
.pss-wrapper .swiper-button-next::after {
	font-size: 16px;
	font-weight: 700;
}

/* Пагинация */
.pss-wrapper .swiper-pagination-bullet {
	background: #999;
	opacity: 1;
}

.pss-wrapper .swiper-pagination-bullet-active {
	background: #e63946;
}

.pss-wrapper .swiper-pagination-progressbar {
	background: rgba(0, 0, 0, 0.15);
}

.pss-wrapper .swiper-pagination-progressbar-fill {
	background: #e63946;
}
