.mediach-hero {
	margin-top: 24px;
	margin-bottom: 36px;
}

.mediach-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.85fr);
	gap: 20px;
	align-items: stretch;
}

.mediach-hero__main {
	position: relative;
	height: clamp(300px, 34vw, 396px);
	border-radius: 24px;
	overflow: clip;
	background: #0f172a;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
	touch-action: pan-y;
}

.mediach-hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transform: scale(1.02);
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.mediach-hero-slide.is-active {
	opacity: 1;
	pointer-events: auto;
	transform: scale(1);
}

.mediach-hero-slide__link,
.mediach-hero-side-card__link {
	display: block;
	height: 100%;
	color: inherit;
}

.mediach-hero-slide__media,
.mediach-hero-side-card__media {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #1e293b, #0f172a);
}

.mediach-hero-slide__media::after,
.mediach-hero-side-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.22) 34%, rgba(15, 23, 42, 0.88) 100%);
}

.mediach-hero-slide__image,
.mediach-hero-side-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mediach-hero-slide__placeholder,
.mediach-hero-side-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.mediach-hero-slide__badge,
.mediach-hero-side-card__badge {
	position: absolute;
	left: 22px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(239, 68, 68, 0.96);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mediach-hero-slide__badge {
	top: 22px;
}

.mediach-hero-slide__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	padding: 92px 32px 58px;
	color: #fff;
}

.mediach-hero-slide__meta,
.mediach-hero-side-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	color: rgba(255, 255, 255, 0.84);
	font-size: 11px;
	font-weight: 700;
}

.mediach-hero-slide__title {
	display: -webkit-box;
	max-width: calc(100% - 190px);
	margin: 0;
	color: #fff;
	font-size: 28px;
	font-weight: 900;
	line-height: 1.18;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: clip;
}

.mediach-hero-slide__excerpt {
	display: none;
}

.mediach-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.55);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background 0.2s ease, transform 0.2s ease;
}

.mediach-hero__arrow:hover {
	background: rgba(239, 68, 68, 0.94);
	transform: translateY(-50%) scale(1.04);
}

.mediach-hero__arrow--prev {
	left: 18px;
}

.mediach-hero__arrow--next {
	right: 18px;
}

.mediach-hero__dots {
	position: absolute;
	left: 28px;
	bottom: 26px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 8px;
}

.mediach-hero__dot {
	width: 10px;
	height: 10px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: width 0.2s ease, background 0.2s ease;
}

.mediach-hero__dot.is-active {
	width: 26px;
	background: #ef4444;
}

.mediach-hero__archive-link {
	position: absolute;
	right: 24px;
	bottom: 22px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(239, 68, 68, 0.95);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mediach-hero__archive-link:hover {
	background: #fff;
	color: #b91c1c;
}

.mediach-hero__side {
	display: grid;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 16px;
	min-height: clamp(300px, 34vw, 396px);
}

.mediach-hero-side-card {
	position: relative;
	min-height: 0;
	border-radius: 22px;
	overflow: clip;
	background: #0f172a;
	box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mediach-hero-side-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 38px rgba(15, 23, 42, 0.14);
}

.mediach-hero-side-card__badge {
	top: 16px;
	left: 16px;
	padding: 6px 10px;
	font-size: 9px;
}

.mediach-hero-side-card__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	padding: 88px 18px 18px;
	color: #fff;
}

.mediach-hero-side-card__title {
	display: -webkit-box;
	margin: 0;
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: clip;
}

.mediach-hero__empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	height: 100%;
	padding: 34px;
	color: #fff;
}

.mediach-hero__empty h2 {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 900;
}

.mediach-hero__empty p {
	margin: 0;
	max-width: 460px;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.7;
}

@media (max-width: 992px) {
	.mediach-hero__grid {
		grid-template-columns: 1fr;
	}

	.mediach-hero__side {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: none;
		min-height: auto;
	}
}

@media (max-width: 900px) {
	.mediach-hero {
		margin-top: 18px;
	}

	.mediach-hero__main {
		height: clamp(280px, 54vw, 336px);
	}

	.mediach-hero-slide__overlay {
		padding: 82px 24px 70px;
	}

	.mediach-hero-slide__title {
		max-width: 100%;
		font-size: 22px;
	}

	.mediach-hero-slide__excerpt {
		max-width: 100%;
		font-size: 13px;
		-webkit-line-clamp: 2;
	}

	.mediach-hero__archive-link {
		right: 20px;
		bottom: 18px;
	}
}

@media (max-width: 640px) {
	.mediach-hero__main {
		height: clamp(232px, 58vw, 276px);
		border-radius: 20px;
	}

	.mediach-hero__side {
		grid-template-columns: 1fr;
	}

	.mediach-hero-slide__badge,
	.mediach-hero-side-card__badge {
		left: 16px;
	}

	.mediach-hero-slide__badge {
		top: 16px;
	}

	.mediach-hero-slide__overlay {
		padding: 74px 18px 60px;
	}

	.mediach-hero-slide__meta,
	.mediach-hero-side-card__meta {
		gap: 8px;
		margin-bottom: 10px;
		font-size: 10px;
	}

	.mediach-hero-slide__title {
		font-size: 18px;
		-webkit-line-clamp: 2;
	}

	.mediach-hero-slide__excerpt,
	.mediach-hero__arrow {
		display: none;
	}

	.mediach-hero__dots {
		left: 18px;
		bottom: 20px;
	}

	.mediach-hero__archive-link {
		right: 16px;
		bottom: 14px;
		padding: 8px 12px;
		font-size: 10px;
	}

	.mediach-hero-side-card {
		min-height: 184px;
		border-radius: 18px;
	}

	.mediach-hero-side-card__overlay {
		padding: 72px 16px 16px;
	}

	.mediach-hero-side-card__title {
		font-size: 15px;
	}
}
