/**
 * Danzantes Unidos 2027 - only what theme.json cannot express.
 *
 * The look is design v2 (2026-11-23, approved by David): mostly white, the logo's red as the one
 * action color, yellow and orange as small accents, ink and one grey, the logo's sage for Donate;
 * photos shown as shot (never darkened, tinted, filtered or blurred), words on a photo set on the
 * stamp, a white plate in its bottom-left corner; Lora italic eyebrows, square corners. Every value comes from a theme.json
 * preset or settings.custom variable, except the few component-local values the design system
 * names without making them tokens (marked where they appear).
 */

/* Template rhythm: header, main and footer sit flush; each band owns its own padding. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* Page content that ends in plain blocks (a product grid, a policy's last paragraph) keeps a
   Large space above the footer. Content that ends in a full-width band does not: the band
   carries its own padding and meets the footer's color band flush. */
.du-page-content:has(> :last-child:not(.alignfull)) {
	padding-block-end: var(--wp--preset--spacing--60);
}

/* Keyboard-only focus ring: theme.json draws it on :focus, this hides it for pointer clicks. */
:where(a, button, .wp-element-button, .wp-block-button__link):focus:not(:focus-visible) {
	outline: none;
}

/* The house ring on controls theme.json's link and button elements do not reach (Critter): the
   submenu toggles, the header cart, Show password, checkboxes, selects and the quantity field.
   Plugins and core zero their outlines at varying weights, so width, style and offset carry
   weight here; the color comes from --du-focus-color, white on dark grounds and over a photo. */
body :is(.wp-block-navigation-submenu__toggle, .wc-block-mini-cart__button, .show-password-input, .wp-block-search__button):focus-visible {
	outline: 2px solid var(--du-focus-color, var(--wp--preset--color--red));
	outline-offset: 3px;
}

body :is(input[type="checkbox"], input[type="radio"], select, input.qty, .quantity input[type="number"]):focus-visible {
	outline: 2px solid var(--du-focus-color, var(--wp--preset--color--red));
	outline-offset: 2px;
}

body :is(.has-ink-background-color, .has-red-background-color) {
	--du-focus-color: var(--wp--preset--color--on-dark);
}

/* Grounds where red would not show (red and ink): the focus ring, links and eyebrows turn white
   there. On the pale sage (Donate, 2026-11-25) they turn ink instead, below.
   The list is repeated in each rule below (CSS has no variables for selectors). */

/* ---------- Links ----------
   In running text: ink, underlined in red, 2px, offset 0.2em (theme.json sets the color, the
   underline and the hover). Navigation, buttons, post titles and the social icons already drop
   the underline in theme.json; the cards and titles below that are wholly links drop it here. On
   red and ink panels: white with a yellow underline. */
body a:where(:not(.wp-element-button)) {
	text-decoration-color: var(--wp--preset--color--red);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}

body :is(.du-card__title, .du-tile__title, .du-notice__title, .du-pricing .wp-block-heading, .du-day-tab__day, .wp-block-social-links, .du-logo, .du-footer__logo, .woocommerce-MyAccount-navigation, .wp-block-post-featured-image, .wc-block-grid__product, .wc-block-product .wp-block-post-title) a {
	text-decoration: none;
}

body :is(.has-ink-background-color, .has-red-background-color) a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--on-dark);
	text-decoration-color: var(--wp--preset--color--yellow);
}

body :is(.has-ink-background-color, .has-red-background-color) a:where(:not(.wp-element-button)):hover {
	color: var(--wp--preset--color--on-dark);
	text-decoration-color: var(--wp--preset--color--on-dark);
}

body .has-ink-background-color a:where(:not(.wp-element-button)):hover {
	color: var(--wp--preset--color--yellow);
	text-decoration-color: var(--wp--preset--color--yellow);
}

/* On yellow (the notice, the Tienda panel): ink text, and the ring in ink. */
body .has-yellow-background-color {
	--du-focus-color: var(--wp--preset--color--ink);
}

body .has-yellow-background-color :focus-visible {
	outline-color: var(--wp--preset--color--ink);
}

/* On the logo's sage (Maria Luisa, 2026-11-25; it replaced the Mexican flag's green): ink text 10.30:1;
   white fails there (1.68:1) and red too (2.89:1), so eyebrows, links, their underlines, arrow links,
   the section-title bar and the focus ring are ink. */
body .has-sage-background-color {
	--du-focus-color: var(--wp--preset--color--ink);
}

body .has-sage-background-color :focus-visible {
	outline-color: var(--wp--preset--color--ink);
}

body .has-sage-background-color :is(p.is-style-eyebrow, .is-style-section-title:not(.has-text-color)) {
	color: var(--wp--preset--color--ink);
}

body .has-sage-background-color a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--ink);
	text-decoration-color: var(--wp--preset--color--ink);
}

body .has-sage-background-color .is-style-arrow-link a {
	border-bottom-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
}

body .has-sage-background-color .wp-block-heading.is-style-section-title::after {
	background: var(--wp--preset--color--ink);
}

body :is(.has-ink-background-color, .has-red-background-color) :focus-visible {
	outline-color: var(--wp--preset--color--on-dark);
}

/* ---------- Anchor targets ----------
   An address with a #fragment (/festival/#faqs, /about/#programs, the class list's age filter)
   scrolls its target to just below the sticky header, not under it (2026 sitemap, theme 0.2.27). */

html {
	scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--custom--header--height));
}

@media (max-width: 781px) {
	html {
		scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--custom--header--height-mobile));
	}
}

/* ---------- Header ----------
   Sticky and solid white, except over a page's first photo (below). The part is found by its own
   bar, not by a class on the template-part block, because WooCommerce's templates include the
   header part without one. */

.wp-block-template-part:has(> .du-header__bar) {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--ink);
	/* On white: the underline in red (4.84:1), My Account in ink. */
	--du-nav-underline: var(--wp--preset--color--red);
	--du-acct-border: var(--wp--preset--color--ink);
	--du-acct-hover-bg: var(--wp--preset--color--ink);
	--du-acct-hover-text: var(--wp--preset--color--on-dark);
	--du-badge-bg: var(--wp--preset--color--ink);
	--du-badge-text: var(--wp--preset--color--on-dark);
}

.du-header__row {
	min-height: var(--wp--custom--header--height);
}

.du-logo {
	position: relative;
	flex-shrink: 0;
}

.du-logo .wp-block-image {
	margin: 0;
}

/* The link is a block: inline it sat on the text baseline and left 8px under the logo, which
   pushed the logo to 1px from the top of the header (Sergey asked for 5px above it). Centered in
   the row, with a tad more room since 2026-11-25 (Maria Luisa): 16px above and below on desktop
   (96px in 128px, from 12px) and 13px on phones (80px in 107px, from 10px). */
.du-logo a {
	display: block;
}

.du-logo img {
	display: block;
	width: auto;
	height: var(--wp--custom--header--logo-height);
}

.du-logo__light {
	display: none;
}

.du-header__bar .wp-block-navigation,
.du-header__bar .wc-block-mini-cart__button {
	color: inherit;
}

/* The cart count: WooCommerce writes the badge's colors inline from the header's text color when
   the page loads; the theme sets both: white on an ink disc (15.10:1). */
.du-header__bar .wc-block-mini-cart__badge {
	background-color: var(--du-badge-bg) !important;
	color: var(--du-badge-text) !important;
}

/* Header links take the house ring, as the toggles and the cart do. */
.du-header__bar :is(.wp-block-navigation-item__content, .du-logo a):focus-visible {
	outline: 2px solid var(--du-focus-color, var(--wp--preset--color--red));
	outline-offset: 3px;
}

/* Main menu: no separators, items 1.75rem apart; hover and the current page get a 2px underline
   under the label, the label's color never changes. */
.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container {
	column-gap: 1.75rem;
}

.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding-block: 0.5rem;
	border-bottom: var(--wp--custom--header--nav-underline) solid transparent;
}

.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover,
.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item:is(.current-menu-item, .current-menu-ancestor) > .wp-block-navigation-item__content,
.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content[aria-current] {
	border-bottom-color: var(--du-nav-underline);
}

/* Visited header links. Chrome 157 paints a visited link's underline without the custom
   properties the header sets (a :root token still works), so the color is stated from :root. */
.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:is(:link, :visited):is(:hover, [aria-current]),
.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item:is(.current-menu-item, .current-menu-ancestor) > .wp-block-navigation-item__content:is(:link, :visited) {
	border-bottom-color: var(--wp--preset--color--red);
}

/* Desktop dropdowns: white panel, line border and rules, ink items, about 280px wide (design
   system, Header). Opened under its own label, its items' text in line with the label (core
   right-aligns a right-justified menu's panels, so Festival's hung 190px to the left), a soft
   shadow so the panel reads as lifted, square. Hover and the current page: red text with a 3px
   red bar at the left. Inside the white panel the ring is red, inset. */
.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
	--du-focus-color: var(--wp--preset--color--red);
	left: -1.25rem !important;
	right: auto !important;
	min-width: 17.5rem !important;
	padding: 0;
	border: 1px solid var(--wp--preset--color--muted) !important;
	border-radius: 0;
	background-color: var(--wp--preset--color--background) !important;
	box-shadow: 0 0.75rem 2rem rgba(43, 37, 34, 0.16);
	color: var(--wp--preset--color--ink) !important;
}

.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item + .wp-block-navigation-item {
	border-top: 1px solid var(--wp--preset--color--muted);
}

.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	width: 100%;
	padding: 0.95rem 1.25rem;
	border-left: 3px solid transparent;
	color: var(--wp--preset--color--ink);
}

.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:is(:hover, :focus-visible, [aria-current]) {
	border-left-color: #b85e1c; /* theme 0.2.31 */
	background-color: #faf6f0;
	color: #b85e1c;
}

.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	outline-offset: -2px;
}

/* Phone menu: a stacked list, left-aligned, in ink. */
.du-main-menu .wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--preset--spacing--30);
	color: var(--wp--preset--color--ink) !important; /* core forces #000 at five-class specificity */
}

.du-main-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.du-main-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.du-main-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
.du-main-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	align-items: flex-start;
	text-align: left;
}

.du-main-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	min-height: 2.75rem; /* every phone-menu link a 44px target (Critter: About, Tienda, Donate were 21px) */
}

.du-main-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	--du-focus-color: var(--wp--preset--color--red);
	margin-block: 0.25rem 0.5rem;
	padding-left: 1.25rem !important;
	border-left: 2px solid var(--wp--preset--color--muted) !important; /* core zeroes the submenu border */
}

/* The phone menu is a white overlay over any header: its ring is accent-dark. */
.du-main-menu .wp-block-navigation__responsive-container.is-menu-open {
	--du-focus-color: var(--wp--preset--color--red);
}

/* My Account: the account link at the right end of the header (menu.md), an outlined ink button
   from 600px; it never collapses into the phone menu. */
nav.du-account-menu {
	white-space: nowrap;
}

nav.du-account-menu .wp-block-navigation-item__content {
	padding: 0.7rem 1rem;
	border: 2px solid var(--du-acct-border);
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

nav.du-account-menu .wp-block-navigation-item__content:hover {
	border-color: var(--du-acct-hover-bg);
	background-color: var(--du-acct-hover-bg);
	color: var(--du-acct-hover-text);
}

/* Phones: the three tools (menu, My Account, cart) as 44px tap targets set close
   together, so logo and tools fit in 280px (a 320px screen less its gutters). My Account
   becomes an account glyph; its label stays for screen readers, so the link keeps its name.
   Below 600px is where the main menu folds into the button (core's breakpoint). */
@media (max-width: 599px) {
	.du-header__bar .du-header__row {
		column-gap: 0.75rem;
	}

	.du-header__bar .du-header__tools {
		gap: 0.25rem;
	}

	.du-header__bar .wp-block-navigation__responsive-container-open,
	.du-header__bar .wc-block-mini-cart__button,
	nav.du-account-menu .wp-block-navigation-item__content {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 2.75rem;
		min-height: 2.75rem;
		padding: 0;
		border: 0;
	}

	nav.du-account-menu .wp-block-navigation-item__content:hover {
		background-color: transparent;
		color: inherit;
	}

	.du-account-menu .wp-block-navigation-item__content::before {
		content: "";
		width: 1.5rem;
		height: 1.5rem;
		background-color: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
	}

	.du-account-menu .wp-block-navigation-item__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

/* Tablets: the main menu needs about 920px to sit on one row, and below that it wrapped onto
   two or three rows whose submenus touch could not open. So from core's 600px up to 959px the
   menu stays behind the same button and overlay as on phones, where every submenu is listed
   open. At 960px and up it is the one-row menu. */
@media (min-width: 600px) and (max-width: 959px) {
	.du-main-menu .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 2.75rem;
		min-height: 2.75rem;
	}

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

/* Touch screens wide enough for the one-row menu (an iPad in landscape): the submenu arrow
   grows from about 7px to a 44px target, so a tap on it opens Festival or Programs while a tap
   on the label still goes to that page. Negative margins keep the row as wide as before. */
@media (min-width: 960px) and (pointer: coarse) {
	.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-submenu__toggle {
		width: 2.75rem;
		height: 2.75rem;
		margin: -1.125rem -1.125rem -1.125rem -0.75rem;
		padding: 0;
		justify-content: center;
	}

	.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-submenu__toggle svg {
		width: 0.6em; /* the arrow keeps its size; core sizes it to the button */
		height: 0.6em;
	}
}

@media (max-width: 781px) {
	.du-header__row {
		min-height: var(--wp--custom--header--height-mobile);
	}

	.du-logo img {
		height: var(--wp--custom--header--logo-height-mobile);
	}

}

/* See-through over the first photo (design v2, 2026-11-23: the home hero, the News page and every
   page with a title photo; templates mark the header part du-header--overlay). The photo runs up
   under the header, which turns solid white once the page scrolls 2.5rem. The photo is never
   darkened for it: white words, the light logo and a yellow underline (red does not show on a
   photo), and a tight shadow drawn around the menu's own letters, the account outline, the icons
   and the logo's shapes only (--du-hdr-shadow), never across the photo. */
.du-header__bar :is(.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > :is(.wp-block-navigation-item__content, .wp-block-navigation-submenu__toggle), .wp-block-navigation__responsive-container-open, nav.du-account-menu .wp-block-navigation-item__content, .wc-block-mini-cart__button, .du-logo__light img) {
	filter: var(--du-hdr-shadow, none);
}

.du-header--overlay:not(.is-solid) .du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:is(:link, :visited):is(:hover, [aria-current]),
.du-header--overlay:not(.is-solid) .du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item:is(.current-menu-item, .current-menu-ancestor) > .wp-block-navigation-item__content:is(:link, :visited) {
	border-bottom-color: var(--wp--preset--color--yellow);
}

.du-header--overlay:not(.is-solid) :is(.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content, nav.du-account-menu .wp-block-navigation-item__content, .du-logo a):is(:link, :visited):focus-visible {
	outline-color: var(--wp--preset--color--on-dark);
}

.du-header__bar .du-logo__light a:focus-visible {
	outline-color: var(--wp--preset--color--on-dark);
}

@media (min-width: 600px) {
	.du-header--overlay:not(.is-solid) nav.du-account-menu .wp-block-navigation-item__content:is(:link, :visited):hover {
		border-color: var(--wp--preset--color--on-dark);
		color: var(--wp--preset--color--ink);
	}
}

@supports (animation-timeline: scroll()) {
	.du-header--overlay {
		margin-bottom: calc(-1 * var(--wp--custom--header--height));
		animation: du-header-solid steps(1, end) both;
		animation-timeline: scroll(root block);
		animation-range: 0 2.5rem;
	}

	.du-header--overlay .du-logo__light {
		display: block;
		position: absolute;
		inset: 0;
		visibility: var(--du-logo-light, hidden);
	}

	.du-header--overlay .du-logo__dark {
		visibility: var(--du-logo-dark, visible);
	}
}

@keyframes du-header-solid {
	from {
		background-color: transparent;
		color: var(--wp--preset--color--on-dark);
		--du-logo-light: visible;
		--du-logo-dark: hidden;
		--du-hdr-shadow: drop-shadow(0 0 1px rgba(0, 0, 0, 0.7)) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
		--du-focus-color: var(--wp--preset--color--on-dark);
		--du-nav-underline: var(--wp--preset--color--yellow);
		--du-acct-border: var(--wp--preset--color--on-dark);
		--du-acct-hover-bg: var(--wp--preset--color--on-dark);
		--du-acct-hover-text: var(--wp--preset--color--ink);
		--du-badge-bg: var(--wp--preset--color--on-dark);
		--du-badge-text: var(--wp--preset--color--ink);
	}

	to {
		background-color: var(--wp--preset--color--background);
		color: var(--wp--preset--color--ink);
		--du-logo-light: hidden;
		--du-logo-dark: visible;
		--du-hdr-shadow: none;
		--du-focus-color: var(--wp--preset--color--red);
		--du-nav-underline: var(--wp--preset--color--red);
		--du-acct-border: var(--wp--preset--color--ink);
		--du-acct-hover-bg: var(--wp--preset--color--ink);
		--du-acct-hover-text: var(--wp--preset--color--on-dark);
		--du-badge-bg: var(--wp--preset--color--ink);
		--du-badge-text: var(--wp--preset--color--on-dark);
	}
}

/* The same see-through header where scroll-driven animations are missing (Safari 18 and older):
   functions.php marks the page du-no-sda and a scroll listener toggles is-solid past 2.5rem,
   the animation's own range. Values repeat the keyframes. */
html.du-no-sda .du-header--overlay {
	margin-bottom: calc(-1 * var(--wp--custom--header--height));
	background-color: transparent;
	color: var(--wp--preset--color--on-dark);
	--du-logo-light: visible;
	--du-logo-dark: hidden;
	--du-hdr-shadow: drop-shadow(0 0 1px rgba(0, 0, 0, 0.7)) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
	--du-focus-color: var(--wp--preset--color--on-dark);
	--du-nav-underline: var(--wp--preset--color--yellow);
	--du-acct-border: var(--wp--preset--color--on-dark);
	--du-acct-hover-bg: var(--wp--preset--color--on-dark);
	--du-acct-hover-text: var(--wp--preset--color--ink);
	--du-badge-bg: var(--wp--preset--color--on-dark);
	--du-badge-text: var(--wp--preset--color--ink);
}

html.du-no-sda .du-header--overlay.is-solid {
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--ink);
	--du-logo-light: hidden;
	--du-logo-dark: visible;
	--du-hdr-shadow: none;
	--du-focus-color: var(--wp--preset--color--red);
	--du-nav-underline: var(--wp--preset--color--red);
	--du-acct-border: var(--wp--preset--color--ink);
	--du-acct-hover-bg: var(--wp--preset--color--ink);
	--du-acct-hover-text: var(--wp--preset--color--on-dark);
	--du-badge-bg: var(--wp--preset--color--ink);
	--du-badge-text: var(--wp--preset--color--on-dark);
}

html.du-no-sda .du-header--overlay .du-logo__light {
	display: block;
	position: absolute;
	inset: 0;
	visibility: var(--du-logo-light, hidden);
}

html.du-no-sda .du-header--overlay .du-logo__dark {
	visibility: var(--du-logo-dark, visible);
}

@media (max-width: 781px) {
	@supports (animation-timeline: scroll()) {
		.du-header--overlay {
			margin-bottom: calc(-1 * var(--wp--custom--header--height-mobile));
		}
	}

	html.du-no-sda .du-header--overlay {
		margin-bottom: calc(-1 * var(--wp--custom--header--height-mobile));
	}
}

/* ---------- The stamp (design v2, 2026-11-23): the one way words sit on a photo ----------
   A photo is shown as shot: no overlay, tint, gradient, grey-out, blur, filter or opacity (the
   one exception, the frosted plate, blurs only what sits behind the plate). Every
   Cover's overlay is hidden whatever dimRatio the editor saved. A Cover that carries words (the
   Stamp style, and any older Cover with words in it) sets them on a frosted plate (Maria Luisa,
   2026-11-25, home first, then every photo: white at 75% over the photo blurred 16px, corners
   0.75rem, the sun edge drawn as a background so it follows the corners, lifted off the photo's
   bottom edge on desktop) in the photo's bottom-left corner, a 6px sun bar along its top edge, the way the media team's watermark
   sits in the opposite corner; the photo's focal point keeps faces clear of the plate. Under 782px
   the plate drops under the photo and overlaps it by a 2.5rem tab. The ink behind the photo only
   shows while it loads. Photo heights (desktop / phone) per kind: --du-photo-h / --du-photo-h-phone. */
.wp-block-cover > .wp-block-cover__background {
	display: none !important;
}

.wp-block-cover:has(> .wp-block-cover__inner-container > *) {
	--du-photo-h: clamp(28rem, 38vw, 38rem);
	--du-photo-h-phone: 16rem;
	--du-stamp-width: var(--wp--custom--stamp--width);
	--du-focus-color: var(--wp--preset--color--red);
	isolation: isolate;
	display: flex;
	align-items: flex-end !important;
	justify-content: flex-start !important;
	min-height: var(--du-photo-h) !important;
	padding: 0 !important;
	overflow: hidden;
	background-color: var(--wp--preset--color--ink);
}

.wp-block-cover:has(> .wp-block-cover__inner-container > *) > .wp-block-cover__image-background {
	z-index: -1;
}

.wp-block-cover:has(> .wp-block-cover__inner-container > *) > .wp-block-cover__inner-container {
	position: static;
	z-index: auto;
	box-sizing: border-box;
	width: min(var(--du-stamp-width), 100% - 3rem) !important;
	max-width: none !important;
	margin: 0 !important;
	padding: var(--wp--custom--stamp--padding);
	border-top: var(--wp--custom--stamp--sun-height) solid transparent;
	border-radius: 0.75rem;
	background: var(--wp--custom--sun) top / 100% var(--wp--custom--stamp--sun-height) no-repeat border-box, rgb(255 255 255 / 0.75);
	-webkit-backdrop-filter: blur(16px) saturate(1.2);
	backdrop-filter: blur(16px) saturate(1.2);
	color: var(--wp--preset--color--ink);
	text-align: left;
	container-type: inline-size;
}

@media (min-width: 782px) {
	.wp-block-cover:has(> .wp-block-cover__inner-container > *) > .wp-block-cover__inner-container {
		margin-bottom: clamp(1.5rem, 3vw, 3rem) !important;
	}
}

.wp-block-cover.alignfull:has(> .wp-block-cover__inner-container > *) > .wp-block-cover__inner-container {
	margin-left: max(var(--wp--style--root--padding-left), (100% - var(--wp--style--global--wide-size)) / 2) !important;
}

.wp-block-cover:has(> .wp-block-cover__inner-container > *) > .wp-block-cover__inner-container > * {
	max-width: none !important;
	margin-inline: 0 !important;
}

.wp-block-cover__inner-container > * + * {
	margin-block-start: 0.75rem;
}

.wp-block-cover__inner-container > :last-child {
	margin-block-end: 0;
}

.wp-block-cover__inner-container :is(h1, h2, h3, h4, h5, h6, p, .has-on-dark-color) {
	color: var(--wp--preset--color--ink) !important;
	text-align: left !important;
}

/* Ink on the frosted plate: red there measured 2.56 to 3.21:1 at the darkest spot (2026-11-25), and an
   eyebrow is not large text. */
.wp-block-cover__inner-container p.is-style-eyebrow {
	margin-bottom: 0.6rem;
	color: var(--wp--preset--color--ink) !important;
}

.wp-block-cover__inner-container p.du-plate__eyebrow:empty {
	display: none;
}

.wp-block-cover__inner-container :is(h1, h2.du-plate__title) {
	margin: 0;
}

.wp-block-cover__inner-container h2.du-plate__title {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
}

.wp-block-cover__inner-container .du-plate__lead {
	margin-block: 0.75rem 1.25rem;
	font-family: var(--wp--preset--font-family--subhead);
	font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
	font-style: italic;
	line-height: 1.55;
}

/* Buttons on the plate: the Primary, whatever an older Cover saved ("On dark" was for photos). */
.wp-block-cover__inner-container .wp-block-buttons {
	gap: 0.75rem;
}

.wp-block-cover__inner-container .wp-block-button.is-style-outline-dark > .wp-block-button__link {
	border-color: var(--wp--preset--color--red);
	background-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--on-dark);
	font-size: var(--wp--preset--font-size--small) !important;
}

