/* Selector de países de la home (siluetas SVG como máscara, para que sigan los colores del tema). */
.wp-countries { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .wp-countries { grid-template-columns: repeat(4, 1fr); } }
.wp-country { position: relative; overflow: hidden; display: grid; justify-items: center; align-content: start; gap: 10px; height: 100%; box-sizing: border-box; padding: 16px 12px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); color: inherit; text-decoration: none; }
a.wp-country:hover { border-color: var(--accent); }
a.wp-country:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wp-country__map { display: block; height: 120px; max-width: 100%; background: var(--muted); -webkit-mask: var(--map) center / contain no-repeat; mask: var(--map) center / contain no-repeat; }
.wp-country--active .wp-country__map { background: var(--accent); }
.wp-country--soon .wp-country__map { opacity: .3; }
.wp-country__map--es { width: 161px; aspect-ratio: 269 / 200; --map: url("paises/es.svg"); }
.wp-country__map--fr { width: 122px; aspect-ratio: 204 / 200; --map: url("paises/fr.svg"); }
.wp-country__map--it { width: 102px; aspect-ratio: 170 / 200; --map: url("paises/it.svg"); }
.wp-country__map--de { width: 89px; aspect-ratio: 148 / 200; --map: url("paises/de.svg"); }
.wp-country__name { font: 600 18px/1.1 var(--display); color: var(--fg); }
.wp-country__cta { font-size: 14px; color: var(--accent-ink); }
.wp-country__soon { position: absolute; left: -20%; right: -20%; top: 44%; transform: rotate(-14deg); padding: 4px 0; background: var(--sunk); border-block: 1px solid var(--line-strong); font: 700 15px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--fg); }

/* Federaciones (solo informativas, sin enlaces). El logo va siempre sobre un recuadro blanco: así se ve igual en modo oscuro. */
.wp-feds { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .wp-feds { grid-template-columns: repeat(5, 1fr); } }
.wp-fed { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; height: 100%; box-sizing: border-box; padding: 22px 14px 16px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 21, 29, .05); }
.wp-fed::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); opacity: .85; }
.wp-fed__badge { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 6px; box-sizing: border-box; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(15, 21, 29, .08); }
.wp-fed__badge img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.wp-fed__short { font: 700 22px/1.1 var(--display); letter-spacing: .01em; color: var(--fg); }
.wp-fed__name { font-size: 13px; line-height: 1.4; color: var(--muted); min-height: 2.8em; }
.wp-fed__scope { display: inline-block; margin-top: 2px; padding: 2px 10px; border-radius: 999px; background: var(--sunk); border: 1px solid var(--line); font: 600 11px/1.5 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wp-fed__figures { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.wp-fed__figures strong { display: block; font: 700 24px/1.1 var(--display); letter-spacing: 0; text-transform: none; color: var(--fg); }
.wp-fed__detail { font-size: 12px; color: var(--muted); }
.wp-fed__detail strong { color: var(--accent-ink); font-variant-numeric: tabular-nums; }
