.mbs-admin-page {
	width: calc(100% - 20px);
	max-width: 980px;
	box-sizing: border-box;
	padding-top: 25px;
	margin-right: auto;
}

.mbs-admin-hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin: 18px 0 24px;
	padding: 24px 28px;
	border: 1px solid #dcdcde;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.mbs-admin-hero h1 {
	margin: 0 0 8px;
}

.mbs-admin-hero p {
	margin: 0;
	max-width: 760px;
	color: #50575e;
}

.mbs-admin-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
	margin-bottom: 24px;
}

.mbs-admin-card {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 20px;
	border: 1px solid #dcdcde;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
	text-decoration: none;
	color: inherit;
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.mbs-admin-card:hover,
.mbs-admin-card:focus {
	transform: translateY(-2px);
	border-color: #c7cdd4;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
	color: inherit;
}

.mbs-admin-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #f6f7f7;
	color: #2271b1;
}

.mbs-admin-card__icon .dashicons {
	width: 24px;
	height: 24px;
	font-size: 24px;
}

.mbs-admin-card__body {
	min-width: 0;
}

.mbs-admin-card__body strong {
	display: block;
	margin-bottom: 8px;
	font-size: 16px;
	line-height: 1.35;
}

.mbs-admin-card__body p {
	margin: 0;
	color: #50575e;
	line-height: 1.55;
}

.mbs-admin-card__body p + .mbs-admin-card__hint {
	margin-top: 8px;
}

.mbs-admin-card__metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}

.mbs-admin-card__metric {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 7px;
	border: 1px solid #dcdcde;
	border-radius: 0;
	font-size: 11px;
	line-height: 1.3;
	font-weight: 600;
}

.mbs-admin-card__metric strong {
	margin: 0;
	font-size: inherit;
}

.mbs-admin-card__metric--without-alt {
	background: #fbeaea;
	border-color: #e2b8b8;
	color: #b32d2e;
}

.mbs-admin-card__metric--with-alt {
	background: #e7f5ea;
	border-color: #b7d9be;
	color: #1e6b36;
}

.mbs-admin-card__metric--ignored {
	background: #f0f0f1;
	border-color: #d2d2d4;
	color: #50575e;
}

.mbs-admin-card__metric--upcoming {
	background: #e7f5ea;
	border-color: #b7d9be;
	color: #1e6b36;
}

.mbs-admin-card__metric--past {
	background: #f0f0f1;
	border-color: #d2d2d4;
	color: #50575e;
}

.mbs-admin-card--settings {
	border-color: #ead39f;
	background: linear-gradient(180deg, #fffdf7 0%, #fff8ea 100%);
}

.mbs-admin-section {
	max-width: 920px;
	margin-bottom: 24px;
}

.mbs-admin-table {
	max-width: 920px;
	margin-bottom: 0;
}

.mbs-admin-form-table {
	max-width: 920px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 14px;
}

.mbs-admin-form-table th,
.mbs-admin-form-table td {
	padding: 16px 18px;
}

.mbs-admin-component-desc {
	display: inline-block;
	font-size: 16px;
	line-height: 1.5;
	color: #50575e;
}

.mbs-color-preview {
	display: inline-block;
	width: 24px;
	height: 24px;
	margin-left: 10px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 999px;
	vertical-align: middle;
}

@media (max-width: 782px) {
	.mbs-admin-hero {
		flex-direction: column;
		padding: 20px;
	}

	.mbs-admin-card {
		padding: 18px;
	}
}

.mbs-orientierungstage-year-divider td {
	border-top: 1px solid #dcdcde;
	padding: 0;
	height: 12px;
	background: transparent;
}

.mbs-orientierungstage-shortcode__year + .mbs-orientierungstage-shortcode__year {
	border-top: 1px solid #dcdcde;
	margin-top: 16px;
	padding-top: 16px;
}

.mbs-orientierungstage-shortcode__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 4px 0;
}

.mbs-orientierungstage-status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
	padding: 12px 18px;
	border-radius: 999px;
	background: #ebebeb;
	color: #3c434a;
	line-height: 1.3;
	box-sizing: border-box;
}

.mbs-orientierungstage-status__icon {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	color: #646970;
}

.mbs-orientierungstage-status__icon svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.mbs-orientierungstage-status__text {
	display: block;
	word-break: break-word;
}

.mbs-orientierungstage-status--closed {
	background: #e9ecef;
}

.mbs-orientierungstage-status-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
}

.mbs-orientierungstage-status-item__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	color: #646970;
}

.mbs-orientierungstage-status-item__icon svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.mbs-orientierungstage-status-item__text {
	word-break: break-word;
}

.mbs-orientierungstage-preview {
	padding: 14px 16px;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	background: #fff;
}

