/*
Theme Name: Hummelbike
Description: A WordPress block theme built with Shader and VX Framework, with block templates and theme.json.
Author: Shader
Author URI: https://vxframework.com
Text Domain: hummelbike
Version: 0.1.0
Requires at least: 7.1
Requires PHP: 8.1
Update URI: false
*/

/*
 * Plumbing only. The look lives in theme.json; this file holds what theme.json
 * can't express. It loads on the site and in the editor, so its rules must hold
 * in both.
 */

/* Room for a scrollbar on every page, so a short page and a long one line up
   where scrollbars take space, as on Windows, instead of the layout jumping
   sideways between them. */
html {
	scrollbar-gutter: stable;
}

/* WordPress puts a block gap between the template's top-level blocks: the
   header part, main and the footer part. Sections own their spacing instead.
   The editor's canvas root is .wp-site-blocks too while it shows a template,
   but there WordPress prints that gap after this file, so :root makes this win. */
:root .wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* With that gap gone, main keeps its distance from the header and footer. A
   template whose main starts or ends with a full-bleed section adds the
   is-flush class to main. */
.wp-site-blocks main {
	padding-block: var(--wp--preset--spacing--50);
}

.wp-site-blocks main.is-flush {
	padding-block: 0;
}

/* ==========================================================================
   Design system: what theme.json can't express.
   Every value is a token from theme.json: a preset (--wp--preset--…) or a
   custom token (--wp--custom--…). No raw colours or sizes below.
   Breakpoints are WordPress's own, 782px (tablet) and 480px (phone), plus
   one for the header menu (1119px), which the length of the German labels
   decides, not the content.
   ========================================================================== */

/* --- Rendering ----------------------------------------------------------- */

/* A link to a place on the page stops below the sticky header, not under it. */
html {
	scroll-padding-top: calc(var(--wp--custom--logo--height) + var(--wp--preset--spacing--80));
}

body {
	-webkit-font-smoothing: antialiased;
	font-optical-sizing: auto;
	font-synthesis-weight: none;
	text-wrap: pretty;
}

:where(h1, h2, h3, h4, h5, h6) {
	text-wrap: balance;
}

:where(strong, b) {
	color: var(--wp--preset--color--ink-900);
	font-weight: 700;
}

::selection {
	background: var(--wp--preset--color--blue-200);
	color: var(--wp--preset--color--ink-900);
}

/* Running text keeps its measure even in a wide container. */
:where(.wp-block-group.alignwide, .wp-block-column) :where(p:not(.has-text-align-center), ul, ol) {
	max-width: var(--wp--custom--measure--body);
}

/* --- Links ---------------------------------------------------------------- */

a {
	text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
	text-underline-offset: 3px;
	transition:
		color var(--wp--custom--motion--fast) var(--wp--custom--motion--ease),
		text-decoration-color var(--wp--custom--motion--fast) var(--wp--custom--motion--ease);
}

a:hover {
	text-decoration-color: currentColor;
}

/* --- Focus: one ring, always visible, and only on controls: in the editor,
   the text being typed in has focus too. ---------------------------------- */

:where(a, button, input, select, textarea, summary, [tabindex]:not([contenteditable])):focus-visible {
	outline: var(--wp--custom--border--thick) solid var(--wp--preset--color--blue-700);
	outline-offset: 2px;
	border-radius: var(--wp--preset--border-radius--xs);
}

:is(.wp-element-button, .wp-block-button__link):focus-visible {
	border-radius: var(--wp--preset--border-radius--pill);
}

/* --- Dark and brand grounds ---------------------------------------------- */

/* White text is legal on Asphalt 900, Blau 700 and over a scrimmed photo.
   Headings and bold text follow the ground instead of staying ink. */
:is(.has-ink-900-background-color, .has-blue-700-background-color, .wp-block-cover) :is(h1, h2, h3, h4, h5, h6, strong, b) {
	color: inherit;
}

:is(.has-ink-900-background-color, .has-blue-700-background-color, .wp-block-cover) :where(a, button, input, select, textarea, summary):focus-visible {
	outline-color: var(--wp--preset--color--white);
}

