/* Termine-Seite */

.wiesn-termine-page {
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
}

.wiesn-termine-hero__overlay {
	background:
		radial-gradient(circle at center, #fff 0%, rgba(255, 255, 255, 0.99) 26%, rgba(255, 255, 255, 0.84) 48%, rgba(255, 255, 255, 0.48) 68%, rgba(255, 255, 255, 0.18) 84%, rgba(255, 255, 255, 0) 100%),
		linear-gradient(to bottom, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0.45) 72%, rgba(255, 255, 255, 0.82) 90%, #fff 100%);
}

.wiesn-termine-list {
	padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.wiesn-termine-list .wiesn-home-container {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.wiesn-termine-month + .wiesn-termine-month {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.wiesn-termine-month__title {
	margin: 0 0 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid #f29a30;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #171717;
	text-transform: capitalize;
}

.wiesn-termine-month__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.wiesn-termine-item {
	min-width: 0;
	max-width: 100%;
}

.wiesn-termine-item__inner {
	display: grid;
	grid-template-columns: minmax(4.5rem, 5.5rem) minmax(0, 1fr);
	gap: 1.25rem 1.5rem;
	align-items: start;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 1.35rem 1.5rem;
	border: 1px solid #e5e5e5;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.wiesn-termine-item__inner:hover {
	border-color: #f5d4a8;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.wiesn-termine-item--past .wiesn-termine-item__inner {
	opacity: 0.72;
}

.wiesn-termine-item__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	min-height: 5.5rem;
	padding: 0.65rem 0.5rem;
	border-radius: 0.85rem;
	background: #fff3dd;
	color: #c97d20;
	text-align: center;
	line-height: 1.1;
}

.wiesn-termine-item__day {
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.wiesn-termine-item__month {
	margin-top: 0.15rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.wiesn-termine-item__year {
	margin-top: 0.2rem;
	font-size: 0.7rem;
	font-weight: 600;
	opacity: 0.85;
}

.wiesn-termine-item__body {
	min-width: 0;
	max-width: 100%;
}

.wiesn-termine-item__time {
	margin: 0 0 0.35rem;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.45;
	color: #c97d20;
	letter-spacing: 0.01em;
}

.wiesn-termine-item__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.05rem, 2.5vw, 1.35rem);
	font-weight: 700;
	line-height: 1.35;
	color: #171717;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.wiesn-termine-item__text {
	font-size: 0.975rem;
	line-height: 1.65;
	color: #525252;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.wiesn-termine-item__text p {
	margin: 0 0 0.75rem;
}

.wiesn-termine-item__text p:last-child {
	margin-bottom: 0;
}

.wiesn-termine-empty {
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 639px) {
	.wiesn-termine-item__inner {
		grid-template-columns: minmax(3.75rem, 4.5rem) minmax(0, 1fr);
		gap: 0.75rem 0.85rem;
		padding: 1rem 0.85rem;
	}

	.wiesn-termine-item__date {
		min-height: 4.5rem;
		padding: 0.5rem 0.35rem;
	}

	.wiesn-termine-item__day {
		font-size: 1.35rem;
	}

	.wiesn-termine-item__month {
		font-size: 0.65rem;
	}

	.wiesn-termine-item__year {
		font-size: 0.6rem;
	}

	.wiesn-termine-item__time {
		font-size: 0.8125rem;
		margin-bottom: 0.3rem;
	}

	.wiesn-termine-item__title {
		margin-bottom: 0.4rem;
		font-size: 1.05rem;
	}
}
