.bt-banner-hero {
	--bt-color-title: var( --wp--preset--color--primary, #1d3461 );
	--bt-color-subtitle: var( --wp--preset--color--secondary, #7b2d8e );
	--bt-color-text: var( --wp--preset--color--foreground, #4a4a4a );
	--bt-color-bg-start: #fdf8f2;
	--bt-color-bg-end: #FCF7F1;
	--bt-font: var( --wp--preset--font-family--body, inherit );

	width: 100%;
	display: flex;
	align-items: stretch;
	gap: 24px;
	background-color: var( --bt-color-bg-end );
	background-image: var( --bt-bg-image, none ), linear-gradient( 135deg, var( --bt-color-bg-start ), var( --bt-color-bg-end ) );
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: 30px;
	font-family: var( --bt-font );
}

.bt-banner-hero__content {
	flex: 1 1 55%;
	padding: 32px 40px;
	min-width: 0;
}

.bt-banner-hero__title {
	color: var( --bt-color-title );
	margin: 0 0 8px;
	font-size: clamp( 1.5rem, 2vw + 1rem, 2rem );
}

.bt-banner-hero__subtitle {
	color: var( --bt-color-subtitle );
	font-weight: 600;
	margin: 0 0 16px;
}

.bt-banner-hero__description {
	color: var( --bt-color-text );
	line-height: 1.6;
	margin: 0 0 24px;
}

.bt-banner-hero__info {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
}

.bt-info-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.bt-info-row__icon img {
	width: 28px;
	height: 28px;
	display: block;
}

.bt-info-row__text {
	display: flex;
	flex-direction: column;
}

.bt-info-row__value {
	color: var( --bt-color-title );
	font-weight: 600;
}

.bt-info-row__label {
	color: var( --bt-color-text );
	font-size: 0.85em;
	opacity: 0.8;
}

.bt-banner-hero__image {
	flex: 1 1 45%;
	min-width: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.bt-banner-hero__image img {
	max-width: 100%;
	max-height: 500px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

/* Tablet: la imagen pasa ARRIBA del título, y todo se apila */
@media ( max-width: 1024px ) {
	.bt-banner-hero {
		flex-wrap: wrap;
		/* Si se subió una imagen específica para tablet/móvil, se usa esa;
		   si no, se sigue usando la de escritorio como respaldo. */
		background-image: var( --bt-bg-image-mobile, var( --bt-bg-image, none ) ), linear-gradient( 135deg, var( --bt-color-bg-start ), var( --bt-color-bg-end ) );
		background-position: top center;
	}
	.bt-banner-hero__content {
		flex: 1 1 100%;
		padding: 0 24px 24px;
		order: 2;
	}
	.bt-banner-hero__image {
		flex: 1 1 100%;
		justify-content: center;
		padding: 24px 24px 0;
		order: 1;
	}
	.bt-banner-hero__image img {
		max-height: 320px;
	}
}

/* Móvil: mismo orden (imagen arriba), sin alturas fijas que dejen huecos */
@media ( max-width: 600px ) {
	.bt-banner-hero__content {
		padding: 0 16px 20px;
	}
	.bt-banner-hero__info {
		flex-direction: column;
		gap: 14px;
	}
	.bt-banner-hero__image {
		padding: 20px 16px 0;
	}
	.bt-banner-hero__image img {
		max-height: 240px;
	}
}
