/* Einzelbeiträge (Formate, News, …) */

.wiesn-post-single {
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
}

.wiesn-post-single-hero__overlay {
	background:
		radial-gradient(circle at center, #fff 0%, rgba(255, 255, 255, 0.98) 30%, rgba(255, 255, 255, 0.75) 55%, rgba(255, 255, 255, 0.35) 78%, rgba(255, 255, 255, 0) 100%),
		linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.85) 88%, #fff 100%);
}

.wiesn-post-single-hero .wiesn-post-single__back--desktop {
	text-align: center;
}

.wiesn-post-single-hero__text {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.wiesn-post-single__body {
	padding-top: clamp(1.5rem, 4vw, 2.5rem);
	padding-bottom: clamp(3rem, 7vw, 5rem);
}

.wiesn-post-single__back {
	margin: 0 0 1.25rem;
}

.wiesn-post-single__back--mobile {
	display: block;
}

.wiesn-post-single__back--desktop {
	display: none;
}

@media (min-width: 768px) {
	.wiesn-post-single__back--mobile {
		display: none;
	}

	.wiesn-post-single__back--desktop {
		display: block;
	}
}

.wiesn-post-single__back-kicker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #f29a30;
	text-decoration: none;
	transition: color 0.2s ease;
}

.wiesn-post-single__back-kicker:hover {
	color: #c97d20;
}

.wiesn-post-single__back-kicker-arrow {
	font-size: 1rem;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
}

.wiesn-post-single__content {
	max-width: 56rem;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #404040;
}

.wiesn-post-single__content > *:first-child {
	margin-top: 0;
}

.wiesn-post-single__content > *:last-child {
	margin-bottom: 0;
}

.wiesn-post-single__content .vc_row,
.wiesn-post-single__content .vc_column,
.wiesn-post-single__content .vc_column-inner,
.wiesn-post-single__content .wpb_wrapper {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
}

.wiesn-post-single__content .vc_empty_space {
	height: 1.25rem !important;
}

.wiesn-post-single__content h2,
.wiesn-post-single__content h3,
.wiesn-post-single__content h4 {
	margin: 2rem 0 1rem;
	color: #171717;
	font-weight: 600;
	line-height: 1.35;
}

.wiesn-post-single__content h2 {
	font-size: clamp(1.5rem, 3vw, 1.875rem);
}

.wiesn-post-single__content h3 {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.wiesn-post-single__content p {
	margin: 0 0 1.25rem;
}

.wiesn-post-single__content a {
	color: #c97d20;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 2px;
	word-break: break-word;
}

.wiesn-post-single__content a:hover {
	color: #f29a30;
}

.wiesn-post-single__content img,
.wiesn-post-single__content figure img {
	max-width: 100%;
	height: auto;
	border-radius: 0.75rem;
}

.wiesn-post-single__content figure {
	margin: 1.5rem 0;
}

.wiesn-post-single__content figcaption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: #737373;
	text-align: center;
}

.wiesn-post-single__content ul,
.wiesn-post-single__content ol {
	margin: 0 0 1.25rem 1.25rem;
	padding: 0;
}

.wiesn-post-single__content li {
	margin-bottom: 0.35rem;
}

.wiesn-post-single__content blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border-left: 4px solid #f29a30;
	background: #fafafa;
	border-radius: 0 0.75rem 0.75rem 0;
	color: #525252;
}

.wiesn-post-single__content .wpb_video_wrapper,
.wiesn-post-single__content .wp-video,
.wiesn-post-single__content .mejs-container,
.wiesn-post-single__content iframe {
	max-width: 100%;
}