.mbs-orientierungstage-preview ul {
	margin-top: 10px;
	margin-bottom: 0;
}

.mbs-orientierungstage-preview li + li {
	margin-top: 6px;
}

.mbs-orientationstage__date {
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.mbs-orientationstage__date-item {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	border-radius: 10px;
	background-color: rgba(247, 168, 35, 0.31);
	color: var(--e-global-color-text, #474747);
	font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.6;
}

.mbs-orientationstage__date-icon {
	display: inline-flex;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	margin-right: 7px;
}

.mbs-orientationstage__date-icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.mbs-orientationstage-widget__date {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 12px;
	padding: 10px 20px;
	border-radius: 10px;
	background-color: rgba(247, 168, 35, .31);
	color: var(--e-global-color-text, #474747);
	font-size: 19px;
	line-height: 1.6;
}

.mbs-orientationstage-widget__date-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	font-size: 28px;
	line-height: 1;
}

.mbs-orientationstage-widget__date-icon i,
.mbs-orientationstage-widget__date-icon svg {
	width: 100%;
	height: 100%;
	font-size: 28px;
}

.mbs-orientationstage-widget__notice {
	margin: 0 0 16px;
	padding: 1.5rem;
	background-color: #fffaf0;
	border: 1px solid #d9d2c7;
	border-radius: .5rem;
}

.mbs-orientationstage-widget__notice-title,
.mbs-orientationstage-widget__notice-text {
	color: var(--e-global-color-text, #474747);
	font-family: var(--e-global-typography-text-font-family, inherit);
}

.mbs-orientationstage-widget__notice-title {
	display: block;
}

.mbs-orientationstage-widget__notice-text {
	margin: 4px 0 0;
}

.mbs-orientationstage-widget__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.mbs-orientationstage-widget__form-icon,
.mbs-orientationstage__form-icon {
	display: inline-flex;
	align-items: center;
	margin-right: .45em;
}

.mbs-orientationstage-widget__form-icon svg,
.mbs-orientationstage__form-icon svg {
	width: 1em;
	height: 1em;
}

.mbs-orientierungstage--closed.mbs-orientierungstage--noswap .orientierungstage-termin .elementor-icon-list-item:first-child {
	display: none;
}

.mbs-orientierungstage--open.mbs-orientierungstage--noswap .orientierungstage-termin .elementor-icon-list-item:nth-child(2) {
	display: none;
}

.mbs-orientierungstage--open.mbs-orientierungstage--swap .orientierungstage-termin .elementor-icon-list-item:first-child {
	display: none;
}

.mbs-orientierungstage--closed.mbs-orientierungstage--swap .orientierungstage-termin .elementor-icon-list-item:nth-child(2) {
	display: none;
}

.mbs-orientierungstage-widget.mbs-orientierungstage--open.mbs-orientierungstage--noswap .orientierungstage-termin .elementor-icon-list-item:first-child,
.mbs-orientierungstage-widget.mbs-orientierungstage--closed.mbs-orientierungstage--noswap .orientierungstage-termin .elementor-icon-list-item:nth-child(2),
.mbs-orientierungstage-widget.mbs-orientierungstage--closed.mbs-orientierungstage--swap .orientierungstage-termin .elementor-icon-list-item:first-child,
.mbs-orientierungstage-widget.mbs-orientierungstage--open.mbs-orientierungstage--swap .orientierungstage-termin .elementor-icon-list-item:nth-child(2) {
	display: flex;
}

.mbs-orientierungstage-widget.mbs-orientierungstage--closed.mbs-orientierungstage--noswap .orientierungstage-termin .elementor-icon-list-item:first-child,
.mbs-orientierungstage-widget.mbs-orientierungstage--open.mbs-orientierungstage--noswap .orientierungstage-termin .elementor-icon-list-item:nth-child(2),
.mbs-orientierungstage-widget.mbs-orientierungstage--open.mbs-orientierungstage--swap .orientierungstage-termin .elementor-icon-list-item:first-child,
.mbs-orientierungstage-widget.mbs-orientierungstage--closed.mbs-orientierungstage--swap .orientierungstage-termin .elementor-icon-list-item:nth-child(2) {
	display: none;
}

.mbs-hero-image--rounded-bl img,
.mbs-hero-image--rounded-bl picture,
.mbs-hero-image--rounded-bl picture img {
	display: block;
}

.mbs-hero-image--rounded-bl img,
.mbs-hero-image--rounded-bl picture img {
	border-bottom-left-radius: 24px;
}

.mbs_termine a,
.mbs_termine a * {
	text-decoration: none;
}

.mbs-mensa-plan {
	max-width: 1280px;
	margin: 0 auto;
	padding: 32px;
	color: #474747;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(23, 31, 42, 0.05);
}

.mbs-mensa-plan__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.mbs-mensa-plan__week-meta {
	display: grid;
	justify-items: end;
	gap: 4px;
	text-align: right;
	font-size: 0.95rem;
	font-weight: 500;
	color: #777777;
}

.mbs-mensa-plan__kw {
	display: inline-flex;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f7a823;
	color: #ffffff;
	font-weight: 700;
}

.mbs-mensa-plan {
	background: transparent;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.mbs-mensa-plan__table-wrap,
.mbs-mensa-plan__table,
.mbs-mensa-plan__table tbody,
.mbs-mensa-plan__table tbody tr,
.mbs-mensa-plan__table tbody td,
.mbs-mensa-plan__day,
.mbs-mensa-plan__legend {
	background: transparent !important;
}

.mbs-mensa-plan__table-wrap {
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.mbs-mensa-plan__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 24px;
}

.mbs-mensa-plan__nav-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: 10px 16px;
	border-radius: 999px;
	background: #fef9ec;
	border: 1px solid #e5e5e5;
	color: #474747;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mbs-mensa-plan__nav-button > i,
.mbs-mensa-plan__nav-button > svg {
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
}

.mbs-mensa-plan__nav-label {
	display: inline-block;
}

.mbs-mensa-plan__nav-button:hover,
.mbs-mensa-plan__nav-button:focus-visible {
	background: #f7a823;
	border-color: #f7a823;
	color: #ffffff;
}

.mbs-mensa-plan__nav-button--current {
	background: #99cc66;
	border-color: #99cc66;
	color: #ffffff;
}

.mbs-mensa-plan__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.mbs-mensa-plan__table-wrap {
	overflow-x: auto;
	border: 1px solid #d7dde6;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 10px 28px rgba(23, 31, 42, 0.04);
}

.mbs-mensa-plan__table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	min-width: 1080px;
	background: #ffffff;
	table-layout: fixed;
}

.mbs-mensa-plan__table th,
.mbs-mensa-plan__table td {
	padding: 24px 22px;
	vertical-align: top;
	border-right: 1px solid #d7dde6;
	border-bottom: 1px solid #d7dde6;
	background: #ffffff;
	width: 20%;
}

.mbs-mensa-plan__table th:last-child,
.mbs-mensa-plan__table td:last-child {
	border-right: 0;
}

.mbs-mensa-plan__table tr:last-child td {
	border-bottom: 0;
}

.mbs-mensa-plan__table thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: linear-gradient(180deg, #f7a823 0%, #f4b445 100%);
	color: #ffffff;
	text-align: left;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.14);
}

.mbs-mensa-plan__table thead th .mbs-mensa-plan__table-weekday,
.mbs-mensa-plan__table thead th .mbs-mensa-plan__table-date {
	color: #ffffff;
}

.mbs-mensa-plan__table tbody td {
	background: #ffffff;
}

.mbs-mensa-plan__table-day {
	display: grid;
	gap: 6px;
	min-height: 74px;
}

.mbs-mensa-plan__table-cell {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 240px;
}

.mbs-mensa-plan__table-head {
	display: grid;
	gap: 6px;
}

.mbs-mensa-plan__table-weekday {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.88);
}

.mbs-mensa-plan__table-date {
	font-size: 1.08rem;
	font-weight: 700;
	color: #ffffff;
}

.mbs-mensa-plan__badges--table {
	margin-bottom: 14px;
}

.mbs-mensa-plan--table .mbs-mensa-plan__day {
	background: transparent;
	border: 0;
	padding: 0;
}

.mbs-mensa-plan--table .mbs-mensa-plan__meals {
	gap: 0;
}

.mbs-mensa-plan--table .mbs-mensa-plan__meal {
	padding: 12px 0;
	font-size: 0.98rem;
	line-height: 1.55;
	border-bottom: 1px solid #e2e7ef;
}

.mbs-mensa-plan--table .mbs-mensa-plan__meal::before {
	display: none;
}

.mbs-mensa-plan--table .mbs-mensa-plan__meal:last-child {
	border-bottom: 0;
}

.mbs-mensa-plan--table .mbs-mensa-plan__empty {
	font-size: 0.95rem;
	padding: 8px 0 0;
}

.mbs-mensa-plan--table .mbs-mensa-plan__badge {
	font-size: 0.7rem;
}

.mbs-mensa-plan__day {
	display: grid;
	gap: 16px;
	padding: 20px;
	border-radius: 14px;
	background: #fef9ec;
	border: 1px solid rgba(229, 229, 229, 0.9);
	scroll-margin-top: 1rem;
}

.mbs-mensa-plan__day--today {
	border-color: #99cc66;
	box-shadow: 0 0 0 3px rgba(153, 204, 102, 0.2);
}

.mbs-mensa-plan__table-day--today {
	box-shadow: inset 0 0 0 3px rgba(153, 204, 102, 0.32);
}

.mbs-mensa-plan__day-header {
	display: grid;
	gap: 4px;
}

.mbs-mensa-plan__day-title {
	display: grid;
	gap: 4px;
}

.mbs-mensa-plan__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mbs-mensa-plan__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.35rem;
	height: 1.35rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	color: #474747;
}