.has-ink-900-background-color a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--blue-300);
}

.has-ink-900-background-color a:where(:not(.wp-element-button)):hover {
	color: var(--wp--preset--color--blue-100);
}

.has-blue-700-background-color a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--white);
}

/* Text on a bright brand fill is ink, never white (2.0:1 and 2.6:1). */
:is(.has-green-500-background-color, .has-blue-500-background-color) {
	color: var(--wp--preset--color--ink-900);
}

/* --- Buttons: one size; press nudges 1px ---------------------------------- */

.wp-element-button,
.wp-block-button__link {
	transition:
		color var(--wp--custom--motion--fast) var(--wp--custom--motion--ease),
		background-color var(--wp--custom--motion--fast) var(--wp--custom--motion--ease),
		border-color var(--wp--custom--motion--fast) var(--wp--custom--motion--ease),
		transform var(--wp--custom--motion--instant) var(--wp--custom--motion--ease);
}

:is(.wp-element-button, .wp-block-button__link):active {
	transform: translateY(1px);
}

:is(.wp-element-button, .wp-block-button__link):is(:disabled, [aria-disabled="true"]) {
	border-color: transparent;
	background-color: var(--wp--preset--color--ink-200);
	color: var(--wp--preset--color--ink-600);
	cursor: not-allowed;
	transform: none;
}

/* --- Fields --------------------------------------------------------------- */

input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="range"], [type="file"]),
select,
textarea {
	box-sizing: border-box;
	min-height: var(--wp--custom--control--field);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	border: var(--wp--custom--border--thick) solid var(--wp--preset--color--ink-300);
	border-radius: var(--wp--preset--border-radius--sm);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink-900);
	font: inherit;
	line-height: var(--wp--custom--leading--normal);
	transition: border-color var(--wp--custom--motion--fast) var(--wp--custom--motion--ease);
}

input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="range"], [type="file"]):hover,
select:hover,
textarea:hover {
	border-color: var(--wp--preset--color--ink-500);
}

input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="range"], [type="file"]):focus-visible,
select:focus-visible,
textarea:focus-visible {
	border-color: var(--wp--preset--color--blue-500);
	border-radius: var(--wp--preset--border-radius--sm);
}

:is(input, textarea)::placeholder {
	color: var(--wp--preset--color--ink-500);
	opacity: 1;
}

textarea {
	width: 100%;
	min-height: calc(var(--wp--custom--control--field) * 3);
}

input:is([type="checkbox"], [type="radio"]) {
	accent-color: var(--wp--preset--color--blue-700);
}

:where(label) {
	color: var(--wp--preset--color--ink-900);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

.wp-block-search__inside-wrapper {
	align-items: center;
	gap: var(--wp--preset--spacing--20);
}

.wp-block-search .wp-block-search__input {
	flex: 1 1 12rem;
}

.wp-block-search .wp-block-search__button {
	margin-left: 0;
}

/* --- Header --------------------------------------------------------------- */

.site-header {
	border-bottom: var(--wp--custom--border--hairline) solid var(--wp--preset--color--ink-200);
}

/* The menu is a list, but not running text: it takes the room it needs, so
   five entries stay on one line. */
.site-header .wp-block-navigation ul {
	max-width: none;
}

.site-header .wp-block-navigation-item__content {
	padding-block: var(--wp--preset--spacing--10);
	border-bottom: var(--wp--custom--border--thick) solid transparent;
	white-space: nowrap;
}

.site-header .current-menu-item > .wp-block-navigation-item__content,
.site-header .wp-block-navigation-item__content[aria-current="page"] {
	border-bottom-color: var(--wp--preset--color--green-500);
	color: var(--wp--preset--color--blue-700);
}

.site-header .wp-block-navigation .wp-block-navigation__submenu-container {
	padding: var(--wp--preset--spacing--20);
	border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--ink-200);
	border-radius: var(--wp--preset--border-radius--sm);
	box-shadow: var(--wp--preset--shadow--lg);
}

