/*
 * Theme Name: Maere
 * Theme URI: https://www.atmostfear-entertainment.com/
 * Author: Atmostfear Entertainment
 * Author URI: https://www.atmostfear-entertainment.com/
 * Description: Aegis child theme for Atmostfear Entertainment — full-width editorial templates and patterns rebuilt on the current Aegis Design System.
 * Template: aegis
 * Requires at least: 7.0
 * Tested up to: 7.1.4
 * Requires PHP: 8.1
 * Version: 1.0.232
 * License: GNU General Public License v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: maere
 * Tags: full-site-editing, block-patterns, custom-colors, custom-logo, blog, e-commerce
*/

/**
 * Layout + browser chrome the editor cannot set. Palette/type stay in theme.json.
 *
 * @link https://developer.wordpress.org/themes/advanced-topics/child-themes/
 */

html {
	scrollbar-width: thin;
	scrollbar-color: var(--wp--preset--color--neutral-400) var(--wp--preset--color--neutral-0);
}

html::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

html::-webkit-scrollbar-track {
	background: var(--wp--preset--color--neutral-0);
}

html::-webkit-scrollbar-thumb {
	background-color: var(--wp--preset--color--neutral-400);
	border: 2px solid var(--wp--preset--color--neutral-0);
	border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover {
	background-color: var(--wp--preset--color--neutral-500);
}

html::-webkit-scrollbar-corner {
	background: var(--wp--preset--color--neutral-0);
}

.wp-site-blocks,
.site-header,
.site-footer,
.site-main,
.site-main > .wp-block-post-content {
	width: 100%;
	max-width: none;
}

/*
 * Production full-width track (pre–single-post): viewport minus lg gutters.
 * theme.json wideSize stays capped at 1200 for single title/excerpt/content.
 */
:root {
	--maere--layout--full-wide: calc(100dvw - var(--wp--preset--spacing--lg, 3rem) * 2);
}

/*
 * Header / footer / pages: full-bleed without 100dvw / root-padding breakout.
 * Negative margins + 100dvw inflate the layout viewport on mobile and push
 * the fixed .mobile-menu off-canvas (Home vs single mismatch).
 */
html,
body,
.wp-site-blocks {
	overflow-x: clip;
	max-width: 100%;
}

header > .alignfull:not(.mobile-menu):not(.search-modal),
footer > .alignfull:not(.mobile-menu):not(.search-modal),
.site-header > .alignfull:not(.mobile-menu):not(.search-modal),
.site-footer > .alignfull:not(.mobile-menu):not(.search-modal),
.site-header .alignfull:not(.mobile-menu):not(.search-modal),
.site-footer .alignfull:not(.mobile-menu):not(.search-modal),
body:not(.single-post) .site-main .alignfull,
body:not(.single-post) .site-main .has-global-padding > .alignfull,
body:not(.single-post) .site-main .alignfull.has-global-padding {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	transform: none !important;
}

/* Fixed overlays must stay inside the visual viewport. */
.mobile-menu,
.search-modal,
.site-header .mobile-menu,
.site-header .search-modal {
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box !important;
	transform: none !important;
	overflow-x: hidden !important;
}

/*
 * Closed lightbox must not eat touches if overlayOpened sticks after a failed
 * buttonRef.focus() in core hideLightbox (mobile scroll lock after close).
 */
.wp-lightbox-overlay:not(.active) {
	pointer-events: none !important;
}

/* Header + footer chrome: always full-wide (also on single posts). */
.site-header .maere-header-bar > .alignwide,
.site-header .maere-header-bar .wp-block-columns.alignwide,
.site-header .wp-block-group.alignwide,
.site-footer .alignwide,
.site-footer .wp-block-columns.alignwide,
.site-footer .wp-block-group.alignwide {
	width: 100% !important;
	max-width: var(--maere--layout--full-wide) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Pages / home / archives: uncap the wide track (leave single-post at 1200). */
body:not(.single-post) {
	--wp--style--global--wide-size: var(--maere--layout--full-wide);
}

body:not(.single-post) .site-main > .alignwide,
body:not(.single-post) .site-main .wp-block-post-content.alignwide,
body:not(.single-post) .wp-block-post-content:not(.is-root-container) > .alignwide {
	width: 100% !important;
	max-width: var(--maere--layout--full-wide) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	transform: none !important;
}

/*
 * Single post only: title / excerpt / body on wideSize (1200).
 * Featured image wider — viewport minus lg gutters, not edge-flush.
 */
body.single-post .site-main > .wp-block-post-title.alignwide,
body.single-post .site-main > .wp-block-group.alignwide:has(> .wp-block-post-excerpt),
body.single-post .site-main .wp-block-post-content.alignwide,
body.single-post .site-main > .alignwide:not(.wp-block-post-featured-image) {
	width: 100% !important;
	max-width: var(--wp--style--global--wide-size) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	transform: none !important;
}

/*
 * Single title → excerpt: Aegis stacks layout gap (sm) + excerpt padding-block-start (sm) ≈ 48px.
 * Keep one xs step so the dek sits closer under the headline.
 */
body.single-post .site-main > .wp-block-group.alignwide:has(> .wp-block-post-excerpt),
body.single-post .site-main > .wp-block-post-excerpt {
	margin-block-start: var(--wp--preset--spacing--xs, 1rem) !important;
}

body.single-post .site-main .wp-block-post-excerpt {
	padding-block-start: 0 !important;
	margin-block-start: 0 !important;
}

body.single-post .site-main > .wp-block-post-featured-image.alignfull,
body.single-post .site-main > .wp-block-post-featured-image.alignwide {
	width: calc(100dvw - var(--wp--preset--spacing--lg, 3rem) * 2) !important;
	max-width: calc(100dvw - var(--wp--preset--spacing--lg, 3rem) * 2) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	transform: none !important;
}

body.single-post .site-main > .wp-block-post-featured-image + .wp-block-group.alignwide {
	margin-block-start: var(--wp--preset--spacing--sm, 1.5rem);
}

body.single-post .site-main .wp-block-group:has(> .wp-block-avatar):has(.wp-block-post-author-name) {
	align-items: center;
	column-gap: var(--wp--preset--spacing--sm, 1.5rem);
	row-gap: 0;
}

body.single-post .site-main .wp-block-avatar.alignleft {
	float: none;
	margin: 0;
}

body.single-post .site-main .wp-block-avatar + .wp-block-group:has(.wp-block-post-author-name) {
	margin-inline-start: 0;
}

body.single-post .site-main .maere-comments,
body.single-post .site-main .maere-comments .wp-block-post-comments-form,
body.single-post .site-main .maere-comments .comment-respond,
body.single-post .site-main .maere-comments .wp-block-comments,
body.single-post .site-main .maere-comments textarea,
body.single-post .site-main .maere-comments .comment-form {
	width: 100%;
	max-width: none;
}

/*
 * Previous / Next: separate surface panels (Previous left, Next right).
 */
.maere-post-adjacent {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--sm, 1.5rem);
	margin-block: var(--wp--preset--spacing--md, 2rem);
	padding: 0;
	border: 0;
	background: transparent;
	text-decoration: none;
}

.maere-post-adjacent__link,
.maere-post-adjacent__slot {
	flex: 1 1 16rem;
	min-width: 0;
	max-width: calc(50% - var(--wp--preset--spacing--sm, 1.5rem) / 2);
}

.maere-post-adjacent__slot--empty {
	visibility: hidden;
	pointer-events: none;
}

.maere-post-adjacent__link {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--xs, 1rem);
	padding: var(--wp--preset--spacing--sm, 1.5rem);
	box-sizing: border-box;
	color: inherit;
	text-decoration: none;
	background: var(--wp--custom--surface--background, var(--wp--preset--color--neutral-50, #f4f3f0));
	border-radius: var(--wp--custom--border--radius, 4px);
}

.maere-post-adjacent__link--next {
	flex-direction: row-reverse;
	text-align: right;
	margin-inline-start: auto;
}

.maere-post-adjacent__media {
	flex: 0 0 5.5rem;
	width: 5.5rem;
	height: 5.5rem;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 4px);
	background: var(--wp--preset--color--neutral-100, #eee);
}

.maere-post-adjacent__img,
.maere-post-adjacent__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.maere-post-adjacent__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}

.maere-post-adjacent__label {
	font-size: var(--wp--preset--font-size--12, 0.75rem);
	font-weight: var(--wp--custom--font-weight--semibold, 600);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.7;
}

.maere-post-adjacent__title {
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: var(--wp--preset--font-size--18, 1.125rem);
	font-weight: 500;
	line-height: 1.3;
}

@media (max-width: 600px) {
	.maere-post-adjacent__link,
	.maere-post-adjacent__slot {
		max-width: 100%;
	}

	.maere-post-adjacent__link--next {
		margin-inline-start: 0;
	}
}

/*
 * Related Posts — light (white) band + surface cards (no chrome/hover).
 * White sits clearly above page body (#E4E3E2); cards keep surface fill.
 * Break out of site-main global padding (edge-flush like header).
 */
.maere-related-posts.alignfull {
	position: relative;
	z-index: 1;
	width: calc(100% + var(--wp--preset--spacing--lg, 3rem) * 2) !important;
	max-width: none !important;
	margin-left: calc(-1 * var(--wp--preset--spacing--lg, 3rem)) !important;
	margin-right: calc(-1 * var(--wp--preset--spacing--lg, 3rem)) !important;
	margin-block-start: var(--wp--preset--spacing--xl, 3rem);
	margin-block-end: 0 !important;
	padding-block-end: var(--wp--preset--spacing--sm, 1.5rem) !important;
	padding-inline: var(--wp--preset--spacing--lg, 3rem) !important;
	box-sizing: border-box;
	background: var(--maere-surface-raised, #fff) !important;
	transform: none !important;
}

.maere-related-posts > .wp-block-group.alignwide {
	margin-block-end: var(--wp--preset--spacing--md, 2rem);
	width: 100%;
	max-width: var(--maere--layout--full-wide, calc(100dvw - var(--wp--preset--spacing--lg, 3rem) * 2));
	margin-inline: auto;
}

.maere-related-posts .wp-block-aegis-related-posts {
	margin-block: 0;
	width: 100%;
	max-width: var(--maere--layout--full-wide, calc(100dvw - var(--wp--preset--spacing--lg, 3rem) * 2));
	margin-inline: auto;
}

.maere-related-posts .wp-block-aegis-related-posts__heading {
	display: none;
}

.maere-related-posts .wp-block-aegis-related-posts__grid {
	gap: var(--wp--preset--spacing--sm, 1.5rem);
}

.maere-related-posts .wp-block-aegis-related-posts__post,
.maere-related-posts .wp-block-aegis-related-posts.is-style-cards .wp-block-aegis-related-posts__post {
	display: flex;
	flex-direction: column;
	background: var(--wp--custom--surface--background, var(--wp--preset--color--neutral-50, #f4f3f0)) !important;
	border: 0 !important;
	border-radius: var(--wp--custom--border--radius, 4px);
	overflow: hidden;
	box-shadow: none !important;
	outline: none;
	transition: none !important;
}

.maere-related-posts .wp-block-aegis-related-posts__post:hover,
.maere-related-posts .wp-block-aegis-related-posts.is-style-cards .wp-block-aegis-related-posts__post:hover {
	box-shadow: none !important;
	transform: none !important;
	filter: none !important;
}

.maere-related-posts .wp-block-aegis-related-posts__image {
	border-radius: 0;
	border: 0;
}

.maere-related-posts .wp-block-aegis-related-posts__image img {
	aspect-ratio: 16 / 9;
	width: 100%;
	max-width: 100%;
	object-fit: cover;
	transform: none !important;
	transition: none !important;
}

.maere-related-posts .wp-block-aegis-related-posts__image:hover img,
.maere-related-posts .wp-block-aegis-related-posts__image:focus img {
	transform: none !important;
}

.maere-related-posts .wp-block-aegis-related-posts__content {
	padding: var(--wp--preset--spacing--xs, 1rem) var(--wp--preset--spacing--xs, 1rem) var(--wp--preset--spacing--sm, 1.5rem);
	gap: var(--wp--preset--spacing--xxs, 0.5rem);
}

.maere-related-posts .wp-block-aegis-related-posts__title {
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: var(--wp--preset--font-size--24, 1.5rem);
	font-weight: 500;
	line-height: 1.3;
}

.maere-related-posts .wp-block-aegis-related-posts__category,
.maere-related-posts .wp-block-aegis-related-posts__date {
	font-size: var(--wp--preset--font-size--12, 0.75rem);
}

.maere-related-posts .wp-block-aegis-related-posts__excerpt {
	font-size: var(--wp--preset--font-size--16, 1rem);
	line-height: 1.5;
	color: inherit;
	opacity: 0.9;
}

/*
 * Regional Spotlight — reverse of Related: surface band + white cards.
 * Same site-main padding breakout as Related for edge-flush band.
 */
body.single-post .maere-related-posts + .wp-block-group.alignfull.is-style-surface,
body.single-post .site-main > .maere-related-posts + .wp-block-group.alignfull {
	position: relative;
	z-index: 0;
	width: calc(100% + var(--wp--preset--spacing--lg, 3rem) * 2) !important;
	max-width: none !important;
	margin-left: calc(-1 * var(--wp--preset--spacing--lg, 3rem)) !important;
	margin-right: calc(-1 * var(--wp--preset--spacing--lg, 3rem)) !important;
	margin-block-start: 0 !important;
	padding-block-start: var(--wp--preset--spacing--sm, 1.5rem) !important;
	padding-inline: var(--wp--preset--spacing--lg, 3rem) !important;
	box-sizing: border-box;
	background: var(--wp--custom--surface--background, var(--wp--preset--color--neutral-50, #f4f3f0)) !important;
	transform: none !important;
}

body.single-post .site-main > .wp-block-group.alignfull.is-style-surface:has(.wp-block-query) > .wp-block-group,
body.single-post .site-main > .wp-block-group.alignfull.is-style-surface:has(.wp-block-query) .wp-block-query,
body.single-post .site-main > .wp-block-group.alignfull.is-style-surface:has(.wp-block-query) .wp-block-query.alignfull,
body.single-post .site-main > .wp-block-group.alignfull.is-style-surface:has(.wp-block-query) .wp-block-post-template {
	width: 100% !important;
	max-width: var(--maere--layout--full-wide, calc(100dvw - var(--wp--preset--spacing--lg, 3rem) * 2)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.single-post .site-main > .wp-block-group.alignfull.is-style-surface:has(.wp-block-query) .wp-block-post-template > .wp-block-post,
body.single-post .site-main > .wp-block-group.alignfull.is-style-surface:has(.wp-block-query) .wp-block-post-template > .wp-block-post > .wp-block-group,
body.single-post .site-main > .wp-block-group.alignfull.is-style-surface:has(.wp-block-query) .wp-block-post-template > .wp-block-post > .is-style-surface {
	background: var(--maere-surface-raised, #fff) !important;
	border: 0 !important;
	border-radius: var(--wp--custom--border--radius, 4px);
	overflow: hidden;
	box-shadow: none !important;
	transition: none !important;
}

body.single-post .site-main > .wp-block-group.alignfull.is-style-surface:has(.wp-block-query) .wp-block-post-template > .wp-block-post:hover,
body.single-post .site-main > .wp-block-group.alignfull.is-style-surface:has(.wp-block-query) .wp-block-post-template > .wp-block-post > .wp-block-group:hover,
body.single-post .site-main > .wp-block-group.alignfull.is-style-surface:has(.wp-block-query) .wp-block-post-template > .wp-block-post > .is-style-surface:hover {
	box-shadow: none !important;
	transform: none !important;
}

body.single-post .site-main > .wp-block-group.alignfull.is-style-surface:has(.wp-block-query) .wp-block-post-featured-image,
body.single-post .site-main > .wp-block-group.alignfull.is-style-surface:has(.wp-block-query) .wp-block-post-featured-image img,
body.single-post .site-main > .wp-block-group.alignfull.is-style-surface:has(.wp-block-query) .wp-block-post-featured-image a {
	width: 100% !important;
	max-width: 100% !important;
	border-radius: 0;
}

/*
 * Tag badges: dark chips (dark-mode style fill) for readable contrast on cream.
 */
.wp-block-post-terms.is-style-badges {
	color: var(--wp--preset--color--neutral-0, #f4f3f0);
}

.wp-block-post-terms.is-style-badges a {
	color: inherit;
}

.wp-block-post-terms.is-style-badges > a::before,
.wp-block-post-terms.is-style-badges > span::before {
	background: var(--wp--preset--color--neutral-800, #2a2622) !important;
	opacity: 1 !important;
}

.wp-block-post-terms.is-style-badges > a:hover::before,
.wp-block-post-terms.is-style-badges > a:focus-visible::before {
	background: var(--wp--preset--color--neutral-900, #1c1916) !important;
	opacity: 1 !important;
}

body.is-style-dark .wp-block-post-terms.is-style-badges {
	color: var(--wp--preset--color--neutral-950, #16130e);
}

body.is-style-dark .wp-block-post-terms.is-style-badges > a::before,
body.is-style-dark .wp-block-post-terms.is-style-badges > span::before {
	background: var(--wp--preset--color--neutral-100, #e8e4dc) !important;
}

/* Search modal hardcodes body bg; keep fields on surface (neutral-50). */
.search-modal .wp-block-search__input {
	background-color: var(--wp--custom--input--background, var(--wp--preset--color--neutral-50)) !important;
}

/* Soft dark shade under the header bar (paper edge over content). */
.maere-header-bar,
.site-header .maere-header-bar {
	position: relative;
	z-index: 5;
	box-shadow: 0 10px 28px rgba(22, 19, 14, 0.14);
}

body.is-style-dark .maere-header-bar,
body.is-style-dark .site-header .maere-header-bar {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

/* Icon-only header controls (main + docs): no plate; ink via inherit.
 * Beat .has-box-shadow > .wp-block-button__link (0,2,1 + !important). */
.search-toggle,
.search-close,
.mobile-menu-toggle,
.search-toggle.has-box-shadow,
.search-close.has-box-shadow,
.mobile-menu-toggle.has-box-shadow {
	background: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
	--wp--custom--button--color: inherit;
	--wp--custom--button--background: transparent;
	--wp--custom--button--box-shadow: none;
	--wp--custom--box-shadow--color: transparent;
	--wp--custom--box-shadow--spread: 0px;
}

.search-toggle .wp-block-button__link,
.search-close .wp-block-button__link,
.mobile-menu-toggle .wp-block-button__link,
.wp-block-button.mobile-menu-toggle .wp-element-button,
.search-toggle.has-box-shadow > .wp-block-button__link,
.search-close.has-box-shadow > .wp-block-button__link,
.mobile-menu-toggle.has-box-shadow > .wp-block-button__link {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	color: inherit !important;
	--wp--custom--button--color: inherit;
	--wp--custom--button--background: transparent;
	--wp--custom--button--box-shadow: none;
}

/* Hamburger: beat :root :where(.wp-element-button) primary-900 plate. */
.wp-block-buttons .wp-block-button.mobile-menu-toggle > .wp-block-button__link.wp-element-button,
.maere-header-bar .mobile-menu-toggle .wp-block-button__link,
.site-header .mobile-menu-toggle .wp-block-button__link {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
}

.search-toggle .wp-block-button__link svg,
.search-close .wp-block-button__link svg,
.mobile-menu-toggle .wp-block-button__link svg,
.search-toggle .wp-block-button__link svg path,
.search-close .wp-block-button__link svg path,
.mobile-menu-toggle .wp-block-button__link svg path {
	color: inherit !important;
	fill: currentColor !important;
}

.search-toggle .wp-block-button__link:hover,
.search-close .wp-block-button__link:hover,
.mobile-menu-toggle .wp-block-button__link:hover,
.wp-block-buttons .wp-block-button.mobile-menu-toggle > .wp-block-button__link.wp-element-button:hover,
.search-toggle.has-box-shadow > .wp-block-button__link:hover,
.mobile-menu-toggle.has-box-shadow > .wp-block-button__link:hover {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
}

/*
 * Card meta stack — match staging (~24px): image → categories/date → title → excerpt.
 * Many card meta groups ship inline margin:0;padding:0 — need !important.
 */
.wp-block-post-template .wp-block-post-featured-image,
.wp-block-query .wp-block-post-featured-image {
	margin-bottom: 0 !important;
}

.wp-block-post-template .wp-block-post-excerpt,
.wp-block-post-template .wp-block-post-date,
.wp-block-post-template .wp-block-post-terms,
.wp-block-query .wp-block-post-date,
.wp-block-query .wp-block-post-terms {
	margin-block: 0 !important;
}

.wp-block-post-template .wp-block-post-title,
.wp-block-query .wp-block-post-title {
	margin-block: 0 !important;
	padding-block: 0 !important;
}

.wp-block-post-template .wp-block-post-excerpt,
.wp-block-query .wp-block-post-excerpt {
	margin-block: 0 !important;
	padding-block-start: 0 !important;
}

/* Vertical stacks: one shared gap (do not also margin children). */
.wp-block-post-template .wp-block-group.is-vertical,
.wp-block-query .wp-block-group.is-layout-flex.is-vertical,
.wp-block-post-template .is-layout-flex.is-vertical,
.wp-block-query .is-layout-flex.is-vertical {
	gap: var(--wp--preset--spacing--sm, 1.5rem) !important;
}

/*
 * Image → categories/date. Beat inline margin:0;padding:0 on meta groups.
 * Do NOT zero padding-bottom — on production cards the next sibling is the
 * content body (meta+title+excerpt) whose sm bottom padding is the bleed edge.
 * Skip when both sit in a vertical flex that already supplies gap.
 */
.wp-block-post-featured-image + .wp-block-group:has(.wp-block-post-terms),
.wp-block-post-featured-image + .wp-block-group:has(.wp-block-post-date),
.wp-block-post-featured-image + .wp-block-post-terms,
.wp-block-post-featured-image + .wp-block-post-date {
	margin-top: var(--wp--preset--spacing--sm, 1.5rem) !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
}

.is-layout-flex.is-vertical > .wp-block-post-featured-image + .wp-block-group:has(.wp-block-post-terms),
.is-layout-flex.is-vertical > .wp-block-post-featured-image + .wp-block-group:has(.wp-block-post-date),
.is-layout-flex.is-vertical > .wp-block-post-featured-image + .wp-block-post-terms,
.is-layout-flex.is-vertical > .wp-block-post-featured-image + .wp-block-post-date,
.wp-block-group.is-vertical.is-layout-flex > .wp-block-post-featured-image + .wp-block-group:has(.wp-block-post-terms),
.wp-block-group.is-vertical.is-layout-flex > .wp-block-post-featured-image + .wp-block-group:has(.wp-block-post-date) {
	margin-top: 0 !important;
}

/* Card body bleed under excerpt (surface cards: image flush, text padded). */
.wp-block-post-template .is-style-surface > .wp-block-group:has(.wp-block-post-excerpt),
.wp-block-query .is-style-surface > .wp-block-group:has(.wp-block-post-excerpt),
.wp-block-post .is-style-surface > .wp-block-group:has(.wp-block-post-excerpt) {
	padding-bottom: var(--wp--preset--spacing--sm, 1.5rem) !important;
}

/*
 * Categories/date → title. The meta row is often is-horizontal, while the
 * parent is is-vertical with gap — do not add margin on top of that gap.
 */
.wp-block-group:has(.wp-block-post-terms) + .wp-block-post-title,
.wp-block-group:has(.wp-block-post-date) + .wp-block-post-title,
.wp-block-post-terms + .wp-block-post-title,
.wp-block-post-date + .wp-block-post-title {
	margin-top: var(--wp--preset--spacing--sm, 1.5rem) !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
}

.is-layout-flex.is-vertical > .wp-block-group:has(.wp-block-post-terms) + .wp-block-post-title,
.is-layout-flex.is-vertical > .wp-block-group:has(.wp-block-post-date) + .wp-block-post-title,
.is-layout-flex.is-vertical > .wp-block-post-terms + .wp-block-post-title,
.is-layout-flex.is-vertical > .wp-block-post-date + .wp-block-post-title,
.is-layout-flex.is-vertical > .wp-block-post-title,
.is-layout-flex.is-vertical > .wp-block-post-excerpt,
.wp-block-group.is-vertical.is-layout-flex > .wp-block-group:has(.wp-block-post-terms) + .wp-block-post-title,
.wp-block-group.is-vertical.is-layout-flex > .wp-block-group:has(.wp-block-post-date) + .wp-block-post-title,
.wp-block-group.is-vertical.is-layout-flex > .wp-block-post-title,
.wp-block-group.is-vertical.is-layout-flex > .wp-block-post-excerpt {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
}

/* Title → excerpt (non-flex sibling stacks). */
.wp-block-post-title + .wp-block-post-excerpt {
	margin-top: var(--wp--preset--spacing--sm, 1.5rem) !important;
	padding-top: 0 !important;
}

.is-layout-flex.is-vertical > .wp-block-post-title + .wp-block-post-excerpt,
.wp-block-group.is-vertical.is-layout-flex > .wp-block-post-title + .wp-block-post-excerpt {
	margin-top: 0 !important;
}

/*
 * Footer Mentions (institutional logos): continuous Obsidian with the footer.
 */
.maere-footer .maere-mentions {
	background-color: var(--wp--preset--color--neutral-0, #141210) !important;
	color: var(--wp--preset--color--neutral-900, #fcfcfb);
}

.maere-footer .maere-mentions .wp-block-image.is-style-svg {
	opacity: 0.42;
	transition: opacity var(--wp--custom--transition, 0.2s ease);
}

.maere-footer .maere-mentions .wp-block-image.is-style-svg:hover {
	opacity: 0.85;
}

/*
 * Mid-page Mentions / Brands (press logos): light ghost band — not greige
 * neutral-400. Fingerprint is the vertical “Mentions” label (writing-mode).
 */
.site-main > .wp-block-group.alignfull.has-neutral-400-background-color:has([style*="writing-mode"]),
.site-main .wp-block-group.alignfull.has-neutral-400-background-color:has([style*="writing-mode"]) {
	background-color: var(--maere-surface-raised, #fcfcfb) !important;
	color: var(--wp--preset--color--neutral-800, #2c2825);
}

.site-main .wp-block-group.alignfull.has-neutral-400-background-color:has([style*="writing-mode"]) .wp-block-image.is-style-svg {
	opacity: 0.55;
	transition: opacity var(--wp--custom--transition, 0.2s ease);
}

.site-main .wp-block-group.alignfull.has-neutral-400-background-color:has([style*="writing-mode"]) .wp-block-image.is-style-svg:hover {
	opacity: 0.9;
}

/*
 * Aegis Docs: cards/panels default to --aegis-docs-surface = neutral-0.
 * Maere’s Interval cream IS neutral-0, so sections disappear into the page.
 * Lift docs chrome onto paper (light) / elevated ink (dark).
 */
body.is-style-light,
body:not(.is-style-dark),
.editor-styles-wrapper {
	--aegis-docs-surface: #fcfcfb;
	--maere-surface-raised: #fcfcfb;
	--aegis-docs-subtle: var(--wp--preset--color--neutral-50, #f4f3f0);
	--aegis-docs-border: var(--wp--preset--color--neutral-200, #d5d4d3);
}

body.is-style-dark,
body.is-style-dark .editor-styles-wrapper {
	--aegis-docs-surface: var(--wp--preset--color--neutral-50, #1a1714);
	--maere-surface-raised: var(--wp--preset--color--neutral-50, #1a1714);
	--aegis-docs-subtle: var(--wp--preset--color--neutral-100, #262220);
	--aegis-docs-border: var(--wp--preset--color--neutral-200, #3a3530);
}

.aegis-docs-card,
.aegis-docs-section-card,
.aegis-docs-panel {
	box-shadow: var(--aegis-docs-shadow);
}

/*
 * Light band: stays light in dark mode (e.g. a section whose screenshots are
 * dark). Re-pins the neutral/primary scale to its light-mode values inside the
 * band so text, cards and borders keep their contrast.
 */
.maere-light-band {
	--wp--preset--color--neutral-0: #e4e3e2;
	--wp--preset--color--neutral-50: #f4f3f0;
	--wp--preset--color--neutral-100: #f4f3f0;
	--wp--preset--color--neutral-200: #d5d4d3;
	--wp--preset--color--neutral-300: #c9c8c7;
	--wp--preset--color--neutral-400: #a3a5ab;
	--wp--preset--color--neutral-500: #5c606a;
	--wp--preset--color--neutral-600: #4b4f59;
	--wp--preset--color--neutral-700: #3e424b;
	--wp--preset--color--neutral-800: #2a2d34;
	--wp--preset--color--neutral-900: #1b1e24;
	--wp--preset--color--neutral-950: #0f1115;
	--wp--preset--color--primary-500: #5c606a;
	--wp--preset--color--primary-600: #4b4f59;
	--wp--preset--color--primary-700: #3e424b;
	background-color: #fcfcfb !important;
	color: #1b1e24;
}

/*
 * Editor canvas parity: the front end gets full-bleed sections and readable
 * button labels from .site-main rules and the body class, neither of which
 * exists inside the editor iframe.
 */
.editor-styles-wrapper .is-root-container .alignfull {
	max-width: none;
}

.editor-styles-wrapper .wp-block-button__link.has-neutral-800-background-color,
.editor-styles-wrapper .wp-block-button .wp-block-button__link.has-neutral-0-color {
	color: var(--wp--preset--color--neutral-0);
}

:where(.editor-styles-wrapper) .is-style-ghost > .wp-block-button__link {
	background-color: transparent;
	color: var(--wp--preset--color--neutral-900);
	border: 1px solid var(--wp--preset--color--neutral-300);
}

/*
 * Home hero collage. Layout lives here (not in framework position attributes,
 * which only exist as generated front-end CSS) so the editor canvas and the
 * front end render the same.
 */
.maere-collage {
	position: relative;
}

.maere-collage > .maere-collage__main {
	position: relative;
	z-index: 3;
	width: 60%;
	max-width: none;
	margin-inline: auto;
}

.maere-collage > .maere-collage__side,
.maere-collage > .maere-collage__chip {
	position: absolute;
	max-width: none;
	margin: 0;
}

.maere-collage > .maere-collage__side {
	z-index: 1;
	top: 12%;
	width: 34%;
}

.maere-collage > .maere-collage__chip {
	z-index: 4;
	top: 30%;
	width: 14%;
}

.maere-collage > .maere-collage__side--left { left: 0; }
.maere-collage > .maere-collage__side--right { right: 0; }
.maere-collage > .maere-collage__chip--left { left: 13%; }
.maere-collage > .maere-collage__chip--right { right: 13%; }

.maere-collage img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 781px) {
	.maere-collage > .maere-collage__main {
		width: 100%;
	}

	.maere-collage > .maere-collage__side,
	.maere-collage > .maere-collage__chip {
		display: none;
	}
}

/*
 * Compare (aegis/image-compare): before the player script mounts, the saved
 * markup is two plain images stacked, so the block is twice as tall and then
 * collapses when it initialises (page jump). Reserve the final box and show
 * only the first image until the script adds .icv to the wrapper.
 * 1980 x 1134 matches the product screenshots; override --maere-compare-ratio
 * on a block for other images.
 */
.site-main .wp-block-aegis-image-compare:not(.icv) {
	position: relative;
	overflow: hidden;
	aspect-ratio: var(--maere-compare-ratio, 1980 / 1134);
}

.site-main .wp-block-aegis-image-compare:not(.icv) > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-main .wp-block-aegis-image-compare:not(.icv) > img + img {
	display: none;
}

/*
 * Page width: .wp-site-blocks is a grid whose single auto column grows to the
 * widest child's min-content, so main/header/footer ended up ~58px wider than
 * the viewport and every page pulled to the right. Pin the column to the
 * container width.
 */
.wp-site-blocks {
	grid-template-columns: minmax(0, 1fr);
}

.wp-site-blocks > * {
	min-width: 0;
}

/* Home: upcoming add-on sections */
.maere-addon__cols.is-reverse { flex-direction: row-reverse; }
.maere-addon .wp-block-image { margin: 0; }
.maere-addon .wp-block-image img { display: block; width: 100%; height: auto; }
@media (max-width: 781px) {
	.maere-addon__cols.is-reverse { flex-direction: column; }
}

/* Home add-ons: each section gets its own tint over the page background; the wrapper (#addons) uses neutral-100 */
.maere-addon--ads { background-color: color-mix(in srgb, var(--wp--preset--color--warning-600) 10%, var(--wp--preset--color--neutral-0)); }
.maere-addon--audio { background-color: color-mix(in srgb, var(--wp--preset--color--error-600) 10%, var(--wp--preset--color--neutral-0)); }
.maere-addon--docs { background-color: color-mix(in srgb, var(--wp--preset--color--info-600) 10%, var(--wp--preset--color--neutral-0)); }
.maere-addon--forms { background-color: color-mix(in srgb, var(--wp--preset--color--success-600) 10%, var(--wp--preset--color--neutral-0)); }
.maere-addon--video { background-color: color-mix(in srgb, var(--wp--preset--color--primary-500) 10%, var(--wp--preset--color--neutral-0)); }
#addons { scroll-margin-top: var(--wp--preset--spacing--lg); }

#addons { display: flow-root; }
#addons > .maere-addon {
	margin-top: var(--wp--preset--spacing--sm) !important;
	border-radius: var(--wp--custom--border--radius, 6px);
	overflow: hidden;
}
#addons > .maere-addons-intro { margin-top: 0 !important; }

/*
 * Code block: graphite surface with a lighter header bar, Stone text and a
 * pink accent. Light mode uses Graphite itself; dark mode goes one step darker
 * than the page so the block still reads as a panel.
 */
:root,
.editor-styles-wrapper {
	--maere-code-bg: #2a2d34;
	--maere-code-bar: #353942;
	--maere-code-text: #e9e7e2;
	--maere-code-muted: #959aa5;
	--maere-code-line: rgba(233, 231, 226, 0.1);
	--maere-code-accent: #fb7185;
	--maere-code-btn: #1f2227;
	--maere-code-btn-hover: #16181c;
}

body.is-style-dark,
body.is-style-dark .editor-styles-wrapper {
	--maere-code-bg: #1c1f24;
	--maere-code-bar: #262a30;
	--maere-code-btn: #121418;
	--maere-code-btn-hover: #0c0d10;
}

pre.wp-block-code {
	background: var(--maere-code-bg);
	color: var(--maere-code-text);
	border: 0;
	border-radius: var(--wp--custom--border--radius, 6px);
	overflow: hidden;
	font-size: var(--wp--preset--font-size--14, 0.875rem);
	line-height: 1.7;
}

pre.wp-block-code > code {
	color: inherit;
	background: transparent;
}

pre.wp-block-code.has-language-label::before,
pre.wp-block-code .code-filename {
	background: var(--maere-code-bar);
	color: var(--maere-code-text);
	border-bottom: 1px solid var(--maere-code-line);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	opacity: 1;
}

pre.wp-block-code.show-line-numbers .code-line::before {
	color: var(--maere-code-muted);
	opacity: 1;
}

pre.wp-block-code .copy-to-clipboard button,
pre.wp-block-code .code-download button {
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--maere-code-btn);
	color: var(--maere-code-muted);
	box-shadow: none;
}

pre.wp-block-code .copy-to-clipboard button svg,
pre.wp-block-code .code-download button svg {
	width: 16px;
	height: 16px;
}

pre.wp-block-code .copy-to-clipboard button:hover,
pre.wp-block-code .copy-to-clipboard button:focus-visible,
pre.wp-block-code .code-download button:hover,
pre.wp-block-code .code-download button:focus-visible {
	color: var(--maere-code-text);
	background: var(--maere-code-btn-hover);
}

pre.wp-block-code .code-line.is-highlighted {
	background: var(--maere-code-line);
}

pre.wp-block-code .aegis-tok-comment { color: var(--maere-code-muted); }
pre.wp-block-code .aegis-tok-keyword,
pre.wp-block-code .aegis-tok-tag,
pre.wp-block-code .aegis-tok-deleted { color: var(--maere-code-accent); }
pre.wp-block-code .aegis-tok-string,
pre.wp-block-code .aegis-tok-inserted { color: #86d9a6; }
pre.wp-block-code .aegis-tok-number,
pre.wp-block-code .aegis-tok-attr { color: #7cc4f0; }
pre.wp-block-code .aegis-tok-variable,
pre.wp-block-code .aegis-tok-type { color: #f0b45a; }

/*
 * Image captions: muted, flush with the image edge and close under it, with no
 * space of their own underneath, so they read apart from body paragraphs.
 */
.wp-block-image figcaption.wp-element-caption,
.wp-block-image > figcaption {
	margin: 0;
	padding: var(--wp--preset--spacing--xxs, 8px) 0 0;
	color: var(--wp--preset--color--neutral-500);
}

/*
 * Editor canvas: SVG-style images render as <img> data URIs there, so their
 * currentColor falls back to black. Lighten them inside dark sections to match
 * the front end, where the SVG is inline.
 */
.editor-styles-wrapper .is-style-dark .wp-block-image.is-style-svg img {
	filter: brightness(0) invert(0.91);
}

/*
 * Reader-support banner: fixed to the bottom, non-blocking, no animation.
 * Below the mobile menu and search overlays.
 */
.maere-support {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9000;
	background: var(--wp--preset--color--neutral-800);
	color: var(--wp--preset--color--neutral-0);
	padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
	padding-bottom: calc(var(--wp--preset--spacing--xs) + env(safe-area-inset-bottom, 0px));
}

.maere-support[hidden] {
	display: none;
}

.maere-support__inner {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
	max-width: 1200px;
	margin: 0 auto;
}

.maere-support__text {
	flex: 1 1 auto;
	min-width: 0;
}

.maere-support .maere-support__title,
.maere-support .maere-support__copy {
	margin: 0;
	color: inherit;
	font-size: var(--wp--preset--font-size--14);
	line-height: 1.5;
}

.maere-support .maere-support__title {
	font-family: var(--wp--preset--font-family--supreme-ll);
	font-size: var(--wp--preset--font-size--18);
	font-weight: 500;
}

.maere-support__donate {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: var(--wp--preset--spacing--xxs);
	padding: var(--wp--preset--spacing--xxs) var(--wp--preset--spacing--xs);
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--wp--preset--color--neutral-0);
	color: var(--wp--preset--color--neutral-800);
	font-size: var(--wp--preset--font-size--14);
	font-weight: 600;
	text-decoration: none;
}

.maere-support__donate:hover,
.maere-support__donate:focus-visible {
	color: var(--wp--preset--color--neutral-800);
}

.maere-support__close {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.maere-support a:focus-visible,
.maere-support button:focus-visible {
	outline: 2px solid currentcolor;
	outline-offset: 2px;
}

/* Keep the end of the page reachable while the banner is open. */
body.maere-support-open {
	padding-bottom: var(--maere-support-height, 0px);
}

@media (max-width: 781px) {
	.maere-support__inner {
		flex-wrap: wrap;
		gap: var(--wp--preset--spacing--xxs) var(--wp--preset--spacing--xs);
	}

	.maere-support__text {
		flex-basis: calc(100% - 48px);
		order: 1;
	}

	.maere-support__close {
		order: 2;
		align-self: flex-start;
	}

	.maere-support__donate {
		order: 3;
		justify-content: center;
		width: 100%;
	}
}

/*
 * Category heroes
 *
 * Interviews: full-width 50/50 hero on a light surface that the whole page
 * shares. Albums: the same columns, only as wide as the featured image, with
 * square cover art on the left. Premieres: the hero built into the post.
 */

/* Shared 50/50 columns (interviews and albums). */
.maere-interview-hero__cols.wp-block-columns {
	width: 100% !important;
	max-width: none;
	margin: 0 !important;
}

.maere-interview-hero__cols > .maere-interview-hero__media {
	position: relative;
	align-self: stretch;
	min-height: min(80vh, 720px);
}

.maere-interview-hero__media .wp-block-post-featured-image {
	position: absolute;
	inset: 0;
	margin: 0;
}

.maere-interview-hero__media .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
	border-radius: 0;
}

@media (max-width: 781px) {
	.maere-interview-hero__cols.wp-block-columns {
		flex-direction: column !important;
		align-items: stretch !important;
	}

	.maere-interview-hero__cols.wp-block-columns > .wp-block-column {
		box-sizing: border-box;
		align-self: stretch !important;
		flex-basis: auto !important;
		width: 100% !important;
	}

	.maere-interview-hero__cols.wp-block-columns > .maere-interview-hero__media {
		min-height: 0;
		aspect-ratio: 4 / 5;
	}
}

/* Interviews: edge to edge; negative margins cancel the main column's padding. */
.site-main > .maere-interview-hero.alignfull {
	box-sizing: border-box !important;
	align-self: stretch;
	width: auto !important;
	max-width: none !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-left: calc(-1 * var(--wp--style--root--padding-left, 0px)) !important;
	margin-right: calc(-1 * var(--wp--style--root--padding-right, 0px)) !important;
	padding: 0;
	background-color: var(--wp--preset--color--neutral-50);
}

/* The page shares the hero's color; inner surfaces step to the page color. */
html body.single-post:has(.maere-interview-hero) {
	background-color: var(--wp--preset--color--neutral-50);
}

body.single-post:has(.maere-interview-hero) .maere-header-bar {
	background-color: var(--wp--preset--color--neutral-50) !important;
}

body.single-post:has(.maere-interview-hero) .site-main {
	--wp--custom--surface--background: var(--wp--preset--color--neutral-0);
}

/* Albums: inside the page padding, cover on the left, text on the right. */
.site-main > .maere-album-hero {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: var(--wp--preset--spacing--lg) 0 var(--wp--preset--spacing--md) !important;
}

.maere-album-hero .maere-interview-hero__cols > .maere-interview-hero__media {
	min-height: 0;
	aspect-ratio: 1 / 1;
}

.maere-album-hero .maere-interview-hero__media .wp-block-post-featured-image img {
	object-position: center;
	border-radius: var(--wp--custom--border--radius, 6px);
}

@media (min-width: 782px) {
	.maere-album-hero .maere-interview-hero__cols.wp-block-columns {
		flex-direction: row-reverse !important;
	}

	.maere-album-hero .maere-interview-hero__cols > .maere-interview-hero__media {
		flex: 0 0 42% !important;
	}

	.maere-album-hero .maere-interview-hero__cols > .maere-interview-hero__text {
		flex: 1 1 0 !important;
		padding-right: 0 !important;
	}
}

@media (max-width: 781px) {
	.maere-album-hero .maere-interview-hero__cols.wp-block-columns > .maere-interview-hero__text {
		padding-right: 0 !important;
		padding-left: 0 !important;
	}
}

/*
 * Premieres: the post's first group is as wide as a single post's featured
 * image, video on the right; the article stays at the content width.
 */
html body.post-template-single-premieres .site-main.wp-block-group > .wp-block-group.alignwide:has(> .wp-block-post-content),
body.post-template-single-premieres .site-main > .wp-block-group > .wp-block-post-content {
	width: 100% !important;
	max-width: none !important;
}

html body.post-template-single-premieres .site-main.wp-block-group > .wp-block-group.alignwide:has(> .wp-block-post-content) {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

body.post-template-single-premieres .wp-block-post-content > :not(.wp-block-group:first-child) {
	max-width: 1200px;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.post-template-single-premieres .wp-block-post-content > .wp-block-group:first-child {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
	background: transparent !important;
}

body.post-template-single-premieres .wp-block-post-content > .wp-block-group:first-child > .wp-block-columns {
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

/* Author above the share icons, so the icons fit on one row. */
body.post-template-single-premieres .wp-block-post-content > .wp-block-group:first-child .wp-block-group.is-content-justification-space-between:has(> [class*="ns-buttons"]) {
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: var(--wp--preset--spacing--xs);
}

body.post-template-single-premieres .wp-block-post-content > .wp-block-group:first-child [class*="ns-buttons"] {
	width: 100%;
}

body.post-template-single-premieres .wp-block-post-content > .wp-block-group:first-child .ns-buttons .ns-buttons-wrapper {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: var(--wp--preset--spacing--xxs);
}

body.post-template-single-premieres .wp-block-post-content > .wp-block-group:first-child .ns-buttons .ns-button {
	flex: 0 1 auto;
	margin: 0 !important;
}

@media (min-width: 782px) {
	body.post-template-single-premieres .wp-block-post-content > .wp-block-group:first-child > .wp-block-columns {
		flex-direction: row-reverse !important;
	}

	body.post-template-single-premieres .wp-block-post-content > .wp-block-group:first-child > .wp-block-columns > .wp-block-column:first-child {
		flex-basis: 62% !important;
	}

	body.post-template-single-premieres .wp-block-post-content > .wp-block-group:first-child > .wp-block-columns > .wp-block-column:last-child {
		flex: 1 1 0 !important;
	}
}

body.is-style-dark .maere-aegis-cta {
	background-color: var(--wp--preset--color--neutral-100) !important;
	color: var(--wp--preset--color--neutral-900) !important;
	--wp--preset--color--neutral-0: var(--wp--preset--color--neutral-900);
}

/*
 * Regional spotlight (Andean Culture): its own band, one step deeper than the
 * page, with raised cards. Palette tokens, so light and dark pages both read.
 */
html body .maere-regional.wp-block-group {
	background-color: var(--wp--preset--color--neutral-200) !important;
	color: var(--wp--preset--color--neutral-900);
	--wp--custom--surface--background: var(--wp--preset--color--neutral-50);
	--maere-surface-raised: var(--wp--preset--color--neutral-50);
}

html body .maere-regional .wp-block-post-template > .wp-block-post,
html body .maere-regional .wp-block-post-template > .wp-block-post > .wp-block-group {
	background-color: var(--wp--preset--color--neutral-50) !important;
	color: var(--wp--preset--color--neutral-900) !important;
}

/*
 * Front page rhythm: sections alternate between two close tones of the palette,
 * and every post sits on a card one step lighter than its section. The classes
 * come from inc/front-page.php.
 */
html body.home .wp-block-group.maere-band {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	background-color: var(--maere-band) !important;
	--wp--custom--surface--background: var(--maere-card);
	--maere-surface-raised: var(--maere-card);
}

html body.home .maere-band-a {
	--maere-band: var(--wp--preset--color--neutral-0);
	--maere-card: var(--wp--preset--color--neutral-50);
}

html body.home .maere-band-b {
	--maere-band: var(--wp--preset--color--neutral-50);
	--maere-card: var(--wp--preset--color--primary-25);
}

/* A later part of the same section follows on without a second gap. */
html body.home .wp-block-group.maere-band.maere-band-more {
	padding-top: 0 !important;
}

/* Cards the page already has: grid posts and the wide features. */
html body.home .maere-band .wp-block-post > .wp-block-group,
html body.home .maere-band .wp-block-columns.is-style-surface,
html body.home .maere-band .wp-block-group.is-style-surface {
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
	background-color: var(--maere-card) !important;
}

/* Grid posts without their own inner spacing. */
html body.home .maere-band .wp-block-post > .wp-block-group:has(> .wp-block-post-title, > .wp-block-post-excerpt, > .wp-block-group[style*="padding-bottom:var"]) {
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--xs) !important;
}

/* Small list posts (80px thumbnail column): a card with a slim frame. */
html body.home .maere-band .wp-block-post > .wp-block-columns:has(> .wp-block-column[style*="flex-basis:80px"]):not(.maere-band .is-style-surface *) {
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--xxs);
	border-radius: var(--wp--custom--border--radius, 6px);
	background-color: var(--maere-card);
}

/* Wide features (image beside text) that are not already inside a card. */
html body.home .maere-band .wp-block-post > .wp-block-columns:not(:has(.wp-block-query)):not(:has(> .wp-block-column[style*="flex-basis:80px"])):not(.maere-band .is-style-surface *) {
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--md) !important;
	border-radius: var(--wp--custom--border--radius, 6px);
	background-color: var(--maere-card) !important;
}

/* Mesopotamian, Videos and Cinema: dark, cards included; is-style-dark flips the palette. */
html body.home .wp-block-group.maere-band.maere-dark-section {
	--maere-band: var(--wp--preset--color--neutral-0);
	--maere-card: var(--wp--preset--color--neutral-50);
	padding-top: var(--wp--preset--spacing--lg) !important;
	padding-bottom: var(--wp--preset--spacing--lg) !important;
	color: var(--wp--preset--color--neutral-900);
}

/* Journal: the card takes the section's own dark. */
html body.home .wp-block-group.maere-band.maere-dark-section.maere-flat {
	--maere-card: var(--wp--preset--color--neutral-0);
}

html body.home .wp-block-group.maere-band.maere-dark-section.maere-band-more {
	padding-top: 0 !important;
}

/* The "|" before a date would vanish on the dark cards. */
html body.home .maere-dark-section .has-neutral-200-color {
	color: var(--wp--preset--color--neutral-500) !important;
}

html body.home .maere-band .is-style-surface .wp-block-post,
html body.home .maere-band .is-style-surface .wp-block-post > .wp-block-group {
	background-color: transparent !important;
}

/*
 * Front page posts: title, date and excerpt are spaced apart. Small list posts
 * (no excerpt) keep a tighter gap under the title.
 */
html body.home .entry-content .wp-block-post .wp-block-column > .wp-block-group.is-horizontal {
	margin-top: var(--wp--preset--spacing--xxs) !important;
}

html body.home .entry-content .wp-block-post .wp-block-column:has(> .wp-block-post-excerpt) > .wp-block-group.is-horizontal,
html body.home .entry-content .wp-block-post .wp-block-column > .wp-block-post-excerpt {
	margin-top: var(--wp--preset--spacing--sm) !important;
}

/* The festival call-out is dark; is-style-dark flips the palette inside it. */
html body .wp-block-group.maere-festival.is-style-dark {
	background-color: var(--wp--preset--color--neutral-0) !important;
	color: var(--wp--preset--color--neutral-900);
}

/* Section backgrounds run edge to edge, so their corners are square. */
html body.home .entry-content.wp-block-post-content > .wp-block-group {
	border-radius: 0 !important;
}

/* Every block that starts a section keeps the same space above its heading. */
html body.home .wp-block-group.maere-band:not(.maere-band-more) {
	padding-top: var(--wp--preset--spacing--lg) !important;
}

/*
 * Aegis house banner, below the front page's Blogs section and below posts: full width, square, palette
 * colors: Graphite on light pages and light on dark ones, shown on phones too.
 * Only the Aegis mark is shown; the name stays for screen readers.
 */
html body .maere-ad--house,
html body .maere-ad--house > *,
html body .maere-ad--house .aegis-ad__inner {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.maere-ad--house .aegis-ad__label {
	display: none !important;
}

html body .maere-ad--house .maere-house {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--md);
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--lg) !important;
	border-radius: 0 !important;
	background: var(--wp--preset--color--neutral-800);
	color: var(--wp--preset--color--neutral-0);
}

html body .maere-ad--house .maere-house p {
	margin: 0;
	color: var(--wp--preset--color--neutral-0);
}

html body .maere-ad--house .maere-house__logo {
	display: flex;
	flex: none;
	align-items: center;
	font-size: 0 !important;
	line-height: 0;
}

.maere-house__logo::before {
	content: "";
	width: 56px;
	height: 56px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M10.06%207.75%20L12.02%203.87%20L13.95%207.72%20L16.65%209.29%20L12.03%200%20L7.34%209.3%20L10.06%207.75%20Z%20M18.37%2012.72%20L18.2%2012.36%20L15.5%2010.79%20L17.02%2013.68%20L20.05%2018.61%20L12.02%2015.17%20L3.98%2018.62%20L6.96%2013.68%20L8.39%2010.81%20L5.67%2012.39%20L5.5%2012.71%20L0%2022.87%20L12.01%2016.87%20L24%2022.94%20L18.37%2012.72%20Z%22/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M10.06%207.75%20L12.02%203.87%20L13.95%207.72%20L16.65%209.29%20L12.03%200%20L7.34%209.3%20L10.06%207.75%20Z%20M18.37%2012.72%20L18.2%2012.36%20L15.5%2010.79%20L17.02%2013.68%20L20.05%2018.61%20L12.02%2015.17%20L3.98%2018.62%20L6.96%2013.68%20L8.39%2010.81%20L5.67%2012.39%20L5.5%2012.71%20L0%2022.87%20L12.01%2016.87%20L24%2022.94%20L18.37%2012.72%20Z%22/%3E%3C/svg%3E") center / contain no-repeat;
}

.maere-house__offer {
	margin: 0 !important;
	text-align: center;
}

html body .maere-ad--house .maere-house__headline {
	font-family: var(--wp--preset--font-family--lexend-deca, inherit);
	font-size: clamp(24px, 2.8vw, 36px);
	line-height: 1.2;
}

html body .maere-ad--house .maere-house__note {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 16px;
	line-height: 1.5;
}

.maere-house__action {
	flex: none;
	margin: 0 !important;
}

html body .maere-ad--house .maere-house__action .wp-block-button__link {
	border: 0;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--wp--preset--color--neutral-0);
	color: var(--wp--preset--color--neutral-800);
	font-size: 15px;
	padding: 12px 20px;
}

@media (max-width: 781px) {
	html body .maere-ad--house .maere-house {
		flex-direction: column;
		gap: var(--wp--preset--spacing--sm);
		text-align: center;
	}
}

/*
 * Front page: the lead section is dark (is-style-dark flips the palette), and
 * the logo strip below it sits between the light and page tones. Their
 * ::before would paint the page color over both.
 */
html body.home .entry-content.wp-block-post-content > .wp-block-group.maere-lead.is-style-dark {
	background: var(--wp--preset--color--neutral-50) !important;
	color: var(--wp--preset--color--neutral-900);
}

html body.home .entry-content.wp-block-post-content > .wp-block-group:first-child::before,
html body.home .entry-content.wp-block-post-content > .wp-block-group:nth-child(2)::before {
	background: transparent !important;
}

html body.home .entry-content.wp-block-post-content > .wp-block-group:nth-child(2) {
	background-color: color-mix(in srgb, var(--wp--preset--color--neutral-50) 55%, var(--wp--preset--color--neutral-0)) !important;
}

/*
 * Below a post, Related Posts and the Andean spotlight are separate sections:
 * Related sits on the light tone with lighter cards, Andean on the page tone
 * with light cards. Each ::before painted the page color over both.
 */
html body.single-post .site-main > .wp-block-group.alignfull.maere-related-posts::before,
html body.single-post .site-main > .wp-block-group.alignfull.is-style-surface.maere-regional::before {
	background: transparent !important;
}

html body.single-post .site-main > .wp-block-group.alignfull.maere-related-posts {
	background: var(--wp--preset--color--neutral-50) !important;
}

html body.single-post .maere-related-posts .wp-block-aegis-related-posts .wp-block-aegis-related-posts__post {
	background: var(--wp--preset--color--primary-25) !important;
}

/* primary-25 turns darker than the band on dark pages, so step up instead. */
html body.single-post.is-style-dark .maere-related-posts .wp-block-aegis-related-posts .wp-block-aegis-related-posts__post {
	background: var(--wp--preset--color--neutral-200) !important;
}

html body.single-post .site-main > .wp-block-group.alignfull.is-style-surface.maere-regional {
	background: var(--wp--preset--color--neutral-0) !important;
	padding-top: var(--wp--preset--spacing--lg) !important;
}

html body.single-post .maere-regional .wp-block-post-template > .wp-block-post,
html body.single-post .maere-regional .wp-block-post-template > .wp-block-post > .wp-block-group {
	background: var(--wp--preset--color--neutral-50) !important;
}

html body.single-post .maere-regional .wp-block-post-excerpt {
	margin-top: var(--wp--preset--spacing--sm) !important;
}

/* Related Posts keeps the same space above and below as the Andean spotlight. */
html body.single-post .site-main > .wp-block-group.alignfull.maere-related-posts {
	padding-top: var(--wp--preset--spacing--lg) !important;
	padding-bottom: var(--wp--preset--spacing--lg) !important;
}

/* Both run edge to edge, so their corners are square, like the front page. */
html body.single-post .site-main > .wp-block-group.alignfull.maere-related-posts,
html body.single-post .site-main > .wp-block-group.alignfull.is-style-surface.maere-regional {
	border-radius: 0 !important;
}

/* Small list posts: the thumbnail runs to the card's edges, like the large one. */
html body.home .maere-band .wp-block-post > .wp-block-columns:has(> .wp-block-column[style*="flex-basis:80px"]):not(.maere-band .is-style-surface *) {
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	column-gap: var(--wp--preset--spacing--xs) !important;
	width: 100% !important;
	overflow: hidden;
	padding: 0 var(--wp--preset--spacing--xs) 0 0 !important;
}

html body.home .maere-band .wp-block-post > .wp-block-columns > .wp-block-column[style*="flex-basis:80px"] {
	position: relative;
	flex: 0 0 112px !important;
	align-self: stretch !important;
	min-height: 100px;
}

html body.home .maere-band .wp-block-post > .wp-block-columns > .wp-block-column[style*="flex-basis:80px"] .wp-block-post-featured-image {
	position: absolute;
	inset: 0;
	margin: 0;
}

html body.home .maere-band .wp-block-post > .wp-block-columns > .wp-block-column[style*="flex-basis:80px"] .wp-block-post-featured-image :is(a, img) {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	border-radius: 0 !important;
	object-fit: cover;
}

html body.home .maere-band .wp-block-post > .wp-block-columns > .wp-block-column[style*="flex-basis:80px"] + .wp-block-column {
	box-sizing: border-box;
	flex: 1 1 0 !important;
	align-self: center;
	/* A margin, because the layout's padding rules cancel padding here. */
	margin-top: var(--wp--preset--spacing--xs) !important;
	margin-bottom: var(--wp--preset--spacing--xs) !important;
}

/* The image block carries its own size; let it fill the space given here. */
html body.home .maere-band .wp-block-post > .wp-block-columns:has(> .wp-block-column .wp-block-query) > .wp-block-column:first-child > figure.wp-block-post-featured-image,
html body.home .maere-band .wp-block-post > .wp-block-columns > .wp-block-column[style*="flex-basis:80px"] figure.wp-block-post-featured-image {
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	margin: 0 !important;
}

@media (min-width: 782px) {
	html body.home .maere-band .wp-block-post > .wp-block-columns > .wp-block-column:nth-child(3) :is(.wp-block-group, .wp-block-query, .wp-block-post-template, .wp-block-post:last-child, .wp-block-post:last-child > .wp-block-columns) {
		margin-bottom: 0 !important;
		padding-bottom: 0 !important;
	}
}

/* Tablets: the list drops below, so the large image is not squeezed. */
@media (min-width: 782px) and (max-width: 1099px) {
	html body.home .maere-band .wp-block-post > .wp-block-columns:has(> .wp-block-column .wp-block-query) {
		flex-wrap: wrap !important;
		row-gap: var(--wp--preset--spacing--sm);
	}

	html body.home .maere-band .wp-block-post > .wp-block-columns:has(> .wp-block-column .wp-block-query) > .wp-block-column:first-child {
		flex: 0 0 40% !important;
	}

	html body.home .maere-band .wp-block-post > .wp-block-columns:has(> .wp-block-column .wp-block-query) > .wp-block-column:nth-child(2) {
		flex: 1 1 0 !important;
		margin-right: 0;
	}

	html body.home .maere-band .wp-block-post > .wp-block-columns:has(> .wp-block-column .wp-block-query) > .wp-block-column:nth-child(3) {
		flex: 0 0 100% !important;
	}
}

html body.home .maere-band .wp-block-post:has(> .wp-block-columns > .wp-block-column[style*="flex-basis:80px"]) {
	width: 100%;
}

/* A list inside a vertical group takes the full column, not just its text. */
html body.home .maere-band .wp-block-query:has(.wp-block-column[style*="flex-basis:80px"]) {
	align-self: stretch;
	width: 100%;
}

/* Tablets: smaller thumbnails leave the titles room in narrow columns. */
@media (min-width: 782px) and (max-width: 1099px) {
	html body.home .maere-band .wp-block-post > .wp-block-columns > .wp-block-column[style*="flex-basis:80px"] {
		flex-basis: 72px !important;
	}
}

/*
 * Gray figures beside a few front page headings: grotesques from Les Songes
 * drolatiques de Pantagruel (1565, public domain). The image is only a mask,
 * filled with a mid gray. Decorative: light sections only, not on phones.
 */

@media (min-width: 782px) {
	html body.home .maere-figure {
		position: relative;
	}

	html body.home .maere-figure::after {
		content: "";
		position: absolute;
		z-index: 1;
		/* Aegis surface sections already use this layer: reset its stretch. */
		inset: var(--wp--preset--spacing--sm) 7% auto auto;
		backdrop-filter: none;
		width: 86px;
		height: 114px;
		background: color-mix(in srgb, var(--wp--preset--color--neutral-500) 50%, var(--wp--preset--color--neutral-400));
		pointer-events: none;
		-webkit-mask: var(--maere-figure-image) center bottom / contain no-repeat;
		mask: var(--maere-figure-image) center bottom / contain no-repeat;
	}

	html body.home.is-style-dark .maere-figure::after,
	html body.home .is-style-dark .maere-figure::after,
	html body.home .maere-figure.is-style-dark::after {
		display: none;
	}

	html body.home .maere-figure-a {
		--maere-figure-image: url("/wp-content/themes/maere/assets/figures/pantagruel-p130.webp");
	}

	html body.home .maere-figure-b {
		--maere-figure-image: url("/wp-content/themes/maere/assets/figures/pantagruel-p70.webp");
	}

	html body.home .maere-figure-c {
		--maere-figure-image: url("/wp-content/themes/maere/assets/figures/pantagruel-p82.webp");
	}

	html body.home .maere-figure-d {
		--maere-figure-image: url("/wp-content/themes/maere/assets/figures/pantagruel-p46.webp");
	}
}

/*
 * Each front page section heading has its own word large and faint behind it
 * (data-word, added in inc/front-page.php). It takes the text color, so it
 * reads on light and dark; screen readers get the heading only.
 */
html body.home h2.wp-block-heading[data-word] {
	position: relative;
	isolation: isolate;
	overflow: visible;
}

html body.home h2.wp-block-heading[data-word]::before {
	content: attr(data-word);
	content: attr(data-word) / "";
	position: absolute;
	z-index: -1;
	top: 50%;
	left: -0.05em;
	transform: translateY(-64%);
	font-size: max(2.1em, min(8.4vw, 128px));
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	white-space: nowrap;
	opacity: 0.065;
	pointer-events: none;
	user-select: none;
}

html body.home h2.wp-block-heading[data-word][data-word-align="center"]::before {
	left: 50%;
	transform: translate(-50%, -64%);
}

/* Phones: a centered word is kept whole rather than cut at both edges. */
@media (max-width: 781px) {
	html body.home h2.wp-block-heading[data-word][data-word-align="center"]::before {
		font-size: min(2.1em, 19vw);
	}
}

/*
 * Events as admission tickets (inc/events.php): picture and title, a torn
 * edge with a notch at each side, then the stub with dates and place.
 */
html body.home .maere-tickets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: var(--wp--preset--spacing--sm);
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

html body.home .maere-tickets__item {
	--maere-ticket: var(--maere-card, var(--wp--preset--color--neutral-50));
	/* Picture and title, tear, stub: shared rows keep the torn edges level. */
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	row-gap: 0;
	min-width: 0;
	margin: 0;
	color: var(--wp--preset--color--neutral-900);
}

.maere-tickets__top {
	flex: 1 0 auto;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px) var(--wp--custom--border--radius, 6px) 0 0;
	background: var(--maere-ticket);
}

.maere-tickets__image {
	display: block;
}

html body.home .maere-tickets__image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 0;
	aspect-ratio: 2 / 1;
	object-fit: cover;
}

html body.home .maere-tickets .maere-tickets__title {
	margin: 0;
	padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
	font-size: 21px;
	line-height: 1.3;
}

.maere-tickets__title a {
	color: inherit;
	text-decoration: none;
}

/* Without a stub the ticket simply ends. */
.maere-tickets__top:last-child {
	border-radius: var(--wp--custom--border--radius, 6px);
}

.maere-tickets__tear {
	position: relative;
	height: 24px;
	background:
		radial-gradient(circle at 0 50%, transparent 12px, var(--maere-ticket) 12.5px) left / 51% 100% no-repeat,
		radial-gradient(circle at 100% 50%, transparent 12px, var(--maere-ticket) 12.5px) right / 51% 100% no-repeat;
}

.maere-tickets__tear::after {
	content: "";
	position: absolute;
	top: 50%;
	right: var(--wp--preset--spacing--sm);
	left: var(--wp--preset--spacing--sm);
	border-top: 2px dashed color-mix(in srgb, currentColor 28%, transparent);
}

.maere-tickets__stub {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
	min-height: 78px;
	padding: var(--wp--preset--spacing--xxs) var(--wp--preset--spacing--sm) var(--wp--preset--spacing--xs);
	border-radius: 0 0 var(--wp--custom--border--radius, 6px) var(--wp--custom--border--radius, 6px);
	background: var(--maere-ticket);
}

html body.home .maere-tickets .maere-tickets__stub p {
	margin: 0;
}

html body.home .maere-tickets .maere-tickets__date {
	flex: none;
	min-width: 88px;
	padding-right: var(--wp--preset--spacing--xs);
	border-right: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	text-align: center;
}

.maere-tickets__date b {
	display: block;
	font-family: var(--wp--preset--font-family--secondary, inherit);
	font-size: 28px;
	line-height: 1.1;
	white-space: nowrap;
}

.maere-tickets__date span {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

html body.home .maere-tickets .maere-tickets__place {
	/* Below this width the stamp moves to its own line instead. */
	flex: 1 1 112px;
	min-width: 0;
	line-height: 1.35;
}

.maere-tickets__place strong {
	display: block;
	font-size: 15px;
}

.maere-tickets__place span {
	display: block;
	font-size: 13px;
}

html body.home .maere-tickets .maere-tickets__place .maere-tickets__address {
	opacity: 0.75;
}

html body.home .maere-tickets .maere-tickets__links {
	display: flex;
	flex: 1 0 100%;
	flex-wrap: wrap;
	column-gap: var(--wp--preset--spacing--sm);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.maere-tickets__links a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 32px;
	color: inherit;
	text-decoration: none;
}

/* On phones the place stays beside the date where it can. */
@media (max-width: 599px) {
	html body.home .maere-tickets .maere-tickets__place {
		flex-basis: 96px;
	}
}

/* The stub's last line. */
html body.home .maere-tickets .maere-tickets__buy {
	flex: 1 0 100%;
	margin-top: 0;
}

html body.home .maere-tickets__buy a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 var(--wp--preset--spacing--xs);
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--wp--preset--color--neutral-900);
	color: var(--wp--preset--color--neutral-0);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

html body.home .maere-tickets__buy a:hover {
	background: var(--wp--preset--color--neutral-700);
}

html body.home .maere-tickets__buy a:focus-visible {
	outline: 2px solid var(--wp--preset--color--neutral-900);
	outline-offset: 2px;
}

/* A past event is stamped, and its date faded. */
html body.home .maere-tickets p.maere-tickets__stamp {
	flex: none;
	margin-left: auto;
	padding: 2px 8px;
	border: 2px solid currentColor;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.55;
	transform: rotate(-9deg);
}

.maere-tickets__item.is-past .maere-tickets__date {
	opacity: 0.65;
}

/*
 * Discourses (inc/interviews.php): the voice first. Columns under one heavy
 * rule, parted by thin ones; three to a view, moved with dots. No cards and no
 * shadows.
 */
.maere-voices-carousel {
	width: 100%;
}

html body.home .maere-voices {
	position: relative;
	display: flex;
	gap: var(--wp--preset--spacing--lg);
	width: 100%;
	margin: 0 0 var(--wp--preset--spacing--sm);
	padding: 0;
	overflow-x: auto;
	border-top: 2px solid var(--wp--preset--color--neutral-900);
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.maere-voices::-webkit-scrollbar {
	display: none;
}

html body.home .maere-voices__item {
	position: relative;
	display: flex;
	flex: 0 0 calc((100% - 2 * var(--wp--preset--spacing--lg)) / 3);
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: var(--wp--preset--spacing--sm) 0 0;
	scroll-snap-align: start;
}

/* The thin rule sits in the gap; at the left of a view it falls outside. */
.maere-voices__item + .maere-voices__item::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--wp--preset--spacing--lg) / -2);
	border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

html body.home .maere-voices .maere-voices__mark {
	height: 52px;
	margin: 0;
	font-family: Georgia, serif;
	font-size: 110px;
	line-height: 1;
	opacity: 0.3;
}

html body.home .maere-voices .maere-voices__quote {
	flex: 1 0 auto;
	margin: 0 0 var(--wp--preset--spacing--sm);
	padding: 0;
	border: 0;
	font-family: var(--wp--preset--font-family--secondary, inherit);
	font-size: clamp(23px, 2vw, 30px);
	font-style: normal;
	font-weight: 400;
	line-height: 1.28;
	overflow-wrap: break-word;
}

html body.home .maere-voices .maere-voices__quote p {
	margin: 0;
	font: inherit;
}

.maere-voices__who {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
	margin-bottom: var(--wp--preset--spacing--xs);
}

html body.home .maere-voices__who img {
	flex: none;
	width: 72px;
	height: 72px;
	margin: 0;
	border-radius: 50%;
	object-fit: cover;
}

html body.home .maere-voices .maere-voices__who p {
	margin: 0;
	line-height: 1.4;
}

.maere-voices__who strong {
	display: block;
	font-size: 17px;
}

.maere-voices__who span {
	display: block;
	font-size: 13px;
}

html body.home .maere-voices .maere-voices__more {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
}

.maere-voices__more a {
	color: inherit;
}

@media (max-width: 999px) {
	html body.home .maere-voices__item {
		flex-basis: calc((100% - var(--wp--preset--spacing--lg)) / 2);
	}
}

@media (max-width: 781px) {
	html body.home .maere-voices__item {
		flex-basis: 100%;
	}
}

/*
 * Journal spread (inc/spreads.php): text centered on one half, the image filling
 * the other, edge to edge. Phones show the image first.
 */
html body.home .wp-block-group.maere-band.maere-spread {
	padding: 0 !important;
}

html body.home .maere-spread > .maere-journal {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	width: 100%;
	max-width: none !important;
	height: clamp(520px, 44vw, 720px);
	margin: 0 !important;
}

.maere-journal__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--xs);
	min-width: 0;
	padding: var(--wp--preset--spacing--md) 8%;
	text-align: center;
}

html body.home .maere-journal__text > * {
	max-width: 620px;
	margin: 0;
}

html body.home .maere-journal .maere-journal__kicker,
html body.home .maere-column .maere-column__kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body.home .maere-journal .maere-journal__title {
	font-size: clamp(26px, 2.4vw, 38px);
	line-height: 1.18;
	overflow-wrap: break-word;
}

html body.home .maere-journal .maere-journal__excerpt {
	max-width: 520px;
	font-size: 17px;
	line-height: 1.6;
}

.maere-journal__kicker a,
.maere-journal__title a {
	color: inherit;
	text-decoration: none;
}

html body.home .maere-journal__more {
	justify-content: center;
}

.maere-journal__image {
	position: relative;
	display: block;
	min-height: 0;
}

html body.home .maere-journal__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
}

@media (max-width: 781px) {
	html body.home .maere-spread > .maere-journal {
		grid-template-columns: minmax(0, 1fr);
		height: auto;
	}

	.maere-journal__image {
		order: -1;
		aspect-ratio: 4 / 5;
	}

	.maere-journal__text {
		padding: var(--wp--preset--spacing--md) var(--wp--preset--spacing--sm);
	}
}

/*
 * Inquirer (inc/spreads.php): the column's name and picture beside its opening
 * paragraph, with two earlier columns beneath.
 */
html body.home .maere-column {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--wp--preset--spacing--xl);
	width: 100%;
	/* As wide as the other sections, not the narrow text column. */
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
}

.maere-column__lead {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
	min-width: 0;
	text-align: center;
}

html body.home .maere-column__lead > *,
html body.home .maere-column__body > p,
html body.home .maere-column__also p,
html body.home .maere-column__also h4 {
	margin: 0;
}

html body.home .maere-column .maere-column__title {
	max-width: 460px;
	font-size: 23px;
	line-height: 1.28;
}

.maere-column a {
	color: inherit;
	text-decoration: none;
}

.maere-column__image {
	display: block;
	width: 100%;
	max-width: 560px;
}

html body.home .maere-column__image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 0;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.maere-column__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--wp--preset--spacing--sm);
	min-width: 0;
}

html body.home .maere-column .maere-column__opening {
	font-size: 20px;
	line-height: 1.65;
}

.maere-column__opening::first-letter {
	float: left;
	padding: 6px 10px 0 0;
	font-family: var(--wp--preset--font-family--secondary, serif);
	font-size: 76px;
	line-height: 0.9;
}

html body.home .maere-column .maere-column__more a {
	font-size: 17px;
	font-weight: 700;
	text-decoration: underline;
}

html body.home .maere-column__also {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--md);
	margin: var(--wp--preset--spacing--sm) 0 0;
	padding: 0;
	list-style: none;
}

html body.home .maere-column__also li {
	display: flex;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--xs);
	margin: 0;
	padding-top: var(--wp--preset--spacing--xs);
	border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}

html body.home .maere-column__also h4 {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 16px;
	line-height: 1.35;
}

html body.home .maere-column__also img {
	flex: none;
	align-self: flex-start;
	width: 120px;
	height: 80px;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
}

@media (max-width: 999px) {
	html body.home .maere-column {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--md);
	}
}

@media (max-width: 781px) {
	html body.home .maere-column__also {
		grid-template-columns: minmax(0, 1fr);
	}

	html body.home .maere-column .maere-column__opening {
		font-size: 18px;
	}
}

/*
 * Expressions as a hang (inc/gallery.php): the latest exhibition large on a
 * dark wall, two beside it. Flat; the pictures keep their wide shape.
 */
html body.home .maere-hang {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
	color: var(--wp--preset--color--neutral-900);
}

html body.home .maere-hang :is(p, h2, h3) {
	margin: 0;
	color: inherit;
}

.maere-hang a:not(.wp-element-button) {
	color: inherit;
	text-decoration: none;
}

.maere-hang__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--xxs);
	padding-bottom: var(--wp--preset--spacing--md);
}

html body.home .maere-hang .maere-hang__kicker,
html body.home .maere-hang .maere-hang__all {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body.home .maere-hang .maere-hang__head .maere-hang__kicker {
	margin-bottom: var(--wp--preset--spacing--xxs);
}

html body.home .maere-hang .maere-hang__name {
	font-size: 36px;
	font-weight: 500;
}

.maere-hang__wall {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: var(--wp--preset--spacing--lg);
}

.maere-hang__wall.is-alone {
	grid-template-columns: minmax(0, 1fr);
}

.maere-hang__lead {
	min-width: 0;
}

.maere-hang__image {
	display: block;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 11 / 6;
}

html body.home .maere-hang__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html body.home .maere-hang__image:hover img {
	transform: scale(1.03);
}

.maere-hang__caption {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--md);
	padding-top: var(--wp--preset--spacing--sm);
}

.maere-hang__caption > div {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--2-xs, 12px);
}

html body.home .maere-hang .maere-hang__caption h3 {
	font-size: clamp(24px, 2.4vw, 34px);
	line-height: 1.18;
}

html body.home .maere-hang .maere-hang__excerpt {
	font-size: 15px;
	line-height: 1.65;
}

html body.home .maere-hang__side {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--md);
	margin: 0;
	padding: 0;
	list-style: none;
}

html body.home .maere-hang__side li {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--xxs);
	margin: 0;
	padding: 0;
	border: 0;
}

html body.home .maere-hang .maere-hang__side h3 {
	font-size: 19px;
	line-height: 1.3;
}

/* Stacked: the two sit side by side beneath the lead. */
@media (max-width: 999px) {
	.maere-hang__wall {
		grid-template-columns: minmax(0, 1fr);
	}

	html body.home .maere-hang__side {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.maere-hang__caption {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--xs);
	}

	html body.home .maere-hang__side {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.home .maere-hang__image img {
		transform: none !important;
		transition: none;
	}
}

/*
 * The cover (inc/cover.php, assets/cover.js): one story across the page with
 * its title over the foot of the picture, the next three beneath. Every story
 * shares one cell, so the height never changes.
 */
html body.home .wp-block-group.maere-lead.maere-lead-cover {
	padding: 0 !important;
}

html body.home .maere-lead-cover > .maere-cover {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	color: var(--wp--preset--color--neutral-900);
}

.maere-cover__stage {
	position: relative;
	display: grid;
	/* Sideways swipes are ours; the page still scrolls. */
	touch-action: pan-y;
}

.maere-cover__lead {
	position: relative;
	grid-area: 1 / 1;
	display: flex;
	align-items: flex-end;
	min-width: 0;
	height: clamp(460px, 42vw, 640px);
}

.maere-cover__lead:not(.is-current) {
	visibility: hidden;
	opacity: 0;
}

html body.home .maere-cover img.maere-cover__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	object-position: 50% 25%;
}

/*
 * The wash under the words keeps them readable on any photograph. They are not
 * positioned, so the headline's link stretches over the whole lead.
 */
.maere-cover__text {
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--xs);
	box-sizing: border-box;
	width: 100%;
	/* Room at the end for the controls. */
	padding: 140px 280px var(--wp--preset--spacing--md) var(--wp--preset--spacing--lg);
	background: linear-gradient(transparent, color-mix(in srgb, var(--wp--preset--color--neutral-50) 72%, transparent) 45%, var(--wp--preset--color--neutral-50));
}

html body.home .maere-cover :is(h2, h3, p) {
	margin: 0;
	color: inherit;
}

html body.home .maere-cover .maere-cover__kicker,
html body.home .maere-cover .maere-cover__next {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

html body.home .maere-cover .maere-cover__headline {
	max-width: 900px;
	font-size: clamp(28px, 3.6vw, 54px);
	line-height: 1.08;
	text-wrap: balance;
}

html body.home .maere-cover .maere-cover__excerpt {
	max-width: 680px;
	font-size: 17px;
	line-height: 1.55;
}

.maere-cover a {
	color: inherit;
	text-decoration: none;
}

.maere-cover__headline a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.maere-cover__headline a:focus-visible::after {
	outline: 2px solid var(--wp--preset--color--neutral-900);
	outline-offset: -4px;
}

/* Previous, pause, next and the count, at the foot of the picture. */
.maere-cover__controls {
	position: absolute;
	right: var(--wp--preset--spacing--lg);
	bottom: var(--wp--preset--spacing--md);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
}

.maere-cover__controls[hidden] {
	display: none;
}

html body.home .maere-cover__controls button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
	border-radius: 50%;
	background: color-mix(in srgb, var(--wp--preset--color--neutral-50) 45%, transparent);
	color: inherit;
	cursor: pointer;
}

html body.home .maere-cover__controls button[hidden] {
	display: none;
}

html body.home .maere-cover__controls .maere-records__pause .is-play,
html body.home .maere-cover__controls .maere-records__pause.is-stopped .is-pause {
	display: none;
}

html body.home .maere-cover__controls .maere-records__pause.is-stopped .is-play {
	display: block;
}

html body.home .maere-cover__controls .maere-records__pause svg {
	width: 18px;
	height: 18px;
}

.maere-cover__controls button:focus-visible,
.maere-cover__pick:focus-visible {
	outline: 2px solid var(--wp--preset--color--neutral-900);
	outline-offset: 2px;
}

html body.home .maere-cover .maere-cover__count {
	min-width: 48px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-align: right;
}

.maere-cover__below {
	padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--lg) var(--wp--preset--spacing--lg);
}

html body.home .maere-cover .maere-cover__next {
	margin-bottom: var(--wp--preset--spacing--2-xs, 12px);
	opacity: 0.75;
}

.maere-cover__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--sm);
}

.maere-cover__story {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--xxs);
	min-width: 0;
}

