/*
Theme Name: Jersey Bulls FC
Theme URI: https://www.bulls.je
Description: Bespoke theme for Jersey Bulls FC. Child of FC United for SportsPress Pro compatibility. All Bulls-specific design, blocks, and template overrides live here.
Author: Ikigai
Author URI: https://www.ikigai.je
Version: 0.1.0
Tested up to: 6.9
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jersey-bulls
Template: fc-united
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

/* Display font: Evogria (7NTypes) — self-hosted woff2 (css/fonts.css).
   ⚠️ Personal-use licence: agree a commercial licence with the author before public launch.
   Labels: Zalando Sans (OFL) — self-hosted, replaced IBM Plex Mono 2026-06-13.
   Body: Roboto, loaded via functions.php wp_head. See design/09. */
/* Foundation (fonts, tokens) + all component CSS are now ENQUEUED with filemtime
   versioning in functions.php (jersey_bulls_enqueue_component_css) so every change
   auto-cache-busts — they previously @import'd here without versions and WPE's
   1-year cache meant edits never reached browsers. They load right after this
   stylesheet, in the order defined there (fonts → tokens → site-header … theme-light).
   When adding a component CSS file, add it to that ordered list, NOT here. */

/* Base typography — Juventus-style body: Roboto stack. Calibrated to Juventus's
   actual density (their body runs ~14px/1.4); we hold 16px as the accessible
   floor with a slightly tighter rhythm than the previous airy 20px/1.5.
   !important overrides the FC United parent's body font (per the Juventus pattern). */
body {
	font-family: var(--ff-sans) !important;
	font-size: var(--fs-100); /* 16px — Juve density, accessible floor */
	line-height: 1.45;
	color: var(--t-fg);
}

/* Brand accent — remap the FC United (ThemeREX) accent palette from its stock orange
   (#FE3D00 / #E32600) to Bulls red, so every parent-rendered link / button / accent
   inherits the brand. The parent scopes these vars to .scheme_default (on body); the
   matching selectors + !important guarantee the override regardless of source order. */
body,
.scheme_default,
body.scheme_default,
.scheme_default:where(.editor-styles-wrapper) {
	--theme-color-link:       var(--c-bulls-red) !important;
	--theme-color-hover:      var(--c-bulls-red-700) !important;
	--theme-color-link_blend: var(--c-bulls-red-600) !important;
	--theme-color-alt_link:   var(--c-bulls-red) !important;
	--theme-color-alt_hover:  var(--c-bulls-red-700) !important;
}
