/*
 * Ingenious Makers Workbench – front-end and editor styles.
 *
 * theme.json holds the tokens; this file adds what theme.json cannot:
 * light/dark switching, the sticky glass header, scroll-driven effects,
 * the bento card grid and third-party form styling.
 */

/* ---------- Tokens and colour scheme ---------- */

:root {
	color-scheme: light dark;
	--wb-paper: var(--wp--preset--color--paper);
	--wb-surface: var(--wp--preset--color--surface);
	--wb-raised: var(--wp--preset--color--raised);
	--wb-ink: var(--wp--preset--color--ink);
	--wb-muted: var(--wp--preset--color--muted);
	--wb-line: var(--wp--preset--color--line);
	--wb-accent: var(--wp--preset--color--accent);
	--wb-accent-ink: var(--wp--preset--color--accent-ink);
	--wb-accent-soft: var(--wp--preset--color--accent-soft);
	--wb-graphite: var(--wp--preset--color--graphite);
	--wb-on-graphite: var(--wp--preset--color--on-graphite);
	--wb-mono: var(--wp--preset--font-family--mono);
	--wb-display: var(--wp--preset--font-family--display);
	--wb-ease: var(--wp--custom--ease);
	--wb-r-s: var(--wp--custom--radius--s);
	--wb-r-m: var(--wp--custom--radius--m);
	--wb-r-l: var(--wp--custom--radius--l);
	--wb-pill: var(--wp--custom--radius--pill);
	--wb-header-h: var(--wp--custom--header-height);
	--wb-top: var(--wp-admin--admin-bar--height, 0px);
	--wb-dots: radial-gradient(color-mix(in oklch, var(--wb-ink) 16%, transparent) 1px, transparent 1.4px);
	accent-color: var(--wb-accent);
}

:root[data-scheme="light"] {
	color-scheme: light;
}

:root[data-scheme="dark"] {
	color-scheme: dark;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--wb-header-h) + var(--wb-top) + 1rem);
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-optical-sizing: auto;
}

::selection {
	background: var(--wb-accent);
	color: var(--wb-accent-ink);
}

:where(h1, h2, h3, h4, .wp-block-post-title) {
	text-wrap: balance;
}

:where(p, li, figcaption) {
	text-wrap: pretty;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wb-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Top-level template blocks sit flush; sections bring their own padding. */
.wp-site-blocks > * {
	margin-block-start: 0;
}

/* ---------- Page transitions ---------- */

@media (prefers-reduced-motion: no-preference) {
	@view-transition {
		navigation: auto;
	}

	::view-transition-old(root),
	::view-transition-new(root) {
		animation-duration: 0.28s;
		animation-timing-function: var(--wb-ease);
	}
}

.wb-site-header {
	view-transition-name: wb-header;
}

/* ---------- Small shared pieces ---------- */

.wb-label {
	color: var(--wb-muted);
	font-family: var(--wb-mono);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.wb-label--dot::before {
	animation: wb-pulse 2.4s var(--wb-ease) infinite;
	background: var(--wb-accent);
	border-radius: 50%;
	box-shadow: 0 0 0 4px var(--wb-accent-soft);
	content: "";
	display: inline-block;
	height: 0.5rem;
	margin-right: 0.85em;
	vertical-align: 0.1em;
	width: 0.5rem;
}

@keyframes wb-pulse {
	50% {
		box-shadow: 0 0 0 7px var(--wb-accent-soft);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wb-label--dot::before {
		animation: none;
	}
}

/* Topic chips (categories list) */
.wp-block-categories.is-style-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin-bottom: 0;
	padding: 0;
}

.wp-block-categories.is-style-chips li {
	margin: 0;
}

.wp-block-categories.is-style-chips a {
	background: var(--wb-surface);
	border: 1px solid var(--wb-line);
	border-radius: var(--wb-pill);
	color: var(--wb-ink);
	display: inline-block;
	font-family: var(--wb-mono);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.06em;
	line-height: 1.2;
	padding: 0.55rem 0.95rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, translate 0.2s var(--wb-ease);
}

.wp-block-categories.is-style-chips a:hover {
	background: var(--wb-ink);
	border-color: var(--wb-ink);
	color: var(--wb-paper);
	translate: 0 -1px;
}

.wp-block-categories.is-style-chips .current-cat a {
	background: var(--wb-accent);
	border-color: var(--wb-accent);
	color: var(--wb-accent-ink);
}

/* Single-term chips (post terms) */
.wp-block-post-terms.is-style-chip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	line-height: 1.2;
}

.wp-block-post-terms.is-style-chip a {
	background: var(--wb-accent-soft);
	border-radius: var(--wb-pill);
	color: var(--wb-ink);
	display: inline-block;
	padding: 0.35rem 0.7rem;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.wp-block-post-terms.is-style-chip a:hover {
	background: var(--wb-accent);
	color: var(--wb-accent-ink);
}

.wp-block-post-terms.is-style-chip .wp-block-post-terms__separator {
	display: none;
}

/* Ghost button */
.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--wb-line);
	color: var(--wb-ink);
}

.wp-block-button.is-style-ghost .wp-block-button__link:hover {
	background: var(--wb-ink);
	border-color: var(--wb-ink);
	color: var(--wb-paper);
}

.wp-element-button,
.wp-block-button__link {
	transition: background-color 0.2s, color 0.2s, translate 0.2s var(--wb-ease);
}

.wp-element-button:hover,
.wp-block-button__link:hover {
	translate: 0 -1px;
}

