/* =============================================================================
   Kadusko hero slider (poster-first). Replaces the inline <style> that lived in the
   parent template-parts/elementor-widget/simple-banner/html-simple-banner-normal.php.
   The poster carries the title; the overlay shows only Play Now, Watch List and dots.
   hero.js adds .portrait-mode and sets the portrait poster as the slide background.
   ============================================================================= */

:root {
	--kd-hero-band: 104px; /* dark strip under the portrait poster for buttons + dots */
}

.kd-hero .banner-bg {
	position: relative;
}

/* ---- Desktop / landscape: actions bottom-left over a soft scrim ------------- */
.kd-hero .banner-bg:after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 35%;
	background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0));
	pointer-events: none;
	z-index: 0;
}
.kd-hero .css_prefix-simple-banner-content {
	position: relative;
	z-index: 1;
}
.kd-hero .slider-inner > .row {
	align-items: flex-end !important;
}
.kd-hero .slider-inner > .row > .col-xl-5 {
	padding-bottom: 72px;
}

/* ---- Portrait (phones, portrait tablets) ------------------------------------
   Like the client's reference: the whole poster stays visible, and the buttons and dots
   sit in a dark band underneath it. The background is clipped to the content box, so the
   padding-bottom band stays black; the overlay is pinned over the full slide. */
.kd-hero .banner-bg.portrait-mode {
	height: 72vh !important;
	min-height: 72vh !important;
	padding-bottom: var(--kd-hero-band) !important;
	box-sizing: border-box;
	background-color: transparent !important;
	background-size: cover !important;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	background-origin: content-box !important;
	background-clip: content-box !important;
}
.kd-hero .banner-bg.portrait-mode:before {
	content: none !important;
}
/* Fade the bottom of the poster into the band. */
.kd-hero .banner-bg.portrait-mode:after {
	bottom: var(--kd-hero-band);
	height: 22%;
	background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
}
.kd-hero .banner-bg.portrait-mode .css_prefix-simple-banner-content {
	position: absolute !important;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	height: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
}
.kd-hero .banner-bg.portrait-mode .container-fluid,
.kd-hero .banner-bg.portrait-mode .slider-inner,
.kd-hero .banner-bg.portrait-mode .slider-inner > .row {
	height: 100% !important;
	min-height: 0 !important;
}
.kd-hero .banner-bg.portrait-mode .slider-inner > .row > .col-xl-5 {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	text-align: center !important;
	padding: 0 16px 44px !important; /* buttons in the band, dots below them */
}
/* Rating/runtime row is noise on a phone poster. */
.kd-hero .banner-bg.portrait-mode .slider-inner .d-flex.flex-wrap.align-items-center.gap-3:not(.kd-hero-actions) {
	display: none !important;
}
.kd-hero .banner-bg.portrait-mode .kd-hero-actions {
	width: 100%;
	justify-content: center !important;
	flex-wrap: nowrap;
}
.kd-hero .banner-bg.portrait-mode .kd-hero-actions > * {
	flex: 1 1 0;
	max-width: 220px;
}
.kd-hero .banner-bg.portrait-mode .kd-hero-actions .btn {
	width: 100%;
	justify-content: center;
}
.kd-hero .banner-bg.portrait-mode .trailor-video {
	display: none !important;
}

@media (max-width: 480px) {
	.kd-hero .banner-bg.portrait-mode {
		height: 68vh !important;
		min-height: 68vh !important;
	}
}

/* ---- Dots: every breakpoint, below the buttons ------------------------------- */
.css_prefix-banner-slider .kd-hero .slick-dots {
	display: flex !important;
	justify-content: center;
	bottom: 12px !important;
	z-index: 2 !important;
}
