/*
Theme Name: Digital eCommerce
Theme URI: https://wpinterface.com/themes/digital-ecommerce/
Author: WPInterface
Author URI: https://wpinterface.com/
Description: Digital eCommerce is a dark, editorial store theme for selling digital products with Easy Digital Downloads. A full-height hero, framed panels, two-tone headlines and a neon accent give themes, templates, fonts and other downloads a premium stage. The home page is built from sections you switch on in the Customizer; download cards, split-screen download pages, the cart, checkout, receipt and account pages are all designed for buying files fast. A floating header shows cart, wishlist and compare counts, and light scroll animations respect reduced-motion settings. It works with the free WPInterface Wishlist, Compare Products, Quick View and Product Badges add-ons when they are active, and everything stays usable without JavaScript.
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digital-ecommerce
Tags: e-commerce, blog, portfolio, grid-layout, one-column, two-columns, three-columns, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, right-sidebar, threaded-comments, translation-ready, wide-blocks, theme-options, block-styles, sticky-post

Digital eCommerce is based on Chaplin by Anders Norén (https://andersnoren.se/teman/chaplin-wordpress-theme/),
licensed GPL-2.0. Digital eCommerce is distributed under the terms of the GNU GPL v2 or later.
*/

/* --------------------------------------------------------------------------
   Contents
   1. Tokens (dark scheme, light scheme)
   2. Base and typography
   3. Accessibility helpers
   4. Buttons, tags and forms
   5. Layout, panels and crosses
   6. Header, navigation and side frame
   7. Dialogs
   8. Page banner and breadcrumbs
   9. Hero and home sections
   10. Cards and grids
   11. Split layout, entry content and blocks
   12. Comments
   13. Footer
   14. Widgets, pagination, back to top
   15. Motion
   16. Block patterns
   -------------------------------------------------------------------------- */

/* 1. Tokens ---------------------------------------------------------------- */

:root {
	--de-accent: #00ff85;
	--de-accent-rgb: 0, 255, 133;
	--de-accent-2: #00e077;
	--de-on-accent: #0f0f0f;

	/* Dark scheme (default). */
	--de-bg: #121212;
	--de-surface: #1c1c1c;
	--de-surface-2: #262626;
	--de-ink: #0f0f0f;
	--de-text: #ffffff;
	--de-body: #999999;
	--de-muted: #999999;
	--de-line: rgba(255, 255, 255, 0.125);
	--de-line-strong: rgba(255, 255, 255, 0.3);
	--de-hover: #333333;
	--de-link: var(--de-accent);
	--de-on-dark: #ffffff;
	--de-grain-opacity: 0.16;
	--de-globe-line: rgba(255, 255, 255, 0.28);
	--de-focus: var(--de-accent);
	--de-error: #ff6b6b;

	--de-font: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--de-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--de-radius-xs: 5px;
	--de-radius-s: 8px;
	--de-radius: 15px;
	--de-radius-l: 15px;
	--de-pill: 50px;

	--de-container: 1200px;
	--de-gutter: 30px;
	--de-frame: 0px;
	--de-section: 120px;
	--de-header-top: 22px;
	--de-header-h: 52px;

	--de-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
	--de-shadow-l: 0 30px 80px -20px rgba(0, 0, 0, 0.7);

	--de-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--de-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--de-fast: 0.255s;
	--de-medium: 0.45s;

	--de-h1: 72px;
	--de-h2: 60px;
	--de-h3: 48px;
	--de-h4: 36px;
	--de-h5: 28px;
	--de-h6: 22px;
	--de-body-size: 18px;
	--de-small: 16px;
	--de-xs: 14px;
	--de-label: 13px;
	--de-track: -0.02em;
}

html[data-de-theme="light"] {
	--de-bg: #f5f5f7;
	--de-surface: #ffffff;
	--de-surface-2: #ececf0;
	--de-ink: #e8e8ed;
	--de-text: #1a1a1f;
	--de-body: #6e6e73;
	--de-muted: #6e6e73;
	--de-line: hsla(0, 0%, 59.6%, 0.2);
	--de-line-strong: hsla(0, 0%, 59.6%, 0.35);
	--de-hover: #ffffff;
	--de-link: #00994f;
	--de-on-dark: #1a1a1f;
	--de-on-accent: #1a1a1f;
	--de-grain-opacity: 0.2;
	--de-globe-line: rgba(26, 26, 31, 0.22);
	--de-focus: #00994f;
	--de-error: #c62828;
	--de-shadow: 0 20px 50px -24px rgba(26, 26, 31, 0.25);
	--de-shadow-l: 0 30px 80px -30px rgba(26, 26, 31, 0.3);
	color-scheme: light;
}

html[data-de-theme="dark"] {
	color-scheme: dark;
}

@media (max-width: 1023px) {
	:root {
		--de-h1: 48px;
		--de-h2: 40px;
		--de-h3: 34px;
		--de-h4: 28px;
		--de-h5: 23px;
		--de-h6: 20px;
		--de-section: 90px;
	}
}

@media (max-width: 767px) {
	:root {
		--de-h1: 40px;
		--de-h2: 32px;
		--de-h3: 28px;
		--de-h4: 26px;
		--de-h5: 21px;
		--de-h6: 19px;
		--de-body-size: 16px;
		--de-gutter: 20px;
		--de-section: 72px;
		--de-header-top: 12px;
	}
}

/* 2. Base and typography ------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 110px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	position: relative;
	margin: 0;
	background-color: var(--de-bg);
	color: var(--de-body);
	font-family: var(--de-font);
	font-size: var(--de-body-size);
	font-weight: 400;
	line-height: 1.35;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	transition: background-color var(--de-medium) var(--de-ease), color var(--de-medium) var(--de-ease);
}

/*
 * Film grain over the whole page: a tile of random grey noise, blended with soft light so
 * it darkens and lightens what is under it, and moved a few pixels at a time so it
 * flickers like film. It stays still for visitors who ask for less motion.
 */
body.de-has-grain::after {
	position: fixed;
	z-index: 9990;
	inset: -160px;
	background-image: url("assets/images/grain.png");
	background-size: 200px 200px;
	content: "";
	opacity: var(--de-grain-opacity);
	mix-blend-mode: soft-light;
	pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
	body.de-has-grain::after {
		animation: de-grain 0.6s steps(1, end) infinite;
		will-change: transform;
	}
}

@keyframes de-grain {
	0%,
	100% {
		transform: translate(0, 0);
	}

	10% {
		transform: translate(-62px, 38px);
	}

	20% {
		transform: translate(44px, -96px);
	}

	30% {
		transform: translate(-118px, -22px);
	}

	40% {
		transform: translate(86px, 70px);
	}

	50% {
		transform: translate(-30px, 124px);
	}

	60% {
		transform: translate(132px, -54px);
	}

	70% {
		transform: translate(-90px, -128px);
	}

	80% {
		transform: translate(18px, 102px);
	}

	90% {
		transform: translate(104px, 12px);
	}
}

@media print {
	body.de-has-grain::after {
		display: none;
	}
}

img,
svg,
video,
canvas,
iframe {
	max-width: 100%;
}

img,
video {
	height: auto;
}

img {
	display: block;
}

figure {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	color: var(--de-text);
	font-weight: 500;
	letter-spacing: var(--de-track);
	text-wrap: balance;
}

h1 {
	font-size: var(--de-h1);
	line-height: 1;
}

h2 {
	font-size: var(--de-h2);
	line-height: 1;
}

h3 {
	font-size: var(--de-h3);
	line-height: 1.1;
}

h4 {
	font-size: var(--de-h4);
	line-height: 1.1;
	letter-spacing: 0;
}

h5 {
	font-size: var(--de-h5);
	line-height: 1.2;
	letter-spacing: 0;
}

h6 {
	font-size: var(--de-h6);
	line-height: 1.2;
	letter-spacing: 0;
}

p,
ul,
ol,
dl,
blockquote,
pre,
table {
	margin: 0 0 1.25em;
}

ul,
ol {
	padding-inline-start: 1.25em;
}

strong,
b {
	color: var(--de-text);
	font-weight: 600;
}

a {
	color: var(--de-text);
	text-decoration: none;
	transition: color var(--de-fast) var(--de-ease), background-color var(--de-fast) var(--de-ease), border-color var(--de-fast) var(--de-ease);
}

a:hover {
	color: var(--de-link);
}

hr {
	height: 1px;
	margin: 2.5em 0;
	border: 0;
	background: var(--de-line);
}

code,
kbd,
pre,
samp {
	font-family: var(--de-mono);
	font-size: 0.9em;
}

pre {
	overflow: auto;
	padding: 1.25em;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius-s);
	background: var(--de-ink);
	color: var(--de-text);
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	padding: 0.75em 0.9em;
	border-bottom: 1px solid var(--de-line);
	text-align: start;
	vertical-align: top;
}

th {
	color: var(--de-text);
	font-weight: 500;
}

blockquote {
	margin-inline: 0;
	padding: 0.25em 0 0.25em 1.25em;
	border-inline-start: 2px solid var(--de-accent);
	color: var(--de-text);
	font-size: 24px;
	line-height: 1.35;
}

::selection {
	background: var(--de-accent);
	color: var(--de-on-accent);
}

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

.title-strong {
	color: var(--de-text);
	font-weight: 500;
}

.title-light {
	color: var(--de-muted);
	font-weight: 300;
}

.de-icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
	vertical-align: middle;
}

.eyebrow,
.footer-label {
	color: var(--de-muted);
	font-size: var(--de-label);
	font-weight: 400;
	letter-spacing: 0.096em;
	text-transform: uppercase;
}

