/*
 * akctheme shared design tokens.
 *
 * Loaded on the front end (enqueued before style.css) and in the block editor
 * (add_editor_style() in inc/setup.php), so the site and the editor share one
 * definition of fonts, colors and font sizes. Keep editor-style.css in sync
 * when style changes are made.
 *
 * Font URLs are relative to this file (assets/css/), so they point at
 * assets/fonts/. WordPress rebases them for the editor.
 */

/* ---------- Fonts (Open Sans, SIL OFL 1.1, bundled: no external requests) ---------- */
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300 800;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/opensans-normal-latin-ext.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-family: "Open Sans";
	font-style: normal;
	font-weight: 300 800;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/opensans-normal-latin.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;
}

@font-face {
	font-family: "Open Sans";
	font-style: italic;
	font-weight: 300 800;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/opensans-italic-latin-ext.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-family: "Open Sans";
	font-style: italic;
	font-weight: 300 800;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/opensans-italic-latin.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;
}

/* ---------- Tokens (site colors, fonts and font sizes) ---------- */
:root {
	--akctheme-blue: #2ea3f2;
	--akctheme-blue-dark: #0c71c3;
	--akctheme-text: #666;
	--akctheme-heading: #333;
	--akctheme-muted: #767676;
	--akctheme-bg: #fff;
	--akctheme-soft: #f3f1ee;
	--akctheme-soft-hover: #e7e2db;
	--akctheme-line: rgba(0, 0, 0, 0.08);
	--akctheme-link: var(--akctheme-blue);
	--akctheme-font: "Open Sans", Arial, sans-serif;
	--akctheme-font-size: 0.9375rem;
	--akctheme-line-height: 1.7;
	--akctheme-heading-weight: 500;
	--akctheme-heading-line-height: 1.25;
	--akctheme-font-size-h1: 1.75rem;
	--akctheme-font-size-h2: 1.5rem;
	--akctheme-font-size-h3: 1.25rem;
	--akctheme-font-size-small: 0.875rem;
	--akctheme-width: 90%;
	--akctheme-max: 1080px;
	--akctheme-divider: 2px;
}

/* Desktop */
@media (min-width: 981px) {

	:root {
		--akctheme-width: 80%;
		--akctheme-font-size-h1: 1.875rem;
		--akctheme-font-size-h2: 1.625rem;
	}
}
