/**
 * Theme Name:        CHS Inc
 * Theme URI:         https://chsinc.com
 * Description:       Full Site Editing block theme for CHS Inc
 * Version:           1.2.4
 * 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:       chs-inc
 * Domain Path:       /languages
 *
 * @package CHS_Inc
 */

/*
 * Global base styles — minimal only.
 * All design tokens are defined in theme.json.
 * Block-specific styles live in assets/css/blocks/*.css
 */

:root {
	/* Custom properties cascade from theme.json automatically */
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
  font-size: 62.5% !important; /* 1rem = 10px for easier calculations */
}

body {
	margin: 0;
}

/* "primary" was renamed to "chs-blue" in theme.json's color palette, so
 * WordPress no longer auto-generates has-primary-*-color CSS for it (that
 * generation is keyed to the live palette, unlike has-haze-color etc. below,
 * which still have a matching preset). 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-primary-color { color: var(--wp--custom--color--primary) !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--preset--color--marine) !important; }
.has-sky-color { color: var(--wp--preset--color--sky) !important; }
.has-green-color { color: var(--wp--preset--color--green) !important; }
.has-lemon-color { color: var(--wp--preset--color--lemon) !important; }
.has-orange-color { color: var(--wp--preset--color--orange) !important; }
.has-yellow-color { color: var(--wp--preset--color--yellow) !important; }

img {
	height: auto;
	max-width: 100%;
}


ul {
	padding-left: var(--wp--preset--spacing--60);
}

/* WordPress admin bar fix */
/* .admin-bar {
	margin-top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar {
		margin-top: 46px;
	}
} */
