/*
Theme Name: SVHStats (Football Club Child)
Theme URI: https://svhstats.net
Description: Child-Theme von Football Club im Design des SV Hohenlinden: SVH-Blau, Lindengrün, Archivo und Source Sans 3 (lokal eingebunden).
Author: SV Hohenlinden
Template: football-club
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: svhstats-fc
*/

/*
 * Farben des SVH-Designs
 *   SVH-Blau        #0d6ab4  (Primärfarbe und Links, über den Customizer gesetzt)
 *   SVH-Blau dunkel #0a5694  (Navigationsleiste)
 *   Lindengrün      #116b2f  (Akzent: Navigation beim Überfahren, Untermenüs)
 *   Flächengrau     #f4f6f8
 *
 * Football Club schreibt die Customizer-Farben als Inline-CSS hinter die
 * Stylesheets. Regeln, die dagegen gewinnen müssen, beginnen deshalb mit "body".
 */

/* Schriften: lokal, keine Verbindung zu Google */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/archivo-latin-wght-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Source Sans 3";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url("fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
}

body,
button,
input,
select,
textarea {
	font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.widget-title,
.sp-heading,
.sp-table-caption,
.main-navigation {
	font-family: "Archivo", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

h1,
h2,
h3 {
	font-weight: 700;
	letter-spacing: -0.01em;
}

.site-title {
	font-weight: 800;
	font-size: 44px;
	letter-spacing: -0.01em;
}

/* Navigation */
body .main-navigation {
	background: #0a5694;
	box-shadow: none;
	font-weight: 600;
}

body .main-navigation a {
	opacity: 0.85;
	text-shadow: none;
	border-right-color: rgba(0, 0, 0, 0.2);
}

body .main-navigation li:hover a,
body .main-navigation ul ul,
body .main-navigation.toggled .menu-toggle {
	background: #116b2f;
	opacity: 1;
}

body .main-navigation .current-menu-item > a,
body .main-navigation .current_page_item > a,
body .main-navigation .current-menu-ancestor > a,
body .main-navigation .current_page_ancestor > a {
	opacity: 1;
	box-shadow: inset 0 -3px 0 #ffffff;
}

/* SportsPress-Tabellen */
body .sp-data-table thead th {
	background: #0d6ab4;
	color: #ffffff;
	border-color: #0a5694;
}

body .sp-data-table thead th a,
body .sp-data-table thead th.sorting:after,
body .sp-data-table thead th.sorting_asc:after,
body .sp-data-table thead th.sorting_desc:after {
	color: #ffffff;
}

body .sp-data-table tbody tr.odd td,
body .sp-data-table tbody tr.alternate td {
	background: #f4f6f8;
}

/* Eigene Mannschaft in Ligatabellen hervorheben */
body .sp-league-table .sp-highlight,
body .sp-league-table tr.highlighted td {
	background: #e7f1f9;
	color: #0a5694;
	font-weight: 700;
}
