/* Article à la une — index.php, première page uniquement. */

.afrotheme-hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-md);
	margin-block-start: var(--space-lg);
	background: var(--color-bg-card);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}

@media (min-width: 782px) {
	.afrotheme-hero {
		grid-template-columns: 3fr 2fr;
		align-items: center;
	}
}

.afrotheme-hero__image {
	display: block;
	aspect-ratio: 16 / 9;
}

.afrotheme-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.afrotheme-hero__body {
	padding: var(--space-md);
}

@media (min-width: 782px) {
	.afrotheme-hero__body {
		padding: var(--space-lg);
	}
}

.afrotheme-hero__title {
	margin-block: var(--space-xs) var(--space-sm);
	font-size: var(--text-3xl);
}

@media (min-width: 782px) {
	.afrotheme-hero__title {
		font-size: var(--text-4xl);
	}
}

.afrotheme-hero__title a {
	text-decoration: none;
	color: var(--color-text);
}

.afrotheme-hero__title a:hover {
	color: var(--color-accent-hover);
}