/* 3. Accessibility helpers ----------------------------------------------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 14px 22px;
	clip: auto !important;
	clip-path: none;
	border-radius: var(--de-radius-s);
	background: var(--de-accent);
	color: var(--de-on-accent);
	font-weight: 500;
}

:focus-visible {
	outline: 2px solid var(--de-focus);
	outline-offset: 3px;
}

.skip-link:focus {
	position: fixed !important;
}

/* 4. Buttons, tags and forms --------------------------------------------- */

.de-btn,
.de-button,
.wp-block-button__link,
input[type="submit"],
input[type="button"],
input[type="reset"],
button.button,
.button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 45px;
	padding: 0 20px;
	border: 1px solid var(--de-accent);
	border-radius: var(--de-radius-s);
	background: var(--de-accent);
	color: var(--de-on-accent);
	font: inherit;
	font-size: var(--de-small);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--de-fast) var(--de-ease), color var(--de-fast) var(--de-ease), border-color var(--de-fast) var(--de-ease);
}

.de-btn:hover,
.de-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover {
	border-color: var(--de-accent-2);
	background: var(--de-accent-2);
	color: var(--de-on-accent);
}

.de-btn.has-icon {
	padding-inline-end: 4px;
	gap: 16px;
}

.de-btn-icon {
	display: grid;
	width: 37px;
	height: 37px;
	place-items: center;
	border: 1px solid currentColor;
	border-radius: var(--de-radius-s);
}

.de-btn-icon .de-icon {
	width: 19px;
	height: 19px;
	transition: transform var(--de-fast) var(--de-ease);
}

.de-btn:hover .de-icon-arrow-up-right,
.de-btn:hover .de-icon-arrow-right {
	transform: translate(2px, -2px);
}

.de-btn--outline,
.de-button--ghost,
.is-style-outline > .wp-block-button__link {
	border-color: var(--de-line);
	background: var(--de-surface);
	color: var(--de-text);
}

.de-btn--outline:hover,
.de-button--ghost:hover,
.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--de-line-strong);
	background: var(--de-hover);
	color: var(--de-text);
}

.de-btn--outline .de-btn-icon {
	border-color: var(--de-line);
}

.de-btn--sm {
	min-height: 33px;
	padding: 0 15px;
	font-weight: 400;
}

.de-btn--sm.has-icon {
	padding-inline-end: 4px;
	gap: 8px;
}

.de-btn--sm .de-btn-icon {
	width: 25px;
	height: 25px;
}

.de-btn--sm .de-btn-icon .de-icon {
	width: 16px;
	height: 16px;
}

.de-button--small {
	min-height: 33px;
	padding: 0 15px;
}

.de-button .de-icon {
	width: 18px;
	height: 18px;
}

/* Small accent tag, used for categories on images and in headers. */
.de-tag {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0 9px;
	border-radius: var(--de-radius-xs);
	background: var(--de-accent);
	color: var(--de-on-accent);
	font-size: var(--de-xs);
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}

a.de-tag:hover {
	background: var(--de-accent-2);
	color: var(--de-on-accent);
}

.de-tag--outline {
	border: 1px solid var(--de-line);
	background: var(--de-surface);
	color: var(--de-muted);
}

a.de-tag--outline:hover {
	border-color: var(--de-line-strong);
	background: var(--de-hover);
	color: var(--de-text);
}

/* Eyebrow pill: uppercase label with an accent icon. */
.eyebrow-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	padding: 6px 14px 6px 10px;
	border: 1px solid var(--de-line);
	border-radius: var(--de-pill);
	background: var(--de-surface);
	color: var(--de-text);
	font-size: var(--de-label);
	letter-spacing: 0.096em;
	line-height: 1.2;
	text-transform: uppercase;
}

.eyebrow-pill .de-icon {
	width: 16px;
	height: 16px;
	color: var(--de-accent);
}

html[data-de-theme="light"] .eyebrow-pill .de-icon {
	color: var(--de-link);
}

.de-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 6px 12px;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius-s);
	background: var(--de-surface);
	color: var(--de-muted);
	font-size: var(--de-xs);
}

.de-chip .de-icon {
	width: 15px;
	height: 15px;
}

label {
	color: var(--de-text);
	font-size: var(--de-small);
	font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
	width: 100%;
	min-height: 50px;
	padding: 0.7em 1em;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius-s);
	background: var(--de-surface);
	color: var(--de-text);
	font: inherit;
	font-size: var(--de-small);
	line-height: 1.4;
	transition: border-color var(--de-fast) var(--de-ease), background-color var(--de-fast) var(--de-ease);
}

textarea {
	min-height: 140px;
	resize: vertical;
}

select {
	padding-inline-end: 2.5em;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23999999' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
	background-position: right 1em center;
	background-repeat: no-repeat;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--de-line-strong);
	outline: none;
	background-color: var(--de-hover);
}

input[type="checkbox"],
input[type="radio"] {
	width: 1.1em;
	height: 1.1em;
	margin: 0 0.45em 0 0;
	accent-color: var(--de-accent);
	vertical-align: -0.15em;
}

::placeholder {
	color: var(--de-muted);
	opacity: 0.8;
}

.search-form {
	position: relative;
	display: flex;
	max-width: 520px;
}

.search-form .search-field {
	padding-inline-end: 3.5em;
}

.search-form .search-submit {
	position: absolute;
	inset-block: 6px;
	inset-inline-end: 6px;
	display: grid;
	width: 38px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: var(--de-radius-s);
	background: var(--de-accent);
	color: var(--de-on-accent);
	cursor: pointer;
}

/* 5. Layout, panels and crosses ------------------------------------------ */

.container {
	width: 100%;
	max-width: calc(var(--de-container) + var(--de-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--de-gutter);
}

.section {
	padding-block: calc(var(--de-section) / 2);
}

.section-tight {
	padding-block: 60px var(--de-section);
}

.site-content {
	display: block;
	min-height: 50vh;
}

.de-grid {
	display: grid;
	gap: 60px 30px;
	grid-template-columns: repeat(var(--de-cols, 3), minmax(0, 1fr));
}

.de-grid--2 {
	--de-cols: 2;
}

.de-grid--3 {
	--de-cols: 3;
}

.de-grid--4 {
	--de-cols: 4;
	gap: 50px 24px;
}

@media (max-width: 1023px) {
	.de-grid--3,
	.de-grid--4 {
		--de-cols: 2;
	}
}

@media (max-width: 599px) {
	.de-grid {
		--de-cols: 1;
		gap: 40px;
	}

	.de-grid--scroll {
		display: flex;
		margin-inline: calc(var(--de-gutter) * -1);
		padding-inline: var(--de-gutter);
		padding-bottom: 8px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.de-grid--scroll > * {
		flex: 0 0 82%;
		scroll-snap-align: start;
	}
}

/* Thin "+" marks that sit on panel borders. */
.de-cross {
	position: relative;
	display: block;
	width: 21px;
	height: 21px;
}

.de-cross::before,
.de-cross::after {
	position: absolute;
	background: var(--de-line-strong);
	content: "";
}

.de-cross::before {
	top: 10px;
	left: 0;
	width: 21px;
	height: 1px;
}

.de-cross::after {
	top: 0;
	left: 10px;
	width: 1px;
	height: 21px;
}

/* Framed panel with a border, like a technical drawing. */
.de-panel {
	position: relative;
	padding: clamp(30px, 5vw, 60px);
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
}

.de-panel--split {
	display: grid;
	padding: 0;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.de-panel--split > .de-panel-side {
	padding: clamp(30px, 5vw, 60px);
	border-inline-end: 1px solid var(--de-line);
}

.de-panel--split > .de-panel-main {
	padding: clamp(30px, 5vw, 60px);
}

@media (max-width: 899px) {
	.de-panel--split {
		grid-template-columns: 1fr;
	}

	.de-panel--split > .de-panel-side {
		padding-bottom: 0;
		border: 0;
	}
}

.toolbar-rule,
.footer-rule,
.split-rule {
	position: relative;
	height: 1px;
	margin: 0;
	background: var(--de-line);
}

.toolbar-rule .de-cross,
.footer-rule .de-cross,
.split-rule .de-cross {
	position: absolute;
	top: -10px;
	left: 60px;
}

.section-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
	margin-bottom: 50px;
}

.section-heading-main {
	max-width: 760px;
}

.section-heading--center {
	justify-content: center;
	text-align: center;
}

.section-heading--center .section-heading-main {
	margin-inline: auto;
}

.section-heading--center .de-btn {
	display: none;
}

.section-title {
	margin: 0;
	font-size: var(--de-h2);
	line-height: 1;
}

.section-text {
	margin: 18px 0 0;
	color: var(--de-muted);
	font-size: var(--de-label);
	letter-spacing: 0.096em;
	text-transform: uppercase;
}

.shop-layout--sidebar {
	display: grid;
	gap: 50px;
	grid-template-columns: minmax(0, 1fr) 300px;
}

@media (max-width: 1023px) {
	.shop-layout--sidebar {
		grid-template-columns: 1fr;
	}
}

/* 6. Header, navigation and side frame ------------------------------------ */

.site-header {
	position: absolute;
	z-index: 60;
	top: var(--de-header-top);
	right: var(--de-frame);
	left: var(--de-frame);
	pointer-events: none;
}

.de-sticky-header .site-header {
	position: fixed;
}

.admin-bar .site-header {
	top: calc(var(--de-header-top) + 32px);
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: calc(var(--de-header-top) + 46px);
	}

	.admin-bar.de-sticky-header .site-header {
		position: absolute;
	}
}

.site-header-bar {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: var(--de-header-h);
	padding: 0 20px;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
	background: var(--de-surface);
	pointer-events: auto;
	transition: background-color var(--de-medium) var(--de-ease), border-color var(--de-medium) var(--de-ease), box-shadow var(--de-medium) var(--de-ease);
}

.site-header.is-scrolled .site-header-bar {
	box-shadow: var(--de-shadow);
}

.site-branding {
	display: flex;
	flex: none;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.site-logo img {
	width: auto;
	max-height: 30px;
}

.site-title {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1;
}

.site-title a {
	color: var(--de-text);
}

.site-description {
	margin: 3px 0 0;
	color: var(--de-muted);
	font-size: 12px;
	line-height: 1.2;
}

.header-divider {
	flex: none;
	width: 1px;
	height: var(--de-header-h);
	background: var(--de-line);
}

.primary-nav {
	flex: 1;
	min-width: 0;
}

.primary-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.primary-menu li {
	position: relative;
	display: flex;
	align-items: center;
}

.primary-menu a {
	display: block;
	padding: 5px 9px;
	color: var(--de-text);
	font-size: var(--de-small);
	line-height: 1.35;
}

.primary-menu > li > a {
	padding-block: 15px;
}

.primary-menu > li > a:hover,
.primary-menu > .current-menu-item > a,
.primary-menu > .current_page_item > a,
.primary-menu > .current-menu-ancestor > a {
	color: var(--de-link);
}

.primary-menu .menu-item-has-children > a,
.primary-menu .page_item_has_children > a {
	padding-inline-end: 2px;
}

.submenu-toggle {
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--de-muted);
	cursor: pointer;
}

.submenu-toggle .de-icon {
	width: 14px;
	height: 14px;
	transition: transform var(--de-fast) var(--de-ease);
}

.submenu-toggle[aria-expanded="true"] .de-icon {
	transform: rotate(180deg);
}

.primary-menu .sub-menu,
.primary-menu .children {
	position: absolute;
	z-index: 10;
	top: calc(100% + 8px);
	left: -12px;
	min-width: 230px;
	margin: 0;
	padding: 10px;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
	background: var(--de-surface);
	box-shadow: var(--de-shadow);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--de-fast) var(--de-ease), transform var(--de-fast) var(--de-ease), visibility var(--de-fast);
}

