.lpf-getraenkekarte,
.lpf-speisekarte,
.lpf-mittagstisch {
	position: relative;
	z-index: 2;
	overflow: visible;
	background-color: var(--lpf-color-intro-bg);
	--lpf-menu-page-divider: color-mix(in srgb, var(--lpf-color-text) 18%, transparent);
	--e-global-color-8609b97: var(--lpf-menu-page-divider);
	--e-global-color-e08db64: var(--lpf-color-text);
	margin-top: calc(-1 * var(--lpf-torn-edge-overlap));
	margin-bottom: calc(-1 * var(--lpf-torn-edge-overlap));
	padding: calc(60px + var(--lpf-torn-edge-overlap)) 0;
	clip-path: var(--lpf-torn-edge-clip);
	filter: drop-shadow(1.1px 2px 0 rgba(70, 35, 15, 0.28)) drop-shadow(2.9px 5.1px 0 rgba(70, 35, 15, 0.16)) drop-shadow(6.9px 10.9px 10px rgba(70, 35, 15, 0.12));
}

.lpf-getraenkekarte::after,
.lpf-speisekarte::after,
.lpf-mittagstisch::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	clip-path: var(--lpf-torn-edge-clip);
	background:
		var(--lpf-torn-edge-highlight-top),
		var(--lpf-torn-edge-shadow-top),
		var(--lpf-torn-edge-shadow-bottom);
}

