.maa-ov-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.maa-ov-cat-btn {
	font-size: 0.85em;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
	opacity: 0.6;
	cursor: pointer;
}

.maa-ov-cat-btn.active {
	opacity: 1;
	font-weight: 600;
}

.maa-ov-views {
	display: inline-flex;
	gap: 2px;
	border: 1px solid currentColor;
	border-radius: 6px;
	padding: 2px;
	margin-bottom: 20px;
	opacity: 0.9;
}

.maa-ov-view-btn {
	font-size: 0.85em;
	padding: 6px 14px;
	border: none;
	background: transparent;
	color: inherit;
	border-radius: 4px;
	cursor: pointer;
	opacity: 0.6;
}

.maa-ov-view-btn.active {
	opacity: 1;
	font-weight: 600;
	background: rgba(127, 127, 127, 0.15);
}

.maa-ov-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.maa-ov-item {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(127, 127, 127, 0.25);
	align-items: flex-start;
}

.maa-ov-item:last-child {
	border-bottom: none;
}

.maa-ov-item-image {
	display: block;
	width: 140px;
	flex-shrink: 0;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.maa-ov[data-image-width='klein'] .maa-ov-item-image {
	width: 90px;
}

.maa-ov[data-image-width='mittel'] .maa-ov-item-image {
	width: 140px;
}

.maa-ov[data-image-width='gross'] .maa-ov-item-image {
	width: 200px;
}

.maa-ov-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.maa-ov-item-image-fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: rgba(127, 127, 127, 0.12);
}

.maa-ov-item-body {
	flex: 1;
	min-width: 0;
	padding: 2px 0;
}

.maa-ov-item-title {
	margin: 0 0 6px;
	font-weight: 600;
}

.maa-ov-item-title a,
.maa-ov-card-title a {
	color: inherit;
	text-decoration: none;
}

.maa-ov-item-title a:hover,
.maa-ov-card-title a:hover {
	text-decoration: underline;
}

.maa-ov-meta {
	margin: 0 0 4px;
	font-size: 0.85em;
	opacity: 0.75;
}

.maa-ov-item-link {
	display: inline-block;
	font-size: 0.85em;
	font-weight: 600;
	text-decoration: underline;
	margin-top: 4px;
}

.maa-ov-empty {
	opacity: 0.7;
	font-style: italic;
}

.maa-ov-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

.maa-ov-card {
	border: 1px solid rgba(127, 127, 127, 0.25);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.maa-ov-card-image {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
}

.maa-ov-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.maa-ov-card-image-fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: rgba(127, 127, 127, 0.12);
}

.maa-ov-card-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	font-size: 0.75em;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: #222;
}

.maa-ov-card-body {
	padding: 14px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.maa-ov-card-title {
	margin: 0 0 6px;
	font-weight: 600;
}

.maa-ov-cal-view {
	max-width: 440px;
}

.maa-ov-cal-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.maa-ov-cal-nav button.maa-ov-cal-prev,
.maa-ov-cal-nav button.maa-ov-cal-next {
	background: transparent;
	border: 1px solid currentColor;
	opacity: 0.6;
	border-radius: 6px;
	width: 24px;
	height: 24px;
	cursor: pointer;
	color: inherit;
	flex-shrink: 0;
}

.maa-ov-cal-month-toggle {
	background: transparent;
	border: none;
	color: inherit;
	font: inherit;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	padding: 0;
}

.maa-ov-cal-month {
	font-weight: 600;
	font-size: 0.9em;
}

.maa-ov-cal-caret {
	font-size: 0.7em;
	opacity: 0.6;
}

.maa-ov-cal-month-picker {
	display: none;
	gap: 8px;
	margin-bottom: 10px;
}

.maa-ov-cal-month-picker.open {
	display: flex;
}

.maa-ov-cal-month-picker select {
	font-size: 0.85em;
}

.maa-ov-cal-toolbar {
	margin-bottom: 10px;
}

.maa-ov-cal-today-btn {
	font-size: 0.8em;
	padding: 5px 12px;
	border: 1px solid currentColor;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	opacity: 0.85;
	cursor: pointer;
}

.maa-ov-cal-head {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	font-size: 0.7em;
	opacity: 0.6;
	text-align: center;
	margin-bottom: 3px;
}

.maa-ov-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 3px;
}

.maa-ov-cal-cell {
	aspect-ratio: 1;
	border: 1px solid rgba(127, 127, 127, 0.25);
	border-radius: 5px;
	padding: 3px;
	font-size: 0.72em;
	position: relative;
}

.maa-ov-cal-empty {
	border: none;
}

.maa-ov-cal-today {
	border-color: currentColor;
}

.maa-ov-cal-has-events {
	cursor: pointer;
}

.maa-ov-cal-has-events:hover {
	background: rgba(127, 127, 127, 0.1);
}

.maa-ov-cal-selected {
	background: rgba(127, 127, 127, 0.18);
}

.maa-ov-cal-dots {
	position: absolute;
	bottom: 4px;
	left: 4px;
	right: 4px;
	display: flex;
	gap: 2px;
}

.maa-ov-cal-dots i {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
	display: block;
	opacity: 0.8;
	font-style: normal;
}

.maa-ov-cal-details {
	margin-top: 16px;
}

.maa-ov-cal-day-label {
	font-size: 0.85em;
	color: inherit;
	opacity: 0.7;
	margin: 0 0 8px;
}

.maa-ov-cal-empty-day {
	opacity: 0.7;
	font-style: italic;
	font-size: 0.9em;
}
