/* =========================
HERO REViRJi SLIDER
========================= */

.kw-revirji-hero {
	width: 100%;
	margin: 0;
}

/* Full width frame, NO rounded corners */
.kw-revirji-hero__frame {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 0;
}

/* Swiper container */
.kw-revirji-hero__swiper {
	width: 100%;
}

/* The clickable slide */
.kw-revirji-hero__slide {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* Media container controls HEIGHT */
.kw-revirji-hero__media {
	position: relative;
	width: 100%;
	height: var(--kw-hero-h, 520px);
	background: rgba(0,0,0,.06);
}

.kw-revirji-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Dots overlay (top of image) */
.kw-revirji-hero__dots {
	position: absolute !important;
	top: 14px;
	left: 0;
	right: 0;
	z-index: 30;
	display: flex;
	justify-content: center;
	gap: 8px;
	pointer-events: auto;
}

/* Swiper bullets */
.kw-revirji-hero__dots .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,.70);
	background: rgba(0,0,0,.25);
	opacity: 1;
}

.kw-revirji-hero__dots .swiper-pagination-bullet-active {
	background: rgba(255,255,255,.95);
	border-color: rgba(255,255,255,.95);
}

/* Arrows at left/right edge */
.kw-revirji-hero__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 35;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;

	border: 1px solid rgba(255,255,255,.35);
	background: rgba(0,0,0,.35);
	color: #fff;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.kw-revirji-hero__arrow--prev { left: 14px; }
.kw-revirji-hero__arrow--next { right: 14px; }

.kw-revirji-hero__arrow:hover { background: rgba(0,0,0,.45); }

/* Overlay with gradient + text */
.kw-revirji-hero__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	pointer-events: none; /* so whole slide link works */

	/* gradient behind text */
	background: linear-gradient(
		to top,
		rgba(0,0,0,.72) 0%,
		rgba(0,0,0,.45) 35%,
		rgba(0,0,0,.10) 75%,
		rgba(0,0,0,0) 100%
	);
}

.kw-revirji-hero__overlay-inner {
	width: 100%;
	padding: 18px 18px 40px;
	color: #fff;
	pointer-events: none;
}

.kw-revirji-hero__slide-title {
	margin: 0 0 6px;
	color: #FFF;
	font-size: clamp(18px, 5vw, 34px);
	line-height: 1.1;
}

.kw-revirji-hero__excerpt {
	margin: 0 0 10px;
	opacity: .92;
	line-height: 1.45;
	font-size: 14px;
	max-width: 70ch;
}

.kw-revirji-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 14px;
	opacity: .98;
}

.kw-revirji-hero__cta-arrow {
	transition: transform .12s ease;
}

/* On hover, animate the arrow a bit (still works because it's inside link) */
.kw-revirji-hero__slide:hover .kw-revirji-hero__cta-arrow {
	transform: translateX(2px);
}

.kw-revirji-hero__dots.swiper-pagination{
	bottom: 20px !important;
}

/* Mobile tweaks */
@media (max-width: 700px) {
	.kw-revirji-hero__arrow--prev { left: 10px; }
	.kw-revirji-hero__arrow--next { right: 10px; }
	.kw-revirji-hero__overlay-inner { padding: 14px 14px 16px; }
	.kw-revirji-hero__excerpt { font-size: 13px; }
}