.wp-block-cover__inner-container .wp-block-button.is-style-outline-dark > .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--ink);
}

/* Heights by kind. A see-through header (every title photo, the hero) adds its own height. */
.wp-block-cover.du-title-band--photo {
	--du-photo-h: calc(clamp(24rem, 40vw, 38rem) + var(--wp--custom--header--height));
	--du-photo-h-phone: calc(17rem + var(--wp--custom--header--height-mobile));
	--du-stamp-width: var(--wp--custom--stamp--width-title);
}

.wp-block-cover.du-store {
	--du-photo-h: clamp(30rem, 42vw, 40rem);
	--du-photo-h-phone: 18rem;
	--du-stamp-width: var(--wp--custom--stamp--width-title);
}

/* A phone focal point (_du_focal_point_phone, functions.php) wins under 600px. */
@media (max-width: 599px) {
	.wp-block-cover__image-background[style*="--du-focal-phone"] {
		object-position: var(--du-focal-phone) !important;
	}
}

@media (max-width: 781px) {
	.wp-block-cover:has(> .wp-block-cover__inner-container > *) {
		display: block;
		min-height: 0 !important;
		overflow: visible;
		background-color: transparent;
	}

	.wp-block-cover:has(> .wp-block-cover__inner-container > *) > .wp-block-cover__image-background {
		position: relative;
		display: block;
		width: 100%;
		height: var(--du-photo-h-phone);
		background-color: var(--wp--preset--color--ink);
	}

	.wp-block-cover:has(> .wp-block-cover__inner-container > *) > .wp-block-cover__inner-container,
	.wp-block-cover.alignfull:has(> .wp-block-cover__inner-container > *) > .wp-block-cover__inner-container {
		position: relative;
		width: calc(100% - var(--wp--style--root--padding-left)) !important;
		margin: calc(-1 * var(--wp--custom--stamp--tab)) 0 0 !important;
	}
}

/* ---------- Home hero: the stamp ----------
   The lavender-dress photo full width under the see-through header; the plate carries the
   eyebrow, the masthead sized to fill the plate's width on one line ("DANZANTES UNIDOS FESTIVAL"
   is 15.78em wide in Arvo 700 caps, so 100cqi / 15.9; Arvo since 2026-11-25, Sergey), then the largest line, "DUF 2027"
   over the festival's theme in red, the date and place, and the buttons (Maria Luisa's order,
   2026-11-25). The focal point (50% 92%) lifts the second dancer's face above the plate. */
.wp-block-cover.du-hero {
	--du-photo-h: clamp(38rem, 100svh, 60rem);
	--du-photo-h-phone: calc(27rem + var(--wp--custom--header--height-mobile));
	--du-stamp-width: var(--wp--custom--stamp--width-hero);
}

.du-hero__title {
	margin: 0;
	line-height: 1;
	letter-spacing: -0.01em;
}

.du-hero__masthead {
	display: block;
	font-size: calc(100cqi / 15.9);
	line-height: 1;
}

/* "“FIESTA DE COLORES”" is 10.68em wide in Arvo at this letter-spacing, so 100cqi / 10.95 fills the plate
   on one line: 41px on a 1440 screen against the masthead's 29. In the site's one gold (WEBDOGS,
   2026-11-25), the same as History's years: 3.13:1 at the frosted plate's darkest spot at 1440,
   4.73:1 on white at 390; it passes as large text (41px, 800). */
.du-hero__year {
	display: block;
	margin: 0.15em 0 0.4em -0.02em;
	color: #966c00;
	font-size: calc(100cqi / 10.95);
	letter-spacing: -0.04em;
	line-height: 1;
}

.du-hero__theme {
	display: block;
}


.wp-block-cover__inner-container > .du-hero__title + * {
	margin-block-start: 0;
}

.du-hero__when {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 1rem;
	margin-block: 0 1.5rem;
}

.du-hero__when strong {
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
}

.du-hero__when em {
	font-family: var(--wp--preset--font-family--subhead);
	font-size: 1.125rem;
	line-height: 1.3;
}

@media (prefers-reduced-motion: no-preference) {
	.wp-block-cover.du-hero > .wp-block-cover__inner-container {
		animation: du-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}
}

@keyframes du-rise {
	from {
		opacity: 0;
		transform: translateY(1rem);
	}
}

@media (max-width: 781px) {
	.wp-block-cover.du-hero > .wp-block-cover__image-background {
		object-position: 64% 30% !important;
	}
}

/* ---------- Photo tiles: About, the festival, Programs (home, History) and the two festival
   tiles (/festival/). Full width, 2px apart, one even row; each photo with its title on the stamp,
   the whole tile one link, the line under the photo. Hover: the plate turns ink. ---------- */
.du-tiles-band {
	padding-block: clamp(3rem, 2rem + 3vw, 5rem);
}

.du-tiles.wp-block-columns {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: 2px;
	margin-block: 0;
}

.du-tiles > .wp-block-column {
	min-width: 0;
	margin: 0;
}

.wp-block-cover:is(.du-tile, .is-style-photo-tile) {
	--du-photo-h: clamp(24rem, 34vw, 32rem);
	--du-photo-h-phone: 15rem;
}

.wp-block-cover:is(.du-tile, .is-style-photo-tile) > .wp-block-cover__inner-container {
	width: calc(100% - var(--wp--custom--stamp--tab)) !important;
	padding: 1.1rem 1.25rem;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.wp-block-cover__inner-container .du-tile__title {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.25rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.05;
	text-transform: uppercase;
}

.du-tile__title::after {
	content: var(--wp--custom--button--arrow);
	flex: none;
	color: var(--wp--preset--color--red);
	font-weight: 400;
	transition: transform 0.2s ease-in-out;
}

.du-tile__title a {
	color: inherit;
	text-decoration: none;
}

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

.wp-block-cover:is(.du-tile, .is-style-photo-tile):hover > .wp-block-cover__inner-container {
	background: var(--wp--custom--sun) top / 100% var(--wp--custom--stamp--sun-height) no-repeat border-box, var(--wp--preset--color--ink);
}

/* The frosted plate's corners float: inset from the tile's left and bottom edges on desktop. */
@media (min-width: 782px) {
	.wp-block-cover:is(.du-tile, .is-style-photo-tile) > .wp-block-cover__inner-container {
		width: calc(100% - var(--wp--custom--stamp--tab) - 1.25rem) !important;
		margin: 0 0 1.25rem 1.25rem !important;
	}
}

.wp-block-cover:is(.du-tile, .is-style-photo-tile):hover .du-tile__title {
	color: var(--wp--preset--color--on-dark) !important;
}

.wp-block-cover:is(.du-tile, .is-style-photo-tile):hover .du-tile__title::after {
	color: var(--wp--preset--color--yellow);
	transform: translateX(4px);
}

.wp-block-cover:is(.du-tile, .is-style-photo-tile) :focus-visible {
	outline-offset: -4px;
}

.du-tiles > .wp-block-column > .du-tile__text {
	max-width: 30rem;
	margin: 0;
	padding: 1.25rem 1.25rem 0;
	font-size: 0.9375rem;
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-cover:is(.du-tile, .is-style-photo-tile) > .wp-block-cover__inner-container,
	.du-tile__title::after {
		transition: none;
	}

	.wp-block-cover:is(.du-tile, .is-style-photo-tile):hover .du-tile__title::after {
		transform: none;
	}
}

@media (max-width: 781px) {
	.du-tiles.wp-block-columns {
		grid-auto-flow: row;
		gap: 2.5rem;
	}

	.wp-block-cover:is(.du-tile, .is-style-photo-tile) > .wp-block-cover__inner-container {
		width: calc(100% - var(--wp--style--root--padding-left)) !important;
	}

	.du-tiles > .wp-block-column > .du-tile__text {
		padding: 1rem var(--wp--style--root--padding-left) 0;
	}
}

/* ---------- Type: section titles, eyebrows, arrow links ---------- */

/* Section title: homepage bands and full-width bands anywhere. The section size, and a 56 x 5px
   sun bar under it (the logo's sun into its flame), yellow on red and ink, ink on the Donate
   sage (decorative; the heading carries the meaning). Inside pages keep the plain h2 (design system, Headings). */
.wp-block-heading.is-style-section-title {
	font-size: var(--wp--preset--font-size--section);
	line-height: 1;
}

.wp-block-heading.is-style-section-title::after {
	content: "";
	display: block;
	width: var(--wp--custom--bar--width);
	height: var(--wp--custom--bar--height);
	margin-top: 1rem;
	background: var(--wp--custom--sun);
}

body :is(.has-ink-background-color, .has-red-background-color) .wp-block-heading.is-style-section-title::after {
	background-color: var(--wp--preset--color--yellow);
}

.wp-block-heading.is-style-section-title.has-text-align-center::after {
	margin-inline: auto;
}

body :is(.has-ink-background-color, .has-red-background-color) .is-style-section-title:not(.has-text-color) {
	color: var(--wp--preset--color--on-dark);
}

/* Eyebrow: a few Lora italic words above a heading. Colored by its ground: red on white
   (4.84:1), ink on yellow (10.13:1), white on red and ink panels. */
p.is-style-eyebrow {
	margin-bottom: 0.75rem;
	color: var(--wp--preset--color--red);
	font-family: var(--wp--preset--font-family--subhead);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-style: italic;
	font-weight: 500;
	line-height: 1.3;
}

p.is-style-eyebrow + * {
	margin-block-start: 0 !important; /* the layout's block gap would push the heading away */
}

.has-yellow-background-color p.is-style-eyebrow {
	color: var(--wp--preset--color--ink);
}

body :is(.has-ink-background-color, .has-red-background-color) p.is-style-eyebrow {
	color: var(--wp--preset--color--on-dark);
}

/* Arrow link: one link set as Arvo 700 capitals over a 2px underline (red on white,
   yellow on red and ink), with the arrow. */
.is-style-arrow-link a {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding-bottom: 0.35rem;
	border-bottom: 2px solid var(--wp--preset--color--red);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.is-style-arrow-link a::after {
	content: var(--wp--custom--button--arrow);
	transition: transform 0.15s ease-in-out;
}

.is-style-arrow-link a:hover {
	color: var(--wp--preset--color--red);
}

.is-style-arrow-link a:hover::after {
	transform: translateX(var(--wp--custom--button--arrow-nudge));
}

body :is(.has-ink-background-color, .has-red-background-color) .is-style-arrow-link a {
	border-bottom-color: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--on-dark);
}

/* ---------- Page title band ---------- */

.is-style-framed {
	box-sizing: border-box;
	width: fit-content;
	max-width: 80%;
	margin-inline: auto !important; /* core centers constrained children with !important too */
	/* Line height 1 at every width, so a wrapped title keeps its lines apart (Critter: the desktop
	   FAQs title's lines touched); the block padding gives back the half-leading added over the
	   old 0.875, so a one-line frame keeps its height. */
	padding: calc(var(--wp--custom--page-title--padding) - 0.0625em) var(--wp--custom--page-title--padding);
	border: var(--wp--custom--page-title--border-width) solid currentColor;
	line-height: var(--wp--custom--page-title--line-height);
}

/* Titles break between words, never inside one: core's post title sets word-break: break-word,
   which splits "PROGRAMS" at a phone's width. Breaking inside a word stays only as the last
   resort for a word wider than the whole frame. */
.is-style-framed {
	word-break: normal;
	overflow-wrap: break-word;
}

@media (max-width: 600px) {
	/* On phones the frame takes the full column and the type scales with the screen, so the
	   longest title word ("REGISTRATION") fits at 320px. */
	.is-style-framed {
		max-width: 100%;
		padding: calc(0.875rem - 0.0625em) 0.875rem;
		border-width: var(--wp--custom--page-title--border-width-mobile);
		font-size: min(var(--wp--preset--font-size--heading-1), 7vw);
		letter-spacing: 1px;
	}

}

/* ---------- Buttons ----------
   theme.json draws the Primary button (red, white text 4.84:1, 2px border, ink hover). Here: the arrow,
   the height, the Large size and the variants. The arrow is for core Buttons only, never on
   WooCommerce's or Gravity Forms' own buttons, which take the colors and type alone. */

.wp-block-button__link {
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.wp-block-buttons > .wp-block-button > .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--custom--button--arrow-gap);
	box-sizing: border-box;
	min-height: var(--wp--custom--button--min-height);
}

.wp-block-buttons > .wp-block-button > .wp-block-button__link::after {
	content: var(--wp--custom--button--arrow);
	transition: transform 0.15s ease-in-out;
}

.wp-block-buttons > .wp-block-button > .wp-block-button__link:hover::after {
	transform: translateX(var(--wp--custom--button--arrow-nudge));
}

/* Large: a button set in the body size (18px) is 60px tall with 2rem side padding. */
.wp-block-buttons > .wp-block-button > .wp-block-button__link.has-body-font-size {
	min-height: var(--wp--custom--button--min-height-large);
	padding-inline: 2rem;
}