/* Card block style for groups */
.wp-block-group.is-style-card {
	background: var(--wb-surface);
	border: 1px solid var(--wb-line);
	border-radius: var(--wb-r-l);
	padding: var(--wp--preset--spacing--40);
}

/* ---------- Reading progress ---------- */

.wb-progress {
	display: none;
}

@supports (animation-timeline: scroll()) {
	.wb-progress {
		animation: wb-progress linear both;
		animation-timeline: scroll(root);
		background: var(--wb-accent);
		display: block;
		height: 3px;
		inset: var(--wb-top) 0 auto;
		position: fixed;
		transform: scaleX(0);
		transform-origin: 0 50%;
		z-index: 60;
	}
}

@keyframes wb-progress {
	to {
		transform: scaleX(1);
	}
}

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

.wb-site-header {
	border-bottom: 1px solid transparent;
	position: sticky;
	top: var(--wb-top);
	z-index: 50;
}

/* Glass on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed mobile menu overlay inside the header box. */
.wb-site-header::before {
	-webkit-backdrop-filter: blur(16px) saturate(1.6);
	backdrop-filter: blur(16px) saturate(1.6);
	background: color-mix(in oklch, var(--wb-paper) 78%, transparent);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

@media (max-width: 600px) {
	.admin-bar .wb-site-header {
		top: 0;
	}
}

.wb-header__bar {
	min-height: var(--wb-header-h);
}

@supports (animation-timeline: scroll()) {
	.wb-site-header {
		animation: wb-header-scrolled linear both;
		animation-range: 0 140px;
		animation-timeline: scroll(root);
	}

	.wb-header__bar {
		animation: wb-header-shrink linear both;
		animation-range: 0 140px;
		animation-timeline: scroll(root);
	}
}

@keyframes wb-header-scrolled {
	to {
		border-bottom-color: var(--wb-line);
		box-shadow: 0 12px 32px -24px oklch(0.2 0.02 255 / 0.5);
	}
}

@keyframes wb-header-shrink {
	to {
		min-height: 3.5rem;
	}
}

.wb-brand {
	min-width: 0;
}

.wb-brand .wp-block-image {
	flex: none;
	margin: 0;
}

.wb-brand__mark img {
	display: block;
	transition: rotate 0.6s var(--wb-ease);
}

.wb-brand:hover .wb-brand__mark img {
	rotate: 90deg;
}

.wb-brand .wp-block-site-title {
	font-family: var(--wb-display);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	white-space: nowrap;
}

.wb-brand .wp-block-site-title a {
	color: inherit;
	text-decoration: none;
}

.wb-nav .wp-block-navigation-item__content {
	border-radius: var(--wb-pill);
	padding: 0.45rem 0.85rem;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.wb-nav .wp-block-navigation-item__content:hover,
.wb-nav .current-menu-item > .wp-block-navigation-item__content {
	background: var(--wb-raised);
	color: var(--wb-ink);
}

.wb-nav .current-menu-item > .wp-block-navigation-item__content {
	box-shadow: inset 0 -2px 0 var(--wb-accent);
}

.wb-nav .wp-block-navigation__submenu-container {
	background: var(--wb-surface) !important;
	border: 1px solid var(--wb-line) !important;
	border-radius: var(--wb-r-m);
	box-shadow: var(--wp--preset--shadow--lift);
	padding: 0.4rem;
}

/* Round icon buttons: search, scheme toggle, mobile menu */
.wb-scheme,
.wb-header-search .wp-block-search__button,
.wb-nav .wp-block-navigation__responsive-container-open {
	align-items: center;
	background: transparent;
	border: 1px solid var(--wb-line);
	border-radius: 50%;
	color: var(--wb-ink);
	cursor: pointer;
	flex: none;
	height: 2.5rem;
	justify-content: center;
	margin: 0;
	padding: 0;
	transition: background-color 0.2s, border-color 0.2s, rotate 0.4s var(--wb-ease);
	width: 2.5rem;
}

.wb-scheme,
.wb-header-search .wp-block-search__button {
	display: inline-flex;
}

@media (max-width: 599px) {
	.wb-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: inline-flex;
	}
}

.wb-scheme:hover,
.wb-header-search .wp-block-search__button:hover,
.wb-nav .wp-block-navigation__responsive-container-open:hover {
	background: var(--wb-raised);
	border-color: var(--wb-muted);
	translate: none;
}

.wb-scheme:active {
	rotate: 30deg;
}

.wb-header-search .wp-block-search__button svg,
.wb-nav .wp-block-navigation__responsive-container-open svg {
	fill: currentColor;
	height: 22px;
	min-height: 0;
	min-width: 0;
	width: 22px;
}

.wb-header-search .wp-block-search__inside-wrapper {
	background: transparent;
	border: 0 !important;
	gap: 0.375rem;
	padding: 0 !important;
}

.wb-header-search.wp-block-search__searchfield-hidden .wp-block-search__input {
	border: 0 !important;
	min-width: 0;
	padding: 0;
}

.wb-header-search.wp-block-search__searchfield-hidden .wp-block-search__inside-wrapper {
	gap: 0;
}

.wb-header-search .wp-block-search__input {
	background: var(--wb-surface);
	border: 1px solid var(--wb-line) !important;
	border-radius: var(--wb-pill);
	min-width: 12rem;
	padding: 0.5rem 1rem;
}

.wb-scheme__sun {
	display: none;
}

:root[data-scheme="dark"] .wb-scheme__sun {
	display: block;
}

:root[data-scheme="dark"] .wb-scheme__moon {
	display: none;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-scheme="light"]) .wb-scheme__sun {
		display: block;
	}

	:root:not([data-scheme="light"]) .wb-scheme__moon {
		display: none;
	}
}

