.bszv-kalender-wrap {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.bszv-kalender-wrap,
.bszv-teams-grid-wrap,
.bszv-team-page,
.bszv-score-form-wrap {
	box-sizing: border-box;
}

.bszv-kalender-filters {
	margin-bottom: 1em;
	padding: 1em 1.25em;
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
}

.bszv-kalender-filters-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1em;
	align-items: end;
}

.bszv-filter-field {
	display: flex;
	flex-direction: column;
	gap: 0.35em;
}

.bszv-filter-label {
	font-size: 12px;
	font-weight: 600;
	color: #50575e;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.bszv-kalender-filters select {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	font-size: 14px;
}

.bszv-filter-actions {
	display: flex;
	align-items: flex-end;
}

.bszv-kalender-reset {
	padding: 8px 14px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	color: #00897B;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}

.bszv-kalender-reset:hover {
	background: #f0faf5;
	border-color: #00A86B;
}

.bszv-kalender-count {
	margin: 0 0 0.75em;
	font-size: 14px;
	color: #50575e;
	font-weight: 600;
}

.bszv-kalender-empty {
	margin: 1em 0 0;
	padding: 1em;
	background: #fff5f5;
	border-left: 4px solid #c62828;
	color: #666;
}

.bszv-table-wrap {
	overflow-x: auto;
	margin-bottom: 1.5em;
	max-width: 100%;
	-webkit-overflow-scrolling: touch;
}

.bszv-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	font-size: 14px;
}

.bszv-table th {
	background: #00A86B;
	color: #fff;
	padding: 10px 12px;
	text-align: left;
	font-weight: 600;
	white-space: nowrap;
}

.bszv-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #e5e5e5;
	vertical-align: middle;
}

.bszv-table tbody tr:hover {
	background: #f9f9f9;
}

.bszv-match-time {
	color: #666;
	font-size: 12px;
}

.bszv-date a,
.bszv-match a,
.bszv-table a {
	color: #00897B;
	text-decoration: none;
}

.bszv-date a:hover,
.bszv-match a:hover,
.bszv-table a:hover {
	color: #00A86B;
	text-decoration: underline;
}

.bszv-pos-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	background: #00A86B;
	color: #fff;
	border-radius: 4px;
	font-weight: 700;
	font-size: 13px;
}

.bszv-points {
	font-weight: 700;
}

.bszv-pagination {
	margin-top: 1em;
}

.bszv-pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 2px;
	border: 1px solid #ddd;
	text-decoration: none;
	color: #00897B;
}

.bszv-pagination .page-numbers.current {
	background: #00A86B;
	color: #fff;
	border-color: #00A86B;
}

.bszv-error {
	color: #c00;
	padding: 1em;
	background: #fff5f5;
	border-left: 4px solid #c00;
}

body.bszv-team-single .entry-header .entry-title,
body.bszv-team-single .entry-header .post-title,
body.bszv-team-single article > header h1 {
	display: none;
}

.bszv-team-page {
	max-width: 960px;
	margin: 0 auto;
}

.bszv-team-section-title {
	margin: 2em 0 0.75em;
	font-size: 1.35em;
	color: #333;
}

.bszv-team-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5em;
	margin-bottom: 1.25em;
	flex-wrap: wrap;
}

.bszv-team-header-logo {
	flex: 0 0 auto;
}

.bszv-team-ranking {
	flex: 1 1 260px;
	margin-left: auto;
}

.bszv-team-ranking-card {
	padding: 1em 1.25em;
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
}

.bszv-team-ranking-card + .bszv-team-ranking-card {
	margin-top: 0.75em;
}

.bszv-team-ranking-label {
	margin: 0 0 0.5em;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #50575e;
}

.bszv-team-ranking-main {
	display: flex;
	align-items: center;
	gap: 0.85em;
}

.bszv-team-ranking-pos {
	min-width: 42px;
	height: 42px;
	font-size: 16px;
}

.bszv-team-ranking-details {
	min-width: 0;
}

.bszv-team-ranking-place {
	margin: 0;
	font-size: 1.15em;
	font-weight: 700;
	color: #333;
}

.bszv-team-ranking-comp {
	margin: 0.15em 0 0;
	font-size: 14px;
	color: #333;
}

.bszv-team-ranking-season {
	margin: 0.1em 0 0;
	font-size: 12px;
	color: #666;
}

.bszv-team-ranking-stats {
	margin: 0.65em 0 0;
	font-size: 13px;
	color: #50575e;
}