.maere-cover__story[hidden] {
	display: none;
}

/* The line over the next story fills until it takes the top. */
.maere-cover__line {
	position: relative;
	display: block;
	overflow: hidden;
	height: 3px;
	background: color-mix(in srgb, currentColor 22%, transparent);
}

.maere-cover__line::after {
	content: "";
	position: absolute;
	inset: 0;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
}

.maere-cover.is-auto .maere-cover__story.is-next .maere-cover__line::after {
	animation: maere-fill 7s linear forwards;
}

.maere-cover.is-auto.is-waiting .maere-cover__story.is-next .maere-cover__line::after {
	animation-play-state: paused;
}

.maere-cover__pick {
	display: block;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
	cursor: pointer;
}

html body.home .maere-cover__story img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 0;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.maere-cover__pick:hover img {
	transform: scale(1.03);
}

html body.home .maere-cover .maere-cover__title {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 20px;
	line-height: 1.3;
}

@media (prefers-reduced-motion: no-preference) {
	.maere-cover__lead {
		transition: opacity 0.5s ease, visibility 0s 0.5s;
	}

	.maere-cover__lead.is-current {
		transition: opacity 0.5s ease;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.home .maere-cover__story img {
		transform: none !important;
		transition: none;
	}
}

/*
 * Phones: the words under the picture, the controls under the words, and the
 * next stories in a row to swipe.
 */
@media (max-width: 781px) {
	.maere-cover__lead {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		height: auto;
	}

	html body.home .maere-cover img.maere-cover__image {
		position: static;
		height: auto;
		aspect-ratio: 4 / 3;
	}

	.maere-cover__text {
		padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--sm) 0;
		background: none;
	}

	html body.home .maere-cover .maere-cover__excerpt {
		display: none;
	}

	.maere-cover__controls {
		position: static;
		grid-area: 2 / 1;
		padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm) 0;
	}

	.maere-cover__below {
		padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
	}

	.maere-cover__row {
		display: flex;
		gap: var(--wp--preset--spacing--2-xs, 12px);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.maere-cover__story {
		flex: 0 0 62%;
	}

	html body.home .maere-cover .maere-cover__title {
		font-size: 15px;
	}
}

