.latest-news {
	--text: #0f0f12;
	--muted: #34343a;
	--red: #CE1126;
	--red-dark: #a90e1f;
	--button-text: #fff;

	width: 100%;
}

.latest-news * {
	box-sizing: border-box;
}

.latest-news__grid {
	align-items: center;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(42px, 7vw, 112px);
	padding: clamp(34px, 6vw, 92px) clamp(22px, 8vw, 104px);
	width: 100%;
}

.latest-news__media {
	border: 0;
	height: clamp(360px, 31vw, 520px);
	overflow: hidden;
	width: 100%;
}

.latest-news__media .swiper-wrapper {
	align-items: center;
}

.latest-news__media-card {
	align-items: center;
	color: inherit;
	display: flex;
	height: clamp(360px, 31vw, 520px);
	justify-content: center;
	overflow: hidden;
	position: relative;
	text-decoration: none;
	width: 100%;
}

.latest-news__image {
	display: block;
	height: auto;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	object-position: center center;
	width: auto;
}

.latest-news__image--placeholder {
	align-items: center;
	aspect-ratio: 16 / 10;
	background: #f4f4f4;
	color: var(--text);
	display: flex;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 5vw, 3.2rem);
	justify-content: center;
	width: 100%;
}

.latest-news__image--placeholder::before {
	content: "Bild";
}

.latest-news__content {
	align-self: center;
	color: var(--text);
	display: grid;
	grid-template-rows: auto auto auto;
	max-width: 620px;
	width: 100%;
}

.latest-news__heading {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.6rem, 5vw, 4rem);
	font-weight: 400;
	line-height: 1;
	margin: 0 0 28px;
}

.latest-news__panels {
	display: grid;
}

.latest-news__panel {
	grid-area: 1 / 1;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity 600ms ease, transform 600ms ease;
}

.latest-news__panel.is-active {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.latest-news__panel.is-leaving {
	opacity: 0;
	transform: translateY(-10px);
}

.latest-news__title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.35rem, 2vw, 2rem);
	font-weight: 400;
	line-height: 1.22;
	margin: 0 0 20px;
}

.latest-news__title a {
	color: inherit;
	text-decoration: none;
}

.latest-news__title a:hover,
.latest-news__title a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 5px;
}

.latest-news__excerpt {
	color: var(--muted);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.05rem, 1.35vw, 1.3rem);
	line-height: 1.7;
}

.latest-news__excerpt p {
	margin: 0;
}

.latest-news__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 36px;
}

.latest-news__arrows {
	display: inline-flex;
	gap: 10px;
}

.latest-news__nav,
.latest-news__more {
	align-items: center;
	background: var(--red);
	border: 1px solid var(--red);
	border-radius: 10px;
	color: var(--button-text);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 700;
	justify-content: center;
	min-height: 46px;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.latest-news__nav {
	font-size: 1.25rem;
	width: 52px;
}

.latest-news__more {
	/* Matches the "View more videos" Elementor button (element
	   7cdadf2) on the homepage: font-size 20px, font-weight 500,
	   padding 20px 30px, border-radius 12px. */
	padding: 20px 30px;
	font-size: 20px;
	font-weight: 500;
	border-radius: 12px;
	min-height: 0;
}

.latest-news__nav:hover,
.latest-news__nav:focus-visible,
.latest-news__more:hover,
.latest-news__more:focus-visible {
	background: var(--red-dark);
	border-color: var(--red-dark);
	color: var(--button-text);
	outline: 2px solid rgba(206, 17, 38, 0.25);
	outline-offset: 3px;
	transform: translateY(-1px);
}

.latest-news__nav.swiper-button-disabled {
	cursor: default;
	opacity: 0.45;
	transform: none;
}

.latest-news__mobile-copy {
	display: none;
}

@media (max-width: 1024px) {
	.latest-news__grid {
		gap: 36px;
		padding-inline: 32px;
	}

	.latest-news__media,
	.latest-news__media-card {
		height: clamp(320px, 38vw, 440px);
	}
}

@media (max-width: 767px) {
	.latest-news__grid {
		display: block;
		padding: 0;
	}

	.latest-news__content {
		display: none;
	}

	.latest-news__media,
	.latest-news__media-card {
		height: 520px;
	}

	.latest-news__image {
		height: 520px;
		max-height: none;
		object-fit: cover;
		object-position: center center;
		width: 100%;
	}

	.latest-news__media-card::after {
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
		content: "";
		inset: 0;
		position: absolute;
		z-index: 1;
	}

	.latest-news__mobile-copy {
		bottom: 0;
		color: #fff;
		display: flex;
		flex-direction: column;
		gap: 14px;
		left: 0;
		padding: 34px 24px 30px;
		position: absolute;
		right: 0;
		z-index: 2;
	}

	.latest-news__mobile-heading {
		font-family: Georgia, "Times New Roman", serif;
		font-size: clamp(2.15rem, 12vw, 3.4rem);
		line-height: 1;
	}

	.latest-news__mobile-title {
		font-family: Georgia, "Times New Roman", serif;
		font-size: 1.55rem;
		line-height: 1.2;
	}

	.latest-news__mobile-excerpt {
		font-family: Georgia, "Times New Roman", serif;
		font-size: 1rem;
		line-height: 1.55;
	}
}

@media (prefers-reduced-motion: reduce) {
	.latest-news__panel,
	.latest-news__nav,
	.latest-news__more {
		transition-duration: 1ms;
	}
}