/**
 * Sezione promozionale "percorso" - due card con sfondo e CTA
 * Struttura: section percorso-section > hk-promo-inner > images-container > image-box
 */

/* Section wrapper */
.hk-promo-section .section-background {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hk-promo-section .percorso-section {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: none;
}

.hk-promo-section .custom-section-content,
.hk-promo-section .border-style {
	margin: 0;
	padding: 0;
	border: none;
}

.hk-promo-section .custom-section-content {
	position: relative;
	z-index: 1;
}

.hk-promo-section .overlay--solid {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.03);
	pointer-events: none;
	z-index: 0;
}

.hk-promo-section .section-content-wrapper {
	position: relative;
	z-index: 1;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

.hk-promo-section .hk-promo-inner {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

/* Hero title */
.hk-promo-section .hk-promo-inner .hero-title {
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	color: #111;
	margin: 0 0 32px 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Due colonne 50% | 50% con separatore verticale */
.hk-promo-section .images-container {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	align-items: stretch;
	width: 100%;
	max-width: none;
	min-height: 50vh;
	margin: 0 !important;
	padding: 0 !important;
}

/* Colonna: occupa metà larghezza */
.hk-promo-section .promo-col {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
}

/* Separatore verticale in mezzo (elemento nel DOM) */
.hk-promo-section .promo-col-divider {
	flex: 0 0 1px;
	align-self: stretch;
	background: rgba(255, 255, 255, 0.5);
	display: block;
}

/* Link card occupa tutta la colonna */
.hk-promo-section .promo-col a {
	flex: 1;
	display: flex;
	min-height: 260px;
}

/* Card con immagine nel markup (img.promo-bg-img) */
.hk-promo-section .image-box-base {
	position: relative;
	width: 100%;
	min-height: 260px;
	overflow: hidden;
	border: none;
	border-radius: 0;
	text-decoration: none;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* Immagine di sfondo (tag img nel HTML) */
.hk-promo-section .promo-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: -1;
	transform: scale(1.02);
	transition: transform 0.5s ease;
}
.hk-promo-section .image-box-base:hover .promo-bg-img {
	transform: scale(1.08);
}

/* Overlay scuro sopra l'immagine */
.hk-promo-section .image-box-base::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.2));
	z-index: 0;
}

/* Titolo card (p) */
.hk-promo-section .image-box-base > p {
	position: relative;
	z-index: 2;
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin: 0 0 16px 0;
	color: #fff;
}

/* Contenitore bottone centrato */
.hk-promo-section .center-content {
	position: relative;
	z-index: 2;
}

/* Bottone CTA (stesso stile rosso per entrambe le card) */
.hk-promo-section .image-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	background: #E74338;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.2s ease;
	white-space: nowrap;
	pointer-events: none;
}

.hk-promo-section .image-box-base:hover .image-btn {
	background: #c93a30;
	transform: translateY(-2px);
}

/* Responsive */
@media (min-width: 992px) {
	.hk-promo-section .image-box-base {
		min-height: 320px;
	}
}

@media (min-width: 768px) {
	.hk-promo-section .section-content-wrapper {
		padding: 0;
	}

	.hk-promo-section .hk-promo-inner .hero-title {
		font-size: 32px;
	}
}

@media (max-width: 767px) {
	.hk-promo-section .images-container {
		flex-direction: column;
	}

	.hk-promo-section .promo-col {
		flex: 0 0 auto;
	}

	.hk-promo-section .promo-col-divider {
		flex: 0 0 1px;
		width: 100%;
		height: 1px;
		align-self: stretch;
		background: rgba(255, 255, 255, 0.5);
	}

	.hk-promo-section .promo-col a,
	.hk-promo-section .image-box-base {
		min-height: 220px;
	}

	.hk-promo-section .image-box-base > p {
		font-size: 18px;
	}
}
