/**
 * Sekcja: hero archiwum aktualności.
 * Figma 14559:25948 — 1440×804, zdjęcie na całą szerokość, dwa białe gradienty
 * rozjaśniające lewy górny narożnik, poświata w prawym dolnym, hairline 1 px
 * (Union, biały 40%) na wysokości 103 px. Treść: kolumna 749 px wyśrodkowana pionowo.
 */

.news-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 804px;
	background-color: var(--color-surface);
	overflow: hidden;
}

.news-hero__bg {
	position: absolute;
	inset: 0;
}

.news-hero__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

/* Rozjaśnienie i poświata z makiety — wartości gradientów wprost z Figmy. */
.news-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(171.62deg, rgba(255, 255, 255, 0.9) 11.876%, rgba(255, 255, 255, 0) 26.59%),
		linear-gradient(133.62deg, rgba(255, 255, 255, 0.9) 33.625%, rgba(255, 255, 255, 0) 53.051%),
		radial-gradient(60% 45% at 76% 62%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}

.news-hero__bg::before {
	content: "";
	position: absolute;
	top: 103px;
	right: 0;
	left: 0;
	height: 1px;
	z-index: 1;
	background-color: rgba(255, 255, 255, 0.4);
}

.news-hero__inner {
	position: relative;
	max-width: 749px;
	padding-block: 120px;
}

.news-hero__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--fs-h1);
	font-weight: 400;
	line-height: var(--lh-heading);
	letter-spacing: var(--ls-heading);
	color: var(--color-ink);
}

/* Figma 14559:25949: pole 1440×1024, obraz 114.03% × 107.03% od lewego górnego rogu.
   Sekcja ma 804 px i ucina dół. Mobile zostaje przy cover. */
@media (min-width: 992px) {
	.news-hero__bg {
		bottom: auto;
		height: 1024px;
	}

	.news-hero__bg-img {
		position: absolute;
		width: 114.03%;
		height: 107.03%;
		left: 0.03%;
		top: 0;
		max-width: none;
		object-fit: fill;
	}
}

@media (max-width: 991px) {
	.news-hero {
		min-height: 540px;
	}

	.news-hero__inner {
		padding-block: 160px 80px;
	}
}

@media (max-width: 767px) {
	.news-hero {
		min-height: 0;
	}

	.news-hero__inner {
		padding-block: 140px 64px;
	}
}
