.psh-slider {
	--psh-accent: #D98E1E;
	--psh-height: 480px;
	--psh-height-active: var(--psh-height);
	--psh-overlay-top: rgba(255, 255, 255, 0);
	--psh-overlay-bottom: rgba(255, 255, 255, 0.92);
	--psh-fade: 700ms;

	position: relative;
	width: 100%;
	height: var(--psh-height-active);
	border-radius: 10px;
	overflow: hidden;
	background: #0B1629;
	box-sizing: border-box;
}

.psh-slider * {
	box-sizing: border-box;
}

.psh-slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.psh-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--psh-fade) ease;
	display: flex;
	align-items: flex-end;
}

.psh-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.psh-media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transform: scale(1.0);
	transition: transform 6s ease-out;
}

.psh-slide.is-active .psh-media {
	transform: scale(1.06);
}

.psh-slide--noimage .psh-media {
	background-image: linear-gradient(135deg, #0B1629 0%, #1B2A4A 55%, #2E4372 100%);
}

.psh-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, var(--psh-overlay-top) 20%, var(--psh-overlay-bottom) 78%);
}

.psh-content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: clamp(20px, 4vw, 48px) clamp(20px, 6vw, 72px) clamp(24px, 4vw, 40px);
}

.psh-cat {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	display: inline-block;
	background: var(--psh-accent);
	color: #1a1204;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 4px;
}

.psh-title {
	margin: 0 0 10px;
	font-size: clamp(26px, 4.6vw, 46px);
	font-weight: 700;
	line-height: 1.1;
	max-width: 62ch;
}

.psh-title a {
	color: #14151A;
	text-decoration: none;
}

.psh-title a:hover,
.psh-title a:focus-visible {
	text-decoration: underline;
}

.psh-excerpt {
	margin: 0 0 14px;
	font-size: clamp(13px, 1.4vw, 16px);
	line-height: 1.55;
	max-width: 56ch;
	color: #4B4F57;
}

.psh-meta {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: #6B7280;
}

.psh-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Text position variants */
.psh-text-center .psh-slide {
	align-items: center;
	justify-content: center;
	text-align: center;
}

.psh-text-center .psh-content {
	max-width: 720px;
	margin: 0 auto;
}

.psh-text-center .psh-title,
.psh-text-center .psh-excerpt {
	margin-left: auto;
	margin-right: auto;
}

.psh-text-center .psh-meta {
	justify-content: center;
}

.psh-text-center .psh-overlay {
	background: radial-gradient(ellipse at center, var(--psh-overlay-bottom) 0%, rgba(255, 255, 255, 0.55) 100%);
}

/* Arrows */
.psh-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 50%;
	background: rgba(20, 21, 26, 0.45);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.psh-arrow:hover {
	background: rgba(20, 21, 26, 0.7);
	transform: translateY(-50%) scale(1.06);
}

.psh-arrow:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.psh-prev {
	left: 16px;
}

.psh-next {
	right: 16px;
}

/* Progress segments */
.psh-progress {
	position: absolute;
	left: clamp(20px, 6vw, 72px);
	right: clamp(20px, 6vw, 72px);
	bottom: 14px;
	z-index: 3;
	display: flex;
	gap: 6px;
}

.psh-seg {
	flex: 1;
	height: 3px;
	background: rgba(20, 21, 26, 0.18);
	border: none;
	border-radius: 2px;
	padding: 0;
	cursor: pointer;
	overflow: hidden;
	position: relative;
}

.psh-seg-fill {
	position: absolute;
	inset: 0;
	width: 0%;
	background: var(--psh-accent);
	border-radius: 2px;
}

.psh-seg.is-active .psh-seg-fill {
	width: 100%;
}

.psh-seg.is-active.is-animating .psh-seg-fill {
	width: 0%;
	animation: psh-fill var(--psh-duration, 6000ms) linear forwards;
}

.psh-seg.is-past .psh-seg-fill {
	width: 100%;
}

@keyframes psh-fill {
	from {
		width: 0%;
	}
	to {
		width: 100%;
	}
}

.psh-empty {
	padding: 24px;
	text-align: center;
	color: #666;
}

@media (prefers-reduced-motion: reduce) {
	.psh-slide,
	.psh-media,
	.psh-arrow {
		transition: none !important;
	}

	.psh-seg.is-active.is-animating .psh-seg-fill {
		animation: none !important;
		width: 100%;
	}
}
