.smpn1-hero-wrap.slider-container {
	display: block !important;
	width: 100%;
	max-width: 790px;
	margin: 5px auto 14px auto;
	position: relative;
	box-sizing: border-box;
}

.smpn1-hero-main.mySwiper2 {
	width: 100%;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 4px;
	background: #0f172a;
	position: relative;
}

.smpn1-hero-main .swiper-wrapper {
	height: auto;
	max-height: none;
}

.smpn1-hero-slide {
	position: relative;
	width: 100%;
	aspect-ratio: var(--hero-ratio, 790 / 430);
	overflow: hidden;
	background: #0f172a;
}

.smpn1-hero-bg-blur {
	position: absolute;
	inset: -18px;
	width: calc(100% + 36px);
	height: calc(100% + 36px);
	object-fit: cover;
	filter: blur(18px) brightness(0.5);
	transform: scale(1.06);
	z-index: 0;
	pointer-events: none;
}

.smpn1-hero-img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center 18%;
	position: relative;
	z-index: 1;
}

.smpn1-hero-img.is-cover-top {
	object-fit: cover;
	object-position: center 18%;
}

.smpn1-hero-img.is-cover-center {
	object-fit: cover;
	object-position: center center;
}

.smpn1-hero-img.is-cover-bottom {
	object-fit: cover;
	object-position: center 82%;
}

.smpn1-hero-img.is-contain {
	object-fit: contain;
	object-position: center center;
}

.smpn1-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.12) 45%, var(--hero-overlay-rgba, rgba(0, 0, 0, 0.82)) 100%);
	z-index: 2;
	pointer-events: none;
}

