/* Hero Slider V2 – new layout (slider left with title overlay, card right)
   Plain CSS enqueued from app/Hooks/Frontend.php; builds on the base .hero styles. */

.hero.hero-v3 {
	align-items: stretch;
	padding-top: 40px;
	padding-bottom: 60px;
}

.hero.hero-v3 .hero__left {
	width: 62%;
	margin-bottom: 0;
}

.hero.hero-v3 .hero__right {
	display: block;
	width: 35%;
	max-width: none;
}

/* ----- slider ----- */

.hero.hero-v3 .hero__sliders {
	position: relative;
}

.hero.hero-v3 .hero__item,
.hero.hero-v3 .card-hero,
.hero.hero-v3 .card-hero__image {
	height: 100%;
}

.hero.hero-v3 .card-hero__image {
	position: relative;
	overflow: hidden;
}

.hero.hero-v3 .card-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero.hero-v3 .card-hero__image::after {
	content: '';
	position: absolute;
	inset: 0;
	display: block;
}

.hero.hero-v3 .card-hero__title {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	width: 100%;
}

.hero.hero-v3 .hero__sliders,
.hero.hero-v3 .hero__item {
	height: 511px;
}

.hero.hero-v3 .card-hero__image::after {
	background: linear-gradient(20deg, rgba(10, 38, 53, 0.9) 0%, rgba(10, 38, 53, 0.35) 45%, rgba(10, 38, 53, 0) 75%);
}

.hero.hero-v3 .card-hero__title {
	padding: 40px 60px 70px 40px;
}

.hero.hero-v3 .card-hero__title h1,
.hero.hero-v3 .card-hero__title h2 {
	margin: 0;
	font-family: 'Turis', sans-serif;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
	max-width: 520px;
}

/* dots bottom-left, under the title */
.hero.hero-v3 ul.slick-dots {
	left: 40px;
	right: auto;
	bottom: 32px;
	transform: none;
	text-align: left;
}

.hero.hero-v3 ul.slick-dots li {
	margin: 0 8px 0 0;
}

.hero.hero-v3 ul.slick-dots li button {
	width: 10px;
	height: 10px;
	background: rgba(255, 255, 255, 0.6);
}

.hero.hero-v3 ul.slick-dots li.slick-active button {
	background: #2584bb;
}

/* ----- right card ----- */

.hero.hero-v3 .hero__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	min-height: 511px;
	padding: 40px 36px 0;
	background: #e9f3fa;
	overflow: hidden;
}

.hero.hero-v3 .hero__card-title {
	margin: 0 0 22px;
	font-family: 'Turis', sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	color: #0c2333;
}

.hero.hero-v3 .hero__card-title span {
	color: #2584bb;
}

.hero.hero-v3 .hero__card-text {
	margin: -8px 0 20px;
	font-size: 17px;
	line-height: 1.6;
	color: #1e3a4c;
}

.hero.hero-v3 .hero__card-button {
	margin-bottom: 24px;
}

.hero.hero-v3 .hero__card-title,
.hero.hero-v3 .hero__card-text,
.hero.hero-v3 .hero__card-button {
	position: relative;
	z-index: 2;
}

/* Receipts graphic: large, anchored bottom-right, bleeding off the card edges */
.hero.hero-v3 .hero__card-image {
	position: absolute;
	right: 0%;
	bottom: 0%;
	z-index: 1;
	width: 100%;
	pointer-events: none;
}

.hero.hero-v3 .hero__card-image img,
.hero.hero-v3 .hero__card-image picture {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
}

/* ----- responsive ----- */

@media (max-width: 1279px) {
	.hero.hero-v3 .hero__sliders,
	.hero.hero-v3 .hero__item,
	.hero.hero-v3 .hero__card {
		height: 420px;
		min-height: 420px;
	}

	.hero.hero-v3 .card-hero__title h1,
	.hero.hero-v3 .card-hero__title h2 {
		font-size: 40px;
	}

	.hero.hero-v3 .hero__card-title {
		font-size: 26px;
	}
}

@media (max-width: 991px) {
	.hero.hero-v3 {
		padding-top: 20px;
		padding-bottom: 40px;
	}

	.hero.hero-v3 .hero__left,
	.hero.hero-v3 .hero__right {
		width: 100%;
	}

	.hero.hero-v3 .hero__left {
		margin-bottom: 20px;
	}

	.hero.hero-v3 .hero__sliders,
	.hero.hero-v3 .hero__item {
		height: 360px;
	}

	.hero.hero-v3 .hero__card {
		height: auto;
		min-height: 420px;
		padding: 32px 28px 0;
	}

	.hero.hero-v3 .hero__card-image {
		width: 100%;
		max-width: 420px;
		right: -0%;
		bottom: -0%;
	}

	.hero.hero-v3 .card-hero__title {
		padding: 30px 30px 60px 30px;
	}

	.hero.hero-v3 ul.slick-dots {
		left: 30px;
		bottom: 24px;
	}
}

@media (max-width: 640px) {
	.hero.hero-v3 .hero__sliders,
	.hero.hero-v3 .hero__item {
		height: 260px;
	}

	.hero.hero-v3 .card-hero__title {
		padding: 20px 20px 50px 20px;
	}

	.hero.hero-v3 .card-hero__title h1,
	.hero.hero-v3 .card-hero__title h2 {
		font-size: 28px;
	}

	.hero.hero-v3 ul.slick-dots {
		left: 20px;
		bottom: 18px;
	}

	.hero.hero-v3 .hero__card {
		min-height: 360px;
		padding: 24px 20px 0;
	}

	.hero.hero-v3 .hero__card-image {
		width: 100%;
	}

	.hero.hero-v3 .hero__card-title {
		font-size: 22px;
	}
}
