/**
 * Small Hero Block Styles
 * Small hero block styles – title + description on fixed image background
 *
 * Based on Experis Academy Figma (small hero)
 * Background: assets/img/small-hero-bg.jpg (fixed)
 */

.small-hero {
	position: relative;
	width: 100vw;
	max-width: none !important;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0;
	overflow: hidden;
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.acfe-flexible-grid .small-hero,
.container .small-hero,
.site-main .small-hero {
	width: 100vw;
	max-width: none !important;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.small-hero {
    display: flex;
    align-content: center;
}

.small-hero__container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--container-width, 1400px);
	margin: 0 auto;
	padding: 48px 24px;
	box-sizing: border-box;
}

.small-hero__title {
	font-family: var(--font-family-hebrew);
	font-size: var(--font-size-7xl);
	font-weight: 800;
	line-height: 1.2;
	color: var(--color-white);
	margin: 0 0 16px;
	word-break: break-word;
}

.small-hero__description {
	color: var(--color-white);
	margin: 0;
	opacity: 0.95;
}

.small-hero__description p {
	font-family: var(--font-family-hebrew);
	font-size: var(--font-size-lg);
	font-weight: var(--font-weight-normal);
	line-height: 1.5;
	margin: 0;
}

/* Tablet */
@media (max-width: 1024px) {
	.small-hero {
		min-height: 240px;
		background-attachment: scroll;
	}
	.small-hero__title {
		font-size: var(--font-size-3xl);
	}
	.small-hero__description p {
		font-size: var(--font-size-base);
	}
}

/* Mobile */
@media (max-width: 768px) {
	.small-hero {
		min-height: 220px;
	}
	.small-hero__container {
		padding: 32px 20px;
	}
	.small-hero__title {
		font-size: var(--font-size-2xl);
		margin-bottom: 12px;
	}
	.small-hero__description p {
		font-size: var(--font-size-sm);
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.small-hero {
		background-attachment: scroll;
	}
}