/* The open phone menu: larger labels, targets as tall as a field. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	min-height: var(--wp--custom--control--field);
	font-size: var(--wp--preset--font-size--medium);
}

.wp-block-navigation :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close) {
	align-items: center;
	justify-content: center;
	min-width: var(--wp--custom--control--field);
	min-height: var(--wp--custom--control--field);
	border-radius: var(--wp--preset--border-radius--pill);
}

/* WordPress folds the menu at 600px. The German labels need more room, so it
   stays folded up to 1119px: five entries and the green button need that. */
@media (min-width: 600px) and (max-width: 1119px) {
	.site-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.site-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

/* While the menu is folded, its button sits last, after the green action. */
@media (max-width: 1119px) {
	.site-header .wp-block-navigation {
		order: 1;
	}
}

/* --- Footer --------------------------------------------------------------- */

.site-footer {
	line-height: var(--wp--custom--leading--normal);
}

/* The legal links are quiet: body type in the footer's own grey. */
.site-footer .wp-block-navigation {
	font-family: var(--wp--preset--font-family--body);
	font-size: inherit;
	font-weight: 400;
	letter-spacing: 0;
}

.site-footer .wp-block-navigation .wp-block-navigation-item__content {
	color: var(--wp--preset--color--ink-300);
}

.site-footer .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--white);
	text-decoration: underline;
}

/* --- Article body: single posts and plain pages --------------------------- */

.article-body > :where(h2, h3, h4) {
	margin-block-start: var(--wp--preset--spacing--70);
}

/* A lead paragraph is as wide as the text column, so it starts where the
   paragraphs under it start. */
.article-body > p.is-style-lead {
	max-width: var(--wp--style--global--content-size);
}

/* A web address written out as a link may break anywhere, so it never
   pushes a phone's page wider than the screen. */
.article-body a {
	overflow-wrap: anywhere;
}

.article-body :where(li + li) {
	margin-block-start: var(--wp--preset--spacing--20);
}

/* --- Quote ---------------------------------------------------------------- */

.wp-block-quote > :where(p) {
	margin-block: 0;
}

.wp-block-quote cite {
	display: block;
	margin-block-start: var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--ink-600);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	line-height: var(--wp--custom--leading--normal);
}

/* --- Separator ------------------------------------------------------------ */

.wp-block-separator {
	border: 0;
	border-top: var(--wp--custom--border--hairline) solid currentColor;
}

/* --- Pagination ----------------------------------------------------------- */

.wp-block-query-pagination {
	gap: var(--wp--preset--spacing--30);
	margin-block-start: var(--wp--preset--spacing--60);
}

.wp-block-query-pagination a {
	text-decoration: none;
}

.wp-block-query-pagination-numbers .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: var(--wp--custom--control--height);
	min-height: var(--wp--custom--control--height);
	border-radius: var(--wp--preset--border-radius--pill);
}

.wp-block-query-pagination-numbers .page-numbers.current {
	background: var(--wp--preset--color--ink-100);
	color: var(--wp--preset--color--ink-900);
}

/* --- Comments ------------------------------------------------------------- */

.wp-block-comments {
	margin-block-start: var(--wp--preset--spacing--80);
	padding-block-start: var(--wp--preset--spacing--60);
	border-top: var(--wp--custom--border--hairline) solid var(--wp--preset--color--ink-200);
}

.wp-block-comment-template > li + li {
	margin-block-start: var(--wp--preset--spacing--50);
	padding-block-start: var(--wp--preset--spacing--50);
	border-top: var(--wp--custom--border--hairline) solid var(--wp--preset--color--ink-200);
}

/* --- Shared pieces of the theme's own blocks ------------------------------
   The timeline and the photostream print their own markup, so these are
   classes, not block styles. They match the block styles of the same name. */

/* Chip: a filter. Pressed, it is the blue choice. */
.hb-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
}

