/* ==========================================================================
   Homepage
   ========================================================================== */

/* --- Hero ------------------------------------------------------------------ */
.bim-hero {
	padding-top: var(--bim-space-xl);
	padding-bottom: var(--bim-space-xl);
	background: var(--bim-color-bg-alt);
	border-bottom: 1px solid var(--bim-color-border);
}

.bim-hero__inner {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: var(--bim-space-lg);
	align-items: center;
}

.bim-hero__poster {
	display: block;
	aspect-ratio: var(--bim-poster-ratio);
	border-radius: var(--bim-radius-md);
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0,0,0,0.12);
	background: var(--bim-color-surface);
}

.bim-hero__poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bim-hero__title {
	font-size: clamp(32px, 4.5vw, 52px);
	margin: 8px 0 var(--bim-space-sm);
}

.bim-hero__excerpt {
	font-size: 17px;
	color: var(--bim-color-text-muted);
	max-width: 60ch;
	margin-bottom: var(--bim-space-md);
}

/* --- Responsive -------------------------------------------------------------- */
@media (max-width: 960px) {
	.bim-hero__inner {
		grid-template-columns: 240px 1fr;
	}
}

@media (max-width: 640px) {
	.bim-hero__inner {
		grid-template-columns: 1fr;
	}

	.bim-hero__poster {
		max-width: 260px;
		margin: 0 auto;
	}

	.bim-hero__content {
		text-align: center;
	}

	.bim-hero__excerpt {
		margin-left: auto;
		margin-right: auto;
	}
}
