/*
Theme Name: WildlifeLocator
Theme URI: https://wildlifelocator.com/
Description: Child-thema van Twenty Twenty-Five met de huisstijl van WildlifeLocator (Newsreader, Inter, kleurtokens en kansbadges).
Author: BdB Marketing BV
Template: twentytwentyfive
Version: 0.1.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: wildlifelocator
License: GPL-2.0-or-later
*/

/* ------------------------------------------------------------------
   Tokens die theme.json niet als preset kent
   ------------------------------------------------------------------ */
:root {
	--wl-radius: 16px;
	--wl-radius-s: 11px;
	--wl-schaduw: 0 6px 24px rgba(20, 40, 28, .09);
	--wl-schaduw-l: 0 2px 10px rgba(20, 40, 28, .06);
}

/* Cijfers in tabellen en data altijd even breed */
table,
.wl-data {
	font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------
   Kansbadges
   Sleutel in de database, label uit het taalbestand, kleur hieronder.
   Gebruik: <span class="wl-chance wl-chance--with_luck">With luck</span>
   ------------------------------------------------------------------ */
.wl-chance {
	display: inline-block;
	padding: .2em .75em;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
}

.wl-chance--easy      { background: #DFF3E4; color: #1A6B34; }
.wl-chance--with_luck { background: #FDF1D8; color: #8A6410; }
.wl-chance--rare      { background: #FBE3D8; color: #9C4A20; }
.wl-chance--very_rare { background: #F6D9D9; color: #9C2020; }

/* ------------------------------------------------------------------
   Donker oppervlak (pagina's die verkopen)
   Zet de class .wl-donker op een Groep- of Cover-blok.
   Regel: op donker nooit terracotta als tekst- of knopkleur.
   ------------------------------------------------------------------ */
.wl-donker {
	background-color: var(--wp--preset--color--groen-diep);
	color: var(--wp--preset--color--wit);
}

.wl-donker :where(h1, h2, h3, h4, h5, h6) {
	color: var(--wp--preset--color--wit);
}

.wl-donker a {
	color: var(--wp--preset--color--terracotta-l);
}

.wl-donker .wp-element-button,
.wl-donker .wp-block-button__link {
	background-color: var(--wp--preset--color--messing);
	color: var(--wp--preset--color--groen-diep);
}

.wl-donker .wl-chance--easy      { background: #16301F; color: #86D3A0; }
.wl-donker .wl-chance--with_luck { background: #33280F; color: #E3BC61; }
.wl-donker .wl-chance--rare      { background: #37201A; color: #E4A17C; }
.wl-donker .wl-chance--very_rare { background: #361A1A; color: #E49090; }

/* ------------------------------------------------------------------
   Kaart / paneel
   ------------------------------------------------------------------ */
.wl-kaart {
	background: var(--wp--preset--color--wit);
	border-radius: var(--wl-radius);
	box-shadow: var(--wl-schaduw);
	padding: var(--wp--preset--spacing--40, 1.5rem);
}
