/*
 * Fragile shared hero contract.
 *
 * Templates 106714 and 108528 use different artwork shapes but must keep one
 * natural-ratio edge treatment. Do not add a fixed aspect ratio, contain/cover
 * fitting, padding, or a decorative border here. Those changes crop operational
 * UI or create empty bands around another source shape. If either template or
 * widget ID changes, update this comment, DESIGN_SYSTEM.md, Neexa Press Help,
 * and the regression assertions before release. Retest Solution, Feature, Team,
 * Lifecycle, Integration, Product, and Region heroes on phone, tablet, and desktop.
 */
#uicore-tb-pagetitle {
	--nxa-hero-media-radius: 20px;
}

#uicore-tb-pagetitle :is(
	.elementor-106714 .elementor-element.elementor-element-5014652,
	.elementor-108528 .elementor-element.elementor-element-44e6a38
) > .elementor-widget-container {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	padding: 0;
	overflow: hidden;
	overflow: clip;
	background: transparent;
	border: 0;
	border-radius: var(--nxa-hero-media-radius);
}

#uicore-tb-pagetitle :is(
	.elementor-106714 .elementor-element.elementor-element-5014652,
	.elementor-108528 .elementor-element.elementor-element-44e6a38
) > .elementor-widget-container > img {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	height: auto;
	aspect-ratio: auto;
	border: 0;
	border-radius: inherit;
}

@media (min-width: 768px) and (max-width: 1024px) {
	#uicore-tb-pagetitle {
		--nxa-hero-media-radius: 16px;
	}
}

@media (max-width: 767px) {
	#uicore-tb-pagetitle {
		--nxa-hero-media-radius: 14px;
	}
}