.bszv-team-description {
	margin-bottom: 1em;
}

.bszv-team-website-wrap {
	margin: 0 0 2em;
}

.bszv-team-page .bszv-team-website-btn,
.bszv-team-page .bszv-team-website-btn span {
	color: #fff !important;
}

.bszv-team-page .bszv-team-website-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45em;
	box-sizing: border-box;
	min-height: 40px;
	padding: 0.55em 1.15em;
	background-color: #00A86B;
	text-decoration: none !important;
	border: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.25;
	vertical-align: middle;
	transition: background-color 0.2s, box-shadow 0.2s;
}

.bszv-team-page .bszv-team-website-btn span {
	line-height: 1.25;
}

.bszv-team-page .bszv-team-website-btn-icon {
	font-size: 0.95em;
	line-height: 1;
}

.bszv-team-page .bszv-team-website-btn:hover,
.bszv-team-page .bszv-team-website-btn:focus {
	background-color: #008f5a;
	text-decoration: none !important;
	box-shadow: 0 2px 6px rgba(0, 168, 107, 0.35);
}

.bszv-team-page .bszv-team-website-btn:visited {
	background-color: #00A86B;
}

.bszv-team-logo-link {
	display: block;
	line-height: 0;
	transition: opacity 0.2s;
}

.bszv-team-logo-link:hover {
	opacity: 0.85;
}

.bszv-team-logo {
	max-width: 120px;
	height: auto;
}

.bszv-score-form-wrap {
	max-width: 520px;
	margin: 2em auto;
	padding: 2em;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.bszv-score-page .bszv-score-teams {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25em;
	margin-bottom: 1.5em;
}

.bszv-score-page .bszv-score-team {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0.65em;
	flex: 1 1 0;
	min-width: 0;
	max-width: 150px;
	text-align: center;
}

.bszv-score-page .bszv-score-team-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 110px;
	height: 80px;
	flex-shrink: 0;
}

.bszv-score-page .bszv-score-team-logo-img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 80px !important;
	object-fit: contain;
	margin: 0 auto;
}

.bszv-score-page .bszv-score-team-logo-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #f0faf5;
	color: #00A86B;
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1;
}

.bszv-score-page .bszv-score-team-name {
	display: block;
	margin: 0;
	font-size: 0.95em;
	font-weight: 700;
	line-height: 1.3;
	color: #333;
	word-break: break-word;
}

.bszv-score-page .bszv-score-vs {
	flex-shrink: 0;
	font-size: 1.1em;
	font-weight: 700;
	color: #00A86B;
	text-transform: lowercase;
}

.bszv-score-meta {
	text-align: center;
	color: #666;
	margin-bottom: 1.5em;
}

.bszv-score-fields label {
	display: block;
	margin-bottom: 0.5em;
	font-weight: 600;
}

.bszv-score-fields input[type="number"] {
	width: 80px;
	padding: 8px;
	margin-bottom: 1em;
}

.bszv-score-page .bszv-score-submit {
	display: inline-block;
	background-color: #00A86B;
	color: #fff !important;
	border: none;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	cursor: pointer;
	border-radius: 4px;
	text-transform: none;
}

.bszv-score-page .bszv-score-submit:hover {
	background-color: #008f5a;
	color: #fff !important;
}

.bszv-score-message {
	padding: 1em;
	margin: 1em 0;
	border-radius: 4px;
}

.bszv-score-message.success {
	background: #e8f5e9;
	color: #2e7d32;
	border-left: 4px solid #00A86B;
}

.bszv-score-message.error {
	background: #ffebee;
	color: #c62828;
	border-left: 4px solid #c62828;
}

.bszv-teams-grid-wrap {
	margin-bottom: 2em;
}

.bszv-teams-grid {
	display: grid;
	grid-template-columns: repeat(var(--bszv-teams-cols, 3), minmax(0, 1fr));
	gap: 1.25em;
}

@media (max-width: 900px) {
	.bszv-teams-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.bszv-teams-grid {
		grid-template-columns: 1fr;
	}
}

.bszv-team-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.bszv-team-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	border-color: #00A86B;
}

.bszv-team-card-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 1.5em 1.25em;
	text-decoration: none;
	color: inherit;
	text-align: center;
}

.bszv-team-card-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 90px;
	margin-bottom: 1em;
}

