/*
Theme Name: TBR Tabellone
Description: Tema di Tennis Best Ranking, direzione grafica "Tabellone": fondo scuro, numeri da segnapunti, giallo e azzurro del marchio. Caratteri Anton e Inter (licenza SIL Open Font), ospitati sul sito.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: tbr-tabellone
License: GNU General Public License v2 or later
*/

/* Fondo scuro anche dentro l'editor di WordPress. */
body, .editor-styles-wrapper { background-color: #0E0F11; color: #F4F4F2; }

/* Logo negativo (testo bianco) sul fondo scuro */
.tbr-logo { line-height: 0; }
.tbr-logo img { width: 200px; height: auto; display: block; }
@media (max-width: 600px) { .tbr-logo img { width: 150px; } }

/* Striscia gialla con la data della classifica */
.tbr-updatebar {
	background: #F2DC00;
	color: #0E0F11;
}
.tbr-updatebar__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	font-size: 0.875rem;
	font-weight: 600;
}
.tbr-updatebar a { color: #0E0F11; }
.tbr-updatebar a:hover, .tbr-updatebar a:focus { color: #0E0F11; text-decoration-thickness: 3px; }

/* Menu: voce attiva in giallo */
.wp-block-navigation .current-menu-item > a,
.wp-block-navigation a[aria-current="page"] { color: #F2DC00; }
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: #0E0F11 !important;
	color: #F4F4F2 !important;
}

/* Etichetta piccola sopra i titoli */
.tbr-kicker {
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #0DCAF2;
}

/* Linee sottili tra sezioni */
.tbr-rule-top { border-top: 1px solid #2B2E33; }

/* Testo lungo leggibile (pagine Metodo, DNA, storie) */
.wp-block-post-content p,
.wp-block-post-content li { color: #D9DBDF; }

:focus-visible { outline: 3px solid #0DCAF2; outline-offset: 2px; }

/* Sottotitolo sotto i titoli grandi */
.tbr-lead { font-size: 1.25rem; line-height: 1.5; color: #C9CBD0; max-width: 640px; }

/* Immagine dell'intestazione in home */
.tbr-hero-img img { width: 100%; height: auto; display: block; }