.hb-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	min-height: var(--wp--custom--control--height);
	padding: 0 var(--wp--preset--spacing--40);
	border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--ink-300);
	border-radius: var(--wp--preset--border-radius--pill);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink-900);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: var(--wp--custom--leading--solid);
	cursor: pointer;
	transition:
		background-color var(--wp--custom--motion--fast) var(--wp--custom--motion--ease),
		border-color var(--wp--custom--motion--fast) var(--wp--custom--motion--ease);
}

.hb-chip:hover {
	background: var(--wp--preset--color--ink-50);
}

/* A chip can be a link too: then the page it leads to is the choice. */
a.hb-chip,
a.hb-chip:hover {
	color: var(--wp--preset--color--ink-900);
	text-decoration: none;
}

.hb-chip:is([aria-pressed="true"], [aria-current="page"]) {
	border-color: var(--wp--preset--color--blue-500);
	background: var(--wp--preset--color--blue-500);
}

.hb-chip:is([aria-pressed="true"], [aria-current="page"]):hover {
	border-color: var(--wp--preset--color--blue-400);
	background: var(--wp--preset--color--blue-400);
}

.hb-chip:focus-visible {
	border-radius: var(--wp--preset--border-radius--pill);
}

.hb-chip__count {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 400;
}

/* Tag: an outlined label, blue, green or grey by tone. */
.hb-tag {
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--30);
	border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--ink-200);
	border-radius: var(--wp--preset--border-radius--pill);
	color: var(--wp--preset--color--ink-700);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	line-height: var(--wp--custom--leading--normal);
	white-space: nowrap;
}

a.hb-tag {
	text-decoration: none;
}

a.hb-tag:hover {
	background: var(--wp--preset--color--ink-50);
}

.hb-tag:is(.is-tone-1, .is-tone-3) {
	border-color: var(--wp--preset--color--blue-200);
	color: var(--wp--preset--color--blue-700);
}

.hb-tag:is(.is-tone-2, .is-tone-4) {
	border-color: var(--wp--preset--color--green-200);
	color: var(--wp--preset--color--green-700);
}

/* Polaroid: a drawing in a white frame, as if printed and laid out. */
.hb-polaroid {
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--30);
	background: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--sm);
}

.hb-polaroid img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
	background: var(--wp--preset--color--ink-50);
}

.hb-polaroid figcaption {
	margin-block-start: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--ink-900);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: var(--wp--custom--leading--heading);
}

/* Card, as the group style Karte. */
.hb-card {
	padding: var(--wp--preset--spacing--60);
	border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--ink-200);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--white);
}

/* Icon button: a round control with only an icon, the size of a button. Its
   icon is a mask on ::before, set where the button is used. */
.hb-icon-button {
	display: inline-grid;
	place-items: center;
	width: var(--wp--custom--control--field);
	height: var(--wp--custom--control--field);
	padding: 0;
	border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--ink-300);
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink-900);
	cursor: pointer;
	transition:
		background-color var(--wp--custom--motion--fast) var(--wp--custom--motion--ease),
		transform var(--wp--custom--motion--instant) var(--wp--custom--motion--ease);
}

.hb-icon-button::before {
	content: "";
	width: 1.25rem;
	height: 1.25rem;
	background: currentColor;
	mask: center / contain no-repeat;
}

.hb-icon-button:hover {
	background: var(--wp--preset--color--ink-100);
}

.hb-icon-button:active {
	transform: scale(0.94);
}

.hb-icon-button:focus-visible {
	border-radius: 50%;
	outline-color: var(--wp--preset--color--white);
}

.hb-icon-button[hidden] {
	display: none;
}

/* --- Details: "show more" as a chip --------------------------------------- */

.wp-block-details > summary {
	width: fit-content;
	margin-inline: auto;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
	border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--ink-300);
	border-radius: var(--wp--preset--border-radius--pill);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink-900);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	cursor: pointer;
}

.wp-block-details > summary:hover {
	background: var(--wp--preset--color--ink-50);
}

.wp-block-details > summary:focus-visible {
	border-radius: var(--wp--preset--border-radius--pill);
}

.wp-block-details[open] > summary {
	margin-block-end: var(--wp--preset--spacing--60);
}