/*
 * Front page: the header row takes the dark of the cover's foot (neutral-50 in
 * dark), until it is pinned and follows what passes under it.
 */
html body.home header.site-header .maere-header-bar.maere-header-home.is-style-dark {
	background-color: var(--wp--preset--color--neutral-50) !important;
	color: var(--wp--preset--color--neutral-900);
}

/*
 * Mentions strip: the label leaves the row, so the logos spread evenly across
 * the page instead of leaning to one side.
 */
@media (min-width: 1000px) {
	html body.home .maere-mentions > .alignwide {
		position: relative;
		justify-content: space-evenly !important;
		gap: 0 !important;
	}

	html body.home .maere-mentions > .alignwide > p {
		position: absolute;
		top: 50%;
		left: 0;
		margin: 0;
		translate: 0 -50%;
	}
}

@media (max-width: 999px) {
	html body.home .maere-mentions > .alignwide {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		justify-items: center;
		align-items: center;
		gap: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--xs) !important;
	}

	/* The label heads the logos, read across. */
	html body.home .maere-mentions > .alignwide > p {
		grid-column: 1 / -1;
		margin: 0;
		writing-mode: horizontal-tb !important;
		rotate: none;
		transform: none !important;
		text-align: center !important;
	}

	html body.home .maere-mentions > .alignwide > figure {
		max-width: 100%;
		margin: 0;
	}
}

/*
 * Hover and focus take theme.json's link color (primary-500, which dark
 * sections redefine). The front page sections set their links to inherit,
 * which would otherwise cancel it. Buttons keep their own colors.
 */
html body :is(.maere-cover, .maere-desk, .maere-chronicles, .maere-sound, .maere-vault, .maere-shelf, .maere-record, .maere-videos, .maere-expedition, .maere-scope, .maere-column, .maere-journal, .maere-hang, .maere-films, .maere-games, .maere-tickets, .maere-records, .maere-voices-carousel, .maere-post-adjacent, .maere-tabbed, .maere-talk) a:not(.wp-element-button, .wp-block-button__link, .maere-tickets__buy > a):is(:hover, :focus-visible) {
	color: var(--wp--preset--color--primary-500);
}

/*
 * No link is underlined on hover or keyboard focus, anywhere. Keyboard focus
 * still shows its outline.
 */
html body a:hover,
html body a:hover *,
html body a:focus-visible,
html body a:focus-visible * {
	text-decoration-line: none !important;
}

/*
 * The national desk (inc/national-desk.php): a rule in the flag's colors and
 * proportions, then lead, three more and the count by city, parted by thin rules.
 */
html body.home .maere-desk {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
}

.maere-desk__flag {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	height: 4px;
	margin-bottom: var(--wp--preset--spacing--md);
}

.maere-desk__flag i:nth-child(1) {
	background: var(--wp--preset--color--warning-500);
}

.maere-desk__flag i:nth-child(2) {
	background: var(--wp--preset--color--info-600);
}

.maere-desk__flag i:nth-child(3) {
	background: var(--wp--preset--color--error-600);
}

.maere-desk__grid {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) minmax(0, 2.2fr);
}

.maere-desk__lead,
.maere-desk__more,
.maere-desk__cities {
	min-width: 0;
}

.maere-desk__lead {
	padding-right: var(--wp--preset--spacing--md);
}

.maere-desk__more {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--sm);
	padding: 0 var(--wp--preset--spacing--md);
	border-inline: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}