.mbs-mensa-plan__badge-icon {
	display: block;
	width: var(--mbs-mensa-marker-icon-size, 1.2rem) !important;
	height: var(--mbs-mensa-marker-icon-size, 1.2rem) !important;
	max-width: none !important;
	max-height: none !important;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.25;
	stroke-linecap: round;
	stroke-linejoin: round;
	object-fit: contain;
}

.mbs-mensa-plan__badge-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mbs-mensa-plan__legend .mbs-mensa-plan__badge {
	width: auto;
	height: auto;
	justify-content: flex-start;
	gap: 7px;
}

.mbs-mensa-plan__legend .mbs-mensa-plan__badge-label {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
}

.mbs-mensa-plan__badge--success {
	color: #4f8a35;
}

.mbs-mensa-plan__badge--info {
	color: #17465d;
}

.mbs-mensa-plan__badge--warning {
	color: #b36a00;
}

.mbs-mensa-plan__badge--danger {
	color: #9b2925;
}

.mbs-mensa-plan__badge--neutral {
	color: #474747;
}

.mbs-mensa-plan__day-weekday,
.mbs-mensa-plan__day-date {
	display: block;
}

.mbs-mensa-plan--table .mbs-mensa-plan__table thead th {
	padding: 20px 16px;
	text-align: center;
}