/* --- WS Form ---------------------------------------------------------------
   Forms are built in WS Form. Its own style variables take this theme's
   tokens here, so every form matches without a style of its own: fields as
   the theme's fields, the submit button as the green pill, labels in the
   display face. */
body form.wsf-form[data-wsf-style-id] {
	--wsf-form-color-primary: var(--wp--preset--color--green-500);
	--wsf-form-color-primary-dark-20: var(--wp--preset--color--green-400);
	--wsf-form-color-primary-dark-40: var(--wp--preset--color--green-300);
	--wsf-form-color-base: var(--wp--preset--color--ink-900);
	--wsf-form-color-base-contrast: var(--wp--preset--color--white);
	--wsf-form-color-neutral: var(--wp--preset--color--ink-300);
	--wsf-form-color-accent: var(--wp--preset--color--blue-700);
	--wsf-form-color-danger: var(--wp--preset--color--danger);
	--wsf-form-color-success: var(--wp--preset--color--green-700);
	--wsf-form-color-info: var(--wp--preset--color--blue-700);
	--wsf-form-color-warning: var(--wp--preset--color--warn);
	--wsf-form-font-family: var(--wp--preset--font-family--body);
	--wsf-form-font-size: var(--wp--preset--font-size--base);
	--wsf-form-border-radius: var(--wp--preset--border-radius--sm);
	--wsf-field-border-width: var(--wp--custom--border--thick);
	--wsf-field-border-color: var(--wp--preset--color--ink-300);
	--wsf-field-border-color-hover: var(--wp--preset--color--ink-500);
	--wsf-field-border-color-focus: var(--wp--preset--color--blue-500);
	--wsf-field-border-radius: var(--wp--preset--border-radius--sm);
	--wsf-field-color: var(--wp--preset--color--ink-900);
	--wsf-field-color-placeholder: var(--wp--preset--color--ink-500);
	--wsf-field-label-color: var(--wp--preset--color--ink-900);
	--wsf-field-label-font-family: var(--wp--preset--font-family--display);
	--wsf-field-label-font-size: var(--wp--preset--font-size--small);
	--wsf-field-label-font-weight: 700;
	--wsf-field-help-color: var(--wp--preset--color--ink-600);
	--wsf-field-help-font-size: var(--wp--preset--font-size--x-small);
	--wsf-field-button-primary-color: var(--wp--preset--color--ink-900);
	--wsf-field-button-primary-color-hover: var(--wp--preset--color--ink-900);
	--wsf-field-button-primary-color-focus: var(--wp--preset--color--ink-900);
	--wsf-field-button-primary-color-background: var(--wp--preset--color--green-500);
	--wsf-field-button-primary-color-background-hover: var(--wp--preset--color--green-400);
	--wsf-field-button-primary-color-background-focus: var(--wp--preset--color--green-400);
	--wsf-field-button-primary-border-color: var(--wp--preset--color--green-500);
	--wsf-field-button-primary-border-color-hover: var(--wp--preset--color--green-400);
	--wsf-field-button-primary-border-color-focus: var(--wp--preset--color--green-400);
	--wsf-field-checkbox-checked-color-background: var(--wp--preset--color--blue-700);
	margin-block-start: var(--wp--preset--spacing--50);
}

/* The submit button is the theme's button: a pill as wide as its label. */
body form.wsf-form[data-wsf-style-id] button.wsf-button {
	width: auto;
	min-height: var(--wp--custom--control--height);
	padding: 0 var(--wp--preset--spacing--50);
	border-radius: var(--wp--preset--border-radius--pill);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: var(--wp--custom--tracking--snug);
}

/* The consent line reads as text, not as a field label. */
body form.wsf-form[data-wsf-style-id] [data-type="checkbox"] label {
	color: var(--wp--preset--color--ink-700);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	line-height: var(--wp--custom--leading--normal);
}

body form.wsf-form[data-wsf-style-id] a {
	color: var(--wp--preset--color--blue-700);
}