.maere-desk__more article + article {
	padding-top: var(--wp--preset--spacing--sm);
	border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

.maere-desk__cities {
	padding-left: var(--wp--preset--spacing--md);
}

html body.home .maere-desk :is(h3, p, ul, li) {
	margin: 0;
}

html body.home .maere-desk .maere-desk__kicker {
	margin-bottom: var(--wp--preset--spacing--xxs);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.maere-desk a {
	color: inherit;
	text-decoration: none;
}

html body.home .maere-desk .maere-desk__headline {
	margin-bottom: var(--wp--preset--spacing--xs);
	font-size: clamp(26px, 2.5vw, 36px);
	line-height: 1.14;
}

html body.home .maere-desk .maere-desk__opening {
	margin-bottom: var(--wp--preset--spacing--sm);
	font-size: 16px;
	line-height: 1.65;
}

html body.home .maere-desk .maere-desk__title {
	margin-bottom: var(--wp--preset--spacing--xxs);
	font-size: 19px;
	line-height: 1.3;
}

html body.home .maere-desk .maere-desk__summary {
	font-size: 14px;
	line-height: 1.55;
}

.maere-desk__dateline {
	font-size: 0.86em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

html body.home .maere-desk__image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 16 / 8;
	object-fit: cover;
}

html body.home .maere-desk__cities ul {
	padding: 0;
	list-style: none;
}

.maere-desk__cities li a {
	display: flex;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--xs);
	padding: var(--wp--preset--spacing--2-xs, 12px) 0;
	border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

.maere-desk__cities b {
	font-weight: 600;
	opacity: 0.65;
}

html body.home .maere-desk .maere-desk__all {
	margin-top: var(--wp--preset--spacing--sm);
	font-size: 14px;
	font-weight: 700;
}

/* The latest books by Colombian authors, three across beneath the desk. */
.maere-desk__books {
	margin-top: var(--wp--preset--spacing--sm);
	padding-top: var(--wp--preset--spacing--sm);
	border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}

.maere-desk__shelfhead {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: var(--wp--preset--spacing--xs);
	margin-bottom: var(--wp--preset--spacing--sm);
}

html body.home .maere-desk .maere-desk__shelfhead p {
	margin-bottom: 0;
}

.maere-desk__shelfhead a {
	font-size: 14px;
	font-weight: 700;
}

html body.home .maere-desk__books ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 0;
	list-style: none;
}

html body.home .maere-desk__books .maere-desk__book {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
	min-width: 0;
	margin: 0;
	padding: 0 var(--wp--preset--spacing--md);
	/* The theme rules list items off underneath; these are columns. */
	border-width: 0 0 0 1px;
	border-style: solid;
	border-color: color-mix(in srgb, currentColor 18%, transparent);
}

html body.home .maere-desk__books .maere-desk__book:first-child {
	padding-left: 0;
	border-left: 0;
}

html body.home .maere-desk__books .maere-desk__book:last-child {
	padding-right: 0;
}

.maere-desk__cover {
	display: block;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
}

html body.home .maere-desk__cover img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html body.home .maere-desk__cover:hover img {
	transform: scale(1.03);
}

html body.home .maere-desk .maere-desk__booktitle {
	font-size: 20px;
	line-height: 1.3;
}

html body.home .maere-desk .maere-desk__author {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 13px;
	font-weight: 600;
}

html body.home .maere-desk .maere-desk__booksummary {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 14px;
	line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
	html body.home .maere-desk__cover img {
		transform: none !important;
		transition: none;
	}
}

/*
 * Beneath the city count, the hooded figure at the well. Like the other figures:
 * wide screens' side column, light mode only.
 */
@media (min-width: 1100px) {
	.maere-desk__cities::after {
		content: "";
		display: block;
		height: 190px;
		margin-top: var(--wp--preset--spacing--md);
		background: color-mix(in srgb, var(--wp--preset--color--neutral-500) 50%, var(--wp--preset--color--neutral-400));
		-webkit-mask: url("/wp-content/themes/maere/assets/figures/pantagruel-p82.webp") center top / contain no-repeat;
		mask: url("/wp-content/themes/maere/assets/figures/pantagruel-p82.webp") center top / contain no-repeat;
	}

	html body.home.is-style-dark .maere-desk__cities::after,
	html body.home .is-style-dark .maere-desk__cities::after {
		display: none;
	}
}

/*
 * Catfeine Coffee (inc/catfeine.php): logo on paper, invitation on warm black,
 * across the section beneath the books; a square on phones.
 */
/*
 * As far from the books as from the section below (two section paddings),
 * counting the label's 26px.
 */
.maere-catfeine-ad {
	margin-top: calc(2 * var(--wp--preset--spacing--lg) - 26px);
}

/* A paid placement says so. */
html body.home .maere-catfeine-ad .maere-catfeine-ad__label {
	margin: 0 0 var(--wp--preset--spacing--xxs);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-align: right;
	text-transform: uppercase;
}

.maere-catfeine {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	overflow: hidden;
	min-height: 240px;
	border-radius: var(--wp--custom--border--radius, 6px);
}

.maere-catfeine__sheet {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--wp--preset--spacing--sm);
	background: var(--wp--preset--color--neutral-50);
}

html body.home .maere-catfeine__sheet img {
	display: block;
	width: 100%;
	max-width: 330px;
	height: auto;
	margin: 0;
	border-radius: 0;
}

html body.home .maere-catfeine__copy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--sm);
	padding: var(--wp--preset--spacing--md) var(--wp--preset--spacing--ml);
	background: var(--wp--preset--color--neutral-0);
	color: var(--wp--preset--color--neutral-900);
}

/* The button stays at the side; the words wrap to leave it room. */
@media (min-width: 1100px) {
	.maere-catfeine__copy > div {
		flex: 1 1 320px;
		min-width: 0;
	}
}

html body.home .maere-catfeine :is(p) {
	margin: 0;
	color: var(--wp--preset--color--neutral-900);
}

html body.home .maere-catfeine .maere-catfeine__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

html body.home .maere-catfeine .maere-catfeine__head {
	margin: var(--wp--preset--spacing--xxs) 0;
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: clamp(24px, 2.4vw, 34px);
	font-weight: 500;
	line-height: 1.15;
}

html body.home .maere-catfeine .maere-catfeine__text {
	font-size: 15px;
	line-height: 1.6;
}

/* The whole banner answers a click; the button stays the one link. */
html body.home .maere-catfeine a.maere-catfeine__order {
	display: inline-flex;
	gap: var(--wp--preset--spacing--xxs);
	padding: var(--wp--preset--spacing--2-xs, 12px) var(--wp--preset--spacing--sm);
	border: 1px solid var(--wp--preset--color--neutral-900);
	border-radius: var(--wp--custom--border--radius, 6px);
	color: var(--wp--preset--color--neutral-900);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.maere-catfeine__order::after {
	content: "";
	position: absolute;
	inset: 0;
}

html body.home .maere-catfeine a.maere-catfeine__order:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--neutral-900);
	color: var(--wp--preset--color--neutral-0);
}

.maere-catfeine__order:focus-visible {
	outline: 2px solid var(--wp--preset--color--neutral-900);
	outline-offset: 3px;
}

@media (max-width: 781px) {
	.maere-catfeine {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: 2fr 3fr;
		aspect-ratio: 1;
		min-height: 0;
		width: 100%;
	}

	.maere-catfeine-ad {
		width: 100%;
		max-width: 480px;
		margin-inline: auto;
	}

	.maere-catfeine__sheet {
		min-height: 0;
		padding: var(--wp--preset--spacing--xs);
	}

	html body.home .maere-catfeine__sheet img {
		max-width: 66%;
	}

	html body.home .maere-catfeine__copy {
		flex-direction: column;
		justify-content: center;
		gap: var(--wp--preset--spacing--2-xs, 12px);
		padding: var(--wp--preset--spacing--xs);
		text-align: center;
	}

	html body.home .maere-catfeine .maere-catfeine__kicker {
		display: none;
	}

	html body.home .maere-catfeine .maere-catfeine__head {
		margin-top: 0;
		font-size: clamp(19px, 6vw, 28px);
	}

	html body.home .maere-catfeine .maere-catfeine__text {
		font-size: 13px;
		line-height: 1.5;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.home .maere-catfeine a.maere-catfeine__order {
		transition: none;
	}
}

/* The city count moves beneath, read across. */
@media (max-width: 1099px) {
	.maere-desk__grid {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	}

	.maere-desk__more {
		border-right: 0;
		padding-right: 0;
	}

	.maere-desk__cities {
		grid-column: 1 / -1;
		margin-top: var(--wp--preset--spacing--md);
		padding: var(--wp--preset--spacing--sm) 0 0;
		border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent);
	}

	/* Narrower, the books take a row each. */
	html body.home .maere-desk__books ul {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--sm);
	}

	html body.home .maere-desk__books .maere-desk__book {
		grid-template-columns: 110px minmax(0, 1fr);
		padding: 0;
		border-left: 0;
	}

	html body.home .maere-desk__cities ul {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
		column-gap: var(--wp--preset--spacing--sm);
	}
}

@media (max-width: 781px) {
	.maere-desk__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.maere-desk__lead {
		padding-right: 0;
	}

	.maere-desk__more {
		margin-top: var(--wp--preset--spacing--sm);
		padding: var(--wp--preset--spacing--sm) 0 0;
		border: 0;
		border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent);
	}

	html body.home .maere-desk__cities ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/*
 * Andean as a timeline of chronicles (inc/chronicles.php): large periods on one
 * line, each chronicle hanging from its moment. Phones turn the line upright.
 */
html body.home .maere-stage {
	--maere-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html body.home .maere-chronicles {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
}

html body.home .maere-chronicles :is(p, h2, h3) {
	margin: 0;
}

.maere-chronicles a:not(.wp-element-button) {
	color: inherit;
	text-decoration: none;
}

html body.home .maere-chronicles__head {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	min-height: 104px;
	padding-bottom: var(--wp--preset--spacing--xs);
}

/* The section's figure stands level with the heading rather than hanging from the top. */
@media (min-width: 782px) {
	html body.home .maere-figure:has(.maere-chronicles, .maere-sound, .maere-vault, .maere-shelf, .maere-videos, .maere-expedition)::after {
		display: none;
	}

	html body.home .maere-figure :is(.maere-chronicles__head, .maere-sound__head, .maere-vault__head, .maere-shelf__head, .maere-videos__head, .maere-expedition__head) {
		position: relative;
		min-height: 120px;
	}

	html body.home .maere-figure :is(.maere-chronicles__head, .maere-sound__head, .maere-vault__head, .maere-shelf__head, .maere-videos__head, .maere-expedition__head)::after {
		content: "";
		position: absolute;
		right: 4%;
		bottom: 0;
		width: 86px;
		height: 114px;
		background: color-mix(in srgb, var(--wp--preset--color--neutral-500) 50%, var(--wp--preset--color--neutral-400));
		pointer-events: none;
		-webkit-mask: var(--maere-figure-image) center bottom / contain no-repeat;
		mask: var(--maere-figure-image) center bottom / contain no-repeat;
	}

	html body.home.is-style-dark .maere-figure :is(.maere-chronicles__head, .maere-sound__head, .maere-vault__head, .maere-shelf__head, .maere-videos__head, .maere-expedition__head)::after,
	html body.home .is-style-dark :is(.maere-chronicles__head, .maere-sound__head, .maere-vault__head, .maere-shelf__head, .maere-videos__head, .maere-expedition__head)::after,
	html body.home .maere-figure.is-style-dark :is(.maere-chronicles__head, .maere-sound__head, .maere-vault__head, .maere-shelf__head, .maere-videos__head, .maere-expedition__head)::after {
		display: none;
	}
}

html body.home .maere-chronicles .maere-chronicles__kicker {
	margin-bottom: var(--wp--preset--spacing--xxs);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body.home .maere-chronicles .maere-chronicles__name {
	font-size: 36px;
	font-weight: 500;
}

/*
 * The stage (assets/stage.js): one chronicle at a time, picture beside text, with
 * the periods beneath. Without the script every chronicle is listed in turn.
 */
html body.home .maere-stage__slides {
	display: grid;
	gap: var(--wp--preset--spacing--lg);
	margin: var(--wp--preset--spacing--md) 0 0;
	padding: 0;
	list-style: none;
}

html body.home .maere-stage__slide {
	display: grid;
	grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
	align-items: center;
	gap: var(--wp--preset--spacing--lg);
	min-width: 0;
	margin: 0;
}

.maere-stage__image {
	display: block;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 16 / 9;
}

html body.home .maere-stage__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform 0.6s var(--maere-ease);
}

html body.home .maere-stage__image:hover img {
	transform: scale(1.03);
}

.maere-stage__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--xs);
	min-width: 0;
	overflow-wrap: break-word;
}

html body.home .maere-stage .maere-stage__year {
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: clamp(56px, 7vw, 112px);
	font-weight: 300;
	letter-spacing: -0.03em;
	line-height: 0.95;
}

/* A span of years is longer than the column allows at full size. */
html body.home .maere-stage .maere-stage__year.is-span {
	font-size: clamp(44px, 4.8vw, 76px);
}

html body.home .maere-stage .maere-stage__place {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body.home .maere-stage .maere-stage__title {
	font-size: clamp(22px, 2.1vw, 30px);
	font-weight: 500;
	line-height: 1.25;
}

html body.home .maere-stage .maere-stage__excerpt {
	font-size: 15px;
	line-height: 1.65;
}

.maere-stage.is-live .maere-stage__slides {
	gap: 0;
	touch-action: pan-y;
}

/* Every chronicle shares one cell, so the height never jumps. */
html body.home .maere-stage.is-live .maere-stage__slide {
	grid-area: 1 / 1;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s var(--maere-ease), visibility 0s 0.5s;
}

html body.home .maere-stage.is-live .maere-stage__slide.is-current {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.5s var(--maere-ease);
}

html body.home .maere-stage.is-live .maere-stage__slide:not(.is-current) img {
	transform: scale(1.06);
}

.maere-stage.is-live .maere-stage__text > * {
	opacity: 0;
	translate: 0 12px;
}

.maere-stage.is-live .is-current .maere-stage__text > * {
	opacity: 1;
	translate: 0 0;
	transition: opacity 0.4s var(--maere-ease), translate 0.5s var(--maere-ease);
}

.maere-stage.is-live .is-current .maere-stage__text > :nth-child(2) {
	transition-delay: 0.05s;
}

.maere-stage.is-live .is-current .maere-stage__text > :nth-child(3) {
	transition-delay: 0.1s;
}

.maere-stage.is-live .is-current .maere-stage__text > :nth-child(4) {
	transition-delay: 0.15s;
}

.maere-stage.is-live .is-current .maere-stage__text > :nth-child(5) {
	transition-delay: 0.2s;
}

html body.home .maere-stage__nav {
	display: flex;
	align-items: flex-end;
	gap: var(--wp--preset--spacing--xs);
	margin-top: var(--wp--preset--spacing--ml);
}

html body.home .maere-stage__nav[hidden] {
	display: none;
}

/* Outlined, and level with the line. */
html body.home .maere-stage__nav .maere-records__pause {
	flex: none;
	width: 36px;
	height: 36px;
	margin-bottom: 4px;
	border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
}

.maere-stage__rail {
	position: relative;
	display: grid;
	flex: 1;
	grid-auto-columns: minmax(max-content, 1fr);
	grid-auto-flow: column;
	min-width: 0;
	padding: 4px 0;
	overflow-x: auto;
	scrollbar-width: none;
}

html body.home .maere-stage__period {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--2-xs, 12px);
	min-width: 112px;
	padding: 0 var(--wp--preset--spacing--xs) 4px 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--neutral-500);
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.3s var(--maere-ease);
}

html body.home .maere-stage__period:hover,
html body.home .maere-stage__period[aria-current="true"] {
	color: var(--wp--preset--color--neutral-900);
}

.maere-stage__period:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}

.maere-stage__mark {
	position: relative;
	width: 100%;
	height: 28px;
}

/* The line reaches across the padding to the next period, and fills once passed. */
.maere-stage__mark::before,
.maere-stage__mark::after {
	content: "";
	position: absolute;
	top: 13.5px;
	right: calc(-1 * var(--wp--preset--spacing--xs));
	left: 0;
	height: 1px;
	background: color-mix(in srgb, currentColor 35%, transparent);
}

.maere-stage__mark::after {
	top: 13px;
	height: 2px;
	background: var(--wp--preset--color--neutral-900);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.6s var(--maere-ease);
}

.is-past .maere-stage__mark::after {
	transform: scaleX(1);
}

.maere-stage__dot {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

.maere-stage__dot::before {
	content: "";
	position: absolute;
	inset: 9px;
	border-radius: 50%;
	background: currentColor;
}

/*
 * The line is the timer: from the current dot it fills like a progress bar for
 * six seconds, then the next follows.
 */
@keyframes maere-fill-down {
	from {
		transform: scaleY(0);
	}
	to {
		transform: scaleY(1);
	}
}

@keyframes maere-fill {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

.maere-stage.is-auto [aria-current="true"] .maere-stage__mark::after {
	animation: maere-fill 6s linear forwards;
	transition: none;
}

.maere-stage.is-auto.is-waiting [aria-current="true"] .maere-stage__mark::after {
	animation-play-state: paused;
}

html body.home .maere-chronicles .maere-chronicles__all {
	margin-top: var(--wp--preset--spacing--sm);
	font-size: 14px;
	font-weight: 600;
}

@media (max-width: 999px) {
	html body.home .maere-stage__slide {
		grid-template-columns: minmax(0, 1fr);
		align-content: start;
		gap: var(--wp--preset--spacing--sm);
	}
}

@media (max-width: 781px) {
	.maere-stage__image {
		aspect-ratio: 4 / 3;
	}

	html body.home .maere-stage__period {
		min-width: 96px;
		font-size: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.home .maere-stage *,
	html body.home .maere-stage *::before,
	html body.home .maere-stage *::after {
		transition: none !important;
	}

	html body.home .maere-stage .maere-stage__image img {
		transform: none !important;
	}

	.maere-stage.is-live .maere-stage__text > * {
		translate: 0 0;
	}
}

/*
 * Sound (inc/sound.php): Colombian releases on the stage, a music event's
 * poster beside them.
 */
/* Its own ground, a shade between the page's two tones (#e4e3e2). */
html body.home .wp-block-group.maere-band.maere-sound-band {
	--maere-band: color-mix(in srgb, var(--wp--preset--color--neutral-50) 80%, var(--wp--preset--color--primary-400));
	padding-bottom: var(--wp--preset--spacing--lg) !important;
}

html body.home .maere-sound {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
}

html body.home .maere-sound :is(p, h2, h3) {
	margin: 0;
}

.maere-sound a:not(.wp-element-button) {
	color: inherit;
	text-decoration: none;
}

html body.home .maere-sound__head {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	min-height: 104px;
	padding-bottom: var(--wp--preset--spacing--xs);
}

html body.home .maere-sound .maere-sound__head .maere-sound__kicker {
	margin-bottom: var(--wp--preset--spacing--xxs);
	font-size: 12px;
	font-weight: 400;
}

html body.home .maere-sound .maere-sound__name {
	font-size: 36px;
	font-weight: 500;
}

html body.home .maere-sound .maere-sound__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.maere-sound__grid {
	display: grid;
	grid-template-columns: minmax(0, 8.6fr) minmax(0, 3.4fr);
	gap: var(--wp--preset--spacing--lg);
	margin-top: var(--wp--preset--spacing--sm);
}

.maere-sound__grid > div {
	min-width: 0;
}

.maere-sound__grid.is-alone {
	grid-template-columns: minmax(0, 1fr);
}

html body.home .maere-sound .maere-stage__slides {
	margin-top: 0;
}

/* Sleeves are square, half the stage. */
html body.home .maere-sound .maere-stage__slide {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--wp--preset--spacing--ml);
}

.maere-sound .maere-stage__image {
	aspect-ratio: 1;
}

html body.home .maere-sound .maere-stage .maere-stage__title {
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.12;
}

/* The line first, then the artist and the release. */
.maere-sound .maere-stage__mark {
	order: -1;
}

html body.home .maere-sound .maere-stage__period {
	justify-content: flex-start;
	gap: var(--wp--preset--spacing--xxs);
	min-width: 0;
	white-space: normal;
}

.maere-sound .maere-stage__rail {
	grid-auto-columns: minmax(150px, 1fr);
}

html body.home .maere-sound .maere-stage__section {
	font-size: 22px;
}

html body.home .maere-sound .maere-stage__headline {
	font-family: var(--wp--preset--font-family--primary, Lexend, sans-serif);
	font-size: 13px;
	font-weight: 400;
}

html body.home .maere-sound .maere-stage__nav {
	align-items: center;
}

.maere-sound__poster {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--2-xs, 12px);
	min-width: 0;
	padding-left: var(--wp--preset--spacing--ml);
	border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

.maere-sound__bill {
	display: block;
	overflow: hidden;
	width: 100%;
	border-radius: var(--wp--custom--border--radius, 6px);
}

html body.home .maere-sound__bill img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html body.home .maere-sound__bill:hover img {
	transform: scale(1.03);
}

html body.home .maere-sound .maere-sound__poster h3 {
	font-size: 22px;
	line-height: 1.3;
}

html body.home .maere-sound .maere-sound__all {
	margin-top: var(--wp--preset--spacing--sm);
	font-size: 14px;
	font-weight: 700;
}

@media (max-width: 999px) {
	.maere-sound__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.maere-sound__poster {
		padding: var(--wp--preset--spacing--sm) 0 0;
		border-left: 0;
		border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	}

	.maere-sound__bill {
		max-width: 420px;
	}
}

@media (max-width: 781px) {
	html body.home .maere-sound .maere-stage__slide {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--sm);
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.home .maere-sound__bill img {
		transform: none !important;
		transition: none;
	}
}

/*
 * History as a catalogue (inc/vault.php): the newest file large, the three
 * before it numbered beside it.
 */
html body.home .wp-block-group.maere-band.maere-vault-band {
	padding-bottom: var(--wp--preset--spacing--lg) !important;
}

html body.home .maere-vault {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
}

html body.home .maere-vault :is(p, h2, h3) {
	margin: 0;
}

.maere-vault a {
	color: inherit;
	text-decoration: none;
}

html body.home .maere-vault__head {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	min-height: 104px;
	padding-bottom: var(--wp--preset--spacing--xs);
}

html body.home .maere-vault .maere-vault__head .maere-vault__kicker {
	margin-bottom: var(--wp--preset--spacing--xxs);
	font-size: 12px;
	font-weight: 400;
}

html body.home .maere-vault .maere-vault__name {
	font-size: 36px;
	font-weight: 500;
}

html body.home .maere-vault .maere-vault__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.maere-vault__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: var(--wp--preset--spacing--lg);
	margin-top: var(--wp--preset--spacing--sm);
}

.maere-vault__grid.is-alone {
	grid-template-columns: minmax(0, 1fr);
}

.maere-vault__lead {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--2-xs, 12px);
	min-width: 0;
}

.maere-vault__image {
	display: block;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
}

html body.home .maere-vault__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html body.home .maere-vault__image:hover img {
	transform: scale(1.03);
}

.maere-vault__lead .maere-vault__image {
	aspect-ratio: 16 / 9;
	margin-bottom: var(--wp--preset--spacing--xxs);
}

html body.home .maere-vault .maere-vault__lead h3 {
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.2;
}

html body.home .maere-vault .maere-vault__excerpt {
	font-size: 15px;
	line-height: 1.65;
}

html body.home .maere-vault__files {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

html body.home .maere-vault__files li {
	display: grid;
	flex: 1;
	grid-template-columns: 56px minmax(0, 1fr) minmax(0, 180px);
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
	margin: 0;
	padding: var(--wp--preset--spacing--sm) 0;
	/* The theme rules list items underneath; keep only between files. */
	border-width: 0 0 1px;
	border-style: solid;
	border-color: color-mix(in srgb, currentColor 18%, transparent);
}

html body.home .maere-vault__files li:first-child {
	padding-top: 0;
}

html body.home .maere-vault__files li:last-child {
	padding-bottom: 0;
	border-bottom-width: 0;
}

.maere-vault__number {
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: 44px;
	font-weight: 300;
	line-height: 1;
}

html body.home .maere-vault .maere-vault__files h3 {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 20px;
	line-height: 1.3;
}

.maere-vault__files .maere-vault__image {
	aspect-ratio: 16 / 10;
}

html body.home .maere-vault .maere-vault__all {
	margin-top: var(--wp--preset--spacing--sm);
	font-size: 14px;
	font-weight: 700;
}

@media (max-width: 999px) {
	.maere-vault__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 781px) {
	html body.home .maere-vault__files li {
		grid-template-columns: 40px minmax(0, 1fr) 96px;
		gap: var(--wp--preset--spacing--xs);
		padding: var(--wp--preset--spacing--xs) 0;
	}

	.maere-vault__number {
		font-size: 28px;
	}

	html body.home .maere-vault .maere-vault__files h3 {
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.home .maere-vault__image img {
		transform: none !important;
		transition: none;
	}
}

/*
 * Bookshelf as the reading desk (inc/shelf.php): the newest cover large with
 * its words, the three before it beside them.
 */
html body.home .wp-block-group.maere-band.maere-shelf-band {
	padding-bottom: var(--wp--preset--spacing--lg) !important;
}

html body.home .maere-shelf {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
}

html body.home .maere-shelf :is(p, h2, h3) {
	margin: 0;
}

.maere-shelf a:not(.wp-element-button) {
	color: inherit;
	text-decoration: none;
}

html body.home .maere-shelf__head {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	min-height: 104px;
	padding-bottom: var(--wp--preset--spacing--xs);
}

html body.home .maere-shelf .maere-shelf__head .maere-shelf__kicker {
	margin-bottom: var(--wp--preset--spacing--xxs);
	font-size: 12px;
	font-weight: 400;
}

html body.home .maere-shelf .maere-shelf__name {
	font-size: 36px;
	font-weight: 500;
}

html body.home .maere-shelf .maere-shelf__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.maere-shelf__grid {
	display: grid;
	grid-template-columns: minmax(0, 3.6fr) minmax(0, 4.4fr) minmax(0, 4fr);
	align-items: center;
	gap: var(--wp--preset--spacing--lg);
	margin-top: var(--wp--preset--spacing--sm);
}

.maere-shelf__cover {
	display: block;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 2 / 3;
}

html body.home .maere-shelf__cover img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html body.home .maere-shelf__cover:hover img {
	transform: scale(1.03);
}

.maere-shelf__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--xs);
	min-width: 0;
}

html body.home .maere-shelf .maere-shelf__text h3 {
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.2;
}

html body.home .maere-shelf .maere-shelf__excerpt {
	font-size: 15px;
	line-height: 1.65;
}

html body.home .maere-shelf__more {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: 0 0 0 var(--wp--preset--spacing--ml);
	list-style: none;
	border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

html body.home .maere-shelf__more li {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
	margin: 0;
	padding: var(--wp--preset--spacing--xs) 0;
	/* The theme rules list items underneath; keep only between readings. */
	border-width: 0 0 1px;
	border-style: solid;
	border-color: color-mix(in srgb, currentColor 18%, transparent);
}

html body.home .maere-shelf__more li:first-child {
	padding-top: 0;
}

html body.home .maere-shelf__more li:last-child {
	padding-bottom: 0;
	border-bottom-width: 0;
}

html body.home .maere-shelf .maere-shelf__more h3 {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 19px;
	line-height: 1.3;
}

html body.home .maere-shelf .maere-shelf__all {
	margin-top: var(--wp--preset--spacing--sm);
	font-size: 14px;
	font-weight: 700;
}

/* Tablets: the cover beside its words, the three beneath. */
@media (max-width: 999px) {
	.maere-shelf__grid {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		gap: var(--wp--preset--spacing--sm);
	}

	html body.home .maere-shelf__more {
		grid-column: 1 / -1;
		padding: var(--wp--preset--spacing--sm) 0 0;
		border-left: 0;
		border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	}
}

@media (max-width: 781px) {
	.maere-shelf__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.maere-shelf__grid > .maere-shelf__cover {
		width: 78%;
		max-width: 320px;
		margin-inline: auto;
	}

	html body.home .maere-shelf__more li {
		grid-template-columns: 80px minmax(0, 1fr);
		gap: var(--wp--preset--spacing--xs);
	}

	html body.home .maere-shelf .maere-shelf__more h3 {
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.home .maere-shelf__cover img {
		transform: none !important;
		transition: none;
	}
}

/*
 * Inquirer as The Record (inc/record.php): the newest investigation, a timeline
 * of its dated facts, and the two before it. Sound's ground and ink.
 */
html body.home .wp-block-group.maere-band.maere-record-band {
	--maere-band: color-mix(in srgb, var(--wp--preset--color--neutral-50) 80%, var(--wp--preset--color--primary-400));
	padding-top: var(--wp--preset--spacing--lg) !important;
	padding-bottom: var(--wp--preset--spacing--lg) !important;
}

html body.home .maere-record {
	--maere-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
	color: var(--wp--preset--color--neutral-900);
}

html body.home .maere-record :is(p, h2, h3) {
	margin: 0;
	color: inherit;
}

.maere-record a:not(.wp-element-button) {
	color: inherit;
	text-decoration: none;
}

html body.home .maere-record__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-bottom: var(--wp--preset--spacing--sm);
}

html body.home .maere-record .maere-record__head .maere-record__kicker {
	margin-bottom: var(--wp--preset--spacing--xxs);
	font-size: 12px;
	font-weight: 400;
}

html body.home .maere-record .maere-record__name {
	font-size: 36px;
	font-weight: 500;
}

html body.home .maere-record .maere-record__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.maere-record__lead {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: var(--wp--preset--spacing--lg);
}

.maere-record__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--xs);
	min-width: 0;
}

