.hsc-termine-liste {
	font-family: inherit;
}

.hsc-termine-kopf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.hsc-termine-logo {
	height: 40px;
	width: auto;
	display: block;
}

.hsc-termine-stand {
	font-size: 0.85em;
	color: #777;
	font-style: italic;
}

/* Monatsfilter */
.hsc-termine-filter {
	display: flex;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.hsc-termine-filter-feld {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hsc-termine-filter label {
	font-weight: 600;
	font-size: 0.85em;
}

.hsc-termine-monat-select,
.hsc-termine-filter-select {
	padding: 6px 10px;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 1em;
	background: #fff;
}

.hsc-termine-filter-button {
	padding: 6px 16px;
	border: 1px solid #111;
	border-radius: 3px;
	background: #111;
	color: #fff;
	cursor: pointer;
	font-size: 0.95em;
}

.hsc-termine-filter-button:hover {
	background: #c8a951;
	border-color: #c8a951;
	color: #111;
}

/* Export-Buttons */
.hsc-termine-export {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.hsc-termine-export-btn {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.9em;
	text-decoration: none !important;
	color: #fff !important;
	border: none;
	transition: opacity 0.15s ease;
}

.hsc-termine-export-btn:hover,
.hsc-termine-export-btn:visited,
.hsc-termine-export-btn:active {
	text-decoration: none !important;
	opacity: 0.85;
	color: #fff !important;
}

.hsc-termine-export-excel {
	background: #1e7d32 !important;
}

.hsc-termine-export-pdf {
	background: #c62828 !important;
}

.hsc-termine-export-outlook {
	background: #0a66c2 !important;
}

/* Tabelle */
.hsc-termine-tabelle {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	margin-bottom: 8px;
	font-size: 12px;
}

.hsc-termine-tabelle thead th {
	text-align: left;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #fff;
	background: #111;
	padding: 10px 8px;
}

/* Spaltenbreiten: Begegnung (Mittelspalte) am breitesten */
.hsc-termine-col-datum      { width: 19%; font-size: 12px; }
.hsc-termine-col-mannschaft { width: 13%; }
.hsc-termine-col-ha         { width: 9%; text-align: center; }
.hsc-termine-col-begegnung  { width: 33%; }
.hsc-termine-col-ort        { width: 18%; }
.hsc-termine-col-typ        { width: 8%; text-align: center; }

.hsc-termine-zeile td {
	padding: 6px 8px;
	border-bottom: 1px solid #e5e5e5;
	vertical-align: top;
}

/* Zebra-Streifen */
.hsc-termine-gerade {
	background: #ffffff;
}

.hsc-termine-ungerade {
	background: #f6f4ee;
}

.hsc-termine-badge {
	display: inline-block;
	font-size: 0.68em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 1px 7px;
	line-height: 1.5;
	border-radius: 3px;
	margin-right: 6px;
	color: #fff;
}

.hsc-termine-badge-heim {
	background: #2e5c3a;
}

.hsc-termine-badge-auswaerts {
	background: #8a2b22;
}

.hsc-termine-hinweis {
	font-size: 0.85em;
	color: #666;
}

.hsc-termine-col-typ {
	text-align: center;
}

.hsc-termine-typ-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.hsc-termine-typ-spiel {
	color: #c8a951;
}

.hsc-termine-typ-termin {
	color: #0a66c2;
}

.hsc-termine-typ-termin-link {
	cursor: pointer;
	text-decoration: none;
}

.hsc-termine-typ-termin-link:hover .hsc-termine-typ-termin {
	opacity: 0.7;
}

.hsc-termine-leer {
	font-style: italic;
	color: #666;
}

/* Kartenansicht [hsc_termine_karten] */
.hsc-karten-wrap {
	font-family: inherit;
}

.hsc-karten-titel {
	font-size: 1.4em;
	font-weight: 800;
	margin: 0 0 14px;
	color: #111;
}

.hsc-karten-datum {
	color: #888;
	font-size: 0.88em;
	padding-bottom: 5px;
	margin: 22px 0 8px;
	border-bottom: 2px solid #111;
}

.hsc-karten-datum:first-of-type {
	margin-top: 0;
}

.hsc-karten-item {
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}

.hsc-karten-subtitel {
	font-size: 0.78em;
	color: #999;
	margin-bottom: 6px;
}

.hsc-karten-body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.hsc-karten-teams {
	flex: 1;
	min-width: 0;
}

.hsc-karten-team {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 3px 0;
	font-size: 0.95em;
}

.hsc-karten-team span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hsc-karten-icon {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hsc-karten-icon-hsc {
	background: #111;
}

.hsc-karten-icon-hsc img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 2px;
}

.hsc-karten-icon-platzhalter {
	background: #c8a951;
	color: #111;
	font-weight: 700;
	font-size: 0.8em;
}

.hsc-karten-zeit {
	flex: 0 0 auto;
	font-weight: 600;
	color: #111;
	white-space: nowrap;
}

.hsc-karten-hinweis {
	font-size: 0.85em;
	color: #777;
	margin-top: 2px;
}

@media (max-width: 700px) {
	.hsc-termine-tabelle {
		font-size: 14px;
	}
	.hsc-termine-tabelle thead {
		display: none;
	}
	.hsc-termine-tabelle,
	.hsc-termine-tabelle tbody {
		display: block;
		width: 100% !important;
	}
	.hsc-termine-zeile {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"begegnung typ"
			"datum ha"
			"mannschaft mannschaft"
			"ort ort";
		column-gap: 10px;
		row-gap: 5px;
		padding: 14px 12px;
		border-bottom: 2px solid #e5e5e5;
		width: 100% !important;
	}
	.hsc-termine-zeile td {
		display: block;
		width: auto !important;
		border: none;
		padding: 0;
	}
	.hsc-termine-col-begegnung {
		grid-area: begegnung;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.35;
	}
	.hsc-termine-col-typ {
		grid-area: typ;
		justify-self: end;
		align-self: start;
	}
	.hsc-termine-col-datum {
		grid-area: datum;
		font-size: 13px;
		color: #555;
		align-self: center;
	}
	.hsc-termine-col-ha {
		grid-area: ha;
		justify-self: end;
		align-self: center;
		text-align: right;
	}
	.hsc-termine-col-mannschaft {
		grid-area: mannschaft;
		font-size: 12.5px;
		color: #777;
	}
	.hsc-termine-col-ort {
		grid-area: ort;
		font-size: 12.5px;
		color: #777;
	}
	.hsc-termine-col-ort::before {
		content: "📍 ";
	}
	.hsc-termine-hinweis {
		display: block;
		margin-top: 2px;
	}
}