.wiesn-post-single__content .wpb_video_wrapper {
	margin: 1.5rem 0;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

/* WPB 16:9-Box beibehalten - Borlabs-Platzhalter füllt den Frame wie ein iframe */
body.wiesn-redesign.wiesn-post-single-page #wiesn-post-single .wpb_video_wrapper:has(.brlbs-cmpnt-content-blocker),
body.wiesn-redesign.wiesn-post-single-page #wiesn-post-single .wpb_video_wrapper:has([data-borlabs-cookie-content-blocker-id]) {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	height: 0 !important;
	padding-top: 56.25% !important;
	overflow: hidden;
}

.wiesn-post-single__content .wpb_video_wrapper iframe,
.wiesn-post-single__content iframe[src*="youtube"],
.wiesn-post-single__content iframe[src*="vimeo"] {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	min-height: 200px;
	border: 0;
}

/* Borlabs außerhalb von WPB-Video-Wrapper */
body.wiesn-redesign.wiesn-post-single-page #wiesn-post-single .wiesn-post-single__content .brlbs-cmpnt-container.brlbs-cmpnt-content-blocker,
body.wiesn-redesign.wiesn-post-single-page #wiesn-post-single .wiesn-post-single__content [data-borlabs-cookie-content-blocker-id] {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	max-width: 100% !important;
	aspect-ratio: 16 / 9;
	min-height: 200px;
	margin: 1.5rem 0;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
	box-sizing: border-box;
}

body.wiesn-redesign.wiesn-post-single-page #wiesn-post-single .wiesn-post-single__content p:has(> .brlbs-cmpnt-container),
body.wiesn-redesign.wiesn-post-single-page #wiesn-post-single .wiesn-post-single__content p:has(> [data-borlabs-cookie-content-blocker-id]) {
	width: 100%;
	margin: 1.5rem 0;
}

/* WPB: Platzhalter absolut im 16:9-Frame (nach allgemeinen Borlabs-Regeln) */
body.wiesn-redesign.wiesn-post-single-page #wiesn-post-single .wpb_video_wrapper > .brlbs-cmpnt-container,
body.wiesn-redesign.wiesn-post-single-page #wiesn-post-single .wpb_video_wrapper > [data-borlabs-cookie-content-blocker-id] {
	position: absolute !important;
	inset: 0 !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	aspect-ratio: auto !important;
	box-sizing: border-box !important;
	box-shadow: none !important;
	transform: none !important;
	border-radius: 0 !important;
}

body.wiesn-redesign.wiesn-post-single-page #wiesn-post-single .wpb_video_wrapper .brlbs-cmpnt-cb-preset-a {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 100%;
	padding: clamp(1rem, 3vw, 2rem);
	text-align: center;
	box-sizing: border-box;
}

