/* KLFV Vereinsbeiträge – Vereins-Badge auf Beitragskarten, Hinweis im Beitrag, Vereinsfilter. */

/* Badge auf den Elementor-Karten (Skin „Cards“, Badge-Taxonomie „Vereine“). Farben und Abstand kommen aus dem Widget. */
.elementor-posts .elementor-post.klfv-hat-verein .elementor-post__badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 4px 12px 4px 8px;
	line-height: 22px;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: 0 4px 12px rgba(42, 33, 24, .18);
}

.elementor-posts .elementor-post.klfv-hat-verein .elementor-post__badge::before {
	content: "";
	width: 22px;
	height: 22px;
	background-color: #FFFFFF;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	flex-shrink: 0;
}

/* „Ein Beitrag von …“ in der Beitragsansicht */
a.klfv-vh.klfv-vh,
a.klfv-vh.klfv-vh:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	padding: 4px 14px 4px 5px;
	border-radius: 999px;
	background: #FFFFFF;
	border: 1px solid #EFE8D8;
	color: #2A2118;
	font-family: 'Instrument Sans', system-ui, sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

a.klfv-vh.klfv-vh:hover,
a.klfv-vh.klfv-vh:focus {
	border-color: #E3D9C4;
	color: #C2352B;
	text-decoration: none;
}