.primary-menu .sub-menu::before,
.primary-menu .children::before {
	position: absolute;
	inset: -12px 0 auto;
	height: 12px;
	content: "";
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:hover > .children,
.primary-menu li:focus-within > .sub-menu,
.primary-menu li:focus-within > .children,
.primary-menu li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.primary-menu .sub-menu a,
.primary-menu .children a {
	width: 100%;
	padding: 9px 12px;
	border-radius: var(--de-radius-s);
	color: var(--de-muted);
}

.primary-menu .sub-menu a:hover,
.primary-menu .children a:hover {
	background: var(--de-hover);
	color: var(--de-text);
}

.primary-menu .sub-menu .sub-menu,
.primary-menu .children .children {
	top: -11px;
	left: calc(100% + 10px);
}

.header-actions {
	display: flex;
	flex: none;
	align-items: center;
	gap: 2px;
	margin-inline-start: auto;
}

.header-action {
	position: relative;
	display: inline-grid;
	width: 36px;
	height: 36px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: var(--de-radius-s);
	background: transparent;
	color: var(--de-text);
	cursor: pointer;
}

.header-action:hover {
	background: var(--de-hover);
	color: var(--de-text);
}

.header-action .de-icon {
	width: 21px;
	height: 21px;
}

.header-count {
	position: absolute;
	top: -2px;
	right: -3px;
	display: grid;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	place-items: center;
	border-radius: var(--de-pill);
	background: var(--de-accent);
	color: var(--de-on-accent);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}

.header-count:empty,
.header-count.is-zero {
	display: none;
}

.header-button {
	display: inline-flex;
	margin-inline-end: 8px;
}

.header-button .de-btn-icon {
	border: 0;
	color: var(--de-accent);
}

html[data-de-theme="light"] .header-button .de-btn-icon {
	color: var(--de-link);
}

.menu-toggle {
	display: none;
}

@media (max-width: 1100px) {
	.js .primary-nav,
	.js .header-divider {
		display: none;
	}

	.js .menu-toggle {
		display: inline-grid;
	}

	.header-button {
		display: none;
	}

	.no-js .site-header-bar {
		flex-wrap: wrap;
		padding-block: 6px;
	}

	.no-js .primary-nav {
		order: 3;
		flex-basis: 100%;
		overflow-x: auto;
	}

	.no-js .primary-menu {
		flex-wrap: nowrap;
	}

	.no-js .header-divider {
		display: none;
	}
}

@media (max-width: 479px) {
	.header-account {
		display: none;
	}

	.site-header-bar {
		gap: 6px;
		padding: 0 12px;
	}
}

/* Side frame on wide screens: copyright on the left, social icons on the right. */
.site-frame,
.frame-social {
	display: none;
}

@media (min-width: 1200px) {
	.de-has-frame {
		--de-frame: clamp(48px, 4.8vw, 70px);
	}

	.de-has-frame .site-content,
	.de-has-frame .site-footer {
		margin-inline: var(--de-frame);
		border-inline: 1px solid var(--de-line);
	}

	.de-has-frame .site-frame {
		position: fixed;
		z-index: 50;
		top: 0;
		bottom: 0;
		display: flex;
		width: var(--de-frame);
		align-items: center;
		justify-content: center;
	}

	.site-frame--left {
		left: 0;
	}

	.site-frame-text {
		color: var(--de-muted);
		font-size: 12px;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		white-space: nowrap;
		transform: rotate(-90deg);
	}

	/* In the middle of the first screen, scrolling away with it. */
	.de-has-frame .frame-social {
		position: absolute;
		z-index: 50;
		top: 50vh;
		right: 0;
		display: flex;
		width: var(--de-frame);
		justify-content: center;
		transform: translateY(-50%);
	}

	.frame-social .social-icons-list {
		display: flex;
		flex-direction: column;
		gap: 22px;
	}

	.frame-social a {
		display: grid;
		width: 22px;
		height: 22px;
		place-items: center;
		color: var(--de-muted);
		transition: color var(--de-fast) var(--de-ease), transform var(--de-fast) var(--de-ease);
	}

	.frame-social a:hover,
	.frame-social a:focus-visible {
		color: var(--de-text);
		transform: translateY(-2px);
	}

	.frame-social .de-icon {
		width: 20px;
		height: 20px;
	}
}

/* 7. Dialogs -------------------------------------------------------------- */

.de-modal {
	width: 100%;
	max-width: none;
	height: auto;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--de-body);
}

.de-modal::backdrop {
	background: rgba(8, 8, 8, 0.7);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.search-modal {
	top: 0;
	bottom: auto;
}

.modal-close {
	display: grid;
	flex: none;
	width: 45px;
	height: 45px;
	place-items: center;
	padding: 0;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius-s);
	background: var(--de-surface);
	color: var(--de-text);
	cursor: pointer;
}

.modal-close:hover {
	background: var(--de-hover);
}

/* One bar: the search form and the close button, divided by a thin line. */
.search-modal .de-modal-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
	padding: 10px;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
	background: var(--de-surface);
	box-shadow: var(--de-shadow-l);
}

.modal-search-form {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	min-width: 0;
	padding-inline-start: 12px;
}

.modal-search-form > .de-icon {
	width: 24px;
	height: 24px;
	color: var(--de-muted);
}

.modal-search-form .search-field {
	flex: 1;
	min-width: 180px;
	padding: 0.4em 0;
	border: 0;
	background: transparent;
	color: var(--de-text);
	font-size: 22px;
}

.modal-search-form .search-field:focus {
	outline: 0;
	background: transparent;
}

.modal-search-form .de-button {
	min-height: 48px;
	padding-inline: 22px;
}

.search-scope {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--de-muted);
	font-size: var(--de-xs);
	font-weight: 400;
	white-space: nowrap;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
}

.search-scope:has(.de-switch:checked) {
	color: var(--de-text);
}

/* A checkbox drawn as a switch. */
input[type="checkbox"].de-switch {
	position: relative;
	flex: none;
	width: 38px;
	height: 22px;
	margin: 0;
	border: 1px solid var(--de-line-strong);
	border-radius: 22px;
	background: var(--de-bg);
	cursor: pointer;
	transition: background-color var(--de-fast) var(--de-ease), border-color var(--de-fast) var(--de-ease);
	-webkit-appearance: none;
	appearance: none;
}

input[type="checkbox"].de-switch::before {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--de-muted);
	content: "";
	transition: transform var(--de-fast) var(--de-ease), background-color var(--de-fast) var(--de-ease);
}

input[type="checkbox"].de-switch:hover {
	border-color: var(--de-text);
}

input[type="checkbox"].de-switch:checked {
	border-color: var(--de-accent);
	background: var(--de-accent);
}

input[type="checkbox"].de-switch:checked::before {
	background: var(--de-on-accent);
	transform: translateX(16px);
}

input[type="checkbox"].de-switch:focus-visible {
	outline: 2px solid var(--de-focus);
	outline-offset: 3px;
}

.search-modal .modal-close {
	align-self: stretch;
	width: 48px;
	height: auto;
	border: 0;
	border-inline-start: 1px solid var(--de-line);
	border-radius: 0;
	background: transparent;
	color: var(--de-muted);
}

.search-modal .modal-close:hover {
	background: transparent;
	color: var(--de-text);
}