/* Secondary: core's Outline; the retired Quiet renders as it, so saved content keeps working. */
.wp-block-button:is(.is-style-outline, .is-style-quiet) > .wp-block-button__link {
	padding: 1rem 1.6rem;
	border: 2px solid var(--wp--preset--color--ink);
	background-color: transparent;
	color: var(--wp--preset--color--ink);
}

.wp-block-button:is(.is-style-outline, .is-style-quiet) > .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}

/* On dark: over photos and on ink, beside a Primary. */
.wp-block-button.is-style-outline-dark > .wp-block-button__link {
	border-color: var(--wp--preset--color--on-dark);
	background-color: transparent;
	color: var(--wp--preset--color--on-dark);
}

.wp-block-button.is-style-outline-dark > .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--on-dark);
	background-color: var(--wp--preset--color--on-dark);
	color: var(--wp--preset--color--ink);
}

/* Light: on the Donate sage (2026-11-25). White with ink text (17.27:1; white on the sage 1.68:1 is
   a visible edge, not text); hover fills ink with white text (17.27:1). */
.wp-block-button.is-style-light > .wp-block-button__link {
	border-color: var(--wp--preset--color--on-dark);
	background-color: var(--wp--preset--color--on-dark);
	color: var(--wp--preset--color--ink);
}

.wp-block-button.is-style-light > .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}

/* The retired Gold renders as Primary: nothing to add. */

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link,
	.wp-block-button__link::after,
	.is-style-arrow-link a::after,
	nav.du-account-menu .wp-block-navigation-item__content {
		transition: none;
	}

	.wp-block-buttons > .wp-block-button > .wp-block-button__link:hover::after,
	.is-style-arrow-link a:hover::after {
		transform: none;
	}
}

/* ---------- Separators ----------
   The site's divider is the sun gradient, the bar on the stamps (Maria Luisa, 2026-11-25: "THIS
   gradient bar. Please use throughout"): 4px, the same yellow to orange to red, in place of the
   dashed grey line. A color picked on the block in the editor is overridden. */
.wp-block-separator {
	height: 4px;
	border: 0;
	background: var(--wp--custom--sun) !important;
	opacity: 1;
}

.wp-block-separator.is-style-short {
	width: 2.6875rem;
}

/* ---------- Save the dates (/news/, design v2) ----------
   A call to action between the News title photo and the posts: a white box in a 2px ink frame,
   the month over the red dates, a 2px ink rule, the eyebrow over the line, and Details. */
.du-notice {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: clamp(1.25rem, 3vw, 3rem);
	padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.75rem);
	border: 2px solid var(--wp--preset--color--ink);
}

.du-notice > * {
	margin: 0 !important;
}

.du-notice__dates {
	color: var(--wp--preset--color--red); /* 4.84:1 */
	font-size: clamp(2.75rem, 2rem + 2.5vw, 4rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 0.9;
	white-space: nowrap;
}

.du-notice__dates small {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--ink);
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.du-notice__text {
	padding-left: clamp(1.25rem, 3vw, 3rem);
	border-left: 2px solid var(--wp--custom--notice--divider);
}

.du-notice__text > * {
	margin: 0;
}

.du-notice__text > p.is-style-eyebrow {
	margin-bottom: 0.25rem;
}

.du-notice__title {
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
	font-weight: 700;
	line-height: 1.4;
	text-wrap: balance;
}

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

	.du-notice__action {
		justify-self: start;
	}

	.du-notice__text {
		padding: 1.25rem 0 0;
		border-top: 2px solid var(--wp--custom--notice--divider);
		border-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.du-blog-card .wp-block-post-featured-image img {
		transition: none;
	}

	.du-blog-card:hover .wp-block-post-featured-image img {
		transform: none;
	}
}

/* ---------- Blog: section head and cards ---------- */

.du-section-head {
	gap: 1.5rem 2rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem) !important;
}

.du-section-head__text > * {
	margin-block: 0;
}

.du-section-head__text > .du-intro {
	max-width: 34rem;
	margin-top: 1.5rem;
}

.du-section-head > .is-style-arrow-link {
	margin: 0;
}

/* Blog card: no fill, a 4:5 portrait, the date, the title in sentence case; no excerpt. The
   title's link is stretched over the card. */
.wp-block-post-template.is-layout-grid {
	gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.du-blog-card {
	position: relative;
	min-width: 0;
}

.du-blog-card > * {
	margin: 0;
}

.du-blog-card .wp-block-post-featured-image {
	overflow: hidden;
	margin-bottom: 1.25rem;
	background-color: var(--wp--preset--color--background);
}

.du-blog-card .wp-block-post-featured-image img {
	object-position: 50% 20%;
	transition: transform 0.6s ease;
}

.du-blog-card:hover .wp-block-post-featured-image img {
	transform: scale(1.04);
}

.du-blog-card .wp-block-post-date {
	margin-bottom: 0.75rem;
}

.du-blog-card__title {
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.125rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.35;
	text-transform: none;
	text-wrap: pretty;
}

.du-blog-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.du-blog-card:hover .du-blog-card__title a {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--red);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

/* On phones the homepage's row swipes sideways (78% cards, snapping); /news/ stacks instead. */
@media (max-width: 781px) {
	.du-posts-swipe .wp-block-post-template.is-layout-grid {
		display: flex;
		gap: 1rem;
		margin-inline: calc(-1 * var(--wp--preset--spacing--30));
		padding: 0 var(--wp--preset--spacing--30) 0.5rem;
		overflow-x: auto;
		scroll-padding-inline: var(--wp--preset--spacing--30);
		scroll-snap-type: x mandatory;
	}

	.du-posts-swipe .wp-block-post-template.is-layout-grid > li {
		flex: 0 0 78%;
		scroll-snap-align: start;
	}

	.du-section-head {
		flex-direction: column;
		align-items: flex-start !important;
	}
}

/* ---------- Donate (home, design v2) ----------
   Production's layout: a solid band with the photo inset beside the words, in the logo's sage
   (#c0cbbe, Maria Luisa 2026-11-25; it was the Mexican flag's green), ink text 10.30:1. No
   eyebrow. The white Light button carries ink text and fills ink on hover.
   A shorter row with the photo touching its top and bottom edges (Sergey, 2026-11-25, on Maria
   Luisa's "Shrink the call out box to match the photo... bathed by the sun, not sunburnt"): the band
   has no padding of its own, the photo fills its column's full height (cropped, not letterboxed),
   and the words carry the padding. */
.du-donate.wp-block-group {
	padding-block: 0;
}

.du-donate__cols.wp-block-columns {
	display: grid;
	grid-template-columns: 5fr 7fr;
	align-items: stretch;
	gap: clamp(2rem, 6vw, 6rem);
	min-height: clamp(22rem, 30vw, 28rem);
	margin-block: 0;
}

.du-donate__cols > .wp-block-column:last-child {
	align-self: center;
	padding-block: var(--wp--preset--spacing--60);
}

.du-donate__cols > .wp-block-column {
	min-width: 0;
	margin: 0;
}

.du-donate__cols > .wp-block-column > * {
	margin-block: 0;
}

/* The photo is laid over its column, so the words set the row's height (with the floor above) and
   the photo is cropped to it, never the photo's own height setting the row. */
.du-donate__cols > .wp-block-column:first-child {
	position: relative;
	align-self: stretch; /* core centers a column marked is-vertically-aligned-center */
}

.du-donate__photo {
	position: absolute;
	inset: 0;
	margin: 0;
}

.du-donate__photo img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: auto !important;
	object-fit: cover;
	object-position: 50% 0; /* the raised hat stays in the crop */
}

.du-donate .du-donate__lead {
	margin-block: 1.5rem 2rem;
	font-family: var(--wp--preset--font-family--subhead);
	font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
	font-style: italic;
	line-height: 1.55;
}

.du-donate :focus-visible {
	outline-color: var(--wp--preset--color--ink);
}

@media (max-width: 781px) {
	.du-donate__cols.wp-block-columns {
		grid-template-columns: minmax(0, 1fr);
	}

	.du-donate__cols.wp-block-columns {
		gap: 0;
		min-height: 0;
	}

	.du-donate__photo {
		position: static;
	}

	.du-donate__photo img {
		height: auto;
		aspect-ratio: 4 / 3 !important;
	}
}

/* ---------- Festival: stat box (design v2) ----------
   White, a 2px ink frame, the number in red (4.84:1), the label in Arvo caps. */
.is-style-stat-box {
	border: 2px solid var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--background) !important;
	color: var(--wp--preset--color--ink) !important;
}

.du-stat__number {
	margin: 0;
	color: var(--wp--preset--color--red);
	font-size: clamp(4rem, 3rem + 3vw, 6rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.9;
}

.du-stat__label {
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.is-style-stat-box .du-stat__note {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--subhead);
	font-style: italic;
}

/* ---------- Festival: pricing (design v2) ----------
   White, no band: each period a card in a 2px ink frame, the tier in Lora italic, the price in
   Arvo 700, the dates in small grey caps. The open period (the card whose status is a link)
   gets a 3px red frame, a red price, a yellow "Open now" tag (ink on yellow 11.59:1) and its
   status as the red Primary button; the others say "Not available" in grey over a hairline. */
.du-pricing.has-background {
	background-color: var(--wp--preset--color--background) !important;
	color: var(--wp--preset--color--ink) !important;
}

.du-pricing :is(h2, p).has-on-dark-color {
	color: var(--wp--preset--color--ink) !important;
}

.du-pricing .du-price-cards.wp-block-columns {
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.is-style-price-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	padding: 1.5rem 1.5rem 1.75rem;
	border: 2px solid var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--background);
	text-align: left;
}

.is-style-price-card > *,
.is-style-price-card .du-price-card__body > * {
	margin-block: 0 !important;
	text-align: left !important;
}

.du-price-card__tier {
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--subhead);
	font-size: 1.25rem;
	font-style: italic;
	font-weight: 500;
	line-height: 1.2;
}

.du-price-card__body {
	padding: 0.5rem 0 1rem;
}

.du-price {
	color: var(--wp--preset--color--ink);
	font-size: 3.5rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
}

.du-price sup {
	margin-right: 0.05em;
	font-size: 0.45em;
	vertical-align: 0.9em;
}

.du-price-card__dates {
	margin-top: 0.5rem !important;
	color: var(--wp--preset--color--muted); /* 5.33:1 */
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.du-price-card__status {
	margin-top: auto !important;
	padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--muted);
	color: var(--wp--preset--color--muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
}

.is-style-price-card:has(.du-price-card__status a) {
	border: 3px solid var(--wp--preset--color--red);
}

.is-style-price-card:has(.du-price-card__status a)::before {
	content: "Open now";
	position: absolute;
	top: -0.85rem;
	left: 1.25rem;
	padding: 0.35rem 0.6rem;
	background-color: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--ink);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
}

.is-style-price-card:has(.du-price-card__status a) .du-price {
	color: var(--wp--preset--color--red);
}

.is-style-price-card .du-price-card__status:has(a) {
	padding-top: 0;
	border-top: 0;
}

body .is-style-price-card .du-price-card__status a:is(:link, :visited) {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--custom--button--arrow-gap);
	min-height: var(--wp--custom--button--min-height);
	box-sizing: border-box;
	padding: 0.95rem 1rem;
	border: 2px solid var(--wp--preset--color--red);
	background-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--on-dark);
	font-size: 0.875rem;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

body .is-style-price-card .du-price-card__status a::after {
	content: var(--wp--custom--button--arrow);
}

body .is-style-price-card .du-price-card__status a:hover {
	border-color: var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}

.du-pricing .wp-block-heading a {
	color: inherit;
}

@media (min-width: 782px) and (max-width: 999px) {
	.du-pricing .du-price-cards.wp-block-columns {
		flex-wrap: wrap !important;
		row-gap: 1.75rem;
	}

	.du-pricing .du-price-cards > .wp-block-column {
		flex: 1 1 calc(50% - 0.625rem) !important;
	}
}

/* ---------- Festival: schedule day tabs and timeline ---------- */

.is-style-day-tab {
	position: relative;
	height: 100%;
	padding: 0.5rem;
	border: 3px solid var(--wp--preset--color--muted); /* was the retired quiet grey; rollout F2 reviews the festival components */
	color: var(--wp--preset--color--muted);
	text-align: center;
}

.du-day-tabs > .wp-block-column:first-child .is-style-day-tab {
	border-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
}

.is-style-day-tab > * {
	margin-block: 0 !important;
}

.du-day-tab__day a {
	color: inherit;
	font-weight: 700;
}

.du-day-tab__day a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.is-style-day-tab:hover {
	border-color: var(--wp--preset--color--yellow);
}

.du-day-bar > * {
	margin-block: 0 !important;
}

.is-style-timeline {
	padding-bottom: var(--wp--preset--spacing--50);
}

.du-timeline__item.wp-block-columns {
	gap: 0;
	margin-block: 0;
}

.du-timeline__time {
	padding: 1.9rem 1.75rem 0 0;
}

.du-timeline__event {
	position: relative;
	padding: 1rem 0 1rem 2.5rem;
	border-left: 3px solid var(--wp--preset--color--ink);
}

.du-timeline__event::before {
	content: "";
	position: absolute;
	top: 1.9rem;
	left: -0.75rem;
	width: 1.3125rem;
	height: 1.3125rem;
	border-radius: 50%;
	background-color: var(--wp--preset--color--red);
}

.du-timeline__card > * {
	margin-block: 0.25rem 0;
}

@media (max-width: 600px) {
	/* Three tabs share 280px at 320: smaller type and padding keep "Saturday" whole. */
	.is-style-day-tab {
		padding-inline: 0.125rem;
		border-width: 2px;
	}

	.du-day-tab__day {
		font-size: var(--wp--preset--font-size--small);
	}

	/* Timeline on phones: the time sits above its card instead of in a 70px column, where
	   "midnight" and "REGISTRATION" could only fit by splitting. The line runs down the left of
	   both, and the marker moves to the time. */
	.du-timeline__item.wp-block-columns {
		flex-wrap: wrap !important; /* core's not-stacked-on-mobile is !important */
	}

	.du-timeline__item > .du-timeline__time,
	.du-timeline__item > .du-timeline__event {
		flex-basis: 100% !important; /* the columns' own widths are inline styles */
	}

	.du-timeline__time {
		position: relative;
		padding: 1.25rem 0 0 1.5rem;
		border-left: 3px solid var(--wp--preset--color--ink);
	}

	.du-timeline__item .du-timeline__time p {
		margin: 0;
		text-align: left; /* over the paragraph's own right alignment */
	}

	.du-timeline__time::before {
		content: "";
		position: absolute;
		top: 1.35rem;
		left: -0.75rem;
		width: 1.3125rem;
		height: 1.3125rem;
		border-radius: 50%;
		background-color: var(--wp--preset--color--red);
	}

	.du-timeline__event {
		padding: 0.5rem 0 1rem 1.5rem;
	}

	.du-timeline__event::before {
		content: none;
	}

	/* Section headings set without a size of their own scale down on narrow phones, so a long
	   word ("REPERTORIA/DANCE") fits a 280px column at 320px; 7.2vw keeps the 28px h2 at 390. */
	h2.wp-block-heading:not([class*="-font-size"]):not(.is-style-section-title) {
		font-size: min(var(--wp--preset--font-size--heading-2), 7.2vw);
	}

	h2.wp-block-heading.is-style-section-title:not([class*="-font-size"]) {
		font-size: min(var(--wp--preset--font-size--section), 9vw);
	}
}

/* ---------- Festival: policies panel ---------- */

.is-style-boxed {
	border: 2px solid var(--wp--preset--color--ink);
}

/* Schedule cards: white on white now, so a 1px grey edge. */
.du-timeline__card {
	border: 1px solid var(--wp--preset--color--muted);
}

/* ---------- Placeholders: impossible to miss until the 2027 copy replaces them ---------- */

.du-placeholder {
	padding: 0 0.2em;
	background-color: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--ink);
}

/* ---------- Product grids ----------
   WooCommerce keeps four, five or six columns from 600px up, which left 102px for a class card
   whose Register button is 148px wide (pages scrolled sideways from 600 to 670px). On tablets
   they show three to a row. The gap is WooCommerce's own 1.25em. */
@media (min-width: 600px) and (max-width: 959px) {
	.wp-block-woocommerce-product-collection .wc-block-product-template.is-flex-container:is(.columns-4, .columns-5, .columns-6) > li {
		width: calc(33.333% - 1.25em * 2 / 3);
	}
}

/* Phones: one card a row. Two to a row left a 130px column, where a class name split mid-word
   ("FOLKLORIC / O TOTS") and Sold out wrapped onto two lines. */
@media (max-width: 599px) {
	.wp-block-woocommerce-product-collection .wc-block-product-template__responsive.wc-block-product-template__responsive {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Cards in a row share its height (the list is a wrapping flex row), and the button sits at the
   card's bottom, so Register buttons line up across a row when one title wraps to more lines.
   Each card is a panel (Sergey: "hard to tell where one product ends and another begins"): the
   `surface` ground inside a 1px `line` border, square, everything left-aligned on one edge. The
   Classes page and the shop use the same grid, so they look the same. */
.wc-block-product-template > li.wc-block-product {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: var(--wp--preset--spacing--30);
	border: 1px solid var(--wp--preset--color--muted);
	background-color: var(--wp--preset--color--background);
	text-align: left;
}

.wc-block-product-template > li.wc-block-product > * {
	margin-block: 0;
}

.wc-block-product-template > li.wc-block-product .wp-block-post-title {
	font-size: 1.125rem;
}

.wc-block-product-template > li.wc-block-product .wc-block-components-product-price {
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--body, 1.125rem);
	font-weight: 700;
	text-align: left;
}

/* "16 available" (functions.php words it): muted, small, above the button (5.54:1 on surface). */
.wc-block-product-template > li.wc-block-product .wc-block-components-product-stock-indicator {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	text-align: left;
}

.wc-block-product-template > li.wc-block-product :is(.wc-block-components-product-button, .dureg-sold-out) {
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
}

.wc-block-product-template > li.wc-block-product > :is(.wc-block-components-product-button, .dureg-sold-out) {
	margin-top: auto;
}

/* One product card everywhere (/tienda/, related products, the empty cart's "New in store"): the
   Tienda card's title (Arvo 700, uppercase, ink, Medium), price in body at 15px, the button
   at the same 15px. Related products' h3 took the subhead Lora italic; the older grid took
   WooCommerce's 13.5px. */
body :is(.wc-block-product .wp-block-post-title, .wc-block-grid__product-title) {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.25rem;
	font-style: normal;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink);
}

body .wc-block-grid__product :is(.wc-block-grid__product-price, .wp-block-button__link) {
	font-size: 0.9375rem;
}

