/**
 * Featured hero section — 2×2 grid + magazine cover.
 */

.featured-hero-section {
	background: #fff;
	padding: 24px var(--bona-content-pad, 24px) 0;
	color: #111;
}

.featured-hero-section__inner {
	max-width: var(--bona-content-max, 1080px);
	width: 100%;
	margin: 0 auto;
}

.featured-hero-section__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, var(--bona-sidebar-width, 300px));
	gap: 28px;
	width: 100%;
	align-items: stretch;
}

.featured-hero-section__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 270px 270px;
	gap: 6px;
	min-width: 0;
	align-items: stretch;
}

/* Article cards (2×2 left) */
.featured-hero-section__card {
	position: relative;
	display: block;
	overflow: hidden;
	background: #333;
	border-radius: 15px;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}

.featured-hero-section__card--r1c1 {
	grid-row: 1;
	grid-column: 1;
}

.featured-hero-section__card--r1c2 {
	grid-row: 1;
	grid-column: 2;
}

.featured-hero-section__card--r2c1 {
	grid-row: 2;
	grid-column: 1;
}

.featured-hero-section__card--r2c2 {
	grid-row: 2;
	grid-column: 2;
}

/* Right column — magazine cover + subscribe */
.featured-hero-section__sidebar {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	gap: 10px;
	width: 100%;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

.featured-hero-section__cover {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.featured-hero-section__cover-media {
	line-height: 0;
	overflow: visible;
	background: transparent;
}

.featured-hero-section__cover-img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: top center;
}

.featured-hero-section__subscribe {
	display: block;
	width: 100%;
	padding: 11px 14px;
	background: #fff;
	color: #111;
	text-align: center;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid #d0d0d0;
	border-radius: 999px;
	box-sizing: border-box;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.featured-hero-section__subscribe:hover {
	background: #111;
	color: #fff;
	border-color: #111;
}

.featured-hero-section__card-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.4s ease;
}

.featured-hero-section__card--video {
	cursor: default;
}

.featured-hero-section__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	background: #111;
}

.featured-hero-section__video-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.featured-hero-section__video-link:hover h3 {
	opacity: 0.85;
}

.featured-hero-section__card:hover .featured-hero-section__card-media {
	transform: scale(1.04);
}

.featured-hero-section__card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.75) 0%,
		rgba(0, 0, 0, 0.1) 50%,
		transparent 100%
	);
	border-radius: 15px;
}

.featured-hero-section__card-info {
	position: absolute;
	bottom: 14px;
	left: 14px;
	right: 14px;
	color: #fff;
	z-index: 1;
}

.featured-hero-section__card-info h3 {
	font-family: 'Oswald', sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	line-height: 1.2;
	margin: 0;
}

.featured-hero-section__meta {
	display: block;
	font-family: 'Barlow', sans-serif;
	font-size: 11px;
	font-weight: 400;
	opacity: 0.75;
	margin-top: 4px;
	text-transform: uppercase;
}

@media (max-width: 900px) {
	.featured-hero-section__layout {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.featured-hero-section__grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
		gap: 6px;
	}

	.featured-hero-section__card--r1c1 {
		grid-row: 1;
		grid-column: 1;
	}

	.featured-hero-section__card--r1c2 {
		grid-row: 1;
		grid-column: 2;
	}

	.featured-hero-section__card--r2c1 {
		grid-row: 2;
		grid-column: 1;
	}

	.featured-hero-section__card--r2c2 {
		grid-row: 2;
		grid-column: 2;
	}

	.featured-hero-section__sidebar {
		display: none;
	}

	.featured-hero-section__card {
		display: block;
		position: relative;
		overflow: hidden;
		width: 100%;
		min-height: 180px;
		height: auto;
		aspect-ratio: 3 / 4;
	}

	.featured-hero-section__card-media {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}

	.featured-hero-section__card-overlay {
		position: absolute;
		inset: 0;
		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.88) 0%,
			rgba(0, 0, 0, 0.45) 42%,
			transparent 72%
		);
	}

	.featured-hero-section__card-info {
		position: absolute;
		bottom: 10px;
		left: 10px;
		right: 10px;
		background: transparent;
		padding: 0;
	}

	.featured-hero-section__card-info h3 {
		font-size: 11px;
		line-height: 1.25;
		letter-spacing: 0.3px;
		overflow: visible;
		display: block;
		word-wrap: break-word;
		overflow-wrap: anywhere;
	}

	.featured-hero-section__meta {
		font-size: 9px;
		line-height: 1.3;
		overflow: visible;
		white-space: normal;
	}
}
