/* === Basis === */
body {
	background-color: #E6F7F5;
}

/* === Header === */
.rml-header {
	box-shadow: 0 2px 12px rgba(0, 137, 123, 0.1);
	position: sticky;
	top: 0;
	z-index: 100;
}

.rml-logo img {
	max-height: 70px;
	width: auto;
}

.rml-nav .wp-block-navigation-item__content {
	font-weight: 500;
	padding: 0.4rem 0.8rem;
	transition: color 0.2s ease;
}

.rml-nav .wp-block-navigation-item__content:hover {
	color: #4DB6AC;
}

/* === Footer === */
.rml-footer-nav .wp-block-navigation-item__content {
	color: #fff !important;
	padding: 0 1rem;
}

.rml-footer-nav .wp-block-navigation-item__content:hover {
	opacity: 0.85;
}

/* === Bilder === */
.rml-rounded-image img {
	border-radius: 12px;
	object-fit: cover;
	width: 100%;
	height: auto;
}

.rml-book-shadow img {
	border-radius: 8px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
	width: 100%;
	height: auto;
}

/* === Event-Tabelle === */
.rml-events-table table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 137, 123, 0.08);
}

.rml-events-table th {
	background: #00897B;
	color: #fff;
	padding: 0.85rem 1.2rem;
	text-align: left;
	font-weight: 600;
}

.rml-events-table td {
	padding: 0.85rem 1.2rem;
	border-bottom: 1px solid #E6F7F5;
}

.rml-events-table tr:last-child td {
	border-bottom: none;
}

.rml-events-table tr:hover td {
	background: #F0FAF9;
}

/* === Kaufbox, Rezensionen, Platzhalter === */
.rml-purchase-box,
.rml-placeholder-box {
	box-shadow: 0 4px 20px rgba(0, 137, 123, 0.1);
}

.rml-review-card {
	box-shadow: 0 2px 12px rgba(0, 137, 123, 0.08);
	height: 100%;
}

/* === Privacy Banner === */
#rml-privacy-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
	padding: 1.25rem 1.5rem;
	z-index: 99999;
	display: none;
	animation: rmlSlideUp 0.4s ease;
}

#rml-privacy-banner.is-visible {
	display: block;
}

#rml-privacy-banner .rml-privacy-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	justify-content: space-between;
}

#rml-privacy-banner p {
	flex: 1 1 300px;
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #1A2E2C;
}

#rml-privacy-banner .rml-privacy-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

#rml-privacy-banner button,
#rml-privacy-banner .rml-btn-settings {
	padding: 0.6rem 1.2rem;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 500;
	transition: background 0.2s ease, opacity 0.2s ease;
	text-decoration: none;
	display: inline-block;
}

#rml-privacy-banner .rml-btn-accept {
	background: #00897B;
	color: #fff;
}

#rml-privacy-banner .rml-btn-accept:hover {
	background: #4DB6AC;
}

#rml-privacy-banner .rml-btn-necessary {
	background: #E6F7F5;
	color: #1A2E2C;
	border: 1px solid #4DB6AC;
}

#rml-privacy-banner .rml-btn-necessary:hover {
	background: #d0f0ec;
}

#rml-privacy-banner .rml-btn-settings {
	background: transparent;
	color: #00897B;
	text-decoration: underline;
}

#rml-privacy-banner .rml-btn-settings:hover {
	opacity: 0.8;
}

@keyframes rmlSlideUp {
	from {
		transform: translateY(100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* === Responsive === */
@media (max-width: 782px) {
	.rml-logo img {
		max-height: 50px;
	}

	.rml-header .wp-block-columns {
		gap: 0.75rem;
	}

	.rml-social {
		justify-content: center !important;
	}

	.rml-events-table th,
	.rml-events-table td {
		padding: 0.6rem 0.8rem;
		font-size: 0.9rem;
	}

	#rml-privacy-banner .rml-privacy-inner {
		flex-direction: column;
		text-align: center;
	}

	#rml-privacy-banner .rml-privacy-buttons {
		justify-content: center;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.rml-events-table thead {
		display: none;
	}

	.rml-events-table tr {
		display: block;
		margin-bottom: 1rem;
		border: 1px solid #E6F7F5;
		border-radius: 8px;
		overflow: hidden;
	}

	.rml-events-table td {
		display: block;
		text-align: left;
	}

	.rml-events-table td:first-child {
		background: #00897B;
		color: #fff;
		font-weight: 600;
	}
}