/* A sold-out class: the registration plugin swaps its Register button for this label (not a
   link, in WooCommerce's button classes so it is the same size), and drops WooCommerce's "Out of
   stock" line above it. A 2px dashed muted ring in place of the button's border, muted text
   (5.96:1), no arrow, no hover. */
.wc-block-product .dureg-sold-out .wp-block-button__link,
.wc-block-product .dureg-sold-out .wp-block-button__link:hover,
.dureg-sold-out .wp-block-button__link,
.dureg-sold-out .wp-block-button__link:hover {
	border: 2px dashed var(--wp--preset--color--muted);
	background-color: transparent;
	box-shadow: none;
	color: var(--wp--preset--color--muted);
	cursor: default;
}

/* The empty cart's "New in store" grid keeps four columns down to 600px: its 30px button
   padding split "Register" at 620 to 670px. */
.wc-block-grid__product .wp-block-button__link {
	padding-inline: 1rem;
}

/* Product pages: one column at the festival text width (templates/single-product.html), no
   photo (classes and tickets have none, Sergey) and no related products. */
.du-product > .wp-block-post-title {
	margin-block-start: var(--wp--preset--spacing--40);
}

/* Every row of a class page starts on the text edge (Sergey's Feedbucket #1103365): WooCommerce's
   add-to-cart block pads each child after the first 4px left and right, its classic form row pads
   3px, and its grid keeps a column for the quantity field, which a class does not show (one seat
   per line), so the dancer select, Add to cart, Add a dancer and the dancer form sat 4 to 8px in. */
body .du-product .wp-block-woocommerce-add-to-cart-form > *,
body .du-product .dureg-picker__field.form-row {
	padding-inline: 0;
}

body .du-product .wp-block-woocommerce-add-to-cart-form form.cart > .quantity:not(:has(input:not([type="hidden"]))) {
	display: none;
}

/* A class has no quantity field, so its Add to cart takes the whole row. */
body .du-product .wp-block-woocommerce-add-to-cart-form form.cart:has(> .quantity:not(:has(input:not([type="hidden"])))) > .single_add_to_cart_button {
	grid-column: 1 / -1;
}

/* Tienda items (Basecamp, David, 2026-11-24): the quantity on the left of Add to cart, one row, the
   field as tall as the button. A variable product (the T-shirt) puts the pair in its own wrapper. Only
   where a quantity field shows: a class's form holds the dancer picker and keeps its own layout. */
body .du-product .wp-block-woocommerce-add-to-cart-form :is(form.cart:not(.variations_form):has(> .quantity input:not([type="hidden"])), .woocommerce-variation-add-to-cart) {
	display: flex !important;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0; /* the form also holds empty hidden items, which a flex gap would count */
}

body .du-product .wp-block-woocommerce-add-to-cart-form :is(form.cart, .woocommerce-variation-add-to-cart) > .quantity {
	display: flex;
	flex: 0 0 auto;
	margin: 0 !important;
}

body .du-product .wp-block-woocommerce-add-to-cart-form :is(form.cart, .woocommerce-variation-add-to-cart) > .quantity input.qty {
	width: 4.5rem;
	height: auto;
	min-height: var(--wp--custom--button--min-height);
	padding: 0.5rem;
	border: 2px solid var(--wp--preset--color--ink);
	border-radius: 0;
	font-size: var(--wp--preset--font-size--medium);
	text-align: center;
}

body .du-product .wp-block-woocommerce-add-to-cart-form :is(form.cart, .woocommerce-variation-add-to-cart) > .single_add_to_cart_button {
	flex: 0 1 auto;
	margin: 0 0 0 0.75rem !important;
}

/* ---------- WooCommerce: buttons, fields, notices ----------
   WooCommerce's blocks (cart, checkout, product, mini-cart) use wp-element-button and take the
   Primary button from theme.json. Its classic buttons (My account login and register, addresses,
   the order table's actions, the pay-for-order page) are drawn by woocommerce.css at higher
   specificity, so they are mapped to the Primary look here. No arrows on WooCommerce buttons. */
body .woocommerce :is(a.button, button.button, input.button, #respond input#submit),
body :is(.woocommerce, .woocommerce-page) #place_order {
	min-height: var(--wp--custom--button--min-height);
	padding: 0.95rem 1.5rem;
	border: 2px solid var(--wp--preset--color--red);
	border-radius: 0;
	background-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--on-dark);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

body .woocommerce :is(a.button, button.button, input.button, #respond input#submit):hover,
body :is(.woocommerce, .woocommerce-page) #place_order:hover {
	border-color: var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}

/* The required-field asterisk in the palette's red (4.84:1), not WooCommerce's own #a00. */
body .woocommerce form .form-row .required {
	color: var(--wp--preset--color--red);
}

/* Fields: white, a 1px muted border (above the 3:1 a field edge needs), square, 16px (WooCommerce
   sets 15px, and iPhone Safari zooms on any field under 16px); the focus ring accent-dark. */
body .woocommerce form .form-row :is(.input-text, select, textarea),
body .woocommerce .woocommerce-ordering select.orderby,
body .wc-block-components-text-input :is(input, textarea),
body .wc-block-components-textarea,
body .wc-blocks-components-select .wc-blocks-components-select__select,
body .wc-block-components-combobox .wc-block-components-combobox-control input {
	border: 1px solid var(--wp--preset--color--muted);
	border-radius: 0;
	background-color: var(--wp--preset--color--background);
	font-size: 1rem;
}

body .woocommerce form .form-row :is(.input-text, select, textarea):focus,
body .wc-block-components-text-input :is(input, textarea):focus,
body .wc-block-components-textarea:focus,
body .wc-blocks-components-select .wc-blocks-components-select__select:focus,
body .wc-block-components-combobox .wc-block-components-combobox-control input:focus {
	outline: 2px solid var(--wp--preset--color--red);
	outline-offset: 2px;
	border-color: var(--wp--preset--color--red);
	box-shadow: none;
}

/* The block checkout's own field rule (.wc-block-components-form ... input[type=text], three
   classes) outranks the one above: the same values, matched at its weight. */
body .wc-block-components-form.wc-block-components-form .wc-block-components-text-input :is(input[type], textarea),
body .wc-block-components-form.wc-block-components-form .wc-block-components-combobox .wc-block-components-combobox-control input[type] {
	border: 1px solid var(--wp--preset--color--muted);
	border-radius: 0;
	font-size: 1rem;
}

body .wc-block-components-form.wc-block-components-form .wc-block-components-text-input :is(input[type], textarea):focus,
body .wc-block-components-form.wc-block-components-form .wc-block-components-combobox .wc-block-components-combobox-control input[type]:focus {
	outline: 2px solid var(--wp--preset--color--red);
	outline-offset: 2px;
	border-color: var(--wp--preset--color--red);
	box-shadow: none;
}

/* Selects as tall as the text fields beside them (Sergey: the dancer form's selects were 34px
   beside 50px fields): every WooCommerce form field is the house field, 52px, the size of the
   class page's dancer select; text starts 0.75rem in, in both. */
body .woocommerce form .form-row :is(.input-text, select) {
	box-sizing: border-box;
	min-height: 3.25rem;
	padding-inline: 0.75rem;
}

/* "Add a dancer" (the plugin's disclosure on a class page and under My Account > Festival
   registration): the Secondary button, so a parent sees they can add a dancer right there, with
   a plus in the arrow's place that becomes a minus while it is open, and a space of 1.875rem
   above the form it opens (Sergey's Feedbucket #1103294). */
.dureg-add-dancer > summary {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--custom--button--arrow-gap);
	box-sizing: border-box;
	min-height: var(--wp--custom--button--min-height);
	padding: 1rem 1.6rem;
	border: 2px solid var(--wp--preset--color--ink);
	background-color: transparent;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.dureg-add-dancer > summary::-webkit-details-marker {
	display: none;
}

.dureg-add-dancer > summary::after {
	content: "+";
}

.dureg-add-dancer[open] > summary::after {
	content: "\2212";
}

.dureg-add-dancer > summary:hover {
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--yellow);
}

.dureg-add-dancer > summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--red);
	outline-offset: 3px;
}

.dureg-add-dancer[open] > summary {
	margin-bottom: var(--wp--preset--spacing--40);
}

@media (prefers-reduced-motion: reduce) {
	.dureg-add-dancer > summary {
		transition: none;
	}
}

/* The registration plugin's dancer form (My Account and the class page): two columns on a grid,
   first-column fields on the left, second on the right. WooCommerce floats them, and a field after
   a taller one caught on it and stood out of line (Sergey's T-shirt size). One column on phones. */
body .woocommerce form.dureg-dancer-form,
body .woocommerce form.dureg-dancer-form .dureg-guardian {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 2rem;
	align-items: start;
}

body .woocommerce form.dureg-dancer-form .form-row {
	float: none;
	width: auto;
	margin: 0 0 1.25rem;
	padding: 0;
}

body .woocommerce form.dureg-dancer-form .form-row-first {
	grid-column: 1;
}

body .woocommerce form.dureg-dancer-form .form-row-last {
	grid-column: 2;
}

body .woocommerce form.dureg-dancer-form > :is(.dureg-guardian, .form-row:not(.form-row-first, .form-row-last)) {
	grid-column: 1 / -1;
}

body .woocommerce form.dureg-dancer-form .dureg-guardian {
	margin: 0 0 1.5rem;
}

body .woocommerce form.dureg-dancer-form .form-row label {
	display: block;
	margin-bottom: 0.4rem;
	line-height: 1.4;
}

@media (max-width: 599px) {
	body .woocommerce form.dureg-dancer-form,
	body .woocommerce form.dureg-dancer-form .dureg-guardian {
		grid-template-columns: minmax(0, 1fr);
	}

	body .woocommerce form.dureg-dancer-form :is(.form-row-first, .form-row-last) {
		grid-column: 1;
	}
}

/* No product photos in the cart or the Mini-Cart (Sergey): classes and tickets have none, so each
   line showed WooCommerce's grey placeholder. The cart's "Product" column heading sat over the
   photo column, so the details column carries it now. Where WooCommerce lays a line out on a grid
   (the cart on phones, the Mini-Cart drawer) the details take the photo's place and the price
   stays at the right. */
body .wc-block-cart-items :is(.wc-block-cart-item__image, .wc-block-cart-items__header-image) {
	display: none;
}

/* No photos in the checkout's Order summary either (Sergey's Feedbucket #1103368; 0.2.18 kept
   them for the quantity badge). The badge stays, in a narrow column of its own beside the line, so
   two tickets still read as 2. */
body .wc-block-components-order-summary .wc-block-components-order-summary-item__image > img {
	display: none;
}

body .wc-block-components-order-summary .wc-block-components-order-summary-item__image {
	flex: 0 0 1.25rem;
	width: 1.25rem;
	min-width: 0;
	padding-block-start: 0.125rem;
}

body .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
	position: static;
	transform: none;
}

body :is(.is-medium, .is-mobile, .is-small, .wc-block-cart, .wc-block-mini-cart__drawer) table.wc-block-cart-items .wc-block-cart-items__row {
	grid-template-columns: minmax(0, 1fr) auto;
}

body :is(.is-medium, .is-mobile, .is-small, .wc-block-cart, .wc-block-mini-cart__drawer) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product {
	grid-column: 1;
}

body :is(.is-medium, .is-mobile, .is-small, .wc-block-cart, .wc-block-mini-cart__drawer) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
	grid-column: 2;
}

body .wc-block-cart .wc-block-cart-items__header-product::before {
	content: "Product";
}

body .wc-block-cart .wc-block-cart-items__header-product {
	text-align: left;
}

/* My Account's login and register panels: square, on the line color. */
body .woocommerce form:is(.login, .register, .lost_reset_password) {
	border-color: var(--wp--preset--color--muted);
	border-radius: 0;
}

/* The house ring on the cart and checkout controls, which carried WooCommerce's own (a blue 2px
   ring on Proceed to Checkout and Place order, a grey 1px inset on quantity, the browser's blue
   on Remove item). */
body :is(.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wc-block-components-button, .wc-block-cart-item__remove-link, .wc-block-components-quantity-selector__button, .wc-block-components-totals-coupon-link, .wc-block-components-panel__button):focus-visible {
	outline: 2px solid var(--wp--preset--color--red) !important;
	outline-offset: 3px !important;
	box-shadow: none !important;
}

body .wc-block-components-quantity-selector:focus-within {
	box-shadow: none !important;
}

body .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input:focus-visible {
	outline: 2px solid var(--wp--preset--color--red) !important;
	outline-offset: 2px !important;
	box-shadow: none !important;
}

/* WooCommerce's own templates (shop, product, cart) end in plain blocks and ran into the footer
   (Critter: 0 to 16px): the same Large space the theme's pages keep. */
body.woocommerce-page main.wp-block-group:not(:has(.du-page-content)) {
	padding-block-end: var(--wp--preset--spacing--60);
}

/* Checkout header: distraction-free by David's choice (design system, Forms, WooCommerce,
   checkout), so WooCommerce's own checkout template keeps no menu and no footer; this theme part
   replaces its plain-text site title with the house logo at the house header's height, linking
   home, and keeps the cart link. Not sticky: nothing to reach while paying. */
.du-checkout-header {
	border-bottom: 1px solid var(--wp--preset--color--muted);
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--ink);
}

.du-checkout-header__row {
	align-items: center;
	min-height: var(--wp--custom--header--height);
}

.du-checkout-header .wc-block-cart-link {
	display: inline-flex;
	align-items: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	justify-content: center;
	color: inherit;
}

/* The same glyph the house Mini-Cart draws, at the size WooCommerce gives it there (27px). */
.du-checkout-header .wc-block-cart-link svg {
	width: 1.6875rem;
	height: 1.6875rem;
}

@media (max-width: 781px) {
	.du-checkout-header__row {
		min-height: var(--wp--custom--header--height-mobile);
	}
}

/* The closed Mini-Cart drawer is aria-hidden but its close button and "Return to shop" stayed in
   the tab order on every page. Hidden it takes no focus; the delay lets the close slide finish. */
.wc-block-mini-cart__drawer[aria-hidden="true"] {
	visibility: hidden;
	transition: visibility 0s linear 0.3s;
}

/* Notices keep WooCommerce's own colors (they carry their own contrast); square corners. */
body :is(.wc-block-components-notice-banner, .woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-store-notice) {
	border-radius: 0;
}

/* A notice that carries a button ("View cart" after an add to cart, "Return to shop" and the like; David,
   2026-11-22): the message and the button centered on one line, the button the site's primary button (peach,
   Arvo 700 caps, ink text 7.86:1), not WooCommerce's bare underlined link that the theme's border turned into an
   empty-looking box. Tighter padding; on a phone the button drops under the message. Block notices (the store
   notices block, the cart and checkout) and classic ones (pay-for-order, My Account) alike. WooCommerce sets the
   notice link's background, color and padding with !important, so those three need it here too. */
body .wc-block-components-notice-banner {
	align-items: center;
	padding: 0.75rem 1rem;
}

body .wc-block-components-notice-banner > .wc-block-components-notice-banner__content:has(> a.button) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
}

body :is(.wc-block-components-notice-banner__content, .woocommerce-message, .woocommerce-info, .woocommerce-error) a.button:is(.button, #dureg-none#dureg-none) {
	float: none;
	order: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 2.75rem;
	margin: 0;
	padding: 0.75rem 1.6rem !important;
	border: 2px solid var(--wp--preset--color--red);
	border-radius: 0;
	background: var(--wp--preset--color--red) !important;
	color: var(--wp--preset--color--on-dark) !important;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: 1;
}

body :is(.wc-block-components-notice-banner__content, .woocommerce-message, .woocommerce-info, .woocommerce-error) a.button:is(.button, #dureg-none#dureg-none):hover {
	border-color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--ink) !important;
	color: var(--wp--preset--color--on-dark) !important;
}

body :is(.wc-block-components-notice-banner__content, .woocommerce-message, .woocommerce-info, .woocommerce-error) a.button:is(.button, #dureg-none#dureg-none):focus-visible {
	outline: 2px solid var(--wp--preset--color--red);
	outline-offset: 3px;
}

/* Classic notices: the same one line. */
body :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):has(> a.button) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
}

@media (max-width: 599px) {
	body .wc-block-components-notice-banner > .wc-block-components-notice-banner__content:has(> a.button),
	body :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):has(> a.button) {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ---------- Registration plugin: My Account > Festival registration, the class page picker ----------
 * The plugin's own markup (0.8.0), styled here only. The dancers table: square, grey rules, the
 * labels in the heading type; Edit is the Secondary button at a 44px target, Remove and Start fresh
 * the destructive actions in red (4.84:1 on white). The confirmation is a warning panel on
 * yellow with an ink rule (ink on yellow 10.13:1), not WooCommerce's blue info box.
 */
body .woocommerce table.shop_table.dureg-dancers {
	border: 1px solid var(--wp--preset--color--muted);
	border-collapse: collapse;
	border-radius: 0;
}

body .woocommerce table.shop_table.dureg-dancers :is(th, td) {
	padding: 0.875rem 1rem;
	border-top: 1px solid var(--wp--preset--color--muted);
	vertical-align: middle;
}

body .woocommerce table.shop_table.dureg-dancers thead th {
	border-top: 0;
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body .woocommerce table.shop_table.dureg-dancers td:first-child {
	color: var(--wp--preset--color--ink);
	font-weight: 600;
}

/* The actions cell holds one Edit per festival taking dancers ("Edit for DUF 2027" when two are
   open) and Remove: it wraps inside a fixed width rather than pushing the table off the page. */
body .woocommerce table.shop_table.dureg-dancers td.dureg-dancers__actions {
	width: 12.5rem;
	text-align: right;
}

/* Desktop: the cell stays a table cell (flex on a td takes it out of the table's rows); its
   controls are inline and wrap. With an Edit per open festival, each Edit takes the cell's width. */
body .woocommerce .dureg-dancers__actions > * {
	vertical-align: middle;
	margin-block: 0.25rem;
}

body .woocommerce .dureg-dancers__actions .dureg-remove-link {
	margin-inline-start: 1rem;
}

body .woocommerce .dureg-dancers__actions:has(.button + .button) :is(a.button, #dureg-none#dureg-none) {
	justify-content: center;
	width: 100%;
}

/* Edit: the Secondary button, compact to sit in a table row (44px target). The mapping of
   WooCommerce's classic buttons above carries two IDs' weight (its `#respond input#submit`), so this
   matches it the same way: `#dureg-none#dureg-none` matches nothing and only lends the weight. */
body .woocommerce .dureg-dancers__actions :is(a.button, #dureg-none#dureg-none) {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	margin: 0.25rem 0;
	padding: 0.5rem 1.1rem;
	border: 2px solid var(--wp--preset--color--ink);
	background-color: transparent;
	color: var(--wp--preset--color--ink);
	font-size: 0.875rem;
	line-height: 1.2;
	text-align: center;
	white-space: normal;
}

body .woocommerce .dureg-dancers__actions :is(a.button, #dureg-none#dureg-none):hover {
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}

/* My Account > Orders: View (and Pay, Cancel) as the same compact Secondary button as a dancer's Edit,
   sized to the table row instead of the full Primary button (Sergey's Feedbucket, 2026-11-24). */
body .woocommerce .woocommerce-orders-table__cell-order-actions :is(a.button, #dureg-none#dureg-none) {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	margin: 0.25rem 0.5rem 0.25rem 0;
	padding: 0.5rem 1.1rem;
	border: 2px solid var(--wp--preset--color--ink);
	background-color: transparent;
	color: var(--wp--preset--color--ink);
	font-size: 0.875rem;
	line-height: 1.2;
	white-space: nowrap;
}

body .woocommerce .woocommerce-orders-table__cell-order-actions :is(a.button, #dureg-none#dureg-none):last-child {
	margin-right: 0;
}

body .woocommerce .woocommerce-orders-table__cell-order-actions :is(a.button, #dureg-none#dureg-none):hover {
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}

/* Remove and Start fresh: destructive, red text links (the forward action is a filled button). */
body :is(.dureg-remove-link, .dureg-start-fresh a) {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: var(--wp--preset--color--red);
	text-decoration-color: currentcolor;
}

body :is(.dureg-remove-link, .dureg-start-fresh a):hover {
	color: var(--wp--preset--color--ink);
}

/* Start fresh: a destructive Secondary button below the table, apart from the per-dancer actions. */
.dureg-start-fresh {
	margin-block-start: var(--wp--preset--spacing--30);
}

body .dureg-start-fresh a {
	padding: 0.5rem 1.1rem;
	border: 2px solid var(--wp--preset--color--red);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-decoration: none;
	text-transform: uppercase;
}

body .dureg-start-fresh a:hover {
	background-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--on-dark);
}

/* The confirmation: a warning panel. WooCommerce's info icon and blue rule are dropped. */
body .woocommerce .dureg-confirm.woocommerce-info {
	margin-block: 0 var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--30) clamp(1.25rem, 3vw, 2rem);
	border: 0;
	border-inline-start: 6px solid var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--ink);
}

