/*
Theme Name: JEO Block Theme
Theme URI: https://github.com/InfoAmazonia/jeo-theme
Author: InfoAmazonia contributors
Description: A visual-parity child block theme for Newspack Block Theme.
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 8.0
Version: 0.2.0
Template: newspack-block-theme
Text Domain: jeo
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/*
 * This file intentionally contains only child overrides. Parent CSS is loaded
 * explicitly from the parent directory in functions.php because Newspack Block
 * Theme 1.28.1 otherwise resolves its main stylesheet against the child path.
 */

/*
 * Deterministic copies of the exact Open Sans Condensed faces used by the
 * classic baseline. The site's font optimizer can omit the latin face while
 * rebuilding a cache after a theme switch; these declarations preserve the
 * validated metrics while keeping the existing Google-hosted delivery model.
 */
@font-face {
	font-display: swap;
	font-family: "Open Sans Condensed";
	font-style: normal;
	font-weight: 700;
	src: url("https://fonts.gstatic.com/s/opensanscondensed/v24/z7NFdQDnbTkabZAIOl9il_O6KJj73e7Ff0GmDuvMR6WR.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-display: swap;
	font-family: "Open Sans Condensed";
	font-style: normal;
	font-weight: 700;
	src: url("https://fonts.gstatic.com/s/opensanscondensed/v24/z7NFdQDnbTkabZAIOl9il_O6KJj73e7Ff0GmDuXMRw.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--primary: #59811a;
	--primary-lighter-65: #c5d3af;
	--primary-lighter-75: #d6e0c6;
	--primary-lighter-85: #e7eddd;
	--primary-darker-15: #4c6e17;
	--primary-opacity-1: #59811a1a;
	--primary-opacity-15: #59811a26;
	--primary-variation: #315900;
	--secondary: #333333;
	--secondary-variation: #0b0b0b;
	--featured-font: "Open Sans", sans-serif;
	--primary-font: "Open Sans", sans-serif;
	--special-heading-font: "Open Sans Condensed", "Open Sans", sans-serif;
	--accent-font: "Lato", "Open Sans", sans-serif;
	--search-dark-icon-color: #ffffff;
	--social-dark-icon-color: #ffffff;
}

.is-style-jeo-condensed,
.is-style-jeo-condensed > * {
	font-family: "Open Sans Condensed", "Open Sans", sans-serif;
	font-weight: 700;
}

.is-style-jeo-accent,
.is-style-jeo-accent > * {
	font-family: "Lato", "Open Sans", sans-serif;
}

/*
 * The legacy Audio enhancement hides the native element after it builds the
 * accessible JEO controls. Core's block stylesheet otherwise overrides the
 * classic `.hide` utility in this child and renders both players.
 */
.entry-content .wp-block-audio audio.hide {
	display: none;
}