html body.home .maere-record .maere-record__text h3 {
	font-size: clamp(28px, 3.2vw, 46px);
	line-height: 1.12;
}

html body.home .maere-record .maere-record__excerpt {
	font-size: 15px;
	line-height: 1.65;
}

.maere-record__image {
	display: block;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 16 / 9;
}

html body.home .maere-record__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform 0.6s var(--maere-ease);
}

html body.home .maere-record__image:hover img {
	transform: scale(1.03);
}

.maere-record__line {
	margin-top: var(--wp--preset--spacing--lg);
}

.maere-record__linehead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--wp--preset--spacing--xxs);
}

html body.home .maere-record__line ol {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

html body.home .maere-record__line li {
	position: relative;
	margin: 0;
	padding: 40px var(--wp--preset--spacing--md) 0 0;
	border: 0;
}

.maere-record__line li::before {
	content: "";
	position: absolute;
	top: 13.5px;
	right: 0;
	left: 0;
	height: 1px;
	background: color-mix(in srgb, currentColor 30%, transparent);
}

.maere-record__dot {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

.maere-record__dot::before {
	content: "";
	position: absolute;
	inset: 9px;
	border-radius: 50%;
	background: currentColor;
}

html body.home .maere-record .maere-record__when {
	margin-bottom: var(--wp--preset--spacing--xxs);
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: clamp(24px, 2.4vw, 34px);
	font-weight: 300;
	line-height: 1.05;
}

.maere-record__when span {
	display: block;
}

html body.home .maere-record .maere-record__fact {
	font-size: 13px;
	line-height: 1.6;
}

/* With the script the line fills from moment to moment, as on the stages. */
.maere-record__line.is-live li {
	cursor: pointer;
}

/* The other moments keep their words in full; only their dots step back. */
.maere-record__line.is-live li:not(.is-on) .maere-record__dot {
	opacity: 0.45;
}

.maere-record__line.is-live li.is-on::after {
	content: "";
	position: absolute;
	top: 13px;
	right: 0;
	left: 0;
	height: 2px;
	background: currentColor;
	transform-origin: left;
	animation: maere-fill 6s linear forwards;
}

.maere-record__line.is-waiting li.is-on::after {
	animation-play-state: paused;
}

html body.home .maere-record__others {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--wp--preset--spacing--lg);
	margin: var(--wp--preset--spacing--lg) 0 0;
	padding: 0;
	list-style: none;
}

html body.home .maere-record__others li {
	position: relative;
	margin: 0;
	padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--md) 0 0;
	border-width: 1px 0 0;
	border-style: solid;
	border-color: color-mix(in srgb, currentColor 20%, transparent);
}

/* A single earlier case takes the whole row. */
html body.home .maere-record__others li:only-child {
	grid-column: 1 / -1;
}

/* A rectangular picture ahead of each earlier case. */
html body.home .maere-record__others li.has-picture {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
}

/* With a picture, the arrow sits level with its middle. */
.maere-record__others li.has-picture .maere-record__arrow {
	top: 50%;
}

.maere-record__thumb {
	display: block;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 16 / 10;
}

html body.home .maere-record__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform 0.6s var(--maere-ease);
}

html body.home .maere-record__others li:hover .maere-record__thumb img {
	transform: scale(1.03);
}

.maere-record__others li .maere-record__arrow {
	position: absolute;
	top: var(--wp--preset--spacing--xs);
	right: 0;
}

html body.home .maere-record .maere-record__others h3 {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 20px;
	line-height: 1.3;
}

.maere-record__others h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

@media (max-width: 999px) {
	.maere-record__lead {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--sm);
	}

	.maere-record__image {
		order: -1;
	}
}

/* Phones: the line runs down the side. */
@media (max-width: 781px) {
	html body.home .maere-record__line ol {
		grid-auto-flow: row;
	}

	html body.home .maere-record__line li {
		padding: 0 0 var(--wp--preset--spacing--sm) 44px;
	}

	.maere-record__line li::before {
		top: 0;
		bottom: 0;
		left: 13.5px;
		right: auto;
		width: 1px;
		height: auto;
	}

	.maere-record__line.is-live li.is-on::after {
		top: 14px;
		bottom: 0;
		left: 13px;
		right: auto;
		width: 2px;
		height: auto;
		transform-origin: top;
		animation-name: maere-fill-down;
	}

	html body.home .maere-record__others {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--sm);
	}

	html body.home .maere-record__others li.has-picture {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: var(--wp--preset--spacing--xs);
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.home .maere-record__image img,
	html body.home .maere-record__thumb img {
		transform: none !important;
		transition: none;
	}
}

/*
 * Videos on the dark stage (inc/videos.php): one video with its story, every
 * video as a card beneath; all of it links to the articles.
 */
html body.home .wp-block-group.maere-band.maere-videos-band {
	padding-top: var(--wp--preset--spacing--lg) !important;
	padding-bottom: var(--wp--preset--spacing--lg) !important;
}

html body.home .maere-videos {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
	color: var(--wp--preset--color--neutral-900);
}

html body.home .maere-videos :is(p, h2, h3) {
	margin: 0;
}

.maere-videos a:not(.wp-element-button) {
	color: inherit;
	text-decoration: none;
}

html body.home .maere-videos__head {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	min-height: 104px;
	padding-bottom: var(--wp--preset--spacing--xs);
}

html body.home .maere-videos .maere-videos__kicker {
	margin-bottom: var(--wp--preset--spacing--xxs);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body.home .maere-videos .maere-videos__name {
	font-size: 36px;
	font-weight: 500;
}

html body.home .maere-videos .maere-stage__slides {
	margin-top: var(--wp--preset--spacing--sm);
}

.maere-videos__screen {
	position: relative;
	overflow: hidden;
	min-width: 0;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 16 / 9;
}

.maere-videos__screen .maere-stage__image {
	height: 100%;
}

/* The play icon over the picture; the picture's link goes to the article. */
.maere-videos__screen .maere-stage__image {
	position: relative;
}

.maere-videos__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--wp--preset--color--neutral-900) 80%, transparent);
	color: var(--wp--preset--color--neutral-0);
	translate: -50% -50%;
	transition: scale 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.maere-videos__play::before {
	content: "";
	margin-left: 5px;
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent currentColor;
}

.maere-videos__screen:hover .maere-videos__play {
	scale: 1.06;
}

html body.home .maere-videos .maere-stage .maere-stage__title {
	font-size: clamp(24px, 2.4vw, 34px);
}

/* The row beneath: the line, then each video's picture, title and summary. */
.maere-videos .maere-stage__mark {
	order: -1;
}

html body.home .maere-videos .maere-stage__period {
	justify-content: flex-start;
	gap: var(--wp--preset--spacing--xxs);
	min-width: 0;
	padding-right: var(--wp--preset--spacing--xs);
	white-space: normal;
}

.maere-videos .maere-stage__rail {
	grid-auto-columns: minmax(200px, 1fr);
}

.maere-videos .maere-stage__thumb {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	margin-top: var(--wp--preset--spacing--xxs);
	border-radius: var(--wp--custom--border--radius, 6px);
	background: color-mix(in srgb, currentColor 12%, transparent);
	aspect-ratio: 16 / 9;
}

html body.home .maere-videos .maere-stage__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.maere-videos .maere-stage__period:hover .maere-stage__thumb img {
	transform: scale(1.03);
}

/* The video icon: a dark disc with its triangle. */
.maere-videos .maere-stage__thumb::after {
	content: "";
	position: absolute;
	bottom: 8px;
	left: 8px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--wp--preset--color--neutral-900) 75%, transparent);
}

.maere-videos .maere-stage__thumb::before {
	content: "";
	position: absolute;
	z-index: 1;
	bottom: 18px;
	left: 20px;
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent var(--wp--preset--color--neutral-0);
}

html body.home .maere-videos .maere-stage__headline,
html body.home .maere-videos .maere-stage__summary {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

html body.home .maere-videos .maere-stage__headline {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
}

html body.home .maere-videos .maere-stage__summary {
	font-family: var(--wp--preset--font-family--primary, Lexend, sans-serif);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}

/* The pause button stays level with the line. */
html body.home .maere-videos .maere-stage__nav {
	align-items: flex-start;
}

@media (max-width: 781px) {
	.maere-videos .maere-stage__rail {
		grid-auto-columns: 72%;
	}
}

html body.home .maere-videos .maere-videos__all {
	margin-top: var(--wp--preset--spacing--sm);
	font-size: 14px;
	font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
	.maere-videos .maere-videos__play {
		transition: none;
		scale: 1 !important;
	}

	html body.home .maere-videos .maere-stage__thumb img {
		transform: none !important;
		transition: none;
	}
}

/*
 * Culture as an expedition (inc/expedition.php): a wide photograph with a warm
 * black caption block and a short amber rule, four tall portraits beneath.
 */
html body.home .wp-block-group.maere-band.maere-expedition-band {
	padding-bottom: var(--wp--preset--spacing--lg) !important;
}

html body.home .maere-expedition {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
}

html body.home .maere-expedition :is(p, h2, h3) {
	margin: 0;
}

.maere-expedition a {
	color: inherit;
	text-decoration: none;
}

html body.home .maere-expedition__head {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	min-height: 104px;
	padding-bottom: var(--wp--preset--spacing--xs);
}

html body.home .maere-expedition .maere-expedition__head .maere-expedition__kicker {
	margin-bottom: var(--wp--preset--spacing--xxs);
	font-size: 12px;
	font-weight: 400;
}

html body.home .maere-expedition .maere-expedition__name {
	font-size: 36px;
	font-weight: 500;
}

html body.home .maere-expedition .maere-expedition__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.maere-expedition__rule {
	display: block;
	width: 48px;
	height: 4px;
	background: var(--wp--preset--color--warning-500);
}

.maere-expedition__lead {
	position: relative;
	margin-top: var(--wp--preset--spacing--sm);
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
}

.maere-expedition__scene {
	display: block;
	overflow: hidden;
	aspect-ratio: 21 / 9;
}

html body.home .maere-expedition :is(.maere-expedition__scene, .maere-expedition__portrait) img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html body.home .maere-expedition__lead:hover .maere-expedition__scene img,
html body.home .maere-expedition__others li:hover .maere-expedition__portrait img {
	transform: scale(1.03);
}

html body.home .maere-expedition__caption {
	position: absolute;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--2-xs, 12px);
	box-sizing: border-box;
	width: 58%;
	padding: var(--wp--preset--spacing--md) var(--wp--preset--spacing--ml);
	border-radius: 0 var(--wp--custom--border--radius, 6px) 0 0;
	background: var(--wp--preset--color--neutral-0);
	color: var(--wp--preset--color--neutral-900);
}

html body.home .maere-expedition__caption :is(p, h3) {
	color: var(--wp--preset--color--neutral-900);
}

html body.home .maere-expedition .maere-expedition__caption h3 {
	font-size: clamp(24px, 2.8vw, 38px);
	line-height: 1.18;
}

/* The whole photograph answers a click; the title stays the one link. */
.maere-expedition__caption h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

html body.home .maere-expedition__others {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--sm);
	margin: var(--wp--preset--spacing--md) 0 0;
	padding: 0;
	list-style: none;
}

html body.home .maere-expedition__others li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--xxs);
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.maere-expedition__portrait {
	display: block;
	overflow: hidden;
	width: 100%;
	margin-bottom: var(--wp--preset--spacing--xxs);
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 3 / 4;
}

.maere-expedition__others .maere-expedition__rule {
	width: 32px;
	height: 3px;
}

html body.home .maere-expedition .maere-expedition__others h3 {
	font-size: 20px;
	line-height: 1.28;
}

html body.home .maere-expedition .maere-expedition__all {
	margin-top: var(--wp--preset--spacing--sm);
	font-size: 14px;
	font-weight: 700;
}

@media (max-width: 999px) {
	.maere-expedition__scene {
		aspect-ratio: 16 / 9;
	}

	html body.home .maere-expedition__caption {
		position: static;
		width: 100%;
		padding: var(--wp--preset--spacing--sm);
		border-radius: 0;
	}

	html body.home .maere-expedition__others {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.maere-expedition__scene {
		aspect-ratio: 4 / 3;
	}

	html body.home .maere-expedition .maere-expedition__others h3 {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.home .maere-expedition img {
		transform: none !important;
		transition: none !important;
	}
}

/*
 * The live section (inc/live.php), beneath Inquirer: dark red, a blinking dot,
 * on Inquirer's measure and grid.
 */
html body.home .maere-live {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: var(--wp--preset--spacing--lg);
	background: var(--wp--preset--color--error-100);
	color: var(--wp--preset--color--neutral-900);
}

html body.home .maere-live__inner {
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin-inline: auto;
}

html body.home .maere-live :is(p, h2) {
	margin: 0;
	color: var(--wp--preset--color--neutral-900);
}

.maere-live a:not(.wp-element-button) {
	color: inherit;
	text-decoration: none;
}

.maere-live__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--xxs) var(--wp--preset--spacing--sm);
	padding-bottom: var(--wp--preset--spacing--xs);
	border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

html body.home .maere-live .maere-live__tag {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.maere-live__tag strong {
	font-weight: 700;
}

.maere-live__state {
	padding-left: var(--wp--preset--spacing--xs);
	border-left: 1px solid color-mix(in srgb, currentColor 40%, transparent);
}

/* The dot blinks while the story is live, a ring going out from it. */
.maere-live__dot {
	position: relative;
	width: 10px;
	height: 10px;
	margin-left: var(--wp--preset--spacing--xxs);
	border-radius: 50%;
	background: var(--wp--preset--color--error-600);
	animation: maere-blink 1.4s ease-in-out infinite;
}

.maere-live__dot::after {
	content: "";
	position: absolute;
	inset: -5px;
	border: 1px solid var(--wp--preset--color--error-600);
	border-radius: 50%;
	animation: maere-ring 1.4s ease-out infinite;
}

@keyframes maere-blink {
	50% {
		opacity: 0.25;
	}
}

@keyframes maere-ring {
	from {
		opacity: 0.9;
		transform: scale(0.6);
	}
	to {
		opacity: 0;
		transform: scale(1.5);
	}
}

html body.home .maere-live .maere-live__stamp {
	font-size: 12px;
	letter-spacing: 0.04em;
}

.maere-live__body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: var(--wp--preset--spacing--lg);
	padding-top: var(--wp--preset--spacing--md);
}

.maere-live__body.is-text-only {
	grid-template-columns: minmax(0, 1fr);
}

.maere-live__story {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--xs);
	min-width: 0;
}

html body.home .maere-live .maere-live__title {
	font-size: clamp(26px, 3vw, 42px);
	line-height: 1.14;
}

html body.home .maere-live .maere-live__excerpt {
	max-width: 62ch;
	font-size: 15px;
	line-height: 1.65;
}

.maere-live__image {
	display: block;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 16 / 9;
}

html body.home .maere-live__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html body.home .maere-live__image:hover img {
	transform: scale(1.03);
}

.maere-live__updates {
	margin-top: var(--wp--preset--spacing--md);
}

html body.home .maere-live .maere-live__label {
	margin-bottom: var(--wp--preset--spacing--xs);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Newest first along a line, its dot in the live red. */
html body.home .maere-live__updates ol {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

html body.home .maere-live__updates li {
	position: relative;
	margin: 0;
	padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md) 0 0;
	border: 0;
}

.maere-live__updates li::before {
	content: "";
	position: absolute;
	top: 4px;
	right: 0;
	left: 0;
	height: 1px;
	background: color-mix(in srgb, currentColor 30%, transparent);
}

.maere-live__updates li::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: currentColor;
}

.maere-live__updates li:first-child::after {
	background: var(--wp--preset--color--error-600);
}

.maere-live__updates b {
	display: block;
	margin-bottom: var(--wp--preset--spacing--xxs);
	font-size: 20px;
	font-weight: 300;
	line-height: 1.2;
}

.maere-live__updates span {
	display: block;
	font-size: 13px;
	line-height: 1.6;
}

@media (max-width: 999px) {
	.maere-live__body {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--sm);
	}

	.maere-live__image {
		order: -1;
	}
}

/* Phones: the line runs down the side. */
@media (max-width: 781px) {
	html body.home .maere-live {
		padding: var(--wp--preset--spacing--sm);
	}

	.maere-live__body {
		padding-top: var(--wp--preset--spacing--sm);
	}

	html body.home .maere-live__updates ol {
		grid-template-columns: minmax(0, 1fr);
	}

	html body.home .maere-live__updates li {
		padding: 0 0 var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
	}

	.maere-live__updates li::before {
		top: 0;
		bottom: 0;
		left: 4px;
		right: auto;
		width: 1px;
		height: auto;
	}

	.maere-live__updates li::after {
		top: 6px;
	}

	.maere-live__updates li:last-child::before {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.maere-live__dot,
	.maere-live__dot::after {
		animation: none;
	}

	.maere-live__dot::after {
		opacity: 0.5;
	}

	html body.home .maere-live__image img {
		transform: none !important;
		transition: none;
	}
}

/*
 * Opinions as an op-ed page (inc/opinions.php): the latest column, and two
 * signed pieces by other writers beside it.
 */
html body.home .wp-block-group.maere-band.maere-opeds-band {
	padding-top: var(--wp--preset--spacing--lg) !important;
	padding-bottom: var(--wp--preset--spacing--lg) !important;
}

html body.home .maere-opeds {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
	color: var(--wp--preset--color--neutral-900);
}

html body.home .maere-opeds :is(p, h2, h3) {
	margin: 0;
	color: inherit;
}

.maere-opeds a:not(.wp-element-button) {
	color: inherit;
	text-decoration: none;
}

.maere-opeds__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--xxs);
	padding-bottom: var(--wp--preset--spacing--md);
}

html body.home .maere-opeds .maere-opeds__kicker,
html body.home .maere-opeds .maere-opeds__all {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body.home .maere-opeds .maere-opeds__kicker {
	margin-bottom: var(--wp--preset--spacing--xxs);
}

html body.home .maere-opeds .maere-opeds__name {
	font-size: 36px;
	font-weight: 500;
}

.maere-opeds__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: var(--wp--preset--spacing--lg);
}

.maere-opeds__grid.is-alone {
	grid-template-columns: minmax(0, 1fr);
}

.maere-opeds__lead {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--xs);
	min-width: 0;
}

.maere-opeds__image {
	display: block;
	overflow: hidden;
	width: 100%;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 16 / 9;
}

.maere-opeds__side .maere-opeds__image {
	aspect-ratio: 16 / 10;
}

html body.home .maere-opeds__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html body.home .maere-opeds__image:hover img {
	transform: scale(1.03);
}

/*
 * The byline: portrait beside the name, the details beneath it in the small
 * capitals the other sections use for them.
 */
html body.home .maere-opeds .maere-opeds__by {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--2-xs, 12px);
}

html body.home .maere-opeds img.maere-opeds__avatar {
	flex: none;
	width: 36px;
	height: 36px;
	margin: 0;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(1);
}

.maere-opeds__signature {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.maere-opeds__who {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.maere-opeds__facts {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.75;
}

html body.home .maere-opeds .maere-opeds__lead h3 {
	font-size: clamp(26px, 3vw, 42px);
	line-height: 1.14;
}

html body.home .maere-opeds .maere-opeds__standfirst {
	font-size: 18px;
	font-weight: 300;
	line-height: 1.55;
}

html body.home .maere-opeds__side {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--md);
	margin: 0;
	padding: 0 0 0 var(--wp--preset--spacing--lg);
	list-style: none;
	border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

html body.home .maere-opeds__side li {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--xxs);
	margin: 0;
	padding: 0;
	border: 0;
}

html body.home .maere-opeds__side li[hidden] {
	display: none;
}

html body.home .maere-opeds .maere-opeds__side h3 {
	font-size: 20px;
	line-height: 1.3;
}

@media (max-width: 999px) {
	.maere-opeds__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	html body.home .maere-opeds__side {
		padding: var(--wp--preset--spacing--md) 0 0;
		border-width: 1px 0 0;
		border-top-style: solid;
		border-top-color: color-mix(in srgb, currentColor 18%, transparent);
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.home .maere-opeds__image img {
		transform: none !important;
		transition: none;
	}
}

/*
 * The light/dark switch (inc/mode-toggle.php): an icon in the header's ink.
 */
.maere-mode__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.maere-mode__button:hover {
	background: color-mix(in srgb, currentColor 8%, transparent);
}

.maere-mode__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.maere-mode__sun,
body.is-style-dark .maere-mode__moon {
	display: none;
}

/* Beside the menu bars on phones; with room for search, only beside search. */
@media (min-width: 782px) {
	html body .maere-mode--bar {
		display: none;
	}
}

@media (max-width: 781px) {
	/* The bars and the switch stay on one line. */
	html body .wp-block-buttons:has(> .maere-mode--bar) {
		flex-wrap: nowrap;
		align-items: center;
		gap: 6px;
	}

	/* The open menu: on the left, level with the close button. */
	html body .mobile-menu .wp-block-columns:has(.maere-mode--menu) {
		position: relative;
	}

	html body .mobile-menu .wp-block-columns:has(.maere-mode--menu) :is(.wp-block-column, .wp-block-buttons) {
		position: static;
	}

	html body .mobile-menu .maere-mode--menu {
		position: absolute;
		top: 50%;
		left: 0;
		margin: 0;
		translate: 0 -50%;
	}
}

body.is-style-dark .maere-mode__sun {
	display: block;
}

/* The faded section words need more on dark ground to be seen. */
html body.home .is-style-dark h2.wp-block-heading[data-word]::before,
html body.home.is-style-dark h2.wp-block-heading[data-word]::before {
	opacity: 0.17;
}

html body.home.is-style-dark .is-style-light h2.wp-block-heading[data-word]::before {
	opacity: 0.065;
}

/*
 * Cinema as a featured carousel (inc/films.php): a wide framed film with its
 * words over the picture, five beneath along a progress line. Dark.
 */
html body.home .wp-block-group.maere-band.maere-films-band {
	padding-top: var(--wp--preset--spacing--lg) !important;
	padding-bottom: var(--wp--preset--spacing--lg) !important;
}

html body.home .maere-films {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
	color: var(--wp--preset--color--neutral-900);
}

html body.home .maere-films :is(p, h2, h3) {
	margin: 0;
	color: inherit;
}

.maere-films a:not(.wp-element-button) {
	color: inherit;
	text-decoration: none;
}

.maere-films__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-bottom: var(--wp--preset--spacing--sm);
}

html body.home .maere-films .maere-films__kicker {
	margin-bottom: var(--wp--preset--spacing--xxs);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body.home .maere-films .maere-films__name {
	font-size: 36px;
	font-weight: 500;
}

html body.home .maere-films .maere-stage__slides {
	margin: 0;
}

html body.home .maere-films .maere-stage__slide {
	position: relative;
	display: block;
	overflow: hidden;
	height: clamp(440px, 40vw, 560px);
	border-radius: var(--wp--custom--border--radius, 6px);
}

.maere-films .maere-stage__image {
	position: absolute;
	inset: 0;
	border-radius: 0;
	aspect-ratio: auto;
}

html body.home .maere-films .maere-stage__image img {
	object-position: 50% 25%;
}

/* The shade that keeps the words readable on any still. */
.maere-films .maere-stage__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, var(--wp--preset--color--neutral-100) 4%, color-mix(in srgb, var(--wp--preset--color--neutral-100) 72%, transparent) 36%, transparent 68%),
		linear-gradient(0deg, color-mix(in srgb, var(--wp--preset--color--neutral-100) 82%, transparent), transparent 45%);
	pointer-events: none;
}

.maere-films .maere-stage__text {
	position: absolute;
	z-index: 1;
	bottom: var(--wp--preset--spacing--ml);
	left: var(--wp--preset--spacing--ml);
	width: min(560px, calc(100% - 2 * var(--wp--preset--spacing--ml)));
}

html body.home .maere-films .maere-stage .maere-stage__title {
	font-size: clamp(26px, 3vw, 42px);
	line-height: 1.12;
}

/* The first button is solid, as on streaming screens. */
html body.home .maere-films .maere-films__read .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--xxs);
	background: var(--wp--preset--color--neutral-900);
	color: var(--wp--preset--color--neutral-0);
}

html body.home .maere-films .maere-stage__nav {
	align-items: flex-start;
	margin-top: var(--wp--preset--spacing--xs);
}

.maere-films .maere-stage__rail {
	grid-auto-columns: minmax(180px, 1fr);
	column-gap: var(--wp--preset--spacing--2-xs, 12px);
}

html body.home .maere-films .maere-stage__period {
	justify-content: flex-start;
	gap: var(--wp--preset--spacing--xxs);
	min-width: 0;
	padding: 0 0 4px;
	white-space: normal;
}

/* Each film has its own length of the progress line, without a dot. */
.maere-films .maere-stage__mark {
	order: -1;
	height: 3px;
}

.maere-films .maere-stage__mark::before,
.maere-films .maere-stage__mark::after {
	top: 0;
	right: 0;
	height: 3px;
}

.maere-films .maere-stage__dot {
	display: none;
}

.maere-films .maere-stage__thumb {
	display: block;
	overflow: hidden;
	width: 100%;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: color-mix(in srgb, currentColor 12%, transparent);
	aspect-ratio: 16 / 9;
}

html body.home .maere-films .maere-stage__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.maere-films .maere-stage__period:hover .maere-stage__thumb img {
	transform: scale(1.03);
}