body .woocommerce .dureg-confirm.woocommerce-info::before {
	content: none;
}

.dureg-confirm > p:first-child {
	margin-block-start: 0;
	font-size: 1.125rem;
}

.dureg-confirm form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin-block-start: 1.25rem;
}

body .woocommerce .dureg-confirm form .button {
	float: none;
	margin: 0;
}

body .woocommerce .dureg-confirm a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: var(--wp--preset--color--ink);
}

/* Phones: WooCommerce stacks the table into label and value rows; each dancer becomes one block,
   labels above values, and the actions row loses the bare ":" an empty label left. */
@media (max-width: 768px) {
	body .woocommerce table.shop_table_responsive.dureg-dancers tr {
		display: block;
		border-top: 1px solid var(--wp--preset--color--muted);
	}

	body .woocommerce table.shop_table_responsive.dureg-dancers tr:first-child {
		border-top: 0;
	}

	body .woocommerce table.shop_table_responsive.dureg-dancers tbody tr:nth-child(2n) td {
		background-color: transparent;
	}

	body .woocommerce table.shop_table_responsive.dureg-dancers tbody td {
		display: block;
		padding: 0.25rem 1rem;
		border-top: 0;
		text-align: left !important;
	}

	body .woocommerce table.shop_table_responsive.dureg-dancers tbody td:first-child {
		padding-top: 1rem;
	}

	body .woocommerce table.shop_table_responsive.dureg-dancers tbody td::before {
		display: block;
		float: none;
		color: var(--wp--preset--color--muted);
		content: attr(data-title);
		font-family: var(--wp--preset--font-family--heading);
		font-size: 0.75rem;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
	}

	body .woocommerce table.shop_table_responsive.dureg-dancers tbody td.dureg-dancers__actions {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.5rem 1.25rem;
		width: auto;
		padding-block: 0.75rem 1rem;
	}

	body .woocommerce .dureg-dancers__actions > * {
		margin: 0;
	}

	body .woocommerce .dureg-dancers__actions .dureg-remove-link {
		margin-inline-start: 0;
	}

	body .woocommerce .dureg-dancers__actions:has(.button + .button) :is(a.button, #dureg-none#dureg-none) {
		width: auto;
	}

	body .woocommerce table.shop_table_responsive.dureg-dancers tbody td.dureg-dancers__actions::before {
		content: none;
	}
}

/* The class page picker (plugin 0.10.9; Sergey and David, 2026-11-27): the dancers who can take the
   class as a list of radio rows, not a select, whose open list is the operating system's grey popup.
   Each row is a 3.25rem target with a 1px muted rule, the name in ink; the legend in small caps; the
   radio is the native control in red, so keyboard (Tab into the group, arrows between rows) and screen
   readers work as a radio group does. */
body .dureg-picker__field {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

body .dureg-picker__field legend {
	margin-bottom: 0.75rem;
	padding: 0;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.dureg-picker__options {
	display: grid;
	gap: 0.5rem;
}

body .dureg-picker label.dureg-picker__option {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	box-sizing: border-box;
	min-height: 3.25rem;
	margin: 0;
	padding: 0.6rem 1rem;
	border: 1px solid var(--wp--preset--color--muted);
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--ink);
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
}

body .dureg-picker label.dureg-picker__option:hover {
	border-color: var(--wp--preset--color--ink);
}

/* The chosen row (the ledger): white, a 2px ink frame and a 6px red bar inside its left edge, the name bold. */
body .dureg-picker label.dureg-picker__option:has(input:checked) {
	padding: calc(0.6rem - 1px) calc(1rem - 1px) calc(0.6rem - 1px) calc(1rem + 5px);
	border: 2px solid var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--background);
	box-shadow: inset 6px 0 0 var(--wp--preset--color--red);
	font-weight: 700;
}

.dureg-picker__option input[type="radio"] {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	accent-color: var(--wp--preset--color--red);
}

.dureg-picker__option input[type="radio"]:focus-visible {
	outline: 2px solid var(--wp--preset--color--red);
	outline-offset: 3px;
}

.dureg-picker__option span {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* The festival's class page note (the Showcase note; the ledger, David, 2026-11-27): a 6px sun stripe
   down its left edge, yellow at the top to red at the bottom (David's change to Los's option B, whose
   stripe ran across the top), and no frame (Sergey's item 10, theme 0.2.55). The padding stays, so the
   text keeps 1.25rem clear of the stripe. Ink text on white 17.27:1. */
.dureg-class-note {
	position: relative;
	box-sizing: border-box;
	margin: 0 0 var(--wp--preset--spacing--40);
	padding: 1rem 1.25rem 1rem calc(1.25rem + var(--wp--custom--stamp--sun-height));
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--ink);
	font-size: 1rem;
	line-height: 1.6;
}

:is(.dureg-class-note, .du-checkout-tienda)::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--wp--custom--stamp--sun-height);
	background: linear-gradient(180deg, #fff200 0%, #ffce16 34%, #f68b33 68%, #e01a22 100%);
}

.dureg-class-note p {
	margin: 0;
}

.dureg-class-note p + p {
	margin-top: 0.75rem;
}

body .dureg-class-note a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--ink);
}

/* Under a locked birthday: how to get it corrected (plugin 0.10.9). */
.dureg-birth-locked {
	display: block;
	margin-top: 0.35rem;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}

/* The added-to-cart notice on a class page (the ledger, 2026-11-27): the house frame instead of
   WooCommerce's green: white, a 2px ink frame, the check in an ink disc; the message, then View cart
   (Primary), "Enroll another dancer" and "Shop the Tienda" (both Secondary; 0.2.55) side by side under
   it, full width each on a phone. The plugin (0.10.10) wraps the message and the buttons. */
body .du-product:has(.dureg-class-facts) .wc-block-components-notice-banner.is-success {
	align-items: flex-start;
	gap: 0.9rem;
	padding: 1rem 1.25rem;
	border: 2px solid var(--wp--preset--color--ink);
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--ink);
	font-size: 1rem;
	line-height: 1.5;
}

body .du-product:has(.dureg-class-facts) .wc-block-components-notice-banner.is-success > svg {
	flex: none;
	box-sizing: border-box;
	width: 1.75rem;
	height: 1.75rem;
	margin-top: 0.1rem;
	padding: 0.3rem;
	border-radius: 50%;
	background: var(--wp--preset--color--ink);
	fill: var(--wp--preset--color--on-dark);
}

body .wc-block-components-notice-banner > .wc-block-components-notice-banner__content:has(> .dureg-notice__actions) {
	display: grid;
	gap: 0.9rem;
	min-width: 0;
}

.dureg-notice__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

body .dureg-notice__actions a.button:is(.button, #dureg-none#dureg-none) {
	order: 0;
	max-width: 100%;
	white-space: normal;
}

body .dureg-notice__actions a.button.dureg-enroll-another:is(.button, #dureg-none#dureg-none) {
	border-color: var(--wp--preset--color--ink);
	background: transparent !important;
	color: var(--wp--preset--color--ink) !important;
}

body .dureg-notice__actions a.button.dureg-enroll-another:is(.button, #dureg-none#dureg-none):hover {
	background: var(--wp--preset--color--ink) !important;
	color: var(--wp--preset--color--on-dark) !important;
}

@media (max-width: 599px) {
	body .dureg-notice__actions a.button:is(.button, #dureg-none#dureg-none) {
		flex: 1 1 100%;
	}
}

/* The picker is a grid item of the add-to-cart form: without min-width 0 a long dancer name or a
   link set its minimum width, and on a phone the page ran 50 to 80px wider
   than the screen (with or without the liaison box). The first column may now shrink; a long name
   wraps inside its row. */
body .du-product .wp-block-woocommerce-add-to-cart-form form.cart:has(> .dureg-picker) {
	grid-template-columns: minmax(0, 1fr) auto auto;
}

body .du-product form.cart > .dureg-picker {
	min-width: 0;
}


/* The DUF Liaison box under the picker (plugin 0.10.4): the checkbox beside its label, a wrapped label
   lining up under its first word; the note smaller and muted, close under it; the volunteer link a
   plain text link. */
.dureg-liaison {
	margin-block: 1rem 1.25rem;
}

.dureg-liaison p {
	margin: 0;
}

body .woocommerce .dureg-liaison .dureg-liaison__field label,
.dureg-liaison__field label {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	line-height: 1.4;
}

.dureg-liaison__field input[type="checkbox"] {
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
	margin: 0.15rem 0 0;
	accent-color: var(--wp--preset--color--red);
}

.dureg-liaison__note {
	margin-block-start: 0.35rem !important;
	padding-left: 1.725rem;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}

/* The returning-family notice on My Account and a logged-out class page (plugin 0.10.8; Sergey,
   2026-11-25: bolder and more prominent): a panel in the logo's sage under the 6px sun edge, ink text
   10.30:1, the lead in bold, at the lead size. Information, not a warning: no red, no icon, role="note". */
.dureg-returning-note {
	box-sizing: border-box;
	margin: 0 0 var(--wp--preset--spacing--50);
	padding: 1.25rem 1.5rem;
	border-top: var(--wp--custom--stamp--sun-height) solid transparent;
	border-image: var(--wp--custom--sun) 1;
	background: var(--wp--preset--color--sage);
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.5;
}

.dureg-returning-note p {
	margin: 0;
}

.dureg-returning-note strong {
	font-weight: 700;
}

/* Focus: the house ring on every control here (3px off a button-like link, 2px off a text link). */
body :is(.dureg-dancers__actions .button, .dureg-start-fresh a, .dureg-confirm .button):focus-visible {
	outline: 2px solid var(--wp--preset--color--red);
	outline-offset: 3px;
}

body :is(.dureg-remove-link, .dureg-confirm a, .dureg-class-note a, .dureg-birth-locked a):focus-visible {
	outline: 2px solid var(--wp--preset--color--red);
	outline-offset: 2px;
}

/* ---------- Gravity Forms ----------
 * Orbital's buttons in the theme's button type (Arvo, bold, uppercase, as theme.json's button
 * element). Colors come from the palette through functions.php; theme.json cannot reach a
 * plugin's custom properties. Two classes to outrank Orbital's own one-class declaration.
 */
.gform-theme--framework.gform_wrapper {
	--gf-ctrl-btn-font-family: var(--wp--preset--font-family--heading);
	--gf-ctrl-btn-font-weight: 700;
	--gf-ctrl-btn-text-transform: uppercase;
	--gf-ctrl-btn-letter-spacing: 0.06em;
	/* Hover as the Primary button: ink with white text (17.27:1). */
	--gf-ctrl-btn-bg-color-hover-primary: var(--wp--preset--color--ink);
	--gf-ctrl-btn-border-color-hover-primary: var(--wp--preset--color--ink);
	--gf-ctrl-btn-color-hover-primary: var(--wp--preset--color--on-dark);
	/* "(Required)" in the palette's red (4.84:1), not Orbital's own #c02b0a. */
	--gf-ctrl-label-color-req: var(--wp--preset--color--red);
	/* 16px fields: Orbital's 14px makes iPhone Safari zoom on every tap into a field. */
	--gf-ctrl-font-size: 1rem;
}

/* The theme's 52px button height (Orbital's medium is 38px) and a visible keyboard ring (Orbital's
   focus is a shadow at 8% opacity). !important because Orbital sets both through its own
   per-element variables from selectors no class chain outranks (measured: a five-class rule lost). */
.gform-theme--framework.gform_wrapper .button {
	min-height: 3.25rem !important;
}

/* The house ring on every Gravity Forms control: 3px off a button, 2px off a field (a field had
   only its 1px border change color). No transition on the outline: Orbital eased it in from 0px
   over 0.15s, so a focused control first read as unfocused (Critter). */
.gform-theme--framework.gform_wrapper :is(.button, .gform-theme-button, input[type="submit"], input[type="button"], button):focus-visible {
	outline: 2px solid var(--wp--preset--color--red) !important;
	outline-offset: 3px !important;
}

.gform-theme--framework.gform_wrapper :is(input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea):focus-visible {
	outline: 2px solid var(--wp--preset--color--red) !important;
	outline-offset: 2px !important;
}

.gform-theme--framework.gform_wrapper :is(.button, .gform-theme-button, input, select, textarea, button) {
	transition-property: color, background-color, border-color, box-shadow !important;
}

/* Touch targets on phones: the date picker's calendar button (23 by 22px) becomes 44px wide
   and as tall as the field, and the signature pad's text and clear buttons (27px) 44px square.
   The calendar selector repeats Orbital's own, one class stronger. */
@media (max-width: 781px) {
	.gform-theme--framework.gform_wrapper .gfield--input-type-datepicker.gfield--datepicker-default-icon .ginput_container_date button.gform-datepicker-toggle.gform-theme-button {
		justify-content: center;
		min-inline-size: 2.75rem;
		min-block-size: var(--gf-ctrl-size);
	}

	.gform-theme--framework.gform_wrapper .gform-datepicker.datepicker_with_icon {
		padding-inline-end: 2.75rem;
	}

	.gform-theme--framework.gform_wrapper .gfield_signature_toolbar_icons button {
		min-width: 2.75rem;
		min-height: 2.75rem;
	}
}

/* The volunteer shifts as a table (Maria Luisa, 2026-11-25), as her volunteer doc has it: days down,
   the four shifts across, a checkbox in each cell (functions.php adds the headers). Each cell is its
   checkbox's label, stretched over the cell with its words hidden, so the whole cell toggles it; a
   checked cell turns pale yellow. On phones the columns tighten and the headers shrink; the table
   stays a table at 320px. */
.gform-theme--framework .gfield.du-shift-grid .gfield_checkbox {
	display: grid !important;
	grid-template-columns: minmax(6.5rem, 1.3fr) repeat(4, minmax(0, 1fr)) !important;
	gap: 1px !important;
	border: 1px solid var(--wp--preset--color--muted);
	background-color: var(--wp--preset--color--muted);
}

.gform-theme--framework .gfield.du-shift-grid .gfield_checkbox > * {
	display: flex;
	align-items: center;
	min-height: 3.25rem;
	margin: 0 !important;
	padding: 0.5rem 0.75rem;
	background-color: var(--wp--preset--color--background);
}

.gform-theme--framework .gfield.du-shift-grid :is(.du-shift-grid__corner, .du-shift-grid__shift) {
	min-height: 0;
}

.gform-theme--framework .gfield.du-shift-grid .du-shift-grid__shift {
	justify-content: center;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
}

.gform-theme--framework .gfield.du-shift-grid .du-shift-grid__day {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.3;
}

.gform-theme--framework .gfield.du-shift-grid .gchoice {
	position: relative;
	justify-content: center;
}

.gform-theme--framework .gfield.du-shift-grid .gchoice input {
	position: relative;
	z-index: 1;
	margin: 0;
}

.gform-theme--framework .gfield.du-shift-grid .gchoice label {
	position: absolute;
	inset: 0;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	color: transparent !important;
	font-size: 0 !important;
	cursor: pointer;
}

.gform-theme--framework .gfield.du-shift-grid .gchoice:has(input:checked) {
	background-color: #fff5cc;
}

@media (max-width: 600px) {
	.gform-theme--framework .gfield.du-shift-grid .gfield_checkbox {
		grid-template-columns: minmax(4.75rem, 1.2fr) repeat(4, minmax(0, 1fr)) !important;
	}

	.gform-theme--framework .gfield.du-shift-grid .gfield_checkbox > * {
		padding: 0.4rem 0.35rem;
	}

	.gform-theme--framework .gfield.du-shift-grid .du-shift-grid__shift {
		font-size: 0.75rem;
		letter-spacing: 0;
	}

	.gform-theme--framework .gfield.du-shift-grid .du-shift-grid__day {
		font-size: 0.8125rem;
	}
}

/* ---------- Footer ----------
   The ink band opens with the 6px sun gradient, the bar on the stamps (Maria Luisa, 2026-11-25:
   "Can this and all footers use the gradient please?"; it was equal thirds with hard stops); then
   three columns (logo; the connect title over the social icons; the footer menu as a
   vertical list), and the legal bar below a grey hairline. */
.du-footer {
	padding-top: clamp(3.5rem, 6vw, 5.5rem);
	border-top: var(--wp--custom--footer--band-height) solid transparent;
	border-image: var(--wp--custom--footer--band) 1;
}

.du-footer .wp-block-navigation {
	color: var(--wp--preset--color--on-dark);
}

.du-footer__cols.wp-block-columns {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: start;
	gap: clamp(2rem, 5vw, 5rem);
	margin-block: 0 clamp(2.5rem, 4vw, 3.5rem);
}