.wiesn-post-single__content .mk-fancy-table,
.wiesn-post-single__content table {
	width: 100%;
	margin: 1.5rem 0;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.wiesn-post-single__content table th,
.wiesn-post-single__content table td {
	padding: 0.75rem 1rem;
	border: 1px solid #e5e5e5;
	text-align: left;
	vertical-align: top;
}

.wiesn-post-single__content table th {
	background: #fafafa;
	font-weight: 600;
	color: #171717;
}

.wiesn-post-single__content .table-responsive,
.wiesn-post-single__content .mk-fancy-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.wiesn-post-single__content .wp-block-embed,
.wiesn-post-single__content .wp-block-image {
	margin: 1.5rem 0;
}

.wiesn-post-single__content .alignwide,
.wiesn-post-single__content .alignfull {
	max-width: 100%;
}

/* Verwandte Beiträge */
.wiesn-post-single__related {
	margin: clamp(3rem, 7vw, 4.5rem) 0 0;
	padding-top: clamp(2rem, 5vw, 3rem);
	border-top: 1px solid #f0f0f0;
}

.wiesn-post-single__related-inner {
	max-width: 72rem;
	margin: 0 auto;
}

.wiesn-post-single__related-header {
	margin: 0 0 2.5rem;
	text-align: center;
}

.wiesn-post-single__related-kicker {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #f29a30;
}

.wiesn-post-single__related-title {
	margin: 0;
	font-family: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: clamp(1.875rem, 4vw, 2.25rem);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.15;
	color: #171717;
	text-align: center;
}

.wiesn-post-single__related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

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

@media (min-width: 1280px) {
	.wiesn-post-single__related-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Kommentare (deaktiviert, Styles bleiben für evtl. Admin-Vorschau) */
.wiesn-post-single__comments {
	max-width: 56rem;
	margin: clamp(3rem, 7vw, 4.5rem) auto 0;
	padding-top: clamp(2rem, 5vw, 3rem);
	border-top: 1px solid #f0f0f0;
}

.wiesn-comments__title {
	margin: 0 0 1.5rem;
	font-size: clamp(1.375rem, 3vw, 1.75rem);
	font-weight: 600;
	color: #171717;
}

.wiesn-comments__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wiesn-comments__list .children {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0 0 0 1rem;
	border-left: 2px solid #f5e6d3;
}

@media (min-width: 640px) {
	.wiesn-comments__list .children {
		padding-left: 1.75rem;
	}
}

.wiesn-comment {
	margin-bottom: 1.25rem;
}

.wiesn-comment__inner {
	padding: 1.25rem;
	background: #fafafa;
	border: 1px solid #f0f0f0;
	border-radius: 1rem;
}

.wiesn-comment__meta {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	margin-bottom: 0.75rem;
}

.wiesn-comment__avatar {
	border-radius: 9999px;
	flex-shrink: 0;
}

.wiesn-comment__name {
	display: block;
	font-style: normal;
	font-weight: 600;
	color: #171717;
}

.wiesn-comment__name a {
	color: inherit;
	text-decoration: none;
}

.wiesn-comment__date {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.8125rem;
	color: #737373;
}

.wiesn-comment__moderation {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	color: #a16207;
}

.wiesn-comment__content {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #404040;
}

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

.wiesn-comment__reply {
	margin: 0.75rem 0 0;
}

.wiesn-comment__reply a {
	font-size: 0.875rem;
	font-weight: 600;
	color: #c97d20;
	text-decoration: none;
}

.wiesn-comment__reply a:hover {
	color: #f29a30;
}

.wiesn-comments__closed {
	margin: 0 0 1.5rem;
	color: #737373;
}

.wiesn-comments__form {
	margin-top: 2rem;
	padding: clamp(1.25rem, 4vw, 1.75rem);
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 1.25rem;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.wiesn-comments__form .comment-reply-title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 600;
	color: #171717;
}

.wiesn-comments__form label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #404040;
}

.wiesn-comments__form input[type="text"],
.wiesn-comments__form input[type="email"],
.wiesn-comments__form input[type="url"],
.wiesn-comments__form textarea {
	width: 100%;
	max-width: 100%;
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid #e5e5e5;
	border-radius: 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #171717;
	background: #fff;
}

.wiesn-comments__form input:focus,
.wiesn-comments__form textarea:focus {
	outline: none;
	border-color: #f29a30;
	box-shadow: 0 0 0 3px rgba(242, 154, 48, 0.2);
}

.wiesn-comments__form textarea {
	min-height: 9rem;
	resize: vertical;
}

.wiesn-comments__submit,
.wiesn-comments__form .form-submit input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border: 0;
	border-radius: 9999px;
	background: #f29a30;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.wiesn-comments__submit:hover,
.wiesn-comments__form .form-submit input[type="submit"]:hover {
	background: #e08a22;
}

.wiesn-comments .comment-navigation {
	margin: 1.5rem 0;
	font-size: 0.9375rem;
}

.wiesn-comments .comment-navigation a {
	color: #c97d20;
	font-weight: 500;
	text-decoration: none;
}

.wiesn-zelte-single__body .wiesn-zelte-entry-content {
	max-width: 56rem;
}

.wiesn-zelte-entry-content {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #404040;
}
