/**
 * Page hero banners — readable text on ALL inner pages
 */

.page-hero,
.page-hero--image,
.page-hero--modern {
	color: #ffffff;
}

.page-hero--image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 340px;
	padding: 5.5rem 0 4rem;
	background-color: var(--color-primary);
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
	border-bottom: 3px solid var(--color-accent-gold);
}

.page-hero--image .page-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(105deg, rgba(var(--color-primary-rgb), 0.94) 0%, rgba(var(--color-primary-rgb), 0.88) 50%, rgba(var(--color-primary-rgb), 0.78) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(var(--color-primary-rgb), 0.65) 100%);
}

.page-hero--image .container {
	position: relative;
	z-index: 1;
	width: 100%;
}

.page-hero__inner {
	width: min(100%, 820px);
	margin: 0 auto;
	text-align: center;
	padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem);
	background: rgba(var(--color-primary-rgb), 0.65);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-lg, 16px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
	position: relative;
	z-index: 1;
}

.page-hero__inner::before {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	background: var(--gradient-accent);
	border-radius: 3px;
	margin: 0 auto 1.25rem;
}

/* Title — MUST be white on dark hero */
.page-hero .page-hero__title,
.page-hero--image .page-hero__title,
.page-hero--modern .page-hero__title,
.indrika-ui-modern .page-hero .page-hero__title,
.indrika-ui-modern .page-hero--image .page-hero__title {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	font-family: var(--font-serif);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.75rem;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

/* Subtitle */
.page-hero .page-hero__subtitle,
.page-hero--image .page-hero__subtitle,
.indrika-ui-modern .page-hero .page-hero__subtitle {
	color: rgba(255, 255, 255, 0.88) !important;
	font-size: clamp(0.95rem, 2vw, 1.1rem);
	line-height: 1.6;
	margin: 0;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* Fallback: no image hero (solid primary) */
.page-hero:not(.page-hero--image) .page-hero__title {
	color: #ffffff !important;
}

.page-hero:not(.page-hero--image) .page-hero__subtitle {
	color: var(--color-accent-gold-light) !important;
}