.du-footer__cols > .wp-block-column {
	min-width: 0;
	margin: 0;
}

.du-footer__logo {
	margin: 0;
}

.du-footer__logo img {
	display: block;
	width: auto;
	height: 10rem;
}

.du-footer__connect > * {
	margin-block: 0;
}

.du-footer__title {
	max-width: 20ch; /* "DANZANTES UNIDOS" (11.01em) on one line inside it */
	margin-bottom: 1.5rem !important;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
}

/* Social icons: white glyphs in 48px white rings; hover fills yellow with an ink glyph. */
.wp-block-social-links.is-style-circles {
	gap: 0.75rem;
}

.wp-block-social-links.is-style-circles .wp-social-link {
	width: 3rem;
	height: 3rem;
	border: 2px solid var(--wp--custom--footer--social-ring);
	border-radius: 50%;
	background-color: transparent !important; /* core's per-service brand fills */
	color: var(--wp--preset--color--on-dark) !important;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.wp-block-social-links.is-style-circles .wp-social-link a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0;
}

.wp-block-social-links.is-style-circles .wp-social-link svg {
	width: 1.25rem;
	height: 1.25rem;
}

.wp-block-social-links.is-style-circles .wp-social-link:hover {
	border-color: var(--wp--preset--color--yellow);
	background-color: var(--wp--preset--color--yellow) !important;
	color: var(--wp--preset--color--ink) !important;
}

/* The footer menu, a vertical list: links at least 31px tall (the 24px target minimum). */
.du-footer-menu {
	font-size: 0.875rem;
}

.du-footer-menu .wp-block-navigation__container {
	gap: 0.4rem;
}

.du-footer-menu .wp-block-navigation-item__content {
	padding-block: 0.25rem;
}

.du-footer .du-footer-menu a:hover {
	color: var(--wp--preset--color--yellow);
}

/* Legal bar on the same ink, below a hairline: the copyright in white 15px, the trademark and
   sanctioning lines in white at 13px (15.10:1). */
/* One centered column (Sergey, Feedbucket 2026-11-18: "Center copyright text"); the trademark and
   sanctioning lines are centered with it, so the bar keeps one axis. */
.du-footer-bar {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	text-align: center;
	padding-block: 1.75rem 2.25rem;
	border-top: 1px solid var(--wp--custom--footer--rule);
}

.du-footer-bar > * {
	margin: 0 !important;
}

.du-footer__copyright {
	color: var(--wp--preset--color--on-dark);
}

.du-footer__legal > * {
	margin: 0;
	color: var(--wp--preset--color--on-dark);
	line-height: 1.6;
}

.du-footer__legal > * + * {
	margin-top: 0.5rem;
}

@media (max-width: 781px) {
	.du-footer__cols.wp-block-columns {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.du-footer__logo img {
		height: 7.5rem;
	}

	.du-footer-bar {
		grid-template-columns: 1fr;
	}
}

/* Empty cart (Sergey, Feedbucket 2026-11-22): room between "Your cart is currently empty!" and its two
   buttons, which sat 15px under it at 1440. */
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title + .wp-block-buttons {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* Class cards (Sergey, Feedbucket 2026-11-22): the age range and instructor the registration plugin adds
   under the title (0.9.2), muted and small like the stock line (5.54:1 on surface). */
.wc-block-product-template > li.wc-block-product .dureg-card-details {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
	text-align: left;
}

.wc-block-product-template > li.wc-block-product .dureg-card-details__ages {
	color: var(--wp--preset--color--ink);
	font-weight: 700;
}

/* Age groups (item G, David, 2026-11-22): a tag with the group's name and ages in text, in the group's
   color, and a matching stripe on top of the card. Never a whole-card fill, never color alone. Text contrast
   (WCAG AA): Juniors ink on yellow 10.13:1, Jr. High ink on orange 6.23:1, High School white on red 4.84:1,
   Adults white on ink 15.10:1. */
.wc-block-product-template > li.wc-block-product .dureg-age-tag {
	display: inline-block;
	margin-block-end: 0.35rem;
	padding: 0.2rem 0.55rem;
	border-radius: 2px;
	background-color: var(--dureg-age-color);
	color: var(--dureg-age-text, var(--wp--preset--color--ink));
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

.wc-block-product-template > li.wc-block-product:has(.dureg-age-tag) {
	border-top: 6px solid var(--dureg-age-color);
}

.wc-block-product-template > li.wc-block-product:has(.dureg-age-tag--juniors) {
	--dureg-age-color: var(--wp--preset--color--yellow);
}

.wc-block-product-template > li.wc-block-product:has(.dureg-age-tag--jr-high) {
	--dureg-age-color: var(--wp--preset--color--orange);
}

.wc-block-product-template > li.wc-block-product:has(.dureg-age-tag--high-school) {
	--dureg-age-color: var(--wp--preset--color--red);
	--dureg-age-text: var(--wp--preset--color--on-dark);
}

.wc-block-product-template > li.wc-block-product:has(.dureg-age-tag--adult) {
	--dureg-age-color: var(--wp--preset--color--ink);
	--dureg-age-text: var(--wp--preset--color--on-dark);
}

/* Teens and adults, the mixed 13-and-up classes (Maria Luisa, 2026-11-23): the theme's green since
   2026-11-24 (David, with option B of the class list; it was the grey), the logo's sage since
   2026-11-25 with ink text 10.30:1. */
.wc-block-product-template > li.wc-block-product:has(.dureg-age-tag--teens-and-adults) {
	--dureg-age-color: var(--wp--preset--color--sage);
}

/* The group colors on the tag itself too, so the same tag works on a class's own page and on the filter chips
   (item F and the class page, 2026-11-22). */
.dureg-age-tag--juniors { --dureg-age-color: var(--wp--preset--color--yellow); }
.dureg-age-tag--jr-high { --dureg-age-color: var(--wp--preset--color--orange); }
.dureg-age-tag--high-school { --dureg-age-color: var(--wp--preset--color--red); --dureg-age-text: var(--wp--preset--color--on-dark); }
.dureg-age-tag--adult { --dureg-age-color: var(--wp--preset--color--ink); --dureg-age-text: var(--wp--preset--color--on-dark); }
.dureg-age-tag--teens-and-adults { --dureg-age-color: var(--wp--preset--color--sage); }

/* A class's own page: the ages tag in the facts strip (the ledger, 2026-11-27), as on its card. */
.dureg-class-facts .dureg-age-tag {
	display: inline-block;
	padding: 0.25rem 0.65rem;
	border-radius: 2px;
	background-color: var(--dureg-age-color);
	color: var(--dureg-age-text, var(--wp--preset--color--ink));
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

/* Age-group chips over the classes grid (item F, David, 2026-11-22). Each chip is a link with a 2px border and a
   square swatch in its group's color; the chosen chip is filled with that color, bold, with a check mark, and
   carries aria-current, so the state never rests on color alone. They wrap onto more lines on a phone. */
.dureg-age-chips {
	margin-block-end: var(--wp--preset--spacing--40);
}

.dureg-age-chips ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dureg-age-chips .dureg-age-chip--all {
	--dureg-age-color: var(--wp--preset--color--ink);
}

.dureg-age-chips .dureg-age-chip {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 2.75rem;
	padding: 0.5rem 0.9rem;
	border: 2px solid var(--dureg-age-color);
	border-radius: 999px;
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.dureg-age-chips .dureg-age-chip:is(.dureg-age-tag--juniors, .dureg-age-tag--jr-high, .dureg-age-tag--high-school, .dureg-age-tag--teens-and-adults, .dureg-age-tag--adult)::before {
	content: "";
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 2px;
	background-color: var(--dureg-age-color);
	box-shadow: inset 0 0 0 1px rgba(43, 37, 34, 0.25);
}

.dureg-age-chips .dureg-age-chip:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}

.dureg-age-chips .dureg-age-chip.is-active {
	background-color: var(--dureg-age-color);
	color: var(--dureg-age-text, var(--wp--preset--color--ink));
}

.dureg-age-chips .dureg-age-chip--all.is-active {
	color: var(--wp--preset--color--on-dark);
}

.dureg-age-chips .dureg-age-chip.is-active::before {
	content: "\2713";
	width: auto;
	height: auto;
	background: none;
	box-shadow: none;
	font-size: 1rem;
	line-height: 1;
}

.dureg-age-chips .dureg-age-chip:focus-visible {
	outline: 2px solid var(--wp--preset--color--red);
	outline-offset: 3px;
}

/* ---------- The class list, grouped (Los's option B, registration-grid-b.html; David, 2026-11-24) ----------
   One product collection per age group (registration plugin 0.10.5): its heading over a 6px bar in the
   group's color, then one row per class: title, ages, instructor (grey Lora italic), price and spots
   (grey), and a small outlined Enroll that fills red only on hover and keyboard focus. Under 900px a row
   is the title, one grey line and the button on the right. The chips over the list jump to the groups. */
.dureg-group-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 1rem;
	margin-block: clamp(2.5rem, 5vw, 4rem) 0.25rem;
	padding-top: 0.9rem;
	border-top: 6px solid var(--dureg-age-color);
	scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--custom--header--height) + 2.25rem + 1rem);
}

.dureg-age-chips + .dureg-group-head {
	margin-block-start: 0;
}

.dureg-group-head__title {
	margin: 0;
	font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
	letter-spacing: -0.01em;
	line-height: 1.15;
}

.dureg-group-head__meta {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	font-weight: 500;
}

body .dureg-class-list .wc-block-product-template {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

body .dureg-class-list .wc-block-product-template > li.wc-block-product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 8.5rem 14rem 7.5rem auto;
	align-items: center;
	gap: 0.5rem 1.5rem;
	width: auto;
	margin: 0;
	padding: 0.9rem 0;
	border: 0;
	border-bottom: 1px solid rgba(30, 26, 24, 0.14);
	background: transparent;
}

body .dureg-class-list .wc-block-product-template > li.wc-block-product:hover {
	background: linear-gradient(90deg, transparent, rgba(30, 26, 24, 0.03) 10%, rgba(30, 26, 24, 0.03) 90%, transparent);
}

body .dureg-class-list .wc-block-product-template > li.wc-block-product .wp-block-post-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.35;
	text-transform: none;
}

body .dureg-class-list .wp-block-post-title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

body .dureg-class-list .wp-block-post-title a:hover {
	text-decoration: underline;
}

.dureg-class-list .dureg-row__ages {
	font-size: 0.875rem;
	font-weight: 600;
}

.dureg-class-list .dureg-row__who {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--subhead);
	font-size: 0.9375rem;
	font-style: italic;
	line-height: 1.4;
}

.dureg-class-list .dureg-row__meta {
	color: var(--wp--preset--color--muted);
	font-size: 0.8125rem;
	font-weight: 500;
	text-align: right;
}

.dureg-class-list .dureg-row__sub {
	display: none;
	color: var(--wp--preset--color--muted);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.45;
}

.dureg-class-list .dureg-row__sub i {
	font-family: var(--wp--preset--font-family--subhead);
	font-size: 0.875rem;
}

body .dureg-class-list .wc-block-product-template > li.wc-block-product > :is(.wc-block-components-product-button, .dureg-sold-out) {
	margin: 0;
}

/* Enroll: 2px ink outline, small capitals, an arrow; red with white text (4.84:1) on hover and focus. */
body .dureg-class-list .wc-block-components-product-button :is(a, button).wp-block-button__link:is(.wp-element-button, #dureg-none#dureg-none) {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.5rem;
	margin: 0;
	padding: 0.5rem 0.9rem;
	border: 2px solid var(--wp--preset--color--ink);
	background-color: transparent;
	color: var(--wp--preset--color--ink);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	line-height: 1;
	white-space: nowrap;
}

body .dureg-class-list .wc-block-components-product-button :is(a, button).wp-block-button__link:is(.wp-element-button, #dureg-none#dureg-none):is(:hover, :focus-visible) {
	border-color: var(--wp--preset--color--red);
	background-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--on-dark);
}

body .dureg-class-list .wc-block-components-product-button :is(a, button).wp-block-button__link:is(.wp-element-button, #dureg-none#dureg-none)::after {
	content: "\2192";
}

@media (max-width: 900px) {
	body .dureg-class-list .wc-block-product-template > li.wc-block-product {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "t b" "s b";
		gap: 0.2rem 1rem;
	}

	body .dureg-class-list .wc-block-product-template > li.wc-block-product .wp-block-post-title {
		grid-area: t;
	}

	.dureg-class-list :is(.dureg-row__ages, .dureg-row__who, .dureg-row__meta) {
		display: none;
	}

	.dureg-class-list .dureg-row__sub {
		display: block;
		grid-area: s;
	}

	body .dureg-class-list .wc-block-product-template > li.wc-block-product > :is(.wc-block-components-product-button, .dureg-sold-out) {
		grid-area: b;
	}
}

/* Main menu underline: Los's design (design v2 mockup, design-v2.css `.nav a`; David, 2026-11-23).
   A 2px bar 0.5rem under the label's line box (line height 1), red on the white header and yellow
   over a photo (the --du-nav-underline the header sets), on hover, on keyboard focus and on the
   current page and its parent. It replaces item K's 4px text underline (2026-11-22). */
.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	line-height: 1;
	text-decoration: none !important;
}

.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item:focus-within > .wp-block-navigation-item__content {
	border-bottom-color: var(--du-nav-underline);
}

/* No arrow beside Festival and Programs on a desktop with a mouse: the panel opens on hover, and on
   keyboard focus of the label (core opens it on focus within the item). The arrow button stays in
   the page for screen readers and keyboards (aria-expanded, Escape closes): it is clipped out of
   sight and comes back, with the house ring, the moment the keyboard reaches it. Touch screens
   keep the 44px arrow (the rule above), because a tap on a label goes to its page. */
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
	.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-submenu__toggle:not(:focus-visible) {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: 0;
		padding: 0;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

/* The dropdown: a white card, 10px corners, a soft shadow, 10px inside, at least 220px wide,
   left-aligned under its label and touching the bar, so the pointer never crosses a gap. Items are
   bold ink in title case, about 16px, one per line; hover and focus turn it red with a 3px red bar. */
.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
	left: 0 !important;
	width: max-content !important;
	min-width: 13.75rem !important;
	max-width: 22rem;
	padding: 0.625rem !important;
	border: 0 !important;
	border-radius: 10px;
	box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
}

.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item + .wp-block-navigation-item {
	border-top: 0;
}

.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.875rem !important;
	border-left: 0;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
	text-transform: none;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
}

.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:is(:hover, :focus-visible, [aria-current]) {
	/* Restored from theme 0.2.31 (David, 2026-11-23): the pre-redesign hover, its two colors written
	   out because the v2 palette no longer carries surface (#faf6f0) or accent-dark (#b85e1c). */
	background-color: #faf6f0;
	color: #b85e1c;
}

/* Order received, for an order with classes (item I, David, 2026-11-22; plugin 0.9.5): the headline and
   order line, the payment status band, one card per enrollment, next steps, the festival letter collapsed;
   WooCommerce's totals, billing and payment instructions follow, quieter. */
.dureg-or {
	margin-block-end: var(--wp--preset--spacing--50);
}

.dureg-or__head {
	margin: 0;
	font-size: var(--wp--preset--font-size--heading-2);
}

.dureg-or__meta {
	margin-block: 0.35rem var(--wp--preset--spacing--30);
	color: var(--wp--preset--color--muted);
}

.dureg-or__status {
	margin: 0 0 var(--wp--preset--spacing--40);
	padding: 0.9rem 1.1rem;
	border-left: 6px solid var(--wp--preset--color--ink);
	border-top: 1px solid var(--wp--preset--color--muted);
	border-bottom: 1px solid var(--wp--preset--color--muted);
	color: var(--wp--preset--color--ink);
}

.dureg-or__status.is-due {
	border-left-color: var(--wp--preset--color--red);
}

.dureg-or__title {
	margin-block: var(--wp--preset--spacing--40) 0.75rem;
	font-size: var(--wp--preset--font-size--heading-3);
}

.dureg-or__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dureg-or__card {
	padding: 1rem 1.1rem;
	border: 1px solid var(--wp--preset--color--muted);
	background-color: var(--wp--preset--color--background);
}

.dureg-or__card p {
	margin: 0 0 0.4rem;
}

