.aktuelles-post-slider {
	--aktuelles-yellow: #ffd301;
	--aktuelles-pagination-width: 40px;
	position: relative;
	min-width: 0;
}

.aktuelles-post-slider:has(> .aktuelles-post-pagination) {
	padding-right: var(--aktuelles-pagination-width);
}

@media (min-width: 1025px) {
	.elementor-section.elementor-section-stretched.elementor-element-cdab6b1.qodef-elementor-content-grid > .elementor-container {
		max-width: min(84%, 1550px) !important;
		margin-inline: auto;
	}
}

.aktuelles-post-slider .aktuelles-post-viewport {
	position: relative;
	height: calc(var(--aktuelles-visible-cards, 3) * 148px - 20px);
	overflow: hidden;
}

.aktuelles-post-slider .aktuelles-post-slide {
	height: 128px;
}

.aktuelles-post-slider .aktuelles-post-card {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr) 32px;
	align-items: center;
	gap: clamp(10px, 1.6vw, 22px);
	box-sizing: border-box;
	height: 100%;
	padding: 12px clamp(12px, 2vw, 30px);
	border-radius: 8px;
	background: #fff;
	color: #2f3744;
	text-align: start;
	transition: background-color 0.4s ease;
}

.aktuelles-post-slider .swiper-slide-active .aktuelles-post-card,
.aktuelles-post-slider .swiper-slide-duplicate-active .aktuelles-post-card {
	background-color: var(--aktuelles-yellow);
}

.aktuelles-post-slider .aktuelles-post-date {
	display: grid;
	justify-items: center;
	min-width: 60px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.aktuelles-post-slider .aktuelles-post-day {
	margin: 0 0 3px;
	color: inherit;
	font-size: 26px;
	line-height: 1.2;
}

.aktuelles-post-slider .aktuelles-post-month {
	padding-bottom: 1px;
	border-bottom: 1px solid currentColor;
}

.aktuelles-post-slider .aktuelles-post-month-short {
	display: none;
}

.aktuelles-post-slider .aktuelles-post-year {
	margin-top: 2px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

html[lang^="ar"] .aktuelles-post-slider .aktuelles-post-day {
	font-weight: 600;
}

html[lang^="ar"] .aktuelles-post-slider .aktuelles-post-year {
	font-size: 13px;
	font-weight: 400;
}

html[lang^="de"] .aktuelles-post-slider .aktuelles-post-card {
	padding-block: 8px;
}

html[lang^="de"] .aktuelles-post-slider .aktuelles-post-date {
	font: 600 25px/1.3 "Amatic SC", cursive;
}

html[lang^="de"] .aktuelles-post-slider .aktuelles-post-year {
	font-size: 18px;
	line-height: 1.2;
}

.aktuelles-post-slider .aktuelles-post-title {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	color: inherit;
	overflow-wrap: anywhere;
	hyphens: auto;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.aktuelles-post-slider .aktuelles-post-arrow {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 50%;
	background-color: var(--aktuelles-yellow);
}

.aktuelles-post-slider .aktuelles-post-arrow::before {
	content: "";
	width: 5px;
	height: 5px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

.aktuelles-post-slider .aktuelles-post-card:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -4px;
}

.aktuelles-post-slider > .aktuelles-post-pagination {
	position: absolute;
	top: auto;
	right: 0;
	left: auto;
	bottom: 0 !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: var(--aktuelles-pagination-width);
	max-height: 100%;
	overflow-y: auto;
	transform: none;
}

.aktuelles-post-slider > .aktuelles-post-pagination .swiper-pagination-bullet {
	position: relative;
	top: auto;
	display: block;
	flex: 0 0 28px;
	width: 26px;
	margin: 0 !important;
}

.aktuelles-post-slider > .aktuelles-post-pagination .swiper-pagination-bullet::after {
	top: 50%;
	left: 50%;
	transform: translate(-55%, -58%);
}

@media (max-width: 680px) {
	.elementor-section.elementor-element-cdab6b1 > .elementor-container > .elementor-column > .elementor-widget-wrap {
		padding-inline: 4.4%;
	}

	.aktuelles-post-slider:has(> .aktuelles-post-pagination) {
		padding-right: 0;
	}

	.aktuelles-post-slider > .aktuelles-post-pagination {
		display: none;
	}

	.aktuelles-post-slider .aktuelles-post-viewport {
		height: 270px;
	}

	.elementor-element-cdab6b1 .aktuelles-post-slider {
		width: 88.5%;
		margin-inline: auto;
	}

	.aktuelles-post-slider .aktuelles-post-slide {
		margin-inline: 0 !important;
	}

	.aktuelles-post-slider .aktuelles-post-card,
	html[lang^="de"] .aktuelles-post-slider .aktuelles-post-card {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto minmax(0, 1fr) 26px;
		align-items: start;
		gap: 18px;
		padding: 30px clamp(22px, 7.5vw, 30px) 32px;
	}

	.aktuelles-post-slider .aktuelles-post-date {
		justify-self: start;
		min-width: 0;
		font-size: 15px;
	}

	.aktuelles-post-slider .aktuelles-post-day {
		justify-self: start;
		font-size: 23px;
	}

	html[lang^="de"] .aktuelles-post-slider .aktuelles-post-day {
		font-size: 19px;
	}

	html[lang^="de"] .aktuelles-post-slider .aktuelles-post-day::after {
		content: ".";
	}

	html[lang^="de"] .aktuelles-post-slider .aktuelles-post-month-full {
		display: none;
	}

	html[lang^="de"] .aktuelles-post-slider .aktuelles-post-month-short {
		display: inline;
	}

	.aktuelles-post-slider .aktuelles-post-title {
		font-size: 19px;
	}

	.aktuelles-post-slider .aktuelles-post-arrow {
		justify-self: end;
		width: 26px;
		height: 26px;
		margin-inline-end: 24px;
	}

	.aktuelles-post-slider:dir(rtl) .aktuelles-post-arrow::before {
		transform: rotate(225deg);
	}
}