@media (max-width: 599px) {
	.search-modal .de-modal-inner {
		align-items: flex-start;
	}

	.modal-search-form {
		padding-inline-start: 6px;
	}

	.modal-search-form .search-field {
		flex: 1 1 calc(100% - 48px);
		min-width: 0;
		font-size: 18px;
	}

	.modal-search-form .de-button {
		margin-inline-start: auto;
	}

	.search-modal .modal-close {
		align-self: flex-start;
		height: 48px;
	}
}

.menu-modal {
	inset: 0 0 0 auto;
	width: min(420px, 100%);
	height: 100%;
	max-height: 100dvh;
}

.menu-modal .de-modal-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 20px 24px 28px;
	overflow-y: auto;
	border-inline-start: 1px solid var(--de-line);
	background: var(--de-bg);
}

.menu-modal-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.menu-modal-title {
	margin: 0;
	color: var(--de-text);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.04em;
}

.modal-menu {
	flex: 1;
}

.modal-menu li {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid var(--de-line);
}

.modal-menu a {
	flex: 1;
	padding: 16px 0;
	color: var(--de-text);
	font-size: 28px;
	letter-spacing: var(--de-track);
}

.modal-menu a:hover {
	color: var(--de-link);
}

.modal-menu .sub-menu,
.modal-menu .children {
	display: none;
	flex-basis: 100%;
	margin: 0 0 12px;
	padding: 0 0 0 14px;
	list-style: none;
}

.modal-menu .sub-menu li,
.modal-menu .children li {
	border: 0;
}

.modal-menu .sub-menu a,
.modal-menu .children a {
	padding: 7px 0;
	color: var(--de-muted);
	font-size: 18px;
}

.modal-menu li.is-open > .sub-menu,
.modal-menu li.is-open > .children,
.no-js .modal-menu .sub-menu {
	display: block;
}

.modal-menu .submenu-toggle {
	width: 40px;
	height: 40px;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius-s);
}

.menu-modal-bottom {
	display: grid;
	gap: 18px;
	padding-top: 24px;
}

.modal-shop-links {
	display: grid;
	gap: 10px;
}

/* 8. Page banner and breadcrumbs ----------------------------------------- */

.page-banner {
	position: relative;
	display: flex;
	min-height: clamp(380px, 40vw, 500px);
	margin: 10px;
	overflow: hidden;
	align-items: flex-end;
	border-radius: var(--de-radius);
	background: var(--de-ink);
	isolation: isolate;
}

.page-banner-media {
	position: absolute;
	z-index: -1;
	inset: 0;
}

.page-banner-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-banner-media:has(img)::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 10, 10, 0.15) 30%, rgba(10, 10, 10, 0.78));
	content: "";
}

.page-banner-content {
	padding-block: 140px 50px;
}

.page-banner .page-title {
	max-width: 16em;
	margin: 0;
	font-size: var(--de-h1);
	line-height: 1;
}

.page-banner .page-intro {
	max-width: 640px;
	margin: 12px 0 0;
	color: var(--de-text);
	font-size: var(--de-body-size);
}

.page-banner .page-intro p {
	margin: 0;
}

.page-banner .breadcrumbs {
	margin-top: 30px;
}

/* Banners with a photo always use light text. */
.page-banner:has(.page-banner-media img) .page-title,
.page-banner:has(.page-banner-media img) .page-intro,
.page-banner:has(.page-banner-media img) .breadcrumbs-list [aria-current] {
	color: #ffffff;
}

.page-banner:has(.page-banner-media img) .title-light,
.page-banner:has(.page-banner-media img) .breadcrumbs-list,
.page-banner:has(.page-banner-media img) .breadcrumbs-list a {
	color: rgba(255, 255, 255, 0.65);
}

.page-banner-search {
	margin-top: 24px;
}

.breadcrumbs-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	color: var(--de-muted);
	font-size: var(--de-small);
}

.breadcrumbs-list li:not(:last-child)::after {
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-inline: 8px 2px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	content: "";
	opacity: 0.7;
	transform: rotate(45deg) translateY(-2px);
}

.breadcrumbs-list a {
	color: var(--de-muted);
}

.breadcrumbs-list a:hover,
.breadcrumbs-list [aria-current] {
	color: var(--de-text);
}

/* Generated artwork: accent glow, grid and a wireframe globe. */
.de-artwork {
	position: absolute;
	inset: 0;
	display: block;
	overflow: hidden;
	background:
		linear-gradient(var(--de-line) 1px, transparent 1px) 0 0 / 100% 120px,
		linear-gradient(90deg, var(--de-line) 1px, transparent 1px) 0 0 / 120px 100%,
		var(--de-surface);
}

.de-artwork-glow {
	position: absolute;
	right: -10%;
	bottom: -40%;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--de-accent-rgb), 0.35), rgba(var(--de-accent-rgb), 0) 65%);
}

.de-artwork-globe,
.de-artwork > .de-globe {
	position: absolute;
	top: 50%;
	right: 6%;
	width: min(640px, 70%);
	height: auto;
	aspect-ratio: 1;
	transform: translateY(-50%);
}

.de-artwork-globe {
	display: block;
	background-color: var(--de-globe-line);
	-webkit-mask: url("assets/images/globe.svg") center / contain no-repeat;
	mask: url("assets/images/globe.svg") center / contain no-repeat;
}

/* The turning globe from assets/js/globe.js replaces the still one. */
.de-globe {
	display: block;
	color: var(--de-globe-line);
	stroke-width: 1px;
	pointer-events: none;
}

.de-globe .de-globe-back {
	opacity: 0.35;
}

.de-has-globe.de-hero::before,
.de-has-globe.de-page-banner::before,
.de-has-globe.de-statement::after,
.de-has-globe > .de-artwork-globe {
	visibility: hidden;
}

.error-404 {
	text-align: center;
}

.error-code {
	margin: 0 0 30px;
	color: transparent;
	font-size: clamp(7rem, 22vw, 16rem);
	font-weight: 500;
	letter-spacing: -0.06em;
	line-height: 0.85;
	-webkit-text-stroke: 1px var(--de-line-strong);
}

.error-404-search .search-form {
	margin-inline: auto;
}

.error-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-top: 30px;
}

/* 9. Hero and home sections ---------------------------------------------- */

.hero-status {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 22px;
	font-size: var(--de-label);
	letter-spacing: 0.096em;
	text-transform: uppercase;
}

.hero-status a {
	color: var(--de-muted);
}

.hero-status a:hover {
	color: var(--de-link);
}

.hero-title {
	margin: 0;
	font-size: var(--de-h1);
	line-height: 1;
}

/* Group blocks in the hero pattern; the classes beat the block layout's own gap. */
.wp-block-group.hero-trust {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 34px;
}

.hero-trust-faces,
.wp-block-group.hero-trust-faces {
	display: flex;
	align-items: center;
	gap: 0;
}

.hero-trust-face {
	display: grid;
	flex: none;
	width: 40px;
	height: 40px;
	overflow: hidden;
	place-items: center;
	border: 2px solid var(--de-bg);
	border-radius: 50%;
	background: var(--de-surface);
	color: var(--de-text);
	font-size: 14px;
}

.hero-trust-faces > .hero-trust-face {
	margin: 0 0 0 -10px;
}

.hero-trust-faces > .hero-trust-face:first-child {
	margin-inline-start: 0;
}

.hero-trust-face img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

p.hero-trust-plus {
	font-size: 20px;
	font-weight: 300;
	line-height: 1;
}

.hero-trust-plus .de-icon {
	width: 16px;
	height: 16px;
}

.hero-trust-text {
	font-size: var(--de-xs);
	line-height: 1.5;
}

.hero-text {
	max-width: 520px;
	margin: 26px 0 0;
	color: var(--de-muted);
}

.hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 40px;
}

.hero-card {
	width: 300px;
	flex: none;
	padding: 18px;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
	background: color-mix(in srgb, var(--de-surface) 85%, transparent);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.hero-card-media {
	display: block;
	overflow: hidden;
	margin-bottom: 16px;
	border-radius: var(--de-radius-s);
	aspect-ratio: 16 / 10;
}

.hero-card-media img,
.hero-card-media .de-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-card-title {
	margin: 0;
	color: var(--de-text);
	font-size: 22px;
	line-height: 1.2;
}

.hero-card-text {
	margin: 6px 0 0;
	color: var(--de-muted);
	font-size: var(--de-xs);
}

.hero-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--de-line);
}

.hero-card-link {
	display: inline-flex;
	align-items: center;
	min-height: 33px;
	padding: 0 15px;
	border-radius: var(--de-radius-s);
	background: var(--de-accent);
	color: var(--de-on-accent);
	font-size: var(--de-small);
	font-weight: 500;
}

.hero-card-link:hover {
	background: var(--de-accent-2);
	color: var(--de-on-accent);
}

.home-hero-bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-block: 18px;
	border-top: 1px solid var(--de-line);
	color: var(--de-muted);
	font-size: var(--de-label);
	letter-spacing: 0.096em;
	text-transform: uppercase;
}

.home-hero-scroll {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.home-hero-scroll .de-icon {
	width: 14px;
	height: 14px;
	transform: rotate(180deg);
}

@media (max-width: 1023px) {
	.hero-card {
		width: min(360px, 100%);
	}
}

@media (max-width: 599px) {
	.hero-card {
		display: none;
	}
}

/* Timeline inside the highlights panel. */
.de-panel-main .section-title {
	margin-bottom: 50px;
	font-size: var(--de-h3);
	line-height: 1.1;
}

.de-timeline {
	position: relative;
	display: grid;
	gap: 50px;
}

.de-timeline::before {
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 10px;
	width: 1px;
	background: var(--de-line);
	content: "";
}

.de-timeline-item {
	position: relative;
	padding-inline-start: 50px;
}

.de-timeline-title {
	margin: 0 0 10px;
	font-size: var(--de-h6);
}

.de-timeline-text {
	margin: 0 0 14px;
	color: var(--de-muted);
	font-size: var(--de-small);
}

/* Category index. */
.category-index {
	display: grid;
	gap: 0 30px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--de-line);
}

