/* Wiesn-Videos - Kacheln wie bisher (VC Grid Item) */

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

.wiesn-videos-grid {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
	background: linear-gradient(180deg, #fff 0%, #fafafa 40%, #fff 100%);
}

.wiesn-videos-grid__items {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 2.5rem 1.5rem;
	max-width: 72rem;
	margin: 0 auto;
}

@media (min-width: 640px) {
	.wiesn-videos-grid__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.wiesn-videos-grid__items {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2.75rem 2rem;
	}
}

.wiesn-videos-card {
	display: flex;
	justify-content: center;
}

.wiesn-videos-card__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 100%;
	text-align: center;
	text-decoration: none;
	color: inherit;
}

.wiesn-videos-card__media {
	width: 100%;
	line-height: 0;
	border-radius: 1rem;
	overflow: hidden;
	background: #f5f5f5;
}

.wiesn-videos-card__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	margin: 0 auto;
	border: none;
	box-shadow: none;
	object-fit: contain;
	object-position: center center;
	transition: transform 0.35s ease;
}

.wiesn-videos-card__link:hover .wiesn-videos-card__img {
	transform: scale(1.02);
}

.wiesn-videos-card__title {
	margin: 1rem 0 0;
	padding: 0 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	color: #171717;
	transition: color 0.2s ease;
}

.wiesn-videos-card__link:hover .wiesn-videos-card__title {
	color: #c97d20;
}

.wiesn-videos-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.85rem;
	padding: 0.65rem 1.35rem;
	border-radius: 9999px;
	background: #f29a30;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.wiesn-videos-card__link:hover .wiesn-videos-card__btn {
	background: #e08a22;
	transform: translateY(-1px);
}

.wiesn-videos-page .wiesn-format-archive-content {
	padding-bottom: 0;
}