.mbs-mensa-plan--table .mbs-mensa-plan__table-day {
	justify-items: center;
	text-align: center;
	min-height: 82px;
}

.mbs-mensa-plan--table .mbs-mensa-plan__table-weekday {
	font-size: 1.22rem;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.25;
}

.mbs-mensa-plan--table .mbs-mensa-plan__table-date {
	font-size: 1rem;
	font-weight: 500;
}

.mbs-mensa-plan__day-weekday {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #b71918;
}

.mbs-mensa-plan__day-date {
	font-size: 1.15rem;
	font-weight: 700;
	color: #474747;
}

.mbs-mensa-plan__meals {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
}

.mbs-mensa-plan__meal {
	padding: 10px 0;
	line-height: 1.5;
	border-bottom: 1px solid #e2e7ef;
}

.mbs-mensa-plan__meal:last-child {
	border-bottom: 0;
}

.mbs-mensa-plan__empty,
.mbs-mensa-plan__note {
	margin: 0;
	color: #777777;
	font-size: 0.95rem;
}

.mbs-mensa-plan__legend {
	display: grid;
	gap: 20px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
}

.mbs-mensa-plan__legend-block {
	display: grid;
	gap: 12px;
}

.mbs-mensa-plan__legend-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #474747;
}

.mbs-mensa-plan__legend-items {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

.mbs-mensa-plan__legend-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.mbs-mensa-plan__legend-text {
	font-size: 0.92rem;
	color: #777777;
	line-height: 1.4;
}

.mbs-mensa-plan__code-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mbs-mensa-plan__code {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 8px 10px;
	border-radius: 10px;
	background: #fef9ec;
	border: 1px solid #e5e5e5;
	font-size: 0.9rem;
}

.mbs-mensa-plan__note {
	margin-top: 20px;
}

.mbs-mensa-plan--error {
	display: inline-flex;
	align-items: center;
	padding: 16px 20px;
	border-radius: 12px;
	background: #fff1f1;
	border: 1px solid #d98c8c;
	color: #8b1d1d;
}

@media (max-width: 767px) {
	.mbs-mensa-plan {
		padding: 20px;
	}

	.mbs-mensa-plan__header {
		flex-direction: column;
	}

	.mbs-mensa-plan__week-meta {
		justify-items: start;
		text-align: left;
	}

	.mbs-mensa-plan__day {
		padding: 16px;
	}

	.mbs-mensa-plan__table {
		min-width: 720px;
	}

	.mbs-mensa-plan__table th,
	.mbs-mensa-plan__table td {
		padding: 18px 16px;
	}
}

/* MensaMax: compact, calm hierarchy and accessible per-dish annotations. */
.mbs-mensa-plan__week-meta {
	width: 100%;
	justify-items: center;
	text-align: center;
	gap: 2px;
}

.mbs-mensa-plan__range {
	color: #777777 !important;
}

.mbs-mensa-plan__kw {
	padding: 4px 9px;
	border-radius: 6px;
	font-size: .85rem;
}

.mbs-mensa-plan__nav {
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	justify-content: center;
	gap: 8px;
	margin-bottom: 18px;
}

.mbs-mensa-plan__nav-button {
	min-height: 38px;
	padding: 6px 11px;
	border-radius: 8px;
	font-size: .84rem;
}

.mbs-mensa-plan__nav-button:focus-visible,
.mbs-mensa-plan__marker:focus-visible,
.mbs-mensa-plan__legend summary:focus-visible {
	outline: 3px solid #17465d;
	outline-offset: 3px;
}

.mbs-mensa-plan__day-title {
	justify-items: center;
	text-align: center;
	min-height: 66px;
	align-content: start;
}

.mbs-mensa-plan__day-weekday {
	font-size: 1.15rem;
	letter-spacing: 0;
	text-transform: none;
}

.mbs-mensa-plan__day-date {
	font-size: .95rem;
	font-weight: 500;
}

.mbs-mensa-plan--cards .mbs-mensa-plan__day-header,
.mbs-mensa-plan--cards .mbs-mensa-plan__day-title,
.mbs-mensa-plan--cards .mbs-mensa-plan__badges {
	align-content: start;
}

.mbs-mensa-plan--cards .mbs-mensa-plan__badges {
	align-items: flex-start;
}

.mbs-mensa-plan--table .mbs-mensa-plan__table thead th {
	padding: 12px 16px;
	text-align: center;
}

.mbs-mensa-plan--table .mbs-mensa-plan__table-day {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-height: 76px;
}

.mbs-mensa-plan--table .mbs-mensa-plan__table-weekday {
	line-height: 1.25;
}

.mbs-mensa-plan--table .mbs-mensa-plan__table-date {
	color: #777777;
}

.mbs-mensa-plan__meal {
	position: relative;
	display: block;
}

.mbs-mensa-plan__meal-title {
	display: inline;
}

.mbs-mensa-plan__meal-markers {
	display: inline-flex;
	gap: 2px;
	margin-left: 4px;
	vertical-align: baseline;
	line-height: 1;
}

.mbs-mensa-plan__rating {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 5px;
	font-size: 0.76rem;
	line-height: 1;
}

.mbs-mensa-plan__day-meta {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.mbs-mensa-plan__day-meta .mbs-mensa-plan__rating {
	margin-top: 0;
}

.mbs-mensa-plan__day-meta .mbs-mensa-plan__badges {
	justify-content: flex-end;
	margin-left: auto;
}

.mbs-mensa-plan__day-meta .mbs-mensa-plan__badge {
	width: auto;
	height: auto;
}

.mbs-mensa-plan__rating-stars {
	display: inline-flex;
	color: #d6d6d6;
	white-space: nowrap;
}

.mbs-mensa-plan__rating-star {
	display: inline-block;
	font-size: 0.92rem;
	line-height: 1;
}

.mbs-mensa-plan__rating-star.is-filled {
	color: #c27b18;
}

.mbs-mensa-plan__rating-star.is-half {
	background: linear-gradient(90deg, #c27b18 50%, #d6d6d6 50%);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

.mbs-mensa-plan__rating-count {
	color: #777777;
	font-variant-numeric: tabular-nums;
}

.mbs-mensa-plan__marker-wrap {
	position: relative;
	display: inline-flex;
}

.mbs-mensa-plan__marker {
	display: inline-flex;
	align-items: flex-start;
	padding: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #000000;
	font: inherit;
	font-size: .72rem;
	font-weight: 700;
	cursor: pointer !important;
	overflow: visible;
	text-decoration: none !important;
}

.mbs-mensa-plan__marker sup {
	position: relative;
	top: -0.38em;
	line-height: 1;
	vertical-align: baseline;
}

.mbs-mensa-plan__marker-tooltip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	z-index: 4;
	display: none;
	width: max-content;
	max-width: min(280px, 70vw);
	padding: 8px 10px;
	border: 1px solid #c8d7e1;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(23, 31, 42, .12);
	color: #27313a;
	font-size: .8rem;
	font-weight: 400;
	line-height: 1.35;
	white-space: normal;
	transform: translateX(-50%);
}

.mbs-mensa-plan__marker-wrap:hover .mbs-mensa-plan__marker-tooltip,
.mbs-mensa-plan__marker:focus + .mbs-mensa-plan__marker-tooltip,
.mbs-mensa-plan__marker.is-open + .mbs-mensa-plan__marker-tooltip {
	display: block;
}

.mbs-mensa-plan__legend {
	margin-top: 20px;
	padding-top: 0;
	border-top: 1px solid #e5e5e5;
}

.mbs-mensa-plan__legend summary {
	background: transparent !important;
	padding: 14px 0;
	color: #474747;
	font-size: .95rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.mbs-mensa-plan__legend[open] summary {
	margin-bottom: 16px;
}

.mbs-mensa-plan__legend[open] {
	padding-top: 0;
}

.mbs-mensa-plan__legend .mbs-mensa-plan__code-list {
	gap: 6px 8px;
}

.mbs-mensa-plan__legend .mbs-mensa-plan__code {
	padding: 3px 6px;
	border-radius: 4px;
	font-size: .78rem;
}

@media (max-width: 767px) {
	.mbs-mensa-plan__nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
		max-width: 100%;
		gap: 8px;
	}

	.mbs-mensa-plan__nav-button {
		width: 100%;
		flex: none;
		padding-inline: 8px;
		font-size: .82rem;
	}

	.mbs-mensa-plan__nav-button--current {
		grid-column: 1 / -1;
		grid-row: 1;
		justify-self: center;
		width: auto;
		min-width: min(100%, 12rem);
	}

	.mbs-mensa-plan__nav-button[rel="prev"] {
		grid-column: 1;
		grid-row: 2;
	}

	.mbs-mensa-plan__nav-button[rel="next"] {
		grid-column: 2;
		grid-row: 2;
	}

	.mbs-mensa-plan--table .mbs-mensa-plan__table-wrap {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.mbs-mensa-plan--table .mbs-mensa-plan__table {
		min-width: 790px;
	}

	.mbs-mensa-plan--table .mbs-mensa-plan__table th,
	.mbs-mensa-plan--table .mbs-mensa-plan__table td {
		padding: 16px 14px;
	}

	.mbs-mensa-plan__marker-tooltip {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: auto;
		top: auto;
		max-width: none;
		transform: translateY(8px);
	}

	.mbs-mensa-plan__marker.is-open + .mbs-mensa-plan__marker-tooltip {
		position: absolute;
		left: 50%;
		bottom: calc(100% + 8px);
		right: auto;
		transform: translateX(-50%);
	}
}


.mbs-admin-documentation {
	margin: 8px 0 24px;
}

.mbs-admin-documentation__header {
	margin-bottom: 16px;
}

.mbs-admin-documentation__header h2 {
	margin: 0 0 6px;
}

.mbs-admin-documentation__header p {
	margin: 0;
	max-width: 760px;
	color: #50575e;
}

.mbs-admin-documentation__grid {
	display: grid;
	grid-template-columns: minmax(0, 980px);
	gap: 18px;
}

.mbs-admin-doc-card {
	padding: 20px;
	border: 1px solid #dcdcde;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.mbs-admin-doc-card h3 {
	margin: 0 0 8px;
}

.mbs-admin-doc-card h2 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.mbs-admin-doc-card__badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border: 1px solid #dba617;
	border-radius: 999px;
	background: #fff8e5;
	color: #5f4700;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
}

.mbs-admin-doc-card p {
	margin: 0 0 14px;
	color: #50575e;
	line-height: 1.55;
}

.mbs-admin-doc-card__figure {
	margin: 18px 0;
}

.mbs-admin-doc-card__figure img {
	display: block;
	width: 520px;
	max-width: 100%;
	height: auto;
	border: 1px solid #dcdcde;
	border-radius: 10px;
}

.mbs-admin-doc-card__instructions {
	display: grid;
	gap: 24px;
	margin-top: 22px;
}

.mbs-admin-doc-card__instruction {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.mbs-admin-doc-card__instruction .mbs-admin-doc-card__figure {
	margin: 0;
}

.mbs-admin-doc-card__instruction .mbs-admin-doc-card__figure img {
	width: 100%;
	max-width: none;
}

.mbs-admin-doc-card__instruction-copy h3 {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.4;
}

.mbs-admin-doc-card__instruction-copy p {
	margin: 0;
}

.mbs-admin-doc-card__figure figcaption {
	margin-top: 6px;
	color: #50575e;
	font-size: 12px;
	font-weight: 600;
}

.mbs-admin-doc-card__notice {
	margin: 18px 0;
	padding: 12px 14px;
	border: 1px solid #dba617;
	border-radius: 10px;
	background: #fff8e5;
	color: #5f4700;
	line-height: 1.5;
}

@media (max-width: 680px) {
	.mbs-admin-doc-card__instruction {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

.mbs-admin-doc-card dl {
	margin: 0;
}

.mbs-admin-doc-card dt {
	margin: 14px 0 4px;
	font-weight: 600;
}

.mbs-admin-doc-card dt:first-child {
	margin-top: 0;
}

.mbs-admin-doc-card dd {
	margin: 0;
	color: #50575e;
	line-height: 1.5;
}

/* Keep the footer at the bottom of short pages without overlaying content. */
html {
	min-height: 100%;
}

body:not(.wp-admin) {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

body:not(.wp-admin) > .elementor-location-header,
body:not(.wp-admin) > .elementor-location-footer {
	flex: 0 0 auto;
}

body:not(.wp-admin) > main,
body:not(.wp-admin) > #content,
body:not(.wp-admin) > .site-main,
body:not(.wp-admin) > .elementor[data-elementor-type="wp-page"],
body:not(.wp-admin) > .elementor[data-elementor-type="single"],
body:not(.wp-admin) > .elementor[data-elementor-type="archive"],
body:not(.wp-admin) > .elementor[data-elementor-type="search-results"] {
	flex: 1 0 auto;
}

.mbs-admin-card--documentation {
	border-color: #c8d7e1;
	background: linear-gradient(180deg, #fbfdff 0%, #eef7fc 100%);
}

.mbs-admin-card--technical-docs {
	border-color: #d4c7e8;
	background: linear-gradient(180deg, #fdfbff 0%, #f5f0fb 100%);
}

.mbs-admin-documentation--technical {
	margin-top: 28px;
}

.mbs-admin-back-link{margin:25px 0 12px}.mbs-admin-back-link a{display:inline-flex;align-items:center;gap:6px;text-decoration:none;font-size:13px}.mbs-admin-back-link a:hover{text-decoration:underline}


.mbs-admin-hero__version{font-size:12px!important;line-height:1.4;margin:8px 0 0!important;opacity:.7}
.mbs-admin-card--documentation{order:100}.mbs-admin-card--technical-docs{order:100}.mbs-admin-card--settings{order:50}.mbs-admin-card__tag{display:inline-block;margin-top:10px;padding:3px 8px;border-radius:999px;background:#f0f0f1;color:#50575e;font-size:11px;line-height:1.35;font-weight:600}
.mbs-ferien-source-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:4px;border:1px solid currentColor;border-radius:50%;font-size:10px;font-weight:700;line-height:1;cursor:help}
/* Ajax week changes stay calm while the individual days arrive in sequence. */
.mbs-mensa-plan {
	position: relative;
}

.mbs-mensa-plan__loading {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	width: 100%;
	height: 3px;
	overflow: hidden;
	background: rgba(247, 168, 35, .18);
}

.mbs-mensa-plan__loading span {
	display: block;
	width: 38%;
	height: 100%;
	background: #f7a823;
	animation: mbs-mensa-loading 1.1s ease-in-out infinite;
}

.mbs-mensa-plan.is-loading {
	opacity: .62;
	transition: opacity .18s ease;
}

.mbs-mensa-plan.is-loading .mbs-mensa-plan__loading {
	display: block;
}

@keyframes mbs-mensa-loading {
	0% { transform: translateX(-110%); }
	50% { transform: translateX(170%); }
	100% { transform: translateX(290%); }
}

.mbs-mensa-plan--ajax-enter .mbs-mensa-plan__day,
.mbs-mensa-plan--ajax-enter .mbs-mensa-plan__table tbody td {
	animation: mbs-mensa-day-in .32s ease both;
}

.mbs-mensa-plan--ajax-enter .mbs-mensa-plan__day:nth-child(2),
.mbs-mensa-plan--ajax-enter .mbs-mensa-plan__table tbody td:nth-child(2) {
	animation-delay: 70ms;
}

.mbs-mensa-plan--ajax-enter .mbs-mensa-plan__day:nth-child(3),
.mbs-mensa-plan--ajax-enter .mbs-mensa-plan__table tbody td:nth-child(3) {
	animation-delay: 140ms;
}

.mbs-mensa-plan--ajax-enter .mbs-mensa-plan__day:nth-child(4),
.mbs-mensa-plan--ajax-enter .mbs-mensa-plan__table tbody td:nth-child(4) {
	animation-delay: 210ms;
}

.mbs-mensa-plan--ajax-enter .mbs-mensa-plan__day:nth-child(5),
.mbs-mensa-plan--ajax-enter .mbs-mensa-plan__table tbody td:nth-child(5) {
	animation-delay: 280ms;
}

@keyframes mbs-mensa-day-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mbs-mensa-plan.is-loading {
		transition: none;
	}

	.mbs-mensa-plan__loading span {
		animation: none;
		width: 100%;
	}

	.mbs-mensa-plan--ajax-enter .mbs-mensa-plan__day,
	.mbs-mensa-plan--ajax-enter .mbs-mensa-plan__table tbody td {
		animation: none;
	}
}

/*
 * Archive overview layouts.
 *
 * The Loop Grid remains the content source. These modifier classes only change
 * presentation, so editors can reuse one archive structure on multiple pages.
 */
/* Temporarily disabled: layout is being configured directly in Elementor. */
/*
#mbs-uebersicht-liste .elementor-loop-container,
#mbs-uebersicht-mosaik .elementor-loop-container,
#mbs-uebersicht-mosaik .e-loop-container {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 32px);
}

#mbs-uebersicht-liste .e-loop-item,
#mbs-uebersicht-mosaik .e-loop-item {
	min-width: 0;
	overflow: hidden;
}

#mbs-uebersicht-liste .e-loop-item {
    padding: clamp(20px, 3vw, 42px);
    border-top: 2px solid currentColor;
    background: var(--e-global-color-primary, #f4ead8);
}

#mbs-uebersicht-liste .e-loop-item .elementor-widget-theme-post-title,
#mbs-uebersicht-liste .e-loop-item .elementor-widget-theme-post-excerpt {
    max-width: 42rem;
}

#mbs-uebersicht-mosaik .e-loop-item {
    display: flex;
    align-items: flex-end;
    padding: clamp(20px, 2.4vw, 36px);
}

#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-theme-post-title {
    width: 100%;
    margin-top: auto;
}

#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-theme-post-title a {
    color: inherit;
}

/* Direction 1: the first child leads, the remaining pages form a calm list. */
#mbs-uebersicht-liste .e-loop-item:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

#mbs-uebersicht-liste .e-loop-item:first-of-type,
#mbs-uebersicht-mosaik .e-loop-item:first-of-type {
	grid-column: span 2;
	grid-row: span 2;
}

/* Direction 3: a quiet image mosaic with an automatically enlarged first tile. */
#mbs-uebersicht-mosaik .e-loop-item {
	min-height: clamp(240px, 25vw, 380px);
}

#mbs-uebersicht-mosaik .e-loop-item:first-child {
	grid-column: span 2;
	grid-row: span 2;
	min-height: clamp(500px, 52vw, 760px);
}

#mbs-uebersicht-mosaik .e-loop-item:first-of-type {
	min-height: clamp(500px, 52vw, 760px);
}

#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-theme-post-featured-image,
#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-image,
#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-theme-post-title {
	position: relative;
	z-index: 1;
}

#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-theme-post-featured-image,
#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-image {
	min-height: 100%;
}

#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-theme-post-featured-image img,
#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-theme-post-excerpt,
#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-post-info {
	display: none;
}

/* The loop item is a full tile: the image must fill it instead of keeping
 * the intrinsic image dimensions supplied by Elementor. */
#mbs-uebersicht-mosaik .e-loop-item {
	position: relative;
	padding: 0;
}