.dureg-or__num {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.dureg-or__class {
	color: var(--wp--preset--color--ink);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
}

.dureg-or__ages .dureg-age-tag {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border-radius: 2px;
	background-color: var(--dureg-age-color);
	color: var(--dureg-age-text, var(--wp--preset--color--ink));
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.4;
}

.dureg-or__ages .dureg-card-details__ages {
	font-weight: 700;
}

.dureg-or__next {
	margin-block-start: var(--wp--preset--spacing--40);
	padding: 0.25rem 1.25rem 1.25rem;
	border: 2px solid var(--wp--preset--color--muted);
}

.dureg-or__next ul {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dureg-or__next .dureg-or__waiver {
	display: inline-block;
}

.dureg-or__next .dureg-or__waiver + span {
	display: block;
	margin-block-start: 0.5rem;
}

.dureg-or__next .dureg-or__print {
	border-color: var(--wp--preset--color--ink);
	background-color: transparent;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
}

.dureg-or__letter {
	margin-block-start: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--wp--preset--color--muted);
	border-bottom: 1px solid var(--wp--preset--color--muted);
}

.dureg-or__letter summary {
	padding: 1rem 0;
	color: var(--wp--preset--color--ink);
	font-weight: 700;
	cursor: pointer;
}

.dureg-or__letter[open] {
	padding-block-end: 1rem;
}

/* The order-received page is the printable enrollment (David, 2026-11-22): one printout with the order, its
   enrollments and totals; no header, menu, footer, notices, buttons or the collapsed letter. */
@media print {
	.wp-site-blocks > header,
	.wp-site-blocks > footer,
	.wp-site-blocks > .wp-block-template-part,
	.wc-block-store-notices,
	.dureg-or__letter,
	.dureg-or__next,
	.wp-element-button,
	.wp-block-button {
		display: none !important;
	}

	.dureg-or__card {
		break-inside: avoid;
	}

	.dureg-or__status {
		border: 1px solid #000;
	}

	body {
		background: #fff !important;
	}
}

/* A class's description (the ledger, 2026-11-27): after the facts, before the choice. Its h2 is a small caps
   label under the 56 x 5 sun bar (the section-title bar), so a 46-character description and a 1,500-character
   one sit in the same frame; the text keeps a 42rem measure. */
.dureg-class-description {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* The measure is on the section's children: the section is a child of the page's constrained layout, whose auto
   side margins would center a narrower section. */
.dureg-class-description > * {
	max-width: 42rem;
}

body .du-product .dureg-class-description > h2.wp-block-heading:not([class*="-font-size"]) {
	margin: 0 0 0.9rem;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
	--fs: var(--wp--preset--font-size--small);
}

.dureg-class-description > h2::before {
	content: "";
	display: block;
	width: 3.5rem;
	height: 5px;
	margin-bottom: 0.9rem;
	background: var(--wp--custom--sun);
}

/* Embeds in a description never pass the column; height follows the inline aspect-ratio set in functions.php
   (danzantes_unidos_embed_ratio), so each keeps its own proportions (0.2.58). */
.dureg-class-description :is(iframe, video, embed, object) {
	max-width: 100%;
}

.dureg-class-description :is(iframe[style*="aspect-ratio"], video) {
	height: auto;
}

.dureg-class-description p {
	margin: 0 0 1em;
}

.dureg-class-description p:last-child {
	margin-bottom: 0;
}

/* ---------- The no-break rule (client rule, design v2) ----------
   "Danzantes Unidos" and "Danzantes Unidos Festival" never break across lines, at any width.
   functions.php wraps each in .nb (non-breaking spaces inside); here it keeps to one line, and
   the heading or button that carries it steps its own size down until it fits its column
   instead of overflowing. In Montserrat 800 caps "Danzantes Unidos Festival" was 16.25em wide and
   "Danzantes Unidos" 11.01em; in the button's tracked caps 17.81em and 12.07em. Arvo 700 (since
   2026-11-25) is about 3% narrower (15.78em and 10.58em), so these divisors still fit, with room. --fs is each
   element's normal size. The fit measures the nearest container, so layout columns are
   containers; never an auto-width or content-sized item (containment sizes it to 0), which is
   why groups that are flex items, and the footer's auto columns, are left out. */
.nb {
	white-space: nowrap;
}

.wp-block-column,
.wp-block-group:not(.is-layout-flex > *):not(.is-layout-grid > *),
.wp-block-cover__inner-container,
.wp-block-post-content,
.wp-block-post-template > li {
	container-type: inline-size;
}

.du-footer__cols > :is(.du-footer__brand, .du-footer__nav) {
	container-type: normal;
}

h1 { --fs: var(--wp--preset--font-size--heading-1); }
h2 { --fs: var(--wp--preset--font-size--heading-2); }
h3 { --fs: var(--wp--preset--font-size--lead); }
h4 { --fs: var(--wp--preset--font-size--heading-4); }
.is-style-section-title { --fs: var(--wp--preset--font-size--section); }
.du-footer__title { --fs: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.du-plate__title { --fs: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.du-tile__title { --fs: 1.25rem; }
.has-x-small-font-size { --fs: var(--wp--preset--font-size--x-small); }
.has-small-font-size { --fs: var(--wp--preset--font-size--small); }
.has-body-font-size { --fs: var(--wp--preset--font-size--body); }
.has-eyebrow-font-size { --fs: var(--wp--preset--font-size--eyebrow); }
.has-lead-font-size { --fs: var(--wp--preset--font-size--lead); }
.has-heading-4-font-size { --fs: var(--wp--preset--font-size--heading-4); }
.has-heading-3-font-size { --fs: var(--wp--preset--font-size--heading-3); }
.has-heading-2-font-size { --fs: var(--wp--preset--font-size--heading-2); }
.has-section-font-size { --fs: var(--wp--preset--font-size--section); }
.has-heading-1-font-size { --fs: var(--wp--preset--font-size--heading-1); }
.has-display-font-size { --fs: var(--wp--preset--font-size--display); }

body :is(h1, h2, h3, h4, .wp-block-post-title):has(.nb--fest) {
	font-size: min(var(--fs), 100cqi / 16.4) !important;
}

/* Weglot's Spanish can carry more inside the span ("del Festival Danzantes Unidos", 18.61em), which ran
   History's section title 27px off a 390 screen; Spanish fits to that length (2026-11-25). */
html:lang(es) body :is(h1, h2, h3, h4, .wp-block-post-title):has(.nb--fest) {
	font-size: min(var(--fs), 100cqi / 18.8) !important;
}

body :is(h1, h2, h3, h4, .wp-block-post-title):has(.nb--name):not(:has(.nb--fest)) {
	font-size: min(var(--fs), 100cqi / 11.4) !important;
}

body .wp-element-button:has(.nb--fest) {
	font-size: min(0.875rem, (100cqi - 3.5rem) / 18) !important;
}

body .wp-element-button:has(.nb--name):not(:has(.nb--fest)) {
	font-size: min(0.875rem, (100cqi - 3.5rem) / 12.3) !important;
}

body .du-tile__title:has(.nb--fest) {
	font-size: min(var(--fs), (100cqi - 2.5rem) / 16.4) !important; /* the arrow beside it */
}

body .du-tile__title:has(.nb--name):not(:has(.nb--fest)) {
	font-size: min(var(--fs), (100cqi - 2.5rem) / 11.4) !important;
}

/* Post pages (/news/): numbered pages over a grey hairline, the current page in red. */
.wp-block-query-pagination {
	gap: 0.5rem 1.5rem;
	margin-top: clamp(3rem, 5vw, 4.5rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	font-weight: 700;
}

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

.wp-block-query-pagination .page-numbers.current {
	padding-bottom: 0.3rem;
	border-bottom: 2px solid var(--wp--preset--color--red);
	color: var(--wp--preset--color--red);
}

/* A long address or link in page text (an email in a heading, a URL in the privacy policy) may
   break where it must, so it never pushes a 320px screen sideways. */
.du-page-content a:is([href^="mailto:"], [href^="http"]):not(:has(.nb)) {
	overflow-wrap: anywhere;
}

/* h4 is tracked 0.04em, which adds about 1em to the phrase: "Danzantes Unidos Festival" 17.25em,
   "Danzantes Unidos" 11.65em. */
body h4:is(h4, .du-none):has(.nb--fest) {
	font-size: min(var(--fs), 100cqi / 17.6) !important;
}

body h4:is(h4, .du-none):has(.nb--name):not(:has(.nb--fest)) {
	font-size: min(var(--fs), 100cqi / 12) !important;
}

/* Pricing is white in design v2, but its saved content still marks some headings white
   (has-on-dark-color, from the dark band of 0.2.31): ink on the white band. */
body .du-pricing.du-pricing :is(h2, h3, h4, h5, h6).has-on-dark-color,
body .du-pricing.du-pricing :is(h2, h3, h4, h5, h6).has-on-dark-color :is(em, strong, span) {
	color: var(--wp--preset--color--ink) !important;
}

/* The dancer form (plugin 0.10.0): part of a group, or an independent dancer. The group fields show for a group, the
   $5 service fee sentence for an independent dancer. Without :has() both show and the server decides from the choice. */
.dureg-group-mode {
	margin: 0 0 var(--wp--preset--spacing--30);
	padding: 0;
	border: 0;
}

.dureg-group-mode > legend {
	margin-bottom: 0.5rem;
	font-weight: 700;
}

.dureg-group-mode__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}

.dureg-group-mode__choices label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
}

.dureg-group-mode__fee {
	padding: 0.75rem 1rem;
	border-inline-start: 4px solid var(--wp--preset--color--red);
	background: var(--wp--preset--color--background);
}

.dureg-group-mode__fee,
.dureg-group-mode:has(input[value="independent"]:checked) .dureg-group-fields {
	display: none;
}

.dureg-group-mode:has(input[value="independent"]:checked) .dureg-group-mode__fee {
	display: block;
}

.dureg-group-mode:not(:has(input[value="group"]:checked)) .dureg-group-fields {
	display: none;
}

@supports not selector(:has(*)) {
	.dureg-group-mode__fee,
	.dureg-group-mode .dureg-group-fields {
		display: block;
	}
}

.dureg-group-fields::after {
	content: "";
	display: table;
	clear: both;
}

/* ---------- The language bar (David, 2026-11-23) ----------
   A thin ink bar across the top of the header, white text, holding Weglot's switcher through Weglot's
   own [weglot_switcher] shortcode (parts/header.html), so Weglot leaves out its floating button,
   which sat over the cart. It is part of the sticky header and sits above the see-through header:
   the photo starts under the bar, and the header's row still lies over it. */
.du-topbar {
	--du-topbar-h: 2.25rem;
	margin: 0 !important;
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
	font-size: var(--wp--preset--font-size--x-small);
}

.du-topbar__row {
	min-height: var(--du-topbar-h);
	align-items: center;
}

/* The shortcode block's paragraphs (wpautop around Weglot's markup) take no room. */
.du-topbar__row p {
	margin: 0 !important;
}

.du-topbar__row p:empty {
	display: none;
}

.du-topbar .country-selector .wgcurrent .wglanguage-name,
.du-topbar .country-selector ul a {
	line-height: var(--du-topbar-h);
}

.du-topbar .country-selector .wgcurrent .wglanguage-name {
	padding-right: 1.75rem;
}

.wp-block-template-part:has(> .du-header__bar) > .du-header__bar {
	margin-block-start: 0;
}

/* Weglot's dropdown in the bar: the current language in white on ink; the list it opens stays
   Weglot's own white panel with ink text, under the bar and over the header. */
.du-topbar .country-selector {
	position: relative;
	z-index: 60;
	margin: 0;
	border: 0;
	background-color: transparent;
	color: var(--wp--preset--color--on-dark);
	font-size: inherit;
}

.du-topbar .country-selector .wgcurrent,
.du-topbar .country-selector .wgcurrent :is(a, span) {
	border: 0;
	background-color: transparent;
	color: var(--wp--preset--color--on-dark);
}

.du-topbar .country-selector .wgcurrent::after {
	filter: invert(1);
}

.du-topbar .country-selector ul {
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--ink);
	box-shadow: 0 0.75rem 2rem rgba(30, 26, 24, 0.16);
}

.du-topbar .country-selector ul a {
	color: var(--wp--preset--color--ink);
}

/* Weglot set to show every language inline (Sergey, Weglot's switcher settings, by 2026-11-24): the
   dropdown panel's white box and shadow would sit behind the other language, so on the bar both
   names are white text, and the current one carries the main menu's mark, its 2px underline in the
   yellow it takes on dark (David, 2026-11-24). The other language takes the same mark on hover. */
.du-topbar .country-selector.weglot-inline ul {
	background-color: transparent;
	box-shadow: none;
	color: var(--wp--preset--color--on-dark);
}

.du-topbar .country-selector.weglot-inline ul a {
	background-color: transparent;
	color: var(--wp--preset--color--on-dark);
}

.du-topbar .country-selector.weglot-inline .wgcurrent .wglanguage-name {
	padding-right: 0.5rem;
}

.du-topbar .country-selector.weglot-inline .wgcurrent .wglanguage-name,
.du-topbar .country-selector.weglot-inline ul a:is(:hover, :focus-visible) {
	text-decoration-line: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--wp--preset--color--yellow);
	text-underline-offset: 0.5em;
}

/* The see-through header over a photo starts below the bar. */
.wp-block-template-part.du-header--overlay:has(> .du-topbar) > .du-topbar {
	position: relative;
}

html {
	scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--custom--header--height) + 2.25rem);
}

@media (max-width: 781px) {
	html {
		scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--custom--header--height-mobile) + 2.25rem);
	}
}

/* ---------- A page with no photo of its own: type on sage (David, 2026-11-26) ----------
   Los's option B (references/mockups/sage-band/, sage-band-b-*.html) without its watermark: a flat
   band in the logo's sage, no texture, no plate. The H1 sits in ink straight on the sage (10.30:1)
   with the 6px sun rule under it, and the band is as tall as its content. Every template whose band
   has no photo: page, page-legal, page-cart, single, archive, search, 404, index. The Cover (photo)
   bands are never matched (:not(.wp-block-cover)), so the frosted photo plates stay as they are.
   Text on the sage is ink only: white 1.68:1, red 2.89:1 and the grey 3.18:1 all fail there. */
.du-title-band:not(.du-title-band--photo):not(.du-title-band--under-photo):not(.wp-block-cover) {
	--du-focus-color: var(--wp--preset--color--ink);
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--80) max(var(--wp--style--root--padding-right), (100% - var(--wp--style--global--wide-size)) / 2) var(--wp--preset--spacing--60) max(var(--wp--style--root--padding-left), (100% - var(--wp--style--global--wide-size)) / 2);
	background: var(--wp--preset--color--sage);
	color: var(--wp--preset--color--ink);
}

.du-title-band:not(.du-title-band--photo):not(.du-title-band--under-photo):not(.wp-block-cover) > * {
	margin-block: 0;
}

.du-title-band:not(.du-title-band--photo):not(.du-title-band--under-photo):not(.wp-block-cover) :is(h1, h2, p, a, time, .wp-block-post-date) {
	color: var(--wp--preset--color--ink);
}

/* theme.json's link focus ring is red, 2.89:1 on the sage; ink here, 10.30:1. */
.du-title-band:not(.du-title-band--photo):not(.du-title-band--under-photo):not(.wp-block-cover) :focus-visible {
	outline-color: var(--wp--preset--color--ink);
}

/* The title: Arvo 700 caps (theme.json h1), Los's size for B, capped by the screen's width so the
   longest title word fits at 320px; a post's title is a size smaller and runs longer. */
.du-title-band:not(.du-title-band--photo):not(.du-title-band--under-photo):not(.wp-block-cover) > h1 {
	max-width: 16ch;
	font-size: min(clamp(2.25rem, 1.2rem + 4vw, 4.5rem), 9vw);
	line-height: 1;
	text-align: left;
	word-break: normal;
	overflow-wrap: break-word;
}

.du-title-band:not(.du-title-band--photo):not(.du-title-band--under-photo):not(.wp-block-cover) > h1.wp-block-post-title:not(:only-child) {
	max-width: 24ch;
	font-size: min(clamp(1.75rem, 1.1rem + 2.6vw, 3.25rem), 8vw);
	line-height: 1.05;
}

/* The sun rule under the title. */
.du-title-band:not(.du-title-band--photo):not(.du-title-band--under-photo):not(.wp-block-cover)::after {
	content: "";
	display: block;
	width: 4.5rem;
	height: var(--wp--custom--stamp--sun-height);
	margin-top: 1.5rem;
	background: var(--wp--custom--sun);
}

/* A single post (Sergey, 2026-11-25; in the band since 2026-11-26): "News" back to the News page, the
   date, then the title, the page's one H1. */