@media (max-width: 899px) {
	.category-index {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 499px) {
	.category-index {
		grid-template-columns: 1fr;
	}
}

.category-index a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 0;
	border-bottom: 1px solid var(--de-line);
	color: var(--de-text);
	font-size: var(--de-h6);
}

.category-index-name {
	flex: 1;
}

.category-index-count {
	display: grid;
	min-width: 26px;
	height: 22px;
	padding: 0 6px;
	place-items: center;
	border-radius: var(--de-radius-xs);
	background: var(--de-surface);
	color: var(--de-muted);
	font-size: 12px;
}

.category-index .de-icon {
	width: 18px;
	height: 18px;
	color: var(--de-muted);
	transition: transform var(--de-fast) var(--de-ease), color var(--de-fast) var(--de-ease);
}

.category-index a:hover {
	color: var(--de-link);
}

.category-index a:hover .de-icon {
	color: var(--de-link);
	transform: translate(2px, -2px);
}

/* Statement. */
.statement-text {
	position: relative;
	z-index: 1;
	max-width: 1040px;
	margin: 0 0 40px;
	color: var(--de-text);
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.35;
}

.de-statement .de-btn {
	position: relative;
	z-index: 1;
}

/* 10. Cards and grids ----------------------------------------------------- */

.de-card,
.post-card {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.de-card-media,
.post-card-media {
	position: relative;
	overflow: hidden;
	border-radius: var(--de-radius);
	background: var(--de-surface);
}

.de-card-image,
.post-card-image {
	display: block;
	aspect-ratio: 3 / 2;
}

.de-card-image img,
.de-card-image .wpibd-media,
.post-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--de-ease-out);
}

.de-card-image .de-cover {
	width: 100%;
	height: 100%;
}

.de-card:hover .de-card-image img,
.post-card:hover .post-card-image img {
	transform: scale(1.05);
}

.de-card-tag,
.post-card-tag {
	position: absolute;
	z-index: 2;
	bottom: 12px;
	left: 12px;
}

.post-card-tag {
	top: 12px;
	bottom: auto;
}

.de-card-body,
.post-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding-top: 22px;
}

.de-card-title,
.post-card-title {
	margin: 0;
	font-size: 26px;
	font-weight: 500;
	letter-spacing: var(--de-track);
	line-height: 1.15;
}

.de-card-title a,
.post-card-title a {
	color: var(--de-text);
}

.de-card-title a:hover,
.post-card-title a:hover {
	color: var(--de-link);
}

.de-card-title a::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	content: "";
}

.de-card-excerpt,
.post-card-excerpt {
	margin: 0;
	color: var(--de-muted);
	font-size: var(--de-small);
}

.post-card-excerpt p {
	margin: 0;
}

.de-card-footer {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--de-line);
}

.de-card-footer .edd_download_purchase_form,
.de-card-footer .edd_purchase_submit_wrapper {
	margin: 0;
}

.de-price {
	color: var(--de-text);
	font-size: 22px;
	font-weight: 500;
	letter-spacing: var(--de-track);
}

.de-price-from {
	color: var(--de-muted);
	font-size: var(--de-label);
	font-weight: 400;
	letter-spacing: 0.096em;
	text-transform: uppercase;
}

.de-price--free {
	color: var(--de-link);
}

.post-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin: 8px 0 0;
	color: var(--de-muted);
	font-size: var(--de-xs);
}

.post-card-meta .avatar {
	border-radius: 50%;
}

.post-card-meta span {
	display: inline-flex;
	gap: 4px;
}

.post-card-meta a {
	color: var(--de-text);
}

.read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--de-text);
	font-size: var(--de-small);
}

.read-more .de-icon {
	width: 17px;
	height: 17px;
}

.de-cover {
	position: relative;
	display: grid;
	overflow: hidden;
	place-items: center;
	background:
		radial-gradient(circle at 75% 85%, rgba(var(--de-accent-rgb), 0.28), transparent 55%),
		linear-gradient(var(--de-line) 1px, transparent 1px) 0 0 / 100% 40px,
		linear-gradient(90deg, var(--de-line) 1px, transparent 1px) 0 0 / 40px 100%,
		var(--de-surface);
	color: var(--de-text);
	aspect-ratio: 3 / 2;
}

.de-cover-initial {
	position: relative;
	color: var(--de-text);
	font-size: clamp(4rem, 9vw, 7rem);
	font-weight: 300;
	letter-spacing: -0.06em;
	line-height: 1;
}

.de-cover--large .de-cover-initial {
	font-size: clamp(7rem, 16vw, 14rem);
}

.no-results {
	max-width: 620px;
	padding: 40px 0;
}

.no-results-title {
	font-size: var(--de-h4);
}

/* Shop toolbar: filter tabs with counts. */
.shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding-bottom: 24px;
}

.filter-tabs ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
}

.filter-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: var(--de-radius-s);
	color: var(--de-muted);
	font-size: var(--de-label);
	letter-spacing: 0.096em;
	text-transform: uppercase;
}

.filter-tab:hover {
	color: var(--de-text);
}

.filter-tab.is-active {
	background: rgba(var(--de-accent-rgb), 0.1);
	color: var(--de-text);
}

.filter-count {
	display: grid;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	place-items: center;
	border-radius: var(--de-pill);
	background: var(--de-surface-2);
	color: var(--de-muted);
	font-size: 11px;
	letter-spacing: 0;
}

.filter-tab.is-active .filter-count {
	background: var(--de-accent);
	color: var(--de-on-accent);
}

.shop-sort {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-inline-start: auto;
}

.shop-sort label {
	color: var(--de-muted);
	font-size: var(--de-label);
	font-weight: 400;
	letter-spacing: 0.096em;
	text-transform: uppercase;
	white-space: nowrap;
}

.shop-sort select {
	width: auto;
	min-height: 40px;
	font-size: var(--de-xs);
}

.de-sort-submit {
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius-s);
	background: var(--de-surface);
	color: var(--de-text);
	font: inherit;
	font-size: var(--de-xs);
	cursor: pointer;
}

.js .shop-sort[data-de-autosubmit] .de-sort-submit {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.toolbar-rule {
	margin-bottom: 60px;
}

/* 11. Split layout, entry content and blocks ------------------------------ */

/*
 * The image is shown whole, framed on the panel, so wide screenshots and tall covers are
 * never cropped. --de-media-h is the panel height; the image is never taller than the
 * panel minus its padding.
 */
.entry--split {
	--de-media-h: 100vh;
	--de-media-pad-top: 120px;
	--de-media-pad-bottom: 48px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.split-media {
	position: relative;
}

.split-media-inner {
	position: sticky;
	top: 0;
	display: flex;
	height: var(--de-media-h);
	align-items: center;
	justify-content: center;
	padding: var(--de-media-pad-top) clamp(24px, 4vw, 64px) var(--de-media-pad-bottom);
	overflow: hidden;
	background:
		radial-gradient(70% 45% at 50% 100%, rgba(var(--de-accent-rgb), 0.16), transparent 70%),
		linear-gradient(var(--de-line) 1px, transparent 1px) 0 0 / 100% 120px,
		linear-gradient(90deg, var(--de-line) 1px, transparent 1px) 0 0 / 120px 100%,
		var(--de-surface);
}

.split-media-inner .wpibd-media {
	position: relative;
	display: block;
	max-width: 100%;
}

.split-media-inner img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(var(--de-media-h) - var(--de-media-pad-top) - var(--de-media-pad-bottom));
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
	box-shadow: var(--de-shadow-l);
}

.split-media-inner > .de-cover {
	width: 100%;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
	aspect-ratio: 3 / 2;
}

.split-body {
	min-width: 0;
	padding: 150px clamp(24px, 5vw, 70px) var(--de-section);
}

.split-body .breadcrumbs {
	margin-bottom: 30px;
}

.entry-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin: 0 0 22px;
	color: var(--de-muted);
	font-size: var(--de-xs);
}

.entry-byline .avatar {
	border-radius: 50%;
}

.entry-byline span {
	display: inline-flex;
	gap: 4px;
}

.entry--split .entry-title {
	margin: 0 0 20px;
	font-size: var(--de-h1);
	line-height: 1;
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 30px;
}

.split-rule {
	margin: 10px 0 40px;
}

.split-rule .de-cross {
	left: 50%;
}

@media (max-width: 899px) {
	.entry--split {
		grid-template-columns: 1fr;
	}

	.split-media-inner {
		position: relative;
		height: auto;
		padding: 100px var(--de-gutter) 28px;
	}

	.split-media-inner img {
		width: 100%;
		max-height: none;
	}

	.split-body {
		padding-top: 40px;
	}
}

.entry-content {
	color: var(--de-body);
	font-size: var(--de-body-size);
	line-height: 1.5;
}

.entry-content > * {
	margin-block: 0 1.3em;
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.6em;
}

.entry-content h2 {
	font-size: var(--de-h4);
	line-height: 1.1;
}

.entry-content h3 {
	font-size: var(--de-h5);
	line-height: 1.2;
}

