@charset "UTF-8";

/**
 * reset.css 3.1.1
 * Author: hybrid.
 * Type: core
 *
 * Sanitizes browser defaults, then sets a minimal base.
 * Neutral by default: no casing, no accent, no identity.
 * RESET and BASE rules all use :where() (specificity 0): override them either
 * by redeclaring the rule in styles.css, or by overriding the variables.
 * Zero specificity makes file order the only arbiter (reset, base, then the
 * rest of the framework) and any selector or class wins, with no !important.
 * Exceptions keep their own specificity: [hidden] (!important) and utilities (classes).
 * Visual browser defaults are removed, semantics are kept (em, strong, abbr).
 *
 * Sections
 * CONFIG    — global tokens (UI), then one :root block per subject
 * RESET     — browser defaults, no variable
 * BASE      — hr, titles, lists, anchors, focus, mark (variable driven)
 * UTILITIES — hidden, disabled, only-*, for-*, ellipsis
 *
 * Global tokens defined here (used across the framework)
 * --stroke-width
 * --disabled-opacity
 * --font-size                  neutral default, overridden in fonts.css / styles-fonts.css
 *
 * Local tokens
 * --hr-border-width
 * --title-transform / --title-gap / --title-class-display
 * --list-gap / --bullet-gap / --bullet-size / --bullet-indent
 * --bullet-top / --bullet-top-transform
 * --bullet-ol-font-size / --bullet-ol-size / --bullet-ol-indent / --bullet-ol-top
 * --anchor-underline-width / --anchor-underline-offset / --anchor-underline-color
 * --anchor-hover-color / --anchor-hover-underline-color
 * --focus-outline-width / --focus-outline-color / --focus-outline-offset
 * --mark-background / --mark-padding / --mark-line-height
 * --ellipsis-lines
 *
 * Optional tokens, not declared (read at use, they follow the context)
 * --bullet-color         fallback: --text-color
 * --bullet-text-color    fallback: --background-color
 * --line-height          fallback: inherit
 * --title-line-height    fallback: inherit
 * --mark-color           fallback: inherit
 * Set them on :root, a container or a list to override.
 *
 * Dependencies (optional, with fallback)
 * --text-color, --background-color, --accent-color  defined in colors.css
 * --content-spacing                                  defined in spacing.css
 *
 * Focus
 * One :focus-visible rule for every focusable element, driven by the
 * --focus-outline-* tokens. A module adapts the offset by redeclaring
 * --focus-outline-offset on its own element (text links here, buttons in buttons.css,
 * nav anchors in navigations.css), never by rewriting the rule.
 * Modules that remove the outline (inputs, custom widgets) draw their own focus style.
 * The outline is transparent at rest so it can be animated: a module adds outline-color and
 * outline-offset to its own transition (navigations.css does it in --nav-anchor-transition).
 *
 * Moved out of this file
 * ::selection                       → colors.css
 * video native controls           → medias.css
 * input spin buttons                → forms.css
 * html margin-top, #wpadminbar      → wp-front.css
 */



/* ================================================================================================== */
/* ============================================= CONFIG ============================================= */
/* ================================================================================================== */


/* ============================== UI ============================== */

:root {
	--stroke-width: .125rem;
	--disabled-opacity: .33;
}


/* ============================== TYPOGRAPHY ============================== */

:root {
	--font-size: 1rem;
}


/* ============================== HR ============================== */

:root {
	--hr-border-width: var(--stroke-width);
}


/* ============================== TITLES ============================== */

:root {
	--title-transform: none;
	--title-gap: 0 1em;
	--title-class-display: inline-block; /* .h1-.h6 only, real h1-h6 keep their native display */
}


/* ============================== LISTS ============================== */

:root {
	--list-gap: calc(var(--content-spacing, 1.5rem) / 3); /* space between items */
	--bullet-gap: .75em; /* space between bullet and text */
	--bullet-size: .375em; /* UL dot diameter */
	--bullet-indent: calc(var(--bullet-size) + var(--bullet-gap));
	--bullet-top: calc(1lh / 2); /* centered on first line */
	--bullet-top-transform: translateY(-50%);

	/* OL: scales with line-height */
	--bullet-ol-font-size: .5lh;
	--bullet-ol-size: 2em;
	--bullet-ol-indent: calc(var(--bullet-ol-font-size) * 2 + var(--bullet-gap));
	--bullet-ol-top: calc(var(--bullet-ol-font-size) * 2);

	/* Context colors, not declared here (a :root value would freeze them).
	   Read at use in ::before; set on :root, a container or a list to override.
	--bullet-color: var(--text-color);               bullet / ol disc
	--bullet-text-color: var(--background-color);    ol number
	*/
}


/* ============================== ANCHORS ============================== */

:root {
	--anchor-underline-width: calc(var(--stroke-width) / 2);
	--anchor-underline-offset: .125em;
	--anchor-underline-color: currentColor;
	--anchor-hover-color: var(--accent-color, currentColor);
	--anchor-hover-underline-color: transparent;
}