/* --- Cookie consent --------------------------------------------------------
   The notice and the settings window are Pressidium Cookie Consent's. Its
   style variables take this theme's tokens here, so they follow the tokens
   and not the colours typed into the plugin: green for the one action, a
   quiet second button, blue for a switch that is on, the card's corners. */
body.pressidium-cc-theme {
	--cc-font-family: var(--wp--preset--font-family--body);
	--cc-bg: var(--wp--preset--color--white);
	--cc-text: var(--wp--preset--color--ink-700);
	--cc-block-text: var(--wp--preset--color--ink-700);
	--cc-border-radius: var(--wp--preset--border-radius--md);
	--cc-btn-border-radius: var(--wp--preset--border-radius--pill);
	--cc-btn-primary-bg: var(--wp--preset--color--green-500);
	--cc-btn-primary-text: var(--wp--preset--color--ink-900);
	--cc-btn-primary-hover-bg: var(--wp--preset--color--green-400);
	--cc-btn-primary-hover-text: var(--wp--preset--color--ink-900);
	--cc-btn-secondary-bg: var(--wp--preset--color--ink-100);
	--cc-btn-secondary-text: var(--wp--preset--color--ink-900);
	--cc-btn-secondary-hover-bg: var(--wp--preset--color--ink-200);
	--cc-btn-secondary-hover-text: var(--wp--preset--color--ink-900);
	--cc-toggle-bg-off: var(--wp--preset--color--ink-500);
	--cc-toggle-bg-on: var(--wp--preset--color--blue-700);
	--cc-toggle-bg-readonly: var(--wp--preset--color--ink-300);
	--cc-toggle-knob-bg: var(--wp--preset--color--white);
	--cc-toggle-knob-icon-color: var(--wp--preset--color--ink-100);
	--cc-cookie-category-block-bg: var(--wp--preset--color--ink-50);
	--cc-cookie-category-block-bg-hover: var(--wp--preset--color--ink-100);
	--cc-section-border: var(--wp--preset--color--ink-200);
	--cc-cookie-table-border: var(--wp--preset--color--ink-200);
	--cc-overlay-bg: color-mix(in srgb, var(--wp--preset--color--ink-900) 55%, transparent);
	--cc-webkit-scrollbar-bg: var(--wp--preset--color--ink-200);
	--cc-webkit-scrollbar-bg-hover: var(--wp--preset--color--ink-500);
	--cc-consent-modal-box-shadow: var(--wp--preset--shadow--lg);
	--cc-btn-floating-bg: var(--wp--preset--color--blue-700);
	--cc-btn-floating-icon: var(--wp--preset--color--white);
	--cc-btn-floating-hover-bg: var(--wp--preset--color--blue-900);
	--cc-btn-floating-hover-icon: var(--wp--preset--color--white);
}

/* Titles and buttons in the display face, as everywhere else. */
.cc_div :is(#c-ttl, #s-ttl, .b-tl, .c-bn) {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
}

.cc_div :is(#c-ttl, #s-ttl, .b-tl) {
	color: var(--wp--preset--color--ink-900);
}

.cc_div #cm,
.cc_div #s-inr {
	border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--ink-200);
	border-radius: var(--wp--preset--border-radius--md);
}

.cc_div .c-bn {
	min-height: var(--wp--custom--control--height);
	font-size: var(--wp--preset--font-size--small);
}

/* Links as on the page; the plugin underlines with a border. */
.cc_div a.cc-link,
.cc_div button.cc-link {
	border-bottom-color: currentColor;
	color: var(--wp--preset--color--blue-700);
	font-weight: 600;
}

.cc_div :is(.c-bn, .cc-link, #s-c-bn, .b-tl):focus-visible {
	outline: var(--wp--custom--border--thick) solid var(--wp--preset--color--blue-700);
	outline-offset: var(--wp--custom--border--thick);
}

/* --- Breadcrumbs ---------------------------------------------------------- */

.wp-block-breadcrumbs {
	font-size: var(--wp--preset--font-size--x-small);
}

/* --- Motion: rolling, not bouncing; off on request ------------------------ */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
