/**
 * EVD Füchse Spielplan Styles
 */

/* =======================
   Allgemeine Button Styles
   ======================= */

.btn {
	padding: 0.5rem 1rem;
	border: none;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
}

.btn-live-ticker {
	background: #dc3545;
	color: white;
}

.btn-live-ticker:hover {
	background: #c82333;
	color: white;
}

.btn-tickets {
	background: #ffc107;
	color: #212529;
}

.btn-tickets:hover {
	background: #e0a800;
	color: #212529;
}

.btn-details {
	background: #6c757d;
	color: white;
}

.btn-details:hover {
	background: #5a6268;
	color: white;
}

.btn-spradetv {
	background: #6f42c1;
	color: white;
}

.btn-spradetv:hover {
	background: #5a32a0;
	color: white;
}

.btn-website {
	background: #007bff;
	color: white;
}

.btn-website:hover {
	background: #0056b3;
	color: white;
}

.btn-matches {
	background: #e94e3d;
	color: white;
}

.btn-matches:hover {
	background: #d73527;
	color: white;
}

/* Action Button Styles - CI-konform */
.action-btn {
	background-color: var(--bg-transparent-rot);
	color: var(--text-weiss);
	border: 2px solid var(--fuechse-rot);
	text-decoration: none;
	padding: 15px 25px;
	border-radius: 4px;
	margin-right: 10px;
	font-family: 'Redzone BlackReg', sans-serif !important;
	font-size: 17px;
	transition: all 0.3s ease;
	white-space: nowrap;
	overflow: visible;
	text-overflow: initial;
	flex-shrink: 0;
	height: 55px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	position: relative;
	cursor: pointer;
	text-transform: uppercase;
}

.action-btn:hover {
	background-color: var(--fuechse-rot);
	color: var(--text-weiss);
	text-decoration: none;
}

/* Icons aus action buttons entfernt */
.action-btn i {
	display: none !important;
}

/* Venue Action Buttons */
.venue-actions .action-btn {
	width: 100%;
	min-width: 140px;
	background-color: var(--bg-transparent-rot);
	color: var(--text-weiss);
	border: 2px solid var(--fuechse-rot);
	text-decoration: none;
	padding: 15px 25px;
	border-radius: 4px;
	margin-right: 10px;
	font-family: 'Redzone BlackReg', sans-serif !important;
	font-size: 17px;
	transition: all 0.3s ease;
	white-space: nowrap;
	overflow: visible;
	text-overflow: initial;
	flex-shrink: 0;
	height: 55px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	position: relative;
	cursor: pointer;
	text-transform: uppercase;
}

.venue-actions .action-btn:hover {
	background-color: var(--fuechse-rot);
	color: var(--text-weiss);
	box-shadow: none;
	text-decoration: none;
}

/* Remove the shine effect for venue action buttons */
.venue-actions .action-btn::before {
	display: none !important;
}

/* Icons aus venue action buttons entfernt */
.venue-actions .action-btn i {
	display: none !important;
}

.google-maps-btn {
	background: #4285f4;
	color: white;
}

.google-maps-btn:hover {
	background: #3367d6;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
}

.route-btn {
	background: #17a2b8;
	color: white;
}

.route-btn:hover {
	background: #138496;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(23, 162, 184, 0.4);
}

/* =======================
   Spielplan Archive
   ======================= */

.spielplan-archive {
	padding: 2rem 0;
}

.spielplan-archive .page-header {
	text-align: center;
	margin-bottom: 3rem;
}

.spielplan-archive .page-title {
	font-size: 2.5rem;
	color: #e94e3d;
	margin-bottom: 1rem;
}

.spielplan-filter {
	background: #f8f9fa;
	padding: 1.5rem;
	border-radius: 8px;
	margin-bottom: 2rem;
}

.filter-controls {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
}

.filter-select {
	padding: 0.5rem 1rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: white;
	font-size: 0.9rem;
	min-width: 150px;
}

.filter-select:focus {
	outline: none;
	border-color: #e94e3d;
}

.spielplan-list {
	display: grid;
	gap: 1.5rem;
}