.klfv-vh-logos {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

a.klfv-vh .klfv-vh-logos img {
	display: block;
	width: auto;
	height: 24px;
	max-width: 52px;
	object-fit: contain;
}

/* Vereinsfilter über der Beitragsliste */
.klfv-vf {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.klfv-vf a.klfv-vf-chip,
.klfv-vf a.klfv-vf-chip:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	background: #FFFFFF;
	border: 1px solid #E3D9C4;
	color: #2A2118;
	font-family: 'Instrument Sans', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.klfv-vf a.klfv-vf-chip:has(img) {
	padding-left: 6px;
}

.klfv-vf a.klfv-vf-chip img {
	display: block;
	width: auto;
	height: 24px;
	max-width: 48px;
	object-fit: contain;
}

.klfv-vf a.klfv-vf-chip:hover,
.klfv-vf a.klfv-vf-chip:focus {
	border-color: #2A2118;
	color: #2A2118;
	text-decoration: none;
}

.klfv-vf a.klfv-vf-chip.is-aktiv,
.klfv-vf a.klfv-vf-chip.is-aktiv:visited {
	background: #2A2118;
	border-color: #2A2118;
	color: #F8F4EA;
}

.klfv-vf a.klfv-vf-chip.is-aktiv img {
	background: #FFFFFF;
	border-radius: 4px;
}

@media (max-width: 640px) {
	.klfv-vf {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin: 0 -16px;
		padding: 2px 16px 6px;
		scrollbar-width: none;
	}

	.klfv-vf::-webkit-scrollbar {
		display: none;
	}
}

/* Ergebnis-Link aus dem Vereinsportal im Beitrag */
.single-post .wp-block-buttons .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 1.5px solid #C2352B;
	background: transparent;
	color: #C2352B;
	font-family: 'Instrument Sans', system-ui, sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.single-post .wp-block-buttons .wp-block-button__link:hover {
	background: #C2352B;
	color: #FFFFFF;
}

/* ---------------------------------------------------------------- */
/* Kärnten-Cup-Ranglisten [klfv_ranglisten]                          */
/* ---------------------------------------------------------------- */

.klfv-rl {
	display: flex;
	flex-direction: column;
	gap: 22px;
	font-family: 'Instrument Sans', system-ui, sans-serif;
	color: #2A2118;
}

.klfv-rl-saisonen {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 4px;
	border-radius: 999px;
	background: #FFFFFF;
	border: 1px solid #EFE8D8;
	align-self: flex-start;
}

.klfv-rl a.klfv-rl-saison,
.klfv-rl a.klfv-rl-saison:visited {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	color: #2A2118;
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
}

.klfv-rl a.klfv-rl-saison.is-aktiv {
	background: #2A2118;
	color: #F8F4EA;
}

.klfv-rl .klfv-rl-h {
	margin: 0;
	font-family: 'Instrument Sans', system-ui, sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #5A4F42;
	text-transform: none;
	letter-spacing: 0;
}

.klfv-rl-gruppen {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 14px;
}

.klfv-rl-gruppe {
	background: #FFFFFF;
	border: 1px solid #EFE8D8;
	border-radius: 20px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.klfv-rl .klfv-rl-waffe {
	margin: 0 4px 4px;
	font-family: 'Young Serif', Georgia, serif;
	font-weight: 400;
	font-size: 20px;
	color: #2A2118;
}

.klfv-rl a.klfv-rl-eintrag,
.klfv-rl a.klfv-rl-eintrag:visited {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 46px;
	padding: 0 12px;
	border-radius: 12px;
	background: #F8F4EA;
	color: #2A2118;
	font-weight: 600;
	text-decoration: none;
}

.klfv-rl a.klfv-rl-eintrag:hover {
	background: #EFE8D8;
	color: #2A2118;
}

.klfv-rl a.klfv-rl-eintrag.is-aktiv {
	background: #2A2118;
	color: #F8F4EA;
}

.klfv-rl-info {
	font-size: 13px;
	font-weight: 500;
	color: #5A4F42;
}

.klfv-rl-eintrag.is-aktiv .klfv-rl-info {
	color: #CFC4B0;
}

.klfv-rl-tabelle {
	background: #FFFFFF;
	border: 1px solid #EFE8D8;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(42, 33, 24, .04), 0 10px 30px rgba(42, 33, 24, .06);
	scroll-margin-top: 110px;
}

.klfv-rl-kopf {
	padding: 22px 24px 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

.klfv-rl-kicker {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #8A7E6D;
}

.klfv-rl .klfv-rl-titel {
	margin: 4px 0 0;
	font-family: 'Young Serif', Georgia, serif;
	font-weight: 400;
	font-size: 28px;
	line-height: 1.2;
	color: #2A2118;
}

.klfv-rl-scroll {
	overflow-x: auto;
}

.klfv-rl table {
	width: 100%;
	min-width: 640px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 15px;
}

.klfv-rl table th {
	padding: 12px 10px;
	background: #F8F4EA;
	border: 0;
	color: #5A4F42;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
}

.klfv-rl table td {
	padding: 12px 10px;
	border: 0;
	border-top: 1px solid #EFE8D8;
	background: transparent;
	text-align: center;
	white-space: nowrap;
}

.klfv-rl table tr:nth-child(even) td {
	background: transparent;
}

.klfv-rl .klfv-rl-rang {
	padding-left: 24px;
	width: 70px;
}

.klfv-rl table .klfv-rl-name {
	text-align: left;
}

.klfv-rl table .klfv-rl-summe {
	padding-right: 24px;
	background: #FEF6D6;
	color: #2A2118;
	font-weight: 700;
}

.klfv-rl table td.klfv-rl-summe {
	background: #FFFCF0;
}

.klfv-rl-platz {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
}

.klfv-rl-platz--1 { background: #F5C51C; }
.klfv-rl-platz--2 { background: #E4E2DC; }
.klfv-rl-platz--3 { background: #EBCBA5; }

.klfv-rl-person {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.klfv-rl .klfv-rl-person img {
	width: auto;
	height: 22px;
	max-width: 40px;
	object-fit: contain;
}

.klfv-rl-verein,
.klfv-rl-pkt,
.klfv-rl-nicht {
	color: #8A7E6D;
}

.klfv-rl-legende,
.klfv-rl-leer {
	margin: 0;
	padding: 14px 24px 18px;
	font-size: 13.5px;
	color: #5A4F42;
}

.klfv-rl-legende {
	border-top: 1px solid #EFE8D8;
}

/* ---------------------------------------------------------------- */
/* Cup-Termine [klfv_cup_termine]                                    */
/* ---------------------------------------------------------------- */

.klfv-ct {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: 'Instrument Sans', system-ui, sans-serif;
	color: #2A2118;
}

.klfv-ct--karten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
}

.klfv-ct--liste {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.klfv-ct-karte {
	background: #FFFFFF;
	border: 1px solid #EFE8D8;
	border-radius: 22px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
}

.klfv-ct-karte.is-finale {
	background: #2A2118;
	border-color: #2A2118;
	color: #F8F4EA;
}

.klfv-ct-kicker {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #8A7E6D;
}

.is-finale .klfv-ct-kicker {
	color: #F5C51C;
}

.klfv-ct-titel {
	font-family: 'Young Serif', Georgia, serif;
	font-size: 25px;
	line-height: 1.15;
	hyphens: auto;
	overflow-wrap: break-word;
}

.klfv-ct-hinweis {
	font-size: 14.5px;
	color: #5A4F42;
}

.is-finale .klfv-ct-hinweis {
	color: #CFC4B0;
}

.klfv-ct-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.klfv-ct-chip {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 12px;
	border-radius: 999px;
	background: #F8F4EA;
	border: 1px solid #E3D9C4;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.klfv-ct-chip.is-offen {
	border-style: dashed;
	border-color: #C9BC9F;
}

.klfv-ct-chip.is-int {
	background: #FEF6D6;
	border-color: #FEF6D6;
}

.is-finale .klfv-ct-chip {
	background: rgba(248, 244, 234, .12);
	border-color: transparent;
	color: #F8F4EA;
}

.klfv-ct-chip.is-wertung,
.is-finale .klfv-ct-chip.is-wertung {
	background: #F5C51C;
	border-color: #F5C51C;
	color: #2A2118;
}

.klfv-ct-fuss {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #EFE8D8;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 12px;
	font-size: 14px;
	color: #5A4F42;
}

.is-finale .klfv-ct-fuss {
	border-color: rgba(248, 244, 234, .18);
	color: #CFC4B0;
}

.klfv-ct-links {
	display: flex;
	gap: 12px;
}

.klfv-ct a.klfv-ct-link {
	font-weight: 600;
	color: #C2352B;
	text-decoration: none;
}

.is-finale a.klfv-ct-link {
	color: #F5C51C;
}

.klfv-ct--liste .klfv-ct-karte {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	column-gap: 20px;
	row-gap: 8px;
	align-items: start;
}

.klfv-ct--liste .klfv-ct-kicker {
	grid-row: 1 / span 4;
	padding-top: 6px;
}

.klfv-ct--liste .klfv-ct-fuss {
	grid-column: 2;
}

@media (max-width: 640px) {
	.klfv-ct--liste .klfv-ct-karte {
		display: flex;
	}
}

/* Band auf der Startseite (dunkler Hintergrund) */
.klfv-ct--band {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.klfv-ct-zeile {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 14px 18px;
	border-radius: 16px;
	background: rgba(248, 244, 234, .07);
	border: 1px solid rgba(248, 244, 234, .12);
	color: #F8F4EA;
}

.klfv-ct-zeile .klfv-ct-datum {
	font-family: 'Young Serif', Georgia, serif;
	font-size: 17px;
}

.klfv-ct-zeile .klfv-ct-name {
	font-size: 15px;
	font-weight: 600;
}

.klfv-ct-zeile .klfv-ct-chip {
	background: rgba(248, 244, 234, .14);
	border-color: transparent;
	color: #F8F4EA;
	font-size: 12.5px;
}

.klfv-ct-zeile .klfv-ct-chip.is-offen {
	background: transparent;
	border: 1px dashed rgba(248, 244, 234, .4);
}

.klfv-ct-zeile.is-finale {
	background: #F5C51C;
	border-color: #F5C51C;
	color: #2A2118;
}

.klfv-ct-zeile.is-finale .klfv-ct-chip {
	background: #2A2118;
	color: #F8F4EA;
}

@media (max-width: 480px) {
	.klfv-ct-zeile {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.klfv-ct-zeile .klfv-ct-datum {
		grid-column: 1 / -1;
	}
}

/* ---------------------------------------------------------------- */
/* Seite „Kärnten Cup“ (Gutenberg-Blöcke mit klfv-cup-Klassen)       */
/* ---------------------------------------------------------------- */

.klfv-cup {
	font-family: 'Instrument Sans', system-ui, sans-serif;
	color: #2A2118;
}

.klfv-cup .wp-block-heading,
.klfv-cup h2 {
	font-family: 'Young Serif', Georgia, serif;
	font-weight: 400;
	font-size: 34px;
	line-height: 1.15;
	margin: 0 0 18px;
	color: #2A2118;
	text-transform: none;
	letter-spacing: 0;
}

.klfv-cup h3 {
	font-family: 'Young Serif', Georgia, serif;
	font-weight: 400;
	font-size: 23px;
	line-height: 1.25;
	margin: 0 0 8px;
	color: #2A2118;
}

.klfv-cup p {
	font-size: 16px;
	line-height: 1.6;
}

.klfv-cup-abschnitt {
	margin: 0 0 48px;
}

.klfv-cup-held {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
}

.klfv-cup-held > .wp-block-group {
	flex: 999 1 520px;
	min-width: 0;
}

.klfv-cup-held > .wp-block-image {
	flex: 1 1 360px;
	min-width: 0;
	margin: 0;
}

.klfv-cup-held > .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center 60%;
	border-radius: 24px;
	border: 8px solid #FFFFFF;
	transform: rotate(2deg);
	box-shadow: 0 24px 50px -28px rgba(42, 33, 24, .45);
}

.klfv-cup p.klfv-cup-chip {
	display: inline-block;
	margin: 0 0 14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #2A2118;
	color: #F8F4EA;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.4;
}

.klfv-cup p.klfv-cup-unterzeile {
	font-family: 'Young Serif', Georgia, serif;
	font-size: 28px;
	line-height: 1.25;
	margin: 0 0 14px;
}

.klfv-cup p.klfv-cup-lead {
	font-size: 18px;
	color: #5A4F42;
	max-width: 640px;
}

.klfv-cup .wp-block-buttons {
	gap: 12px;
}

.klfv-cup .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 12px 24px;
	border-radius: 999px;
	background: #F5C51C;
	border: 1.5px solid #F5C51C;
	color: #2A2118;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.klfv-cup .wp-block-button__link:hover {
	background: #EBB90F;
	border-color: #EBB90F;
	color: #2A2118;
}

.klfv-cup .is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: #C2352B;
	color: #C2352B;
	font-weight: 600;
}

.klfv-cup .is-style-outline .wp-block-button__link:hover {
	background: #C2352B;
	color: #FFFFFF;
}

.klfv-cup-karten.wp-block-columns {
	gap: 20px;
	margin: 0;
}

.klfv-cup-karten > .wp-block-column {
	background: #FFFFFF;
	border: 1px solid #EFE8D8;
	border-radius: 22px;
	padding: 26px;
	box-shadow: 0 1px 2px rgba(42, 33, 24, .04), 0 10px 30px rgba(42, 33, 24, .06);
}

.klfv-cup-karten p {
	color: #5A4F42;
	font-size: 15.5px;
	margin: 0;
}

.klfv-cup-tag {
	background: #FFFFFF;
	border: 1px solid #EFE8D8;
	border-radius: 28px;
	padding: 36px;
	box-shadow: 0 1px 2px rgba(42, 33, 24, .04), 0 10px 30px rgba(42, 33, 24, .06);
}

.klfv-cup-schritte.wp-block-columns {
	gap: 16px;
	margin: 18px 0 0;
}

.klfv-cup-schritte > .wp-block-column {
	background: #F8F4EA;
	border-radius: 20px;
	padding: 24px;
}

.klfv-cup-schritte p {
	color: #5A4F42;
	font-size: 15.5px;
	margin: 0;
}

.klfv-cup p.klfv-cup-marke {
	display: inline-block;
	margin: 0 0 10px;
	padding: 3px 12px;
	border-radius: 999px;
	background: #2E6B2A;
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
}

.klfv-cup p.klfv-cup-marke--frei {
	background: #FFFFFF;
	border: 1px solid #E3D9C4;
	color: #2A2118;
}

.klfv-cup .wp-block-table {
	margin: 0;
	background: #FFFFFF;
	border: 1px solid #EFE8D8;
	border-radius: 22px;
	padding: 10px 24px 16px;
	overflow-x: auto;
}

.klfv-cup .wp-block-table table {
	border: 0;
	margin: 0;
	font-size: 14.5px;
}

.klfv-cup .wp-block-table th,
.klfv-cup .wp-block-table td {
	border: 0;
	border-bottom: 1px solid #EFE8D8;
	padding: 7px 8px;
	text-align: left;
	background: transparent;
}

.klfv-cup .wp-block-table thead th {
	border-bottom: 2px solid #2A2118;
	color: #5A4F42;
	font-size: 13px;
}

.klfv-cup-gaeste {
	background: #FEF6D6;
	border: 1px solid #F5DE85;
	border-radius: 24px;
	padding: 30px;
}

.klfv-cup-gaeste p {
	color: #5A4F42;
}

.klfv-cup ul.klfv-cup-haken {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
}

.klfv-cup ul.klfv-cup-haken li {
	position: relative;
	padding-left: 30px;
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.55;
}

.klfv-cup ul.klfv-cup-haken li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 6px;
	width: 14px;
	height: 8px;
	border-left: 2.5px solid #2E6B2A;
	border-bottom: 2.5px solid #2E6B2A;
	transform: rotate(-45deg);
}