html body.home .maere-films .maere-stage__headline {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.maere-films .maere-stage__summary {
	display: none;
}

/* Narrow screens: the picture first, the words beneath it. */
@media (max-width: 781px) {
	html body.home .maere-films .maere-stage__slide {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		gap: var(--wp--preset--spacing--xs);
		height: auto;
		border-radius: 0;
	}

	.maere-films .maere-stage__slide::after {
		display: none;
	}

	.maere-films .maere-stage__image {
		position: relative;
		display: block;
		width: 100%;
		border-radius: var(--wp--custom--border--radius, 6px);
		aspect-ratio: 16 / 9;
	}

	.maere-films .maere-stage__text {
		position: static;
		width: 100%;
	}

	.maere-films .maere-stage__rail {
		grid-auto-columns: 62%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.home .maere-films .maere-stage__thumb img {
		transform: none !important;
		transition: none;
	}
}

/*
 * Desktop menu panels (inc/menu-panel.php, assets/menu.js): the submenu's links,
 * the section's latest article featured, three more beside it. The panel takes
 * the header row's colour.
 */
html body header.site-header .maere-header-bar {
	position: relative;
}

html body header.site-header .maere-header-bar:has(> .maere-menu__panel:not([hidden])) {
	z-index: 100;
}

html body header.site-header .maere-header-bar > .maere-menu__panel {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 100;
	box-sizing: border-box;
	max-width: none !important;
	margin: 0 !important;
	overflow-y: auto;
	overscroll-behavior: contain;
	border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	box-shadow: 0 22px 34px -14px color-mix(in srgb, black 45%, transparent);
	color: var(--wp--preset--color--neutral-900);
	font-family: var(--wp--preset--font-family--lexend, Lexend, sans-serif);
	text-align: left;
}

.maere-menu__panel[hidden],
.maere-menu__source {
	display: none !important;
}

/* Black shadow does not show on a black section: a hairline closes the panel. */
html body header.site-header .maere-header-bar > .maere-menu__panel.is-style-dark {
	border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

/* A softer shadow on light. */
html body header.site-header .maere-header-bar > .maere-menu__panel.is-style-light {
	box-shadow: 0 22px 34px -14px color-mix(in srgb, black 24%, transparent);
}

/* The panel replaces the plain dropdown. */
@media (min-width: 1000px) {
	html body header.site-header .maere-header-bar li.maere-has-menu > .wp-block-navigation__submenu-container {
		display: none !important;
	}

	html body header.site-header .maere-header-bar li.maere-has-menu.is-menu-open {
		text-decoration: underline;
		text-decoration-thickness: 2px;
		text-underline-offset: 12px;
	}
}

.maere-menu__panel :is(ul, li, p) {
	margin: 0;
	padding: 0;
	list-style: none;
}

html body .maere-menu__panel a {
	color: var(--wp--preset--color--neutral-900);
	text-decoration: none;
}

html body .maere-menu__panel a:is(:hover, :focus-visible) {
	color: var(--wp--preset--color--primary-500);
}

/* Edge to edge with the header's own row: the icons and Donate. */
.maere-menu__in {
	box-sizing: border-box;
	max-width: min(1440px, calc(100% - 32px));
	margin-inline: auto;
	padding: 24px 0 28px;
}

html body header.site-header.maere-header-compact .maere-menu__in {
	max-width: calc(100% - 48px);
}

html body .maere-menu__panel .maere-menu__subs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--xxs) var(--wp--preset--spacing--md);
	margin-bottom: 20px;
	border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	font-size: 16px;
	font-weight: 400;
}

/* The links read as the menu does; the chosen one is underlined. */
.maere-menu__subs li:not(.maere-menu__all) a {
	display: inline-block;
	margin-bottom: -1px;
	padding-bottom: 14px;
	border-bottom: 2px solid transparent;
}

.maere-menu__subs.is-filtering a[data-sub]:not(.is-active) {
	opacity: 0.6;
}

.maere-menu__subs a.is-active {
	border-bottom-color: currentColor !important;
}

.maere-menu__all {
	padding-bottom: 14px !important;
}

.maere-menu__grid[hidden] {
	display: none !important;
}

.maere-menu__all {
	margin-left: auto !important;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.maere-menu__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: var(--wp--preset--spacing--md);
}

.maere-menu__grid.is-alone {
	grid-template-columns: minmax(0, 1fr);
}

.maere-menu__feature {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
}

.maere-menu__feature > div {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--2-xs, 12px);
	min-width: 0;
}

.maere-menu__image {
	display: block;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 16 / 9;
}

.maere-menu__feature > .maere-menu__image {
	aspect-ratio: 3 / 2;
}

html body .maere-menu__panel .maere-menu__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
}

html body .maere-menu__panel .maere-menu__line {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.75;
}

html body .maere-menu__panel .maere-menu__title {
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
}

html body .maere-menu__panel .maere-menu__feature .maere-menu__title {
	font-size: 24px;
	line-height: 1.22;
}

html body .maere-menu__panel .maere-menu__excerpt {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
}

.maere-menu__read {
	display: inline-block;
	padding: 10px 18px;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: color-mix(in srgb, currentColor 10%, transparent);
	font-size: 13px;
	font-weight: 700;
}

html body .maere-menu__panel .maere-menu__list {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--2-xs, 12px);
	padding-left: var(--wp--preset--spacing--md);
	border-left: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}

.maere-menu__list li {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
}

.maere-menu__list li > div {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Short screens: tighter, so the panel fits beneath the header. */
@media (max-height: 820px) {
	.maere-menu__feature {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.maere-menu__feature > .maere-menu__image {
		aspect-ratio: 16 / 9;
	}

	.maere-menu__list li {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	html body .maere-menu__panel .maere-menu__feature .maere-menu__title {
		font-size: 20px;
	}
}

/* Without a picture the words take the whole width. */
.maere-menu__feature.is-text,
.maere-menu__list li.is-text {
	grid-template-columns: minmax(0, 1fr);
}

/* Narrower windows. */
@media (max-width: 1279px) {
	html body .maere-menu__panel .maere-menu__excerpt {
		display: none;
	}

	html body .maere-menu__panel .maere-menu__list {
		justify-content: flex-start;
		gap: var(--wp--preset--spacing--xs);
	}
}

/* Narrow but tall: the picture above its words. */
@media (max-width: 1279px) and (min-height: 821px) {
	.maere-menu__feature {
		grid-template-columns: minmax(0, 1fr);
		align-content: start;
		gap: var(--wp--preset--spacing--xs);
	}

	.maere-menu__feature > .maere-menu__image {
		aspect-ratio: 2 / 1;
	}
}

/*
 * Soft movement: the menu panel eases down as it opens and lifts as it closes,
 * its contents fade between entries and categories; the one-row header slides
 * in and out. None of it for readers who ask for less motion.
 */
@media (prefers-reduced-motion: no-preference) {
	html body header.site-header .maere-header-bar > .maere-menu__panel:not([hidden]) {
		animation: maere-menu-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
	}

	html body header.site-header .maere-header-bar > .maere-menu__panel.is-switching {
		animation: none;
	}

	html body header.site-header .maere-header-bar > .maere-menu__panel.is-closing {
		animation: maere-menu-out 0.18s ease-in forwards;
		pointer-events: none;
	}

	.maere-menu__panel.is-switching .maere-menu__in,
	.maere-menu__subs.is-filtering ~ .maere-menu__grid {
		animation: maere-menu-fade 0.28s ease both;
	}

	.maere-menu__subs li a {
		transition: opacity 0.2s ease, border-color 0.2s ease;
	}

	@media (min-width: 1100px) {
		html body header.site-header.maere-header-compact.maere-header-leaving .maere-header-bar {
			animation: maere-header-out 0.26s cubic-bezier(0.4, 0, 1, 1) forwards;
		}
	}
}

@keyframes maere-menu-in {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
}

@keyframes maere-menu-out {
	to {
		opacity: 0;
		transform: translateY(-6px);
	}
}

@keyframes maere-menu-fade {
	from {
		opacity: 0;
	}
}

@keyframes maere-header-out {
	to {
		opacity: 0;
		transform: translateY(-100%);
	}
}

/*
 * Gaming as a games desk (inc/games.php): a large story and a numbered feed on
 * dark, green accent, uppercase titles, platform filters.
 */
html body.home .wp-block-group.maere-band.maere-games-band {
	padding-top: var(--wp--preset--spacing--lg) !important;
	padding-bottom: var(--wp--preset--spacing--lg) !important;
	/* Cinema above is dark too. */
	border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}

html body.home .maere-games {
	--maere-accent: var(--wp--preset--color--success-500, #10b981);
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
	color: var(--wp--preset--color--neutral-900);
}

html body.home .maere-games :is(p, h2, h3, h4) {
	margin: 0;
	color: inherit;
}

html body.home .maere-games a {
	color: inherit;
	text-decoration: none;
}

.maere-games__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--xs);
	padding-bottom: var(--wp--preset--spacing--sm);
}

.maere-games__title {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
}

.maere-games__title > span {
	width: 10px;
	height: 56px;
	background: var(--maere-accent);
	transform: skewX(-14deg);
}

html body.home .maere-games .maere-games__kicker,
html body.home .maere-games .maere-games__line {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

html body.home .maere-games .maere-games__kicker,
html body.home .maere-games .maere-games__hero .maere-games__line {
	color: var(--maere-accent);
}

html body.home .maere-games .maere-games__name {
	font-size: clamp(36px, 3.4vw, 48px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.maere-games__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.maere-games__filters[hidden] {
	display: none;
}

html body.home .maere-games__filters button {
	min-height: 40px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
	border-radius: var(--wp--custom--border--radius, 6px);
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}

html body.home .maere-games__filters button:hover {
	border-color: var(--maere-accent);
}

html body.home .maere-games__filters button[aria-pressed="true"] {
	border-color: var(--maere-accent);
	background: var(--maere-accent);
	color: var(--wp--preset--color--neutral-100);
}

.maere-games__filters button:focus-visible,
.maere-games__read:focus-visible {
	outline: 2px solid var(--wp--preset--color--neutral-900);
	outline-offset: 2px;
}

.maere-games__set {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: var(--wp--preset--spacing--sm);
}

.maere-games__set.is-alone {
	grid-template-columns: minmax(0, 1fr);
}

.maere-games__set[hidden] {
	display: none;
}

.maere-games__hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	min-width: 0;
	min-height: 600px;
	border-radius: var(--wp--custom--border--radius, 6px);
}

.maere-games__shot {
	position: absolute;
	inset: 0;
}

html body.home .maere-games__shot img,
html body.home .maere-games__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.maere-games__hero:hover .maere-games__shot img {
	transform: scale(1.03);
}

.maere-games__shot::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, color-mix(in srgb, var(--wp--preset--color--neutral-100) 90%, transparent), color-mix(in srgb, var(--wp--preset--color--neutral-100) 52%, transparent) 44%, transparent 72%),
		linear-gradient(0deg, var(--wp--preset--color--neutral-100), transparent 46%);
}

.maere-games__text {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--xs);
	padding: var(--wp--preset--spacing--md);
}

html body.home .maere-games .maere-games__hero h3 {
	max-width: 760px;
	font-size: clamp(28px, 3.4vw, 52px);
	font-weight: 700;
	line-height: 1.04;
	text-transform: uppercase;
	text-wrap: balance;
}

html body.home .maere-games .maere-games__excerpt {
	max-width: 560px;
	font-size: 15px;
	line-height: 1.6;
}

html body.home .maere-games__platforms {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--xs);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body.home .maere-games__platforms li {
	margin: 0;
	padding: 0 0 3px;
	border-bottom: 2px solid var(--maere-accent);
}

html body.home .maere-games a.maere-games__read {
	display: inline-block;
	padding: 14px 26px;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--maere-accent);
	color: var(--wp--preset--color--neutral-100);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

html body.home .maere-games__feed {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 3px solid var(--maere-accent);
}

html body.home .maere-games__feed li {
	position: relative;
	display: grid;
	/* A quarter each, so a short feed starts at the top. */
	flex: 1 0 0;
	max-height: 25%;
	grid-template-columns: 44px 150px minmax(0, 1fr);
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
	margin: 0;
	padding: var(--wp--preset--spacing--xs) 0;
	border-width: 0 0 1px;
	border-style: solid;
	border-color: color-mix(in srgb, currentColor 16%, transparent);
}

html body.home .maere-games__feed li.is-text {
	grid-template-columns: 44px minmax(0, 1fr);
}

.maere-games__number {
	color: var(--maere-accent);
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: 32px;
	font-weight: 700;
}

.maere-games__thumb {
	display: block;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 16 / 9;
}

.maere-games__feed li:hover .maere-games__thumb img {
	transform: scale(1.05);
}

.maere-games__feed li > div {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

html body.home .maere-games .maere-games__feed h4 {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

/* Bold headlines, as on games sites. */
html body.home .maere-games .maere-games__name,
html body.home .maere-games .maere-games__hero h3,
html body.home .maere-games .maere-games__number {
	font-family: var(--wp--preset--font-family--lexend, Lexend, sans-serif);
	font-weight: 700;
}

/* The whole row answers a click; the title stays the one link. */
.maere-games__feed h4 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

@media (max-width: 1279px) {
	html body.home .maere-games__feed li {
		grid-template-columns: 36px 104px minmax(0, 1fr);
	}

	html body.home .maere-games__feed li.is-text {
		grid-template-columns: 36px minmax(0, 1fr);
	}

	.maere-games__number {
		font-size: 24px;
	}
}

@media (max-width: 999px) {
	.maere-games__set {
		grid-template-columns: minmax(0, 1fr);
	}

	.maere-games__hero {
		min-height: 440px;
	}
}

@media (max-width: 781px) {
	.maere-games__text {
		padding: var(--wp--preset--spacing--sm);
	}

	html body.home .maere-games .maere-games__excerpt {
		display: none;
	}

	html body.home .maere-games__filters button {
		padding: 0 12px;
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.home .maere-games__shot img,
	html body.home .maere-games__thumb img {
		transform: none !important;
		transition: none;
	}
}

/*
 * Tabbed sections (inc/merged.php): the standard heading with its word behind,
 * the tabs level with it on the right.
 */
html body.home .maere-tabbed,
html body.home .maere-tabbed__panel > :is(.maere-life, .maere-tickets) {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
}

/* The three tabbed sections share one side space, whatever their group sets. */
html body.home .wp-block-group.maere-band:has(> .maere-tabbed) {
	padding-inline: var(--wp--preset--spacing--lg) !important;
}

html body.home .maere-tabbed {
	color: var(--wp--preset--color--neutral-900);
}

html body.home .maere-tabbed__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--xs);
	padding-bottom: var(--wp--preset--spacing--md);
}

html body.home .maere-tabbed__head p,
html body.home .maere-tabbed__head h2 {
	margin: 0;
}

html body.home .maere-tabbed .maere-tabbed__kicker {
	margin-bottom: var(--wp--preset--spacing--xxs);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body.home .maere-tabbed .maere-tabbed__name {
	font-size: 36px;
	font-weight: 500;
}

.maere-tabbed a:not(.wp-element-button, .wp-block-button__link, .maere-tickets__buy > a) {
	color: inherit;
	text-decoration: none;
}

.maere-tabbed__list {
	display: flex;
	flex-wrap: wrap;
	column-gap: var(--wp--preset--spacing--sm);
}

html body.home .maere-tabbed__list .maere-tabbed__tab {
	min-height: 44px;
	margin: 0;
	padding: var(--wp--preset--spacing--xxs) 0;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	cursor: pointer;
	opacity: 0.65;
}

html body.home .maere-tabbed__list .maere-tabbed__tab:hover,
html body.home .maere-tabbed__list .maere-tabbed__tab:focus-visible {
	opacity: 1;
}

html body.home .maere-tabbed__list .maere-tabbed__tab.is-on {
	border-bottom-color: currentColor;
	opacity: 1;
}

.maere-tabbed__list .maere-tabbed__tab:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

html body.home .maere-tabbed .maere-tabbed__panel[hidden] {
	display: none;
}

html body.home .maere-tabbed .maere-tabbed__label {
	display: none;
	margin: var(--wp--preset--spacing--md) 0 var(--wp--preset--spacing--xs);
	font-size: 16px;
	font-weight: 700;
}

html body.home .maere-tabbed__all {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin: var(--wp--preset--spacing--sm) auto 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body.home .maere-tabbed__links {
	display: flex;
	flex-wrap: wrap;
	column-gap: var(--wp--preset--spacing--sm);
}

html body.home .maere-tabbed__links .maere-tabbed__all {
	width: auto;
	margin-inline: 0;
}

html body.home .maere-tabbed .maere-desk--after {
	margin-top: var(--wp--preset--spacing--md) !important;
}

/* Lifestyle: a wide lead and three upright cards. */
.maere-life {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: var(--wp--preset--spacing--sm);
}

html body.home .maere-life article,
html body.home .maere-life :is(p, h3) {
	min-width: 0;
	margin: 0;
}

.maere-life__image {
	display: block;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
}

html body.home .maere-life__image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 0;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

html body.home .maere-life__lead .maere-life__image img {
	aspect-ratio: 3 / 2;
}

html body.home .maere-life .maere-life__kicker {
	margin-top: var(--wp--preset--spacing--2-xs);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body.home .maere-life h3 {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
}

html body.home .maere-life .maere-life__lead h3 {
	font-size: 28px;
	line-height: 1.2;
}

html body.home .maere-life .maere-life__excerpt {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 15px;
	line-height: 1.55;
}

html body.home .maere-life .wp-block-buttons {
	margin-top: var(--wp--preset--spacing--xs);
}

@media (max-width: 1099px) {
	.maere-life {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.maere-life__lead {
		grid-column: 1 / -1;
	}
}

@media (max-width: 599px) {
	.maere-life {
		grid-template-columns: minmax(0, 1fr);
	}

	html body.home .maere-life__card .maere-life__image img {
		aspect-ratio: 4 / 3;
	}

	html body.home .maere-tabbed__list {
		flex-wrap: nowrap;
		width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.maere-tabbed__list .maere-tabbed__tab {
		flex: 0 0 auto;
	}
}

/*
 * Atlas (inc/atlas.php): three guides as numbered stops along a dashed route,
 * each picture named by its country. The country filter is the tabbed head.
 */
html body.home .maere-tabbed__tab .maere-tabbed__count {
	margin-left: 2px;
	font-size: 12px;
	opacity: 0.75;
}

html body.home .maere-tabbed--atlas .maere-tabbed__list {
	justify-content: flex-end;
}

html body.home .maere-atlas__route {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--sm);
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin: 0 auto !important;
	padding: 0;
	list-style: none;
}

.maere-atlas__route::before {
	content: "";
	position: absolute;
	top: 13px;
	right: 0;
	left: 0;
	border-top: 2px dashed color-mix(in srgb, currentColor 40%, transparent);
}

html body.home .maere-atlas__stop {
	position: relative;
	min-width: 0;
	margin: 0;
}

html body.home .maere-atlas__stop :is(p, h3) {
	margin: 0;
}

html body.home .maere-atlas__stop .maere-atlas__pin {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--2-xs);
	margin-bottom: var(--wp--preset--spacing--xs);
	padding-right: var(--wp--preset--spacing--2-xs);
	/* The line stops behind the pin. */
	background: var(--wp--preset--color--neutral-0);
}

.maere-atlas__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 2px solid currentColor;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
}

.maere-atlas__small {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.maere-atlas__picture {
	position: relative;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 1;
	background: color-mix(in srgb, currentColor 10%, transparent);
}

.maere-atlas__picture a {
	display: block;
	height: 100%;
}

html body.home .maere-atlas__picture img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
}

html body.home .maere-atlas__picture .maere-atlas__country {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--sm) var(--wp--preset--spacing--xs);
	background: linear-gradient(transparent, color-mix(in srgb, var(--wp--preset--color--neutral-0) 88%, transparent));
	color: var(--wp--preset--color--neutral-900);
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: clamp(26px, 2.6vw, 40px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	pointer-events: none;
}

html body.home .maere-atlas__stop h3 {
	margin-top: var(--wp--preset--spacing--xs);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
}

html body.home .maere-atlas__stop .maere-atlas__when {
	margin-top: var(--wp--preset--spacing--xxs);
}

@media (max-width: 781px) {
	html body.home .maere-atlas__route {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--lg);
	}

	/* One column: each stop keeps its pin; the line across is dropped. */
	.maere-atlas__route::before {
		display: none;
	}

	html body.home .maere-tabbed--atlas .maere-tabbed__list {
		justify-content: flex-start;
		flex-wrap: nowrap;
		width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.maere-tabbed--atlas .maere-tabbed__tab {
		flex: 0 0 auto;
	}
}

/*
 * Releases as "Liner notes" (inc/release.php, templates/release.html): a dark
 * masthead, the cover and credits beside the article, subheadings numbered like
 * tracks.
 */
html body .maere-release > .maere-release-mast {
	margin-block: 0;
	padding: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--lg) var(--wp--preset--spacing--lg);
	background: var(--wp--preset--color--neutral-0);
	color: var(--wp--preset--color--neutral-900);
}

.maere-release-mast__in,
html body .maere-release > .maere-release-body {
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
	column-gap: var(--wp--preset--spacing--xl);
	width: 100%;
	max-width: 1312px !important;
	margin-inline: auto !important;
}

html body .maere-release-mast__in {
	align-content: start;
}

html body .maere-release-mast__in > * {
	grid-column: 2;
	min-width: 0;
	margin: 0;
	color: inherit;
}

.maere-release__small {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body .maere-release-mast .maere-release__artist {
	margin-top: var(--wp--preset--spacing--sm);
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: clamp(24px, 2.4vw, 34px);
	line-height: 1.2;
}

html body .maere-release-mast .maere-release__name {
	margin-top: var(--wp--preset--spacing--xxs);
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: clamp(64px, 11vw, 168px);
	font-weight: 600;
	line-height: 0.98;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

html body .maere-release-mast .maere-release__name.is-medium {
	font-size: clamp(44px, 6.4vw, 96px);
}

html body .maere-release-mast .maere-release__name.is-long {
	font-size: clamp(34px, 4.4vw, 64px);
}

html body .maere-release-mast .maere-release__heading {
	max-width: 820px;
	margin-top: var(--wp--preset--spacing--sm);
	font-size: clamp(26px, 2.8vw, 40px);
	font-weight: 500;
	line-height: 1.25;
	text-align: left;
}

html body .maere-release-mast .maere-release__when {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
	margin-top: var(--wp--preset--spacing--md);
	padding-top: var(--wp--preset--spacing--sm);
	border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

html body .maere-release__when p {
	margin: 0;
}

html body .maere-release__when .maere-release__count {
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: 40px;
	font-weight: 500;
	line-height: 1.1;
	color: var(--wp--preset--color--warning-500, currentColor);
}

.maere-release__when .maere-release__small span {
	display: block;
	line-height: 2;
}

/* The cover rises into the masthead. */
html body .maere-release > .maere-release-body {
	align-items: start;
	margin-block: 0 var(--wp--preset--spacing--xl) !important;
}

/* Masthead and body share one measure, so their columns line up. */
html body .maere-release > .maere-release-mast > .maere-release-mast__in,
html body main.maere-release > .wp-block-group.maere-release-body {
	width: min(1312px, 100%);
	max-width: none !important;
	margin-inline: auto !important;
	padding-inline: 0 !important;
}

html body .maere-release > .maere-release-body > * {
	min-width: 0;
	margin: 0;
}

.maere-release-side {
	position: sticky;
	top: 104px;
	align-self: start;
	padding-top: var(--wp--preset--spacing--md);
}

html body .maere-release-side .maere-release__cover {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--wp--custom--border--radius, 6px);
}

html body .maere-release__credits {
	margin: var(--wp--preset--spacing--sm) 0 0;
	border-top: 2px solid currentColor;
}

.maere-release__credits > div {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: var(--wp--preset--spacing--2-xs);
	padding: var(--wp--preset--spacing--2-xs) 0;
	border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

html body .maere-release__credits dt {
	margin: 0;
	padding-top: 3px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.75;
}

html body .maere-release__credits dd {
	margin: 0;
	font-size: 15px;
}

html body .maere-release-side .maere-release__listen {
	margin: var(--wp--preset--spacing--sm) 0 0;
}

html body .maere-release__listen a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 48px;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--wp--preset--color--neutral-900);
	color: var(--wp--preset--color--neutral-0);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.maere-release__notes {
	margin-top: var(--wp--preset--spacing--md);
}

html body .maere-release__notes p {
	margin: 0 0 var(--wp--preset--spacing--xxs);
}

html body .maere-release__notes ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: maere-note;
}

html body .maere-release__notes li {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	margin: 0;
	padding: var(--wp--preset--spacing--xxs) 0;
	border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	font-size: 15px;
	line-height: 1.4;
	counter-increment: maere-note;
}

.maere-release__notes li::before {
	content: counter(maere-note, decimal-leading-zero);
	font-weight: 700;
}

.maere-release__notes a {
	color: inherit;
	text-decoration: none;
}

html body .maere-release-art {
	max-width: 760px;
	padding-top: var(--wp--preset--spacing--lg);
}

html body .maere-release-art .entry-content > * {
	max-width: 100%;
}

html body .maere-release-art .entry-content > p:first-of-type {
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: clamp(19px, 1.7vw, 23px);
	line-height: 1.55;
}

html body .maere-release-art .entry-content {
	counter-reset: maere-track;
}

html body .maere-release-art .entry-content > h2 {
	margin-top: var(--wp--preset--spacing--lg);
	padding-top: var(--wp--preset--spacing--sm);
	border-top: 2px solid currentColor;
	font-size: clamp(22px, 2vw, 28px);
	scroll-margin-top: 112px;
	counter-increment: maere-track;
}

.maere-release-art .entry-content > h2::before {
	content: counter(maere-track, decimal-leading-zero);
	margin-right: var(--wp--preset--spacing--xs);
	font-size: 15px;
	font-weight: 700;
}

@media (max-width: 999px) {
	.maere-release-mast__in,
	html body .maere-release > .maere-release-body {
		grid-template-columns: minmax(0, 1fr);
	}

	html body .maere-release-mast__in > * {
		grid-column: 1;
	}

	.maere-release-side {
		position: static;
		width: 100%;
		max-width: 520px;
		margin-inline: auto;
	}

	html body .maere-release > .maere-release-mast {
		padding-inline: var(--wp--preset--spacing--sm);
	}
}

@media (min-width: 1000px) {
	html body .maere-release > .maere-release-mast {
		min-height: 560px;
		padding-bottom: 150px;
	}

	html body .maere-release > .maere-release-body .maere-release-side {
		margin-top: -420px;
	}
}

/*
 * International releases (inc/releases.php): a large date for the next release
 * day beside its covers, then what is already out.
 */
html body.home .maere-releases__next,
html body.home .maere-releases__recent {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: var(--wp--preset--spacing--sm);
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin: 0 auto !important;
	padding-top: var(--wp--preset--spacing--sm);
	border-top: 2px solid currentColor;
}

html body.home .maere-releases__next.is-undated {
	grid-template-columns: minmax(0, 1fr);
}

html body.home .maere-tabbed--releases :is(p, h3) {
	margin: 0;
}

.maere-releases__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.maere-releases__date b,
.maere-releases__date strong,
.maere-releases__date span {
	display: block;
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
}

.maere-releases__date b {
	font-size: 128px;
	font-weight: 600;
	line-height: 0.95;
}

.maere-releases__date strong {
	font-size: 34px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

html body.home .maere-releases__date .maere-releases__when {
	margin-top: var(--wp--preset--spacing--sm);
	padding-top: var(--wp--preset--spacing--xs);
	border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: 24px;
}

html body.home .maere-releases__covers,
html body.home .maere-releases__recent ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--sm);
	margin: 0;
	padding: 0;
	list-style: none;
}

html body.home .maere-releases__covers li,
html body.home .maere-releases__recent li {
	min-width: 0;
	margin: 0;
}

html body.home .maere-releases__cover img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 1;
	object-fit: cover;
}

html body.home .maere-releases__covers .maere-releases__artist {
	margin-top: var(--wp--preset--spacing--2-xs);
}

html body.home .maere-releases__covers h3 {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
}

html body.home .maere-releases__covers .maere-releases__facts {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 14px;
	opacity: 0.8;
}

html body.home .maere-releases__recent {
	align-items: center;
	margin-top: var(--wp--preset--spacing--md) !important;
}

html body.home .maere-releases__recent li {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--2-xs);
}

html body.home .maere-releases__recent .maere-releases__cover {
	flex: 0 0 76px;
}

html body.home .maere-releases__recent h3 {
	margin-top: var(--wp--preset--spacing--xxxs);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
}

@media (max-width: 999px) {
	html body.home .maere-releases__next,
	html body.home .maere-releases__recent {
		grid-template-columns: minmax(0, 1fr);
	}

	/* The date runs along one line above the covers. */
	.maere-releases__date,
	.maere-releases__date time {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		column-gap: var(--wp--preset--spacing--2-xs);
	}

	.maere-releases__date > p:first-child {
		width: 100%;
	}

	.maere-releases__date b {
		font-size: 56px;
	}

	html body.home .maere-releases__date .maere-releases__when {
		margin: 0 0 0 auto;
		padding: 0;
		border: 0;
		font-size: 18px;
	}
}

@media (max-width: 699px) {
	html body.home .maere-releases__covers,
	html body.home .maere-releases__recent ul {
		grid-template-columns: minmax(0, 1fr);
	}
}

/*
 * Discourses as "The conversation" (inc/discourses.php): one interview large,
 * its photograph whole, then four more voices.
 */
html body.home .maere-talk {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
}

html body.home .maere-talk :is(p, h2, h3, blockquote) {
	margin: 0;
	padding: 0;
	border: 0;
}

.maere-talk a:not(.wp-element-button, .wp-block-button__link) {
	color: inherit;
	text-decoration: none;
}

.maere-talk__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--xs);
	padding-bottom: var(--wp--preset--spacing--md);
}

html body.home .maere-talk .maere-talk__small {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body.home .maere-talk .maere-talk__title {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 36px;
	font-weight: 500;
}

.maere-talk__lead {
	display: grid;
	grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
	gap: var(--wp--preset--spacing--lg);
}

.maere-talk__lead.is-alone {
	grid-template-columns: minmax(0, 1fr);
}

.maere-talk__image {
	display: block;
	align-self: start;
}

/* Its own shape; an upright picture is held in height, never cut. */
html body.home .maere-talk__image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 560px;
	margin: 0 auto;
	border-radius: var(--wp--custom--border--radius, 6px);
}

.maere-talk__say {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: var(--wp--preset--spacing--sm) 0;
	border-top: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}

