/**
 * Theme Name:        Cenex Zip Trip
 * Theme URI:         https://chsinc.com
 * Template:          chs-inc
 * Description:       Child theme of CHS Inc for the Cenex Zip Trip site.
 * Version:           1.2.10
 * Requires at least: 6.0
 * Requires PHP:      8.0
 * Author:            Creed Interactive
 * Author URI:        https://creedinteractive.com
 * License:           GPL-2.0-or-later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:       cenex-zip-trip
 * Domain Path:       /languages
 *
 * @package Cenex_Zip_Trip
 */

/*
 * Child overrides only — minimal.
 * Design tokens belong in theme.json, not here.
 * Block-specific styles live in assets/css/blocks/*.css
 * Component styles live in assets/css/components/*.css
 *
 * The parent stylesheet is enqueued ahead of this file by functions.php.
 */

 /* "primary" was removed from this theme's own color palette (it's aliased
  * via settings.custom.color instead), so WordPress no longer auto-generates
  * has-primary-*-color CSS for it. These rules keep existing content that
  * was saved with backgroundColor/textColor "primary" working, pointed at
  * the semantic replacement token instead of the removed preset. */
.has-primary-background-color { background-color: var(--wp--custom--color--primary) !important; }
.has-primary-border-color { border-color: var(--wp--custom--color--primary) !important; }

/* Fix WordPress color class specificity issue */
/* Specific color classes must override the generic .has-text-color */
.has-cenex-red-color { color: var(--wp--preset--color--cenex-red) !important; }
.has-cenex-blue-color { color: var(--wp--preset--color--cenex-blue) !important; }
.has-primary-color { color: var(--wp--custom--color--primary) !important; }
.has-dark-blue-color { color: var(--wp--preset--color--dark-blue) !important; }
.has-haze-color { color: var(--wp--preset--color--haze) !important; }
.has-gray-color { color: var(--wp--preset--color--gray) !important; }
.has-black-color { color: var(--wp--preset--color--black) !important; }
.has-white-color { color: var(--wp--preset--color--white) !important; }
.has-marine-color { color: var(--wp--custom--color--secondary) !important; }
.has-sky-color { color: var(--wp--custom--color--accent-1) !important; }
.has-green-color { color: var(--wp--custom--color--accent-2) !important; }
.has-lemon-color { color: var(--wp--custom--color--accent-3) !important; }
.has-orange-color { color: var(--wp--preset--color--orange) !important; }
.has-yellow-color { color: var(--wp--preset--color--yellow) !important; }

/* Superscripts (including registered marks wrapped by functions.php) use
 * Calibre so they don't inherit the heavy HeadingNow face in headlines;
 * zero line-height keeps the raised glyph from pushing lines apart. */
.reg-mark, sup {
	font-family: var(--wp--preset--font-family--calibre);
	line-height: 0;
}
