/**
 * Urra Core — Título de sección widget styles.
 *
 * Eyebrow + H2 con acento ** + subtítulo (misma lógica que Pilares).
 */

.elementor-widget-uc_section_title > .elementor-widget-container {
	overflow: visible;
}

.uc-st-wrap {
	--st-eyebrow-color: #009966;
	--st-eyebrow-line-color: #009966;
	--st-heading-color: #1a1a1a;
	--st-accent-color: #009966;
	--st-heading-size: 40px;
	--st-subtitle-color: rgba(31, 41, 55, 0.65);
	--st-subtitle-size: 16px;
	--st-stack-gap: 12px;

	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--st-stack-gap);
	width: 100%;
	margin: 0;
	padding: 0;
}

.uc-st-wrap,
.uc-st-wrap *,
.uc-st-wrap *::before,
.uc-st-wrap *::after {
	box-sizing: border-box;
}

/* Eyebrow (patrón Content Highlight) */
.uc-st__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	color: var(--st-eyebrow-color) !important;
	font-family: var(--urra-font-body, "Google Sans", sans-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.uc-st__eyebrow::before {
	content: "";
	display: block;
	flex: 0 0 28px;
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: var(--st-eyebrow-line-color);
}

.uc-st-wrap--no-eyebrow-line .uc-st__eyebrow::before {
	display: none;
}

/* Título (patrón Pilares) */
.uc-st__heading {
	width: 100%;
	margin: 0;
	padding: 0;
	color: var(--st-heading-color) !important;
	font-family: var(--urra-font-heading, "Poppins", sans-serif);
	font-size: var(--st-heading-size);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.uc-st-wrap .uc-st__heading .uc-st__heading-accent,
.uc-st-wrap .uc-st__heading > .uc-st__heading-accent {
	color: var(--st-accent-color) !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	font-style: inherit !important;
	font-variant: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
	text-transform: inherit !important;
	background: transparent !important;
	-webkit-text-fill-color: currentColor;
}

/* Subtítulo */
.uc-st__subtitle {
	width: 100%;
	margin: 0;
	padding: 0;
	max-width: 100%;
	color: var(--st-subtitle-color) !important;
	font-family: var(--urra-font-body, "Google Sans", sans-serif);
	font-size: var(--st-subtitle-size);
	font-weight: 400;
	line-height: 1.55;
}

/* Placeholder editor */
.uc-st-wrap.uc-st-wrap--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80px;
	padding: 20px;
	border: 1px dashed rgba(0, 0, 0, 0.15);
	color: rgba(31, 41, 55, 0.65);
	font-size: 14px;
	text-align: center;
}

@media (max-width: 767px) {
	.uc-st__heading {
		font-size: clamp(1.5rem, 6vw, var(--st-heading-size));
	}
}