.smpn1-hero-wrap .judul-headline {
	background: var(--hero-badge-bg, #f51700);
	color: #ffffff;
	position: absolute;
	z-index: 3;
	padding: 6px 12px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.03em;
	left: 0;
	top: 16px;
	margin: 0;
	border-radius: 0 4px 4px 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.smpn1-hero-wrap .slider-text {
	position: absolute;
	z-index: 3;
	padding: 20px 20px 18px 20px;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: left;
	box-sizing: border-box;
	margin: 0;
	background: transparent;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.smpn1-hero-wrap .slider-kategori {
	display: inline-block;
	background: var(--hero-cat-bg, rgba(255, 255, 255, 0.16));
	backdrop-filter: blur(4px);
	color: var(--hero-cat-color, #ffd166);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 3px 8px 3px 7px;
	border-radius: 3px;
	margin: 0 0 0 -7px;
	text-decoration: none;
	line-height: 1.2;
}

.smpn1-hero-wrap .judul-slider {
	display: block;
	color: var(--hero-title-color, #ffffff);
	font-family: var(--hero-font-family, 'Montserrat', sans-serif);
	font-size: var(--hero-font-size, 20px);
	font-weight: var(--hero-font-weight, 700);
	line-height: 1.3;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
	text-decoration: none;
}

.smpn1-hero-wrap .judul-slider:hover {
	text-decoration: underline;
}

/* Tombol navigasi Maju/Mundur Hero Slider (menimpa display:none legacy style.css) */
.smpn1-hero-main .swiper-button-prev,
.smpn1-hero-main .swiper-button-next {
	width: 38px;
	height: 38px;
	margin-top: 0;
	top: 46%;
	transform: translateY(-50%);
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.56);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.30);
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
	z-index: 6;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.smpn1-hero-main .swiper-button-prev {
	left: 14px;
}

.smpn1-hero-main .swiper-button-next {
	right: 14px;
}

.smpn1-hero-main .swiper-button-prev svg,
.smpn1-hero-main .swiper-button-next svg {
	display: none;
}

.smpn1-hero-main .swiper-button-prev::after,
.smpn1-hero-main .swiper-button-next::after {
	content: "" !important;
	display: block !important;
	width: 9px;
	height: 9px;
	border-top: 2.5px solid #ffffff;
	border-right: 2.5px solid #ffffff;
	border-radius: 1px;
	box-sizing: border-box;
}

.smpn1-hero-main .swiper-button-prev::after {
	transform: translateX(1.5px) rotate(-135deg);
}

.smpn1-hero-main .swiper-button-next::after {
	transform: translateX(-1.5px) rotate(45deg);
}

.smpn1-hero-main .swiper-button-prev:hover,
.smpn1-hero-main .swiper-button-next:hover {
	background: var(--hero-badge-bg, #1B5DAF);
	border-color: rgba(255, 255, 255, 0.65);
	transform: translateY(-50%) scale(1.06);
}

.smpn1-hero-main .swiper-button-prev.swiper-button-disabled,
.smpn1-hero-main .swiper-button-next.swiper-button-disabled {
	opacity: 0.35;
}

.smpn1-hero-thumbs.mySwiper {
	margin-top: 4px;
}

.smpn1-hero-thumbs .swiper-slide {
	cursor: pointer;
	opacity: 0.72;
	transition: opacity 0.2s ease;
	border-radius: 4px;
	overflow: hidden;
	background: #0f172a;
}

.smpn1-hero-thumbs .swiper-slide-thumb-active {
	opacity: 1;
	outline: 2px solid var(--hero-badge-bg, #f51700);
	outline-offset: -2px;
}

.smpn1-hero-thumb-link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.smpn1-hero-thumb-link:hover,
.smpn1-hero-thumb-link:focus-visible {
	text-decoration: none;
}

.smpn1-hero-thumb-link:hover .judul-thumbnail,
.smpn1-hero-thumb-link:focus-visible .judul-thumbnail {
	text-decoration: underline;
}

.smpn1-hero-thumb-img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center 20%;
	display: block;
}

.smpn1-hero-thumbs .judul-thumbnail {
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.3;
	color: #f8fafc;
	padding: 5px 6px;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media only screen and (max-width: 768px) {
	.smpn1-hero-wrap.slider-container {
		margin: 0 auto 10px auto;
	}
	.smpn1-hero-main.mySwiper2 {
		border-radius: 0;
	}
	.smpn1-hero-slide {
		aspect-ratio: var(--hero-ratio-mobile, 16 / 10);
	}
	.smpn1-hero-wrap .judul-headline {
		top: 10px;
		padding: 4px 10px;
		font-size: 11px;
	}
	.smpn1-hero-wrap .slider-text {
		padding: 14px 14px 12px 14px;
	}
	.smpn1-hero-wrap .judul-slider {
		font-size: var(--hero-font-size-mobile, 15px);
		line-height: 1.32;
	}
	.smpn1-hero-thumbs.mySwiper {
		display: none;
	}
	.smpn1-hero-main .swiper-button-prev,
	.smpn1-hero-main .swiper-button-next {
		width: 32px;
		height: 32px;
		top: 42%;
	}
	.smpn1-hero-main .swiper-button-prev {
		left: 10px;
	}
	.smpn1-hero-main .swiper-button-next {
		right: 10px;
	}
	.smpn1-hero-main .swiper-button-prev::after,
	.smpn1-hero-main .swiper-button-next::after {
		width: 8px;
		height: 8px;
		border-width: 2px;
	}
}

/* Animasi Mikro Hero (Ken Burns & Teks Fade-Up) */
.smpn1-hero-wrap.has-kenburns .swiper-slide-active .smpn1-hero-img:not(.is-contain) {
	animation: smpn1KenBurns 7.5s ease-out forwards;
}

@keyframes smpn1KenBurns {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(1.06);
	}
}

.smpn1-hero-wrap.has-text-anim .swiper-slide-active .slider-text {
	animation: smpn1HeroTextUp 0.55s ease-out both;
}

@keyframes smpn1HeroTextUp {
	0% {
		opacity: 0;
		transform: translateY(12px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

