/**
 * HBC Updates / Blog Elementor widget layout corrections.
 * Scoped to this widget so the working archive and all other components are untouched.
 */
.elementor-widget-hbc-blog .chapter-heading {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2rem;
	align-items: end;
}

.elementor-widget-hbc-blog .updates-grid {
	position: static;
	display: grid;
	width: 100%;
	min-width: 0;
	margin-top: clamp(3rem, 6vw, 6rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-flow: row;
	grid-auto-rows: auto;
	gap: clamp(3rem, 5vw, 5rem) clamp(1.35rem, 3vw, 3.5rem);
	align-items: start;
	transform: none;
}

.elementor-widget-hbc-blog .updates-grid > .update-card {
	position: static;
	width: 100%;
	min-width: 0;
	margin: 0;
	transform: none;
}

.elementor-widget-hbc-blog .updates-grid .update-image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.elementor-widget-hbc-blog .updates-grid .update-image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
}

.elementor-widget-hbc-blog .updates-grid .update-image-empty {
	display: grid;
	place-items: center;
	padding: 15%;
}

.elementor-widget-hbc-blog .updates-grid .update-image-empty img {
	width: min(14rem, 72%);
	height: auto;
	object-fit: contain;
}

.elementor-widget-hbc-blog .updates-grid .update-meta {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.elementor-widget-hbc-blog .updates-grid .update-card h3,
.elementor-widget-hbc-blog .updates-grid .update-card h3 a,
.elementor-widget-hbc-blog .updates-grid .update-excerpt {
	max-width: 100%;
	overflow-wrap: anywhere;
}

.elementor-widget-hbc-blog .updates-grid .update-excerpt {
	margin-top: 1rem;
	line-height: 1.6;
}

@media (max-width: 1024px) {
	.elementor-widget-hbc-blog .updates-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.elementor-widget-hbc-blog .chapter-heading {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.elementor-widget-hbc-blog .updates-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