.entry-content a:not(.de-btn):not(.wp-block-button__link):not(.edd-submit):not(.button) {
	color: var(--de-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.entry-content .alignwide,
.entry-content .alignfull {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
}

.entry-content img,
.wp-block-image img {
	border-radius: var(--de-radius);
}

.entry-content figcaption,
.wp-caption-text,
.wp-element-caption {
	margin-top: 10px;
	color: var(--de-muted);
	font-size: var(--de-xs);
	text-align: center;
}

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

.wp-block-pullquote {
	padding: 2em 0;
	border-block: 1px solid var(--de-line);
}

.wp-block-pullquote blockquote {
	padding: 0;
	border: 0;
}

.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--de-line);
}

.wp-block-cover,
.wp-block-group.has-background {
	border-radius: var(--de-radius);
}

.wp-block-table table {
	border: 1px solid var(--de-line);
}

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

.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.entry-footer {
	margin-top: 50px;
}

.entry-tags--outline {
	margin-bottom: 40px;
}

.post-navigation .nav-links {
	display: grid;
	gap: 15px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-navigation a {
	display: grid;
	height: 100%;
	gap: 6px;
	padding: 20px 22px;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
	background: var(--de-surface);
	color: var(--de-text);
}

.post-navigation a:hover {
	border-color: var(--de-line-strong);
	background: var(--de-hover);
}

.post-navigation .nav-next {
	text-align: end;
}

.post-navigation .nav-next:only-child {
	grid-column: 2;
}

.nav-label {
	color: var(--de-muted);
	font-size: var(--de-label);
	letter-spacing: 0.096em;
	text-transform: uppercase;
}

.nav-title {
	font-size: var(--de-h6);
	line-height: 1.2;
}

.edit-link {
	margin-top: 20px;
	font-size: var(--de-xs);
}

/* 12. Comments ------------------------------------------------------------ */

.comments-area {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid var(--de-line);
}

.comments-title,
.comment-reply-title {
	font-size: var(--de-h5);
}

.comment-list {
	margin-bottom: 40px;
}

.comment-list .children {
	margin: 0;
	padding-inline-start: clamp(16px, 4vw, 40px);
	list-style: none;
}

.comment-body {
	margin-bottom: 15px;
	padding: 22px;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
	background: var(--de-surface);
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--de-text);
}

.comment-author .avatar {
	border-radius: 50%;
}

.by-post-author {
	padding: 3px 7px;
	border-radius: var(--de-radius-xs);
	background: var(--de-accent);
	color: var(--de-on-accent);
	font-size: 11px;
	text-transform: uppercase;
}

.comment-metadata a {
	color: var(--de-muted);
	font-size: var(--de-xs);
}

.comment-content {
	font-size: var(--de-small);
}

.comment-actions {
	display: flex;
	gap: 14px;
	font-size: var(--de-xs);
}

.comment-form {
	display: grid;
	gap: 14px;
}

.comment-form p {
	margin: 0;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
}

.comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

/* 13. Footer -------------------------------------------------------------- */

.site-footer {
	padding: var(--de-section) 0 30px;
	color: var(--de-muted);
	font-size: var(--de-small);
}

.footer-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 70px;
}

.footer-title {
	max-width: 12em;
	margin: 0;
	color: var(--de-text);
	font-size: var(--de-h1);
	font-weight: 500;
	letter-spacing: var(--de-track);
	line-height: 1;
}

.footer-mark {
	flex: none;
	color: var(--de-accent);
}

.footer-mark .de-icon {
	width: clamp(70px, 9vw, 110px);
	height: clamp(70px, 9vw, 110px);
}

@media (prefers-reduced-motion: no-preference) {
	.footer-mark .de-icon {
		animation: de-spin-flat 18s linear infinite;
	}
}

@keyframes de-spin-flat {
	to {
		transform: rotate(360deg);
	}
}

.footer-contact {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	margin-bottom: 40px;
}

.footer-label {
	margin: 0 0 12px;
}

.footer-contact-item a {
	color: var(--de-text);
}

.footer-contact-item a:hover {
	color: var(--de-link);
}

.footer-contact-item--social {
	justify-self: end;
}

.footer-rule {
	margin-bottom: 40px;
}

.footer-rule .de-cross {
	left: 0;
	margin-left: -10px;
}

.footer-bottom {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
}

@media (max-width: 799px) {
	.footer-bottom {
		grid-template-columns: 1fr;
	}

	.footer-contact-item--social {
		justify-self: start;
	}
}

.footer-columns {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.site-footer .widget-title,
.site-footer .widget h2,
.site-footer .widget h3 {
	margin: 0 0 12px;
	color: var(--de-muted);
	font-size: var(--de-label);
	font-weight: 400;
	letter-spacing: 0.096em;
	text-transform: uppercase;
}

.site-footer .widget ul,
.footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer .widget li,
.footer-menu li {
	padding: 3px 0;
}

.site-footer .widget a,
.footer-menu a {
	color: var(--de-text);
}

.site-footer .widget a:hover,
.footer-menu a:hover {
	color: var(--de-link);
}

.footer-credits {
	display: grid;
	gap: 6px;
	text-align: end;
}

.footer-credits p {
	margin: 0;
	font-size: var(--de-xs);
}

.footer-credits a {
	color: var(--de-text);
}

@media (max-width: 799px) {
	.footer-credits {
		text-align: start;
	}
}

.social-menu-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-menu-list a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--de-text);
}

.social-menu-list .de-icon {
	width: 14px;
	height: 14px;
	color: var(--de-muted);
}

/* 14. Widgets, pagination, back to top ----------------------------------- */

.widget {
	margin-bottom: 30px;
}

.widget-title {
	margin-bottom: 14px;
	color: var(--de-muted);
	font-size: var(--de-label);
	font-weight: 400;
	letter-spacing: 0.096em;
	text-transform: uppercase;
}

.shop-sidebar .widget {
	padding: 24px;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
}

.shop-sidebar .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.shop-sidebar .widget li {
	padding: 5px 0;
}

.de-pagination,
.pagination,
.comments-pagination {
	margin-top: 70px;
}

.de-pagination .nav-links,
.comments-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: inline-grid;
	min-width: 45px;
	height: 45px;
	padding: 0 12px;
	place-items: center;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius-s);
	background: var(--de-surface);
	color: var(--de-text);
	font-size: var(--de-small);
}

.page-numbers.current {
	border-color: var(--de-accent);
	background: var(--de-accent);
	color: var(--de-on-accent);
}

a.page-numbers:hover {
	border-color: var(--de-line-strong);
	background: var(--de-hover);
	color: var(--de-text);
}

.page-numbers.prev .de-icon {
	transform: rotate(180deg);
}

.page-numbers.dots {
	border: 0;
	background: none;
}

.back-to-top {
	position: fixed;
	z-index: 55;
	right: calc(var(--de-frame) + 20px);
	bottom: 20px;
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	border-radius: 50%;
	background: var(--de-surface);
	color: var(--de-text);
	font-size: 13px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity var(--de-medium) var(--de-ease), transform var(--de-medium) var(--de-ease), visibility var(--de-medium);
}

.back-to-top > * {
	grid-area: 1 / 1;
}

.back-to-top-ring {
	width: 52px;
	height: 52px;
	transform: rotate(-90deg);
}

.back-to-top-track,
.back-to-top-bar {
	fill: none;
	stroke-width: 1.5;
}

.back-to-top-track {
	stroke: var(--de-line);
}

.back-to-top-bar {
	stroke: var(--de-accent);
	stroke-dasharray: 100;
	stroke-dashoffset: calc(100 - var(--de-progress, 0));
	transition: stroke-dashoffset 0.15s linear;
}

.back-to-top-icon {
	display: none;
}

.back-to-top-icon .de-icon {
	width: 18px;
	height: 18px;
}

.back-to-top:hover .back-to-top-value,
.no-js .back-to-top .back-to-top-value {
	display: none;
}

.back-to-top:hover .back-to-top-icon,
.no-js .back-to-top .back-to-top-icon {
	display: block;
}

.back-to-top:hover {
	color: var(--de-text);
}

.back-to-top.is-visible,
.no-js .back-to-top {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.wpicp-has-bar .back-to-top {
	bottom: 96px;
}

/* 15. Motion -------------------------------------------------------------- */

/*
 * With animations on, assets/js/animations.js (Motion) reveals [data-de-reveal] elements as
 * they scroll into view. The elements start hidden only when the html element has the
 * de-motion class, which is set when animations are on and the visitor has not asked for
 * reduced motion. If the script never runs, a CSS fallback shows them after a short delay.
 */
.de-motion [data-de-reveal],
.de-motion [data-de-stagger] > * {
	opacity: 0;
	animation: de-reveal-fallback 0.6s ease 2.5s forwards;
}

.de-motion-ready [data-de-reveal],
.de-motion-ready [data-de-stagger] > * {
	animation: none;
}

@keyframes de-reveal-fallback {
	to {
		opacity: 1;
	}
}

.header-count.is-bumped {
	animation: de-bump 0.5s var(--de-ease-out);
}

@keyframes de-bump {
	40% {
		transform: scale(1.45);
	}
}

@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;
	}
}

/* Core classes ------------------------------------------------------------ */

.bypostauthor > .comment-body {
	border-color: rgba(var(--de-accent-rgb), 0.4);
}

.gallery {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(var(--de-gallery-cols, 3), minmax(0, 1fr));
}

.gallery-columns-2 {
	--de-gallery-cols: 2;
}

.gallery-columns-4 {
	--de-gallery-cols: 4;
}

.gallery-item {
	margin: 0;
}