/* ============================== FOCUS ============================== */

:root {
	--focus-outline-width: var(--stroke-width);
	--focus-outline-color: currentColor;
	--focus-outline-offset: calc(var(--stroke-width) * -1); /* inset: never clipped by overflow */
}


/* ============================== MARKS ============================== */

:root {
	--mark-background: var(--accent-color, transparent);
	--mark-padding: .125em .25em;
	--mark-line-height: 1.5;
}


/* ============================== ELLIPSIS ============================== */

:root {
	--ellipsis-lines: 3;
}



/* ================================================================================================= */
/* ============================================= RESET ============================================= */
/* ================================================================================================= */

/* All rules below are :where() — specificity 0, except box-sizing (already 0) and [hidden] */


/* ============================== BOX MODEL ============================== */

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


/* ============================== DOCUMENT ============================== */

:where(html) {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
:where(body) { margin: 0; }


/* ============================== SPACING ============================== */

:where(
	h1, h2, h3, h4, h5, h6,
	p, blockquote, figure, pre,
	dl, dd,
	ul, ol, menu,
	fieldset, legend
) {
	margin: 0;
	padding: 0;
}
:where(hr) { margin: 0; }


/* ============================== TEXT ============================== */

:where(h1, h2, h3, h4, h5, h6) { font-weight: inherit; }
:where(address, cite, dfn, var) { font-style: normal; }
:where(sub, sup) {
	font-size: inherit;
	line-height: 0;
}
:where(th) {
	font-weight: inherit;
	text-align: inherit;
}
:where(caption) { text-align: inherit; }

/* To validate — monospace kept, size bug fixed */
:where(code, kbd, samp, pre) {
	font-family: monospace, monospace;
	font-size: 1em;
}


/* ============================== LISTS ============================== */

:where(ul, ol, menu) { list-style: none; }


/* ============================== LINKS ============================== */

:where(a) {
	color: inherit;
	text-decoration: none;
}


/* ============================== MEDIAS ============================== */

:where(img, svg, picture, video, audio, iframe, canvas) { display: block; }
:where(img, iframe) { border: 0; }
:where(video, audio) { width: 100%; }
:where(video) { height: auto; }
:where(iframe) { max-width: 100%; }


/* ============================== FORMS ============================== */

:where(button, input, select, textarea) {
	font: inherit;
	letter-spacing: inherit;
}
:where(fieldset) {
	min-width: 0;
	border: 0;
}


/* ============================== TABLES ============================== */

:where(table) {
	border-collapse: collapse;
	border-spacing: 0;
}


/* ============================== HR ============================== */

:where(hr) {
	border: 0;
	color: inherit;
}


/* ============================== HIDDEN ============================== */

[hidden] { display: none !important; }



/* ================================================================================================ */
/* ============================================= BASE ============================================= */
/* ================================================================================================ */

/* All rules below are :where() — specificity 0 */


/* ============================== HR ============================== */

:where(hr:not(.blank)) { border-bottom: solid var(--hr-border-width); }


/* ============================== TITLES ============================== */

/* Elements and utility classes (.h1-.h6) share the same base */
:where(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
	line-height: var(--title-line-height, inherit);
	text-transform: var(--title-transform);
}
:where(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6).inline { gap: var(--title-gap); }

/* Classes only: a class can sit on any element (span, p), the native h1-h6 display is untouched */
:where(.h1, .h2, .h3, .h4, .h5, .h6) { display: var(--title-class-display); }


/* ============================== LISTS ============================== */

/* Excluded: nav, .nav, .menu, .list, .inline (the lists themselves and their descendants) */

/* =============== SPACING =============== */

:where(:is(ul, ol):not(.menu, .list, .inline):not(:is(nav, .nav, .menu, .list, .inline) :is(ul, ol)) > li + li) { margin-top: var(--list-gap); }


/* =============== UL =============== */

:where(ul:not(.menu, .list, .inline):not(:is(nav, .nav, .menu, .grid, .list, .inline) ul) > li) {
	position: relative;
	display: block;
	padding: 0 0 0 var(--bullet-indent);
}
:where(ul:not(.menu, .list, .inline):not(:is(nav, .nav, .menu, .grid, .list, .inline) ul) > li)::before {
	content: '';
	position: absolute;
	top: var(--bullet-top);
	left: 0;
	transform: var(--bullet-top-transform);
	height: var(--bullet-size);
	aspect-ratio: 1/1;
	border-radius: 50%;
	background: var(--bullet-color, var(--text-color, #000));
}


/* =============== OL =============== */

:where(ol) { counter-reset: list-counter; }

:where(ol:not(.menu, .list, .inline):not(:is(nav, .nav, .menu, .grid, .list, .inline) ol) > li) {
	position: relative;
	display: block;
	counter-increment: list-counter;
	padding: 0 0 0 var(--bullet-ol-indent);
}
:where(ol:not(.menu, .list, .inline):not(:is(nav, .nav, .menu, .grid, .list, .inline) ol) > li)::before {
	content: counter(list-counter);
	position: absolute;
	top: var(--bullet-ol-top);
	left: 0;
	transform: var(--bullet-top-transform);
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--bullet-ol-size);
	aspect-ratio: 1/1;
	font-size: var(--bullet-ol-font-size);
	line-height: 1;
	border-radius: 50%;
	color: var(--bullet-text-color, var(--background-color, #FFF));
	background: var(--bullet-color, var(--text-color, #000));
}


/* ============================== ANCHORS ============================== */

/* Text links: in content (p, li, dd, td, figcaption, blockquote), never in nav / .nav / menus / lists-as-components */

:where(:is(p, li, dd, td, figcaption, blockquote) a:not(:is(nav, .nav, .menu, .grid, .list, .inline) a)) {
	text-decoration: underline;
	text-decoration-thickness: var(--anchor-underline-width);
	text-decoration-color: var(--anchor-underline-color);
	text-underline-offset: var(--anchor-underline-offset);
	text-underline-position: from-font;
}

/* =============== ACTIVE =============== */

:where(:is(p, li, dd, td, figcaption, blockquote) a:not(:is(nav, .nav, .menu, .grid, .list, .inline) a)).active {
	color: var(--anchor-hover-color);
	text-decoration-color: var(--anchor-hover-underline-color);
}

/* =============== HOVER =============== */

@media (hover: hover) {
	:where(:is(p, li, dd, td, figcaption, blockquote) a:not(:is(nav, .nav, .menu, .grid, .list, .inline) a)):hover {
		color: var(--anchor-hover-color);
		text-decoration-color: var(--anchor-hover-underline-color);
	}
}
@media (hover: none) {
	:where(:is(p, li, dd, td, figcaption, blockquote) a:not(:is(nav, .nav, .menu, .grid, .list, .inline) a)).hover {
		color: var(--anchor-hover-color);
		text-decoration-color: var(--anchor-hover-underline-color);
	}
}


/* ============================== FOCUS ============================== */

/* Transparent at rest: outline-style does not animate, a modules transition on outline-color / outline-offset
   (see --nav-anchor-transition) then draws the focus in. Also the forced-colors fallback. */
:where(a, button, input, select, textarea, summary, [tabindex]:not([tabindex='-1'])) {
	outline: solid var(--focus-outline-width) transparent;
}

/* Keyboard only. Offset is a token so modules adapt it without touching the rule. */
:where(a, button, input, select, textarea, summary, [tabindex]:not([tabindex='-1'])):focus-visible {
	outline-color: var(--focus-outline-color);
	outline-offset: var(--focus-outline-offset);
}

/* Containers focused by a script or a skip link (main, footer, #primary: tabindex="-1") are not interactive:
   without this rule the browser draws its own default ring (accent-color) on them */
:where([tabindex='-1']):focus-visible { outline: none; }

/* Text links sit in a line of text: offset outside */
:where(:is(p, li, dd, td, figcaption, blockquote) a:not(:is(nav, .nav, .menu, .grid, .list, .inline) a)) {
	--focus-outline-offset: calc(var(--stroke-width) * 2); /* outside, clear of the underline */
}


/* ============================== MARKS ============================== */

:where(mark, .highlighted) {
	display: inline;
	color: var(--mark-color, inherit);
	background-color: var(--mark-background);
	line-height: var(--mark-line-height);
	padding: var(--mark-padding);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Text color class alone: plain colored text, no highlight box */
:where(mark, .highlighted)[class*='-text-color']:not([class*='-background-color']) {
	background: none;
	box-shadow: none;
	padding: 0;
}



/* ================================================================================================== */
/* ============================================ UTILITIES =========================================== */
/* ================================================================================================== */


/* ============================== VISIBILITY ============================== */

/* Accessible hiding — still read by screen readers */

.hidden,
a .label,
button .label {
	position: absolute;
	width: 0;
	height: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	white-space: nowrap;
}
a .label,
button .label {
	font-size: 0;
	flex-shrink: 0;
}


/* ============================== DISABLED ============================== */

.disabled {
	pointer-events: none;
	opacity: var(--disabled-opacity);
}


/* ============================== RESPONSIVE ============================== */

/* Breakpoint is hard-coded: variables do not work in media queries.
   Range syntax (width < 1000px) so both rules never match at the same width. */

@media (width < 1000px) { .only-desktop { display: none !important; } }
@media (min-width: 1000px) { .only-mobile { display: none !important; } }


/* ============================== JS DETECTION ============================== */

body:not(.mobile) .for-mobile,
body.mobile .for-desktop { display: none !important; }


/* ============================== ELLIPSIS ============================== */

.ellipsis {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--ellipsis-lines);
	text-overflow: ellipsis;
	overflow: hidden;
}