/* Mobile menu overlay */
.wb-nav .wp-block-navigation__responsive-container.is-menu-open {
	--navigation-layout-align: flex-start;
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	background: var(--wb-paper) !important;
	background-image: var(--wb-dots) !important;
	background-size: 22px 22px !important;
	color: var(--wb-ink) !important;
	padding: var(--wp--preset--spacing--40) clamp(1rem, 4vw, 2.5rem);
	text-align: left;
}

.wb-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch !important;
	padding-top: var(--wp--preset--spacing--50);
}

.wb-nav .is-menu-open .wp-block-navigation__container {
	align-items: stretch !important;
	gap: 0 !important;
	width: 100%;
}

.wb-nav .is-menu-open .wp-block-navigation-item {
	align-items: stretch !important;
	border-bottom: 1px solid var(--wb-line);
	width: 100%;
}

.wb-nav .is-menu-open .wp-block-navigation-item__content {
	background: none !important;
	border-radius: 0;
	box-shadow: none !important;
	display: block;
	font-family: var(--wb-display);
	font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
	font-weight: 700;
	letter-spacing: -0.03em;
	padding: 0.9rem 0 !important;
}

.wb-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wb-accent) !important;
}

.wb-nav .wp-block-navigation__responsive-container-close {
	border: 1px solid var(--wb-line);
	border-radius: 50%;
	padding: 0.45rem;
}

/* ---------- Home intro and page heads ---------- */

.wb-intro,
.wb-page-head,
.wb-article__head {
	isolation: isolate;
	position: relative;
}