.gallery-caption {
	margin-top: 6px;
	color: var(--de-muted);
	font-size: var(--de-xs);
}

.sticky .post-card-title::before {
	display: inline-block;
	margin-inline-end: 8px;
	color: var(--de-accent);
	content: "\2605";
	font-size: 0.7em;
	vertical-align: middle;
}

/* Block styles registered by the theme ------------------------------------ */

.wp-block-button.is-style-de-accent .wp-block-button__link {
	border-color: var(--de-accent);
	background: var(--de-accent);
	color: var(--de-on-accent);
}

.wp-block-group.is-style-de-card {
	padding: clamp(24px, 3vw, 40px);
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
	background: var(--de-surface);
}

.wp-block-group.is-style-de-dark-panel {
	padding: clamp(28px, 5vw, 60px);
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
	background: radial-gradient(70% 120% at 100% 100%, rgba(var(--de-accent-rgb), 0.22), transparent 60%), var(--de-ink);
}

.wp-block-group.is-style-de-dark-panel a:not(.wp-block-button__link) {
	color: var(--de-link);
}

.wp-block-image.is-style-de-frame img {
	padding: 8px;
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
	background: var(--de-surface);
}

.wp-block-heading.is-style-de-eyebrow {
	color: var(--de-muted);
	font-size: var(--de-label);
	font-weight: 400;
	letter-spacing: 0.096em;
	text-transform: uppercase;
}

/* 16. Block patterns -------------------------------------------------------- */

/* theme.json colour presets follow the light scheme and the accent setting. */
html[data-de-theme="light"] {
	--wp--preset--color--background: #f5f5f7;
	--wp--preset--color--surface: #ffffff;
	--wp--preset--color--foreground: #1a1a1f;
	--wp--preset--color--muted: #6e6e73;
	--wp--preset--color--on-accent: #1a1a1f;
}

html:root {
	--wp--preset--color--accent: var(--de-accent);
}

/* Canvas template: blocks run edge to edge. */
.de-canvas-content {
	padding: 0;
	font-size: var(--de-body-size);
	line-height: 1.5;
}

.de-canvas-content p {
	margin-top: 0;
}

/* Links in written text; :where() keeps this weaker than any component style. */
:where(.de-canvas-content p:not([class])) > a:where(:not([class])) {
	color: var(--de-link);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.de-canvas-content > * {
	max-width: calc(var(--wp--style--global--content-size, 780px) + var(--de-gutter) * 2);
	margin: 0 auto;
	padding-inline: var(--de-gutter);
}

.de-canvas-content > .alignwide {
	max-width: calc(var(--de-container) + var(--de-gutter) * 2);
}

.de-canvas-content > .alignfull {
	max-width: none;
}

.de-canvas-content > :first-child:not(.de-hero):not(.de-page-banner) {
	margin-top: 120px;
}

.de-section {
	padding-block: calc(var(--de-section) / 2);
	padding-inline: var(--de-gutter);
}

.de-canvas-content > .de-section:last-child {
	padding-bottom: var(--de-section);
}

/* Shown in place of store blocks when Easy Digital Downloads is not active. */
.de-store-notice {
	margin: 0;
	padding: 40px 24px;
	border: 1px dashed var(--de-line-strong);
	border-radius: var(--de-radius);
	color: var(--de-muted);
	font-size: var(--de-small);
	text-align: center;
}

/* EDD blocks in the theme's styles (inc/store-blocks.php). */
.wp-block-edd-downloads.de-store-grid,
.wp-block-edd-terms.is-style-de-index {
	display: block;
}

.category-index.category-index--1 {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
	.category-index.category-index--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.category-index.category-index--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.hero-trust-faces.wp-block-edd-downloads {
	margin: 0;
}

a.hero-trust-face {
	transition: transform var(--de-fast) var(--de-ease);
}

a.hero-trust-face:hover {
	z-index: 1;
	transform: translateY(-3px);
}

.hero-trust-text mark {
	font-size: 13px;
	letter-spacing: 0.15em;
}

/* Hand-picked downloads and category cards. */
.wp-block-group.de-picked-grid.is-layout-grid {
	gap: 30px;
	align-items: stretch;
}

@media (max-width: 999px) {
	.wp-block-group.de-picked-grid.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.wp-block-group.de-picked-grid.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.de-picked-card {
	display: flex;
	height: 100%;
}

.de-picked-card > .de-card {
	flex: 1;
}

.de-category-card.wp-block-group {
	display: flex;
	height: 100%;
	flex-direction: column;
}

.de-category-card > .wp-block-buttons {
	margin-top: auto;
	padding-top: 10px;
}

.de-category-card h3 a {
	color: var(--de-text);
}

.de-category-card h3 a:hover {
	color: var(--de-link);
}

/* Journal cards from the Query Loop block. */
.de-post-query .wp-block-post-template.is-layout-grid {
	gap: 40px 30px;
}

@media (max-width: 999px) {
	.de-post-query .wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.de-post-query .wp-block-post-template.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.de-post-query .post-card {
	height: 100%;
}

.de-post-query .post-card > *,
.de-post-query .post-card-body > * {
	margin: 0;
}

.de-post-query .post-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--de-ease-out);
}

.de-post-query .post-card:hover .post-card-media img {
	transform: scale(1.05);
}

.de-post-query .post-card-terms,
.de-post-query .post-card-date {
	color: var(--de-muted);
	font-size: var(--de-label);
	letter-spacing: 0.096em;
	text-transform: uppercase;
}

.de-post-query .post-card-terms a {
	color: var(--de-muted);
}

.de-post-query .post-card-terms a:hover {
	color: var(--de-link);
}

.de-post-query .post-card-date {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--de-line);
}

/* Two-tone headings use the editor's Highlight format. */
mark.has-inline-color {
	background: none;
	color: inherit;
}

:is(h1, h2, h3, .hero-title, .section-title, .page-title) mark.has-muted-color {
	font-weight: 300;
}

/* Label pill with an accent flower. */
.is-style-de-eyebrow,
p.is-style-de-eyebrow {
	display: flex;
	width: fit-content;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	padding: 6px 14px 6px 10px;
	border: 1px solid var(--de-line);
	border-radius: var(--de-pill);
	background: var(--de-surface);
	color: var(--de-text);
	font-size: var(--de-label);
	letter-spacing: 0.096em;
	line-height: 1.2;
	text-transform: uppercase;
}

.is-style-de-eyebrow::before {
	flex: none;
	width: 14px;
	height: 14px;
	background: var(--de-accent);
	content: "";
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='black'%3E%3Crect x='9.5' y='1' width='5' height='22' rx='2.5'/%3E%3Crect x='9.5' y='1' width='5' height='22' rx='2.5' transform='rotate(45 12 12)'/%3E%3Crect x='9.5' y='1' width='5' height='22' rx='2.5' transform='rotate(90 12 12)'/%3E%3Crect x='9.5' y='1' width='5' height='22' rx='2.5' transform='rotate(135 12 12)'/%3E%3C/g%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'%3E%3Cg fill='black'%3E%3Crect x='9.5' y='1' width='5' height='22' rx='2.5'/%3E%3Crect x='9.5' y='1' width='5' height='22' rx='2.5' transform='rotate(45 12 12)'/%3E%3Crect x='9.5' y='1' width='5' height='22' rx='2.5' transform='rotate(90 12 12)'/%3E%3Crect x='9.5' y='1' width='5' height='22' rx='2.5' transform='rotate(135 12 12)'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-de-theme="light"] .is-style-de-eyebrow::before {
	background: var(--de-link);
}

.is-style-de-eyebrow.has-text-align-center {
	margin-inline: auto;
}

.section-heading .is-style-de-eyebrow {
	margin-bottom: 24px;
}

.section-heading .wp-block-heading {
	margin-top: 0;
}

/* Buttons: outline, and accent or outline with the square arrow box. */
.wp-block-button.is-style-de-outline .wp-block-button__link,
.wp-block-button.is-style-de-outline-arrow .wp-block-button__link {
	border-color: var(--de-line);
	background: var(--de-surface);
	color: var(--de-text);
}

.wp-block-button.is-style-de-outline .wp-block-button__link:hover,
.wp-block-button.is-style-de-outline-arrow .wp-block-button__link:hover {
	border-color: var(--de-line-strong);
	background: var(--de-hover);
	color: var(--de-text);
}

.wp-block-button.is-style-de-accent-arrow .wp-block-button__link,
.wp-block-button.is-style-de-outline-arrow .wp-block-button__link {
	gap: 16px;
	padding-inline-end: 4px;
}

.wp-block-button.is-style-de-accent-arrow .wp-block-button__link::after,
.wp-block-button.is-style-de-outline-arrow .wp-block-button__link::after {
	display: block;
	flex: none;
	width: 37px;
	height: 37px;
	border: 1px solid currentColor;
	border-radius: var(--de-radius-s);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f0f0f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E") center / 19px no-repeat;
	content: "";
	transition: background-position var(--de-fast) var(--de-ease);
}

.wp-block-button.is-style-de-outline-arrow .wp-block-button__link::after {
	border-color: var(--de-line);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E");
}

html[data-de-theme="light"] .wp-block-button.is-style-de-outline-arrow .wp-block-button__link::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f0f0f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E");
}

.section-heading .wp-block-button .wp-block-button__link {
	min-height: 33px;
	padding-inline-start: 15px;
	font-size: var(--de-small);
	font-weight: 400;
}

.section-heading .wp-block-button .wp-block-button__link::after {
	width: 25px;
	height: 25px;
	background-size: 16px;
}

.wp-block-button[class*="-arrow"] .wp-block-button__link:hover::after {
	background-position: calc(50% + 2px) calc(50% - 2px);
}

