/*
 * Craftis Section Heading widget — frontend styles.
 * Colors/fonts fall back to the theme's design tokens (craftis-dynamic.css)
 * via var(); most visual properties are Elementor Style-tab controls
 * (class-section-heading.php) applied via {{WRAPPER}} selectors — this
 * file only supplies structural layout and un-controlled defaults.
 */

.craftis-section-heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.craftis-section-heading__eyebrow {
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 0.13em;
	font-size: 0.75rem;
	color: var(--color-accent-sage, #8FA089);
	margin-bottom: 12px;
}

.craftis-section-heading__title {
	margin: 0;
	font-family: var(--font-heading, 'Metropolis'), sans-serif;
	font-weight: var(--font-heading-weight, 300);
	font-size: 2.5rem;
	line-height: 1.2;
	color: var(--color-text, #1F1E1B);
}

/* Highlighted word/phrase inside the heading (render_text_with_highlight())
 * — same Runethia accent-font treatment as the Hero Slider's title
 * highlight (hero-slider.css), shared visual language across both widgets. */
.craftis-highlight-word {
	font-family: 'Runethia', cursive;
	font-weight: 400;
}

.craftis-section-heading__divider {
	display: block;
	width: 60px;
	height: 2px;
	margin-top: 20px;
	background-color: var(--color-line, #E2DFDA);
}