.wb-intro::before,
.wb-page-head::before,
.wb-article__head::before {
	background-image: var(--wb-dots);
	background-size: 22px 22px;
	content: "";
	inset: 0;
	-webkit-mask-image: radial-gradient(ellipse 80% 90% at 75% 20%, #000 10%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 90% at 75% 20%, #000 10%, transparent 75%);
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

/* A warm glow behind the intro, like a lamp over the bench. */
.wb-intro::after {
	background: radial-gradient(ellipse 50% 85% at 88% 0%, color-mix(in oklch, var(--wb-accent) 20%, transparent), transparent 70%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: -2;
}

.wb-intro {
	overflow: clip;
}

.wb-intro__title {
	font-family: var(--wb-display);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 0.95;
	margin-block-end: 0;
	max-width: 15ch;
}

.wb-intro__lead {
	max-width: 40rem;
}

.wb-intro__topics {
	margin-top: var(--wp--preset--spacing--40) !important;
}

.wb-page-head {
	border-bottom: 1px solid var(--wb-line);
}

.wb-page-head .wp-block-query-title,
.wb-page-head .wp-block-post-title {
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.wb-page-head .wp-block-term-description p {
	margin: 0;
	max-width: 44rem;
}

.wb-page-head__topics {
	margin-top: var(--wp--preset--spacing--40) !important;
}

/* ---------- Card grid ---------- */

.wb-main > .wb-query,
.wb-main > .wb-404 {
	margin-top: var(--wp--preset--spacing--50);
}

.wb-grid {
	display: grid !important;
	gap: clamp(1rem, 2vw, 1.5rem);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.wb-grid > li {
	container-type: inline-size;
	margin: 0;
	min-width: 0;
}

/* Bento: the newest post on the first page of the blog home is a feature tile. */
@media (min-width: 56rem) {
	body.home:not(.paged) .wb-main > .wb-query .wb-grid > li:first-child {
		grid-column: span 2;
		grid-row: span 2;
	}

	/* The feature image fills the height the two cards beside it take. */
	body.home:not(.paged) .wb-main > .wb-query .wb-grid > li:first-child .wb-card__media {
		flex: 1 1 18rem;
		min-height: 0;
		position: relative;
	}

	body.home:not(.paged) .wb-main > .wb-query .wb-grid > li:first-child .wb-card__media img {
		aspect-ratio: auto !important;
		height: 100% !important;
		inset: 0;
		position: absolute;
	}

	body.home:not(.paged) .wb-main > .wb-query .wb-grid > li:first-child .wb-card__body {
		flex: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.wb-grid > li {
			animation: wb-rise linear both;
			animation-range: entry 0% entry 55%;
			animation-timeline: view();
		}
	}
}

@keyframes wb-rise {
	from {
		opacity: 0;
		translate: 0 2rem;
	}
}

.wb-card {
	background: var(--wb-surface);
	border: 1px solid var(--wb-line);
	border-radius: var(--wb-r-l);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	position: relative;
	transition: border-color 0.25s, box-shadow 0.35s var(--wb-ease), translate 0.35s var(--wb-ease);
}

.wb-card:hover {
	border-color: color-mix(in oklch, var(--wb-accent) 45%, var(--wb-line));
	box-shadow: var(--wp--preset--shadow--lift);
	translate: 0 -4px;
}

.wb-card__media {
	flex: none;
	margin: 0 !important;
	overflow: hidden;
}

.wb-card__media img {
	border-radius: 0 !important;
	display: block;
	transition: scale 0.6s var(--wb-ease);
	width: 100%;
}

.wb-card:hover .wb-card__media img {
	scale: 1.04;
}

/* No featured image: a blueprint placeholder with the logo mark. */
.wb-card:not(:has(.wb-card__media))::before {
	aspect-ratio: 16 / 10;
	background:
		url("../images/logo-icon.svg") center / 3.5rem no-repeat,
		var(--wb-dots) 0 0 / 16px 16px,
		var(--wb-raised);
	border-bottom: 1px solid var(--wb-line);
	content: "";
	display: block;
	flex: none;
}

.wb-card__body {
	flex: 1;
	padding: 1.25rem 1.35rem 1.15rem;
}

.wb-card__title {
	font-size: var(--wp--preset--font-size--large);
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0;
}

.wb-card__title a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
	transition: text-decoration-color 0.2s;
}

.wb-card:hover .wb-card__title a {
	color: inherit;
	text-decoration-color: var(--wb-accent);
}

/* The title link covers the whole card; topic chips stay clickable on top. */
.wb-card__title a::after {
	content: "";
	inset: 0;
	position: absolute;
	z-index: 1;
}

.wb-card__topic {
	position: relative;
	z-index: 2;
}

.wb-card__excerpt {
	color: var(--wb-muted);
	margin: 0;
}

.wb-card__excerpt .wp-block-post-excerpt__excerpt {
	-webkit-box-orient: vertical;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	margin: 0;
	overflow: hidden;
}

.wb-card__excerpt .wp-block-post-excerpt__more-text {
	display: none;
}

.wb-card__meta {
	align-self: stretch;
	border-top: 1px dashed var(--wb-line);
	color: var(--wb-muted);
	font-family: var(--wb-mono);
	font-size: var(--wp--preset--font-size--x-small);
	margin-top: auto !important;
	padding-top: 0.85rem;
}

.wb-card__meta > * {
	margin: 0;
}

.wb-card__comments {
	align-items: center;
	display: inline-flex;
	gap: 0.35rem;
}

.wb-card__comments::before {
	background: currentColor;
	content: "";
	height: 0.9rem;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E") center / contain no-repeat;
	width: 0.9rem;
}

/* Wide cards (feature tile, single-column phones in landscape) */
@container (min-width: 34rem) {
	.wb-card__body {
		gap: 1rem !important;
		padding: 1.75rem 2rem 1.5rem;
	}

	.wb-card__title {
		font-size: clamp(1.75rem, 5.5cqi, 3rem);
		letter-spacing: -0.035em;
		line-height: 1.05;
	}

	.wb-card__excerpt {
		font-size: var(--wp--preset--font-size--medium) !important;
		max-width: 38rem;
	}
}

/* ---------- Pagination and empty state ---------- */

.wb-pagination {
	font-family: var(--wb-mono);
	font-size: var(--wp--preset--font-size--small);
	gap: 0.4rem;
	margin-top: var(--wp--preset--spacing--50) !important;
}

.wb-pagination a,
.wb-pagination .page-numbers {
	align-items: center;
	border: 1px solid var(--wb-line);
	border-radius: var(--wb-pill);
	display: inline-flex;
	justify-content: center;
	min-height: 2.5rem;
	min-width: 2.5rem;
	padding: 0 0.9rem;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.wb-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: 0.4rem;
}

.wb-pagination a:hover {
	background: var(--wb-ink);
	border-color: var(--wb-ink);
	color: var(--wb-paper);
}

.wb-pagination .page-numbers.current {
	background: var(--wb-accent);
	border-color: var(--wb-accent);
	color: var(--wb-accent-ink);
}

.wb-pagination .page-numbers.dots {
	border-color: transparent;
}

.wb-empty {
	background: var(--wb-surface);
	border: 1px dashed var(--wb-line);
	border-radius: var(--wb-r-l);
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}

.wp-block-query-no-results {
	margin: 0;
}

/* ---------- Article ---------- */

.wb-article__head {
	border-bottom: 1px solid var(--wb-line);
}

.wb-article__title {
	font-size: clamp(2.25rem, 1.5rem + 3vw, 4.25rem) !important;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.wb-byline {
	color: var(--wb-muted);
	font-family: var(--wb-mono);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wb-byline > * {
	margin: 0;
}

.wb-byline .wp-block-post-author {
	align-items: center;
	display: flex;
	gap: 0.6rem;
}

.wb-byline .wp-block-post-author__avatar {
	margin: 0;
}

.wb-byline .wp-block-post-author__avatar img {
	border-radius: 50%;
	display: block;
}

.wb-byline .wp-block-post-author__name {
	color: var(--wb-ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.wb-byline .wp-block-post-author__content,
.wb-byline .wp-block-post-author__byline {
	margin: 0;
}

.wb-byline .wp-block-post-time-to-read,
.wb-byline .wp-block-post-date {
	font-size: inherit !important;
}

.wb-byline > * + *::before {
	background: var(--wb-line);
	border-radius: 50%;
	content: "";
	display: inline-block;
	height: 5px;
	margin-right: 1.25rem;
	vertical-align: 0.15em;
	width: 5px;
}

.wb-byline .wp-block-post-author + *::before,
.wb-byline > .wp-block-post-author::before {
	display: none;
}

/* Prose */

.wb-prose {
	font-size: 1.0625rem;
}

.wb-prose > * + * {
	margin-block-start: 1.35rem;
}

.wb-prose :where(h2) {
	margin-block-start: var(--wp--preset--spacing--50);
}

.wb-prose :where(h3, h4) {
	margin-block-start: var(--wp--preset--spacing--40);
}

.wb-prose :where(h2, h3, h4) + * {
	margin-block-start: 0.85rem;
}

.wb-prose a:where(:not(.wp-element-button, .wp-block-button__link)) {
	text-decoration-color: color-mix(in oklch, var(--wb-accent) 70%, transparent);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.2em;
	transition: color 0.2s, text-decoration-color 0.2s;
}

.wb-prose a:where(:not(.wp-element-button, .wp-block-button__link)):hover {
	color: var(--wb-ink);
	text-decoration-color: var(--wb-accent);
	text-decoration-thickness: 2.5px;
}

.wb-prose :where(ul, ol) {
	padding-left: 1.4em;
}

.wb-prose li + li {
	margin-top: 0.35rem;
}

.wb-prose li::marker {
	color: var(--wb-accent);
	font-family: var(--wb-mono);
	font-size: 0.9em;
}

.wb-prose :not(pre) > code {
	background: var(--wb-raised);
	border: 1px solid var(--wb-line);
	border-radius: 0.35rem;
	font-family: var(--wb-mono);
	font-size: 0.85em;
	padding: 0.1em 0.4em;
}

.wb-prose :where(img) {
	height: auto;
}

.wb-prose .wp-block-image img,
.wb-prose .wp-block-gallery img {
	border-radius: var(--wb-r-m);
}

.wb-prose figcaption {
	font-size: var(--wp--preset--font-size--small);
	margin-top: 0.6rem;
	text-align: center;
}

.wp-block-code {
	border: 1px solid color-mix(in oklch, var(--wb-on-graphite) 12%, transparent);
	overflow-x: auto;
	position: relative;
	tab-size: 4;
}

.wp-block-code code {
	white-space: pre;
}

.wb-copy {
	background: color-mix(in oklch, var(--wb-on-graphite) 10%, transparent);
	border: 1px solid color-mix(in oklch, var(--wb-on-graphite) 18%, transparent);
	border-radius: var(--wb-pill);
	color: var(--wb-on-graphite);
	cursor: pointer;
	font-family: var(--wb-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	opacity: 0;
	padding: 0.3rem 0.7rem;
	position: absolute;
	right: 0.6rem;
	text-transform: uppercase;
	top: 0.6rem;
	transition: opacity 0.2s, background-color 0.2s;
}

.wp-block-code:hover .wb-copy,
.wb-copy:focus-visible {
	opacity: 1;
}

.wb-copy:hover {
	background: var(--wb-accent);
	border-color: var(--wb-accent);
	color: var(--wb-accent-ink);
}

@media (hover: none) {
	.wb-copy {
		opacity: 1;
	}
}

.wb-prose .wp-block-table table {
	border-collapse: collapse;
	width: 100%;
}

.wb-prose .wp-block-table :where(th, td) {
	border: 0;
	border-bottom: 1px solid var(--wb-line);
	padding: 0.65rem 0.75rem;
	text-align: left;
}

.wb-prose .wp-block-table thead {
	border-bottom: 2px solid var(--wb-ink);
}

.wb-prose .wp-block-table th {
	font-family: var(--wb-mono);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wb-prose .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: var(--wb-raised);
}

.wb-prose .wp-block-quote {
	margin-inline: 0;
}

.wb-prose .wp-block-quote cite {
	color: var(--wb-muted);
	display: block;
	font-family: var(--wb-mono);
	font-size: var(--wp--preset--font-size--x-small);
	font-style: normal;
	letter-spacing: 0.06em;
	margin-top: 0.75rem;
	text-transform: uppercase;
}

.wp-block-separator {
	border: 0;
	border-top: 1px solid currentColor;
	opacity: 1;
}

.wb-prose .wp-block-embed iframe,
.wb-prose .wp-block-video video {
	border-radius: var(--wb-r-m);
}

.wb-prose--wide > * + * {
	margin-block-start: 1.5rem;
}

/* Article foot */

.wb-article__foot {
	border-top: 1px solid var(--wb-line);
	margin-top: var(--wp--preset--spacing--50) !important;
}

.wb-tags a {
	background: transparent !important;
	border: 1px solid var(--wb-line);
}

.wb-tags a::before {
	color: var(--wb-accent);
	content: "#";
	margin-right: 0.1em;
}

.wb-tags a:hover {
	border-color: var(--wb-ink);
	color: var(--wb-ink) !important;
}

.wb-post-nav .wp-block-post-navigation-link {
	border: 1px solid var(--wb-line);
	border-radius: var(--wb-r-m);
	display: flex;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	position: relative;
	transition: border-color 0.2s, background-color 0.2s;
}

.wb-post-nav .wp-block-post-navigation-link:empty {
	display: none;
}

.wb-post-nav .wp-block-post-navigation-link.has-text-align-right {
	flex-direction: row-reverse;
	text-align: right;
}

.wb-post-nav .wp-block-post-navigation-link:hover {
	background: var(--wb-surface);
	border-color: var(--wb-accent);
}

.wb-post-nav .wp-block-post-navigation-link a {
	text-decoration: none;
}

.wb-post-nav .wp-block-post-navigation-link a::after {
	content: "";
	inset: 0;
	position: absolute;
}

.wb-post-nav [class*="__arrow"] {
	color: var(--wb-accent);
	font-family: var(--wb-mono);
	margin: 0 !important;
	transition: translate 0.25s var(--wb-ease);
}

.wb-post-nav .wp-block-post-navigation-link:hover [class*="__arrow-previous"] {
	translate: -4px 0;
}

.wb-post-nav .wp-block-post-navigation-link:hover [class*="__arrow-next"] {
	translate: 4px 0;
}

.wb-post-nav .post-navigation-link__label {
	color: var(--wb-muted);
	display: block;
	font-family: var(--wb-mono);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.1em;
	margin-bottom: 0.3rem;
	text-transform: uppercase;
}

.wb-post-nav .post-navigation-link__title {
	display: block;
	font-family: var(--wb-display);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

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

.wb-comments .wp-block-comments-title {
	margin-bottom: var(--wp--preset--spacing--30);
}

.wb-comment-list,
.wb-comment-list ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wb-comment-list ol.children {
	border-left: 2px solid var(--wb-line);
	margin-left: 1.25rem;
	padding-left: 1.25rem;
}

.wb-comment {
	border-top: 1px solid var(--wb-line);
	padding: 1.25rem 0;
}

.wb-comment__head {
	align-items: center;
}

.wb-comment__head .wp-block-avatar img {
	display: block;
}

.wb-comment__date {
	color: var(--wb-muted);
	font-family: var(--wb-mono);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wb-comment__date a,
.wb-comment__actions a,
.wb-comment .wp-block-comment-author-name a {
	text-decoration: none;
}

.wb-comment .wp-block-comment-content p {
	margin: 0.5rem 0 0;
}

.wb-comment__actions {
	font-family: var(--wb-mono);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wb-comment__actions a {
	color: var(--wb-accent);
}

.wp-block-post-comments-form.wb-comment-form {
	background: var(--wb-surface);
	border: 1px solid var(--wb-line);
	border-radius: var(--wb-r-l);
	margin-top: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--40);
}

.wb-comment-form .comment-reply-title {
	font-size: var(--wp--preset--font-size--x-large);
	margin-top: 0;
}

.wb-comment-form label {
	display: block;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.wb-comment-form .comment-form-cookies-consent {
	align-items: center;
	display: flex;
	gap: 0.6rem;
}

.wb-comment-form .comment-form-cookies-consent label {
	font-weight: 400;
	margin: 0;
}

.wb-comment-form :where(input[type="text"], input[type="email"], input[type="url"], textarea) {
	width: 100%;
}

/* ---------- Forms (search, comments, Contact Form 7, Newsletter) ---------- */

:where(input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="number"], input[type="password"], textarea, select) {
	background: var(--wb-surface);
	border: 1px solid var(--wb-line);
	border-radius: var(--wb-r-s);
	box-sizing: border-box;
	color: var(--wb-ink);
	font: inherit;
	max-width: 100%;
	padding: 0.7rem 0.95rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}

:where(input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="number"], input[type="password"], textarea, select):focus {
	border-color: var(--wb-accent);
	box-shadow: 0 0 0 4px var(--wb-accent-soft);
	outline: 0;
}

::placeholder {
	color: var(--wb-muted);
	opacity: 1;
}

input[type="checkbox"],
input[type="radio"] {
	height: 1.1rem;
	width: 1.1rem;
}

.wpcf7 label {
	display: block;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.wpcf7 :where(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], textarea) {
	font-weight: 400;
	margin-top: 0.35rem;
	width: 100%;
}

.wpcf7 input[type="submit"],
.wb-comment-form input[type="submit"] {
	background: var(--wb-accent);
	border: 0;
	border-radius: var(--wb-pill);
	color: var(--wb-accent-ink);
	cursor: pointer;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	padding: 0.85rem 1.6rem;
	transition: background-color 0.2s, color 0.2s;
}

.wpcf7 input[type="submit"]:hover,
.wb-comment-form input[type="submit"]:hover {
	background: var(--wb-ink);
	color: var(--wb-paper);
}

.wpcf7 .wpcf7-response-output {
	border-radius: var(--wb-r-s);
	margin: 1rem 0 0 !important;
	padding: 0.75rem 1rem !important;
}

.wpcf7 .wpcf7-not-valid-tip {
	font-size: var(--wp--preset--font-size--small);
	margin-top: 0.3rem;
}

/* Search block (search page, 404) */
.wb-search .wp-block-search__inside-wrapper {
	background: var(--wb-surface);
	border: 1px solid var(--wb-line) !important;
	border-radius: var(--wb-pill);
	box-sizing: border-box;
	padding: 0.35rem !important;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.wb-search .wp-block-search__inside-wrapper:focus-within {
	border-color: var(--wb-accent) !important;
	box-shadow: 0 0 0 4px var(--wb-accent-soft);
}

.wb-search .wp-block-search__input {
	background: transparent;
	border: 0 !important;
	box-shadow: none !important;
	padding-left: 1rem;
}

.wb-search .wp-block-search__button {
	margin-left: 0.35rem;
}

/* Newsletter plugin form inside page content ([newsletter] / [newsletter_form]) */
.wp-block-post-content .tnp-subscription {
	margin: var(--wp--preset--spacing--40) 0;
	max-width: 32rem;
}

.wp-block-post-content .tnp-subscription .tnp-field {
	margin-bottom: 1rem;
}

.wp-block-post-content .tnp-subscription label {
	color: var(--wb-ink);
	display: block;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.wp-block-post-content .tnp-subscription :is(input[type="text"], input[type="email"]) {
	background: var(--wb-surface) !important;
	border: 1px solid var(--wb-line) !important;
	border-radius: var(--wb-r-s) !important;
	color: var(--wb-ink) !important;
	font: inherit !important;
	padding: 0.75rem 1rem !important;
	width: 100%;
}

.wp-block-post-content .tnp-subscription :is(input[type="text"], input[type="email"]):focus {
	border-color: var(--wb-accent) !important;
	box-shadow: 0 0 0 4px var(--wb-accent-soft);
}

.wp-block-post-content .tnp-subscription .tnp-privacy-field label {
	align-items: center;
	display: inline-flex;
	font-weight: 400;
	gap: 0.6rem;
}

.wp-block-post-content .tnp-subscription input[type="checkbox"] {
	margin: 0;
}

.wp-block-post-content .tnp-subscription input[type="submit"] {
	background: var(--wb-accent) !important;
	border: 0 !important;
	border-radius: var(--wb-pill) !important;
	color: var(--wb-accent-ink) !important;
	cursor: pointer;
	font: inherit !important;
	font-weight: 600 !important;
	height: auto !important;
	padding: 0.85rem 1.8rem !important;
	width: auto !important;
}

.wp-block-post-content .tnp-subscription input[type="submit"]:hover {
	background: var(--wb-ink) !important;
	color: var(--wb-paper) !important;
}

/* Blocks in older content with a fixed custom background (not a theme colour)
   and no text colour were made for light mode. Render their contents in the
   light scheme so text stays dark on the light background in dark mode too. */
.wp-block-post-content .has-background[style*="background"]:not([class*="-background-color"], [class*="-gradient-background"], .has-text-color) {
	color: var(--wb-ink);
	color-scheme: light;
}

/* Easy Table of Contents plugin: its own light box ignores the dark scheme.
   .wp-site-blocks lifts these rules above the plugin's #ez-toc-container ones. */
.wp-site-blocks #ez-toc-container {
	background: var(--wb-surface);
	border: 1px solid var(--wb-line);
	border-radius: var(--wb-r-m);
	box-shadow: none;
	box-sizing: border-box;
	color: var(--wb-ink);
	display: block;
	max-width: 100%;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	width: fit-content;
}

.wp-site-blocks #ez-toc-container p.ez-toc-title {
	color: var(--wb-muted);
	display: inline-block;
	font-family: var(--wb-mono);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 500;
	letter-spacing: 0.08em;
	margin: 0 0.75rem 0 0;
	text-transform: uppercase;
	vertical-align: middle;
}

.wp-site-blocks #ez-toc-container .ez-toc-cssicon-toggle-label {
	background: transparent;
	border: 1px solid var(--wb-line);
	border-radius: var(--wb-r-s);
	color: var(--wb-muted);
	cursor: pointer;
	display: inline-flex;
	padding: 0.15rem 0.3rem;
	vertical-align: middle;
}

.wp-site-blocks #ez-toc-container .ez-toc-cssicon-toggle-label > span {
	display: inline-flex;
}

.wp-site-blocks #ez-toc-container .ez-toc-cssicon-toggle-label:hover {
	border-color: var(--wb-muted);
	color: var(--wb-ink);
}

.wp-site-blocks #ez-toc-container .ez-toc-cssicon-toggle-label :is(svg, path) {
	color: var(--wb-muted);
	fill: currentcolor;
}

.wp-site-blocks #ez-toc-container nav {
	margin-top: var(--wp--preset--spacing--10);
}

.wp-site-blocks #ez-toc-container li,
.wp-site-blocks #ez-toc-container li::before,
.wp-site-blocks #ez-toc-container a::before {
	color: var(--wb-muted);
}

.wp-site-blocks #ez-toc-container a,
.wp-site-blocks #ez-toc-container a:visited {
	color: var(--wb-ink);
	text-decoration: none;
}

.wp-site-blocks #ez-toc-container a:is(:hover, :focus-visible, .active) {
	color: var(--wb-accent);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* ---------- Newsletter panel ---------- */

.wb-newsletter {
	background: var(--wb-accent);
	border-radius: var(--wb-r-l);
	color: var(--wb-accent-ink);
	display: grid;
	gap: var(--wp--preset--spacing--40);
	isolation: isolate;
	overflow: hidden;
	padding: var(--wp--preset--spacing--50) clamp(1.5rem, 5vw, 4rem);
	position: relative;
}

.wb-newsletter::before {
	background-image: radial-gradient(oklch(0.17 0.03 40 / 0.22) 1px, transparent 1.4px);
	background-size: 18px 18px;
	content: "";
	inset: 0;
	-webkit-mask-image: linear-gradient(105deg, transparent 35%, #000 90%);
	mask-image: linear-gradient(105deg, transparent 35%, #000 90%);
	position: absolute;
	z-index: -1;
}

@media (min-width: 56rem) {
	.wb-newsletter {
		align-items: end;
		grid-template-columns: 1.15fr 1fr;
	}
}

.wb-newsletter > * {
	margin: 0 !important;
}

.wb-newsletter :is(h2, p, .wb-label) {
	color: var(--wb-accent-ink);
}

.wb-newsletter h2 {
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	margin: 0;
}

.wb-newsletter .wb-label {
	opacity: 0.75;
}

.wb-newsletter__sub {
	max-width: 32rem;
	opacity: 0.85;
}

.wb-newsletter__form > p:empty {
	display: none;
}

.wb-newsletter__form .tnp-subscription-minimal {
	background: transparent !important;
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100%;
}

.wb-newsletter__form form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.wb-newsletter__form input[type="email"] {
	background: oklch(0.99 0.004 85) !important;
	border: 0 !important;
	border-radius: var(--wb-pill) !important;
	box-shadow: none;
	color: oklch(0.2 0.012 255) !important;
	flex: 1 1 14rem;
	font: inherit !important;
	min-height: 3.25rem;
	padding: 0.85rem 1.35rem !important;
}

.wb-newsletter__form input[type="email"]::placeholder {
	color: oklch(0.48 0.012 255);
}

.wb-newsletter__form input[type="email"]:focus {
	box-shadow: 0 0 0 4px oklch(0.17 0.03 40 / 0.25);
}

.wb-newsletter__form :is(input[type="submit"], .tnp-submit, .wp-block-button__link) {
	background: oklch(0.19 0.01 255) !important;
	border: 0 !important;
	border-radius: var(--wb-pill) !important;
	color: oklch(0.96 0.004 85) !important;
	cursor: pointer;
	font: inherit !important;
	font-weight: 600 !important;
	height: auto !important;
	min-height: 3.25rem;
	padding: 0.85rem 1.6rem !important;
	transition: background-color 0.2s, translate 0.2s var(--wb-ease);
	width: auto !important;
}

.wb-newsletter__form :is(input[type="submit"], .tnp-submit, .wp-block-button__link):hover {
	background: oklch(0.3 0.02 255) !important;
	translate: 0 -1px;
}

.wb-newsletter__form :focus-visible {
	outline-color: var(--wb-accent-ink);
}

/* Privacy consent, left-aligned with the text inside the email field */
.wb-newsletter__form .tnp-privacy-field {
	color: var(--wb-accent-ink);
	flex: 1 1 100%;
	font-size: var(--wp--preset--font-size--small);
	margin: 0.35rem 0 0 !important;
	padding: 0 0 0 1.35rem !important;
	text-align: left !important;
}

.wb-newsletter__form .tnp-privacy-field label {
	align-items: center;
	cursor: pointer;
	display: inline-flex !important;
	gap: 0.6rem;
	margin: 0 !important;
	padding: 0 !important;
}

.wb-newsletter__form .tnp-privacy-field input[type="checkbox"] {
	accent-color: oklch(0.19 0.01 255);
	flex: none;
	margin: 0 !important;
}

.wb-newsletter__form .tnp-privacy-field a {
	color: inherit;
	text-decoration-color: oklch(0.17 0.03 40 / 0.45);
	text-underline-offset: 0.2em;
}

.wb-newsletter__form .tnp-privacy-field a:hover {
	text-decoration-color: currentColor;
}

/* ---------- Related ---------- */

.wb-related {
	border-top: 1px solid var(--wb-line);
}

.wb-section-head {
	align-items: flex-end;
}

.wb-section-head > * {
	margin: 0;
}

/* ---------- 404 ---------- */

.wb-404__code {
	-webkit-background-clip: text;
	background-clip: text;
	background-image: var(--wb-dots);
	background-size: 10px 10px;
	color: transparent;
	font-family: var(--wb-display);
	font-size: clamp(7rem, 26vw, 15rem);
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 0.85;
	margin-bottom: var(--wp--preset--spacing--30) !important;
	-webkit-text-stroke: 2px var(--wb-accent);
}

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

.wb-footer {
	--wb-dim: color-mix(in oklch, var(--wb-on-graphite) 62%, transparent);
	border-top: 1px solid var(--wb-line);
	isolation: isolate;
	overflow: clip;
	position: relative;
}

.wb-footer__grid {
	display: grid;
	gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}

@media (min-width: 60rem) {
	.wb-footer__grid {
		grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(max-content, 1fr));
	}
}

.wb-footer__grid > * {
	margin: 0 !important;
	min-width: max-content;
}

.wb-footer__brand {
	min-width: 0 !important;
}

.wb-footer .wb-label {
	color: var(--wb-dim);
	margin: 0;
}

.wb-footer__tagline {
	font-family: var(--wb-display);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	max-width: 18ch;
}

.wb-footer__note {
	color: var(--wb-dim);
	max-width: 30rem;
}

.wb-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wb-footer__list li {
	margin: 0;
	padding: 0.3rem 0;
}

.wb-footer a {
	text-decoration: none;
	transition: color 0.2s;
}

.wb-footer a:hover {
	color: var(--wb-accent) !important;
}

.wb-footer .wp-block-archives-dropdown select {
	background: color-mix(in oklch, var(--wb-on-graphite) 7%, transparent);
	border: 1px solid color-mix(in oklch, var(--wb-on-graphite) 18%, transparent);
	color: var(--wb-on-graphite);
	color-scheme: dark;
	min-width: 100%;
	width: auto;
}

.wb-footer__base {
	border-top: 1px solid color-mix(in oklch, var(--wb-on-graphite) 12%, transparent);
	color: var(--wb-dim);
	font-family: var(--wb-mono);
	letter-spacing: 0.04em;
	padding-top: var(--wp--preset--spacing--30);
}

.wb-footer__base p {
	margin: 0;
}

/* ---------- Small screens ---------- */

@media (max-width: 40rem) {
	.wb-brand .wp-block-site-title {
		font-size: 1rem;
	}

	.wb-header__actions {
		gap: 0.25rem !important;
	}

	.wb-header-search .wp-block-search__input {
		min-width: 0;
		width: 9rem !important;
	}
}

@media (max-width: 26rem) {
	.wb-header__bar {
		gap: 0.625rem !important;
	}

	.wb-brand {
		gap: 0.5rem !important;
	}

	.wb-brand__mark img {
		height: 2rem !important;
		width: 2rem !important;
	}

	.wb-brand .wp-block-site-title {
		font-size: 0.9375rem;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.wb-scheme,
	.wb-header-search .wp-block-search__button,
	.wb-nav .wp-block-navigation__responsive-container-open {
		height: 2.25rem;
		width: 2.25rem;
	}
}

@media (max-width: 22rem) {
	.wb-brand .wp-block-site-title {
		display: none;
	}
}