/* Panels: a border with a "+" mark on the top edge. */
.wp-block-group.is-style-de-panel,
.wp-block-group.de-panel,
.wp-block-columns.de-panel {
	position: relative;
	padding: clamp(30px, 5vw, 60px);
	border: 1px solid var(--de-line);
	border-radius: var(--de-radius);
}

.wp-block-group.is-style-de-panel::before,
.wp-block-group.de-panel::before,
.wp-block-columns.de-panel::before {
	position: absolute;
	top: -11px;
	left: 50%;
	width: 21px;
	height: 21px;
	margin-left: -10px;
	background:
		linear-gradient(var(--de-line-strong), var(--de-line-strong)) center / 21px 1px no-repeat,
		linear-gradient(var(--de-line-strong), var(--de-line-strong)) center / 1px 21px no-repeat;
	content: "";
}

.wp-block-columns.de-panel--split {
	gap: 0;
	padding: 0;
}

.wp-block-columns.de-panel--split > .de-panel-side,
.wp-block-columns.de-panel--split > .de-panel-main {
	padding: clamp(30px, 5vw, 60px);
}

.wp-block-columns.de-panel--split > .de-panel-side {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	border-inline-end: 1px solid var(--de-line);
}

/* The illustration sits in the middle of the space under the label. */
.de-panel-side > .de-panel-visual {
	align-self: center;
	width: 100%;
	max-width: 520px;
	margin: auto 0;
	padding-top: 30px;
}

.de-panel-visual img {
	display: block;
	width: 100%;
	height: auto;
}

/* Contact details pattern. */
.de-contact .de-panel-side .section-title {
	margin: 24px 0 0;
	font-size: var(--de-h3);
	line-height: 1.1;
}

.de-contact p.de-contact-text {
	max-width: 420px;
	margin-top: 18px;
	color: var(--de-muted);
}

.de-contact p.de-contact-email {
	margin-top: 30px;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 500;
	letter-spacing: var(--de-track);
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.de-contact-email a {
	color: var(--de-text);
	text-decoration: underline;
	text-decoration-color: var(--de-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 7px;
}

.de-contact-email a:hover {
	color: var(--de-link);
}

.de-contact .de-panel-side ul.is-style-de-checks {
	margin-top: 30px;
}

.de-contact-faq-title {
	margin: 0 0 24px;
	font-size: var(--de-h5);
}

.de-contact-faq > .wp-block-details {
	margin: 0;
	padding: 22px 0;
	border-bottom: 1px solid var(--de-line);
}

.de-contact-faq > .wp-block-details:first-child {
	border-top: 1px solid var(--de-line);
}

.de-contact-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: var(--de-text);
	font-size: var(--de-h6);
	cursor: pointer;
	list-style: none;
}

.de-contact-faq summary::-webkit-details-marker {
	display: none;
}

/* A plus that turns into a cross when the answer is open. */
.de-contact-faq summary::after {
	flex: none;
	width: 14px;
	height: 14px;
	background:
		linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
		linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
	color: var(--de-muted);
	content: "";
	transition: transform var(--de-fast) var(--de-ease);
}

.de-contact-faq details[open] > summary::after {
	color: var(--de-link);
	transform: rotate(45deg);
}

.de-contact-faq details p {
	max-width: 560px;
	margin: 12px 0 0;
	color: var(--de-muted);
}

@media (max-width: 781px) {
	.wp-block-columns.de-panel--split > .de-panel-side {
		padding-bottom: 0;
		border: 0;
	}

	.de-panel-side > .de-panel-visual {
		max-width: 380px;
	}
}

.de-panel-main > .section-title {
	margin: 0 0 50px;
	font-size: var(--de-h3);
	line-height: 1.1;
}

.de-timeline > .de-timeline-item {
	margin: 0;
}

.de-timeline > .de-timeline-item + .de-timeline-item {
	margin-top: 50px;
}

.de-timeline-item::before {
	position: absolute;
	top: 3px;
	left: 0;
	width: 21px;
	height: 21px;
	border: 1px solid rgba(var(--de-accent-rgb), 0.4);
	border-radius: 50%;
	background: radial-gradient(circle, var(--de-accent) 0 5px, var(--de-bg) 5.5px);
	content: "";
}

.de-timeline-item > * + * {
	margin-top: 10px;
}

p.de-chip {
	width: fit-content;
}

/* Block hero. */
.de-hero {
	position: relative;
	display: flex;
	min-height: max(760px, 100vh);
	flex-direction: column;
	justify-content: flex-end;
	padding: 180px var(--de-gutter) 0;
	overflow: hidden;
	isolation: isolate;
}

.de-hero > * {
	width: 100%;
}

.de-hero::before,
.de-hero > .de-globe {
	position: absolute;
	z-index: -1;
	top: 50%;
	right: 6%;
	width: min(640px, 55%);
	height: auto;
	aspect-ratio: 1;
	transform: translateY(-50%);
}

.de-hero::before {
	background-color: var(--de-globe-line);
	content: "";
	-webkit-mask: url("assets/images/globe.svg") center / contain no-repeat;
	mask: url("assets/images/globe.svg") center / contain no-repeat;
}

.de-hero::after {
	position: absolute;
	z-index: -2;
	right: -15%;
	bottom: -45%;
	width: 85%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--de-accent-rgb), 0.32), rgba(var(--de-accent-rgb), 0) 65%);
	content: "";
}

.de-hero-inner.wp-block-columns {
	gap: 40px;
	margin-bottom: 60px;
}

.de-hero-inner .wp-block-column:last-child {
	display: flex;
	justify-content: flex-end;
}

.de-hero .hero-card {
	width: 300px;
	max-width: 100%;
}

.de-hero .hero-card > p {
	margin: 0;
}

.de-hero .hero-title {
	margin-top: 0;
}

.de-hero p.hero-text {
	margin-top: 26px;
}

.de-hero .hero-trust > p {
	margin: 0;
	color: var(--de-muted);
	font-size: var(--de-xs);
}

.de-hero .home-hero-bottom {
	margin: 0;
	padding-inline: 0;
}

.de-hero .home-hero-bottom p {
	margin: 0;
}

@media (max-width: 781px) {
	.de-hero {
		min-height: 0;
		padding-top: 140px;
	}

	.de-hero-inner .wp-block-column:last-child {
		justify-content: flex-start;
	}
}

/* Statement panel with a small globe in the corner. */
.de-statement {
	overflow: hidden;
}

.de-statement::after,
.de-statement > .de-globe {
	position: absolute;
	z-index: 0;
	right: -120px;
	bottom: -160px;
	width: 460px;
	height: 460px;
	opacity: 0.6;
	pointer-events: none;
}

.de-statement::after {
	background-color: var(--de-globe-line);
	content: "";
	-webkit-mask: url("assets/images/globe.svg") center / contain no-repeat;
	mask: url("assets/images/globe.svg") center / contain no-repeat;
}

.de-statement > * {
	position: relative;
	z-index: 1;
}

/* Block page banner. */
.de-page-banner {
	position: relative;
	display: flex;
	min-height: clamp(380px, 40vw, 500px);
	margin: 10px !important;
	padding: 140px var(--de-gutter) 50px;
	overflow: hidden;
	flex-direction: column;
	justify-content: flex-end;
	border-radius: var(--de-radius);
	background:
		linear-gradient(var(--de-line) 1px, transparent 1px) 0 0 / 100% 120px,
		linear-gradient(90deg, var(--de-line) 1px, transparent 1px) 0 0 / 120px 100%,
		radial-gradient(60% 80% at 90% 120%, rgba(var(--de-accent-rgb), 0.3), transparent 70%),
		var(--de-surface);
	isolation: isolate;
}

.de-canvas-content > .de-page-banner {
	max-width: none;
}

.de-page-banner > * {
	width: 100%;
}

.de-page-banner::before,
.de-page-banner > .de-globe {
	position: absolute;
	z-index: -1;
	top: 50%;
	right: 6%;
	width: min(560px, 60%);
	height: auto;
	aspect-ratio: 1;
	transform: translateY(-50%);
}

.de-page-banner::before {
	background-color: var(--de-globe-line);
	content: "";
	-webkit-mask: url("assets/images/globe.svg") center / contain no-repeat;
	mask: url("assets/images/globe.svg") center / contain no-repeat;
}

.de-page-banner .page-title {
	margin: 0;
	font-size: var(--de-h1);
	line-height: 1;
}

.de-page-banner .page-intro {
	margin-top: 12px;
	color: var(--de-text);
}

.de-page-banner .breadcrumbs {
	margin-top: 30px;
}

/* Cards from the card block style, in columns. */
.de-cards .wp-block-column > .is-style-de-card {
	display: flex;
	height: 100%;
	flex-direction: column;
}

.de-cards .is-style-de-card h3 {
	margin: 0 0 12px;
	font-size: var(--de-h6);
}

.de-cards .is-style-de-card .wp-block-buttons {
	margin-top: auto;
	padding-top: 20px;
}

/* Lists with checks. */
ul.is-style-de-checks {
	padding: 0;
	list-style: none;
}

ul.is-style-de-checks li {
	position: relative;
	padding-inline-start: 30px;
}

ul.is-style-de-checks li + li {
	margin-top: 10px;
}

ul.is-style-de-checks li::before {
	position: absolute;
	top: 0.2em;
	left: 0;
	width: 18px;
	height: 18px;
	background: var(--de-accent);
	content: "";
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-de-theme="light"] ul.is-style-de-checks li::before {
	background: var(--de-link);
}
