/**
 * Hero Blurred Background Panel
 * ============================================================================
 * Hero with blurred background image and optional content card.
 *
 * Load order: After panel-base.css
 * Dependencies: 00-tokens.css (design tokens)
 * ============================================================================
 */

.hero-blurred-bg-panel {
	position: relative;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hero-blurred-bg-panel .hero-background {
	position: absolute;
	inset: -20px;
	z-index: 0;
}

.hero-blurred-bg-panel .hero-background__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-blurred-bg-panel .hero-background__overlay {
	position: absolute;
	inset: 0;
}

.hero-blurred-bg-panel .hero-background__overlay--gradient {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-blurred-bg-panel .content {
	position: relative;
	z-index: 1;
	padding: var(--space-11) var(--space-7);
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	width: 100%;
}

/* Content card variants */
.hero-blurred-bg-panel .content-card {
	padding: var(--space-9);
}

.hero-blurred-bg-panel .content-card--white {
	background: var(--white);
	border-radius: var(--radius-md);
}

.hero-blurred-bg-panel .content-card--translucent {
	background: rgba(255, 255, 255, 0.85);
	border-radius: var(--radius-md);
	backdrop-filter: blur(4px);
}

.hero-blurred-bg-panel .content-card--white .panel-heading,
.hero-blurred-bg-panel .content-card--translucent .panel-heading {
	color: var(--brand-main);
}

.hero-blurred-bg-panel .content-card--white .subtitle,
.hero-blurred-bg-panel .content-card--translucent .subtitle {
	color: var(--black);
}

/* Typography */
.hero-blurred-bg-panel .panel-heading {
	color: var(--white);
	margin-bottom: var(--space-6);
}

.hero-blurred-bg-panel .subtitle {
	font-size: var(--text-lg);
	line-height: var(--leading-relaxed);
	color: var(--white);
	margin-bottom: var(--space-7);
}

.hero-blurred-bg-panel .button-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--space-4);
}

/* Outline button on dark background needs white text/border */
.hero-blurred-bg-panel .button.outline {
	color: var(--white);
}

/* ==========================================================================
   Responsive: Mobile (768px)
   ========================================================================== */

@media (width <= 768px) {
	.hero-blurred-bg-panel {
		min-height: 400px;
	}

	.hero-blurred-bg-panel .content {
		padding: var(--space-9) var(--space-6);
	}

	.hero-blurred-bg-panel .content-card {
		padding: var(--space-7);
	}
}

/* ==========================================================================
   Responsive: Small Mobile (480px)
   ========================================================================== */

@media (width <= 480px) {
	.hero-blurred-bg-panel .content {
		padding: var(--space-7) var(--space-4);
	}

	.hero-blurred-bg-panel .subtitle {
		font-size: var(--text-base);
	}

	.hero-blurred-bg-panel .button-container {
		flex-direction: column;
		gap: var(--space-3);
	}
}