html body.home .maere-talk .maere-talk__quote,
html body.home .maere-talk .maere-talk__quote p {
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: clamp(26px, 3vw, 46px);
	font-weight: 500;
	font-style: normal;
	line-height: 1.2;
	text-align: left;
}

html body.home .maere-talk .is-long .maere-talk__quote,
html body.home .maere-talk .is-long .maere-talk__quote p {
	font-size: clamp(23px, 2.2vw, 34px);
}

html body.home .maere-talk .is-longest .maere-talk__quote,
html body.home .maere-talk .is-longest .maere-talk__quote p {
	font-size: clamp(20px, 1.7vw, 26px);
	line-height: 1.35;
}

html body.home .maere-talk .maere-talk__name {
	margin-top: var(--wp--preset--spacing--sm);
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: 24px;
	font-weight: 500;
}

html body.home .maere-talk .maere-talk__name + .maere-talk__small {
	margin-top: var(--wp--preset--spacing--xxs);
}

html body.home .maere-talk .maere-talk__summary {
	max-width: 560px;
	margin-top: var(--wp--preset--spacing--xs);
	font-size: 16px;
	line-height: 1.6;
}

html body.home .maere-talk__say .wp-block-buttons {
	margin-top: var(--wp--preset--spacing--sm);
}

html body.home .maere-talk__voices {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: var(--wp--preset--spacing--md) 0 0;
	padding: 0;
	list-style: none;
}

html body.home .maere-talk__voice {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 0 var(--wp--preset--spacing--sm);
	border-left: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

html body.home .maere-talk__voice:first-child {
	padding-left: 0;
	border-left: 0;
}

html body.home .maere-talk__voice:last-child {
	padding-right: 0;
}

html body.home .maere-talk .maere-talk__voice h3 {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
}

.maere-talk__by {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--2-xs);
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--xs);
}

html body.home .maere-talk__by img {
	width: 52px;
	height: 52px;
	margin: 0;
	border-radius: 50%;
	object-fit: cover;
}

.maere-talk__by strong,
.maere-talk__by span {
	display: block;
	line-height: 1.5;
}

@media (max-width: 999px) {
	.maere-talk__lead {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--sm);
	}

	html body.home .maere-talk__voices {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: var(--wp--preset--spacing--md);
	}

	html body.home .maere-talk__voice:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	html body.home .maere-talk__voice:nth-child(even) {
		padding-right: 0;
	}
}

@media (max-width: 599px) {
	html body.home .maere-talk__voices {
		grid-template-columns: minmax(0, 1fr);
	}

	html body.home .maere-talk__voice {
		padding: 0;
		border-left: 0;
	}
}

/*
 * Concert posts as "Admission" (inc/concert.php, templates/single-concert.html):
 * the ground and ticket of the front page's Events, one large ticket with a
 * tear-off stub, then the article and more concerts as small stubs.
 */
html body main.site-main.maere-concert {
	--maere-gig-ground: var(--wp--preset--color--neutral-0);
	--maere-gig-card: var(--wp--preset--color--neutral-50);
	background: var(--maere-gig-ground);
}

html body main.maere-concert > .wp-block-group > .maere-gig,
html body main.maere-concert > .maere-gig {
	width: min(1440px, 100%);
	max-width: none !important;
	margin-inline: auto !important;
}

html body main.maere-concert > .maere-gig {
	padding-top: var(--wp--preset--spacing--md);
}

html body .maere-gig :is(p, h1, h2, h3, figure, ul, li) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.maere-gig a {
	color: inherit;
	text-decoration: none;
}

html body .maere-gig .maere-gig__small {
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.maere-gig__crumb {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--xxs);
	margin-bottom: var(--wp--preset--spacing--2-xs);
}

.maere-gig__ticket {
	display: grid;
	grid-template-columns: minmax(0, 11fr) minmax(0, 9fr) 300px;
	min-height: 500px;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--maere-gig-card);
	color: var(--wp--preset--color--neutral-900);
}

.maere-gig__ticket.is-bare {
	grid-template-columns: minmax(0, 1fr) 300px;
	min-height: 0;
}

.maere-gig__photo {
	position: relative;
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px) 0 0 var(--wp--custom--border--radius, 6px);
}

/* Held high in the frame: faces sit near the top of most band pictures. */
html body .maere-gig__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	object-position: 50% 20%;
}

.maere-gig__main {
	display: flex;
	flex-direction: column;
	padding: var(--wp--preset--spacing--ml);
}

html body .maere-gig .maere-gig__title {
	margin-top: var(--wp--preset--spacing--2-xs);
	font-size: clamp(27px, 2.8vw, 42px);
	font-weight: 500;
	line-height: 1.18;
	text-align: left;
}

html body .maere-gig .maere-gig__title.is-long {
	font-size: clamp(25px, 2.2vw, 33px);
}

.maere-gig__place {
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--sm);
}

.maere-gig__title + .maere-gig__place {
	border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}

html body .maere-gig .maere-gig__place p {
	margin-top: var(--wp--preset--spacing--xxxs);
	font-size: 16px;
}

html body .maere-gig .maere-gig__place .maere-gig__venue {
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: 28px;
	line-height: 1.25;
}

/* The stub, parted by a dashed tear with a notch at each end. */
.maere-gig__stub {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: var(--wp--preset--spacing--ml) var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
	border-left: 2px dashed color-mix(in srgb, currentColor 28%, transparent);
	text-align: center;
}

.maere-gig__stub::before,
.maere-gig__stub::after {
	content: "";
	position: absolute;
	left: -15px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--maere-gig-ground);
}

.maere-gig__stub::before {
	top: -14px;
}

.maere-gig__stub::after {
	bottom: -14px;
}

.maere-gig__stub time > * {
	display: block;
}

.maere-gig__day,
.maere-gig__month {
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
}

.maere-gig__day {
	font-size: 116px;
	font-weight: 600;
	line-height: 1;
}

.maere-gig__month {
	font-size: 30px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

html body .maere-gig .maere-gig__status {
	width: 100%;
	margin-top: var(--wp--preset--spacing--sm);
	padding-top: var(--wp--preset--spacing--sm);
	border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: 30px;
	line-height: 1.2;
}

html body .maere-gig .maere-gig__status.is-past span {
	display: inline-block;
	padding: 4px 12px;
	border: 2px solid currentColor;
	font-family: var(--wp--preset--font-family--primary, inherit);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.55;
	transform: rotate(-9deg);
}

html body .maere-gig .maere-gig__buy {
	width: 100%;
	margin-top: var(--wp--preset--spacing--sm);
}

html body .maere-gig__buy a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--wp--preset--color--neutral-900);
	color: var(--wp--preset--color--neutral-0);
	font-size: 15px;
	font-weight: 700;
}

html body .maere-gig__buy a:hover {
	background: var(--wp--preset--color--neutral-700);
	color: var(--wp--preset--color--neutral-0);
}

html body .maere-gig .maere-gig__links {
	width: 100%;
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--sm);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.maere-gig__links li {
	border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}

.maere-gig__links a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 42px;
}

/* The column and the article, which is on the ticket's own color. */
html body main.maere-concert > .wp-block-group.maere-concert-body {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	align-items: start;
	gap: var(--wp--preset--spacing--md);
	width: min(1440px, 100%);
	max-width: none !important;
	margin: var(--wp--preset--spacing--md) auto var(--wp--preset--spacing--xl) !important;
}

html body .maere-concert-body > * {
	min-width: 0;
	margin: 0;
}

/* As tall as the article, so what sticks in it can travel the whole way. */
html body .maere-concert-body > .maere-gig__side {
	align-self: stretch;
}

/*
 * Held under the header from its first line, with no scrollbar of its own. What
 * does not fit the screen comes into view where the article ends.
 */
.maere-gig__stick {
	position: sticky;
	top: 104px;
}

/* A protected post has no column: the article takes the whole width. */
html body .maere-concert-body > .maere-concert-art:first-child {
	grid-column: 1 / -1;
}

html body .maere-gig__side :is(p, h2, h3, ol, ul, li) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.maere-gig__side a {
	color: inherit;
	text-decoration: none;
}

html body .maere-gig__side .maere-gig__small {
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.maere-gig__poster,
.maere-gig__toc,
.maere-gig__more {
	padding-top: var(--wp--preset--spacing--2-xs);
	border-top: 2px solid currentColor;
}

html body .maere-gig__toc + .maere-gig__more,
html body .maere-gig__poster + .maere-gig__stick {
	margin-top: var(--wp--preset--spacing--md);
}

html body .maere-gig__poster figure {
	display: block;
	width: 100%;
	margin: var(--wp--preset--spacing--2-xs) 0 0;
}

html body .maere-gig__poster img {
	cursor: zoom-in;
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--wp--custom--border--radius, 6px);
}

html body .maere-gig__toc ol {
	counter-reset: maere-part;
}

html body .maere-gig__toc li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: baseline;
	padding: var(--wp--preset--spacing--2-xs) 0;
	border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	font-size: 15px;
	line-height: 1.4;
	counter-increment: maere-part;
}

.maere-gig__toc li::before {
	content: counter(maere-part, decimal-leading-zero);
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-weight: 700;
}

html body .maere-gig__more ul {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--2-xs);
	margin-top: var(--wp--preset--spacing--2-xs);
}

html body .maere-gig__side .maere-gig__more li {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	min-height: 100px;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--maere-gig-card);
	color: var(--wp--preset--color--neutral-900);
}

html body .maere-gig__more .maere-gig__when {
	display: flex;
	align-items: center;
	justify-content: center;
	border-right: 2px dashed color-mix(in srgb, currentColor 28%, transparent);
	text-align: center;
}

.maere-gig__when b,
.maere-gig__when span {
	display: block;
}

.maere-gig__when b {
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-size: 30px;
	line-height: 1;
}

.maere-gig__when time span {
	margin-top: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body .maere-gig__more li > div {
	padding: var(--wp--preset--spacing--2-xs) var(--wp--preset--spacing--xs);
}

html body .maere-gig__more h3 {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
}

html body .maere-gig__side .maere-gig__more li p.maere-gig__small {
	margin-top: var(--wp--preset--spacing--xxs);
}

html body .maere-concert-body > .maere-concert-art {
	padding: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--ml) var(--wp--preset--spacing--ml);
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--maere-gig-card);
	color: var(--wp--preset--color--neutral-900);
}

/* The text runs as wide as the tear's dashed line beneath it. */
html body .maere-concert-art > :not(.maere-gig__tear),
html body .maere-concert-art .entry-content > :not(.alignleft, .alignright) {
	width: auto;
	max-width: none !important;
	margin-inline: 0 !important;
}

html body .maere-concert-art .entry-content > h2,
.maere-gig__venuebox {
	scroll-margin-top: 112px;
}

/* The venue, under a tear that runs the width of the panel, a notch at each side. */
html body .maere-concert-art > .maere-gig__tear {
	position: relative;
	height: 28px;
	max-width: none !important;
	margin: var(--wp--preset--spacing--lg) calc(-1 * var(--wp--preset--spacing--ml)) var(--wp--preset--spacing--sm) !important;
}

.maere-gig__tear::before {
	content: "";
	position: absolute;
	top: 13px;
	right: var(--wp--preset--spacing--ml);
	left: var(--wp--preset--spacing--ml);
	border-top: 2px dashed color-mix(in srgb, currentColor 28%, transparent);
}

.maere-gig__tear::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 0 50%, var(--maere-gig-ground) 14px, transparent 14.5px),
		radial-gradient(circle at 100% 50%, var(--maere-gig-ground) 14px, transparent 14.5px);
}

html body .maere-gig__venuebox :is(p, h2) {
	margin: 0;
}

.maere-gig__venuebox a {
	color: inherit;
	text-decoration: none;
}

.maere-gig__venuehead {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--sm);
}

html body .maere-gig__venuebox .maere-gig__small {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body .maere-gig__venuebox h2 {
	margin-top: var(--wp--preset--spacing--xxs);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.25;
}

/* Until asked for: a drawn street grid with a pin and the button. */
html body .maere-gig__venuebox .maere-gig__map {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--xs);
	width: 100%;
	height: 360px;
	margin-top: var(--wp--preset--spacing--sm);
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
	background-color: color-mix(in srgb, currentColor 8%, transparent);
	background-image:
		linear-gradient(28deg, transparent 48.5%, color-mix(in srgb, currentColor 10%, transparent) 48.5% 50%, transparent 50%),
		linear-gradient(115deg, transparent 47.5%, color-mix(in srgb, currentColor 10%, transparent) 47.5% 49%, transparent 49%),
		linear-gradient(0deg, transparent 94%, color-mix(in srgb, currentColor 6%, transparent) 94%),
		linear-gradient(90deg, transparent 94%, color-mix(in srgb, currentColor 6%, transparent) 94%);
	background-size: 100% 100%, 100% 100%, 56px 56px, 72px 72px;
	text-align: center;
}

.maere-gig__pin {
	width: 22px;
	height: 22px;
	border-radius: 50% 50% 50% 0;
	background: currentColor;
	transform: rotate(-45deg);
}

html body .maere-gig__venuebox .maere-gig__show {
	min-height: 48px;
	padding: 0 var(--wp--preset--spacing--md);
	border: 0;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--wp--preset--color--neutral-900);
	color: var(--wp--preset--color--neutral-0);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

html body .maere-gig__venuebox .maere-gig__show[hidden] {
	display: none;
}

.maere-gig__show:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

html body .maere-gig__venuebox .maere-gig__note {
	padding-inline: var(--wp--preset--spacing--xs);
	font-size: 13px;
	opacity: 0.8;
}

.maere-gig__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/*
 * Shown, the map takes the post's colors. Google's frame cannot be styled from
 * outside, so it is turned gray and blended with the ticket color beneath it.
 */
html body .maere-gig__venuebox .maere-gig__map.is-shown {
	isolation: isolate;
	background: var(--maere-gig-card);
}

.maere-gig__map.is-shown iframe {
	filter: grayscale(1) contrast(1.08);
	mix-blend-mode: multiply;
}

body.is-style-dark .maere-gig__map.is-shown iframe {
	filter: grayscale(1) invert(1) contrast(0.92);
	mix-blend-mode: screen;
}

@media (max-width: 999px) {
	.maere-gig__ticket,
	.maere-gig__ticket.is-bare {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	.maere-gig__photo {
		aspect-ratio: 3 / 2;
		border-radius: var(--wp--custom--border--radius, 6px) var(--wp--custom--border--radius, 6px) 0 0;
	}

	.maere-gig__main {
		padding: var(--wp--preset--spacing--sm);
	}

	.maere-gig__place {
		margin-top: var(--wp--preset--spacing--sm);
	}

	/* The tear runs across. */
	.maere-gig__stub {
		border-top: 2px dashed color-mix(in srgb, currentColor 28%, transparent);
		border-left: 0;
	}

	.maere-gig__stub::before,
	.maere-gig__stub::after {
		top: -15px;
		bottom: auto;
		left: -14px;
	}

	.maere-gig__stub::after {
		right: -14px;
		left: auto;
	}

	.maere-gig__day {
		font-size: 84px;
	}

	html body .maere-gig .maere-gig__links {
		margin-top: var(--wp--preset--spacing--xs);
	}

	html body main.maere-concert > .wp-block-group.maere-concert-body {
		grid-template-columns: minmax(0, 1fr);
	}

	/* The column's parts join the single column, one each side of the article. */
	html body .maere-concert-body > .maere-gig__side,
	html body .maere-gig__stick {
		display: contents;
	}

	/* The panel is narrower here, and its side space with it. */
	html body .maere-concert-art > .maere-gig__tear {
		margin-inline: calc(-1 * var(--wp--preset--spacing--xs)) !important;
	}

	.maere-gig__tear::before {
		right: var(--wp--preset--spacing--xs);
		left: var(--wp--preset--spacing--xs);
	}

	.maere-gig__poster,
	.maere-gig__toc {
		order: 1;
	}

	/* A poster as wide as a tablet would push the article far down. */
	html body .maere-gig__poster {
		width: 100%;
		max-width: 420px;
		justify-self: center;
	}

	html body .maere-gig__poster + .maere-gig__stick {
		margin-top: 0;
	}

	html body .maere-concert-body > .maere-concert-art {
		order: 2;
		padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--xs);
	}

	html body .maere-gig__side .maere-gig__more {
		order: 3;
		margin-top: 0;
	}

	html body .maere-gig__venuebox .maere-gig__map {
		height: 260px;
	}
}

/*
 * Periscope (inc/sightings.php): the newest find as a feature, half picture and
 * half text. Beneath, the two before it half and half, each on its own gray card
 * with a small picture.
 */
html body.home .maere-scope {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1440px) !important;
	margin-inline: auto !important;
}

.maere-scope__lead,
.maere-scope__two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--md);
}

.maere-scope__two {
	margin-top: var(--wp--preset--spacing--md);
}

.maere-scope__lead {
	align-items: center;
}

/* The section is primary-25; each earlier find sits on a soft gray from it. */
html body.home .wp-block-group.maere-band.maere-periscope {
	background-color: var(--wp--preset--color--primary-25) !important;
	padding-bottom: var(--wp--preset--spacing--lg) !important;
}

.maere-scope__two article {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
	min-width: 0;
	padding: var(--wp--preset--spacing--xs);
	border-radius: var(--wp--custom--border--radius, 6px);
	background: color-mix(in srgb, var(--wp--preset--color--primary-25) 82%, var(--wp--preset--color--primary-400));
}

.maere-scope__thumb {
	flex: none;
	width: 200px;
}

html body.home .maere-scope__thumb img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	margin: 0;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

@media (max-width: 781px) {
	.maere-scope__thumb {
		width: 112px;
	}
}

.maere-scope__text {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--xs);
	min-width: 0;
}

.maere-scope__lead .maere-scope__text {
	padding-right: var(--wp--preset--spacing--md);
}

html body.home .maere-scope :is(h2, h3, p) {
	margin: 0;
}

.maere-scope a {
	color: inherit;
	text-decoration: none;
}

html body.home .maere-scope__image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: var(--wp--custom--border--radius, 6px);
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

html body.home .maere-scope .maere-scope__kicker {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

html body.home .maere-scope .maere-scope__name {
	align-self: flex-start;
	font-size: clamp(36px, 3.6vw, 52px);
	font-weight: 500;
}

html body.home .maere-scope .maere-scope__title {
	font-size: clamp(22px, 2.2vw, 32px);
	line-height: 1.3;
}

html body.home .maere-scope .maere-scope__meta {
	font-size: 13px;
	font-weight: 600;
}

html body.home .maere-scope .maere-scope__excerpt {
	font-size: 16px;
	line-height: 1.6;
}

html body.home .maere-scope .maere-scope__two .maere-scope__kicker {
	font-size: 11px;
	font-weight: 700;
}

html body.home .maere-scope .maere-scope__two .maere-scope__title {
	font-size: 18px;
	line-height: 1.35;
}

@media (max-width: 999px) {
	.maere-scope__lead,
	.maere-scope__two {
		grid-template-columns: minmax(0, 1fr);
	}

	.maere-scope__lead .maere-scope__text {
		padding-right: 0;
	}
}

/*
 * Records carousel: each review is a sleeve with its disc and the text beside
 * it; three to a view, two below 1360px, one below 1000px. Dots move the view.
 */
.maere-records {
	width: 100%;
}

html body.home .maere-records .maere-records__track {
	position: relative;
	display: flex;
	gap: var(--wp--preset--spacing--lg);
	margin: 0;
	padding: var(--wp--preset--spacing--xxs) 0 var(--wp--preset--spacing--md);
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.maere-records__track::-webkit-scrollbar {
	display: none;
}

html body.home .maere-records .maere-records__item {
	display: grid;
	flex: 0 0 calc((100% - 2 * var(--wp--preset--spacing--lg)) / 3);
	grid-template-columns: minmax(0, 52%) minmax(0, 1fr);
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
}

.maere-records__sleeve {
	position: relative;
	display: block;
	aspect-ratio: 240 / 184;
}

html body.home .maere-records .maere-records__sleeve img {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 76.667% !important;
	height: 100% !important;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
}

/* The record stays black in light and dark views; the cover is its label. */
.maere-records__disc {
	position: absolute;
	top: 2.2%;
	right: 0;
	height: 95.6%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: repeating-radial-gradient(circle, color-mix(in srgb, black 90%, white) 0 2px, black 2px 4px);
	/* A thin edge keeps the black record visible on dark pages. */
	box-sizing: border-box;
	border: 1px solid color-mix(in srgb, white 12%, transparent);
}

.maere-records__label {
	position: absolute;
	inset: 32.5%;
	border-radius: 50%;
	background-position: center;
	background-size: cover;
}

.maere-records__label::after {
	content: "";
	position: absolute;
	top: calc(50% - 3px);
	left: calc(50% - 3px);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wp--preset--color--neutral-0);
}

/* A review without a cover takes the whole width. */
.maere-records__text:only-child {
	grid-column: 1 / -1;
}

.maere-records__text {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--xxs);
	min-width: 0;
}

html body.home .maere-records .maere-records__text > * {
	margin: 0;
}

html body.home .maere-records .maere-records__title {
	font-size: 17px;
	line-height: 1.25;
}

.maere-records__title a {
	color: inherit;
	text-decoration: none;
}

html body.home .maere-records .maere-records__meta {
	color: var(--wp--preset--color--neutral-600);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

html body.home .maere-records .maere-records__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
	font-size: 13px;
	line-height: 1.5;
}

html body.home .maere-records p.maere-stars {
	display: flex;
	gap: 2px;
	margin: 0;
	line-height: 1;
}

.maere-stars__star {
	position: relative;
	display: block;
	width: 18px;
	height: 18px;
}

.maere-stars__star svg {
	display: block;
}

.maere-stars__star.is-half > span {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 50%;
	overflow: hidden;
}

.maere-records__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.maere-records__dots[hidden],
.maere-records__dot[hidden] {
	display: none;
}

/* A 28px target around a 10px dot. */
.maere-records__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--neutral-900);
	cursor: pointer;
}

.maere-records__dot::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.3;
}

.maere-records__dot[aria-current="true"]::before {
	opacity: 1;
}

/* The ring closing around the current dot is the timer. */
@property --maere-turn {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

@keyframes maere-turn {
	to {
		--maere-turn: 360deg;
	}
}

.is-auto .maere-records__dot {
	position: relative;
}

.is-auto .maere-records__dot[aria-current="true"]::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: conic-gradient(currentColor var(--maere-turn), transparent 0);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), black calc(100% - 1.5px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), black calc(100% - 1.5px));
	animation: maere-turn 6s linear forwards;
}

.is-auto.is-waiting .maere-records__dot[aria-current="true"]::after {
	animation-play-state: paused;
}

.maere-records__pause {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-left: var(--wp--preset--spacing--xxs);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--neutral-900);
	cursor: pointer;
}

.maere-records__pause[hidden],
.maere-records__pause .is-play,
.maere-records__pause.is-stopped .is-pause {
	display: none;
}

.maere-records__pause.is-stopped .is-play {
	display: block;
}

.maere-records__pause:focus-visible {
	outline: 2px solid var(--wp--preset--color--neutral-900);
}

.maere-records__dot:focus-visible {
	outline: 2px solid var(--wp--preset--color--neutral-900);
}

@media (max-width: 1359px) {
	html body.home .maere-records .maere-records__item {
		flex-basis: calc((100% - var(--wp--preset--spacing--lg)) / 2);
	}
}

@media (max-width: 999px) {
	html body.home .maere-records .maere-records__item {
		flex-basis: 100%;
		gap: var(--wp--preset--spacing--sm);
	}

	html body.home .maere-records .maere-records__title {
		font-size: 21px;
	}

	html body.home .maere-records .maere-records__excerpt {
		font-size: 15px;
	}
}

/* Phones: one review, the sleeve above its text. */
@media (max-width: 781px) {
	html body.home .maere-records .maere-records__item {
		grid-template-columns: minmax(0, 1fr);
		align-content: start;
	}

	.maere-records__sleeve {
		width: 100%;
		max-width: 360px;
	}
}

/*
 * Phones: assets/header-tone.js pins the header bar to the top once it would
 * scroll away, and gives the header is-style-dark or is-style-light to match the
 * section under it.
 */
@media (max-width: 781px) {
	html body header.site-header.maere-header-pinned .maere-header-bar {
		position: fixed !important;
		top: 0;
		right: 0;
		left: 0;
		z-index: 100;
		box-sizing: border-box;
		width: 100% !important;
	}

	html body header.site-header.maere-header-toned,
	html body header.site-header.maere-header-toned .maere-header-bar {
		background-color: var(--wp--preset--color--neutral-0) !important;
		color: var(--wp--preset--color--neutral-900);
	}
}

/* Keep focused items and in-page links clear of the pinned bar. */
@media (max-width: 781px) {
	html {
		scroll-padding-top: 88px;
	}
}

/*
 * Wide screens: once scrolled past, the header returns as one row, the menu in
 * two halves around the centered logo, toned like the section under it.
 */
@media (min-width: 1100px) {
	html body header.site-header.maere-header-compact .maere-header-bar {
		position: fixed !important;
		top: 0;
		right: 0;
		left: 0;
		z-index: 100;
		box-sizing: border-box;
		width: 100% !important;
		margin: 0 !important;
	}

	html body header.site-header.maere-header-toned,
	html body header.site-header.maere-header-toned .maere-header-bar {
		background-color: var(--wp--preset--color--neutral-0) !important;
		color: var(--wp--preset--color--neutral-900);
	}

	/*
	 * The top row is laid over the menu row. No transforms here: the search
	 * window is fixed inside this row and a transform would trap it.
	 */
	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns {
		position: absolute !important;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 2;
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		box-sizing: border-box;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 var(--wp--preset--spacing--sm) !important;
		pointer-events: none;
	}

	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns > .wp-block-column {
		flex: 0 0 auto !important;
		width: auto !important;
		pointer-events: auto;
	}

	/* The logo sits on the exact middle of the page. */
	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns > .wp-block-column:nth-child(2) {
		position: absolute;
		top: 0;
		bottom: 0;
		left: calc(50% - 20px);
		display: flex;
		align-items: center;
	}

	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns figure.wp-block-image,
	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns figure.wp-block-image svg {
		width: 40px !important;
		margin: 0;
	}

	/* Contact stays in the full header only. */
	html body header.site-header.maere-header-compact .maere-header-bar .wp-block-button:has(> a[href*="contact"]) {
		display: none !important;
	}

	/* The menu row. */
	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns + .wp-block-group {
		margin: 0 !important;
		padding-top: var(--wp--preset--spacing--xxs) !important;
		padding-bottom: var(--wp--preset--spacing--xxs) !important;
		border: 0 !important;
	}

	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns + .wp-block-group :is(.wp-block-group, nav.wp-block-navigation) {
		box-sizing: border-box;
		width: 100% !important;
		max-width: var(--wp--style--global--wide-size, 1440px) !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		border: 0 !important;
	}

	html body header.site-header.maere-header-compact .maere-header-bar nav.wp-block-navigation > ul.wp-block-navigation__container,
	html body header.site-header.maere-header-compact .maere-header-bar ul.wp-block-navigation__container.wp-block-navigation {
		display: grid !important;
		width: 100%;
		align-items: center;
		justify-items: center;
		gap: 0 !important;
		min-height: 48px;
	}

	html body header.site-header.maere-header-compact .maere-header-bar ul.wp-block-navigation__container > li {
		white-space: nowrap;
	}

	html {
		scroll-padding-top: 80px;
	}
}

@media (min-width: 1100px) {
	html body header.site-header.maere-header-compact .maere-header-bar nav.wp-block-navigation,
	html body header.site-header.maere-header-compact .maere-header-bar nav.wp-block-navigation .wp-block-navigation-item__content {
		font-size: 13px !important;
	}
}

@media (min-width: 1600px) {
	html body header.site-header.maere-header-compact .maere-header-bar nav.wp-block-navigation,
	html body header.site-header.maere-header-compact .maere-header-bar nav.wp-block-navigation .wp-block-navigation-item__content {
		font-size: 14px !important;
	}
}

/* Below 1340px there is little room beside the menu: logo, menu and the light/dark switch. */
@media (min-width: 1100px) and (max-width: 1339px) {
	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns > .wp-block-column:first-child,
	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns > .wp-block-column:nth-child(3) .wp-block-button:not(.maere-mode) {
		display: none !important;
	}

	/* Alone at the right end. */
	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns > .wp-block-column:nth-child(3) {
		margin-left: auto;
	}

	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns + .wp-block-group {
		padding-right: 56px !important;
		padding-left: 56px !important;
	}
}