.lpf-getraenkekarte__texture,
.lpf-speisekarte__texture,
.lpf-mittagstisch__texture {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: url("/wp-content/themes/la-pastaria-fracasso/assets/images/paper-overlay-test.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	filter: saturate(0);
	mix-blend-mode: multiply;
	opacity: 0.2;
	pointer-events: none;
}

.lpf-getraenkekarte__inner,
.lpf-speisekarte__inner,
.lpf-mittagstisch__inner {
	position: relative;
	z-index: 2;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.lpf-getraenkekarte__content,
.lpf-speisekarte__content,
.lpf-mittagstisch__content {
	color: var(--lpf-color-text);
}

.lpf-getraenkekarte__content :is(h2, h3),
.lpf-speisekarte__content :is(h2, h3),
.lpf-mittagstisch__content :is(h2, h3) {
	margin: 2.5rem 0 1.25rem;
	font-family: var(--lpf-font-heading);
	font-size: clamp(1.35rem, 2.4vw, 1.875rem);
	font-weight: 400;
	line-height: 1.2;
	color: var(--lpf-color-text) !important;
}

.lpf-getraenkekarte__content :is(h2, h3):first-child,
.lpf-speisekarte__content :is(h2, h3):first-child,
.lpf-mittagstisch__content :is(h2, h3):first-child {
	margin-top: 0;
}

.lpf-getraenkekarte__content table,
.lpf-speisekarte__content table,
.lpf-mittagstisch__content table {
	width: 100%;
	margin-bottom: 2.5rem;
	border-collapse: collapse;
}

.lpf-getraenkekarte__content table td,
.lpf-getraenkekarte__content table th,
.lpf-speisekarte__content table td,
.lpf-speisekarte__content table th,
.lpf-mittagstisch__content table td,
.lpf-mittagstisch__content table th {
	padding: 15px 0;
	line-height: 1.5;
	vertical-align: top;
	color: var(--lpf-color-text) !important;
	border: none !important;
}

.lpf-getraenkekarte__content table tbody tr,
.lpf-speisekarte__content table tbody tr,
.lpf-mittagstisch__content table tbody tr {
	border-bottom: 1px solid var(--lpf-menu-page-divider) !important;
}

.lpf-getraenkekarte__content table tbody tr:hover > td,
.lpf-getraenkekarte__content table tbody tr:hover > th,
.lpf-speisekarte__content table tbody tr:hover > td,
.lpf-speisekarte__content table tbody tr:hover > th,
.lpf-mittagstisch__content table tbody tr:hover > td,
.lpf-mittagstisch__content table tbody tr:hover > th {
	background: transparent;
}

.lpf-getraenkekarte__content table tbody > tr:nth-child(odd) > td,
.lpf-getraenkekarte__content table tbody > tr:nth-child(odd) > th,
.lpf-speisekarte__content table tbody > tr:nth-child(odd) > td,
.lpf-speisekarte__content table tbody > tr:nth-child(odd) > th,
.lpf-mittagstisch__content table tbody > tr:nth-child(odd) > td,
.lpf-mittagstisch__content table tbody > tr:nth-child(odd) > th {
	background-color: transparent;
}

.lpf-getraenkekarte__content table td:last-child,
.lpf-speisekarte__content table td:last-child,
.lpf-mittagstisch__content table td:last-child {
	text-align: right;
	white-space: nowrap;
}

.lpf-getraenkekarte__content table td:nth-child(2),
.lpf-speisekarte__content table td:nth-child(2) {
	text-align: right;
	padding-right: 8px;
}

.lpf-speisekarte__content table tbody tr,
.lpf-mittagstisch__content table tbody tr {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 1rem;
	align-items: start;
}

.lpf-speisekarte__content table td,
.lpf-mittagstisch__content table td {
	display: block;
	width: auto !important;
}

.lpf-speisekarte__content table td:first-child,
.lpf-mittagstisch__content table td:first-child {
	text-align: left;
	padding-right: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.lpf-speisekarte__content table td:last-child,
.lpf-mittagstisch__content table td:last-child {
	padding-right: 0;
}

.lpf-getraenkekarte__content table.getraenke-tabelle {
	table-layout: fixed;
	width: 100%;
}

.lpf-getraenkekarte__content table.getraenke-tabelle tbody tr {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	column-gap: 1rem;
	align-items: start;
}

.lpf-getraenkekarte__content table.getraenke-tabelle td {
	display: block;
	width: auto !important;
}

.lpf-getraenkekarte__content table.getraenke-tabelle td:first-child {
	text-align: left;
	padding-right: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.lpf-getraenkekarte__content table.getraenke-tabelle td:nth-child(2),
.lpf-getraenkekarte__content table.getraenke-tabelle td:last-child {
	text-align: right;
	white-space: nowrap;
	padding-right: 0;
}

.lpf-getraenkekarte__note,
.lpf-speisekarte__note,
.lpf-mittagstisch__note {
	margin: 1rem 0 0;
	font-family: var(--lpf-font-body);
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--lpf-color-text);
}

.lpf-mittagstisch__intro {
	margin-bottom: 2.5rem;
}

.lpf-mittagstisch__intro-title {
	margin: 0 0 1rem;
	font-family: var(--lpf-font-heading);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 400;
	line-height: 1.2;
	color: var(--lpf-color-text);
}

.lpf-mittagstisch__intro-text {
	font-family: var(--lpf-font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--lpf-color-text);
}

.lpf-mittagstisch__intro-text p {
	margin: 0;
}

.lpf-mittagstisch__intro-text p + p {
	margin-top: 1rem;
}

.lpf-mittagstisch__gallery {
	margin-bottom: 2.5rem;
	overflow: visible;
}

.lpf-mittagstisch__gallery .ig-gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	overflow: visible;
}

.lpf-mittagstisch__gallery .ig-gallery__item {
	margin: 0;
	overflow: visible;
}

.lpf-mittagstisch__gallery .ig-gallery__image {
	display: block;
	width: 100%;
	height: 350px;
	object-fit: cover;
	object-position: center;
	box-sizing: border-box;
	border: 8px solid #ffffff;
	box-shadow: 5.1px 8px 4px rgba(55, 35, 20, 0.22);
	transform-origin: center center;
}

.lpf-mittagstisch__gallery .ig-gallery__item:nth-child(1) .ig-gallery__image {
	transform: rotate(1.2deg);
}

.lpf-mittagstisch__gallery .ig-gallery__item:nth-child(2) .ig-gallery__image {
	transform: rotate(-0.8deg);
}

.lpf-mittagstisch__gallery .ig-gallery__item:nth-child(3) .ig-gallery__image {
	transform: rotate(1deg);
}

.lpf-mittagstisch__gallery .ig-gallery__item:nth-child(4) .ig-gallery__image {
	transform: rotate(-1deg);
}

.lpf-speisekarte__content .zusatzinfo,
.lpf-mittagstisch__content .zusatzinfo {
	font-family: "Aleo", Georgia, "Times New Roman", serif;
	font-weight: 300;
}

.lpf-speisekarte__content .zusatzinfo:empty,
.lpf-mittagstisch__content .zusatzinfo:empty,
.lpf-mittagstisch__content .zusatzinfo p:empty {
	display: none;
}

@media (max-width: 900px) {
	.lpf-getraenkekarte,
	.lpf-speisekarte,
	.lpf-mittagstisch {
		padding: calc(48px + var(--lpf-torn-edge-overlap)) 0;
	}

	.lpf-getraenkekarte__inner,
	.lpf-speisekarte__inner,
	.lpf-mittagstisch__inner {
		padding: 0 1.25rem;
	}

	.lpf-getraenkekarte__content :is(h2, h3),
	.lpf-speisekarte__content :is(h2, h3),
	.lpf-mittagstisch__content :is(h2, h3) {
		margin-top: 2rem;
	}

	.lpf-getraenkekarte__content table,
	.lpf-speisekarte__content table,
	.lpf-mittagstisch__content table {
		font-size: 0.95rem;
	}

	.lpf-getraenkekarte__content table.getraenke-tabelle tbody tr,
	.lpf-speisekarte__content table tbody tr,
	.lpf-mittagstisch__content table tbody tr {
		column-gap: 0.75rem;
	}

	.lpf-mittagstisch__gallery .ig-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lpf-mittagstisch__gallery .ig-gallery__image {
		height: auto;
		aspect-ratio: 1 / 1;
		max-height: 420px;
	}
}
