/* ---------- Zucht-Listen: Infobox, Züchter, Deckrüden ----------
   Blöcke dpk/zucht-infobox, dpk/zuechter-liste, dpk/deckrueden-liste. Nur
   geladen, wenn einer davon auf der Seite steht (block.json „style“).
   Navy und Tinte aus den Tokens; die Infobox-Töne als Tokens
   custom/zucht-infobox (theme.json). Bedienelemente in Tinte. */

/* ---------- Infobox ---------- */

.dpk-zuchtbox {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px;
	background: var(--wp--custom--zucht-infobox--flaeche);
	border: 1px solid var(--wp--custom--zucht-infobox--rand);
	border-radius: 10px;
	color: var(--wp--preset--color--tinte);
	text-decoration: none;
}

a.dpk-zuchtbox:hover .dpk-zuchtbox__mehr {
	text-decoration-thickness: 2px;
}

a.dpk-zuchtbox:focus-visible {
	outline: 3px solid var(--wp--preset--color--tinte);
	outline-offset: 2px;
}

.dpk-zuchtbox__kopf {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--wp--preset--color--zucht);
}

.dpk-zuchtbox__symbol {
	flex: 0 0 auto;
}

.dpk-zuchtbox__titel {
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}

.dpk-zuchtbox__text {
	font-size: 1rem;
	line-height: 1.5;
}

.dpk-zuchtbox__mehr {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* Zwei Fassungen: im Seitentext (Handy) und rechts oben (breit). */
.dpk-seitenspalte__zuchtboxen {
	display: grid;
	gap: 16px;
}

@media (min-width: 901px) {
	.dpk-zuchtbox--fluss {
		display: none;
	}
}

@media (max-width: 900px) {
	.dpk-zuchtbox--spalte,
	.dpk-seitenspalte__zuchtboxen {
		display: none;
	}
}

.editor-styles-wrapper .dpk-zuchtbox--fluss {
	display: flex;
}

/* Im Seitentext: zwei Boxen untereinander mit Abstand. */
.dpk-zuchtbox--fluss + .dpk-zuchtbox--fluss {
	margin-top: 16px;
}

/* ---------- Listen ---------- */

.dpk-zuchtliste {
	display: grid;
	gap: 20px;
}

.dpk-zuchtliste > * {
	margin: 0;
}

.dpk-zuchtfilter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
}

.dpk-zuchtfilter[hidden],
.dpk-zuchtliste [hidden] {
	display: none;
}

.dpk-zuchtfilter__titel {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--grau);
}

.dpk-zuchtfilter__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dpk-zuchtfilter__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1.5px solid var(--wp--preset--color--tinte);
	background: var(--wp--preset--color--papier);
	color: var(--wp--preset--color--tinte);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
}

.dpk-zuchtfilter__pill[aria-pressed="true"] {
	background: var(--wp--preset--color--tinte);
	color: var(--wp--preset--color--papier);
}

.dpk-zuchtfilter__pill:focus-visible {
	outline: 3px solid var(--wp--preset--color--tinte);
	outline-offset: 2px;
}

.dpk-zuchtfilter__zahl {
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.dpk-zuchtliste__stand {
	font-size: 0.875rem;
	color: var(--wp--preset--color--grau-leise);
	padding-bottom: 12px;
	border-bottom: 1px solid var(--wp--preset--color--linie);
}

.dpk-zuchtliste__karten {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.dpk-zuchtgruppe {
	display: grid;
	gap: 12px;
}

.dpk-zuchtgruppe + .dpk-zuchtgruppe {
	margin-top: 12px;
}

.dpk-zuchtgruppe__titel {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
}

.dpk-zuchtgruppe__zahl {
	font-weight: 500;
	color: var(--wp--preset--color--grau-leise);
	font-variant-numeric: tabular-nums;
}

/* ---------- Karten ---------- */

.dpk-zuchtkarte {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 18px 20px;
	background: var(--wp--preset--color--karte);
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: 10px;
	min-width: 0;
}

.dpk-zuchtkarte > * {
	margin: 0;
}

.dpk-zuchtkarte__titel {
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--tinte);
	overflow-wrap: anywhere;
}

.dpk-zuchtkarte__wer,
.dpk-zuchtkarte__farben {
	font-size: 1rem;
	line-height: 1.5;
}

.dpk-zuchtkarte__wer {
	color: var(--wp--preset--color--grau);
}

.dpk-zuchtkarte__marken {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.dpk-zuchtmarke {
	margin: 0;
	padding: 2px 10px;
	border: 1px solid var(--wp--custom--zucht-infobox--rand);
	background: var(--wp--custom--zucht-infobox--flaeche);
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--wp--preset--color--tinte);
}

.dpk-zuchtkarte__kontakt {
	margin-top: auto !important;
	padding-top: 4px;
	font-size: 1rem;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.dpk-zuchtkarte__kontakt a {
	color: var(--wp--preset--color--tinte);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	white-space: nowrap;
}

.dpk-zuchtkarte__trenner {
	color: var(--wp--preset--color--grau-leise);
}

/* Deckrüden: Farbe, Eltern */
.dpk-zuchtkarte__farbe {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--grau);
}

.dpk-farbpunkt {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	border-radius: 50%;
}

/* Echte Fellfarben wie bei „Unsere Pudel“ (pudel.css), immer mit Wort. */
.dpk-farbpunkt--schwarz { background: #1F1C21; }
.dpk-farbpunkt--weiss { background: #FFFFFF; box-shadow: inset 0 0 0 1px #BDB6C4; }
.dpk-farbpunkt--braun { background: #6E4630; }
.dpk-farbpunkt--silber { background: #A9A7B0; }
.dpk-farbpunkt--falb { background: #D9A86A; }
.dpk-farbpunkt--markenfarben { background: linear-gradient(90deg, #1F1C21 0 50%, #B9773E 50% 100%); }
.dpk-farbpunkt--harlekin { background: linear-gradient(90deg, #1F1C21 0 50%, #FFFFFF 50% 100%); box-shadow: inset 0 0 0 1px #BDB6C4; }

.dpk-zuchtkarte__eltern {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 2px 12px;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.dpk-zuchtkarte__eltern dt {
	color: var(--wp--preset--color--grau-leise);
}

.dpk-zuchtkarte__eltern dd {
	margin: 0;
	overflow-wrap: anywhere;
}

@media (max-width: 700px) {
	.dpk-zuchtliste__karten {
		grid-template-columns: minmax(0, 1fr);
	}
}