/* Room at both ends for the social icons, the switch, search and Donate. */
@media (min-width: 1340px) {
	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns + .wp-block-group {
		padding-right: 200px !important;
		padding-left: 200px !important;
	}

	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns + .wp-block-group .wp-block-group {
		padding-right: 0 !important;
		padding-left: 0 !important;
	}
}

@media (min-width: 1340px) and (max-width: 1499px) {
	html body header.site-header.maere-header-compact .maere-header-bar > .wp-block-columns + .wp-block-group {
		padding-right: 150px !important;
		padding-left: 150px !important;
	}

	html body header.site-header.maere-header-compact .maere-header-bar nav.wp-block-navigation,
	html body header.site-header.maere-header-compact .maere-header-bar nav.wp-block-navigation .wp-block-navigation-item__content {
		font-size: 12px !important;
	}
}

/*
 * Header on scroll, eased: the desktop row slides down, and tone changes fade.
 * Off for readers who ask their device to reduce motion.
 */
@media (prefers-reduced-motion: no-preference) {
	html body header.site-header.maere-header-pinned .maere-header-bar,
	html body header.site-header.maere-header-pinned .maere-header-bar * {
		transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, fill 0.35s ease;
	}

	@media (min-width: 1100px) {
		html body header.site-header.maere-header-compact .maere-header-bar {
			animation: maere-header-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
		}
	}
}

@keyframes maere-header-in {
	from {
		opacity: 0;
		transform: translateY(-100%);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Phones: the header banner is a slim strip above the header. */
@media (max-width: 781px) {
	html body .maere-ad--banner,
	html body .maere-ad--banner .maere-kinsta,
	html body .maere-ad--banner .maere-ddp {
		min-height: 64px;
	}

	html body .maere-ad--banner:empty {
		min-height: 0;
	}

	html body .maere-ad--banner .maere-kinsta,
	html body .maere-ad--banner .maere-ddp {
		align-items: center;
		gap: var(--wp--preset--spacing--xs);
		padding: 8px 16px !important;
	}

	html body .maere-ad--banner .maere-kinsta__brand,
	html body .maere-ad--banner .maere-kinsta__offer,
	html body .maere-ad--banner .maere-ddp__offer {
		padding: 0;
	}

	html body .maere-ad--banner .maere-kinsta__tagline,
	html body .maere-ad--banner .maere-kinsta__note,
	html body .maere-ad--banner .maere-ddp__note,
	.maere-ad--banner .maere-kinsta__action::before,
	.maere-ad--banner .maere-kinsta__action::after {
		display: none;
	}

	html body .maere-ad--banner .maere-kinsta__logo {
		width: 68px;
		height: 18px;
	}

	html body .maere-ad--banner .maere-ddp__logo {
		width: 92px;
		height: 22px;
	}

	html body .maere-ad--banner .maere-kinsta__offer,
	html body .maere-ad--banner .maere-ddp__offer {
		flex: 1 1 0;
		min-width: 0;
		text-align: center;
	}

	html body .maere-ad--banner .maere-kinsta .maere-kinsta__headline,
	html body .maere-ad--banner .maere-ddp .maere-ddp__headline {
		font-size: 14px;
		line-height: 1.25;
	}

	html body .maere-ad--banner .maere-kinsta__action,
	html body .maere-ad--banner .maere-ddp__action {
		flex: none;
		width: auto;
	}

	html body .maere-ad--banner .wp-block-button__link {
		padding: 8px 12px !important;
		font-size: 12px !important;
		white-space: nowrap;
	}
}

/* Narrow phones: smaller logo and type keep the banner at two lines. */
@media (max-width: 389px) {
	html body .maere-ad--banner .maere-kinsta,
	html body .maere-ad--banner .maere-ddp {
		gap: var(--wp--preset--spacing--xxs);
		padding: 8px 12px !important;
	}

	html body .maere-ad--banner .maere-kinsta__logo {
		width: 56px;
		height: 15px;
	}

	html body .maere-ad--banner .maere-ddp__logo {
		width: 64px;
		height: 15px;
	}

	html body .maere-ad--banner .maere-kinsta .maere-kinsta__headline,
	html body .maere-ad--banner .maere-ddp .maere-ddp__headline {
		font-size: 12px;
	}

	html body .maere-ad--banner .wp-block-button__link {
		padding: 7px 9px !important;
		font-size: 11px !important;
	}
}

/*
 * National bar: slim, full-width dark strip (front page only); its links line
 * up with the page content. The label and arrow stay put; the
 * places scroll sideways, with no visible scrollbar and no auto movement.
 */
.maere-national {
	box-sizing: border-box;
	width: 100%;
	margin: 0 !important;
	padding: 0 var(--wp--style--root--padding-right, 24px) 0 var(--wp--style--root--padding-left, 24px);
	background: var(--wp--preset--color--neutral-0);
	color: var(--wp--preset--color--neutral-900);
	font-size: var(--wp--preset--font-size--14);
	line-height: 1.5;
}

.maere-national__inner {
	display: flex;
	align-items: stretch;
}

.maere-national__lead {
	display: flex;
	flex: none;
	align-items: center;
	gap: var(--wp--preset--spacing--xxs);
	padding-right: var(--wp--preset--spacing--xxs);
	font-weight: 600;
}

.maere-national a {
	color: inherit;
	text-decoration: none;
}

/* Each place fills the bar's height, so it is easy to tap. */
.maere-national__lead a,
.maere-national__track a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	min-height: 36px;
}

.maere-national a:focus-visible,
.maere-national__arrow:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -3px;
}

.wp-block-query-pagination .wp-block-query-pagination-numbers .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	min-height: 32px;
}

.maere-national__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.maere-national__arrow[hidden] {
	display: none;
}

.maere-national__arrow:disabled {
	cursor: default;
	opacity: 0.35;
}

.maere-national__arrow.is-back svg {
	transform: rotate(180deg);
}

.maere-national__track {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
	min-width: 0;
	min-height: 36px;
	margin: 0;
	padding: 0 var(--wp--preset--spacing--xs);
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
	white-space: nowrap;
}

.maere-national__track::-webkit-scrollbar {
	display: none;
}

.maere-national__track > li {
	flex: none;
	margin: 0;
}

@media (min-width: 782px) {
	.maere-national--below {
		display: none;
	}
}

@media (max-width: 781px) {
	.maere-national--top {
		display: none;
	}
}

/*
 * Videos and Editorials archives: the latest post leads across the top (image
 * beside the text), the rest follow in rows of three. Later pages are a plain grid.
 */
.maere-videos .wp-block-post-featured-image {
	margin: 0 0 var(--wp--preset--spacing--xs);
}

.maere-videos .wp-block-post-title {
	margin: var(--wp--preset--spacing--xxs) 0;
}

@media (min-width: 782px) {
	body.category:not(.paged) .maere-videos .wp-block-post-template > .wp-block-post:first-child {
		display: grid;
		grid-column: 1 / -1;
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		grid-template-rows: 1fr auto auto auto 1fr;
		column-gap: var(--wp--preset--spacing--md);
		margin-bottom: var(--wp--preset--spacing--md);
	}

	body.category:not(.paged) .maere-videos .wp-block-post:first-child > * {
		grid-column: 2;
	}

	body.category:not(.paged) .maere-videos .wp-block-post:first-child > .wp-block-post-featured-image {
		grid-column: 1;
		grid-row: 1 / -1;
		margin: 0;
	}

	body.category:not(.paged) .maere-videos .wp-block-post:first-child > .wp-block-post-date {
		grid-row: 2;
	}

	body.category:not(.paged) .maere-videos .wp-block-post:first-child > .wp-block-post-title {
		grid-row: 3;
		font-size: var(--wp--preset--font-size--36, 2.25rem);
	}

	body.category:not(.paged) .maere-videos .wp-block-post:first-child > .wp-block-post-excerpt {
		grid-row: 4;
	}
}

/* Videos archive: the lead video sits on a darker panel than the page. */
body.category:not(.paged) .maere-videos .wp-block-post-template > .wp-block-post:first-child {
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--sm);
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--wp--preset--color--neutral-100);
}

.maere-national__group {
	color: var(--wp--preset--color--neutral-500);
	font-size: var(--wp--preset--font-size--12);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Previous / Next: text sits level with the middle of the thumbnail. */
html body .maere-post-adjacent__link {
	align-items: center !important;
}

/* Phones: one related post, and one previous or next card, per row. */
@media (max-width: 781px) {
	html body .maere-related-posts .wp-block-aegis-related-posts__grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	html body .maere-post-adjacent__link,
	html body .maere-post-adjacent__slot {
		flex-basis: 100% !important;
		max-width: 100% !important;
	}

	html body .maere-post-adjacent__slot--empty {
		display: none;
	}
}

/*
 * Newsletter modal: latest featured image on the left, content and form on
 * the right. It takes the opposite palette of the page: dark on light pages,
 * light on dark ones.
 */
html body .maere-newsletter {
	box-sizing: border-box;
	width: min(920px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	padding: 0;
	overflow: auto;
	border: 1px solid var(--wp--preset--color--neutral-200);
	border-radius: 12px;
	background: var(--wp--preset--color--neutral-0);
	color: var(--wp--preset--color--neutral-900);
}

html body .maere-newsletter::backdrop {
	background: rgba(0, 0, 0, 0.72);
}

html body .maere-newsletter:not(.has-image) {
	width: min(460px, calc(100vw - 32px));
}

.maere-newsletter.has-image .maere-newsletter__layout {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}

.maere-newsletter__media {
	position: relative;
	min-height: 480px;
}

.maere-newsletter__media .maere-newsletter__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.maere-newsletter__inner {
	position: relative;
	padding: var(--wp--preset--spacing--md);
}

.maere-newsletter__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--wp--preset--color--neutral-200);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

html body .maere-newsletter .maere-newsletter__title {
	margin: 0 40px 8px 0;
	color: inherit;
	font-size: 32px;
	line-height: 1.15;
}

.maere-newsletter .maere-newsletter__copy {
	margin: 0 0 16px;
	color: var(--wp--preset--color--neutral-500);
	font-size: 15px;
	line-height: 1.55;
}

.maere-newsletter .maere-newsletter__count {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 20px;
	padding: 12px 0;
	border-top: 1px solid var(--wp--preset--color--neutral-200);
	border-bottom: 1px solid var(--wp--preset--color--neutral-200);
	color: var(--wp--preset--color--neutral-500);
	font-size: 14px;
}

.maere-newsletter .maere-newsletter__count[hidden] {
	display: none;
}

.maere-newsletter .maere-newsletter__count strong {
	color: var(--wp--preset--color--neutral-900);
	font-family: var(--wp--preset--font-family--supreme-ll);
	font-size: 24px;
	font-weight: 500;
}

/* Fluent Forms inside the modal. */
html body .maere-newsletter .fluentform {
	margin: 0;
}

html body .maere-newsletter .fluentform .ff-column-container {
	display: block;
}

html body .maere-newsletter .fluentform .ff-column-container > .ff-t-cell {
	display: block;
	width: 100% !important;
	padding: 0;
	flex-basis: 100% !important;
}

html body .maere-newsletter .fluentform .ff-name-field-wrapper .ff-t-container {
	gap: 12px;
}

html body .maere-newsletter .fluentform .ff-name-field-wrapper .ff-t-cell {
	min-width: 0;
	padding: 0;
}

html body .maere-newsletter .fluentform .ff-el-group {
	margin: 0 0 12px;
}

html body .maere-newsletter .fluentform .ff-el-input--label {
	margin: 0 0 4px;
}

html body .maere-newsletter .fluentform .ff-el-input--label label {
	color: var(--wp--preset--color--neutral-900) !important;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

html body .maere-newsletter .fluentform input.ff-el-form-control {
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--wp--preset--color--neutral-300) !important;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--wp--preset--color--neutral-100) !important;
	color: var(--wp--preset--color--neutral-900) !important;
	font-family: inherit;
	font-size: 15px;
}

html body .maere-newsletter .fluentform input.ff-el-form-control:focus {
	border-color: var(--wp--preset--color--neutral-900) !important;
	outline: 2px solid var(--wp--preset--color--neutral-900);
	outline-offset: 1px;
}

html body .maere-newsletter .fluentform .ff_submit_btn_wrapper {
	margin: 4px 0 12px;
	text-align: center;
}

html body .maere-newsletter .fluentform .ff-btn-submit {
	box-sizing: border-box;
	display: block;
	width: 100% !important;
	height: 46px;
	margin: 0;
	border: 0 !important;
	border-radius: var(--wp--custom--border--radius, 6px) !important;
	background: var(--wp--preset--color--neutral-900) !important;
	color: var(--wp--preset--color--neutral-0) !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 600;
}

html body .maere-newsletter .fluentform .ff-el-tc,
html body .maere-newsletter .fluentform .ff-el-form-check,
html body .maere-newsletter .fluentform .ff-el-form-check-label,
html body .maere-newsletter .fluentform .ff_t_c {
	color: var(--wp--preset--color--neutral-500) !important;
	font-size: 12px !important;
	font-weight: 400;
	line-height: 1.5;
}

html body .maere-newsletter .fluentform .text-danger {
	color: var(--wp--preset--color--error-600);
	font-size: 12px;
}

html body .maere-newsletter .ff-message-success {
	border: 1px solid var(--wp--preset--color--neutral-300);
	background: var(--wp--preset--color--neutral-50);
	box-shadow: none;
	color: var(--wp--preset--color--neutral-900);
}

@media (max-width: 781px) {
	.maere-newsletter.has-image .maere-newsletter__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.maere-newsletter__media {
		min-height: 0;
		aspect-ratio: 2 / 1;
	}

	.maere-newsletter__inner {
		padding: 20px;
	}

	.maere-newsletter.has-image .maere-newsletter__inner {
		position: static;
	}

	.maere-newsletter.has-image .maere-newsletter__close {
		border-color: transparent;
		background: rgba(0, 0, 0, 0.65);
		color: var(--wp--preset--color--neutral-900);
	}

	.maere-newsletter.has-image .maere-newsletter__layout {
		position: relative;
	}
}

.maere-newsletter .maere-newsletter__privacy {
	margin: var(--wp--preset--spacing--xxs) 0 0;
	color: var(--wp--preset--color--neutral-500);
	font-size: 12px;
	line-height: 1.5;
}

.maere-newsletter__privacy a {
	color: inherit;
	text-decoration: underline;
}

/*
 * NovaShare buttons follow the palette instead of their own colors: Graphite on
 * light pages, Stone on dark ones (neutral-800 flips with the page). NovaShare
 * paints the inner icon and label too, so those are made transparent.
 */
html body .ns-buttons .ns-button .ns-button-wrapper {
	overflow: hidden;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--wp--preset--color--neutral-800) !important;
	color: var(--wp--preset--color--neutral-0) !important;
}

html body .ns-buttons .ns-button .ns-button-icon,
html body .ns-buttons .ns-button .ns-button-label {
	background: transparent !important;
	color: inherit !important;
}

html body .ns-buttons .ns-button .ns-button-icon svg,
html body .ns-buttons .ns-button .ns-button-icon svg * {
	fill: currentColor !important;
	color: inherit !important;
}

html body .ns-buttons .ns-button:hover .ns-button-wrapper,
html body .ns-buttons .ns-button:focus-visible .ns-button-wrapper {
	background: var(--wp--preset--color--neutral-600) !important;
}

/*
 * Ads (served by Aegis Ads)
 *
 * Block banners (Kinsta, Death Doula Professionals) above the header and below a
 * post's text, never the same one in both places. Wholly clickable (on phones the
 * header one is a slim strip and the post one is hidden), contrasting with the page in the advertiser's own colors. The image ad
 * remains only as the post's fallback, with the plugin's label.
 */
.maere-ad--article {
	box-sizing: border-box;
	align-self: stretch;
	width: 100%;
	container-type: inline-size;
}

.maere-ad--article img {
	display: block;
	width: 100%;
	max-width: 910px;
	height: auto;
	margin-inline: auto;
}

.maere-ad--article .aegis-ad {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--xxs);
	width: 100%;
	margin: 0;
}

.maere-ad--article .aegis-ad__label {
	color: var(--wp--preset--color--neutral-500);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

.maere-ad {
	--kinsta-bg: #1a1618;
	--kinsta-ink: #f5edea;
	--kinsta-button-ink: #1a1618;
	--kinsta-logo-filter: brightness(0) invert(0.94);
}

body.is-style-dark .maere-ad {
	--kinsta-bg: #f5edea;
	--kinsta-ink: #1a1618;
	--kinsta-button-ink: #fff;
	--kinsta-logo-filter: none;
}

.maere-ad--banner,
.maere-ad--banner > *,
.maere-ad--banner .aegis-ad__inner {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.maere-ad--banner .aegis-ad__label {
	display: none !important;
}

html body .maere-ad--banner:has(.maere-kinsta),
html body .maere-ad .maere-kinsta {
	background: var(--kinsta-bg) !important;
	color: var(--kinsta-ink);
}

html body .maere-ad .maere-kinsta {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--md);
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 var(--wp--style--root--padding-right, 24px) 0 var(--wp--style--root--padding-left, 24px) !important;
}

.maere-kinsta p {
	margin: 0;
}

html body .maere-ad .maere-kinsta p {
	color: var(--kinsta-ink);
}

.maere-kinsta__brand,
.maere-kinsta__offer {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 !important;
	padding: 16px 0;
}

html body .maere-ad .maere-kinsta__logo {
	width: 104px;
	height: 27px;
	overflow: hidden;
	background: url("/wp-content/uploads/2024/07/logo_kinsta_dark.svg") left center / contain no-repeat;
	filter: var(--kinsta-logo-filter);
	text-indent: -999px;
	white-space: nowrap;
}

.maere-kinsta .maere-kinsta__tagline {
	max-width: 150px;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.35;
}

.maere-kinsta .maere-kinsta__headline {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(22px, 3.2vw, 40px);
	line-height: 1.15;
}

.maere-kinsta .maere-kinsta__note {
	margin-top: 4px;
	font-size: 13px;
}

.maere-kinsta__action {
	position: relative;
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 184px;
	margin: 0 !important;
}

.maere-kinsta__action::before,
.maere-kinsta__action::after {
	content: "";
	position: absolute;
	right: 8px;
	left: 8px;
	height: 34%;
	-webkit-mask: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 39px);
	mask: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 39px);
}

.maere-kinsta__action::before {
	top: 0;
	background: linear-gradient(#0a6cff, rgba(10, 108, 255, 0.1));
}

.maere-kinsta__action::after {
	bottom: 0;
	background: #0a6cff;
}

.maere-kinsta__action .wp-block-button {
	position: relative;
	z-index: 1;
}

html body .maere-ad .maere-kinsta__action .wp-block-button__link {
	border: 0;
	border-radius: 6px;
	background: var(--kinsta-ink);
	color: var(--kinsta-button-ink);
	font-size: 15px;
	padding: 12px 20px;
}

/* The space is held while the banner is chosen, so the header does not jump. */
.maere-ad--banner {
	min-height: 108px;
}

.maere-ad--banner:empty {
	min-height: 0;
}

html body .maere-ad .maere-kinsta,
html body .maere-ad .maere-ddp {
	min-height: 108px;
}

@media (scripting: none) {
	.maere-ad:has(.aegis-ad-group) {
		display: none;
	}
}

/* Death Doula Professionals: deep green on light pages, mint on dark ones. */
.maere-ad {
	--ddp-bg: #205c40;
	--ddp-ink: #f6fcf7;
	--ddp-headline: #f6fcf7;
	--ddp-logo-filter: brightness(0) invert(0.97);
}

body.is-style-dark .maere-ad {
	--ddp-bg: #eef8f3;
	--ddp-ink: #205c40;
	--ddp-headline: #470a68;
	--ddp-logo-filter: none;
}

html body .maere-ad--banner:has(.maere-ddp),
html body .maere-ad .maere-ddp {
	background: var(--ddp-bg) !important;
	color: var(--ddp-ink);
}

html body .maere-ad .maere-ddp {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--md);
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 var(--wp--style--root--padding-right, 24px) 0 var(--wp--style--root--padding-left, 24px) !important;
}

html body .maere-ad .maere-ddp p {
	margin: 0;
	color: var(--ddp-ink);
}

html body .maere-ad .maere-ddp__logo {
	flex: none;
	width: 210px;
	height: 49px;
	overflow: hidden;
	background: url("https://deathdoulaprofessionals.com/wp-content/uploads/2024/07/logo_death_doula_professionals-colored.svg") left center / contain no-repeat;
	filter: var(--ddp-logo-filter);
	text-indent: -999px;
	white-space: nowrap;
}

.maere-ddp__offer {
	margin: 0 !important;
	padding: 16px 0;
	text-align: center;
}

html body .maere-ad .maere-ddp .maere-ddp__headline {
	color: var(--ddp-headline);
	font-family: Cardo, Georgia, "Times New Roman", serif;
	font-size: clamp(22px, 2.8vw, 36px);
	line-height: 1.15;
}

.maere-ddp .maere-ddp__note {
	margin-top: 4px !important;
	font-size: 13px;
	line-height: 1.4;
}

.maere-ddp__action {
	flex: none;
	margin: 0 !important;
}

html body .maere-ad .maere-ddp__action .wp-block-button__link {
	border: 0;
	border-radius: 6px;
	background: #ffc27b;
	color: #205c40;
	font-size: 15px;
	padding: 12px 20px;
}

html body .maere-ad .maere-ad__cover {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: block;
	margin: 0;
}

/* Below a post: a rounded card as wide as the ad row. */
.maere-ad--article:has(.aegis-ad-group) {
	min-height: 108px;
}

html body .maere-ad--article .maere-kinsta,
html body .maere-ad--article .maere-ddp {
	overflow: hidden;
	min-height: 108px;
	padding: 0 24px !important;
	border-radius: var(--wp--custom--border--radius, 6px);
}

@container (max-width: 980px) {
	html body .maere-ad--article .maere-kinsta,
	html body .maere-ad--article .maere-ddp {
		gap: var(--wp--preset--spacing--xs);
		padding: 0 16px !important;
	}

	html body .maere-ad--article .maere-kinsta__headline,
	html body .maere-ad--article .maere-ddp .maere-ddp__headline {
		font-size: 22px;
	}

	html body .maere-ad--article .maere-ddp__logo {
		width: 150px;
		height: 35px;
	}

	html body .maere-ad--article .maere-ddp__note {
		font-size: 12px;
	}

	html body .maere-ad--article .maere-kinsta__action {
		width: 132px;
	}
}

/* Opinion bar under the header of opinion articles. */
.maere-opinion {
	box-sizing: border-box;
	width: 100%;
	margin: 0 !important;
	padding: 0 var(--wp--style--root--padding-right, 24px) 0 var(--wp--style--root--padding-left, 24px);
	border-bottom: 1px solid var(--wp--preset--color--neutral-200);
	background: var(--wp--preset--color--neutral-50);
	color: var(--wp--preset--color--neutral-900);
}

.maere-opinion__inner {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	align-items: center;
	column-gap: var(--wp--preset--spacing--md);
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}

.maere-opinion p,
.maere-opinion figure,
.maere-opinion blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

.maere-opinion__head {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-self: stretch;
	padding-right: var(--wp--preset--spacing--md);
	border-right: 1px solid var(--wp--preset--color--neutral-300);
}

.maere-opinion .maere-opinion__label {
	font-family: var(--wp--preset--font-family--supreme-ll);
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
}

.maere-opinion__label a {
	color: inherit;
	text-decoration: none;
}

.maere-opinion .maere-opinion__kicker {
	margin-top: 8px;
	color: var(--wp--preset--color--neutral-500);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.maere-opinion__avatar {
	width: 96px;
	height: 96px;
	margin: 12px 0;
	border-radius: 50%;
	object-fit: cover;
}

.maere-opinion .maere-opinion__quote blockquote p {
	position: relative;
	padding-left: 34px;
	font-family: var(--wp--preset--font-family--supreme-ll);
	font-size: 26px;
	font-weight: 400;
	line-height: 1.25;
}

.maere-opinion__quote blockquote p::before {
	content: "\201C";
	position: absolute;
	top: -4px;
	left: 0;
	color: var(--wp--preset--color--neutral-400);
	font-size: 52px;
	line-height: 1;
}

.maere-opinion figcaption {
	margin-top: 8px;
	padding-left: 34px;
	color: var(--wp--preset--color--neutral-500);
	font-size: var(--wp--preset--font-size--14);
}

.maere-opinion figcaption strong {
	color: var(--wp--preset--color--neutral-900);
}

.maere-opinion figcaption a {
	color: inherit;
	text-decoration: underline;
}

@media (max-width: 781px) {
	.maere-opinion__inner {
		grid-template-columns: auto minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--xs);
		column-gap: var(--wp--preset--spacing--xs);
		padding: 0;
	}

	.maere-opinion__head {
		grid-column: 1 / -1;
		padding: var(--wp--preset--spacing--xxs) 0;
		border-right: 0;
		border-bottom: 1px solid var(--wp--preset--color--neutral-300);
	}

	.maere-opinion .maere-opinion__label {
		font-size: 28px;
	}

	.maere-opinion__avatar {
		width: 56px;
		height: 56px;
	}

	.maere-opinion .maere-opinion__quote blockquote p {
		padding-left: 22px;
		font-size: 18px;
	}

	.maere-opinion__quote blockquote p::before {
		font-size: 36px;
	}

	.maere-opinion figcaption {
		padding-left: 22px;
		font-size: 12px;
	}
}

/*
 * Phones: the Kinsta banner's button is only an arrow. Its words stay for
 * screen readers, and the whole banner still answers a tap.
 */
@media (max-width: 781px) {
	html body .maere-ad.maere-ad--banner .maere-kinsta__action .wp-block-button__link {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		padding: 0 !important;
		background: transparent;
		color: var(--kinsta-ink);
		font-size: 0 !important;
	}

	html body .maere-ad.maere-ad--banner .maere-kinsta__action .wp-block-button__link::after {
		content: "\2192";
		content: "\2192" / "";
		position: static;
		font-size: 24px;
		line-height: 1;
	}

	html body .maere-ad.maere-ad--banner .maere-kinsta__action .wp-block-button__link svg {
		display: none;
	}
}

/*
 * Bunny's video player takes the corners of the pictures, wherever it is
 * embedded. data-src covers the frame while it still waits to load.
 */
iframe[src*="mediadelivery.net"],
iframe[data-src*="mediadelivery.net"] {
	overflow: clip;
	border-radius: var(--wp--custom--border--radius, 6px);
}

/*
 * What follows a concert post is as wide as the ticket and the column with the
 * article, not the 1200px of other posts. The :not() outranks that site-wide
 * rule. Only house ads (blocks) stretch: picture ads keep their own size.
 */
@media (min-width: 1201px) {
	html body main.site-main.maere-concert > .alignwide:not(#_),
	html body main.maere-concert > .maere-related-posts > .alignwide:not(#_),
	html body main.maere-concert > .maere-regional > :is(.alignwide, .wp-block-query):not(#_) {
		width: 100% !important;
		max-width: 1440px !important;
		margin-inline: auto !important;
	}

	html body main.maere-concert > .alignwide > .alignwide:not(#_),
	html body main.maere-concert > .alignwide :is(.maere-ad, .aegis-ad, .aegis-ad__inner, .aegis-ad__inner > .wp-block-group):not(#_) {
		width: 100% !important;
		max-width: 100% !important;
	}
}

/*
 * Concert contents as a reading level (assets/concert.js): each entry fills
 * from the left in the page's ink, the words turning to the ground color where
 * the fill has reached. Dark mode swaps the two by itself.
 */
html body .maere-gig__toc.has-fill li {
	position: relative;
	padding-inline: 10px;
}

html body .maere-gig__toc.has-fill .maere-gig__fill {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-content: start;
	align-items: baseline;
	padding: var(--wp--preset--spacing--2-xs) 10px;
	border-radius: var(--wp--custom--border--radius, 6px);
	background: var(--wp--preset--color--neutral-900);
	color: var(--wp--preset--color--neutral-0);
	clip-path: inset(0 calc((1 - var(--maere-read, 0)) * 100%) 0 0);
	pointer-events: none;
}

.maere-gig__fill::before {
	content: counter(maere-part, decimal-leading-zero);
	font-family: var(--wp--preset--font-family--supreme-ll, inherit);
	font-weight: 700;
}

/* The filled copy would hide the link's own focus ring. */
.maere-gig__toc.has-fill li:has(a:focus-visible) {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

@media (forced-colors: active) {
	html body .maere-gig__toc.has-fill .maere-gig__fill {
		display: none;
	}
}