.bszv-team-card-logo img {
	max-width: 140px;
	max-height: 90px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.bszv-team-card-logo--placeholder {
	width: 72px;
	height: 72px;
	margin-left: auto;
	margin-right: auto;
	background: #f0faf5;
	border-radius: 50%;
	color: #00A86B;
	font-size: 1.75em;
	font-weight: 700;
}

.bszv-team-card-name {
	margin: 0 0 0.5em;
	font-size: 1.1em;
	font-weight: 700;
	color: #333;
}

.bszv-team-card-excerpt {
	margin: 0 0 0.75em;
	font-size: 13px;
	line-height: 1.45;
	color: #666;
}

.bszv-team-card-cta {
	margin-top: auto;
	font-size: 13px;
	font-weight: 600;
	color: #00897B;
}

.bszv-team-card:hover .bszv-team-card-cta {
	color: #00A86B;
}

/* -------------------------------------------------------------------------
   Mobile / responsive
   ------------------------------------------------------------------------- */

@media (max-width: 767px) {
	.bszv-kalender-filters {
		padding: 0.85em 1em;
	}

	.bszv-kalender-filters-grid {
		grid-template-columns: 1fr;
		gap: 0.85em;
	}

	.bszv-filter-actions {
		width: 100%;
	}

	.bszv-kalender-reset {
		width: 100%;
		min-height: 44px;
	}

	.bszv-kalender-filters select {
		min-height: 44px;
		font-size: 16px;
	}

	.bszv-kalender-count {
		font-size: 13px;
	}

	.bszv-table-wrap--cards {
		overflow-x: visible;
	}

	.bszv-table-wrap--cards .bszv-table thead {
		display: none;
	}

	.bszv-table-wrap--cards .bszv-table tbody tr {
		display: flex;
		flex-direction: column;
		margin-bottom: 0.85em;
		padding: 0.85em 1em;
		border: 1px solid #e5e5e5;
		border-radius: 8px;
		background: #fff;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	}

	.bszv-table-wrap--cards .bszv-table tbody tr:hover {
		background: #fff;
	}

	.bszv-table-wrap--cards .bszv-table tbody td {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 0.75em;
		padding: 0.45em 0;
		border-bottom: 1px solid #f0f0f0;
		text-align: right;
	}

	.bszv-table-wrap--cards .bszv-table tbody td:last-child {
		border-bottom: none;
	}

	.bszv-table-wrap--cards .bszv-table tbody td::before {
		content: attr(data-label);
		flex: 0 0 38%;
		font-weight: 600;
		font-size: 11px;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		color: #50575e;
		text-align: left;
		line-height: 1.35;
		padding-top: 0.1em;
	}

	.bszv-table-wrap--cards .bszv-table tbody td[colspan] {
		display: block;
		text-align: center;
		padding: 0.75em 0;
	}

	.bszv-table-wrap--cards .bszv-table tbody td[colspan]::before {
		display: none;
	}

	.bszv-table-wrap--cards .bszv-kalender td.bszv-match,
	.bszv-table-wrap--cards .bszv-team-matches td.bszv-match {
		order: -2;
		flex-direction: column;
		align-items: stretch;
		gap: 0.35em;
		padding-top: 0;
		padding-bottom: 0.65em;
		margin-bottom: 0.35em;
		border-bottom: 2px solid #f0faf5;
		font-weight: 600;
		font-size: 15px;
		line-height: 1.4;
		text-align: left;
	}

	.bszv-table-wrap--cards .bszv-kalender td.bszv-match::before,
	.bszv-table-wrap--cards .bszv-team-matches td.bszv-match::before {
		display: none;
	}

	.bszv-table-wrap--cards .bszv-kalender td.bszv-result,
	.bszv-table-wrap--cards .bszv-team-matches td.bszv-result {
		font-weight: 700;
		font-size: 16px;
		color: #00A86B;
	}

	.bszv-table-wrap--stand {
		overflow-x: auto;
		margin-left: -0.25em;
		margin-right: -0.25em;
		padding-left: 0.25em;
		padding-right: 0.25em;
	}

	.bszv-table-wrap--stand .bszv-stand {
		min-width: 520px;
		font-size: 13px;
	}

	.bszv-table-wrap--stand .bszv-stand th,
	.bszv-table-wrap--stand .bszv-stand td {
		padding: 8px 10px;
	}

	.bszv-table-wrap--stand .bszv-stand th:first-child,
	.bszv-table-wrap--stand .bszv-stand td:first-child {
		position: sticky;
		left: 0;
		z-index: 2;
		background: #00A86B;
	}

	.bszv-table-wrap--stand .bszv-stand td:first-child {
		background: #fff;
	}

	.bszv-table-wrap--stand .bszv-stand th:nth-child(2),
	.bszv-table-wrap--stand .bszv-stand td.bszv-club {
		position: sticky;
		left: 44px;
		z-index: 2;
		background: #00A86B;
		min-width: 120px;
		box-shadow: 4px 0 8px rgba(0, 0, 0, 0.06);
	}

	.bszv-table-wrap--stand .bszv-stand td.bszv-club {
		background: #fff;
	}

	.bszv-team-header {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 1em;
	}

	.bszv-team-ranking {
		flex: 1 1 100%;
		width: 100%;
		margin-left: 0;
	}

	.bszv-team-section-title {
		font-size: 1.2em;
	}

	.bszv-team-page .bszv-team-website-btn {
		width: 100%;
	}

	.bszv-score-form-wrap {
		margin: 1em auto;
		padding: 1.25em 1em;
	}

	.bszv-score-page .bszv-score-teams {
		gap: 0.75em;
	}

	.bszv-score-page .bszv-score-team-logo {
		width: 88px;
		height: 64px;
	}

	.bszv-score-page .bszv-score-team {
		max-width: 120px;
	}

	.bszv-score-fields input[type="number"] {
		width: 100%;
		max-width: 120px;
		min-height: 44px;
		font-size: 16px;
	}

	.bszv-score-page .bszv-score-submit {
		width: 100%;
		min-height: 48px;
	}

	.bszv-pagination .page-numbers {
		padding: 10px 14px;
		margin: 0 3px 6px;
		min-width: 44px;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.bszv-teams-grid {
		grid-template-columns: 1fr;
	}

	.bszv-table-wrap--stand .bszv-stand thead {
		display: none;
	}

	.bszv-table-wrap--stand .bszv-stand {
		min-width: 0;
	}

	.bszv-table-wrap--stand .bszv-stand tbody tr {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: auto auto auto auto;
		gap: 0.35em 0.5em;
		align-items: center;
		margin-bottom: 0.75em;
		padding: 0.85em 1em;
		border: 1px solid #e5e5e5;
		border-radius: 8px;
		background: #fff;
	}

	.bszv-table-wrap--stand .bszv-stand tbody tr:hover {
		background: #fff;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td {
		display: block;
		padding: 0;
		border: none;
		text-align: center;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td::before {
		content: attr(data-label);
		display: block;
		font-size: 10px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		color: #888;
		margin-bottom: 0.15em;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td:first-child {
		grid-column: 1;
		grid-row: 1;
		position: static;
		background: transparent;
		box-shadow: none;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td:first-child::before {
		display: none;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td.bszv-club {
		grid-column: 2 / -1;
		grid-row: 1;
		text-align: left;
		font-weight: 700;
		font-size: 15px;
		position: static;
		background: transparent;
		box-shadow: none;
		min-width: 0;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td.bszv-club::before {
		display: none;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td.bszv-points {
		grid-column: 1 / -1;
		grid-row: 2;
		font-size: 1.35em;
		font-weight: 700;
		color: #00A86B;
		padding: 0.4em 0;
		margin: 0.25em 0 0.35em;
		border-top: 1px solid #f0f0f0;
		border-bottom: 1px solid #f0f0f0;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td:nth-child(3) {
		grid-column: 1;
		grid-row: 3;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td:nth-child(4) {
		grid-column: 2;
		grid-row: 3;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td:nth-child(5) {
		grid-column: 3;
		grid-row: 3;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td:nth-child(6) {
		grid-column: 4;
		grid-row: 3;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td:nth-child(7) {
		grid-column: 1;
		grid-row: 4;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td:nth-child(8) {
		grid-column: 2;
		grid-row: 4;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td:nth-child(9) {
		grid-column: 3;
		grid-row: 4;
	}

	.bszv-table-wrap--stand .bszv-stand tbody td[colspan] {
		grid-column: 1 / -1;
		display: block;
		text-align: center;
		padding: 0.75em 0;
	}

	.bszv-score-page .bszv-score-teams {
		flex-wrap: wrap;
	}

	.bszv-score-page .bszv-score-vs {
		flex: 0 0 100%;
		text-align: center;
		order: 1;
		margin: 0.25em 0;
	}

	.bszv-score-page .bszv-score-team {
		flex: 1 1 calc(50% - 1em);
		max-width: none;
	}
}
