/**
 * Urra Core — Header Banner widget styles.
 *
 * Scoped under `.uc-header-banner` to avoid Elementor / theme bleed.
 */

.uc-header-banner {
	--uc-hb-bg: var(--e-global-color-primary, #3399cc);
	--uc-hb-title-color: #ffffff;
	--uc-hb-desc-color: rgba(255, 255, 255, 0.92);
	--uc-hb-gap: 1.5rem;
	--uc-hb-title-size: clamp(1.5rem, 2.4vw, 2rem);
	--uc-hb-desc-size: clamp(0.9375rem, 1.4vw, 1.0625rem);

	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: var(--uc-hb-gap);
	width: 100%;
	box-sizing: border-box;
	background-color: var(--uc-hb-bg);
	color: var(--uc-hb-title-color);
	font-family: var(--urra-font-body, inherit);
}

.uc-header-banner__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1 1 auto;
	min-width: 0;
	gap: 0.75rem;
}

.uc-header-banner__title {
	margin: 0;
	padding: 0;
	color: var(--uc-hb-title-color);
	font-family: var(--urra-font-heading, inherit);
	font-size: var(--uc-hb-title-size);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.uc-header-banner__description {
	margin: 0;
	padding: 0;
	max-width: 52rem;
	color: var(--uc-hb-desc-color);
	font-size: var(--uc-hb-desc-size);
	font-weight: 400;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.uc-header-banner {
		--uc-hb-gap: 1.25rem;

		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
	}
}
