/* =============================================================
   hero-cream.css — Yellow/cream hero section (shared component)
   Used on: Homepage, Αρθρογραφία, Βιογραφικό, Επικοινωνία
   ============================================================= */

.hero-cream {
	background-color: var(--color-cream);
	width: 100%;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Background image variant */
.hero-cream--has-bg {
	position: relative;
	overflow: hidden;
}

.hero-cream__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-cream__overlay {
	position: absolute;
	inset: 0;
	background-color: var(--color-cream-overlay-82);
}

.hero-cream--has-bg .hero-cream__inner {
	position: relative;
	z-index: 1;
}

.hero-cream__inner {
	padding-top: var(--section-py);
	padding-bottom: var(--section-py);
	text-align: center;
}

.hero-cream__heading {
	font-family: var(--font-primary);
	font-size: var(--text-h1);
	font-weight: var(--weight-regular);
	color: var(--color-primary);
	line-height: var(--lh-tight);
	margin-bottom: var(--gap-lg);
}

.hero-cream__subtitle {
	font-family: var(--font-primary);
	font-size: var(--text-body-lg);
	font-weight: var(--weight-regular);
	color: var(--color-text);
	line-height: var(--lh-body);
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

/* Uppercase subtitle variant (CV page) */
.hero-cream__subtitle--uppercase {
	font-size: var(--text-body);
	color: var(--color-text-secondary);
	text-transform: uppercase;
	letter-spacing: var(--ls-subtitle);
	max-width: none;
}

/* Hero image (Homepage — below subtitle) */
.hero-cream__image {
	margin-top: var(--gap-xl);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.hero-cream__image img {
	display: inline-block;
	max-width: 120px;
	height: auto;
}

/* Decorative Ψ brand mark (Homepage only) */
.hero-cream__logo {
	margin-top: var(--gap-xl);
	display: flex;
	justify-content: center;
}

.hero-cream__logo img {
	width: 120px;
	height: auto;
}

@media (max-width: 768px) {
	.hero-cream {
		min-height: 200px;
	}

	.hero-cream__heading {
		margin-bottom: var(--gap-sm);
	}

	.hero-cream__subtitle {
		font-size: var(--text-body);
	}

	.hero-cream__logo img {
		width: 80px;
	}
}