.du-title-band > p.du-band-back {
	margin-bottom: 1rem;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* Room under a back link (2026-11-27): 20px to whatever follows it, the date on a post ("<- News",
   Sergey's item 9) or the title on a Legal subpage ("<- Legal"), so the two match. The sage band
   zeroes its children's margins (0.2.50), so this carries the band's own selector. */
.du-title-band:not(.du-title-band--photo):not(.du-title-band--under-photo):not(.wp-block-cover) > p.du-band-back + * {
	margin-top: 1.25rem;
}

.du-title-band > p.du-band-back a {
	display: inline-block;
	border-bottom: 2px solid var(--wp--preset--color--ink);
	text-decoration: none;
}

.du-title-band > p.du-band-back a::before {
	content: "\2190\00a0\00a0"; /* browsers without alt text for content */
	content: "\2190\00a0\00a0" / "";
}

.du-title-band > p.du-band-back a:hover {
	box-shadow: 0 2px 0 var(--wp--preset--color--ink);
}

.du-title-band > .wp-block-post-date {
	margin-bottom: 0.35rem;
	font-family: var(--wp--preset--font-family--subhead);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-style: italic;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.3;
	text-transform: none;
}

/* A post's date on its blog card (Sergey's Feedbucket, 2026-11-25): Lora italic at the eyebrow size, as
   p.is-style-eyebrow, in red on white, in the site's date format ("April 18, 2026"). This replaces the
   small grey capitals the design system gives dates. */
.du-blog-card .wp-block-post-date {
	color: var(--wp--preset--color--red);
	font-family: var(--wp--preset--font-family--subhead);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-style: italic;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.3;
	text-transform: none;
}

/* ---------- Festival and History pages: Los's design v2 (mockups festival.html, festival-history.html) ---------- */

/* Two languages side by side, each under its eyebrow. */
.du-bilingual.wp-block-columns {
	gap: clamp(2rem, 5vw, 5rem);
}

.du-bilingual p.is-style-eyebrow {
	margin-bottom: 0.75rem;
}

/* History's two-language text, lighter and more open (Maria Luisa, 2026-11-25: "Font is too heavy.
   Font leading is too close together"): Montserrat 300 from 400, line height 1.9 from 1.7; Arvo has no 300, so it is 400 there since 2026-11-25. */
.du-bilingual p:not(.is-style-eyebrow) {
	font-weight: 300;
	line-height: 1.9;
}

/* The cities the festival has been held in: years over the city, the sun bar above each (Maria Luisa,
   2026-11-25: the gradient in place of the black rules, years in gold). The site's one gold,
   shared with the home hero's title line: the logo's yellow darkened until it holds 3:1 on the
   hero's frosted plate (4.73:1 on white); large text only (24px, 800 here), never small text. */
.wp-block-list.du-cities {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
	gap: 0 clamp(1.25rem, 2.5vw, 2.5rem);
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}

.du-cities li {
	margin: 0;
	padding: 0.9rem 0 1.5rem;
	border-top: 4px solid transparent;
	border-image: var(--wp--custom--sun) 1;
	font-family: var(--wp--preset--font-family--subhead);
	font-size: 1.0625rem;
	font-style: italic;
	line-height: 1.4;
}

.du-cities li strong {
	display: block;
	color: #966c00;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.5rem;
	font-style: normal;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

/* What to expect: one row per item (Los's option C, festival-features-c.html; David, 2026-11-24). Each item
   is a core Columns block, its heading in the left third and its text in the rest, so every row starts its
   text on the same line whatever the copy's length; Socials' two events sit side by side in its row. A
   hairline between items, the 4px sun bar over the first (2026-11-25, was 2px ink). Columns stack under 782px (core). */
.wp-block-group.du-expect {
	margin-top: 2.5rem;
}

.wp-block-columns.du-expect__item {
	gap: 0.5rem clamp(1.5rem, 3vw, 3rem);
	margin: 0;
	padding-block: 1.5rem 1.75rem;
	border-top: 1px solid rgba(30, 26, 24, 0.2);
}

.wp-block-group.du-expect > .wp-block-columns.du-expect__item:first-child {
	border-top: 4px solid transparent;
	border-image: var(--wp--custom--sun) 1;
}

.du-expect__item > .wp-block-column > * {
	max-width: 40rem;
}

.wp-block-columns.du-expect__events {
	gap: 0 clamp(1.5rem, 3vw, 3rem);
	margin: 1.25rem 0 0;
}

.du-expect__item h4 {
	margin: 0.15rem 0 0;
}

.du-expect__item p {
	margin-block: 0 0.75rem;
	font-size: 0.9375rem;
}

.du-expect__item h5 {
	margin: 0 0 0.25rem;
	color: var(--wp--preset--color--red);
	font-family: var(--wp--preset--font-family--subhead);
	font-size: 1.0625rem;
	font-style: italic;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

@media (max-width: 781px) {
	.du-expect__events > .wp-block-column + .wp-block-column h5 {
		margin-top: 1rem;
	}
}

/* A name kept on one line where it fits (the festival's theme in a section title): from 400px up only,
   since at 320 "“Fiesta de Colores”" in capitals is wider than the column. */
@media (min-width: 400px) {
	.du-nowrap {
		white-space: nowrap;
	}
}

/* Showcase concerts: the venue card and its three dates. */
.du-concerts.wp-block-columns {
	gap: clamp(2rem, 6vw, 6rem);
}

.du-venue-card {
	padding: 1.75rem 2rem;
	border: 2px solid var(--wp--preset--color--ink);
}

.du-venue-card h4 {
	margin: 0 0 0.25rem;
}

.du-venue-card p {
	margin: 0;
}

.wp-block-list.du-concert-dates {
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.du-concert-dates li {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	gap: 0 1rem;
	align-items: center;
	margin: 0;
	padding: 0.75rem 0;
	border-top: 1px solid var(--wp--preset--color--muted);
}

.du-concert-dates li strong {
	grid-row: span 2;
	color: var(--wp--preset--color--red);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1;
}

.du-concert-dates li em {
	font-family: var(--wp--preset--font-family--heading);
	font-style: normal;
	font-weight: 700;
}

/* Two across on a phone, as the mockup, the years a size down. */
@media (max-width: 781px) {
	.wp-block-list.du-cities {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.du-cities li strong {
		font-size: 1.25rem;
	}
}

@media (max-width: 600px) {
	.du-venue-card {
		padding: 1.25rem;
	}

	.du-concert-dates li {
		grid-template-columns: 2.75rem 1fr;
	}
}

/* The pricing band is white since design v2 (it still carries the old ink class), so its eyebrow and
   section title take the white-ground colors and the full sun bar. */
body .du-pricing.has-background p.is-style-eyebrow {
	color: var(--wp--preset--color--red);
}

body .du-pricing.has-background .wp-block-heading.is-style-section-title {
	color: var(--wp--preset--color--ink);
}

body .du-pricing.has-background .wp-block-heading.is-style-section-title::after {
	background: var(--wp--custom--sun);
}

/* Dropdowns (Basecamp, David, 2026-11-24): the panel moves left by its corner radius, so its straight
   left edge starts under the start of the menu label rather than its rounded corner. */
.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
	left: -10px !important;
}

/* Dropdowns 5px below the menu (Sergey's Feedbucket, 2026-11-24): the panel drops 5px, and an
   invisible 5px strip on its top edge, part of the panel, keeps the pointer over the menu item while
   it crosses the gap, so the panel does not close on the way in. */
.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
	margin-top: 5px !important;
}

.du-main-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container::before {
	content: "";
	position: absolute;
	top: -5px;
	right: 0;
	left: 0;
	height: 5px;
}

/* Lodging: the hotels as cards, two across, one on a phone; the note above them in the subhead italic. */
.du-hotels__note {
	font-family: var(--wp--preset--font-family--subhead);
	font-size: 1.125rem;
	font-style: italic;
}

.wp-block-group.du-hotels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin-block: 2rem var(--wp--preset--spacing--60);
}

.wp-block-group.du-hotels > .du-hotel {
	margin: 0; /* the flow layout's gap above every card but the first would stagger the rows */
	padding: 1.5rem 1.75rem;
	border: 2px solid var(--wp--preset--color--ink);
}

.du-hotel > * {
	margin-block: 0;
}

.du-hotel > * + * {
	margin-block-start: 0.5rem;
}

/* The hotel's name in the heading face, ink (the theme's h3 is the grey subhead italic). */
.du-hotel h3.du-hotel__name {
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.25rem;
	font-style: normal;
	font-weight: 800;
	line-height: 1.2;
}

.du-hotel .du-hotel__phone a {
	font-weight: 700;
}

.wp-block-list.du-hotel__facts {
	margin-block-start: 1rem;
	padding: 0;
	list-style: none;
}

.du-hotel__facts li {
	margin: 0;
	padding: 0.5rem 0;
	border-top: 1px solid var(--wp--preset--color--muted);
}

.du-hotel__facts li strong {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

@media (max-width: 781px) {
	.wp-block-group.du-hotels {
		grid-template-columns: minmax(0, 1fr);
	}

	.wp-block-group.du-hotels > .du-hotel {
		padding: 1.25rem;
	}
}

/* Design v2 page bodies (Festival, History; mockup design-v2.css): the mockup's 76rem content column
   (.wrap), on the sections tagged du-v2, so the rest of the site keeps 68.75rem. The section title size
   is the theme's "section" font size (the mockup's h2, 44px at 1440, sitewide since 0.2.39). */
.du-v2 {
	--wp--style--global--content-size: 76rem;
}

/* The mockup's column gap (.intro, .concerts); the pieces with gaps of their own keep them. */
.du-v2 :where(.wp-block-columns) {
	column-gap: clamp(2rem, 6vw, 6rem);
}

/* The mockup's section rhythm (.section): 6.5rem above and below at desktop, and no space above a section
   that follows another white section or the photo tiles, so neighbors share one gap. */
.du-v2.alignfull {
	padding-top: clamp(3.5rem, 2rem + 5vw, 6.5rem) !important;
	padding-bottom: clamp(3.5rem, 2rem + 5vw, 6.5rem) !important;
}

:is(.du-v2, .du-tiles-band) + .du-v2.alignfull {
	padding-top: 0 !important;
}

/* ---------- Legal and policy pages (templates/page-legal.html) ----------
   A reading page: the template sets a 44rem column, about 70 characters of body text a line.
   Room below the title band and above the footer; section headings a step down from the page
   title, with space above them so a long policy scans; lists spaced like paragraphs. */
.du-legal {
	padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--80) !important;
}

.du-legal > :first-child {
	margin-block-start: 0;
}

.du-legal :is(h2, h3, h4).wp-block-heading {
	text-wrap: balance;
}

/* Outweighs the phone rule that sizes plain h2s to 7.2vw. */
body .du-legal h2.wp-block-heading:not([class*="-font-size"]) {
	font-size: var(--wp--preset--font-size--heading-3);
	line-height: 1.15;
	letter-spacing: 0;
	margin-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--20);
}

.du-legal h3.wp-block-heading {
	margin-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--20);
}

body .du-legal :is(h2, h3).wp-block-heading:first-child:not(.du-none),
body .du-legal .wp-block-separator + :is(h2, h3).wp-block-heading:not(.du-none) {
	margin-block-start: 0;
}

.du-legal > .wp-block-separator:not(.is-style-short) {
	margin-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
}

.du-legal :is(ul, ol).wp-block-list {
	padding-inline-start: 1.5em;
}

.du-legal li + li {
	margin-block-start: 0.5em;
}

/* The Legal page: each policy a full-width row, the whole row a link. */
.du-legal-index {
	border-block-start: 2px solid var(--wp--preset--color--ink);
}

.du-legal-index > .du-legal-index__item {
	position: relative;
	margin: 0;
	padding: var(--wp--preset--spacing--30) 2.5rem var(--wp--preset--spacing--30) 0;
	border-block-end: 1px solid var(--wp--preset--color--muted);
}

body .du-legal .du-legal-index__item h2.wp-block-heading:not([class*="-font-size"]) {
	margin: 0;
	font-size: var(--wp--preset--font-size--heading-4);
	letter-spacing: 0.04em;
	line-height: 1.3;
}

.du-legal-index__item h2 a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

/* The link covers the row, so the description and the arrow are tappable too. */
.du-legal-index__item h2 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.du-legal-index__item::after {
	content: "\2192";
	position: absolute;
	top: 50%;
	right: 0.25rem;
	transform: translateY(-50%);
	font-size: 1.25rem;
	transition: transform 0.15s ease;
	pointer-events: none; /* a tap on the arrow reaches the link under it */
}

.du-legal-index__item:is(:hover, :focus-within) h2 a {
	color: var(--wp--preset--color--red);
}

.du-legal-index__item:is(:hover, :focus-within)::after {
	color: var(--wp--preset--color--red);
	transform: translate(0.25rem, -50%);
}

.du-legal .du-legal-index__desc {
	margin-block-start: 0.25rem;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.du-legal .du-legal-index__desc::first-letter {
	text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
	.du-legal-index__item::after {
		transition: none;
	}
}

/* Links inside a form's labels (the volunteer form's policies checkbox, 2026-11-26): underlined in red, as in
   running text, so they read as links without relying on color; Gravity Forms' framework drops the underline. */
body .gform-theme--framework .gfield--type-consent a,
body .gform-theme--framework .gfield_label a,
body .gform-theme--framework .gchoice label a {
	color: var(--wp--preset--color--ink);
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--red);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}

body .gform-theme--framework .gfield--type-consent a:hover,
body .gform-theme--framework .gfield_label a:hover,
body .gform-theme--framework .gchoice label a:hover {
	color: var(--wp--preset--color--red);
}

/* ---------- Festival Policies: the policy links (Sergey, 2026-11-27) ----------
   Three equal Secondary buttons (ink outline, ink fill on hover), so red Primary stays the one action
   color: a column of full-width rows, the label at the left and the arrow at the right, the same at every
   width, so no label is squeezed onto three lines and the set reads as one list of three equal links. */
.du-legal .wp-block-buttons.du-policy-links {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	margin-block: 0 var(--wp--preset--spacing--50);
}

.du-legal .wp-block-buttons.du-policy-links > .wp-block-button {
	display: flex;
	width: 100%;
	margin: 0;
}

.du-legal .wp-block-buttons.du-policy-links > .wp-block-button > .wp-block-button__link {
	justify-content: space-between;
	width: 100%;
	padding-inline: 1.25rem;
	line-height: 1.3;
	text-align: left;
	white-space: normal;
}

/* ---------- The class page: the ledger (Los's option B, David, 2026-11-27; plugin 0.10.10) ----------
   One column. The class name splits into a small caps kicker and the title; price, ages, instructor and
   seats are one strip ruled in ink; then the description, the Showcase note, the dancer list with Add a
   dancer as its dashed last row, and a full-width Enroll. The page's order is the screen's order: the
   plugin's form template puts Add a dancer before Enroll in the markup (Enroll belongs to the form by
   its id), so Tab moves down the page. */
body .du-product > .du-title-group {
	margin-block-start: var(--wp--preset--spacing--40);
}

body .du-product > .du-title-group > .wp-block-post-title {
	margin: 0;
}

body .du-product:has(.dureg-class-facts) :is(.du-product > .wp-block-post-title, .du-title-group > .wp-block-post-title) {
	--fs: var(--wp--preset--font-size--heading-2);
	font-size: var(--wp--preset--font-size--heading-2);
	line-height: 1.05;
	letter-spacing: 0.01em;
	text-wrap: balance;
}

.du-title-kicker {
	display: block;
	margin: 0 0 0.9rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

/* The colon stays in the text for screen readers and copying, not drawn. */
.du-title-colon {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.dureg-class-facts {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr) auto;
	margin: var(--wp--preset--spacing--40) 0 0;
	border-block: 2px solid var(--wp--preset--color--ink);
}

.dureg-class-facts > div {
	padding: 0.9rem 1.5rem;
	border-left: 1px solid var(--wp--preset--color--muted);
}

.dureg-class-facts > div:first-child {
	padding-left: 0;
	border-left: 0;
}

.dureg-class-facts dt {
	margin-bottom: 0.3rem;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.dureg-class-facts dd {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
}

.dureg-class-facts__price dd {
	color: var(--wp--preset--color--red);
	font-size: 1.75rem;
	line-height: 1;
}

/* A materials fee: a second line under the price, charged with the class but not its price. */
.dureg-class-facts__price dd.dureg-class-facts__materials {
	margin-top: 0.4rem;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.3;
}

/* Phones: two columns, Price beside Seats, then Ages and Instructor each across the whole strip, so the
   age tag ("Teens and adults, ages 13 and up") never wraps inside a half-width cell. */
@media (max-width: 699px) {
	.dureg-class-facts {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.dureg-class-facts > div {
		padding: 0.8rem 0;
		border-left: 0;
		border-top: 1px solid var(--wp--preset--color--muted);
	}

	.dureg-class-facts__price {
		order: 1;
		border-top: 0 !important;
	}

	.dureg-class-facts__seats {
		order: 2;
		padding-left: 1rem !important;
		border-top: 0 !important;
		border-left: 1px solid var(--wp--preset--color--muted) !important;
	}

	.dureg-class-facts__ages {
		order: 3;
		grid-column: 1 / -1;
	}

	.dureg-class-facts__instructor {
		order: 4;
		grid-column: 1 / -1;
	}
}

/* The form area: one column, top to bottom. */
body .du-product:has(.dureg-class-facts) .wp-block-woocommerce-add-to-cart-form {
	display: block;
	margin-top: var(--wp--preset--spacing--40);
}

body .du-product:has(.dureg-class-facts) .wp-block-woocommerce-add-to-cart-form form.cart {
	display: block;
	margin: 0;
}

body .du-product:has(.dureg-class-facts) .dureg-picker__none {
	margin: 0;
	padding: 0.9rem 0 0.4rem;
	font-weight: 700;
}

/* Add a dancer: the dashed last row of the dancer list, the plus where a radio sits. */
body .du-product .dureg-add-dancer {
	margin-top: 0.5rem;
}

body .du-product .dureg-add-dancer > summary {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	min-height: 3.25rem;
	padding: 0.6rem 1rem;
	border: 2px dashed var(--wp--preset--color--muted);
}

body .du-product .dureg-add-dancer > summary::after {
	order: -1;
	width: 1.25rem;
	font-size: 1.25rem;
	text-align: center;
}

body .du-product .dureg-add-dancer > summary:hover {
	border-style: solid;
	border-color: var(--wp--preset--color--ink);
}

/* No dancer can take the class, or none on the account yet: Add a dancer is the red button. */
body .du-product .wp-block-woocommerce-add-to-cart-form:has(:is(.dureg-picker__none, .dureg-picker__empty)) .dureg-add-dancer:not([open]) > summary {
	justify-content: center;
	min-height: var(--wp--custom--button--min-height-large);
	border: 2px solid var(--wp--preset--color--red);
	background: var(--wp--preset--color--red);
	color: var(--wp--preset--color--on-dark);
	font-size: 1.0625rem;
}

body .du-product .wp-block-woocommerce-add-to-cart-form:has(:is(.dureg-picker__none, .dureg-picker__empty)) .dureg-add-dancer:not([open]) > summary:hover {
	border-color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}

body .du-product .wp-block-woocommerce-add-to-cart-form:has(:is(.dureg-picker__none, .dureg-picker__empty)) .dureg-add-dancer:not([open]) > summary::after {
	order: 0;
}

/* Opened: the framed panel, the summary its ink header bar (white on ink 17.27:1) with a minus to close. */
body .du-product .dureg-add-dancer[open] {
	--panel-pad: clamp(1.25rem, 3vw, 2rem);
	margin-top: 1rem;
	padding: 0 var(--panel-pad) var(--panel-pad);
	border: 2px solid var(--wp--preset--color--ink);
	background: var(--wp--preset--color--background);
}

body .du-product .dureg-add-dancer[open] > summary {
	justify-content: space-between;
	width: auto;
	margin: 0 calc(-1 * var(--panel-pad)) 1.75rem;
	padding: 0.95rem var(--panel-pad);
	border: 0;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}

body .du-product .dureg-add-dancer[open] > summary::after {
	order: 0;
}

body .du-product .dureg-add-dancer[open] > summary:hover {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--yellow);
}

body .du-product .dureg-add-dancer[open] > summary:focus-visible {
	outline-offset: -5px;
	outline-color: var(--wp--preset--color--yellow);
}

/* Enroll: full width under the list, the large size. Not shown when no dancer can take the class (it
   could only return an error) or while Add a dancer is open (one red button at a time: Save dancer); the
   Liaison box, which goes with Enroll, steps out with it. */
body .du-product:has(.dureg-class-facts) .wp-block-woocommerce-add-to-cart-form > .single_add_to_cart_button {
	display: flex;
	justify-content: center;
	width: 100%;
	min-height: var(--wp--custom--button--min-height-large);
	margin: 1.5rem 0 0 !important;
	font-size: 1.0625rem;
}

body .du-product .wp-block-woocommerce-add-to-cart-form:has(:is(.dureg-picker__none, .dureg-picker__empty, .dureg-picker__login, .dureg-picker__closed, .dureg-add-dancer[open])) > .single_add_to_cart_button,
body .du-product .wp-block-woocommerce-add-to-cart-form:has(.dureg-add-dancer[open]) > .dureg-liaison {
	display: none;
}

body .du-product:has(.dureg-class-facts) .wp-block-woocommerce-add-to-cart-form > .dureg-liaison {
	margin-block: 1.25rem 0;
}

/* A way to the Tienda at checkout (Maria Luisa, 2026-11-27; theme 0.2.55): checkout has its own header with no
   nav, so a notice above the form leads to the Tienda. Since 0.2.56 (Sergey's item 14) it is the house note, as the
   Showcase note: white, the 6px sun stripe on the left (the rule shared above), no frame; the sentence, then the
   outline "Shop the Tienda" button at its right, under it on a phone. As wide as the form column: WooCommerce's
   sidebar is 360px with a 48px gap while the layout is two columns (`is-large`); stacked, the full width.
   functions.php prints it. */
.du-checkout-tienda {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin: 0 0 var(--wp--preset--spacing--40);
	padding: 1rem 1.25rem 1rem calc(1.25rem + var(--wp--custom--stamp--sun-height));
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--ink);
	font-size: 1rem;
	line-height: 1.6;
}

.du-checkout-tienda p {
	margin: 0;
}

.du-checkout-tienda .wp-block-button {
	margin: 0;
}

/* The button markup is printed here, not by a Button block, so core's button stylesheet may not be on the page:
   without it the link is inline and its padding stands out of the notice. Core's own basics. */
.du-checkout-tienda .wp-block-button__link {
	display: inline-block;
	box-sizing: border-box;
	text-align: center;
	word-break: break-word;
}

.wp-block-post-content:has(.wc-block-components-sidebar-layout.is-large) > .du-checkout-tienda {
	max-width: calc(100% - 360px - 48px);
}

@media (max-width: 599px) {
	.du-checkout-tienda .wp-block-button,
	.du-checkout-tienda .wp-block-button__link {
		width: 100%;
	}
}
