/* ─── Image Text Overlap Widget ─────────────────────────────────────────── */

.hbc-ito-wrap {
	position: relative;
}

.hbc-ito-inner {
	display: flex;
	align-items: center;
	width: 100%;
}

/* ─── Image column ──────────────────────────────────────────────────────── */

.hbc-ito-image-col {
	position: relative;
	flex-shrink: 0;
	overflow: hidden;
}

.hbc-ito-img {
	display: block;
	width: 100%;
	height: 420px;
	object-fit: cover;
}

/* ─── Card ──────────────────────────────────────────────────────────────── */

.hbc-ito-card {
	flex: 1;
	min-width: 0;
	position: relative;
	z-index: 2;
	background-color: #ffffff;
	padding: 50px 60px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
	/* Overlap: pull card left over the image */
	margin-left: calc(-1 * var(--ito-overlap, 80px));
}

/* Right layout variant ─────────────────────────────────────────────────── */

.hbc-ito--right .hbc-ito-inner {
	flex-direction: row-reverse;
}

.hbc-ito--right .hbc-ito-card {
	margin-left: 0;
	margin-right: calc(-1 * var(--ito-overlap, 80px));
}

/* ─── Label ─────────────────────────────────────────────────────────────── */

.hbc-ito-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.hbc-ito-label-line {
	display: inline-block;
	width: 28px;
	height: 2px;
	flex-shrink: 0;
	background-color: #c9a96e;
}

.hbc-ito-label-text {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #c9a96e;
}

/* ─── Heading ────────────────────────────────────────────────────────────── */

.hbc-ito-heading {
	margin: 0 0 24px;
	padding: 0;
	line-height: 1.2;
}

.hbc-ito-heading-plain {
	display: inline;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.2;
	color: #111111;
}

.hbc-ito-heading-accent {
	display: inline;
	font-size: 38px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.2;
	color: #c9a96e;
}

/* ─── Body ───────────────────────────────────────────────────────────────── */

.hbc-ito-body {
	width: 100%;
}

.hbc-ito-para {
	font-size: 15px;
	line-height: 1.7;
	color: #555555;
	word-break: break-word;
	overflow-wrap: break-word;
}

.hbc-ito-para + .hbc-ito-para {
	margin-top: 16px;
}

/* ─── Responsive: Tablet (≤1024px) ──────────────────────────────────────── */

@media (max-width: 1024px) {
	.hbc-ito-heading-plain,
	.hbc-ito-heading-accent {
		font-size: 30px !important;
	}
	.hbc-ito-para {
		font-size: 14px !important;
	}
}

/* ─── Responsive: Mobile (≤767px) ───────────────────────────────────────── */

@media (max-width: 767px) {
	.hbc-ito-inner,
	.hbc-ito--right .hbc-ito-inner {
		flex-direction: column !important;
	}

	.hbc-ito-image-col {
		width: 100% !important;
		flex-shrink: 0;
	}

	.hbc-ito-img {
		height: 240px !important;
	}

	.hbc-ito-card,
	.hbc-ito--right .hbc-ito-card {
		flex: none;
		width: 100%;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding: 28px 24px !important;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	}

	.hbc-ito-heading-plain,
	.hbc-ito-heading-accent {
		font-size: 22px !important;
		line-height: 1.25 !important;
	}

	.hbc-ito-label-text {
		font-size: 11px !important;
		letter-spacing: 1.5px !important;
	}

	.hbc-ito-para {
		font-size: 13px !important;
		line-height: 1.65 !important;
	}

	.hbc-ito-heading {
		margin-bottom: 16px !important;
	}

	.hbc-ito-label {
		margin-bottom: 12px !important;
	}

	.hbc-ito-para + .hbc-ito-para {
		margin-top: 12px !important;
	}
}

/* ─── Responsive: Small Mobile (≤480px) ─────────────────────────────────── */

@media (max-width: 480px) {
	.hbc-ito-img {
		height: 200px !important;
	}

	.hbc-ito-heading-plain,
	.hbc-ito-heading-accent {
		font-size: 20px !important;
	}
}