#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-theme-post-featured-image,
#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-image {
	position: absolute;
	inset: 0;
	margin: 0;
	z-index: 0;
}

#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-theme-post-featured-image .elementor-widget-container,
#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-theme-post-featured-image a,
#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-image .elementor-widget-container,
#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-image a {
	display: block;
	width: 100%;
	height: 100%;
}

#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-theme-post-featured-image img,
#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-theme-post-title {
	position: relative;
	z-index: 1;
	align-self: flex-end;
	margin: auto 0 0;
	padding: clamp(56px, 8vw, 110px) clamp(20px, 2.4vw, 36px) clamp(20px, 2.4vw, 36px);
	background: linear-gradient(180deg, transparent 0%, rgba(25, 27, 24, .78) 100%);
	color: #fff;
}

#mbs-uebersicht-mosaik .e-loop-item .elementor-widget-theme-post-title a {
	color: inherit;
}

@media (max-width: 1024px) {
	#mbs-uebersicht-liste .elementor-loop-container,
	#mbs-uebersicht-mosaik .elementor-loop-container,
	#mbs-uebersicht-mosaik .e-loop-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#mbs-uebersicht-liste .e-loop-item:first-child,
	#mbs-uebersicht-mosaik .e-loop-item:first-child {
		grid-column: span 2;
		grid-row: span 1;
		min-height: clamp(360px, 48vw, 560px);
	}
}

@media (max-width: 767px) {
	#mbs-uebersicht-liste .elementor-loop-container,
	#mbs-uebersicht-mosaik .elementor-loop-container {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	#mbs-uebersicht-liste .e-loop-item:first-child,
	#mbs-uebersicht-mosaik .e-loop-item:first-child {
		grid-column: auto;
		grid-row: auto;
		min-height: 360px;
	}
}
*/

/* New autonomous tile sizing for the school overview. */
#mbs-uebersicht-mosaik .e-loop-item {
	min-width: 0;
	height: clamp(180px, 15vw, 240px);
	margin: 0 !important;
	overflow: hidden;
}

#mbs-uebersicht-mosaik .e-loop-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 767px) {
	#mbs-uebersicht-mosaik .e-loop-item {
		height: clamp(220px, 60vw, 360px);
	}
}