.spielplan-item {
	background: white;
	border: 1px solid #e1e5e9;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.spielplan-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.match-info {
	padding: 1.5rem;
}

.match-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e1e5e9;
}

.match-date {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.match-date .date {
	font-weight: 600;
	color: #333;
	font-size: 1.1rem;
}

.match-date .time {
	color: #666;
	font-size: 0.9rem;
}

.competition-badge {
	background: #e94e3d;
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: 15px;
	font-size: 0.8rem;
	font-weight: 500;
}

.match-teams {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.team {
	text-align: center;
}

.team-name {
	font-weight: 600;
	font-size: 1.1rem;
	color: #333;
}

.match-vs {
	text-align: center;
}

.vs {
	color: #666;
	font-weight: 500;
	font-size: 1.2rem;
}

.result {
	font-weight: 700;
	font-size: 1.5rem;
	color: #e94e3d;
}

.match-details {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	color: #666;
	font-size: 0.9rem;
}

.venue {
	font-weight: 500;
}

.venue-type {
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 500;
}

.venue-type:contains("Heim") {
	background: #d4edda;
	color: #155724;
}

.venue-type:contains("Auswärts") {
	background: #f8d7da;
	color: #721c24;
}

.match-actions {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.no-matches {
	text-align: center;
	padding: 3rem;
	color: #666;
}

/* =======================
   Single Spielplan
   ======================= */

.single-spielplan {
	padding: 0;
	min-height: calc(100vh - 200px);
}

.single-spielplan .container {
	width: 85%;
	max-width: 1800px;
	margin: 0 auto;
	position: relative;
}

/* Page Header Section */
.page-header-section {
	background: linear-gradient(135deg, rgb(43, 43, 43) 0%, rgb(35, 35, 35) 100%);
	padding: 3rem 0;
	margin-bottom: 2rem;
	position: relative;
	overflow: hidden;
}

.single-spielplan .entry-header {
	text-align: center;
	margin-bottom: 0;
	position: relative;
	z-index: 2;
}

.single-spielplan .entry-title {
	font-size: 2.8rem;
	color: rgb(255, 255, 255);
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	font-weight: 700;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	line-height: 1.2;
}

/* Icons aus dem Titel entfernen */
.single-spielplan .entry-title i {
	display: none;
}

/* Match Status */
.match-status {
	display: flex;
	justify-content: center;
	margin-top: 1.5rem;
}

.status-badge {
	padding: 0.75rem 2rem;
	border-radius: 30px;
	font-size: 1rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	border: 2px solid transparent;
	transition: all 0.3s ease;
}

.status-badge:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Icons aus Status-Badges entfernen */
.status-badge i {
	display: none;
}

.status-finished {
	background: linear-gradient(135deg, #28a745, #20c456);
	color: white;
	border-color: #1e7e34;
}

.status-live {
	background: var(--fuechse-rot);
	color: white;
	animation: pulse 2s infinite;
	border-color: var(--fuechse-rot);
}

.status-upcoming {
	background: linear-gradient(135deg, #ffc107, #ffca2c);
	color: #212529;
	border-color: #e0a800;
}

@keyframes pulse {
	0% { opacity: 1; }
	50% { opacity: 0.7; }
	100% { opacity: 1; }
}

/* Match Main Info */
.match-main-info {
	background: linear-gradient(135deg, rgb(43, 43, 43) 0%, rgb(35, 35, 35) 100%);
	border: 1px solid rgba(233, 78, 61, 0.3);
	border-radius: 12px;
	padding: 2rem 2rem;
	margin: 1rem 0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	position: relative;
	overflow: hidden;
}

/* Ensure text in match-main-info is white */
.match-main-info,
.match-main-info * {
	color: rgb(255, 255, 255);
}

.match-main-info::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #e94e3d, #ff6b7a, #e94e3d);
}

/* Match Teams Large Display */
.match-teams-large {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 3rem;
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.team-container {
	text-align: center;
	position: relative;
	padding: 2.5rem 0 2rem 0;
}

.team-logo,
.match-team-logo {
	width: 140px;
	height: 140px;
	margin: 0 auto 1rem !important;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	position: relative;
}

.team-logo:hover,
.match-team-logo:hover {
	transform: translateY(-3px);
}

.team-logo .logo,
.match-team-logo .logo,
.team-logo .match-logo,
.match-team-logo .match-logo {
	max-width: 120px;
	max-height: 120px;
	width: auto;
	height: auto;
	border-radius: 8px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.opponent-logo {
	width: 140px;
	height: 140px;
	background: linear-gradient(135deg, #e94e3d, #ff6b7a);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	color: white;
	font-size: 2rem;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.team-container .team-name {
	font-size: 1.8rem;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 0.25rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	line-height: 1.2;
}

.team-container .team-city {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.team-designation {
	font-size: 0.9rem;
	color: #e94e3d;
	background: rgba(255, 255, 255, 0.1);
	padding: 0.5rem 1rem;
	border-radius: 20px;
	display: inline-block;
	border: 2px solid rgba(233, 78, 61, 0.5);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	backdrop-filter: blur(10px);
}

/* Match Result Display */
.match-result-large {
	text-align: center;
	position: relative;
}

/* Gleichmäßiger Abstand zwischen Ergebnis, Extra (n.V./n.P.) und Label */
.final-result {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem; /* einheitlicher Abstand zwischen allen Elementen */
}

.final-result .score {
	font-size: 3.5rem;
	font-weight: 800;
	display: block;
	margin-bottom: 0; /* Abstand über gap geregelt */
	color: var(--fuechse-rot);
	letter-spacing: 0.1em;
	line-height: 1;
}

.result-label {
	font-size: 1rem;
	color: #666;
	background: #f8f9fa;
	padding: 0.5rem 1rem;
	border-radius: 15px;
	display: inline-block;
	border: 1px solid #e1e5e9;
	font-weight: 600;
}

/* Zusatzergebnis (n.V./n.P.) deutlicher unter dem Spielstand */
.final-result .result-extra {
	display: block;
	margin-top: 0; /* Abstand über gap geregelt */
	text-align: center;
}
.final-result .result-extra small {
	font-size: 2rem;
	line-height: 1; /* keine zusätzliche Zeilenhöhe */
	display: block; /* verhindert zusätzliches Inline-Leading */
	font-weight: 800;
	color: var(--fuechse-rot);
}

/* Weniger Abstand vor dem Status-Label */
.final-result .result-label {
	margin-top: 0; /* Abstand über gap geregelt */
	padding: 0.5rem 1rem; /* ursprüngliche Größe/Breite des Labels beibehalten */
	line-height: 1;
}

.vs-large {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.vs-large .vs-text {
	font-size: 2.5rem;
	font-weight: 300;
	color: #666;
}

.vs-label {
	font-size: 0.9rem;
	color: #e94e3d;
	background: #f8f9fa;
	padding: 0.25rem 0.75rem;
	border-radius: 12px;
	border: 1px solid #e1e5e9;
	font-weight: 600;
}

/* Match Details Grid */
.match-details-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

/* Card Styles */
.match-info-card,
.match-venue-card,
.match-actions-card {
	background: rgb(43, 43, 43);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 2rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	color: rgb(255, 255, 255);
}

.match-info-card:hover,
.match-venue-card:hover,
.match-actions-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	background: rgb(55, 55, 55);
}

.match-info-card::before,
.match-venue-card::before,
.match-actions-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #e94e3d;
}

.match-info-card h3,
.match-venue-card h3,
.match-actions-card h3 {
	margin: 0 0 1.5rem 0;
	color: rgb(255, 255, 255);
	font-size: 1.3rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.match-info-card h3::before {
	content: '\f05a';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}

.match-venue-card h3::before {
	content: '\f3c5';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}

.match-actions-card h3::before {
	content: '\f0c1';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}

/* Info Lists */
.info-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.info-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	position: relative;
}

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

.info-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 20px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 2px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.info-item:hover::before {
	opacity: 1;
}

.info-label {
	font-weight: 600;
	color: rgb(255, 255, 255);
	padding-left: 15px;
}

.info-value {
	font-weight: 700;
	color: rgb(255, 255, 255);
	background: rgba(255, 255, 255, 0.1);
	padding: 0.25rem 0.75rem;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Categories */
.categories-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.category-group {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.category-label {
	font-weight: 600;
	color: #555;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.category-label::before {
	content: '';
	width: 8px;
	height: 8px;
	background: #e94e3d;
	border-radius: 50%;
}

.category-badge {
	padding: 0.5rem 1rem;
	border-radius: 15px;
	font-size: 0.85rem;
	font-weight: 600;
	width: fit-content;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.3s ease;
}

.category-badge:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.category-badge.competition {
	background: #e94e3d;
	color: white;
}

.category-badge.season {
	background: #28a745;
	color: white;
}

.category-badge.match-type {
	background: #6c757d;
	color: white;
}

/* Actions */
.actions-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* Featured Image Section */
.match-featured-image {
	background: rgb(43, 43, 43);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	position: relative;
	overflow: hidden;
}

.match-featured-image::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #e94e3d;
}

.match-featured-image h3 {
	margin: 0 0 1.5rem 0;
	color: rgb(255, 255, 255);
	font-size: 1.3rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.featured-image-container {
	text-align: center;
	border-radius: 8px;
	overflow: hidden;
}

.match-image {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.match-image:hover {
	transform: scale(1.02);
}

/* Content Section */
.match-content-section {
	background: rgb(43, 43, 43);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	position: relative;
	overflow: hidden;
}

.match-content-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #e94e3d;
}

.match-content-section h3 {
	margin: 0 0 1.5rem 0;
	color: rgb(255, 255, 255);
	font-size: 1.3rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.content-wrapper {
	line-height: 1.6;
	color: #444;
}

.content-wrapper p {
	margin-bottom: 1rem;
}

.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
	color: #e94e3d;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.page-links {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #e1e5e9;
}

/* Quick Actions Section */
.quick-actions-section {
	background: rgb(43, 43, 43);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	position: relative;
	overflow: hidden;
}

.quick-actions-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #e94e3d;
}

.quick-actions-section h3 {
	margin: 0 0 1.5rem 0;
	color: rgb(255, 255, 255);
	font-size: 1.3rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.quick-actions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
}

.quick-action-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 1.5rem 1rem;
	background: #f8f9fa;
	border: 2px solid #e1e5e9;
	border-radius: 8px;
	text-decoration: none;
	color: #555;
	font-weight: 600;
	transition: all 0.3s ease;
	cursor: pointer;
}

.quick-action-btn:hover {
	background: #e94e3d;
	color: white;
	border-color: #e94e3d;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(233, 78, 61, 0.3);
}

.quick-action-btn i {
	font-size: 1.5rem;
}

/* Match Navigation */
.match-navigation {
	background: rgb(43, 43, 43);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	position: relative;
	overflow: hidden;
}

.match-navigation::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #e94e3d;
}

.match-navigation h3 {
	margin: 0 0 1.5rem 0;
	color: rgb(255, 255, 255);
	font-size: 1.3rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-align: center;
	justify-content: center;
}

.navigation-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.nav-previous,
.nav-next {
	display: block;
}

.nav-link {
	display: block;
	padding: 1.5rem;
	background: rgb(55, 55, 55);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	text-decoration: none;
	color: rgb(255, 255, 255);
	transition: all 0.3s ease;
	height: 100%;
}

.nav-link:hover {
	background: #e94e3d;
	color: white;
	border-color: #e94e3d;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(233, 78, 61, 0.3);
}

.nav-direction {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	font-size: 0.85rem;
	opacity: 0.8;
}

.nav-next .nav-direction {
	justify-content: flex-end;
}

.nav-title {
	display: block;
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.nav-next .nav-title {
	text-align: right;
}

.nav-date {
	display: block;
	font-size: 0.85rem;
	opacity: 0.7;
}

.nav-next .nav-date {
	text-align: right;
}

/* =======================
   Teams Archive
   ======================= */

.teams-archive {
	padding: 2rem 0;
}

.teams-archive .page-header {
	text-align: center;
	margin-bottom: 3rem;
}

.teams-archive .page-title {
	font-size: 2.5rem;
	color: #e94e3d;
	margin-bottom: 1rem;
}

.teams-filter {
	background: #f8f9fa;
	padding: 1.5rem;
	border-radius: 8px;
	margin-bottom: 2rem;
	text-align: center;
}

.teams-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 2rem;
}

.team-card {
	background: white;
	border: 1px solid #e1e5e9;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.team-header {
	display: flex;
	align-items: center;
	padding: 1.5rem;
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
	border-bottom: 1px solid #e1e5e9;
}

.team-logo-container {
	width: 80px;
	height: 80px;
	margin-right: 1rem;
	flex-shrink: 0;
}

.team-logo-placeholder {
	width: 100%;
	height: 100%;
	background: #e94e3d;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	border-radius: 8px;
}

.team-basic-info {
	flex: 1;
}

.team-name {
	font-size: 1.3rem;
	font-weight: 700;
	color: #333;
	margin: 0 0 0.5rem 0;
}

.team-full-name {
	font-size: 0.9rem;
	color: #666;
	margin: 0 0 0.25rem 0;
	font-style: italic;
}

.team-city {
	font-size: 0.9rem;
	color: #e94e3d;
	font-weight: 500;
	margin: 0;
}

.team-details {
	padding: 1.5rem;
}

.team-detail-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0;
	border-bottom: 1px solid #f0f0f0;
}

.team-detail-item:last-child {
	border-bottom: none;
}

.detail-label {
	font-weight: 500;
	color: #666;
	margin-right: 1rem;
}

.detail-value {
	font-weight: 600;
	color: #333;
	text-align: right;
}

.arena-capacity {
	font-size: 0.8rem;
	color: #999;
	margin-left: 0.5rem;
}

.league-badge {
	padding: 0.25rem 0.75rem;
	border-radius: 15px;
	font-size: 0.8rem;
	font-weight: 600;
	color: white;
}

.league-del {
	background: #dc3545;
}

.league-del2 {
	background: #fd7e14;
}

.league-oberliga {
	background: #ffc107;
	color: #212529;
}

.league-regionalliga {
	background: #28a745;
}

.league-landesliga {
	background: #17a2b8;
}

.league-bezirksliga {
	background: #6f42c1;
}

.league-andere {
	background: #6c757d;
}

.team-colors {
	display: flex;
	padding: 1rem 1.5rem;
	gap: 0.5rem;
	border-top: 1px solid #f0f0f0;
}

.color-swatch {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid #e1e5e9;
}

.team-actions {
	display: flex;
	gap: 0.5rem;
	padding: 1rem 1.5rem;
	background: #f8f9fa;
}

.team-description {
	padding: 1rem 1.5rem;
	border-top: 1px solid #f0f0f0;
	background: #f8f9fa;
	font-size: 0.9rem;
	color: #666;
}

.no-teams {
	grid-column: 1 / -1;
	text-align: center;
	padding: 3rem;
	color: #666;
}

/* =======================
   Venue Map Styles
   ======================= */

.venue-map-container {
	width: 100%;
}

#venue-map {
	height: 300px;
	width: 100%;
	border-radius: 8px;
	margin-bottom: 1rem;
	border: 1px solid #e1e5e9;
	z-index: 1;
}

/* Venue Address Info - displayed below map */
.venue-address-info {
	background: rgba(255, 255, 255, 0.1);
	padding: 0.25rem 0.75rem;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	margin-bottom: 1rem;
	text-align: center;
}

.venue-address-info .venue-name {
	font-size: 1.1rem;
	font-weight: 600;
	color: #ffffff;
	margin-bottom: 0.5rem;
}

.venue-address-info .venue-address {
	font-size: 0.95rem;
	color: #ffffff;
	line-height: 1.4;
}

.venue-actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.venue-info {
	text-align: center;
	padding: 2rem 1rem;
	background: rgb(55, 55, 55);
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.venue-info p {
	margin-bottom: 1rem;
	color: rgb(255, 255, 255);
}

.venue-info strong {
	color: rgb(255, 255, 255);
	font-size: 1.1rem;
}

/* Leaflet Popup Customization */
.venue-popup {
	text-align: center;
	font-family: inherit;
}

.venue-popup strong {
	color: #e94e3d;
	font-size: 1.1rem;
	display: block;
	margin-bottom: 0.25rem;
}

.venue-popup small {
	color: #666;
	font-size: 0.9rem;
}

/* Leaflet Routing Machine Customization */
.leaflet-routing-container {
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-routing-container h2 {
	background: #e94e3d;
	color: white;
	margin: 0;
	padding: 0.75rem 1rem;
	border-radius: 8px 8px 0 0;
	font-size: 1rem;
}

.leaflet-routing-alternatives-container {
	padding: 1rem;
}

/* =======================
   Spielstatistiken
   ======================= */

/* Spielstatistiken - nutzt das gleiche Design wie alle anderen Cards */
.match-statistics-card {
	background: rgb(43, 43, 43);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 2rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	color: rgb(255, 255, 255);
	margin-bottom: 2rem;
}

.match-statistics-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	background: rgb(55, 55, 55);
}

.match-statistics-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #e94e3d;
}

.match-statistics-card h3 {
	margin: 0 0 1.5rem 0;
	color: rgb(255, 255, 255);
	font-size: 1.3rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.periode-stats {
    margin-bottom: 2rem;
}

.periode-stats h4 {
    color: rgb(255, 255, 255);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.stats-table th,
.stats-table td {
    padding: 0.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-table th {
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: rgb(255, 255, 255);
}

.stats-table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

.stats-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.additional-stats h4 {
    color: rgb(255, 255, 255);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    gap: 1rem;
    align-items: stretch;
    justify-content: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1.5rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    flex: 1;
    max-width: 250px;
}

.stat-label {
    font-weight: 600;
    color: rgb(255, 255, 255);
    font-size: 1.1rem;
}

.stat-value {
    font-weight: 700;
    color: var(--fuechse-rot, #e94e3d);
    font-size: 1.2rem;
}

/* =======================
   Color Override Rules
   ======================= */

/* Ensure all text in cards is white for better readability */
.match-info-card *,
.match-venue-card *,
.match-actions-card * {
	color: rgb(255, 255, 255);
}

/* Ensure all text in sections is white for better readability on dark background */
.page-header-section,
.match-featured-image,
.match-content-section,
.quick-actions-section,
.match-navigation {
	color: rgb(255, 255, 255);
}

.page-header-section *,
.match-featured-image *,
.match-content-section *,
.quick-actions-section *,
.match-navigation * {
	color: rgb(255, 255, 255);
}

/* Keep buttons with their original colors */
.page-header-section .action-btn,
.match-featured-image .action-btn,
.match-content-section .action-btn,
.quick-actions-section .action-btn,
.match-navigation .action-btn {
	color: white;
}

/* Keep specific status badge colors */
.status-badge {
	color: white !important;
}

/* =======================
   Responsive Design
   ======================= */

/* Mobile Responsive Rules for Team Logos */
@media (max-width: 768px) {
	.team-logo .logo,
	.match-team-logo .logo,
	.team-logo .match-logo,
	.match-team-logo .match-logo {
		max-width: 80px;
		max-height: 80px;
	}
}

@media (max-width: 480px) {
	.team-logo .logo,
	.match-team-logo .logo,
	.team-logo .match-logo,
	.match-team-logo .match-logo {
		max-width: 70px;
		max-height: 70px;
	}
}

/* Responsive Anpassungen für Statistiken */
@media (max-width: 768px) {
    .stats-table {
        font-size: 0.9rem;
    }
    
    .stats-table th,
    .stats-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
	.filter-controls {
		flex-direction: column;
		align-items: stretch;
	}
	
	.filter-select {
		min-width: auto;
	}
	
	.single-spielplan .container {
		width: 95%;
		padding: 0 1rem;
	}
	
	.page-header-section {
		padding: 1.5rem 0;
	}
	
	.single-spielplan .entry-title {
		font-size: 2rem;
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.single-spielplan .entry-title i {
		font-size: 1.5rem;
	}
	
	.match-teams {
		grid-template-columns: 1fr;
		gap: 1rem;
		text-align: center;
	}
	
	.match-vs {
		order: -1;
	}
	
	.match-details {
		flex-direction: column;
		gap: 0.5rem;
		text-align: center;
	}
	
	.match-actions {
		justify-content: center;
	}
		.match-teams-large {
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
		max-width: 100%;
	}
		.final-result .score {
		font-size: 2.8rem;
	}
	.team-logo,
	.match-team-logo {
		width: 100px;
		height: 100px;
		margin: 0 auto 1rem !important;
	}
		.team-logo .logo,
	.match-team-logo .logo,
	.team-logo .match-logo,
	.match-team-logo .match-logo {
		max-width: 100px;
		max-height: 100px;
	}
	
	.opponent-logo {
		width: 100px;
		height: 100px;
		font-size: 1.6rem;
	}
	
	.match-details-grid {
		grid-template-columns: 1fr;
	}
	
	.quick-actions-grid {
		grid-template-columns: 1fr;
	}
	
	.navigation-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.nav-next .nav-direction,
	.nav-next .nav-title,
	.nav-next .nav-date {
		text-align: left;
		justify-content: flex-start;
	}
}

@media (max-width: 480px) {
	.single-spielplan .container {
		width: 100%;
		padding: 0 1rem;
	}
	
	.spielplan-archive .page-title,
	.single-spielplan .entry-title {
		font-size: 1.8rem;
	}
		.match-main-info {
		padding: 1.5rem 1rem;
		margin: 0.5rem -1rem;
		border-radius: 0;
	}
		.final-result .score {
		font-size: 2.2rem;
	}
	.team-logo,
	.match-team-logo {
		width: 85px;
		height: 85px;
		margin: 0 auto 1rem !important;
	}
		.team-logo .logo,
	.match-team-logo .logo,
	.team-logo .match-logo,
	.match-team-logo .match-logo {
		max-width: 85px;
		max-height: 85px;
	}
	
	.opponent-logo {
		width: 85px;
		height: 85px;
		font-size: 1.4rem;
	}
	
	.team-container .team-name {
		font-size: 1.2rem;
		margin-bottom: 0.25rem;
	}
	
	.team-container .team-city {
		font-size: 0.9rem;
		margin-bottom: 0.25rem;
	}
		.match-info-card,
	.match-venue-card,
	.match-actions-card,
	.quick-actions-section,
	.match-navigation,
	.match-featured-image,
	.match-content-section {
		margin-left: -1rem;
		margin-right: -1rem;
		border-radius: 0;
	}
	
	.quick-action-btn {
		padding: 1rem;
	}
	
	.nav-link {
		padding: 1rem;
	}
}

.venue-info {
	text-align: center;
	padding: 2rem 1rem;
	background: rgb(55, 55, 55);
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.venue-info p {
	margin-bottom: 1rem;
	color: rgb(255, 255, 255);
}

.venue-info strong {
	color: rgb(255, 255, 255);
	font-size: 1.1rem;
}

/* Leaflet Popup Customization */
.venue-popup {
	text-align: center;
	font-family: inherit;
}

.venue-popup strong {
	color: #e94e3d;
	font-size: 1.1rem;
	display: block;
	margin-bottom: 0.25rem;
}

.venue-popup small {
	color: #666;
	font-size: 0.9rem;
}

/* Leaflet Routing Machine Customization */
.leaflet-routing-container {
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-routing-container h2 {
	background: #e94e3d;
	color: white;
	margin: 0;
	padding: 0.75rem 1rem;
	border-radius: 8px 8px 0 0;
	font-size: 1rem;
}

.leaflet-routing-alternatives-container {
	padding: 1rem;
}

/* Mobile Responsive Rules for Team Logos */
@media (max-width: 768px) {
	.team-logo .logo {
		max-width: 80px;
		max-height: 80px;
	}
}

@media (max-width: 480px) {
	.team-logo .logo {
		max-width: 70px;
		max-height: 70px;
	}
}

