/*
 * Lektivo Dance — theme stylesheet.
 *
 * Supplements theme.json with CSS that block attributes cannot express:
 * sticky header positioning, hover transitions, and minor layout adjustments.
 * All color and spacing values reference theme.json CSS custom properties.
 */

/* ==========================================================================
   Header — sticky positioning and nav link colours
   ========================================================================== */

/* The template-part wrapper is the element that must be sticky,
   not the inner <header> group. WordPress generates a wrapping
   <header> element from the template-part tagName attribute. */
.wp-site-blocks > header:first-child,
.wp-site-blocks > .wp-block-template-part:first-child {
	position: sticky;
	/* Stay clear of the notch when sticky; env() is 0 when unused. */
	top: env(safe-area-inset-top, 0px);
	z-index: 100;
}

/*
 * Safe-area (#74): viewport-fit=cover lets backgrounds paint to the physical
 * edge; content gutters use max(theme gutter, env(safe-area-inset-*)) so
 * logo/nav stay clear of the notch in iPhone landscape. Do not pad `body`
 * itself — that would inset full-bleed heroes and double-count header gutters.
 *
 * Overscroll / below-footer fill (#98): mobile Safari rubber-bands reveal the
 * `html` background. Paint it with the footer token (`primary`) so every style
 * continues its own footer colour to the bottom edge; `body` keeps the page
 * background. The footer template-part wrapper also gets `primary` so short
 * pages and the landmark shell match `.site-footer`.
 */
html {
	background-color: var(--wp--preset--color--primary);
	/*
	 * Keep focused targets clear of the sticky header (~52px) and notch (#84).
	 */
	scroll-padding-top: calc(4rem + env(safe-area-inset-top, 0px));
}

body {
	background-color: var(--wp--preset--color--background);
	max-width: 100%;
	overflow-x: clip;
}

/* When the opt-in demo switcher is present, reserve bottom space (#84). */
html:has(.lektivo-dance-demo-style-switcher) {
	scroll-padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

body:has(.lektivo-dance-demo-style-switcher) {
	padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

header {
	background-color: var(--wp--preset--color--surface);
	border-bottom: 4px solid var(--wp--preset--color--accent);
}

header .site-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	/*
	 * Horizontal gutter ~24px, never less than the device safe-area inset
	 * (iPhone landscape notch). Use 1.5rem (not spacing|40): fluid presets
	 * compress slug 40 to 1rem on phones, which left overlay items too tight.
	 */
	padding-top: var(--wp--preset--spacing--20);
	padding-bottom: var(--wp--preset--spacing--20);
	padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
	padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}

/* Remove default gap between header, main, and footer so hero
   sits flush against the header border. */
.wp-site-blocks {
	gap: 0 !important;
	min-height: 100dvh;
	display: grid;
	/*
	 * One column that may shrink below its content (#112). The implicit
	 * `auto` column grew to the widest child (a long URL, embed, table or
	 * search form), so phones scrolled sideways and lost the right edge.
	 */
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto 1fr auto;
	max-width: 100%;
	box-sizing: border-box;
}

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

/*
 * Long words and URLs in posts, comments and titles wrap instead of pushing
 * the page wider than the phone (#112). Preformatted text and classic tables
 * scroll inside their own box.
 */
.wp-block-post-title,
.wp-block-post-content,
.wp-block-post-excerpt,
.wp-block-comment-content,
.wp-block-query-title,
.wp-block-term-description {
	overflow-wrap: break-word;
}

:where(.wp-block-post-content, .wp-block-comment-content) :where(pre, table:not(.wp-block-table table)) {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

:where(.wp-block-post-content, .wp-block-comment-content) :where(img, video, iframe, embed, object) {
	max-width: 100%;
}

/* Classic captions carry an inline pixel width; keep the content-size cap. */
.wp-block-post-content .wp-caption,
.wp-block-comment-content .wp-caption {
	max-width: min(100%, var(--wp--style--global--content-size, 100%));
}

:where(.wp-block-post-content, .wp-block-comment-content) img {
	height: auto;
}

.wp-site-blocks > * + * {
	margin-top: 0;
}

.site-header .wp-block-navigation a,
.site-header .wp-block-navigation .wp-block-navigation-item__content,
.site-header .site-header__title a {
	color: var(--wp--preset--color--foreground);
	text-decoration: none;
	transition: color 0.2s ease;
}

/*
 * Closed-bar nav + site-title hit targets ≥ 24×24 CSS px (WCAG 2.5.8 / #85).
 * Overlay links already use min-height: 48px.
 */
.site-header .wp-block-navigation:not(:has(.is-menu-open)) .wp-block-navigation-item__content,
.site-header .site-header__title a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	min-height: 24px;
	padding-block: 0.35rem;
	padding-inline: 0.25rem;
	box-sizing: border-box;
}

.site-header .wp-block-navigation a:hover,
.site-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.site-header .site-header__title a:hover {
	/* AA text-on-surface (#79); bright accent stays for fills/underlines. */
	color: var(--wp--preset--color--link);
}

/* Logo and site title share one brand slot so the name sits where the logo does. */
.site-header .site-header__brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

/* Show Site Title only when no custom logo is set (body.wp-custom-logo). */
body.wp-custom-logo .site-header .site-header__title {
	display: none;
}

body:not(.wp-custom-logo) .site-header .site-header__logo {
	display: none;
}

.site-header .site-header__title {
	margin: 0;
	display: flex;
	align-items: center;
}

.site-header .site-header__title a {
	position: relative;
	/* inline-flex + 24×24 min come from the closed-bar target rule (#85). */
}

/*
 * Mobile overlay: beat core Navigation white/black defaults
 * (.wp-block-navigation:not(.has-background) … background #fff) and
 * right-justified overlay alignment from items-justified-right.
 * Keep desktop chrome (right-aligned bar, approved colours); only the
 * open .is-menu-open dialog is normalised for AA contrast + layout.
 *
 * Phone gutter matches the header inset (~24px / 1.5rem) so open
 * links line up with the logo; tap targets stay ≥48px.
 */
.wp-site-blocks .site-header .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay),
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--foreground);
	/* Override core clamp padding so the gutter matches the header + safe-area. */
	padding-top: max(1.5rem, env(safe-area-inset-top, 0px)) !important;
	padding-right: max(1.5rem, env(safe-area-inset-right, 0px)) !important;
	padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px)) !important;
	padding-left: max(1.5rem, env(safe-area-inset-left, 0px)) !important;
	box-sizing: border-box;
}

/*
 * Open menu must cover the viewport (#112). A backdrop-filter (Urban and
 * Latin Heat glass header) makes the sticky header the containing block for
 * the fixed overlay, which then shrank to the header bar and left the links
 * hanging below it. Drop the blur while the menu is open.
 */
.wp-site-blocks > header:first-child:has(.wp-block-navigation__responsive-container.is-menu-open),
.wp-site-blocks > .wp-block-template-part:first-child:has(.wp-block-navigation__responsive-container.is-menu-open) {
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	/* Room under the 44px close control (aligned with the hamburger). */
	padding-top: calc(2.75rem + var(--wp--preset--spacing--20)) !important;
	padding-left: 0;
	padding-right: 0;
}

.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list,
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	--navigation-layout-justification-setting: flex-start;
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;
}

.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a,
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--foreground);
}

.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a:hover,
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:hover {
	color: var(--wp--preset--color--link);
}

/*
 * Tap-friendly open-menu links (phone overlay). Urban default uses
 * condensed display; style variations override the family below.
 */
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	min-height: 48px;
	font-size: 1.5rem;
	line-height: 1.2;
	font-family: var(--wp--preset--font-family--display-condensed);
	width: 100%;
	box-sizing: border-box;
	text-decoration: none;
}

.lektivo-dance-style-classic .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display-serif);
}

.lektivo-dance-style-swing .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display-vintage);
}

.lektivo-dance-style-latin-heat .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display-condensed);
}

.lektivo-dance-style-ritmo .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display-bebas);
}

/* Mouse/touch: no focus ring. Keyboard: :focus-visible only. */
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a:focus,
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus,
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:focus,
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a:focus:not(:focus-visible),
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus:not(:focus-visible),
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}

/*
 * Blue-glow keyboard focus rings (#84 / THEME-011 / WCAG 2.4.11 + 1.4.11).
 *
 * Solid navy-blue 2px band + ice-light 2px inner band + soft blue outer glow.
 * box-shadow follows border-radius. At least one solid band stays ≥ 3:1
 * against header, page, hero CTA, card, footer, and open overlay in every
 * style (light band on dark Havana / dark CTAs; solid blue on cream / white /
 * bright CTAs). Transparent outline keeps Windows High Contrast / forced-colors.
 */
:root {
	--lektivo-focus-ring: #1e3a8a;
	--lektivo-focus-ring-light: #f5f9ff;
	--lektivo-focus-glow: color-mix(in srgb, #3b82f6 55%, transparent);
}

.lektivo-dance-style-urban {
	--lektivo-focus-ring: #1e40af;
	--lektivo-focus-glow: color-mix(in srgb, #5bb8ff 60%, transparent);
}

.lektivo-dance-style-latin-heat {
	--lektivo-focus-ring: #1e3a8a;
	--lektivo-focus-glow: color-mix(in srgb, #6bb6ff 55%, transparent);
}

.lektivo-dance-style-ritmo {
	--lektivo-focus-ring: #1e40af;
	--lektivo-focus-glow: color-mix(in srgb, #4c8dff 55%, transparent);
}

.lektivo-dance-style-classic,
.lektivo-dance-style-swing {
	--lektivo-focus-ring: #1e3a8a;
	--lektivo-focus-glow: color-mix(in srgb, #3b82f6 50%, transparent);
}

.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a:focus-visible,
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible,
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:focus-visible,
.site-header .wp-block-navigation__responsive-container-open:focus-visible,
.site-header .wp-block-navigation:not(:has(.is-menu-open)) .wp-block-navigation-item__content:focus-visible,
.site-header .site-header__title a:focus-visible,
.site-header .custom-logo-link:focus-visible,
.wp-element-button:focus-visible,
.wp-block-button__link:focus-visible,
.location-map-embed__link:focus-visible,
.lektivo-dance-style-classic .hero-classic .hero-classic__cta .wp-block-button__link:focus-visible,
.lektivo-dance-style-classic .wp-block-cover .wp-block-button__link:focus-visible,
.lektivo-dance-style-swing .wp-block-cover .wp-block-button__link:focus-visible,
.lektivo-dance-style-swing .course-info-card .lektivo-course-sidebar__book-link:focus-visible {
	/*
	 * !important on box-shadow: style variations set decorative CTA shadows;
	 * the blue glow must win. Transparent outline is the forced-colors fallback.
	 */
	outline: 2px solid transparent;
	outline-offset: 2px;
	box-shadow:
		0 0 0 2px var(--lektivo-focus-ring-light),
		0 0 0 4px var(--lektivo-focus-ring),
		0 0 14px 3px var(--lektivo-focus-glow) !important;
}

@media (forced-colors: active) {
	.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a:focus-visible,
	.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible,
	.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:focus-visible,
	.site-header .wp-block-navigation__responsive-container-open:focus-visible,
	.site-header .wp-block-navigation:not(:has(.is-menu-open)) .wp-block-navigation-item__content:focus-visible,
	.site-header .site-header__title a:focus-visible,
	.site-header .custom-logo-link:focus-visible,
	.wp-element-button:focus-visible,
	.wp-block-button__link:focus-visible,
	.location-map-embed__link:focus-visible,
	.lektivo-dance-style-classic .hero-classic .hero-classic__cta .wp-block-button__link:focus-visible,
	.lektivo-dance-style-classic .wp-block-cover .wp-block-button__link:focus-visible,
	.lektivo-dance-style-swing .wp-block-cover .wp-block-button__link:focus-visible,
	.lektivo-dance-style-swing .course-info-card .lektivo-course-sidebar__book-link:focus-visible {
		outline-color: Highlight;
		box-shadow: none !important;
	}
}

.site-header .wp-block-navigation__responsive-container-open:focus:not(:focus-visible),
.site-header .wp-block-navigation:not(:has(.is-menu-open)) .wp-block-navigation-item__content:focus:not(:focus-visible),
.site-header .site-header__title a:focus:not(:focus-visible),
.site-header .custom-logo-link:focus:not(:focus-visible),
.wp-element-button:focus:not(:focus-visible),
.wp-block-button__link:focus:not(:focus-visible),
.location-map-embed__link:focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}

/*
 * Close control: same inset as the hamburger (header gutter ≈ 1.5rem).
 * Positioned inside the dialog content box; overlay padding provides the
 * gutter, so top/right stay 0 (matches the bar’s 1.5rem inset).
 */
.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	top: 0;
	right: 0;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-sizing: border-box;
}

.wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
	width: 24px;
	height: 24px;
}

/*
 * Hamburger tap target matches the close control. Do NOT set `display` here —
 * core Navigation toggles the open button (flex below 600px, none at ≥600px
 * when overlayMenu is "mobile"). An unconditional display override made the
 * hamburger and desktop links show together (#74).
 */
.site-header .wp-block-navigation__responsive-container-open {
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-sizing: border-box;
}

.site-header__nav a:hover::after,
.site-header .site-header__title a:hover::after {
	width: 100%;
}

.site-header__nav a::after,
.site-header .site-header__title a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 3px;
	bottom: -4px;
	left: 0;
	background-color: var(--wp--preset--color--accent);
	transition: width 0.3s;
}

/* Underline only on the closed/desktop bar — not inside the overlay. */
.site-header .wp-block-navigation__responsive-container.is-menu-open a::after {
	content: none;
}

.site-header__nav .wp-block-navigation-item {
	position: relative;
}

/* Dark style variations (Urban, Latin Heat): light nav on dark surface chrome. */
body.has-dark-palette header {
	background-color: var(--wp--preset--color--surface);
	border-bottom-color: var(--wp--preset--color--accent);
}

body.has-dark-palette .site-header .wp-block-navigation a,
body.has-dark-palette .site-header .wp-block-navigation .wp-block-navigation-item__content,
body.has-dark-palette .site-header .site-header__title a,
body.has-dark-palette .site-header .wp-block-navigation__responsive-container-open,
body.has-dark-palette .site-header .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--foreground);
}

body.has-dark-palette .site-header .wp-block-navigation a:hover,
body.has-dark-palette .site-header .wp-block-navigation .wp-block-navigation-item__content:hover,
body.has-dark-palette .site-header .wp-block-navigation__responsive-container-open:hover,
body.has-dark-palette .site-header .wp-block-navigation__responsive-container-close:hover {
	color: var(--wp--preset--color--accent);
}

body.has-dark-palette .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--foreground);
}

body.has-dark-palette .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a,
body.has-dark-palette .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
body.has-dark-palette .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--foreground);
}

/* Front page: transparent header over full-bleed cover heroes.
   Fixed (not absolute) so the bar stays in view and is-scrolled styles apply. */
body.home:has(.hero-urban) .wp-site-blocks > header:first-child,
body.home:has(.hero-urban) .wp-site-blocks > .wp-block-template-part:first-child,
body.home:has(.hero-latin-heat) .wp-site-blocks > header:first-child,
body.home:has(.hero-latin-heat) .wp-site-blocks > .wp-block-template-part:first-child {
	position: fixed;
	/* Offset for the WP admin bar when logged in; falls back to 0 for guests. */
	top: var(--wp-admin--admin-bar--height, 0);
	left: 0;
	right: 0;
	width: 100%;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.55) 0%,
		rgba(0, 0, 0, 0.2) 60%,
		transparent 100%
	);
	border-bottom: none;
}

/* Closed bar / hamburger over the hero stay light; open overlay uses surface rules. */
body.home:has(.hero-urban) .site-header .wp-block-navigation:not(:has(.is-menu-open)) a,
body.home:has(.hero-urban) .site-header .wp-block-navigation:not(:has(.is-menu-open)) .wp-block-navigation-item__content,
body.home:has(.hero-urban) .site-header .site-header__title a,
body.home:has(.hero-urban) .site-header .wp-block-navigation__responsive-container-open,
body.home:has(.hero-latin-heat) .site-header .wp-block-navigation:not(:has(.is-menu-open)) a,
body.home:has(.hero-latin-heat) .site-header .wp-block-navigation:not(:has(.is-menu-open)) .wp-block-navigation-item__content,
body.home:has(.hero-latin-heat) .site-header .site-header__title a,
body.home:has(.hero-latin-heat) .site-header .wp-block-navigation__responsive-container-open {
	color: var(--wp--preset--color--white);
}

body.home:has(.hero-urban) .site-header .wp-block-navigation:not(:has(.is-menu-open)) a:hover,
body.home:has(.hero-urban) .site-header .wp-block-navigation:not(:has(.is-menu-open)) .wp-block-navigation-item__content:hover,
body.home:has(.hero-urban) .site-header .wp-block-navigation__responsive-container-open:hover,
body.home:has(.hero-latin-heat) .site-header .wp-block-navigation:not(:has(.is-menu-open)) a:hover,
body.home:has(.hero-latin-heat) .site-header .wp-block-navigation:not(:has(.is-menu-open)) .wp-block-navigation-item__content:hover,
body.home:has(.hero-latin-heat) .site-header .wp-block-navigation__responsive-container-open:hover {
	color: var(--wp--preset--color--accent);
}

body.home:has(.hero-urban) .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open,
body.home:has(.hero-latin-heat) .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--foreground);
}

/* ==========================================================================
   Hero — Urban (full-bleed cover overlay)
   ========================================================================== */

.hero-urban.wp-block-cover {
	min-height: 100vh;
}

.hero-urban .wp-block-cover__inner-container {
	width: 100%;
}

.hero-urban h1 {
	font-size: clamp(2.75rem, 7vw, 4.25rem);
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-urban .wp-block-button__link {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-urban .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 229, 255, 0.25);
}

@media (max-width: 781px) {
	.hero-urban h1,
	.hero-latin-heat h1 {
		font-size: clamp(2.25rem, 10vw, 3rem);
	}

	body.home:has(.hero-urban) .wp-site-blocks > header:first-child,
	body.home:has(.hero-urban) .wp-site-blocks > .wp-block-template-part:first-child,
	body.home:has(.hero-latin-heat) .wp-site-blocks > header:first-child,
	body.home:has(.hero-latin-heat) .wp-site-blocks > .wp-block-template-part:first-child {
		background: linear-gradient(
			to bottom,
			rgba(0, 0, 0, 0.7) 0%,
			rgba(0, 0, 0, 0.35) 70%,
			transparent 100%
		);
	}
}

/* ==========================================================================
   Hero — Latin Heat (full-bleed cover overlay)
   ========================================================================== */

.hero-latin-heat.wp-block-cover {
	min-height: 100vh;
}

.hero-latin-heat .wp-block-cover__inner-container {
	width: 100%;
}

.hero-latin-heat h1 {
	font-size: clamp(2.75rem, 7vw, 4.5rem);
	text-shadow: 0 2px 28px rgba(20, 8, 12, 0.55);
}

.hero-latin-heat .wp-block-button__link {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-latin-heat .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(255, 197, 58, 0.35);
}

/* ==========================================================================
   Gold border frame — theme-wide accent photo frame
   ========================================================================== */

.gold-frame img {
	box-shadow: 20px 20px 0px var(--wp--preset--color--accent) !important;

	border-radius: 8px !important;
}

/* ==========================================================================
   Hero — Ritmo (diagonal split layout)
   ========================================================================== */

.hero-ritmo {
	position: relative;
	overflow: hidden;
	min-height: 80vh;
}

/* Diagonal sage-green accent behind the right column */
.hero-ritmo::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 45%;
	background-color: var(--wp--preset--color--secondary);
	clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
	z-index: 0;
}

.hero-ritmo > .wp-block-columns {
	position: relative;
	z-index: 1;
	min-height: 80vh;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.hero-ritmo h1 {
	font-size: clamp(3rem, 6vw, 4.5rem);
	font-weight: 600;
}

.hero-ritmo__image img {
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
	width: auto;
	object-fit: cover;
}

/* When no image src is set, hide the empty figure */
.hero-ritmo__image img[src=""] {
	display: none;
}

.hero-ritmo .wp-block-button__link {
	border-radius: 9999px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding-top: var(--wp--preset--spacing--40);
	padding-bottom: var(--wp--preset--spacing--40);
	padding-left: var(--wp--preset--spacing--60);
	padding-right: var(--wp--preset--spacing--60);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.hero-ritmo .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Hero — Classic (full-bleed cover with overlaid slogan + CTA)
   ========================================================================== */

.hero-classic.wp-block-cover {
	min-height: 100vh;
}

.hero-classic .hero-classic__slogan {
	text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.hero-classic .hero-classic__lede {
	text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}

.hero-classic .hero-classic__cta .wp-block-button__link {
	border-radius: 0;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	text-transform: none;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease,
		background-color 0.3s ease,
		filter 0.3s ease;
}

.hero-classic .hero-classic__cta .wp-block-button__link:hover {
	filter: brightness(1.04);
	box-shadow: 0 8px 22px color-mix(in srgb, var(--wp--preset--color--primary) 8%, transparent);
}

@media (max-width: 781px) {
	.hero-classic .hero-classic__slogan {
		font-size: clamp(2.25rem, 10vw, 3rem);
	}
}

/* ==========================================================================
   Buttons — outline style (front + Site Editor via editor-style)
   ========================================================================== */

/*
 * WordPress can put border styles on the outer .wp-block-button wrapper
 * (rectangular) while is-style-outline also borders the inner link (pill).
 * Keep a single pill outline on the link only.
 */
.wp-block-button.is-style-outline,
.editor-styles-wrapper .wp-block-button.is-style-outline {
	border: none !important;
	background: transparent !important;
	padding: 0 !important;
}

.wp-block-button.is-style-outline .wp-block-button__link,
.editor-styles-wrapper .wp-block-button.is-style-outline .wp-block-button__link {
	border-style: solid;
	border-width: 1px;
	border-radius: 9999px;
	background: transparent !important;
}

.cta-banner .wp-block-button.is-style-outline .wp-block-button__link,
.editor-styles-wrapper .cta-banner .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--white);
}

.cta-banner .wp-block-button.is-style-outline .wp-block-button__link:hover,
.editor-styles-wrapper .cta-banner .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: rgba(255, 255, 255, 0.1) !important;
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--white);
}

/* Mobile: stack columns, hide diagonal */
@media (max-width: 781px) {
	.hero-ritmo {
		min-height: auto;
	}

	.hero-ritmo::before {
		display: none;
	}

	.hero-ritmo h1 {
		font-size: 2.5rem;
	}

	.hero-ritmo > .wp-block-columns {
		min-height: auto;
	}

	.hero-ritmo .wp-block-column:first-child {
		padding-left: var(--wp--preset--spacing--50) !important;
		padding-right: var(--wp--preset--spacing--50) !important;
	}

	.hero-ritmo__media {
		background-color: var(--wp--preset--color--secondary);
	}
}

/* ==========================================================================
   Instructor section — Våra Lärare
   ========================================================================== */

.section-instructors {
	background-color: var(--wp--preset--color--secondary);
	margin: 0;
}

.instructor-card-ritmo {
	background-color: rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	overflow: hidden;
	max-width: none;
}

.instructor-card-ritmo > div {
	padding: 3rem;
}

.instructor-card-ritmo .wp-block-column:first-child img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 400px;
}

.instructor-role {
	color: var(--wp--preset--color--accent);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
	font-size: 0.85rem;
	margin-top: var(--wp--preset--spacing--20);
	margin-bottom: var(--wp--preset--spacing--40);
}

/* Instructors without a role leave the bound paragraph empty — hide it. */
.instructor-role:empty {
	display: none;
}

.instructor-card-ritmo__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 0;
}

.instructor-bio {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.95rem;
	line-height: 1.7;
}

.section-instructors .instructor-card-ritmo + .instructor-card-ritmo {
	margin-top: var(--wp--preset--spacing--60);
}

/* ==========================================================================
   Testimonials section
   ========================================================================== */

.section-testimonials {
	background-color: var(--wp--preset--color--primary);
	margin: 0;
}

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

.testimonial-card {
	margin-block-start: 0px;
	margin-block-end: 0px;
	background: var(--wp--preset--color--surface);
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
	color: var(--wp--preset--color--foreground);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--50);
	position: relative;
}

.testimonial-card::before {
	color: var(--wp--preset--color--accent);
	content: "\201C";
	font-family: var(--wp--preset--font-family--display-serif);
	font-size: 4rem;
	left: var(--wp--preset--spacing--40);
	line-height: 1;
	opacity: 0.35;
	pointer-events: none;
	position: absolute;
	top: var(--wp--preset--spacing--30);
}

.testimonial-card__header {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	margin-top: var(--wp--preset--spacing--20);
	position: relative;
	z-index: 1;
}

.testimonial-card--has-image.testimonial-card--has-rating .testimonial-card__header {
	gap: var(--wp--preset--spacing--20);
}

.testimonial-card__media img {
	border: 3px solid var(--wp--preset--color--accent);
	border-radius: 50%;
	display: block;
	height: 72px;
	object-fit: cover;
	width: 72px;
}

.testimonial-card__rating {
	line-height: 1;
}

.testimonial-card__stars {
	color: var(--wp--preset--color--accent);
	font-size: 1.05rem;
	letter-spacing: 0.08em;
}

.testimonial-card__quote {
	border: 0;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 1;
}

.testimonial-card__quote p {
	color: var(--wp--preset--color--foreground);
	font-family: var(--wp--preset--font-family--display-serif);
	font-size: 1.05rem;
	font-style: italic;
	line-height: 1.65;
	margin: 0;
}

.testimonial-card:not(.testimonial-card--has-image):not(.testimonial-card--has-rating) .testimonial-card__quote {
	padding-top: var(--wp--preset--spacing--40);
}

.testimonial-card__footer {
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 12%, transparent);
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--30);
	position: relative;
	z-index: 1;
}

.testimonial-card__name {
	color: var(--wp--preset--color--foreground);
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.95rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.section-testimonials__empty {
	font-style: italic;
	color: var(--wp--preset--color--foreground);
}

@media (max-width: 1024px) {
	.section-testimonials__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	.section-testimonials__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.testimonial-card {
		padding: var(--wp--preset--spacing--40);
	}
}

/* ==========================================================================
   Locations section — Hitta hit
   ========================================================================== */

/* Legacy bare iframe embeds (pre-unified card). */
.section-locations .location-map-embed iframe,
.single-location__map .location-map-embed iframe {
	border-radius: 4px;
	width: 100%;
	display: block;
	min-height: 300px;
	border: 0;
}

/*
 * Unified location card (lektivo#76 / #87): both map (`--map`) and Directions
 * (`--card`) share `.location-map-embed__card.contact-card` with name + address
 * once and a `.location-map-embed__media` slot. Chrome matches Kontakta oss —
 * do not invent a separate surface.
 */
.location-map-embed--map,
.location-map-embed--card,
.location-map-embed__card {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

/*
 * Venue name lives inside the plugin card — hide the preview pattern heading
 * so Hitta hit is one card like Kontakta oss (#74, #87).
 */
.location-preview-card:has(.location-map-embed__card) > .wp-block-heading:first-child {
	display: none;
}

/*
 * One card only: drop outer `.location-preview-card` frame whenever the plugin
 * card is present (map or Directions). Hover/shadow stay on `.contact-card`.
 * Style-scoped selectors beat later Urban/Latin/Ritmo preview-card chrome.
 */
.location-preview-card:has(.location-map-embed__card),
.lektivo-dance-style-urban .location-preview-card:has(.location-map-embed__card),
.lektivo-dance-style-latin-heat .location-preview-card:has(.location-map-embed__card),
.lektivo-dance-style-swing .location-preview-card:has(.location-map-embed__card),
.lektivo-dance-style-ritmo .location-preview-card:has(.location-map-embed__card) {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	overflow: visible;
}

.location-preview-card:has(.location-map-embed__card):hover,
.lektivo-dance-style-urban .location-preview-card:has(.location-map-embed__card):hover,
.lektivo-dance-style-latin-heat .location-preview-card:has(.location-map-embed__card):hover,
.lektivo-dance-style-swing .location-preview-card:has(.location-map-embed__card):hover,
.lektivo-dance-style-ritmo .location-preview-card:has(.location-map-embed__card):hover {
	transform: none !important;
	box-shadow: none !important;
	border-color: transparent !important;
}

/*
 * Venue title — lektivo!110 markup hook is `h3.location-map-embed__name`
 * inside `.contact-card` (same element type as Kontakta oss titles). Style
 * heading rules (display font + uppercase) also hit the bare `h3`; these
 * selectors keep size/weight/alignment in lockstep with `.contact-card h3`
 * (#87 / lektivo#76, plugin d87ac1d8).
 */
.contact-card h3.location-map-embed__name,
h3.location-map-embed__name {
	margin: 0 0 var(--wp--preset--spacing--30);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	font-family: var(--wp--preset--font-family--display);
}

/*
 * Venue name links to the location. The ::after covers the card so address,
 * description, and padding navigate too. The media slot is stacked above it.
 */
.location-map-embed__card {
	position: relative;
}

.location-map-embed__link {
	color: inherit;
	text-decoration: none;
}

.location-map-embed__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.location-map-embed__card:has(.location-map-embed__link) {
	cursor: pointer;
}

.location-map-embed__address {
	margin: 0 0 var(--wp--preset--spacing--30);
	font-size: 0.95rem;
	line-height: 1.45;
	opacity: 1;
}

/*
 * Venue blurb lives in the card with the name and address, above the map
 * or Directions slot.
 */
.location-map-embed__description {
	margin: 0 0 var(--wp--preset--spacing--30);
	font-size: 0.95rem;
	line-height: 1.6;
}

.location-map-embed__description p {
	margin: 0 0 var(--wp--preset--spacing--20);
}

.location-map-embed__description p:last-child {
	margin-bottom: 0;
}

.location-preview-card .location-map-embed__description {
	font-style: italic;
}

/*
 * Media slot: map iframe or Directions actions. Contact-card padding keeps the
 * map inset from the card edge (#87).
 */
.location-map-embed__media {
	box-sizing: border-box;
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 100%;
	margin: 0;
	line-height: 0;
}

/*
 * Map iframe and Directions / Apple Maps stay clickable. Other clicks in the
 * card, including gaps around those controls, follow the location link.
 */
.location-map-embed .location-map-embed__media,
.location-map-embed .location-map-embed__media * {
	pointer-events: none;
}

.location-map-embed .location-map-embed__media iframe,
.location-map-embed .location-map-embed__media .location-map-embed__directions,
.location-map-embed .location-map-embed__media .location-map-embed__directions *,
.location-map-embed .location-map-embed__media .location-map-embed__apple-maps,
.location-map-embed .location-map-embed__media .location-map-embed__apple-maps * {
	pointer-events: auto;
}

.location-map-embed__media iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 300px;
	border: 0;
	border-radius: 4px;
	box-sizing: border-box;
}

/*
 * `__media` uses line-height: 0 for iframe whitespace. Restore a real
 * line-height on the actions row so Apple Maps (and any link text) is not
 * collapsed to height 0 beside Directions (#87).
 */
.location-map-embed__media .location-map-embed__actions {
	line-height: normal;
}

.location-map-embed__actions {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
}

/*
 * Directions is a bare <a> (not inside .wp-block-button), so core
 * :where(.wp-block-button__link) padding never reaches it. Share fill /
 * label / radius with style button rules below (efaccca); give the same
 * box as "See our courses" via the hero CTA spacing presets + inherit
 * line-height — no fill, colour, or radius here (#74).
 */
.location-map-embed__directions {
	text-decoration: none;
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
	display: inline-block;
	text-align: center;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
	line-height: normal;
}

/* Any remaining external-link glyph must match button / link text (#74, #87). */
.location-map-embed__directions .lektivo-new-tab,
.location-map-embed__apple-maps .lektivo-new-tab {
	font-size: 0.85em;
	color: currentcolor;
}

/*
 * Apple Maps (iOS) sits in the same card as the address: use the card text
 * colour, not accent/cyan, so there is no separate blue link treatment (#87).
 */
.location-map-embed__apple-maps {
	color: inherit;
	font-weight: 600;
	font-size: 0.85rem;
	line-height: 1.3;
	text-decoration: none;
}

.location-map-embed__apple-maps:hover,
.location-map-embed__apple-maps:focus-visible {
	opacity: 0.75;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

@media (max-width: 600px) {
	.location-map-embed__directions {
		display: inline-flex;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		min-width: 0;
		justify-content: center;
	}
}

/*
 * Mobile: keep Hitta hit / Kontakta oss cards inside the viewport with even
 * gutters (#74). Some style heroes expand .entry-content past the viewport;
 * body overflow-x:clip then hides the right side and the address card looks
 * right-heavy. Cap the shell + alignfull sections at 100vw (not %), and let
 * flex columns shrink below the Directions label’s min-content.
 */
@media (max-width: 782px) {
	.wp-site-blocks > header,
	.wp-site-blocks > .wp-block-template-part,
	.wp-site-blocks > main,
	main > .entry-content,
	.wp-block-post-content {
		max-width: 100vw;
		box-sizing: border-box;
	}

	.entry-content > .alignfull,
	.wp-block-post-content > .alignfull {
		max-width: 100vw;
		width: 100%;
		box-sizing: border-box;
	}

	.section-locations .wp-block-columns,
	.section-locations .wp-block-column,
	.section-locations .location-preview-card,
	.section-contact .wp-block-columns,
	.section-contact .wp-block-column {
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}

	.section-locations .location-map-embed--map,
	.section-locations .location-map-embed--card,
	.section-locations .location-map-embed__card,
	.section-contact .contact-card {
		max-width: 100%;
		box-sizing: border-box;
	}
}

.location-schedule-note {
	font-style: italic;
	margin-top: var(--wp--preset--spacing--10);
	margin-bottom: var(--wp--preset--spacing--30);
}

.location-preview-card__address {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--10);
}

.location-preview-card h3 a {
	color: var(--wp--preset--color--foreground);
	text-decoration: none;
}

.location-preview-card h3 a:hover {
	color: var(--wp--preset--color--accent);
}

.location-preview-card__link {
	margin-top: var(--wp--preset--spacing--30);
	margin-bottom: 0;
}

.location-preview-card__link a {
	color: var(--wp--preset--color--accent);
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 0.85rem;
}

.location-preview-card__link a:hover {
	opacity: 0.7;
}

/* ==========================================================================
   Single location page
   ========================================================================== */

.single-location .location-photo img {
	border-radius: 4px;
	width: 100%;
	height: auto;
	display: block;
}

.single-location .location-address {
	font-size: 1.05rem;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--30);
}

.single-location .location-description {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--wp--preset--color--foreground);
}

/* Inside the card, follow the card text colour (Ritmo sand on plum). */
.location-map-embed__card .location-description {
	color: inherit;
}

.single-location .location-description p:first-child {
	margin-top: 0;
}

.single-location__map .location-map-embed--single iframe {
	min-height: 400px;
}

.single-location__map .location-map-embed--single .location-map-embed__media iframe {
	min-height: 400px;
}

.single-location__map .location-map-embed--single.location-map-embed--map,
.single-location__map .location-map-embed--single.location-map-embed--card,
.single-location__map .location-map-embed--single .location-map-embed__card {
	min-height: 0;
}

/*
 * Address lives inside the unified location card — hide the single-location
 * intro copy when the embed already prints `.location-map-embed__address` (#87).
 */
.single-location:has(.location-map-embed__address) .location-address {
	display: none;
}

/* ==========================================================================
   Contact section — Kontakta oss
   ========================================================================== */

.section-contact__intro {
	margin-bottom: var(--wp--preset--spacing--60);
}

/*
 * Keep Hitta hit + Kontakta oss inside the viewport width on mobile (#87).
 * Avoids a burgundy/plum band clipping contact cards when a child overflows.
 */
.section-locations,
.section-contact {
	max-width: 100%;
	overflow-x: clip;
	box-sizing: border-box;
}

.section-locations .wp-block-columns,
.section-contact .wp-block-columns,
.section-locations .location-preview-card,
.section-contact .contact-card,
.section-locations .location-map-embed,
.section-locations .location-map-embed__card {
	max-width: 100%;
	box-sizing: border-box;
	min-width: 0;
}

.contact-card {
	background-color: var(--wp--preset--color--surface);
	border-radius: 8px;
	padding: var(--wp--preset--spacing--60);
	text-align: center;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-card h3 {
	margin-bottom: var(--wp--preset--spacing--20);
}

.contact-card a:not(.wp-element-button) {
	color: var(--wp--preset--color--foreground);
	text-decoration: none;
}

.contact-card a:not(.wp-element-button):hover {
	color: var(--wp--preset--color--secondary);
}

.lektivo-dance-icon {
	height: 1em;
	vertical-align: middle;
    padding-bottom: 0.2em;
}

/* ==========================================================================
   Forms — Contact Form 7, WPForms Lite, and shared field styling
   ========================================================================== */

.wpcf7,
.wpforms-container {
	max-width: 36rem;
	margin-inline: auto;
}

.wpcf7-form,
.wpforms-form {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
}

.wpcf7-form p,
.wpforms-field {
	margin: 0;
}

.wpcf7-form label,
.wpforms-field-label,
.wpforms-field-sublabel {
	display: block;
	margin-bottom: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--foreground);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.wpcf7-form-control-wrap {
	display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 input[type="search"],
.wpcf7 select,
.wpcf7 textarea,
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="url"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="number"],
.wpforms-container input[type="date"],
.wpforms-container input[type="search"],
.wpforms-container select,
.wpforms-container textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0.85rem 1rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 18%, transparent);
	border-radius: 4px;
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--foreground);
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	appearance: none;
}

.wpcf7 textarea,
.wpforms-container textarea {
	min-height: 9rem;
	resize: vertical;
}

.wpcf7 select,
.wpforms-container select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 1rem;
	padding-right: 2.5rem;
}

.wpcf7 input:hover,
.wpcf7 select:hover,
.wpcf7 textarea:hover,
.wpforms-container input:hover,
.wpforms-container select:hover,
.wpforms-container textarea:hover {
	border-color: var(--wp--preset--color--secondary);
}

.wpcf7 input:focus,
.wpcf7 input:focus-visible,
.wpcf7 select:focus,
.wpcf7 select:focus-visible,
.wpcf7 textarea:focus,
.wpcf7 textarea:focus-visible,
.wpforms-container input:focus,
.wpforms-container input:focus-visible,
.wpforms-container select:focus,
.wpforms-container select:focus-visible,
.wpforms-container textarea:focus,
.wpforms-container textarea:focus-visible {
	border-color: var(--wp--preset--color--primary);
	box-shadow:
		0 0 0 3px color-mix(in srgb, var(--wp--preset--color--primary) 12%, transparent),
		0 4px 14px rgba(0, 0, 0, 0.06);
	outline: none;
}

.wpcf7 input[type="submit"],
.wpcf7 input[type="button"],
.wpcf7 button,
.wpcf7 .wpcf7-submit,
.wpforms-submit,
.wpforms-page-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	margin-top: var(--wp--preset--spacing--20);
	padding: 0.85rem 1.75rem;
	border: none;
	border-radius: 2px;
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="button"]:hover,
.wpcf7 button:hover,
.wpcf7 .wpcf7-submit:hover,
.wpforms-submit:hover,
.wpforms-page-button:hover {
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 82%, black);
	color: var(--wp--preset--color--primary);
	transform: translateY(-1px);
}

.wpcf7 input[type="submit"]:focus-visible,
.wpcf7 .wpcf7-submit:focus-visible,
.wpforms-submit:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--wp--preset--color--primary) 28%, transparent);
	outline-offset: 2px;
}

.wpcf7 .wpcf7-list-item,
.wpforms-field-checkbox li,
.wpforms-field-radio li {
	margin: 0 0 var(--wp--preset--spacing--20);
}

.wpcf7 .wpcf7-list-item-label,
.wpforms-field-checkbox label,
.wpforms-field-radio label {
	display: inline;
	margin: 0;
	font-weight: 400;
	color: var(--wp--preset--color--foreground);
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"],
.wpforms-container input[type="checkbox"],
.wpforms-container input[type="radio"],
.comment-form input[type="checkbox"],
.wp-block-post-comments-form input[type="checkbox"] {
	width: 1.25rem;
	height: 1.25rem;
	min-width: 24px;
	min-height: 24px;
	margin-right: 0.5rem;
	accent-color: var(--wp--preset--color--primary);
	vertical-align: middle;
}

.wpcf7-not-valid-tip,
.wpforms-error,
.wpforms-field-required-label {
	display: block;
	margin-top: 0.35rem;
	color: #b42318;
	font-size: 0.85rem;
	font-weight: 500;
}

.wpcf7-not-valid,
.wpforms-error textarea,
.wpforms-error input:not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
.wpforms-error select {
	border-color: #b42318;
}

.wpcf7-response-output,
.wpforms-confirmation-container-full,
div[submit-success] > .wpforms-confirmation-container-full {
	margin: var(--wp--preset--spacing--40) 0 0;
	padding: var(--wp--preset--spacing--40);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 16%, transparent);
	border-radius: 4px;
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--foreground);
	font-size: 0.95rem;
}

.wpcf7 form.sent .wpcf7-response-output,
.wpforms-confirmation-container-full {
	border-color: color-mix(in srgb, var(--wp--preset--color--primary) 28%, transparent);
	background-color: color-mix(in srgb, var(--wp--preset--color--secondary) 12%, transparent);
	color: var(--wp--preset--color--foreground);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
	border-color: rgba(180, 35, 24, 0.35);
	background-color: rgba(180, 35, 24, 0.08);
	color: #b42318;
}

.wpcf7-spinner,
.wpforms-submit-spinner {
	margin-left: 0.75rem;
}

.page-contact .entry-content > .wp-block-group,
.page .wp-block-shortcode .wpcf7 {
	width: 100%;
}

/* ==========================================================================
   Post cards (archive / index loop)
   ========================================================================== */

.post-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.post-card a {
	text-decoration: none;
}

.post-card a:hover {
	color: var(--wp--preset--color--secondary);
}

/* ==========================================================================
   Posts feed (news / blog archives)
   ========================================================================== */

.post-feed-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.post-feed-item .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.post-feed-item .wp-block-post-title a:hover {
	color: var(--wp--preset--color--secondary);
}

.post-feed-item__featured img {
	width: 100%;
	height: auto;
}

.post-feed-item__content {
	font-size: 1.05rem;
	line-height: 1.7;
}

.post-feed-item__content > * + * {
	margin-block-start: 1.25em;
}

.post-feed-item__content h2,
.post-feed-item__content h3,
.single-post__content h2,
.single-post__content h3 {
	margin-block-start: 1.75em;
	margin-block-end: 0.5em;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	line-height: 1.35;
}

.post-feed-item__content h2,
.single-post__content h2 {
	font-size: 1.25rem;
}

.post-feed-item__content h3,
.single-post__content h3 {
	font-size: 1.1rem;
}

.post-feed-item__permalink,
.post-feed-item__permalink a {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
	transition: color 0.2s ease;
}

.post-feed-item__permalink:hover,
.post-feed-item__permalink a:hover {
	color: var(--wp--preset--color--secondary);
}

/* ==========================================================================
   Single blog post
   ========================================================================== */

.single-post__back a {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
	transition: color 0.2s ease;
}

.single-post__back a:hover {
	color: var(--wp--preset--color--secondary);
}

.single-post__meta {
	align-items: center;
	column-gap: var(--wp--preset--spacing--50);
	row-gap: var(--wp--preset--spacing--30);
}

.single-post__meta-date,
.single-post__meta-categories,
.single-post__meta-author {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
}

.single-post__meta-date::before,
.single-post__meta-categories::before,
.single-post__meta-author::before {
	content: "";
	display: block;
	width: 0.85em;
	height: 0.85em;
	flex-shrink: 0;
	margin-right: 0.4rem;
	background-color: currentColor;
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
}

.single-post__meta-date::before {
	-webkit-mask-image: url("../icons/calendar.svg");
	mask-image: url("../icons/calendar.svg");
	margin-bottom: 2px;
}

.single-post__meta-categories::before {
	-webkit-mask-image: url("../icons/tag.svg");
	mask-image: url("../icons/tag.svg");
}

.single-post__meta-author::before {
	-webkit-mask-image: url("../icons/pen.svg");
	mask-image: url("../icons/pen.svg");
}

.single-post__meta-author .wp-block-post-author__name {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
}

.single-post__categories a {
	color: inherit;
	text-decoration: none;
}

.single-post__categories a:hover {
	color: var(--wp--preset--color--secondary);
}

.single-post__categories .wp-block-post-terms__separator {
	margin-inline: 0.15em;
}

.single-post__tags .single-post__tag-list,
.single-post__tags .wp-block-post-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
}

.single-post__tags .wp-block-post-terms__separator {
	display: none;
}

.single-post__tags .wp-block-post-terms a {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.85rem;
	border-radius: 9999px;
	background-color: color-mix(in srgb, var(--wp--preset--color--primary) 8%, transparent);
	color: var(--wp--preset--color--foreground);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.single-post__tags .wp-block-post-terms a:hover {
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--primary);
}

.single-post__featured img {
	width: 100%;
	height: auto;
}

.single-post__content {
	font-size: 1.05rem;
	line-height: 1.7;
}

.single-post__content > * + * {
	margin-block-start: 1.25em;
}

/* Comment form — match Contact Form 7 field chrome. */
.single-post__comments .wp-block-post-comments-form {
	max-width: 36rem;
}

.single-post__comments .wp-block-post-comments-form .comment-form {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
	margin: 0;
}

.single-post__comments .wp-block-post-comments-form .comment-form > p {
	margin: 0;
}

.single-post__comments .wp-block-post-comments-form label {
	display: block;
	margin-bottom: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--foreground);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.single-post__comments .wp-block-post-comments-form input[type="text"],
.single-post__comments .wp-block-post-comments-form input[type="email"],
.single-post__comments .wp-block-post-comments-form input[type="url"],
.single-post__comments .wp-block-post-comments-form textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0.85rem 1rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 18%, transparent);
	border-radius: 4px;
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--foreground);
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	appearance: none;
}

.single-post__comments .wp-block-post-comments-form textarea {
	min-height: 9rem;
	resize: vertical;
}

.single-post__comments .wp-block-post-comments-form input:hover,
.single-post__comments .wp-block-post-comments-form textarea:hover {
	border-color: var(--wp--preset--color--secondary);
}

.single-post__comments .wp-block-post-comments-form input:focus,
.single-post__comments .wp-block-post-comments-form input:focus-visible,
.single-post__comments .wp-block-post-comments-form textarea:focus,
.single-post__comments .wp-block-post-comments-form textarea:focus-visible {
	border-color: var(--wp--preset--color--primary);
	box-shadow:
		0 0 0 3px color-mix(in srgb, var(--wp--preset--color--primary) 12%, transparent),
		0 4px 14px rgba(0, 0, 0, 0.06);
	outline: none;
}

/* Publish comment — match accent CTA (white on gold). */
.single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	margin-top: var(--wp--preset--spacing--20);
	padding: 0.85rem 1.75rem;
	border: none;
	border-radius: 0;
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease,
		background-color 0.3s ease,
		filter 0.3s ease;
}

.single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"]:hover {
	filter: brightness(1.04);
	box-shadow: 0 8px 22px color-mix(in srgb, var(--wp--preset--color--primary) 8%, transparent);
}

.single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"]:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--wp--preset--color--primary) 28%, transparent);
	outline-offset: 2px;
}

/* Previous / next post links — no underline. */
.single-post__navigation .wp-block-post-navigation-link a,
.single-post .wp-block-post-navigation-link a {
	text-decoration: none;
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	transition: color 0.2s ease;
}

.single-post__navigation .wp-block-post-navigation-link a:hover,
.single-post .wp-block-post-navigation-link a:hover {
	color: var(--wp--preset--color--secondary);
	text-decoration: none;
}

.single-post__more-posts .wp-block-post-template {
	align-items: stretch;
}

.single-post__more-posts .wp-block-post-template > .wp-block-post {
	display: flex;
	height: 100%;
}

.single-post__more-posts .post-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	margin-bottom: 0;
}

.single-post__more-posts .post-card .wp-block-post-featured-image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin-bottom: var(--wp--preset--spacing--30);
}

.single-post__more-posts .post-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-post__more-posts .post-card .wp-block-post-excerpt {
	flex: 1 1 auto;
}

@media (max-width: 781px) {
	.single-post__more-posts .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}
}

/* ==========================================================================
   Courses archive hero — teal background with gold angled divider
   ========================================================================== */

.hero-courses {
	position: relative;
	text-align: center;
}

/* Angled gold divider at the bottom of the hero */
.hero-courses::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: var(--wp--preset--color--accent);
	clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
	z-index: 1;
}

/* The section below the hero needs enough top-padding to overlap the angle */
.section-courses-archive,
.section-courses-by-term,
.section-schedule-archive,
.section-posts-feed,
.section-instructors-archive,
.section-locations-archive {
	position: relative;
	z-index: 2;
}

/*
 * Pro course / schedule filters — tidy row with a label above each control.
 * Styles plugin markup when present; Free sites omit the markup so nothing
 * changes. Ritmo keeps this base look (no style-specific filter chrome).
 * Colours use theme tokens / --lektivo-* so accent experiments stay compatible.
 */
.section-courses-archive .wp-block-lektivo-course-filters,
.section-courses-by-term .wp-block-lektivo-course-filters,
.section-schedule-archive .lektivo-schedule-viewer__filters {
	margin-bottom: var(--wp--preset--spacing--50);
}

.section-courses-archive .lektivo-course-filters,
.section-courses-by-term .lektivo-course-filters,
.section-schedule-archive .lektivo-schedule-filters {
	--lektivo-filter-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1rem 1.25rem;
	margin: 0;
}

.section-courses-archive .lektivo-course-filters__field,
.section-courses-by-term .lektivo-course-filters__field,
.section-schedule-archive .lektivo-schedule-filters__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 11rem;
	flex: 1 1 11rem;
	max-width: 100%;
}

.section-courses-archive .lektivo-course-filters__label,
.section-courses-by-term .lektivo-course-filters__label,
.section-schedule-archive .lektivo-schedule-filters__label {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--wp--preset--color--secondary);
}

.section-courses-archive .lektivo-course-filters__select,
.section-courses-by-term .lektivo-course-filters__select,
.section-schedule-archive .lektivo-schedule-filters__select {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	box-sizing: border-box;
	min-height: 2.75rem;
	padding: 0.65rem 2.5rem 0.65rem 0.9rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 22%, transparent);
	border-radius: 8px;
	background-color: var(--wp--preset--color--white);
	background-image: var(--lektivo-filter-select-chevron);
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	background-size: 1rem;
	color: var(--wp--preset--color--foreground);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.3;
	cursor: pointer;
	box-shadow: 0 2px 8px color-mix(in srgb, var(--wp--preset--color--primary) 8%, transparent);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease;
}

.section-courses-archive .lektivo-course-filters__select:hover,
.section-courses-by-term .lektivo-course-filters__select:hover,
.section-schedule-archive .lektivo-schedule-filters__select:hover {
	border-color: var(--wp--preset--color--secondary);
	box-shadow: 0 4px 14px color-mix(in srgb, var(--wp--preset--color--primary) 12%, transparent);
}

.section-courses-archive .lektivo-course-filters__select:focus,
.section-courses-archive .lektivo-course-filters__select:focus-visible,
.section-courses-by-term .lektivo-course-filters__select:focus,
.section-courses-by-term .lektivo-course-filters__select:focus-visible,
.section-schedule-archive .lektivo-schedule-filters__select:focus,
.section-schedule-archive .lektivo-schedule-filters__select:focus-visible {
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--accent) 28%, transparent);
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

.section-courses-archive .lektivo-course-filters__actions,
.section-courses-by-term .lektivo-course-filters__actions,
.section-schedule-archive .lektivo-schedule-filters__actions {
	display: flex;
	align-items: flex-end;
	flex: 0 0 auto;
	gap: 0.5rem;
}

.section-courses-archive .lektivo-course-filters__submit,
.section-courses-by-term .lektivo-course-filters__submit,
.section-schedule-archive .lektivo-schedule-filters__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 2.75rem;
	padding: 0.65rem 1.25rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 28%, transparent);
	border-radius: 8px;
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--foreground);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 2px 8px color-mix(in srgb, var(--wp--preset--color--primary) 8%, transparent);
}

.section-courses-archive .lektivo-course-filters__submit:hover,
.section-courses-by-term .lektivo-course-filters__submit:hover,
.section-schedule-archive .lektivo-schedule-filters__submit:hover {
	border-color: var(--wp--preset--color--accent);
	text-decoration: none;
}

.section-courses-archive .lektivo-course-filters__submit:focus-visible,
.section-courses-by-term .lektivo-course-filters__submit:focus-visible,
.section-schedule-archive .lektivo-schedule-filters__submit:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

body.has-dark-palette .section-courses-archive .lektivo-course-filters,
body.has-dark-palette .section-courses-by-term .lektivo-course-filters,
body.has-dark-palette .section-schedule-archive .lektivo-schedule-filters {
	--lektivo-filter-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23cccccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/*
 * Dark palettes (#95): filter "Any" / selected text must stay on surface.
 * Broaden beyond section-* wrappers and beat the plugin's #fff fill so
 * light foreground never sits on white (~1.1:1). Light styles unchanged.
 */
body.has-dark-palette .lektivo-course-filters__select,
body.has-dark-palette .lektivo-schedule-filters__select,
body.has-dark-palette .section-courses-archive .lektivo-course-filters__select,
body.has-dark-palette .section-courses-by-term .lektivo-course-filters__select,
body.has-dark-palette .section-schedule-archive .lektivo-schedule-filters__select {
	background-color: var(--wp--preset--color--surface) !important;
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 28%, transparent);
	color: var(--wp--preset--color--foreground) !important;
	-webkit-text-fill-color: var(--wp--preset--color--foreground);
	color-scheme: dark;
}

/*
 * Open-list highlight (#100). The closed control's light foreground and
 * -webkit-text-fill-color inherit onto options. Blink's SelectedItem
 * highlight is #99c8ff; light ink on it is about 1.6:1. accent-color does
 * not change that highlight.
 *
 * Chromium and Firefox honor option:checked / :hover / :focus. SelectedItem
 * with SelectedItemText is about 6.4:1 there (#3b3b3b on #99c8ff) and the
 * light highlight clears the dark surface. currentColor keeps the text fill
 * on that pair. A custom dark highlight misses 3:1 against these surfaces.
 *
 * Safari's macOS menu and the iOS wheel ignore option colours and keep the
 * system pair. Those styles already set color-scheme: dark. base-select can
 * restyle the picker in Chromium and Safari 27, and is still off in Firefox,
 * so the native control stays.
 */
body.has-dark-palette .lektivo-course-filters__select option,
body.has-dark-palette .lektivo-schedule-filters__select option {
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--foreground);
	-webkit-text-fill-color: currentColor;
}

body.has-dark-palette .lektivo-course-filters__select option:checked,
body.has-dark-palette .lektivo-course-filters__select option:hover,
body.has-dark-palette .lektivo-course-filters__select option:focus,
body.has-dark-palette .lektivo-schedule-filters__select option:checked,
body.has-dark-palette .lektivo-schedule-filters__select option:hover,
body.has-dark-palette .lektivo-schedule-filters__select option:focus {
	background-color: SelectedItem;
	color: SelectedItemText;
	-webkit-text-fill-color: currentColor;
}

body.has-dark-palette .section-courses-archive .lektivo-course-filters__submit,
body.has-dark-palette .section-courses-by-term .lektivo-course-filters__submit,
body.has-dark-palette .section-schedule-archive .lektivo-schedule-filters__submit,
body.has-dark-palette .lektivo-course-filters__submit,
body.has-dark-palette .lektivo-schedule-filters__submit {
	background-color: var(--wp--preset--color--surface);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 28%, transparent);
	color: var(--wp--preset--color--foreground);
}

@media (max-width: 600px) {

	.section-courses-archive .lektivo-course-filters__field,
	.section-courses-by-term .lektivo-course-filters__field,
	.section-schedule-archive .lektivo-schedule-filters__field {
		flex-basis: 100%;
		min-width: 0;
	}

	.section-courses-archive .lektivo-course-filters__actions,
	.section-courses-by-term .lektivo-course-filters__actions,
	.section-schedule-archive .lektivo-schedule-filters__actions {
		flex-basis: 100%;
		width: 100%;
	}
}

/* Override heading color inside the hero — light text on brand fill.
   Clamp the inline 4rem so single-word titles (e.g. Schedule) still fit
   inside the padded hero on narrow phones. Style variations may override. */
.hero-courses h1 {
	color: var(--wp--preset--color--white) !important;
	font-size: clamp(2.4rem, 7vw, 4rem) !important;
	max-width: 100%;
}

/* Cover heroes: keep overlay copy light regardless of variation foreground */
.wp-block-cover.is-dark .wp-block-cover__inner-container {
	color: var(--wp--preset--color--white);
}

.wp-block-cover.is-dark .wp-block-cover__inner-container a:not(.wp-element-button) {
	color: var(--wp--preset--color--white);
}

/* ==========================================================================
   Lektivo block cards — redesigned course archive cards
   ========================================================================== */

/* Grid layout */
.lektivo-course-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1.5rem;
}

.lektivo-course-grid.columns-1 { grid-template-columns: 1fr; }
.lektivo-course-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.lektivo-course-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 781px) {
	.wp-block-lektivo-course-list .lektivo-course-grid.columns-3 {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 782px) and (max-width: 1023px) {
	.wp-block-lektivo-course-list .lektivo-course-grid.columns-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.wp-block-lektivo-course-list .lektivo-course-grid.columns-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Card container — left border only */
.wp-block-lektivo-course-list .lektivo-course-card,
.lektivo-course-list__item {
	background: var(--wp--preset--color--surface);
	border-radius: 8px;
	overflow: hidden;
	border-left: 5px solid var(--lektivo-diff-color, #D4A843);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
}

.wp-block-lektivo-course-list .lektivo-course-card:hover,
.lektivo-course-list__item:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Card body */
.lektivo-course-card__body {
	padding: 1.25rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* Header row: difficulty badge + category */
.lektivo-course-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--lektivo-diff-color, #D4A843);
}

.lektivo-course-card__difficulty-badge {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	/* Darken difficulty accent for AA text on light tinted surfaces (#78). */
	color: color-mix(in srgb, var(--lektivo-diff-color, #D4A843) 48%, #000000);
	background: color-mix(in srgb, var(--lektivo-diff-color, #D4A843) 12%, var(--wp--preset--color--surface, #ffffff));
	padding: 0.25em 0.7em;
	border-radius: 4px;
}

.lektivo-course-card__category {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* Title */
.lektivo-course-card__title {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
	line-height: 1.3;
}

.lektivo-course-card__title a {
	color: var(--wp--preset--color--foreground) !important;
	text-decoration: none;
}

.lektivo-course-card__title a:hover {
	color: var(--wp--preset--color--link) !important;
	text-decoration: none !important;
}

/* Info list — vertical layout */
.lektivo-course-card__info {
	list-style: none;
	padding: 0.75rem 1rem;
	margin: 0 0 1rem;
	background: var(--wp--preset--color--background);
	border-radius: 6px;
	font-size: 0.85rem;
	color: var(--wp--preset--color--foreground);
}

.lektivo-course-card__info-item {
	padding: 0.2rem 0;
	display: flex;
	align-items: center;
	gap: 0.35em;
}

.lektivo-course-card__info-icon {
	flex-shrink: 0;
	width: 1.2em;
	text-align: center;
	color: var(--lektivo-diff-color, #D4A843);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lektivo-course-card__info-icon svg {
	display: block;
}

/* Description — clipped by default, expanded on toggle */
.lektivo-course-card__description {
	margin-bottom: 0.25rem;
	max-height: 4.5em;
	overflow: hidden;
	transition: max-height 0.3s ease;
	position: relative;
}

/* Compact cards block style — opt-in; default cards respect Lektivo block settings */
.wp-block-lektivo-course-list.is-style-compact-cards .lektivo-course-card__description,
.wp-block-lektivo-course-list.is-style-compact-cards .lektivo-course-card__toggle,
.wp-block-lektivo-course-list.is-style-compact-cards .lektivo-course-card__highlights,
.wp-block-lektivo-course-list.is-style-compact-cards .lektivo-course-card__info-price {
	display: none;
}

/*
 * Running courses disclosure (Lektivo lifecycle grouping).
 * Do not style legacy tab markup — the plugin uses details/summary.
 */
.wp-block-lektivo-course-list .lektivo-course-list__disclosure {
	margin-top: var(--wp--preset--spacing--50);
	padding: 0;
	border: none;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 12%, transparent);
	border-radius: 0;
	background: transparent;
}

.wp-block-lektivo-course-list .lektivo-course-list__disclosure-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--40) 0;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	color: var(--wp--preset--color--foreground);
	list-style: none;
	cursor: pointer;
}

.wp-block-lektivo-course-list .lektivo-course-list__disclosure-summary::marker,
.wp-block-lektivo-course-list .lektivo-course-list__disclosure-summary::-webkit-details-marker {
	display: none;
}

.wp-block-lektivo-course-list .lektivo-course-list__disclosure-summary::after {
	content: "";
	flex-shrink: 0;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	opacity: 0.75;
}

.wp-block-lektivo-course-list .lektivo-course-list__disclosure[open] .lektivo-course-list__disclosure-summary::after {
	transform: rotate(-135deg) translateY(2px);
}

.wp-block-lektivo-course-list .lektivo-course-list__disclosure-content {
	padding-bottom: var(--wp--preset--spacing--20);
}

.lektivo-dance-style-ritmo .wp-block-lektivo-course-list .lektivo-course-list__disclosure {
	border-top-color: color-mix(in srgb, var(--wp--preset--color--secondary) 40%, transparent);
}

.lektivo-dance-style-ritmo .wp-block-lektivo-course-list .lektivo-course-list__disclosure-summary {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--primary);
}

/* Gradient fade on clipped text */
.lektivo-course-card__description:not(.is-open)::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2em;
	background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
	pointer-events: none;
}

.lektivo-course-card__description.is-open {
	max-height: 600px;
}

.lektivo-course-card__description.is-open::after {
	display: none;
}

.lektivo-course-card__excerpt {
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.lektivo-course-card__excerpt p {
	margin: 0;
}

/* Toggle button — link ink for AA on light cards (#101); difficulty stays on borders/badges. */
.lektivo-course-card__toggle {
	background: none;
	border: none;
	color: var(--wp--preset--color--link, var(--wp--preset--color--foreground));
	font-weight: 600;
	font-size: 0.85rem;
	cursor: pointer;
	padding: 0;
	margin-bottom: 0.75rem;
	text-decoration: none;
}

.lektivo-course-card__toggle:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Highlights bullet list — always visible, coloured bullets */
.lektivo-course-card__highlights {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
}

.lektivo-course-card__highlights li {
	position: relative;
	padding-left: 1.2em;
	margin-bottom: 0.35em;
	font-size: 0.85rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.4;
}

.lektivo-course-card__highlights li::before {
	content: "●";
	position: absolute;
	left: 0;
	color: var(--lektivo-diff-color, #D4A843);
	font-size: 0.7em;
	top: 0.25em;
}

/* Pricing tiers */
.lektivo-course-card__pricing {
	list-style: none;
	padding: 0;
	margin: 0 0 0.75rem;
	font-size: 0.85rem;
}

.lektivo-course-card__pricing-tier {
	display: flex;
	justify-content: space-between;
	padding: 0.3rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--foreground) 12%, transparent);
}

.lektivo-pricing-label { color: var(--wp--preset--color--muted); }
.lektivo-pricing-price { font-weight: 700; color: var(--wp--preset--color--foreground); }

.lektivo-course-card__info-icon {
	margin-right: 0.3em;
}

/* Book now link — right-aligned at the bottom */
.lektivo-course-card__footer {
	margin-top: auto;
	padding-top: 0.75rem;
	text-align: right;
	display: flex;
	justify-content: space-between;
}

.lektivo-course-card__book-link,
.lektivo-course-card__read-more {
	display: inline-block;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--wp--preset--color--link);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.lektivo-course-card__book-link {
	font-weight: 700;
}

.lektivo-course-card__footer a:hover {
	opacity: 0.7;
}

.wp-block-lektivo-instructor-grid .lektivo-instructor-card,
.lektivo-instructor-grid__item {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-lektivo-instructor-grid .lektivo-instructor-card:hover,
.lektivo-instructor-grid__item:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   Instructor card
   ========================================================================== */

.instructor-photo img {
	object-fit: cover;
	box-shadow: 20px 20px 0px var(--wp--preset--color--secondary) !important;
	border-radius: 8px !important;
}

.lektivo_instructor .post-card {
	background-color: transparent;
}

.lektivo_instructor .post-card .wp-block-post-excerpt,
.lektivo_instructor .post-card .instructor-role {
	margin-block-start: 4px;
	margin-block-end: 0;
}

.lektivo_instructor .post-card .wp-block-post-excerpt .wp-block-post-excerpt__more-text {
	margin-block-start: 4px;
}

.section-related-courses > h2 {
	text-align: center;
}

.section-related-courses > p {
	text-align: center;
	margin: 0;
}

/* ==========================================================================
   Single course sidebar
   ========================================================================== */

.course-info-card {
	background: var(--wp--preset--color--surface);
	border-radius: 8px;
	overflow: hidden;
	border-left: 5px solid var(--lektivo-diff-color, #D4A843);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.course-info-card > .course-info-card__heading {
	display: inline-block;
	margin-top: 0;
}

.course-info-card > .lektivo-course-sidebar {
	border-top: 2px solid var(--lektivo-diff-color, #D4A843);
	padding-top: 1rem;
	margin-top: 1rem;
}

.course-info-card .lektivo-course-card__info {
	margin-bottom: 1rem;
}

.course-info-card .lektivo-course-sidebar__pricing {
	margin-bottom: 1rem;
}

.course-info-card .lektivo-course-sidebar__highlights {
	margin-bottom: 1.25rem;
}

.course-info-card .lektivo-course-sidebar__book {
	margin-top: 0.5rem;
}

/*
 * Sidebar Book CTA — use standard button tokens (accent fill + contrast-safe
 * text), not difficulty tint. Difficulty colour stays on the card left border
 * / badge only (#80).
 */
.course-info-card .lektivo-course-sidebar__book-link {
	display: block;
	text-align: center;
	text-decoration: none;
	border-radius: 4px;
	padding: 0.75rem 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--primary);
	opacity: 1;
	transition: background-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.course-info-card .lektivo-course-sidebar__book-link:hover,
.course-info-card .lektivo-course-sidebar__book-link:focus,
.course-info-card .lektivo-course-sidebar__book-link:focus-visible {
	opacity: 1;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 82%, white);
	color: var(--wp--preset--color--primary);
	outline: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

/* Footer landmark shell matches footer fill for short pages / overscroll (#98). */
.wp-site-blocks > footer,
.wp-site-blocks > footer.wp-block-template-part {
	background-color: var(--wp--preset--color--primary);
}

/* Keep footer content clear of the home-indicator / landscape notch (#74). */
.site-footer {
	padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
	padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
	padding-bottom: max(var(--wp--preset--spacing--50), env(safe-area-inset-bottom, 0px));
	box-sizing: border-box;
	background-color: var(--wp--preset--color--primary);
}

.site-footer a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer a:hover {
	color: var(--wp--preset--color--accent);
}

.site-footer__heading {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	margin-bottom: var(--wp--preset--spacing--30);
	text-transform: uppercase;
}

.site-footer__nav.wp-block-navigation {
	flex-direction: column;
	align-items: flex-start;
}

.site-footer__nav .wp-block-navigation__container {
	flex-direction: column;
	align-items: flex-start;
	row-gap: var(--wp--preset--spacing--20);
}

.site-footer__nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--white);
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__nav .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--accent);
}

.site-footer__divider {
	background-color: rgba(255, 255, 255, 0.15);
	margin-bottom: var(--wp--preset--spacing--40);
}

.site-footer > .wp-block-shortcode p {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.8rem;
	text-align: center;
}

.site-footer a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
	transition: color 0.2s ease;
}

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

/* Footer contact icons — use bright color on dark background */
.footer-icon {
	color: var(--wp--preset--color--accent);
	font-style: normal;
	margin-right: 0.25em;
}

.wp-block-social-link:hover {
	transform: none !important;
}

/* Social links block in footer — override default icon sizing & colors.
   Core Social Links uses a 24px font-size and line-height: 0 on anchors so
   icons align; that collapses email/social rows next to the phone paragraph
   and Quick links, which use 0.9rem text and spacing--20 row gap. */
.site-footer__phone.wp-block-paragraph {
	margin: 0;
}

.site-footer .site-footer__contact-links.wp-block-social-links {
	padding-left: 0;
	margin: 0;
	margin-block-start: var(--wp--preset--spacing--20);
	align-items: flex-start;
	font-size: 0.9rem;
	gap: var(--wp--preset--spacing--20);
	row-gap: var(--wp--preset--spacing--20);
}

.site-footer__phone a {
	display: inline-flex;
	align-items: center;
	line-height: 1.7;
}

.site-footer__phone svg,
.site-footer__phone .site-footer__contact-icon {
	width: 16px;
	height: 16px;
	margin-right: 0.5em;
	padding: 0;
	color: currentColor;
	fill: currentColor;
	flex: 0 0 auto;
}

.wp-block-social-links .wp-social-link > a > .wp-block-social-link-label {
	font-size: 0.9rem;
}

.site-footer__contact-links .wp-social-link {
	color: var(--wp--preset--color--white);
	width: fit-content;
	flex: 0 0 auto;
	margin: 0;
}

.site-footer__contact-links .wp-social-link a {
	color: inherit;
	line-height: 1.7;
	padding: 0;
}

.site-footer__contact-links .wp-social-link svg {
	height: 16px;
	width: 16px;
}

/* ==========================================================================
   404 page
   ========================================================================== */

.error-404 .wp-block-search__button {
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--primary);
	border: none;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.error-404 .wp-block-search__button:hover {
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 82%, black);
}

/* ==========================================================================
   Schedule archive — schedule-viewer polish
   ========================================================================== */

.wp-block-lektivo-schedule-viewer {
	margin-bottom: var(--wp--preset--spacing--50);
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__teaser {
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent);
	background:
		linear-gradient(
			160deg,
			color-mix(in srgb, var(--wp--preset--color--secondary) 12%, transparent),
			var(--wp--preset--color--surface) 55%
		);
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__teaser-title {
	font-family: var(--wp--preset--font-family--display);
	color: var(--wp--preset--color--foreground);
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__upgrade-button {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--primary);
	border-radius: 9999px;
	font-weight: 600;
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__grid-location {
	font-family: var(--wp--preset--font-family--display);
	color: var(--wp--preset--color--foreground);
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class,
.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card {
	border-left: 5px solid var(--lektivo-diff-color, #d4a843);
	border-radius: 8px;
	background: var(--wp--preset--color--surface);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

/* Title ink uses link/foreground — difficulty colour stays on the card border (#101). */
.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-title,
.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card-title {
	color: var(--wp--preset--color--link, var(--wp--preset--color--foreground));
	font-weight: 700;
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-title:hover,
.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card-title:hover {
	color: var(--wp--preset--color--foreground);
	filter: none;
}

/* Pro mobile day cards — Ritmo-style teal cards with oversized weekdays. */
.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-cards,
.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-classes {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-classes > li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-card {
	align-items: center;
	gap: 1.75rem;
	margin: 0;
	padding: 1.375rem 1.25rem;
	list-style: none;
	border-radius: 12px;
	background: var(--wp--preset--color--primary);
	box-shadow: none;
	box-sizing: border-box;
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-abbr {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--wp--preset--color--white) 55%, var(--wp--preset--color--secondary));
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-classes {
	gap: 0.45rem;
	min-width: 0;
}

/*
 * Compact day-card rows (front page + phone timetable):
 * - Larger screens: time | course | instructor on one row, with the instructor
 *   names sharing a column so they line up across rows (display: contents).
 * - Smaller screens: instructor on its own line under the course; never split
 *   mid-name (override the plugin’s overflow-wrap: anywhere).
 * Day cards stay hidden from 782px up in the responsive archive layout; these
 * rules still apply to compact embeds that keep day cards on large screens.
 */
.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class {
	min-width: 0;
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-time {
	color: var(--wp--preset--color--white);
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-sep {
	color: color-mix(in srgb, var(--wp--preset--color--white) 55%, var(--wp--preset--color--secondary));
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-title {
	color: var(--wp--preset--color--accent);
	font-weight: 700;
	text-decoration: none;
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-title:hover {
	color: var(--wp--preset--color--white);
	filter: none;
}

.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-instructor {
	color: color-mix(in srgb, var(--wp--preset--color--white) 55%, var(--wp--preset--color--secondary));
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

@media (min-width: 782px) {

	.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-classes {
		display: grid;
		grid-template-columns: auto auto minmax(0, 1fr) max-content;
		column-gap: 0.55rem;
		row-gap: 0.45rem;
		align-items: baseline;
	}

	.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-classes > .lektivo-schedule-viewer__day-class {
		display: contents;
	}

	.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-time {
		font-variant-numeric: tabular-nums;
		white-space: nowrap;
	}

	.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-title {
		min-width: 0;
		overflow-wrap: break-word;
	}

	.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-instructor {
		white-space: nowrap;
	}
}

@media (max-width: 781px) {

	.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-classes > .lektivo-schedule-viewer__day-class {
		display: grid;
		grid-template-columns: auto auto minmax(0, 1fr);
		column-gap: 0.55rem;
		row-gap: 0.15rem;
		align-items: baseline;
		max-width: 100%;
	}

	.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-time {
		font-variant-numeric: tabular-nums;
		white-space: nowrap;
	}

	.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-title {
		min-width: 0;
		overflow-wrap: break-word;
	}

	.wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-instructor {
		grid-column: 3;
		margin-inline-start: 0;
	}
}

/* ==========================================================================
   Classic style variation — elegant serif, square chrome, muted cards
   Scoped via body.lektivo-dance-style-classic (active style option).
   ========================================================================== */

/* Nav + site title: Playfair italic, color fade only (no underline grow). */
.lektivo-dance-style-classic .site-header .site-header__nav,
.lektivo-dance-style-classic .site-header .site-header__nav .wp-block-navigation-item__content,
.lektivo-dance-style-classic .site-header .site-header__title,
.lektivo-dance-style-classic .site-header .site-header__title a {
	font-family: var(--wp--preset--font-family--display-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.01em;
	text-transform: none;
}

.lektivo-dance-style-classic .site-header .site-header__nav {
	font-size: 1.05rem;
}

.lektivo-dance-style-classic .site-header__nav a::after,
.lektivo-dance-style-classic .site-header .site-header__title a::after {
	content: none;
	display: none;
}

/*
 * Headings + instructor names — same elegant serif as the site name.
 * !important beats inline fontFamily:"display" on section patterns.
 */
.lektivo-dance-style-classic h1,
.lektivo-dance-style-classic h2,
.lektivo-dance-style-classic h3,
.lektivo-dance-style-classic h4,
.lektivo-dance-style-classic .wp-block-post-title,
.lektivo-dance-style-classic .wp-block-query-title,
.lektivo-dance-style-classic .instructor-card-ritmo__name {
	font-family: var(--wp--preset--font-family--display-serif) !important;
}

.lektivo-dance-style-classic .hero-courses h1,
.lektivo-dance-style-classic .hero-courses .wp-block-post-title,
.lektivo-dance-style-classic .hero-courses .wp-block-query-title,
.lektivo-dance-style-classic .wp-block-post-title,
.lektivo-dance-style-classic .section-instructors h2,
.lektivo-dance-style-classic .section-locations h2,
.lektivo-dance-style-classic .section-testimonials h2,
.lektivo-dance-style-classic .section-contact h2,
.lektivo-dance-style-classic .section-contact h3,
.lektivo-dance-style-classic h3.location-map-embed__name,
/* Limit to pattern/section headings — not Lektivo card h2 titles (lektivo#64). */
.lektivo-dance-style-classic .section-courses h2.wp-block-heading,
.lektivo-dance-style-classic .section-related-courses h2.wp-block-heading,
.lektivo-dance-style-classic .instructor-card-ritmo__name,
.lektivo-dance-style-classic .cta-banner h2 {
	font-style: italic;
	font-weight: 400 !important;
	letter-spacing: normal;
	text-transform: none;
}

.lektivo-dance-style-classic .hero-courses h1,
.lektivo-dance-style-classic .hero-courses .wp-block-post-title,
.lektivo-dance-style-classic .hero-courses .wp-block-query-title {
	font-size: clamp(2.5rem, 6vw, 3.75rem) !important;
}

/* Course cards — quiet borders, square corners, serif titles. */
.lektivo-dance-style-classic .wp-block-lektivo-course-list .lektivo-course-card,
.lektivo-dance-style-classic .lektivo-course-list__item {
	border-radius: 0;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 14%, transparent);
	border-left: 2px solid var(--wp--preset--color--accent);
	box-shadow: none;
	background: var(--wp--preset--color--surface);
	transition:
		border-color 0.3s ease,
		border-left-color 0.3s ease,
		box-shadow 0.3s ease;
}

.lektivo-dance-style-classic .wp-block-lektivo-course-list .lektivo-course-card:hover,
.lektivo-dance-style-classic .lektivo-course-list__item:hover {
	transform: none;
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 35%, transparent);
	border-left-color: color-mix(in srgb, var(--wp--preset--color--accent) 65%, var(--wp--preset--color--secondary));
	box-shadow: 0 8px 22px color-mix(in srgb, var(--wp--preset--color--primary) 8%, transparent);
}

.lektivo-dance-style-classic .lektivo-course-card__header {
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent);
}

/* Difficulty color coding only on the badge box. */
.lektivo-dance-style-classic .lektivo-course-card__difficulty-badge {
	border-radius: 0;
	background: color-mix(in srgb, var(--lektivo-diff-color, var(--wp--preset--color--accent)) 12%, var(--wp--preset--color--surface, #ffffff));
	border: 1px solid color-mix(in srgb, var(--lektivo-diff-color, var(--wp--preset--color--accent)) 70%, #000000);
	color: color-mix(in srgb, var(--lektivo-diff-color, var(--wp--preset--color--accent)) 48%, #000000);
	font-weight: 600;
	letter-spacing: 0.06em;
}

.lektivo-dance-style-classic .lektivo-course-card__title {
	font-family: var(--wp--preset--font-family--display-serif);
	font-style: italic;
	font-weight: 400;
}

.lektivo-dance-style-classic .lektivo-course-card__title a:hover {
	color: var(--wp--preset--color--secondary) !important;
}

.lektivo-dance-style-classic .lektivo-course-card__info {
	border-radius: 0;
	background: var(--wp--preset--color--background);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 10%, transparent);
}

.lektivo-dance-style-classic .lektivo-course-card__info-icon {
	color: var(--wp--preset--color--accent);
}

.lektivo-dance-style-classic .lektivo-course-card__book-link,
.lektivo-dance-style-classic .lektivo-course-card__read-more {
	border-radius: 0;
}

/*
 * Instructor role — Gold Ink (link) on light cards; cream on dark home cards (#102).
 * Bright Antique Gold accent fails AA on both cream and mid-brown surfaces.
 */
.lektivo-dance-style-classic .instructor-role,
.lektivo-dance-style-classic .instructor-role.has-secondary-color,
.lektivo-dance-style-classic .instructor-role.has-accent-color {
	color: var(--wp--preset--color--link) !important;
}

.lektivo-dance-style-classic .instructor-card-ritmo .instructor-role,
.lektivo-dance-style-classic .instructor-card-ritmo .instructor-role.has-secondary-color,
.lektivo-dance-style-classic .instructor-card-ritmo .instructor-role.has-accent-color {
	color: var(--wp--preset--color--background) !important;
}

/* Featured images + maps — framed photo instead of Ritmo gold offset. */
.lektivo-dance-style-classic .gold-frame,
.lektivo-dance-style-classic .wp-block-post-featured-image,
.lektivo-dance-style-classic .instructor-photo,
.lektivo-dance-style-classic .location-map-embed {
	padding: 0.55rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 16%, transparent);
	border-radius: 4px;
	box-shadow:
		0 1px 2px color-mix(in srgb, var(--wp--preset--color--primary) 6%, transparent),
		0 12px 28px color-mix(in srgb, var(--wp--preset--color--primary) 10%, transparent);
	box-sizing: border-box;
}

.lektivo-dance-style-classic .gold-frame img,
.lektivo-dance-style-classic .wp-block-post-featured-image img,
.lektivo-dance-style-classic .instructor-photo img,
.lektivo-dance-style-classic .location-map-embed iframe {
	box-shadow: none !important;
	border-radius: 2px !important;
	display: block;
	width: 100%;
	border: 0;
}

/* Address card chrome comes from `.contact-card` (same as Kontakta oss). */

.lektivo-dance-style-classic .gold-frame img,
.lektivo-dance-style-classic .wp-block-post-featured-image img,
.lektivo-dance-style-classic .instructor-photo img {
	height: auto;
}

/* Schedule — square grid chrome, serif labels, muted accents. */
.lektivo-dance-style-classic .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__teaser {
	border-radius: 0;
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	background: var(--wp--preset--color--surface);
}

.lektivo-dance-style-classic .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__teaser-title,
.lektivo-dance-style-classic .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__grid-location {
	font-family: var(--wp--preset--font-family--display-serif);
	font-style: italic;
	font-weight: 400;
}

.lektivo-dance-style-classic .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__upgrade-button {
	border-radius: 0;
}

.lektivo-dance-style-classic .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class,
.lektivo-dance-style-classic .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card {
	border-radius: 0;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 12%, transparent);
	border-left: 2px solid var(--lektivo-diff-color, var(--wp--preset--color--accent));
	box-shadow: none;
}

.lektivo-dance-style-classic .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-title,
.lektivo-dance-style-classic .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card-title {
	font-family: var(--wp--preset--font-family--display-serif);
	font-style: italic;
	font-weight: 400;
	color: var(--wp--preset--color--primary);
}

.lektivo-dance-style-classic .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-title:hover,
.lektivo-dance-style-classic .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card-title:hover {
	color: var(--wp--preset--color--secondary);
	filter: none;
}

.lektivo-dance-style-classic .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-card {
	border-radius: 0;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 35%, transparent);
}

.lektivo-dance-style-classic .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-abbr {
	font-family: var(--wp--preset--font-family--display-serif);
	font-style: italic;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0.02em;
}

.lektivo-dance-style-classic .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-title {
	font-family: var(--wp--preset--font-family--display-serif);
	font-style: italic;
	font-weight: 400;
}

/* Contact form — cursive labels, square fields. */
.lektivo-dance-style-classic .wpcf7-form label,
.lektivo-dance-style-classic .wpforms-field-label,
.lektivo-dance-style-classic .wpforms-field-sublabel,
.lektivo-dance-style-classic .section-courses-archive .lektivo-course-filters__label,
.lektivo-dance-style-classic .section-courses-by-term .lektivo-course-filters__label,
.lektivo-dance-style-classic .section-schedule-archive .lektivo-schedule-filters__label {
	font-family: var(--wp--preset--font-family--display-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.01em;
	text-transform: none;
}

.lektivo-dance-style-classic .wpcf7 input[type="text"],
.lektivo-dance-style-classic .wpcf7 input[type="email"],
.lektivo-dance-style-classic .wpcf7 input[type="url"],
.lektivo-dance-style-classic .wpcf7 input[type="tel"],
.lektivo-dance-style-classic .wpcf7 input[type="number"],
.lektivo-dance-style-classic .wpcf7 input[type="date"],
.lektivo-dance-style-classic .wpcf7 input[type="search"],
.lektivo-dance-style-classic .wpcf7 select,
.lektivo-dance-style-classic .wpcf7 textarea,
.lektivo-dance-style-classic .wpforms-container input[type="text"],
.lektivo-dance-style-classic .wpforms-container input[type="email"],
.lektivo-dance-style-classic .wpforms-container input[type="url"],
.lektivo-dance-style-classic .wpforms-container input[type="tel"],
.lektivo-dance-style-classic .wpforms-container input[type="number"],
.lektivo-dance-style-classic .wpforms-container input[type="date"],
.lektivo-dance-style-classic .wpforms-container input[type="search"],
.lektivo-dance-style-classic .wpforms-container select,
.lektivo-dance-style-classic .wpforms-container textarea,
.lektivo-dance-style-classic .single-post__comments .wp-block-post-comments-form input[type="text"],
.lektivo-dance-style-classic .single-post__comments .wp-block-post-comments-form input[type="email"],
.lektivo-dance-style-classic .single-post__comments .wp-block-post-comments-form input[type="url"],
.lektivo-dance-style-classic .single-post__comments .wp-block-post-comments-form textarea,
.lektivo-dance-style-classic .section-courses-archive .lektivo-course-filters__select,
.lektivo-dance-style-classic .section-courses-by-term .lektivo-course-filters__select,
.lektivo-dance-style-classic .section-schedule-archive .lektivo-schedule-filters__select,
.lektivo-dance-style-classic .lektivo-course-filters__submit,
.lektivo-dance-style-classic .lektivo-schedule-filters__submit {
	border-radius: 0;
}

.lektivo-dance-style-classic .single-post__comments .wp-block-post-comments-form label {
	font-family: var(--wp--preset--font-family--display-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.01em;
}

/*
 * Stage-light sheen (#106) — a narrow antique-gold highlight crosses the
 * brown fill, then parks off the button. Text colour stays white on primary
 * (and on the 32% gold band, still above 4.5:1). Not Ritmo’s expanding ring.
 * The rest position keeps the band outside the box so reduced motion is solid.
 */
@keyframes lektivo-classic-sheen {
	0%,
	100% {
		background-position: 0% 0;
		box-shadow: 0 0 0 0 transparent;
	}

	50% {
		background-position: 50% 0;
		box-shadow: 0 10px 24px color-mix(in srgb, var(--wp--preset--color--accent) 35%, transparent);
	}
}

.lektivo-dance-style-classic .wpcf7 input[type="submit"],
.lektivo-dance-style-classic .wpcf7 input[type="button"],
.lektivo-dance-style-classic .wpcf7 button,
.lektivo-dance-style-classic .wpcf7 .wpcf7-submit,
.lektivo-dance-style-classic .wpforms-submit,
.lektivo-dance-style-classic .wpforms-page-button,
.lektivo-dance-style-classic .single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"],
.lektivo-dance-style-classic .wp-block-cover .wp-block-button__link.has-accent-background-color,
.lektivo-dance-style-classic .hero-classic .hero-classic__cta .wp-block-button__link,
.lektivo-dance-style-classic .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.lektivo-dance-style-classic .error-404 .wp-block-search__button,
.lektivo-dance-style-classic .course-info-card .lektivo-course-sidebar__book-link,
.lektivo-dance-style-classic .location-map-embed__directions,
.lektivo-dance-style-classic .lektivo-course-filters__submit,
.lektivo-dance-style-classic .lektivo-schedule-filters__submit {
	border-radius: 0 !important;
	/* classic.json button tokens (primary + white) — antique gold + white fails AA (#81). */
	background-color: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--white) !important;
	text-transform: none;
	font-family: var(--wp--preset--font-family--display-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.02em;
	background-image: linear-gradient(
		105deg,
		transparent 0%,
		transparent 46%,
		color-mix(in srgb, var(--wp--preset--color--accent) 32%, transparent) 50%,
		transparent 54%,
		transparent 100%
	);
	background-size: 300% 100%;
	background-position: 0% 0;
	background-repeat: no-repeat;
	animation: lektivo-classic-sheen 6s ease-in-out infinite;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease,
		background-color 0.3s ease,
		filter 0.3s ease;
}

.lektivo-dance-style-classic .wpcf7 input[type="submit"]:hover,
.lektivo-dance-style-classic .wpcf7 input[type="submit"]:focus-visible,
.lektivo-dance-style-classic .wpcf7 input[type="button"]:hover,
.lektivo-dance-style-classic .wpcf7 input[type="button"]:focus-visible,
.lektivo-dance-style-classic .wpcf7 button:hover,
.lektivo-dance-style-classic .wpcf7 button:focus-visible,
.lektivo-dance-style-classic .wpcf7 .wpcf7-submit:hover,
.lektivo-dance-style-classic .wpcf7 .wpcf7-submit:focus-visible,
.lektivo-dance-style-classic .wpforms-submit:hover,
.lektivo-dance-style-classic .wpforms-submit:focus-visible,
.lektivo-dance-style-classic .wpforms-page-button:hover,
.lektivo-dance-style-classic .wpforms-page-button:focus-visible,
.lektivo-dance-style-classic .single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"]:hover,
.lektivo-dance-style-classic .single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"]:focus-visible,
.lektivo-dance-style-classic .wp-block-cover .wp-block-button__link.has-accent-background-color:hover,
.lektivo-dance-style-classic .wp-block-cover .wp-block-button__link.has-accent-background-color:focus-visible,
.lektivo-dance-style-classic .hero-classic .hero-classic__cta .wp-block-button__link:hover,
.lektivo-dance-style-classic .hero-classic .hero-classic__cta .wp-block-button__link:focus-visible,
.lektivo-dance-style-classic .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.lektivo-dance-style-classic .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible,
.lektivo-dance-style-classic .error-404 .wp-block-search__button:hover,
.lektivo-dance-style-classic .error-404 .wp-block-search__button:focus-visible,
.lektivo-dance-style-classic .course-info-card .lektivo-course-sidebar__book-link:hover,
.lektivo-dance-style-classic .course-info-card .lektivo-course-sidebar__book-link:focus-visible,
.lektivo-dance-style-classic .location-map-embed__directions:hover,
.lektivo-dance-style-classic .location-map-embed__directions:focus-visible,
.lektivo-dance-style-classic .lektivo-course-filters__submit:hover,
.lektivo-dance-style-classic .lektivo-course-filters__submit:focus-visible,
.lektivo-dance-style-classic .lektivo-schedule-filters__submit:hover,
.lektivo-dance-style-classic .lektivo-schedule-filters__submit:focus-visible {
	animation: none;
	background-image: none;
	background-color: var(--wp--preset--color--secondary) !important;
	color: var(--wp--preset--color--white) !important;
	transform: translateY(-2px);
	filter: none;
	box-shadow: 0 8px 22px color-mix(in srgb, var(--wp--preset--color--primary) 8%, transparent);
}

/* Sidebar Book CTA — classic.json button tokens (primary + white) for AA (#80). */
.lektivo-dance-style-classic .course-info-card .lektivo-course-sidebar__book-link {
	border-radius: 0 !important;
	background-color: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--white) !important;
	font-family: var(--wp--preset--font-family--display-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
	opacity: 1;
}

.lektivo-dance-style-classic .course-info-card .lektivo-course-sidebar__book-link:hover,
.lektivo-dance-style-classic .course-info-card .lektivo-course-sidebar__book-link:focus,
.lektivo-dance-style-classic .course-info-card .lektivo-course-sidebar__book-link:focus-visible {
	animation: none;
	background-image: none;
	background-color: var(--wp--preset--color--secondary) !important;
	color: var(--wp--preset--color--white) !important;
	opacity: 1;
	filter: none;
	transform: translateY(-2px);
}

/* Footer column headings. */
.lektivo-dance-style-classic .site-footer__heading {
	font-family: var(--wp--preset--font-family--display-serif);
	font-style: italic;
	font-weight: 400;
	font-size: 1.15rem;
	letter-spacing: 0.02em;
	text-transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.lektivo-dance-style-classic,
	.lektivo-dance-style-classic *,
	.lektivo-dance-style-classic *::before,
	.lektivo-dance-style-classic *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ==========================================================================
   Swing style variation — Limelight (display-vintage) titles
   Scoped via body.lektivo-dance-style-swing (active style option).
   Limelight is a single Regular cut — no italic faces.
   ========================================================================== */

.lektivo-dance-style-swing {
	/* Hard 3D extrusion — accent with slight transparency so it settles into the page. */
	--lektivo-swing-extrude: color-mix(in srgb, var(--wp--preset--color--accent) 68%, transparent);
	/* Button label + hard side share one ink color. */
	--lektivo-swing-btn-ink: var(--wp--preset--color--primary);
}

/*
 * Retro block extrusion — solid offset layers, no blur (mid-century poster feel).
 * Kept on large display titles only; nav stays flat for readability.
 */
.lektivo-dance-style-swing .wp-block-cover h1,
.lektivo-dance-style-swing .hero-courses h1,
.lektivo-dance-style-swing .hero-courses .wp-block-post-title,
.lektivo-dance-style-swing .hero-courses .wp-block-query-title,
.lektivo-dance-style-swing .cta-banner h2,
.lektivo-dance-style-swing .section-instructors h2,
.lektivo-dance-style-swing .section-locations h2,
.lektivo-dance-style-swing .section-testimonials h2,
.lektivo-dance-style-swing .section-contact h2,
/* Limit to pattern headings — not Lektivo card h2 titles (lektivo#64). */
.lektivo-dance-style-swing .section-courses h2.wp-block-heading {
	text-shadow:
		1px 1px 0 var(--lektivo-swing-extrude),
		2px 2px 0 var(--lektivo-swing-extrude),
		3px 3px 0 var(--lektivo-swing-extrude),
		4px 4px 0 var(--lektivo-swing-extrude);
}

.lektivo-dance-style-swing .site-header .site-header__title,
.lektivo-dance-style-swing .site-header .site-header__title a {
	text-shadow:
		1px 1px 0 var(--lektivo-swing-extrude),
		2px 2px 0 var(--lektivo-swing-extrude);
	transition:
		color 0.2s ease,
		text-shadow 0.2s ease;
}

.lektivo-dance-style-swing .site-header .site-header__title a:hover {
	text-shadow:
		1px 1px 0 var(--wp--preset--color--primary),
		2px 2px 0 var(--wp--preset--color--primary);
}

/* Nav + site title. */
.lektivo-dance-style-swing .site-header .site-header__nav,
.lektivo-dance-style-swing .site-header .site-header__nav .wp-block-navigation-item__content,
.lektivo-dance-style-swing .site-header .site-header__title,
.lektivo-dance-style-swing .site-header .site-header__title a {
	font-family: var(--wp--preset--font-family--display-vintage);
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
}

.lektivo-dance-style-swing .site-header .site-header__nav {
	font-size: 1.05rem;
}

/*
 * Headings + instructor names — same vintage display as the site name.
 * !important beats inline fontFamily:"display" on section patterns.
 */
.lektivo-dance-style-swing h1,
.lektivo-dance-style-swing h2,
.lektivo-dance-style-swing h3,
.lektivo-dance-style-swing h4,
.lektivo-dance-style-swing .wp-block-post-title,
.lektivo-dance-style-swing .wp-block-query-title,
.lektivo-dance-style-swing .instructor-card-ritmo__name,
.lektivo-dance-style-swing h3.location-map-embed__name {
	font-family: var(--wp--preset--font-family--display-vintage) !important;
	font-style: normal;
	font-weight: 400 !important;
	letter-spacing: 0.01em;
	text-transform: none;
}

.lektivo-dance-style-swing .hero-courses h1,
.lektivo-dance-style-swing .hero-courses .wp-block-post-title,
.lektivo-dance-style-swing .hero-courses .wp-block-query-title {
	font-size: clamp(2.5rem, 6vw, 3.75rem) !important;
}

.lektivo-dance-style-swing .lektivo-course-card__title {
	font-family: var(--wp--preset--font-family--display-vintage);
	font-weight: 400;
}

/* Course cards — square, difficulty color as hard offset frame (right + below). */
.lektivo-dance-style-swing .wp-block-lektivo-course-list .lektivo-course-card,
.lektivo-dance-style-swing .lektivo-course-list__item {
	border-radius: 0;
	overflow: visible;
	border: none;
	border-left: none;
	box-shadow: 4px 4px 0 var(--lektivo-diff-color, var(--wp--preset--color--accent));
	transform: none;
}

.lektivo-dance-style-swing .wp-block-lektivo-course-list .lektivo-course-card:hover,
.lektivo-dance-style-swing .lektivo-course-list__item:hover {
	transform: none;
	box-shadow: 2px 2px 0 var(--lektivo-diff-color, var(--wp--preset--color--accent));
}

.lektivo-dance-style-swing .lektivo-course-card__difficulty-badge {
	border-radius: 0;
}

.lektivo-dance-style-swing .lektivo-course-card__info {
	border-radius: 0;
}

/* Book now — text link matching Read more (not the 3D CTA). */
.lektivo-dance-style-swing .lektivo-course-card__book-link {
	display: inline-block;
	padding: 0;
	border: none !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: var(--wp--preset--color--link) !important;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transform: none !important;
}

.lektivo-dance-style-swing .lektivo-course-card__book-link:hover,
.lektivo-dance-style-swing .lektivo-course-card__book-link:focus-visible,
.lektivo-dance-style-swing .lektivo-course-card__book-link:active {
	background: none !important;
	box-shadow: none !important;
	color: var(--wp--preset--color--link) !important;
	transform: none !important;
	opacity: 0.7;
	filter: none;
	animation: none;
}

.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__teaser-title,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__grid-location,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-title,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card-title,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-abbr,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-title {
	font-family: var(--wp--preset--font-family--display-vintage);
	font-weight: 400;
}

.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__teaser,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__upgrade-button,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-card,
.lektivo-dance-style-swing .section-schedule-archive .lektivo-schedule-viewer__filters select,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer select,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-filters__select,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__filters input,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__filters button,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__filter-submit,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-filters button,
.lektivo-dance-style-swing .section-courses-archive .lektivo-course-filters__select,
.lektivo-dance-style-swing .section-courses-by-term .lektivo-course-filters__select,
.lektivo-dance-style-swing .section-schedule-archive .lektivo-schedule-filters__select,
.lektivo-dance-style-swing .lektivo-course-filters__submit,
.lektivo-dance-style-swing .lektivo-schedule-filters__submit {
	border-radius: 0 !important;
}

.lektivo-dance-style-swing .section-courses-archive .lektivo-course-filters__label,
.lektivo-dance-style-swing .section-courses-by-term .lektivo-course-filters__label,
.lektivo-dance-style-swing .section-schedule-archive .lektivo-schedule-filters__label {
	font-family: var(--wp--preset--font-family--display-vintage);
	font-weight: 400;
	letter-spacing: 0.04em;
}

.lektivo-dance-style-swing .site-footer__heading {
	font-family: var(--wp--preset--font-family--display-vintage);
	font-style: normal;
	font-weight: 400;
	font-size: 1.15rem;
	letter-spacing: 0.02em;
	text-transform: none;
}

/*
 * Accent as text — Coral Ink / lightened accent for AA (#103).
 * Bright Burnt Orange fails on forest footer, cream instructor cards, and teal home cards.
 */
.lektivo-dance-style-swing .instructor-role,
.lektivo-dance-style-swing .instructor-role.has-secondary-color,
.lektivo-dance-style-swing .instructor-role.has-accent-color {
	color: var(--wp--preset--color--link) !important;
}

.lektivo-dance-style-swing .instructor-card-ritmo .instructor-role,
.lektivo-dance-style-swing .instructor-card-ritmo .instructor-role.has-secondary-color,
.lektivo-dance-style-swing .instructor-card-ritmo .instructor-role.has-accent-color {
	color: var(--wp--preset--color--background) !important;
}

.lektivo-dance-style-swing .site-footer__heading.has-accent-color,
.lektivo-dance-style-swing .site-footer .has-accent-color {
	color: color-mix(in srgb, var(--wp--preset--color--accent) 52%, #ffffff) !important;
}

.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-title,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card-title {
	color: var(--wp--preset--color--link);
}

.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-title:hover,
.lektivo-dance-style-swing .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card-title:hover {
	color: var(--wp--preset--color--foreground);
	filter: none;
}

/*
 * Accent-fill buttons outside cover/CTA — darken face so white ink hits AA (#103).
 * Covers keep the cream + primary hero CTA from #81 (restored below with higher specificity).
 */
.lektivo-dance-style-swing .wp-block-button:not(.is-style-outline) .wp-block-button__link.has-accent-background-color {
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 58%, #000000) !important;
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 58%, #000000) !important;
	color: var(--wp--preset--color--white) !important;
}

/* Cover CTAs stay cream + primary ink — do not inherit the accent-face darken. */
.lektivo-dance-style-swing .wp-block-cover .wp-block-button:not(.is-style-outline) .wp-block-button__link.has-accent-background-color {
	--lektivo-swing-btn-ink: var(--wp--preset--color--primary);
	background-color: var(--wp--preset--color--background) !important;
	border-color: var(--lektivo-swing-btn-ink) !important;
	color: var(--lektivo-swing-btn-ink) !important;
	box-shadow: 4px 4px 0 var(--lektivo-swing-btn-ink);
}

/* Instructors — square chrome (image, offset “shadow”, and text box). */
.lektivo-dance-style-swing .section-instructors .instructor-card-ritmo,
.lektivo-dance-style-swing .section-instructors-archive .post-card,
.lektivo-dance-style-swing .lektivo_instructor .post-card {
	border-radius: 0 !important;
}

.lektivo-dance-style-swing .section-instructors .gold-frame img,
.lektivo-dance-style-swing .section-instructors-archive .instructor-photo,
.lektivo-dance-style-swing .section-instructors-archive .instructor-photo img,
.lektivo-dance-style-swing .lektivo_instructor .instructor-photo,
.lektivo-dance-style-swing .lektivo_instructor .instructor-photo img {
	border-radius: 0 !important;
}

.lektivo-dance-style-swing .section-instructors .gold-frame img {
	box-shadow: 8px 8px 0 var(--wp--preset--color--accent) !important;
}

/* Blog post featured images — square + tighter accent frame. */
.lektivo-dance-style-swing .single-post__featured,
.lektivo-dance-style-swing .single-post__featured img,
.lektivo-dance-style-swing .post-feed-item__featured,
.lektivo-dance-style-swing .post-feed-item__featured img,
.lektivo-dance-style-swing .single-post .gold-frame,
.lektivo-dance-style-swing .single-post .gold-frame img,
.lektivo-dance-style-swing .post-feed-item .gold-frame,
.lektivo-dance-style-swing .post-feed-item .gold-frame img,
.lektivo-dance-style-swing .single-post__more-posts .wp-block-post-featured-image,
.lektivo-dance-style-swing .single-post__more-posts .wp-block-post-featured-image img {
	border-radius: 0 !important;
}

.lektivo-dance-style-swing .single-post__featured img,
.lektivo-dance-style-swing .post-feed-item__featured img,
.lektivo-dance-style-swing .single-post .gold-frame img,
.lektivo-dance-style-swing .post-feed-item .gold-frame img {
	box-shadow: 8px 8px 0 var(--wp--preset--color--accent) !important;
}

.lektivo-dance-style-swing .section-instructors-archive .instructor-photo img,
.lektivo-dance-style-swing .lektivo_instructor .instructor-photo img {
	box-shadow: 8px 8px 0 var(--wp--preset--color--secondary) !important;
}

/* Testimonials, locations, contact — square chrome. */
.lektivo-dance-style-swing .testimonial-card,
.lektivo-dance-style-swing .contact-card,
.lektivo-dance-style-swing .section-contact .contact-card {
	border-radius: 0 !important;
}

.lektivo-dance-style-swing .testimonial-card {
	box-shadow: 4px 4px 0 var(--wp--preset--color--accent);
}

.lektivo-dance-style-swing .section-locations .location-map-embed iframe,
.lektivo-dance-style-swing .location-map-embed__media iframe,
.lektivo-dance-style-swing .section-locations-archive .post-card,
.lektivo-dance-style-swing .lektivo_location .post-card,
.lektivo-dance-style-swing .single-location .location-photo img,
.lektivo-dance-style-swing .single-location__map .location-map-embed iframe {
	border-radius: 0 !important;
}

/*
 * Playful hop (#106) — the hard offset shadow stays put while the face
 * lifts a few pixels, then settles. Transform only, so the layout does not
 * shift. Hero cover sets --lektivo-swing-shadow to its own ink below.
 */
@keyframes lektivo-swing-bounce {
	0%,
	64%,
	100% {
		transform: translate(0, 0);
		box-shadow: 4px 4px 0 var(--lektivo-swing-shadow, var(--wp--preset--color--primary));
	}

	76% {
		transform: translate(-1px, -3px);
		box-shadow: 5px 7px 0 var(--lektivo-swing-shadow, var(--wp--preset--color--primary));
	}

	88% {
		transform: translate(0, 0);
		box-shadow: 4px 4px 0 var(--lektivo-swing-shadow, var(--wp--preset--color--primary));
	}

	94% {
		transform: translate(0, 1px);
		box-shadow: 4px 3px 0 var(--lektivo-swing-shadow, var(--wp--preset--color--primary));
	}
}

/*
 * Hard 3D block buttons — darkened accent face + white label for AA (#81).
 * Hero cover CTA is overridden below to cream + primary ink.
 */
.lektivo-dance-style-swing .wp-block-cover .wp-block-button__link.has-accent-background-color,
.lektivo-dance-style-swing .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.lektivo-dance-style-swing .cta-banner .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.lektivo-dance-style-swing .wpcf7 input[type="submit"],
.lektivo-dance-style-swing .wpcf7 input[type="button"],
.lektivo-dance-style-swing .wpcf7 button,
.lektivo-dance-style-swing .wpcf7 .wpcf7-submit,
.lektivo-dance-style-swing .wpforms-submit,
.lektivo-dance-style-swing .wpforms-page-button,
.lektivo-dance-style-swing .single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"],
.lektivo-dance-style-swing .error-404 .wp-block-search__button,
.lektivo-dance-style-swing .course-info-card .lektivo-course-sidebar__book-link,
.lektivo-dance-style-swing .location-map-embed__directions,
.lektivo-dance-style-swing .lektivo-course-filters__submit,
.lektivo-dance-style-swing .lektivo-schedule-filters__submit {
	--lektivo-swing-shadow: var(--wp--preset--color--primary);
	border: 2px solid color-mix(in srgb, var(--wp--preset--color--accent) 58%, #000000) !important;
	border-radius: 0 !important;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 58%, #000000) !important;
	color: var(--wp--preset--color--white) !important;
	font-family: var(--wp--preset--font-family--display-vintage);
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0.03em;
	text-transform: none;
	text-decoration: none;
	box-shadow: 4px 4px 0 var(--lektivo-swing-shadow);
	animation: lektivo-swing-bounce 2.8s ease-in-out infinite;
	transition:
		background-color 0.2s ease,
		box-shadow 0.15s ease,
		transform 0.15s ease,
		filter 0.2s ease;
}

.lektivo-dance-style-swing .course-info-card .lektivo-course-sidebar__book-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1.1rem;
	font-size: 0.95rem;
	opacity: 1;
	/* Accent kept as fill but darkened so white label hits AA (#80). */
	--lektivo-swing-btn-ink: var(--wp--preset--color--white);
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 58%, #000000) !important;
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 58%, #000000) !important;
	color: var(--wp--preset--color--white) !important;
	box-shadow: 4px 4px 0 var(--wp--preset--color--primary);
}

.lektivo-dance-style-swing .wp-block-cover .wp-block-button__link.has-accent-background-color:hover,
.lektivo-dance-style-swing .wp-block-cover .wp-block-button__link.has-accent-background-color:focus-visible,
.lektivo-dance-style-swing .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.lektivo-dance-style-swing .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible,
.lektivo-dance-style-swing .cta-banner .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.lektivo-dance-style-swing .cta-banner .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible,
.lektivo-dance-style-swing .wpcf7 input[type="submit"]:hover,
.lektivo-dance-style-swing .wpcf7 input[type="submit"]:focus-visible,
.lektivo-dance-style-swing .wpcf7 input[type="button"]:hover,
.lektivo-dance-style-swing .wpcf7 input[type="button"]:focus-visible,
.lektivo-dance-style-swing .wpcf7 button:hover,
.lektivo-dance-style-swing .wpcf7 button:focus-visible,
.lektivo-dance-style-swing .wpcf7 .wpcf7-submit:hover,
.lektivo-dance-style-swing .wpcf7 .wpcf7-submit:focus-visible,
.lektivo-dance-style-swing .wpforms-submit:hover,
.lektivo-dance-style-swing .wpforms-submit:focus-visible,
.lektivo-dance-style-swing .wpforms-page-button:hover,
.lektivo-dance-style-swing .wpforms-page-button:focus-visible,
.lektivo-dance-style-swing .single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"]:hover,
.lektivo-dance-style-swing .single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"]:focus-visible,
.lektivo-dance-style-swing .error-404 .wp-block-search__button:hover,
.lektivo-dance-style-swing .error-404 .wp-block-search__button:focus-visible,
.lektivo-dance-style-swing .course-info-card .lektivo-course-sidebar__book-link:hover,
.lektivo-dance-style-swing .course-info-card .lektivo-course-sidebar__book-link:focus,
.lektivo-dance-style-swing .course-info-card .lektivo-course-sidebar__book-link:focus-visible,
.lektivo-dance-style-swing .location-map-embed__directions:hover,
.lektivo-dance-style-swing .location-map-embed__directions:focus-visible,
.lektivo-dance-style-swing .lektivo-course-filters__submit:hover,
.lektivo-dance-style-swing .lektivo-course-filters__submit:focus-visible,
.lektivo-dance-style-swing .lektivo-schedule-filters__submit:hover,
.lektivo-dance-style-swing .lektivo-schedule-filters__submit:focus-visible {
	animation: none;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 48%, #000000) !important;
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 48%, #000000) !important;
	color: var(--wp--preset--color--white) !important;
	filter: none;
	transform: translate(-2px, -2px);
	opacity: 1;
	box-shadow: 6px 6px 0 var(--lektivo-swing-shadow, var(--wp--preset--color--primary));
}

.lektivo-dance-style-swing .wp-block-cover .wp-block-button__link.has-accent-background-color:active,
.lektivo-dance-style-swing .wp-block-button:not(.is-style-outline) .wp-block-button__link:active,
.lektivo-dance-style-swing .cta-banner .wp-block-button:not(.is-style-outline) .wp-block-button__link:active,
.lektivo-dance-style-swing .wpcf7 input[type="submit"]:active,
.lektivo-dance-style-swing .wpcf7 input[type="button"]:active,
.lektivo-dance-style-swing .wpcf7 button:active,
.lektivo-dance-style-swing .wpcf7 .wpcf7-submit:active,
.lektivo-dance-style-swing .wpforms-submit:active,
.lektivo-dance-style-swing .wpforms-page-button:active,
.lektivo-dance-style-swing .single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"]:active,
.lektivo-dance-style-swing .error-404 .wp-block-search__button:active,
.lektivo-dance-style-swing .course-info-card .lektivo-course-sidebar__book-link:active,
.lektivo-dance-style-swing .location-map-embed__directions:active,
.lektivo-dance-style-swing .lektivo-course-filters__submit:active,
.lektivo-dance-style-swing .lektivo-schedule-filters__submit:active {
	animation: none;
	transform: translate(3px, 3px);
	box-shadow: 1px 1px 0 var(--lektivo-swing-shadow, var(--lektivo-swing-btn-ink));
}

/*
 * Hero CTA — cream face with primary (forest) ink for AA on Warm Cream (#81).
 * Burnt-orange ink on cream was ~2.68:1.
 */
.lektivo-dance-style-swing .wp-block-cover .wp-block-button__link.has-accent-background-color {
	--lektivo-swing-btn-ink: var(--wp--preset--color--primary);
	--lektivo-swing-shadow: var(--lektivo-swing-btn-ink);
	background-color: var(--wp--preset--color--background) !important;
	border-color: var(--lektivo-swing-btn-ink) !important;
	color: var(--lektivo-swing-btn-ink) !important;
	box-shadow: 4px 4px 0 var(--lektivo-swing-btn-ink);
}

.lektivo-dance-style-swing .wp-block-cover .wp-block-button:not(.is-style-outline) .wp-block-button__link.has-accent-background-color:hover,
.lektivo-dance-style-swing .wp-block-cover .wp-block-button:not(.is-style-outline) .wp-block-button__link.has-accent-background-color:focus-visible {
	animation: none;
	background-color: color-mix(in srgb, var(--wp--preset--color--background) 88%, white) !important;
	color: var(--lektivo-swing-btn-ink) !important;
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--lektivo-swing-shadow, var(--lektivo-swing-btn-ink));
}

.lektivo-dance-style-swing .wp-block-cover .wp-block-button__link.has-accent-background-color:active {
	animation: none;
	box-shadow: 1px 1px 0 var(--lektivo-swing-btn-ink);
}

/*
 * Card "Book now" stays a text link when it also matches the 3D button
 * selector. The earlier reset sits above that selector in the file.
 */
.lektivo-dance-style-swing .wp-block-button .wp-block-button__link.lektivo-course-card__book-link,
.lektivo-dance-style-swing .wp-block-button .wp-block-button__link.lektivo-course-card__book-link:hover,
.lektivo-dance-style-swing .wp-block-button .wp-block-button__link.lektivo-course-card__book-link:focus-visible,
.lektivo-dance-style-swing .wp-block-button .wp-block-button__link.lektivo-course-card__book-link:active {
	animation: none !important;
	transform: none !important;
	box-shadow: none !important;
	background: none !important;
	background-image: none !important;
	border: none !important;
	color: var(--wp--preset--color--link) !important;
}

@media (prefers-reduced-motion: reduce) {
	.lektivo-dance-style-swing,
	.lektivo-dance-style-swing *,
	.lektivo-dance-style-swing *::before,
	.lektivo-dance-style-swing *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ==========================================================================
   Urban style variation — street / hip-hop, cool neon (Tron)
   Scoped via body.lektivo-dance-style-urban.
   Cyan + magenta glow from the warehouse hero; no hard colour swaps on hover.
   ========================================================================== */

.lektivo-dance-style-urban {
	--lektivo-urban-magenta: #c44dff;
	--lektivo-urban-cyan-glow: color-mix(in srgb, var(--wp--preset--color--accent) 42%, transparent);
	--lektivo-urban-magenta-glow: color-mix(in srgb, var(--lektivo-urban-magenta) 32%, transparent);
	--lektivo-urban-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--lektivo-urban-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300E5FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	/* Map core block fallbacks (base/contrast) onto Urban tokens so plugin
	   chrome does not snap back to white-on-cream defaults. */
	--wp--preset--color--base: var(--wp--preset--color--surface);
	--wp--preset--color--contrast: var(--wp--preset--color--foreground);
	--wp--preset--color--contrast-2: var(--wp--preset--color--muted);
	color-scheme: dark;
}

html:has(body.lektivo-dance-style-urban) {
	scroll-behavior: smooth;
}

/* Hidden until IntersectionObserver adds .is-visible. Uses `translate`
   so hover `transform` on cards can still lift after the reveal.
   Shared motion.js class names (Urban + Ritmo). */
html.lektivo-motion-js .lektivo-dance-style-urban .lektivo-reveal {
	opacity: 0;
	translate: 0 28px;
}

html.lektivo-motion-js .lektivo-dance-style-urban .lektivo-reveal.is-visible,
html.lektivo-motion-js .lektivo-dance-style-urban .lektivo-reveal:focus-within {
	opacity: 1;
	translate: 0;
	transition:
		opacity 0.7s var(--lektivo-urban-ease) var(--lektivo-reveal-delay, 0ms),
		translate 0.7s var(--lektivo-urban-ease) var(--lektivo-reveal-delay, 0ms),
		transform 0.28s var(--lektivo-urban-ease),
		box-shadow 0.28s var(--lektivo-urban-ease),
		border-color 0.28s ease;
}

.lektivo-dance-style-urban h1,
.lektivo-dance-style-urban h2,
.lektivo-dance-style-urban h3,
.lektivo-dance-style-urban h4,
.lektivo-dance-style-urban .wp-block-post-title,
.lektivo-dance-style-urban .wp-block-query-title,
.lektivo-dance-style-urban .instructor-card-ritmo__name,
.lektivo-dance-style-urban h3.location-map-embed__name {
	font-family: var(--wp--preset--font-family--display-condensed) !important;
	font-style: normal;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.lektivo-dance-style-urban .hero-courses h1,
.lektivo-dance-style-urban .hero-courses .wp-block-post-title,
.lektivo-dance-style-urban .hero-courses .wp-block-query-title {
	font-size: clamp(2.4rem, 7vw, 4rem) !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em;
}

/* Header — thin cyan hairline instead of a 4px accent bar. */
.lektivo-dance-style-urban header {
	background-color: color-mix(in srgb, var(--wp--preset--color--primary) 92%, transparent);
	border-bottom-width: 1px;
	border-bottom-color: color-mix(in srgb, var(--wp--preset--color--accent) 55%, transparent);
	box-shadow: 0 0 22px color-mix(in srgb, var(--wp--preset--color--accent) 10%, transparent);
	backdrop-filter: blur(14px);
	transition:
		background-color 0.35s var(--lektivo-urban-ease),
		box-shadow 0.35s var(--lektivo-urban-ease),
		border-color 0.35s ease;
}

.lektivo-dance-style-urban .site-header .site-header__nav,
.lektivo-dance-style-urban .site-header .site-header__nav .wp-block-navigation-item__content,
.lektivo-dance-style-urban .site-header .site-header__title,
.lektivo-dance-style-urban .site-header .site-header__title a {
	font-family: var(--wp--preset--font-family--display-condensed);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lektivo-dance-style-urban .site-header__nav a::after,
.lektivo-dance-style-urban .site-header .site-header__title a::after {
	height: 1px;
	bottom: -6px;
	background-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 8px var(--lektivo-urban-cyan-glow);
}

.lektivo-dance-style-urban.home:has(.hero-urban) .wp-site-blocks > header:first-child,
.lektivo-dance-style-urban.home:has(.hero-urban) .wp-site-blocks > .wp-block-template-part:first-child {
	background: linear-gradient(
		to bottom,
		rgba(5, 5, 12, 0.72) 0%,
		rgba(5, 5, 12, 0.28) 55%,
		transparent 100%
	);
	border-bottom-color: transparent;
	box-shadow: none;
	backdrop-filter: none;
}

.lektivo-dance-style-urban.home:has(.hero-urban) .wp-site-blocks > header.is-scrolled,
.lektivo-dance-style-urban.home:has(.hero-urban) .wp-site-blocks > .wp-block-template-part:first-child.is-scrolled {
	background: color-mix(in srgb, var(--wp--preset--color--primary) 88%, transparent);
	border-bottom-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(14px);
}

.lektivo-dance-style-urban .site-header .wp-block-navigation a:hover,
.lektivo-dance-style-urban .site-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.lektivo-dance-style-urban .site-header .site-header__title a:hover {
	color: var(--wp--preset--color--accent);
	text-shadow: 0 0 12px var(--lektivo-urban-cyan-glow);
}

.lektivo-dance-style-urban .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--foreground);
}

.lektivo-dance-style-urban .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a,
.lektivo-dance-style-urban .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.lektivo-dance-style-urban .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--foreground);
}

/* Hero — cyan/magenta wash over the warehouse cover. */
.lektivo-dance-style-urban .hero-urban.wp-block-cover {
	position: relative;
}

.lektivo-dance-style-urban .hero-urban.wp-block-cover::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent) 0%,
		transparent 38%,
		transparent 62%,
		color-mix(in srgb, var(--lektivo-urban-magenta) 16%, transparent) 100%
	);
}

.lektivo-dance-style-urban .hero-urban .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
}

.lektivo-dance-style-urban .hero-urban h1 {
	text-shadow:
		0 0 28px var(--lektivo-urban-cyan-glow),
		0 2px 24px rgba(0, 0, 0, 0.55);
}

/*
 * Rotating border glow (#106), same idea as GitLab's merge-button shimmer:
 * a 1px gradient ring just outside the control, and a blurred copy of that
 * gradient pushed behind the button face. The magenta band fades
 * 0%–100%–0%. Its angle widens on the long sides so the streak stays
 * about the same length as on the short sides. Always on.
 * 359deg, not 360deg: browsers treat 360deg as 0deg and drop the turn.
 */
@property --lektivo-urban-glow-angle {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

@keyframes lektivo-urban-edge-glow {
	to {
		--lektivo-urban-glow-angle: 359deg;
	}
}

.lektivo-dance-style-urban a.wp-element-button,
.lektivo-dance-style-urban button.wp-element-button,
.lektivo-dance-style-urban .hero-urban .wp-block-button__link,
.lektivo-dance-style-urban .wp-block-cover .wp-block-button__link.has-accent-background-color,
.lektivo-dance-style-urban .wpcf7 button,
.lektivo-dance-style-urban .wpcf7 .wpcf7-submit,
.lektivo-dance-style-urban button.wpforms-submit,
.lektivo-dance-style-urban button.wpforms-page-button,
.lektivo-dance-style-urban .location-map-embed__directions,
.lektivo-dance-style-urban .lektivo-course-filters__submit,
.lektivo-dance-style-urban .lektivo-schedule-filters__submit,
.lektivo-dance-style-urban .course-info-card .lektivo-course-sidebar__book-link,
.lektivo-dance-style-urban .error-404 .wp-block-search__button {
	position: relative;
	z-index: 1;
	transform-style: preserve-3d;
}

.lektivo-dance-style-urban a.wp-element-button::before,
.lektivo-dance-style-urban button.wp-element-button::before,
.lektivo-dance-style-urban .hero-urban .wp-block-button__link::before,
.lektivo-dance-style-urban .wp-block-cover .wp-block-button__link.has-accent-background-color::before,
.lektivo-dance-style-urban .wpcf7 button::before,
.lektivo-dance-style-urban .wpcf7 .wpcf7-submit::before,
.lektivo-dance-style-urban button.wpforms-submit::before,
.lektivo-dance-style-urban button.wpforms-page-button::before,
.lektivo-dance-style-urban .location-map-embed__directions::before,
.lektivo-dance-style-urban .lektivo-course-filters__submit::before,
.lektivo-dance-style-urban .lektivo-schedule-filters__submit::before,
.lektivo-dance-style-urban .course-info-card .lektivo-course-sidebar__book-link::before,
.lektivo-dance-style-urban .error-404 .wp-block-search__button::before,
.lektivo-dance-style-urban a.wp-element-button::after,
.lektivo-dance-style-urban button.wp-element-button::after,
.lektivo-dance-style-urban .hero-urban .wp-block-button__link::after,
.lektivo-dance-style-urban .wp-block-cover .wp-block-button__link.has-accent-background-color::after,
.lektivo-dance-style-urban .wpcf7 button::after,
.lektivo-dance-style-urban .wpcf7 .wpcf7-submit::after,
.lektivo-dance-style-urban button.wpforms-submit::after,
.lektivo-dance-style-urban button.wpforms-page-button::after,
.lektivo-dance-style-urban .location-map-embed__directions::after,
.lektivo-dance-style-urban .lektivo-course-filters__submit::after,
.lektivo-dance-style-urban .lektivo-schedule-filters__submit::after,
.lektivo-dance-style-urban .course-info-card .lektivo-course-sidebar__book-link::after,
.lektivo-dance-style-urban .error-404 .wp-block-search__button::after {
	content: "";
	position: absolute;
	pointer-events: none;
	/* 18deg matches the short sides. +40deg is the hero button's width/height
	   (~3.2), so the same streak is not pinched in the middle of a long side. */
	--lektivo-urban-glow-spread: calc(18deg + 40deg * abs(cos(var(--lektivo-urban-glow-angle))));
	background: conic-gradient(
		from calc(var(--lektivo-urban-glow-angle) - var(--lektivo-urban-glow-spread)),
		var(--wp--preset--color--accent) 0deg,
		var(--lektivo-urban-magenta) var(--lektivo-urban-glow-spread),
		var(--wp--preset--color--accent) calc(var(--lektivo-urban-glow-spread) * 2),
		var(--wp--preset--color--accent) 360deg
	);
	animation: lektivo-urban-edge-glow 5.6s linear infinite;
}

/* Bloom: blurred copy behind the button face, glowing past the edge. */
.lektivo-dance-style-urban a.wp-element-button::before,
.lektivo-dance-style-urban button.wp-element-button::before,
.lektivo-dance-style-urban .hero-urban .wp-block-button__link::before,
.lektivo-dance-style-urban .wp-block-cover .wp-block-button__link.has-accent-background-color::before,
.lektivo-dance-style-urban .wpcf7 button::before,
.lektivo-dance-style-urban .wpcf7 .wpcf7-submit::before,
.lektivo-dance-style-urban button.wpforms-submit::before,
.lektivo-dance-style-urban button.wpforms-page-button::before,
.lektivo-dance-style-urban .location-map-embed__directions::before,
.lektivo-dance-style-urban .lektivo-course-filters__submit::before,
.lektivo-dance-style-urban .lektivo-schedule-filters__submit::before,
.lektivo-dance-style-urban .course-info-card .lektivo-course-sidebar__book-link::before,
.lektivo-dance-style-urban .error-404 .wp-block-search__button::before {
	inset: 0;
	border-radius: inherit;
	filter: blur(12px);
	transform: translateZ(-1px);
}

/* Ring: 1px of the same gradient, 1px outside the control. */
.lektivo-dance-style-urban a.wp-element-button::after,
.lektivo-dance-style-urban button.wp-element-button::after,
.lektivo-dance-style-urban .hero-urban .wp-block-button__link::after,
.lektivo-dance-style-urban .wp-block-cover .wp-block-button__link.has-accent-background-color::after,
.lektivo-dance-style-urban .wpcf7 button::after,
.lektivo-dance-style-urban .wpcf7 .wpcf7-submit::after,
.lektivo-dance-style-urban button.wpforms-submit::after,
.lektivo-dance-style-urban button.wpforms-page-button::after,
.lektivo-dance-style-urban .location-map-embed__directions::after,
.lektivo-dance-style-urban .lektivo-course-filters__submit::after,
.lektivo-dance-style-urban .lektivo-schedule-filters__submit::after,
.lektivo-dance-style-urban .course-info-card .lektivo-course-sidebar__book-link::after,
.lektivo-dance-style-urban .error-404 .wp-block-search__button::after {
	inset: -2px;
	padding: 1px;
	border-radius: calc(2px + 2px);
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	mask-composite: exclude;
}

.lektivo-dance-style-urban .wp-block-button.is-style-outline .wp-block-button__link::before,
.lektivo-dance-style-urban .wp-block-button.is-style-outline .wp-block-button__link::after {
	content: none;
}

.lektivo-dance-style-urban .hero-urban .wp-block-button__link,
.lektivo-dance-style-urban .wp-block-cover .wp-block-button__link.has-accent-background-color {
	border: 1px solid var(--wp--preset--color--accent) !important;
	border-radius: 2px !important;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 14%, var(--wp--preset--color--primary)) !important;
	color: var(--wp--preset--color--accent) !important;
	font-family: var(--wp--preset--font-family--display-condensed);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	position: relative;
	z-index: 1;
	transform-style: preserve-3d;
	box-shadow: none;
	transition:
		transform 0.28s var(--lektivo-urban-ease),
		box-shadow 0.28s var(--lektivo-urban-ease),
		background-color 0.28s ease,
		filter 0.28s ease;
}

.lektivo-dance-style-urban .hero-urban .wp-block-button__link:hover,
.lektivo-dance-style-urban .hero-urban .wp-block-button__link:focus-visible,
.lektivo-dance-style-urban .wp-block-cover .wp-block-button__link.has-accent-background-color:hover,
.lektivo-dance-style-urban .wp-block-cover .wp-block-button__link.has-accent-background-color:focus-visible {
	animation: none;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 24%, var(--wp--preset--color--primary)) !important;
	color: var(--wp--preset--color--accent) !important;
	transform: translateY(-2px);
	box-shadow: 0 0 28px color-mix(in srgb, var(--wp--preset--color--accent) 48%, transparent);
	filter: none;
}

.lektivo-dance-style-urban .hero-urban .wp-block-button__link:active,
.lektivo-dance-style-urban .wp-block-cover .wp-block-button__link.has-accent-background-color:active {
	animation: none;
	transform: translateY(0);
	box-shadow: 0 0 12px var(--lektivo-urban-cyan-glow);
}

/* Archive / contact / news heroes — neon wash, hairline instead of gold wedge. */
.lektivo-dance-style-urban .hero-courses {
	background:
		radial-gradient(1100px 280px at 12% 0%, color-mix(in srgb, var(--wp--preset--color--accent) 18%, transparent), transparent 58%),
		radial-gradient(900px 260px at 92% 110%, color-mix(in srgb, var(--lektivo-urban-magenta) 16%, transparent), transparent 55%),
		var(--wp--preset--color--primary);
}

.lektivo-dance-style-urban .hero-courses::after {
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--wp--preset--color--accent),
		var(--lektivo-urban-magenta),
		transparent
	);
	clip-path: none;
	box-shadow: 0 0 14px var(--lektivo-urban-cyan-glow);
}

.lektivo-dance-style-urban .section-courses-archive,
.lektivo-dance-style-urban .section-schedule-archive,
.lektivo-dance-style-urban .section-posts-feed,
.lektivo-dance-style-urban .section-instructors-archive,
.lektivo-dance-style-urban .section-locations-archive {
	padding-top: var(--wp--preset--spacing--50) !important;
}

/* Fill belongs on the <a>, not the wrapper — otherwise hover lift shows a second square. */
.lektivo-dance-style-urban .wp-block-button.has-background {
	background: none !important;
	padding: 0;
	border: none;
	box-shadow: none;
	color: inherit;
}

/* Buttons — cyan fill and glow, with a small accent point on the edge. */
.lektivo-dance-style-urban .wp-element-button,
.lektivo-dance-style-urban .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.lektivo-dance-style-urban .cta-banner .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.lektivo-dance-style-urban .wpcf7 input[type="submit"],
.lektivo-dance-style-urban .wpcf7 input[type="button"],
.lektivo-dance-style-urban .wpcf7 button,
.lektivo-dance-style-urban .wpcf7 .wpcf7-submit,
.lektivo-dance-style-urban .wpforms-submit,
.lektivo-dance-style-urban .wpforms-page-button,
.lektivo-dance-style-urban .single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"],
.lektivo-dance-style-urban .error-404 .wp-block-search__button,
.lektivo-dance-style-urban .course-info-card .lektivo-course-sidebar__book-link,
.lektivo-dance-style-urban .location-map-embed__directions {
	border: 1px solid var(--wp--preset--color--accent) !important;
	border-radius: 2px !important;
	background-color: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--primary) !important;
	font-family: var(--wp--preset--font-family--display-condensed);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	position: relative;
	z-index: 1;
	transform-style: preserve-3d;
	box-shadow: none;
	transition:
		transform 0.28s var(--lektivo-urban-ease),
		box-shadow 0.28s var(--lektivo-urban-ease),
		background-color 0.28s ease,
		filter 0.28s ease;
}

.lektivo-dance-style-urban .wp-element-button:hover,
.lektivo-dance-style-urban .wp-element-button:focus-visible,
.lektivo-dance-style-urban .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.lektivo-dance-style-urban .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible,
.lektivo-dance-style-urban .cta-banner .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.lektivo-dance-style-urban .cta-banner .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible,
.lektivo-dance-style-urban .wpcf7 input[type="submit"]:hover,
.lektivo-dance-style-urban .wpcf7 input[type="submit"]:focus-visible,
.lektivo-dance-style-urban .wpcf7 input[type="button"]:hover,
.lektivo-dance-style-urban .wpcf7 input[type="button"]:focus-visible,
.lektivo-dance-style-urban .wpcf7 button:hover,
.lektivo-dance-style-urban .wpcf7 button:focus-visible,
.lektivo-dance-style-urban .wpcf7 .wpcf7-submit:hover,
.lektivo-dance-style-urban .wpcf7 .wpcf7-submit:focus-visible,
.lektivo-dance-style-urban .wpforms-submit:hover,
.lektivo-dance-style-urban .wpforms-submit:focus-visible,
.lektivo-dance-style-urban .wpforms-page-button:hover,
.lektivo-dance-style-urban .wpforms-page-button:focus-visible,
.lektivo-dance-style-urban .single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"]:hover,
.lektivo-dance-style-urban .single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"]:focus-visible,
.lektivo-dance-style-urban .error-404 .wp-block-search__button:hover,
.lektivo-dance-style-urban .error-404 .wp-block-search__button:focus-visible,
.lektivo-dance-style-urban .course-info-card .lektivo-course-sidebar__book-link:hover,
.lektivo-dance-style-urban .course-info-card .lektivo-course-sidebar__book-link:focus,
.lektivo-dance-style-urban .course-info-card .lektivo-course-sidebar__book-link:focus-visible,
.lektivo-dance-style-urban .location-map-embed__directions:hover,
.lektivo-dance-style-urban .location-map-embed__directions:focus-visible {
	animation: none;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 82%, white) !important;
	color: var(--wp--preset--color--primary) !important;
	transform: translateY(-2px);
	box-shadow: 0 0 22px var(--lektivo-urban-cyan-glow);
	filter: none;
	opacity: 1;
}

.lektivo-dance-style-urban .wp-element-button:active,
.lektivo-dance-style-urban .wp-block-button:not(.is-style-outline) .wp-block-button__link:active,
.lektivo-dance-style-urban .course-info-card .lektivo-course-sidebar__book-link:active,
.lektivo-dance-style-urban .location-map-embed__directions:active {
	animation: none;
	transform: translateY(0);
	box-shadow: 0 0 10px var(--lektivo-urban-cyan-glow);
}

.lektivo-dance-style-urban .wp-block-button.is-style-outline .wp-block-button__link,
.lektivo-dance-style-urban .cta-banner .wp-block-button.is-style-outline .wp-block-button__link {
	border-radius: 2px !important;
	border-color: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--accent) !important;
	background: transparent !important;
	transition:
		background-color 0.28s ease,
		box-shadow 0.28s var(--lektivo-urban-ease),
		transform 0.28s var(--lektivo-urban-ease);
}

.lektivo-dance-style-urban .wp-block-button.is-style-outline .wp-block-button__link:hover,
.lektivo-dance-style-urban .wp-block-button.is-style-outline .wp-block-button__link:focus-visible,
.lektivo-dance-style-urban .cta-banner .wp-block-button.is-style-outline .wp-block-button__link:hover,
.lektivo-dance-style-urban .cta-banner .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
	animation: none;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 12%, transparent) !important;
	border-color: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--accent) !important;
	box-shadow: 0 0 18px var(--lektivo-urban-cyan-glow);
	transform: translateY(-2px);
}

/* Photos — neon frame instead of gold offset. */
.lektivo-dance-style-urban .gold-frame img,
.lektivo-dance-style-urban .instructor-photo img,
.lektivo-dance-style-urban .single-post__featured img,
.lektivo-dance-style-urban .post-feed-item__featured img {
	border-radius: 2px !important;
	box-shadow:
		0 0 0 1px color-mix(in srgb, var(--wp--preset--color--accent) 50%, transparent),
		0 0 22px var(--lektivo-urban-cyan-glow) !important;
	transition: box-shadow 0.35s var(--lektivo-urban-ease), filter 0.35s ease;
}

.lektivo-dance-style-urban .gold-frame:hover img,
.lektivo-dance-style-urban .instructor-photo:hover img {
	box-shadow:
		0 0 0 1px var(--wp--preset--color--accent),
		0 0 28px color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent),
		0 0 48px var(--lektivo-urban-magenta-glow) !important;
}

/* Course cards. */
.lektivo-dance-style-urban .wp-block-lektivo-course-list .lektivo-course-card,
.lektivo-dance-style-urban .lektivo-course-list__item,
.lektivo-dance-style-urban .course-info-card {
	border-radius: 2px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent);
	border-left: 3px solid var(--lektivo-diff-color, var(--wp--preset--color--accent));
	background: var(--wp--preset--color--surface);
	box-shadow: none;
	transition:
		transform 0.28s var(--lektivo-urban-ease),
		box-shadow 0.28s var(--lektivo-urban-ease),
		border-color 0.28s ease;
}

.lektivo-dance-style-urban .wp-block-lektivo-course-list .lektivo-course-card:hover,
.lektivo-dance-style-urban .lektivo-course-list__item:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	box-shadow:
		0 12px 32px rgba(0, 0, 0, 0.35),
		0 0 22px color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
}

.lektivo-dance-style-urban .lektivo-course-card__header {
	border-bottom-color: color-mix(in srgb, var(--lektivo-diff-color, var(--wp--preset--color--accent)) 55%, transparent);
}

.lektivo-dance-style-urban .lektivo-course-card__difficulty-badge {
	border-radius: 2px;
	background: color-mix(in srgb, var(--lektivo-diff-color, var(--wp--preset--color--accent)) 18%, transparent);
	/* Lighten difficulty ink for AA on dark Urban course cards (#104). */
	color: color-mix(in srgb, var(--lektivo-diff-color, var(--wp--preset--color--accent)) 62%, #ffffff);
}

.lektivo-dance-style-urban .lektivo-course-card__title {
	font-family: var(--wp--preset--font-family--display-condensed);
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.lektivo-dance-style-urban .lektivo-course-card__title a:hover {
	color: var(--wp--preset--color--accent) !important;
	text-shadow: 0 0 10px var(--lektivo-urban-cyan-glow);
}

.lektivo-dance-style-urban .lektivo-course-card__info {
	border-radius: 2px;
	background: color-mix(in srgb, var(--wp--preset--color--background) 70%, black);
}

.lektivo-dance-style-urban .lektivo-course-card__description:not(.is-open)::after {
	background: linear-gradient(to bottom, transparent, var(--wp--preset--color--surface));
}

.lektivo-dance-style-urban .lektivo-course-card__book-link,
.lektivo-dance-style-urban .lektivo-course-card__read-more {
	transition: color 0.25s ease, text-shadow 0.25s ease, opacity 0.25s ease;
}

.lektivo-dance-style-urban .lektivo-course-card__footer a:hover {
	opacity: 1;
	color: color-mix(in srgb, var(--wp--preset--color--accent) 78%, white);
	text-shadow: 0 0 10px var(--lektivo-urban-cyan-glow);
}

.lektivo-dance-style-urban .course-info-card .lektivo-course-sidebar__book-link {
	border-radius: 2px;
}

/* Instructors. */
.lektivo-dance-style-urban .section-instructors {
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--wp--preset--color--accent) 28%, transparent);
}

.lektivo-dance-style-urban .instructor-card-ritmo {
	background-color: color-mix(in srgb, var(--wp--preset--color--surface) 72%, transparent);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent);
	border-radius: 2px;
	transition:
		transform 0.32s var(--lektivo-urban-ease),
		box-shadow 0.32s var(--lektivo-urban-ease),
		border-color 0.32s ease;
}

.lektivo-dance-style-urban .instructor-card-ritmo:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	box-shadow: 0 0 28px color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent);
}

.lektivo-dance-style-urban .section-instructors-archive .post-card,
.lektivo-dance-style-urban .lektivo_instructor .post-card {
	background-color: color-mix(in srgb, var(--wp--preset--color--surface) 92%, transparent) !important;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent);
	border-radius: 2px;
	box-shadow: none;
	transition:
		transform 0.28s var(--lektivo-urban-ease),
		box-shadow 0.28s var(--lektivo-urban-ease),
		border-color 0.28s ease;
}

.lektivo-dance-style-urban .section-instructors-archive .post-card:hover,
.lektivo-dance-style-urban .lektivo_instructor .post-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	box-shadow: 0 0 24px color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
}

.lektivo-dance-style-urban .instructor-role,
.lektivo-dance-style-urban .instructor-role.has-secondary-color {
	color: var(--wp--preset--color--accent) !important;
	font-family: var(--wp--preset--font-family--display-condensed);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.14em;
}

.lektivo-dance-style-urban .section-related-courses > p.has-secondary-color {
	color: var(--wp--preset--color--accent) !important;
	font-family: var(--wp--preset--font-family--display-condensed);
	font-size: 0.95rem !important;
	font-weight: 500;
	letter-spacing: 0.14em;
}

/* Testimonials. */
.lektivo-dance-style-urban .section-testimonials {
	background:
		radial-gradient(800px 240px at 80% 0%, color-mix(in srgb, var(--lektivo-urban-magenta) 12%, transparent), transparent 60%),
		var(--wp--preset--color--primary);
}

.lektivo-dance-style-urban .testimonial-card {
	border-radius: 2px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 18%, transparent);
	background: var(--wp--preset--color--surface);
	box-shadow: none;
	transition:
		transform 0.28s var(--lektivo-urban-ease),
		box-shadow 0.28s var(--lektivo-urban-ease),
		border-color 0.28s ease;
}

.lektivo-dance-style-urban .testimonial-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	box-shadow: 0 0 24px color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
}

.lektivo-dance-style-urban .testimonial-card::before {
	color: var(--wp--preset--color--accent);
	font-family: var(--wp--preset--font-family--display-condensed);
	opacity: 0.55;
}

.lektivo-dance-style-urban .testimonial-card__quote p {
	font-family: var(--wp--preset--font-family--body);
	font-style: normal;
}

.lektivo-dance-style-urban .testimonial-card__media img {
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 12px var(--lektivo-urban-cyan-glow);
}

.lektivo-dance-style-urban .testimonial-card__footer {
	border-top-color: color-mix(in srgb, var(--wp--preset--color--accent) 18%, transparent);
}

.lektivo-dance-style-urban .testimonial-card__name {
	font-family: var(--wp--preset--font-family--display-condensed);
	letter-spacing: 0.08em;
}

/* Locations, maps, contact. */
.lektivo-dance-style-urban .location-preview-card,
.lektivo-dance-style-urban .contact-card {
	border-radius: 2px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent);
	background-color: var(--wp--preset--color--surface);
	box-shadow: none;
	transition:
		transform 0.28s var(--lektivo-urban-ease),
		box-shadow 0.28s var(--lektivo-urban-ease),
		border-color 0.28s ease;
}

.lektivo-dance-style-urban .location-preview-card:hover,
.lektivo-dance-style-urban .contact-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	box-shadow: 0 0 22px color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
}

.lektivo-dance-style-urban .contact-card a:not(.wp-element-button):hover,
.lektivo-dance-style-urban .location-preview-card h3 a:hover,
.lektivo-dance-style-urban .location-preview-card__link a:hover {
	color: var(--wp--preset--color--accent);
	opacity: 1;
	text-shadow: 0 0 10px var(--lektivo-urban-cyan-glow);
}

.lektivo-dance-style-urban .location-preview-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40) 0;
}

.lektivo-dance-style-urban .location-preview-card > .wp-block-heading:first-child {
	margin-top: 0;
}

/* Unified card fills the column; outer frame is flattened by the shared rule (#87). */
.lektivo-dance-style-urban .location-preview-card .location-map-embed--map,
.lektivo-dance-style-urban .location-preview-card .location-map-embed--card {
	margin-top: 0;
	line-height: inherit;
}

/* Map stays inset inside `.contact-card` padding — no edge-bleed (#87). */
.lektivo-dance-style-urban .location-map-embed__media iframe {
	border-radius: 2px;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--accent) 28%, transparent);
}

/* Legacy bare iframe / photo only. */
.lektivo-dance-style-urban .section-locations .location-map-embed:not(:has(.location-map-embed__card)) iframe,
.lektivo-dance-style-urban .single-location .location-photo img,
.lektivo-dance-style-urban .single-location__map .location-map-embed:not(:has(.location-map-embed__card)) iframe {
	border-radius: 2px;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--accent) 28%, transparent);
}

/* Forms + filters. */
.lektivo-dance-style-urban .wpcf7 input[type="text"],
.lektivo-dance-style-urban .wpcf7 input[type="email"],
.lektivo-dance-style-urban .wpcf7 input[type="url"],
.lektivo-dance-style-urban .wpcf7 input[type="tel"],
.lektivo-dance-style-urban .wpcf7 input[type="number"],
.lektivo-dance-style-urban .wpcf7 input[type="date"],
.lektivo-dance-style-urban .wpcf7 input[type="search"],
.lektivo-dance-style-urban .wpcf7 select,
.lektivo-dance-style-urban .wpcf7 textarea,
.lektivo-dance-style-urban .wpforms-container input[type="text"],
.lektivo-dance-style-urban .wpforms-container input[type="email"],
.lektivo-dance-style-urban .wpforms-container input[type="url"],
.lektivo-dance-style-urban .wpforms-container input[type="tel"],
.lektivo-dance-style-urban .wpforms-container input[type="number"],
.lektivo-dance-style-urban .wpforms-container input[type="date"],
.lektivo-dance-style-urban .wpforms-container input[type="search"],
.lektivo-dance-style-urban .wpforms-container select,
.lektivo-dance-style-urban .wpforms-container textarea,
.lektivo-dance-style-urban .single-post__comments .wp-block-post-comments-form input[type="text"],
.lektivo-dance-style-urban .single-post__comments .wp-block-post-comments-form input[type="email"],
.lektivo-dance-style-urban .single-post__comments .wp-block-post-comments-form input[type="url"],
.lektivo-dance-style-urban .single-post__comments .wp-block-post-comments-form textarea,
.lektivo-dance-style-urban .section-courses-archive .lektivo-course-filters__select,
.lektivo-dance-style-urban .section-courses-by-term .lektivo-course-filters__select,
.lektivo-dance-style-urban .section-schedule-archive .lektivo-schedule-filters__select,
.lektivo-dance-style-urban .error-404 .wp-block-search__input {
	border-radius: 2px;
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent);
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--foreground);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lektivo-dance-style-urban .section-courses-archive .lektivo-course-filters,
.lektivo-dance-style-urban .section-courses-by-term .lektivo-course-filters,
.lektivo-dance-style-urban .section-schedule-archive .lektivo-schedule-filters {
	--lektivo-filter-select-chevron: var(--lektivo-urban-select-chevron);
}

/*
 * #95: Urban filter placeholder/"Any" text — keep ice on surface even when
 * the block sits outside section-* wrappers or the plugin #fff fill would win.
 */
.lektivo-dance-style-urban .lektivo-course-filters__select,
.lektivo-dance-style-urban .lektivo-schedule-filters__select {
	background-color: var(--wp--preset--color--surface) !important;
	color: var(--wp--preset--color--foreground) !important;
	-webkit-text-fill-color: var(--wp--preset--color--foreground);
}

.lektivo-dance-style-urban .wpcf7 select,
.lektivo-dance-style-urban .wpforms-container select,
.lektivo-dance-style-urban .lektivo-course-filters__select,
.lektivo-dance-style-urban .lektivo-schedule-filters__select,
.lektivo-dance-style-urban .section-courses-archive .lektivo-course-filters__select,
.lektivo-dance-style-urban .section-courses-by-term .lektivo-course-filters__select,
.lektivo-dance-style-urban .section-schedule-archive .lektivo-schedule-filters__select {
	background-image: var(--lektivo-urban-select-chevron);
}

.lektivo-dance-style-urban .wpcf7 input:hover,
.lektivo-dance-style-urban .wpcf7 select:hover,
.lektivo-dance-style-urban .wpcf7 textarea:hover,
.lektivo-dance-style-urban .wpforms-container input:hover,
.lektivo-dance-style-urban .wpforms-container select:hover,
.lektivo-dance-style-urban .wpforms-container textarea:hover,
.lektivo-dance-style-urban .section-courses-archive .lektivo-course-filters__select:hover,
.lektivo-dance-style-urban .section-courses-by-term .lektivo-course-filters__select:hover,
.lektivo-dance-style-urban .section-schedule-archive .lektivo-schedule-filters__select:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 55%, transparent);
}

.lektivo-dance-style-urban .wpcf7 input:focus,
.lektivo-dance-style-urban .wpcf7 input:focus-visible,
.lektivo-dance-style-urban .wpcf7 select:focus,
.lektivo-dance-style-urban .wpcf7 select:focus-visible,
.lektivo-dance-style-urban .wpcf7 textarea:focus,
.lektivo-dance-style-urban .wpcf7 textarea:focus-visible,
.lektivo-dance-style-urban .wpforms-container input:focus-visible,
.lektivo-dance-style-urban .wpforms-container select:focus-visible,
.lektivo-dance-style-urban .wpforms-container textarea:focus-visible,
.lektivo-dance-style-urban .single-post__comments .wp-block-post-comments-form input:focus-visible,
.lektivo-dance-style-urban .single-post__comments .wp-block-post-comments-form textarea:focus-visible,
.lektivo-dance-style-urban .section-courses-archive .lektivo-course-filters__select:focus-visible,
.lektivo-dance-style-urban .section-courses-by-term .lektivo-course-filters__select:focus-visible,
.lektivo-dance-style-urban .section-schedule-archive .lektivo-schedule-filters__select:focus-visible {
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--accent) 18%, transparent);
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

.lektivo-dance-style-urban .section-courses-archive .lektivo-course-filters__label,
.lektivo-dance-style-urban .section-courses-by-term .lektivo-course-filters__label,
.lektivo-dance-style-urban .section-schedule-archive .lektivo-schedule-filters__label {
	color: var(--wp--preset--color--accent);
	font-family: var(--wp--preset--font-family--display-condensed);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lektivo-dance-style-urban .lektivo-course-filters__submit,
.lektivo-dance-style-urban .lektivo-schedule-filters__submit {
	border: 1px solid var(--wp--preset--color--accent) !important;
	border-radius: 2px !important;
	background-color: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--primary) !important;
	font-family: var(--wp--preset--font-family--display-condensed);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	position: relative;
	z-index: 1;
	transform-style: preserve-3d;
	box-shadow: none;
	transition:
		transform 0.28s var(--lektivo-urban-ease),
		box-shadow 0.28s var(--lektivo-urban-ease),
		background-color 0.28s ease;
}

.lektivo-dance-style-urban .lektivo-course-filters__submit:hover,
.lektivo-dance-style-urban .lektivo-course-filters__submit:focus-visible,
.lektivo-dance-style-urban .lektivo-schedule-filters__submit:hover,
.lektivo-dance-style-urban .lektivo-schedule-filters__submit:focus-visible {
	animation: none;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 82%, white) !important;
	color: var(--wp--preset--color--primary) !important;
	transform: translateY(-2px);
	box-shadow: 0 0 18px var(--lektivo-urban-cyan-glow);
}

.lektivo-dance-style-urban .lektivo_instructor .post-card .wp-block-post-title a,
.lektivo-dance-style-urban .section-instructors-archive .post-card .wp-block-post-title a {
	color: var(--wp--preset--color--foreground);
}

.lektivo-dance-style-urban .lektivo_instructor .post-card .wp-block-post-title a:hover,
.lektivo-dance-style-urban .section-instructors-archive .post-card .wp-block-post-title a:hover {
	color: var(--wp--preset--color--accent);
	text-shadow: 0 0 10px var(--lektivo-urban-cyan-glow);
}

/* Schedule. */
.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__teaser {
	border-radius: 2px;
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	background:
		linear-gradient(
			160deg,
			color-mix(in srgb, var(--wp--preset--color--accent) 10%, transparent),
			var(--wp--preset--color--surface) 58%
		);
}

.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__teaser-title,
.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__grid-location {
	font-family: var(--wp--preset--font-family--display-condensed);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__upgrade-button {
	border-radius: 2px;
}

.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class,
.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card {
	border-radius: 2px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent);
	border-left: 3px solid var(--lektivo-diff-color, var(--wp--preset--color--accent));
	background: var(--wp--preset--color--surface);
	box-shadow: none;
	transition: box-shadow 0.28s var(--lektivo-urban-ease), border-color 0.28s ease;
}

.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class:hover,
.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	box-shadow: 0 0 18px color-mix(in srgb, var(--wp--preset--color--accent) 12%, transparent);
}

.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-title,
.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card-title {
	color: var(--wp--preset--color--accent);
	transition: color 0.25s ease, text-shadow 0.25s ease, filter 0.25s ease;
}

.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-title:hover,
.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card-title:hover {
	filter: none;
	color: color-mix(in srgb, var(--wp--preset--color--accent) 78%, white);
	text-shadow: 0 0 10px var(--lektivo-urban-cyan-glow);
}

.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-card {
	border-radius: 2px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent);
	background:
		linear-gradient(
			90deg,
			color-mix(in srgb, var(--wp--preset--color--accent) 10%, transparent),
			transparent 42%
		),
		var(--wp--preset--color--primary);
}

.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-abbr {
	font-family: var(--wp--preset--font-family--display-condensed);
	color: var(--wp--preset--color--accent);
}

.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-title:hover {
	color: color-mix(in srgb, var(--wp--preset--color--accent) 78%, white);
}

@media (min-width: 782px) {
	.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__grid {
		background: color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
		border-color: color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent);
	}

	.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__grid-location,
	.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__corner,
	.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__col-header,
	.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__row-header {
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--foreground);
	}

	.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__row-header {
		color: var(--wp--preset--color--muted);
	}

	.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class {
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--foreground);
	}

	.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-time,
	.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-instructor,
	.lektivo-dance-style-urban .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-room {
		color: var(--wp--preset--color--muted);
	}
}

/* Posts, search, 404. */
.lektivo-dance-style-urban .post-card,
.lektivo-dance-style-urban .post-feed-item,
.lektivo-dance-style-urban .search-result {
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent) !important;
	border-radius: 2px;
	transition:
		transform 0.28s var(--lektivo-urban-ease),
		box-shadow 0.28s var(--lektivo-urban-ease),
		border-color 0.28s ease;
}

.lektivo-dance-style-urban .post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 0 22px color-mix(in srgb, var(--wp--preset--color--accent) 12%, transparent);
}

.lektivo-dance-style-urban .post-card a:hover,
.lektivo-dance-style-urban .post-feed-item .wp-block-post-title a:hover,
.lektivo-dance-style-urban .post-feed-item__permalink a:hover,
.lektivo-dance-style-urban .single-post__back a:hover,
.lektivo-dance-style-urban .single-post__categories a:hover,
.lektivo-dance-style-urban .single-post__navigation .wp-block-post-navigation-link a:hover {
	color: var(--wp--preset--color--accent);
	text-shadow: 0 0 10px var(--lektivo-urban-cyan-glow);
}

.lektivo-dance-style-urban .single-post__tags .wp-block-post-terms a {
	border-radius: 2px;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 12%, transparent);
	color: var(--wp--preset--color--accent);
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.lektivo-dance-style-urban .single-post__tags .wp-block-post-terms a:hover {
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent);
	color: var(--wp--preset--color--accent);
	box-shadow: 0 0 12px var(--lektivo-urban-cyan-glow);
}

.lektivo-dance-style-urban .wp-block-query-pagination a,
.lektivo-dance-style-urban .wp-block-query-pagination .wp-block-query-pagination-numbers .page-numbers {
	transition: color 0.25s ease, text-shadow 0.25s ease;
}

.lektivo-dance-style-urban .wp-block-query-pagination a:hover,
.lektivo-dance-style-urban .wp-block-query-pagination .page-numbers.current {
	color: var(--wp--preset--color--accent);
	text-shadow: 0 0 10px var(--lektivo-urban-cyan-glow);
}

/* CTA banner. */
.lektivo-dance-style-urban .cta-banner {
	background:
		radial-gradient(900px 200px at 10% 0%, color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent), transparent 55%),
		radial-gradient(700px 180px at 95% 100%, color-mix(in srgb, var(--lektivo-urban-magenta) 14%, transparent), transparent 50%),
		var(--wp--preset--color--primary);
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
}

.lektivo-dance-style-urban .cta-banner h2,
.lektivo-dance-style-urban .site-footer__heading {
	font-family: var(--wp--preset--font-family--display-condensed);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.lektivo-dance-style-urban .site-footer {
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--wp--preset--color--accent) 35%, transparent);
}

.lektivo-dance-style-urban .site-footer a:hover {
	text-shadow: 0 0 10px var(--lektivo-urban-cyan-glow);
}

@media (prefers-reduced-motion: reduce) {
	html:has(body.lektivo-dance-style-urban) {
		scroll-behavior: auto;
	}

	.lektivo-dance-style-urban,
	.lektivo-dance-style-urban *,
	.lektivo-dance-style-urban *::before,
	.lektivo-dance-style-urban *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	html.lektivo-motion-js .lektivo-dance-style-urban .lektivo-reveal {
		opacity: 1 !important;
		translate: none !important;
	}
}

/* ==========================================================================
   Latin Heat style variation — tropical night, salsa heat
   Scoped via body.lektivo-dance-style-latin-heat.
   Mango gold + hibiscus glow; hover stays in the gold family (no hue jump).
   ========================================================================== */

.lektivo-dance-style-latin-heat {
	--lektivo-latin-hibiscus: #ff4d6d;
	--lektivo-latin-palm: #2d6a4f;
	--lektivo-latin-radius: 12px;
	--lektivo-latin-gold-glow: color-mix(in srgb, var(--wp--preset--color--accent) 42%, transparent);
	--lektivo-latin-gold-line-glow: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	--lektivo-latin-header-edge:
		inset 0 -1px 0 var(--wp--preset--color--accent),
		0 1px 8px var(--lektivo-latin-gold-line-glow),
		0 4px 16px var(--lektivo-latin-gold-glow),
		0 10px 32px rgba(20, 8, 12, 0.4);
	--lektivo-latin-footer-edge:
		inset 0 1px 0 var(--wp--preset--color--accent),
		0 -1px 8px var(--lektivo-latin-gold-line-glow),
		0 -4px 16px var(--lektivo-latin-gold-glow);
	--lektivo-latin-hibiscus-glow: color-mix(in srgb, var(--lektivo-latin-hibiscus) 32%, transparent);
	--lektivo-latin-ease: cubic-bezier(0.33, 1, 0.68, 1);
	--lektivo-latin-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFC53A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	--wp--preset--color--base: var(--wp--preset--color--surface);
	--wp--preset--color--contrast: var(--wp--preset--color--foreground);
	--wp--preset--color--contrast-2: var(--wp--preset--color--muted);
	color-scheme: dark;
}

html:has(body.lektivo-dance-style-latin-heat) {
	scroll-behavior: smooth;
}

@keyframes lektivo-latin-heat-haze {
	0%,
	100% {
		opacity: 0.72;
	}

	50% {
		opacity: 1;
	}
}

html.lektivo-latin-js .lektivo-dance-style-latin-heat .lektivo-latin-reveal {
	opacity: 0;
	translate: 0 32px;
	scale: 0.97;
}

html.lektivo-latin-js .lektivo-dance-style-latin-heat .lektivo-latin-reveal.is-visible,
html.lektivo-latin-js .lektivo-dance-style-latin-heat .lektivo-latin-reveal:focus-within {
	opacity: 1;
	translate: 0;
	scale: 1;
	transition:
		opacity 0.8s var(--lektivo-latin-ease) var(--lektivo-latin-reveal-delay, 0ms),
		translate 0.8s var(--lektivo-latin-ease) var(--lektivo-latin-reveal-delay, 0ms),
		scale 0.8s var(--lektivo-latin-ease) var(--lektivo-latin-reveal-delay, 0ms),
		transform 0.32s var(--lektivo-latin-ease),
		box-shadow 0.32s var(--lektivo-latin-ease),
		border-color 0.32s ease;
}

.lektivo-dance-style-latin-heat h1,
.lektivo-dance-style-latin-heat h2,
.lektivo-dance-style-latin-heat h3,
.lektivo-dance-style-latin-heat h4,
.lektivo-dance-style-latin-heat .wp-block-post-title,
.lektivo-dance-style-latin-heat .wp-block-query-title,
.lektivo-dance-style-latin-heat .instructor-card-ritmo__name,
.lektivo-dance-style-latin-heat h3.location-map-embed__name {
	font-family: var(--wp--preset--font-family--display-condensed) !important;
	font-style: normal;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.lektivo-dance-style-latin-heat .hero-courses h1,
.lektivo-dance-style-latin-heat .hero-courses .wp-block-post-title,
.lektivo-dance-style-latin-heat .hero-courses .wp-block-query-title {
	font-size: clamp(2.4rem, 7vw, 4rem) !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em;
}

.lektivo-dance-style-latin-heat header {
	background-color: color-mix(in srgb, var(--wp--preset--color--primary) 88%, transparent);
	border-bottom: none;
	box-shadow: var(--lektivo-latin-header-edge);
	backdrop-filter: blur(16px);
	transition:
		background-color 0.4s var(--lektivo-latin-ease),
		box-shadow 0.4s var(--lektivo-latin-ease);
}

.lektivo-dance-style-latin-heat .site-header .site-header__nav,
.lektivo-dance-style-latin-heat .site-header .site-header__nav .wp-block-navigation-item__content,
.lektivo-dance-style-latin-heat .site-header .site-header__title,
.lektivo-dance-style-latin-heat .site-header .site-header__title a {
	font-family: var(--wp--preset--font-family--display-condensed);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lektivo-dance-style-latin-heat .site-header__nav a::after,
.lektivo-dance-style-latin-heat .site-header .site-header__title a::after {
	height: 2px;
	bottom: -6px;
	border-radius: 2px;
	background: linear-gradient(
		90deg,
		var(--wp--preset--color--accent),
		var(--lektivo-latin-hibiscus)
	);
	box-shadow: 0 0 10px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat.home:has(.hero-latin-heat) .wp-site-blocks > header:first-child,
.lektivo-dance-style-latin-heat.home:has(.hero-latin-heat) .wp-site-blocks > .wp-block-template-part:first-child {
	background: linear-gradient(
		to bottom,
		rgba(59, 10, 20, 0.72) 0%,
		rgba(59, 10, 20, 0.22) 55%,
		transparent 100%
	);
	border-bottom: none;
	box-shadow: none;
	backdrop-filter: none;
}

.lektivo-dance-style-latin-heat.home:has(.hero-latin-heat) .wp-site-blocks > header.is-scrolled,
.lektivo-dance-style-latin-heat.home:has(.hero-latin-heat) .wp-site-blocks > .wp-block-template-part:first-child.is-scrolled {
	background: color-mix(in srgb, var(--wp--preset--color--primary) 90%, transparent);
	border-bottom: none;
	box-shadow: var(--lektivo-latin-header-edge);
	backdrop-filter: blur(16px);
}

.lektivo-dance-style-latin-heat .site-header .wp-block-navigation a:hover,
.lektivo-dance-style-latin-heat .site-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.lektivo-dance-style-latin-heat .site-header .site-header__title a:hover {
	color: var(--wp--preset--color--accent);
	text-shadow: 0 0 14px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--foreground);
}

.lektivo-dance-style-latin-heat .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a,
.lektivo-dance-style-latin-heat .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.lektivo-dance-style-latin-heat .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--foreground);
}

.lektivo-dance-style-latin-heat .hero-latin-heat.wp-block-cover {
	position: relative;
}

.lektivo-dance-style-latin-heat .hero-latin-heat.wp-block-cover::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	background:
		radial-gradient(120% 70% at 50% 100%, color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent), transparent 58%),
		linear-gradient(
			115deg,
			color-mix(in srgb, var(--lektivo-latin-hibiscus) 22%, transparent) 0%,
			transparent 42%,
			transparent 58%,
			color-mix(in srgb, var(--lektivo-latin-palm) 16%, transparent) 100%
		);
	animation: lektivo-latin-heat-haze 9s ease-in-out infinite;
}

.lektivo-dance-style-latin-heat .hero-latin-heat .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
}

.lektivo-dance-style-latin-heat .hero-latin-heat h1 {
	font-family: var(--wp--preset--font-family--display-serif) !important;
	font-style: italic;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: none;
	text-shadow:
		0 0 36px var(--lektivo-latin-gold-glow),
		0 4px 28px rgba(20, 8, 12, 0.65);
}

.lektivo-dance-style-latin-heat .hero-latin-heat p {
	max-width: 22em;
	margin-left: auto;
	margin-right: auto;
	padding-inline: 0.75rem;
	text-wrap: balance;
}

/*
 * Heat shimmer (#106) — a narrow warm highlight travels across the mango
 * fill while the gold/hibiscus glow breathes. The band sits off the button
 * at rest (background-position: 0% 0) so reduced motion stays a solid fill.
 * Dark primary ink is unchanged, including under the highlight.
 */
@keyframes lektivo-latin-heat-shimmer {
	0%,
	100% {
		background-position: 0% 0;
		box-shadow: 0 6px 18px color-mix(in srgb, var(--wp--preset--color--accent) 28%, transparent);
	}

	50% {
		background-position: 50% 0;
		box-shadow:
			0 10px 28px color-mix(in srgb, var(--wp--preset--color--accent) 48%, transparent),
			0 0 16px var(--lektivo-latin-hibiscus-glow);
	}
}

.lektivo-dance-style-latin-heat .hero-latin-heat .wp-block-button__link,
.lektivo-dance-style-latin-heat .wp-block-cover .wp-block-button__link.has-accent-background-color {
	border: 1px solid var(--wp--preset--color--accent) !important;
	border-radius: var(--lektivo-latin-radius) !important;
	background-color: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--primary) !important;
	font-family: var(--wp--preset--font-family--display-condensed);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background-image: linear-gradient(
		105deg,
		transparent 0%,
		transparent 46%,
		color-mix(in srgb, white 18%, transparent) 50%,
		transparent 54%,
		transparent 100%
	);
	background-size: 300% 100%;
	background-position: 0% 0;
	background-repeat: no-repeat;
	box-shadow: 0 8px 28px var(--lektivo-latin-gold-glow);
	animation: lektivo-latin-heat-shimmer 4.8s ease-in-out infinite;
	transition:
		transform 0.32s var(--lektivo-latin-ease),
		box-shadow 0.32s var(--lektivo-latin-ease),
		background-color 0.32s ease,
		filter 0.32s ease;
}

.lektivo-dance-style-latin-heat .hero-latin-heat .wp-block-button__link:hover,
.lektivo-dance-style-latin-heat .hero-latin-heat .wp-block-button__link:focus-visible,
.lektivo-dance-style-latin-heat .wp-block-cover .wp-block-button__link.has-accent-background-color:hover,
.lektivo-dance-style-latin-heat .wp-block-cover .wp-block-button__link.has-accent-background-color:focus-visible {
	animation: none;
	background-image: none;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 82%, white) !important;
	color: var(--wp--preset--color--primary) !important;
	transform: translateY(-3px);
	box-shadow: 0 12px 36px color-mix(in srgb, var(--wp--preset--color--accent) 48%, transparent);
	filter: none;
}

.lektivo-dance-style-latin-heat .hero-latin-heat .wp-block-button__link:active,
.lektivo-dance-style-latin-heat .wp-block-cover .wp-block-button__link.has-accent-background-color:active {
	animation: none;
	background-image: none;
	transform: translateY(0);
	box-shadow: 0 4px 16px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .hero-courses {
	background:
		radial-gradient(1100px 280px at 8% 0%, color-mix(in srgb, var(--lektivo-latin-hibiscus) 22%, transparent), transparent 58%),
		radial-gradient(900px 260px at 92% 110%, color-mix(in srgb, var(--wp--preset--color--accent) 18%, transparent), transparent 55%),
		var(--wp--preset--color--primary);
}

.lektivo-dance-style-latin-heat .hero-courses::after {
	height: 3px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--lektivo-latin-hibiscus),
		var(--wp--preset--color--accent),
		var(--lektivo-latin-palm),
		transparent
	);
	clip-path: none;
	box-shadow: 0 0 16px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .section-courses-archive,
.lektivo-dance-style-latin-heat .section-schedule-archive,
.lektivo-dance-style-latin-heat .section-posts-feed,
.lektivo-dance-style-latin-heat .section-instructors-archive,
.lektivo-dance-style-latin-heat .section-locations-archive {
	padding-top: var(--wp--preset--spacing--50) !important;
}

/* Fill belongs on the <a>, not the wrapper — otherwise hover lift shows a second square. */
.lektivo-dance-style-latin-heat .wp-block-button.has-background {
	background: none !important;
	padding: 0;
	border: none;
	box-shadow: none;
	color: inherit;
}

.lektivo-dance-style-latin-heat .wp-element-button,
.lektivo-dance-style-latin-heat .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.lektivo-dance-style-latin-heat .cta-banner .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.lektivo-dance-style-latin-heat .wpcf7 input[type="submit"],
.lektivo-dance-style-latin-heat .wpcf7 input[type="button"],
.lektivo-dance-style-latin-heat .wpcf7 button,
.lektivo-dance-style-latin-heat .wpcf7 .wpcf7-submit,
.lektivo-dance-style-latin-heat .wpforms-submit,
.lektivo-dance-style-latin-heat .wpforms-page-button,
.lektivo-dance-style-latin-heat .single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"],
.lektivo-dance-style-latin-heat .error-404 .wp-block-search__button,
.lektivo-dance-style-latin-heat .course-info-card .lektivo-course-sidebar__book-link,
.lektivo-dance-style-latin-heat .location-map-embed__directions {
	border: 1px solid var(--wp--preset--color--accent) !important;
	border-radius: var(--lektivo-latin-radius) !important;
	background-color: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--primary) !important;
	font-family: var(--wp--preset--font-family--display-condensed);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: 0 0 0 0 transparent;
	background-image: linear-gradient(
		105deg,
		transparent 0%,
		transparent 46%,
		color-mix(in srgb, white 18%, transparent) 50%,
		transparent 54%,
		transparent 100%
	);
	background-size: 300% 100%;
	background-position: 0% 0;
	background-repeat: no-repeat;
	animation: lektivo-latin-heat-shimmer 4.8s ease-in-out infinite;
	transition:
		transform 0.32s var(--lektivo-latin-ease),
		box-shadow 0.32s var(--lektivo-latin-ease),
		background-color 0.32s ease,
		filter 0.32s ease;
}

.lektivo-dance-style-latin-heat .wp-element-button:hover,
.lektivo-dance-style-latin-heat .wp-element-button:focus-visible,
.lektivo-dance-style-latin-heat .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.lektivo-dance-style-latin-heat .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible,
.lektivo-dance-style-latin-heat .cta-banner .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.lektivo-dance-style-latin-heat .cta-banner .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible,
.lektivo-dance-style-latin-heat .wpcf7 input[type="submit"]:hover,
.lektivo-dance-style-latin-heat .wpcf7 input[type="submit"]:focus-visible,
.lektivo-dance-style-latin-heat .wpcf7 input[type="button"]:hover,
.lektivo-dance-style-latin-heat .wpcf7 input[type="button"]:focus-visible,
.lektivo-dance-style-latin-heat .wpcf7 button:hover,
.lektivo-dance-style-latin-heat .wpcf7 button:focus-visible,
.lektivo-dance-style-latin-heat .wpcf7 .wpcf7-submit:hover,
.lektivo-dance-style-latin-heat .wpcf7 .wpcf7-submit:focus-visible,
.lektivo-dance-style-latin-heat .wpforms-submit:hover,
.lektivo-dance-style-latin-heat .wpforms-submit:focus-visible,
.lektivo-dance-style-latin-heat .wpforms-page-button:hover,
.lektivo-dance-style-latin-heat .wpforms-page-button:focus-visible,
.lektivo-dance-style-latin-heat .single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"]:hover,
.lektivo-dance-style-latin-heat .single-post__comments .wp-block-post-comments-form .form-submit input[type="submit"]:focus-visible,
.lektivo-dance-style-latin-heat .error-404 .wp-block-search__button:hover,
.lektivo-dance-style-latin-heat .error-404 .wp-block-search__button:focus-visible,
.lektivo-dance-style-latin-heat .course-info-card .lektivo-course-sidebar__book-link:hover,
.lektivo-dance-style-latin-heat .course-info-card .lektivo-course-sidebar__book-link:focus,
.lektivo-dance-style-latin-heat .course-info-card .lektivo-course-sidebar__book-link:focus-visible,
.lektivo-dance-style-latin-heat .location-map-embed__directions:hover,
.lektivo-dance-style-latin-heat .location-map-embed__directions:focus-visible {
	animation: none;
	background-image: none;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 82%, white) !important;
	color: var(--wp--preset--color--primary) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px var(--lektivo-latin-gold-glow);
	filter: none;
	opacity: 1;
}

.lektivo-dance-style-latin-heat .wp-element-button:active,
.lektivo-dance-style-latin-heat .wp-block-button:not(.is-style-outline) .wp-block-button__link:active,
.lektivo-dance-style-latin-heat .course-info-card .lektivo-course-sidebar__book-link:active,
.lektivo-dance-style-latin-heat .location-map-embed__directions:active {
	animation: none;
	background-image: none;
	transform: translateY(0);
	box-shadow: 0 4px 12px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .wp-block-button.is-style-outline .wp-block-button__link,
.lektivo-dance-style-latin-heat .cta-banner .wp-block-button.is-style-outline .wp-block-button__link {
	border-radius: var(--lektivo-latin-radius) !important;
	border-color: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--accent) !important;
	background: transparent !important;
	/* Sheen needs an opaque fill; keep outline buttons still until hover. */
	background-image: none;
	animation: none;
	transition:
		background-color 0.32s ease,
		box-shadow 0.32s var(--lektivo-latin-ease),
		transform 0.32s var(--lektivo-latin-ease);
}

.lektivo-dance-style-latin-heat .wp-block-button.is-style-outline .wp-block-button__link:hover,
.lektivo-dance-style-latin-heat .wp-block-button.is-style-outline .wp-block-button__link:focus-visible,
.lektivo-dance-style-latin-heat .cta-banner .wp-block-button.is-style-outline .wp-block-button__link:hover,
.lektivo-dance-style-latin-heat .cta-banner .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
	animation: none;
	background-image: none;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent) !important;
	border-color: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--accent) !important;
	box-shadow: 0 0 20px var(--lektivo-latin-gold-glow);
	transform: translateY(-2px);
}

.lektivo-dance-style-latin-heat .gold-frame img,
.lektivo-dance-style-latin-heat .instructor-photo img,
.lektivo-dance-style-latin-heat .single-post__featured img,
.lektivo-dance-style-latin-heat .post-feed-item__featured img {
	border-radius: var(--lektivo-latin-radius) !important;
	box-shadow:
		0 0 0 1px color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent),
		8px 8px 0 color-mix(in srgb, var(--lektivo-latin-hibiscus) 55%, transparent) !important;
	transition: box-shadow 0.4s var(--lektivo-latin-ease), filter 0.4s ease, transform 0.4s var(--lektivo-latin-ease);
}

.lektivo-dance-style-latin-heat .gold-frame:hover img,
.lektivo-dance-style-latin-heat .instructor-photo:hover img {
	box-shadow:
		0 0 0 1px var(--wp--preset--color--accent),
		10px 10px 0 color-mix(in srgb, var(--lektivo-latin-hibiscus) 70%, transparent),
		0 0 28px var(--lektivo-latin-gold-glow) !important;
}

.lektivo-dance-style-latin-heat .wp-block-lektivo-course-list .lektivo-course-card,
.lektivo-dance-style-latin-heat .lektivo-course-list__item,
.lektivo-dance-style-latin-heat .course-info-card {
	border-radius: var(--lektivo-latin-radius);
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 18%, transparent);
	border-left: 4px solid var(--lektivo-diff-color, var(--wp--preset--color--accent));
	background: var(--wp--preset--color--surface);
	box-shadow: none;
	transition:
		transform 0.32s var(--lektivo-latin-ease),
		box-shadow 0.32s var(--lektivo-latin-ease),
		border-color 0.32s ease;
}

.lektivo-dance-style-latin-heat .wp-block-lektivo-course-list .lektivo-course-card:hover,
.lektivo-dance-style-latin-heat .lektivo-course-list__item:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 42%, transparent);
	box-shadow:
		0 16px 36px rgba(20, 8, 12, 0.4),
		0 0 24px color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent);
}

.lektivo-dance-style-latin-heat .lektivo-course-card__header {
	border-bottom-color: color-mix(in srgb, var(--lektivo-diff-color, var(--wp--preset--color--accent)) 55%, transparent);
}

.lektivo-dance-style-latin-heat .lektivo-course-card__difficulty-badge {
	border-radius: 999px;
	background: color-mix(in srgb, var(--lektivo-diff-color, var(--wp--preset--color--accent)) 18%, transparent);
	/* Lighten difficulty ink for AA on dark Latin Heat course cards (#104). */
	color: color-mix(in srgb, var(--lektivo-diff-color, var(--wp--preset--color--accent)) 55%, #ffffff);
}

.lektivo-dance-style-latin-heat .lektivo-course-card__title {
	font-family: var(--wp--preset--font-family--display-condensed);
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.lektivo-dance-style-latin-heat .lektivo-course-card__title a:hover {
	color: var(--wp--preset--color--accent) !important;
	text-shadow: 0 0 12px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .lektivo-course-card__info {
	border-radius: 8px;
	background: color-mix(in srgb, var(--wp--preset--color--background) 70%, black);
}

.lektivo-dance-style-latin-heat .lektivo-course-card__description:not(.is-open)::after {
	background: linear-gradient(to bottom, transparent, var(--wp--preset--color--surface));
}

.lektivo-dance-style-latin-heat .lektivo-course-card__book-link,
.lektivo-dance-style-latin-heat .lektivo-course-card__read-more {
	transition: color 0.25s ease, text-shadow 0.25s ease, opacity 0.25s ease;
}

.lektivo-dance-style-latin-heat .lektivo-course-card__footer a:hover {
	opacity: 1;
	color: color-mix(in srgb, var(--wp--preset--color--accent) 78%, white);
	text-shadow: 0 0 12px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .course-info-card .lektivo-course-sidebar__book-link {
	border-radius: var(--lektivo-latin-radius);
}

.lektivo-dance-style-latin-heat .section-instructors {
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--wp--preset--color--accent) 28%, transparent);
}

.lektivo-dance-style-latin-heat .instructor-card-ritmo {
	background-color: color-mix(in srgb, var(--wp--preset--color--surface) 78%, transparent);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent);
	border-radius: var(--lektivo-latin-radius);
	transition:
		transform 0.36s var(--lektivo-latin-ease),
		box-shadow 0.36s var(--lektivo-latin-ease),
		border-color 0.36s ease;
}

.lektivo-dance-style-latin-heat .instructor-card-ritmo:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	box-shadow: 0 12px 32px var(--lektivo-latin-hibiscus-glow);
}

.lektivo-dance-style-latin-heat .section-instructors-archive .post-card,
.lektivo-dance-style-latin-heat .lektivo_instructor .post-card {
	background-color: color-mix(in srgb, var(--wp--preset--color--surface) 92%, transparent) !important;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent);
	border-radius: var(--lektivo-latin-radius);
	box-shadow: none;
	transition:
		transform 0.32s var(--lektivo-latin-ease),
		box-shadow 0.32s var(--lektivo-latin-ease),
		border-color 0.32s ease;
}

.lektivo-dance-style-latin-heat .section-instructors-archive .post-card:hover,
.lektivo-dance-style-latin-heat .lektivo_instructor .post-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	box-shadow: 0 12px 28px color-mix(in srgb, var(--lektivo-latin-hibiscus) 16%, transparent);
}

.lektivo-dance-style-latin-heat .instructor-role,
.lektivo-dance-style-latin-heat .instructor-role.has-secondary-color {
	color: var(--wp--preset--color--accent) !important;
	font-family: var(--wp--preset--font-family--display-condensed);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.14em;
}

.lektivo-dance-style-latin-heat .section-related-courses > p.has-secondary-color {
	color: var(--wp--preset--color--accent) !important;
	font-family: var(--wp--preset--font-family--display-condensed);
	font-size: 0.95rem !important;
	font-weight: 500;
	letter-spacing: 0.14em;
}

.lektivo-dance-style-latin-heat .section-testimonials {
	background:
		radial-gradient(800px 240px at 80% 0%, color-mix(in srgb, var(--lektivo-latin-hibiscus) 16%, transparent), transparent 60%),
		var(--wp--preset--color--primary);
}

.lektivo-dance-style-latin-heat .testimonial-card {
	border-radius: var(--lektivo-latin-radius);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 18%, transparent);
	background: var(--wp--preset--color--surface);
	box-shadow: none;
	transition:
		transform 0.32s var(--lektivo-latin-ease),
		box-shadow 0.32s var(--lektivo-latin-ease),
		border-color 0.32s ease;
}

.lektivo-dance-style-latin-heat .testimonial-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	box-shadow: 0 12px 28px color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
}

.lektivo-dance-style-latin-heat .testimonial-card::before {
	color: var(--wp--preset--color--accent);
	font-family: var(--wp--preset--font-family--display-serif);
	font-style: italic;
	opacity: 0.55;
}

.lektivo-dance-style-latin-heat .testimonial-card__quote p {
	font-family: var(--wp--preset--font-family--display-serif);
	font-style: italic;
}

.lektivo-dance-style-latin-heat .testimonial-card__media img {
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 14px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .testimonial-card__footer {
	border-top-color: color-mix(in srgb, var(--wp--preset--color--accent) 18%, transparent);
}

.lektivo-dance-style-latin-heat .testimonial-card__name {
	font-family: var(--wp--preset--font-family--display-condensed);
	letter-spacing: 0.08em;
}

.lektivo-dance-style-latin-heat .location-preview-card,
.lektivo-dance-style-latin-heat .contact-card {
	border-radius: var(--lektivo-latin-radius);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent);
	background-color: var(--wp--preset--color--surface);
	box-shadow: none;
	transition:
		transform 0.32s var(--lektivo-latin-ease),
		box-shadow 0.32s var(--lektivo-latin-ease),
		border-color 0.32s ease;
}

.lektivo-dance-style-latin-heat .location-preview-card:hover,
.lektivo-dance-style-latin-heat .contact-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	box-shadow: 0 12px 28px color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
}

.lektivo-dance-style-latin-heat .contact-card a:not(.wp-element-button):hover,
.lektivo-dance-style-latin-heat .location-preview-card h3 a:hover,
.lektivo-dance-style-latin-heat .location-preview-card__link a:hover {
	color: var(--wp--preset--color--accent);
	opacity: 1;
	text-shadow: 0 0 12px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .location-preview-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40) 0;
}

.lektivo-dance-style-latin-heat .location-preview-card > .wp-block-heading:first-child {
	margin-top: 0;
}

/* Unified card fills the column; outer frame is flattened by the shared rule (#87). */
.lektivo-dance-style-latin-heat .location-preview-card .location-map-embed--map,
.lektivo-dance-style-latin-heat .location-preview-card .location-map-embed--card {
	margin-top: 0;
	line-height: inherit;
}

/* Map stays inset inside `.contact-card` padding — no edge-bleed (#87). */
.lektivo-dance-style-latin-heat .location-map-embed__media iframe {
	border-radius: var(--lektivo-latin-radius);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--accent) 28%, transparent);
}

/* Legacy bare iframe / photo only. */
.lektivo-dance-style-latin-heat .section-locations .location-map-embed:not(:has(.location-map-embed__card)) iframe,
.lektivo-dance-style-latin-heat .single-location .location-photo img,
.lektivo-dance-style-latin-heat .single-location__map .location-map-embed:not(:has(.location-map-embed__card)) iframe {
	border-radius: var(--lektivo-latin-radius);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--accent) 28%, transparent);
}

.lektivo-dance-style-latin-heat .wpcf7 input[type="text"],
.lektivo-dance-style-latin-heat .wpcf7 input[type="email"],
.lektivo-dance-style-latin-heat .wpcf7 input[type="url"],
.lektivo-dance-style-latin-heat .wpcf7 input[type="tel"],
.lektivo-dance-style-latin-heat .wpcf7 input[type="number"],
.lektivo-dance-style-latin-heat .wpcf7 input[type="date"],
.lektivo-dance-style-latin-heat .wpcf7 input[type="search"],
.lektivo-dance-style-latin-heat .wpcf7 select,
.lektivo-dance-style-latin-heat .wpcf7 textarea,
.lektivo-dance-style-latin-heat .wpforms-container input[type="text"],
.lektivo-dance-style-latin-heat .wpforms-container input[type="email"],
.lektivo-dance-style-latin-heat .wpforms-container input[type="url"],
.lektivo-dance-style-latin-heat .wpforms-container input[type="tel"],
.lektivo-dance-style-latin-heat .wpforms-container input[type="number"],
.lektivo-dance-style-latin-heat .wpforms-container input[type="date"],
.lektivo-dance-style-latin-heat .wpforms-container input[type="search"],
.lektivo-dance-style-latin-heat .wpforms-container select,
.lektivo-dance-style-latin-heat .wpforms-container textarea,
.lektivo-dance-style-latin-heat .single-post__comments .wp-block-post-comments-form input[type="text"],
.lektivo-dance-style-latin-heat .single-post__comments .wp-block-post-comments-form input[type="email"],
.lektivo-dance-style-latin-heat .single-post__comments .wp-block-post-comments-form input[type="url"],
.lektivo-dance-style-latin-heat .single-post__comments .wp-block-post-comments-form textarea,
.lektivo-dance-style-latin-heat .section-courses-archive .lektivo-course-filters__select,
.lektivo-dance-style-latin-heat .section-courses-by-term .lektivo-course-filters__select,
.lektivo-dance-style-latin-heat .section-schedule-archive .lektivo-schedule-filters__select,
.lektivo-dance-style-latin-heat .error-404 .wp-block-search__input {
	border-radius: var(--lektivo-latin-radius);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent);
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--foreground);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lektivo-dance-style-latin-heat .section-courses-archive .lektivo-course-filters,
.lektivo-dance-style-latin-heat .section-courses-by-term .lektivo-course-filters,
.lektivo-dance-style-latin-heat .section-schedule-archive .lektivo-schedule-filters {
	--lektivo-filter-select-chevron: var(--lektivo-latin-select-chevron);
}

/*
 * #95: Latin Heat filter placeholder/"Any" text — warm ivory on mahogany
 * surface; never light ink on the plugin's white fill.
 */
.lektivo-dance-style-latin-heat .lektivo-course-filters__select,
.lektivo-dance-style-latin-heat .lektivo-schedule-filters__select {
	background-color: var(--wp--preset--color--surface) !important;
	color: var(--wp--preset--color--foreground) !important;
	-webkit-text-fill-color: var(--wp--preset--color--foreground);
}

.lektivo-dance-style-latin-heat .wpcf7 select,
.lektivo-dance-style-latin-heat .wpforms-container select,
.lektivo-dance-style-latin-heat .lektivo-course-filters__select,
.lektivo-dance-style-latin-heat .lektivo-schedule-filters__select,
.lektivo-dance-style-latin-heat .section-courses-archive .lektivo-course-filters__select,
.lektivo-dance-style-latin-heat .section-courses-by-term .lektivo-course-filters__select,
.lektivo-dance-style-latin-heat .section-schedule-archive .lektivo-schedule-filters__select {
	background-image: var(--lektivo-latin-select-chevron);
}

.lektivo-dance-style-latin-heat .wpcf7 input:hover,
.lektivo-dance-style-latin-heat .wpcf7 select:hover,
.lektivo-dance-style-latin-heat .wpcf7 textarea:hover,
.lektivo-dance-style-latin-heat .wpforms-container input:hover,
.lektivo-dance-style-latin-heat .wpforms-container select:hover,
.lektivo-dance-style-latin-heat .wpforms-container textarea:hover,
.lektivo-dance-style-latin-heat .section-courses-archive .lektivo-course-filters__select:hover,
.lektivo-dance-style-latin-heat .section-courses-by-term .lektivo-course-filters__select:hover,
.lektivo-dance-style-latin-heat .section-schedule-archive .lektivo-schedule-filters__select:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 55%, transparent);
}

.lektivo-dance-style-latin-heat .wpcf7 input:focus,
.lektivo-dance-style-latin-heat .wpcf7 input:focus-visible,
.lektivo-dance-style-latin-heat .wpcf7 select:focus,
.lektivo-dance-style-latin-heat .wpcf7 select:focus-visible,
.lektivo-dance-style-latin-heat .wpcf7 textarea:focus,
.lektivo-dance-style-latin-heat .wpcf7 textarea:focus-visible,
.lektivo-dance-style-latin-heat .wpforms-container input:focus-visible,
.lektivo-dance-style-latin-heat .wpforms-container select:focus-visible,
.lektivo-dance-style-latin-heat .wpforms-container textarea:focus-visible,
.lektivo-dance-style-latin-heat .single-post__comments .wp-block-post-comments-form input:focus-visible,
.lektivo-dance-style-latin-heat .single-post__comments .wp-block-post-comments-form textarea:focus-visible,
.lektivo-dance-style-latin-heat .section-courses-archive .lektivo-course-filters__select:focus-visible,
.lektivo-dance-style-latin-heat .section-courses-by-term .lektivo-course-filters__select:focus-visible,
.lektivo-dance-style-latin-heat .section-schedule-archive .lektivo-schedule-filters__select:focus-visible {
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent);
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

.lektivo-dance-style-latin-heat .section-courses-archive .lektivo-course-filters__label,
.lektivo-dance-style-latin-heat .section-courses-by-term .lektivo-course-filters__label,
.lektivo-dance-style-latin-heat .section-schedule-archive .lektivo-schedule-filters__label {
	color: var(--wp--preset--color--accent);
	font-family: var(--wp--preset--font-family--display-condensed);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lektivo-dance-style-latin-heat .lektivo-course-filters__submit,
.lektivo-dance-style-latin-heat .lektivo-schedule-filters__submit {
	border: 1px solid var(--wp--preset--color--accent) !important;
	border-radius: var(--lektivo-latin-radius) !important;
	background-color: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--primary) !important;
	font-family: var(--wp--preset--font-family--display-condensed);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: none;
	background-image: linear-gradient(
		105deg,
		transparent 0%,
		transparent 46%,
		color-mix(in srgb, white 18%, transparent) 50%,
		transparent 54%,
		transparent 100%
	);
	background-size: 300% 100%;
	background-position: 0% 0;
	background-repeat: no-repeat;
	animation: lektivo-latin-heat-shimmer 4.8s ease-in-out infinite;
	transition:
		transform 0.32s var(--lektivo-latin-ease),
		box-shadow 0.32s var(--lektivo-latin-ease),
		background-color 0.32s ease;
}

.lektivo-dance-style-latin-heat .lektivo-course-filters__submit:hover,
.lektivo-dance-style-latin-heat .lektivo-course-filters__submit:focus-visible,
.lektivo-dance-style-latin-heat .lektivo-schedule-filters__submit:hover,
.lektivo-dance-style-latin-heat .lektivo-schedule-filters__submit:focus-visible {
	animation: none;
	background-image: none;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 82%, white) !important;
	color: var(--wp--preset--color--primary) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .lektivo_instructor .post-card .wp-block-post-title a,
.lektivo-dance-style-latin-heat .section-instructors-archive .post-card .wp-block-post-title a {
	color: var(--wp--preset--color--foreground);
}

.lektivo-dance-style-latin-heat .lektivo_instructor .post-card .wp-block-post-title a:hover,
.lektivo-dance-style-latin-heat .section-instructors-archive .post-card .wp-block-post-title a:hover {
	color: var(--wp--preset--color--accent);
	text-shadow: 0 0 12px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__teaser {
	border-radius: var(--lektivo-latin-radius);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	background:
		linear-gradient(
			160deg,
			color-mix(in srgb, var(--lektivo-latin-hibiscus) 12%, transparent),
			var(--wp--preset--color--surface) 58%
		);
}

.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__teaser-title,
.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__grid-location {
	font-family: var(--wp--preset--font-family--display-condensed);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__upgrade-button {
	border-radius: var(--lektivo-latin-radius);
}

.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class,
.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card {
	border-radius: var(--lektivo-latin-radius);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent);
	border-left: 4px solid var(--lektivo-diff-color, var(--wp--preset--color--accent));
	background: var(--wp--preset--color--surface);
	box-shadow: none;
	transition: box-shadow 0.32s var(--lektivo-latin-ease), border-color 0.32s ease;
}

.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class:hover,
.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
	box-shadow: 0 0 20px color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
}

.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-title,
.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card-title {
	color: var(--wp--preset--color--accent);
	transition: color 0.25s ease, text-shadow 0.25s ease, filter 0.25s ease;
}

.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-title:hover,
.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card-title:hover {
	filter: none;
	color: color-mix(in srgb, var(--wp--preset--color--accent) 78%, white);
	text-shadow: 0 0 12px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-card {
	border-radius: var(--lektivo-latin-radius);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent);
	background:
		linear-gradient(
			90deg,
			color-mix(in srgb, var(--lektivo-latin-hibiscus) 14%, transparent),
			transparent 42%
		),
		var(--wp--preset--color--primary);
}

.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-abbr {
	font-family: var(--wp--preset--font-family--display-condensed);
	color: var(--wp--preset--color--accent);
}

.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__day-class-title:hover {
	color: color-mix(in srgb, var(--wp--preset--color--accent) 78%, white);
}

@media (min-width: 782px) {
	.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__grid {
		background: color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
		border-color: color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent);
	}

	.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__grid-location,
	.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__corner,
	.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__col-header,
	.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__row-header {
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--foreground);
	}

	.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__row-header {
		color: var(--wp--preset--color--muted);
	}

	.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class {
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--foreground);
	}

	.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-time,
	.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-instructor,
	.lektivo-dance-style-latin-heat .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-room {
		color: var(--wp--preset--color--muted);
	}
}

.lektivo-dance-style-latin-heat .post-card,
.lektivo-dance-style-latin-heat .post-feed-item,
.lektivo-dance-style-latin-heat .search-result {
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent) !important;
	border-radius: var(--lektivo-latin-radius);
	transition:
		transform 0.32s var(--lektivo-latin-ease),
		box-shadow 0.32s var(--lektivo-latin-ease),
		border-color 0.32s ease;
}

.lektivo-dance-style-latin-heat .post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px color-mix(in srgb, var(--lektivo-latin-hibiscus) 14%, transparent);
}

.lektivo-dance-style-latin-heat .post-card a:hover,
.lektivo-dance-style-latin-heat .post-feed-item .wp-block-post-title a:hover,
.lektivo-dance-style-latin-heat .post-feed-item__permalink a:hover,
.lektivo-dance-style-latin-heat .single-post__back a:hover,
.lektivo-dance-style-latin-heat .single-post__categories a:hover,
.lektivo-dance-style-latin-heat .single-post__navigation .wp-block-post-navigation-link a:hover {
	color: var(--wp--preset--color--accent);
	text-shadow: 0 0 12px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .single-post__tags .wp-block-post-terms a {
	border-radius: 999px;
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 12%, transparent);
	color: var(--wp--preset--color--accent);
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.lektivo-dance-style-latin-heat .single-post__tags .wp-block-post-terms a:hover {
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent);
	color: var(--wp--preset--color--accent);
	box-shadow: 0 0 12px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .wp-block-query-pagination a,
.lektivo-dance-style-latin-heat .wp-block-query-pagination .wp-block-query-pagination-numbers .page-numbers {
	transition: color 0.25s ease, text-shadow 0.25s ease;
}

.lektivo-dance-style-latin-heat .wp-block-query-pagination a:hover,
.lektivo-dance-style-latin-heat .wp-block-query-pagination .page-numbers.current {
	color: var(--wp--preset--color--accent);
	text-shadow: 0 0 12px var(--lektivo-latin-gold-glow);
}

.lektivo-dance-style-latin-heat .cta-banner {
	background:
		radial-gradient(900px 200px at 10% 0%, color-mix(in srgb, var(--lektivo-latin-hibiscus) 20%, transparent), transparent 55%),
		radial-gradient(700px 180px at 95% 100%, color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent), transparent 50%),
		var(--wp--preset--color--primary);
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
}

.lektivo-dance-style-latin-heat .cta-banner h2,
.lektivo-dance-style-latin-heat .site-footer__heading {
	font-family: var(--wp--preset--font-family--display-condensed);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.lektivo-dance-style-latin-heat .site-footer {
	box-shadow: var(--lektivo-latin-footer-edge);
}

.lektivo-dance-style-latin-heat .site-footer a:hover {
	text-shadow: 0 0 12px var(--lektivo-latin-gold-glow);
}

@media (prefers-reduced-motion: reduce) {
	html:has(body.lektivo-dance-style-latin-heat) {
		scroll-behavior: auto;
	}

	.lektivo-dance-style-latin-heat,
	.lektivo-dance-style-latin-heat *,
	.lektivo-dance-style-latin-heat *::before,
	.lektivo-dance-style-latin-heat *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	html.lektivo-latin-js .lektivo-dance-style-latin-heat .lektivo-latin-reveal {
		opacity: 1 !important;
		translate: none !important;
		scale: none !important;
	}
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */

/*
 * Site Logo sizing (#74): no !important height locks. Block attributes may
 * set a large height (e.g. 120px); clamp caps the mark ≈60px on phones and
 * ≈68px on tablet/desktop. width:auto + object-fit:contain keep wide and
 * padded square PNGs proportional inside the cap.
 */
.site-header .wp-block-site-logo img,
.site-header .custom-logo-link img,
.site-header .custom-logo {
	height: clamp(56px, 15.4vw, 60px);
	width: auto;
	max-height: clamp(56px, 15.4vw, 60px);
	object-fit: contain;
}

@media (min-width: 782px) {
	.site-header .wp-block-site-logo img,
	.site-header .custom-logo-link img,
	.site-header .custom-logo {
		height: clamp(64px, 5.3vw, 68px);
		max-height: clamp(64px, 5.3vw, 68px);
	}
}

@media (max-width: 600px) {
	.site-header .site-header__title {
		font-size: 1rem;
	}
}

/* ==========================================================================
   Ritmo style variation — Alex palette blend (from Rhythm / proposal B)
   Accent trial: Havana Blue replaces Guava Pink; Havana navbar with Warm Sand
   logo/links; Bebas Neue; proposal-A list frames; no turquoise on the front
   page (difficulty badges keep palette teal).
   ========================================================================== */

.lektivo-dance-style-ritmo {
	--lektivo-ritmo-turquoise: #22b3ac;
	/* Accent trial: former Guava Pink slots use Havana Blue on light surfaces. */
	--lektivo-ritmo-guava: #123d4d;
	--lektivo-ritmo-havana: #123d4d;
	--lektivo-ritmo-plum: #5a2a42;
	--lektivo-ritmo-orange: #f27c37;
	--lektivo-ritmo-sand: #f6e7cb;
	--lektivo-ritmo-cacao: #7b4a35;
	--lektivo-ritmo-radius: 1.25rem;
	--lektivo-ritmo-radius-sm: 1rem;
	/* Same easing curve as Urban — motion only; design tokens stay Ritmo. */
	--lektivo-ritmo-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--lektivo-ritmo-plum-glow: color-mix(in srgb, var(--lektivo-ritmo-plum) 22%, transparent);
	/*
	 * Map core block fallbacks (base/contrast) onto Ritmo light tokens so
	 * plugin Location Map chrome does not inherit undefined presets (#97).
	 * Bright accent / difficulty turquoise stay for fills and borders only.
	 */
	--wp--preset--color--base: var(--wp--preset--color--white);
	--wp--preset--color--contrast: var(--wp--preset--color--foreground);
	--wp--preset--color--contrast-2: var(--wp--preset--color--muted);
	--wp--preset--color--contrast-3: color-mix(in srgb, var(--wp--preset--color--foreground) 14%, var(--wp--preset--color--white));
}

html:has(body.lektivo-dance-style-ritmo) {
	scroll-behavior: smooth;
}

/* Scroll reveal — same fade-up pattern as Urban, Ritmo timing tokens. */
html.lektivo-motion-js .lektivo-dance-style-ritmo .lektivo-reveal {
	opacity: 0;
	translate: 0 28px;
}

html.lektivo-motion-js .lektivo-dance-style-ritmo .lektivo-reveal.is-visible,
html.lektivo-motion-js .lektivo-dance-style-ritmo .lektivo-reveal:focus-within {
	opacity: 1;
	translate: 0;
	transition:
		opacity 0.7s var(--lektivo-ritmo-ease) var(--lektivo-reveal-delay, 0ms),
		translate 0.7s var(--lektivo-ritmo-ease) var(--lektivo-reveal-delay, 0ms),
		transform 0.28s var(--lektivo-ritmo-ease),
		box-shadow 0.28s var(--lektivo-ritmo-ease),
		border-color 0.28s ease;
}

@keyframes lektivo-ritmo-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent);
	}
	50% {
		box-shadow: 0 0 0 10px color-mix(in srgb, var(--wp--preset--color--accent) 0%, transparent);
	}
}

/*
 * Havana Blue navbar — distinct from plum/sand content below.
 * Soft sand/Havana glow so the bar stays visible over plum sections.
 */
.lektivo-dance-style-ritmo header {
	background-color: var(--lektivo-ritmo-havana);
	border-bottom: none;
	box-shadow:
		0 1px 0 color-mix(in srgb, var(--lektivo-ritmo-sand) 70%, transparent),
		0 6px 18px color-mix(in srgb, var(--lektivo-ritmo-sand) 35%, transparent),
		0 14px 36px color-mix(in srgb, var(--lektivo-ritmo-havana) 28%, transparent);
}

.lektivo-dance-style-ritmo .site-header {
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
	min-height: 0;
}

.lektivo-dance-style-ritmo .site-header__logo,
.lektivo-dance-style-ritmo .site-header__logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

/*
 * Ritmo wordmark is a padded 500×500 PNG — same height caps as shared Site
 * Logo (#74 follow-up): ≈60px phone / ≈68px desktop. object-fit:contain
 * keeps the visible mark proportional; no !important locks.
 */
.lektivo-dance-style-ritmo .site-header__logo img,
.lektivo-dance-style-ritmo .custom-logo,
.lektivo-dance-style-ritmo .custom-logo-link img {
	height: clamp(56px, 15.4vw, 60px);
	width: auto;
	max-height: clamp(56px, 15.4vw, 60px);
	max-width: none;
	object-fit: contain;
}

@media (min-width: 782px) {
	.lektivo-dance-style-ritmo .site-header__logo img,
	.lektivo-dance-style-ritmo .custom-logo,
	.lektivo-dance-style-ritmo .custom-logo-link img {
		height: clamp(64px, 5.3vw, 68px);
		max-height: clamp(64px, 5.3vw, 68px);
	}
}

/* Warm Sand logo on the Havana Blue bar (accent would not contrast). */
.lektivo-dance-style-ritmo .site-header__logo img,
.lektivo-dance-style-ritmo .custom-logo-link img {
	filter: brightness(0) invert(89%) sepia(16%) saturate(447%) hue-rotate(340deg) brightness(104%) contrast(94%);
}

.lektivo-dance-style-ritmo .site-header .wp-block-navigation a,
.lektivo-dance-style-ritmo .site-header .wp-block-navigation .wp-block-navigation-item__content,
.lektivo-dance-style-ritmo .site-header .site-header__title a,
.lektivo-dance-style-ritmo .site-header .wp-block-navigation__responsive-container-open,
.lektivo-dance-style-ritmo .site-header .wp-block-navigation__responsive-container-close {
	color: var(--lektivo-ritmo-sand);
	font-family: var(--wp--preset--font-family--display-bebas);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.lektivo-dance-style-ritmo .site-header__nav a::after,
.lektivo-dance-style-ritmo .site-header .site-header__title a::after {
	background-color: var(--wp--preset--color--white);
	height: 3px;
}

.lektivo-dance-style-ritmo .site-header .wp-block-navigation a,
.lektivo-dance-style-ritmo .site-header .wp-block-navigation .wp-block-navigation-item__content,
.lektivo-dance-style-ritmo .site-header .site-header__title a {
	transition: color 0.25s var(--lektivo-ritmo-ease);
}

.lektivo-dance-style-ritmo .site-header .wp-block-navigation a:hover,
.lektivo-dance-style-ritmo .site-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.lektivo-dance-style-ritmo .site-header .site-header__title a:hover {
	color: var(--wp--preset--color--white);
}

/* Open overlay: Havana Blue + Warm Sand (AA) — beat core white default. */
.lektivo-dance-style-ritmo .wp-site-blocks .site-header .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay),
.lektivo-dance-style-ritmo .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--lektivo-ritmo-havana);
	color: var(--lektivo-ritmo-sand);
}

.lektivo-dance-style-ritmo .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a,
.lektivo-dance-style-ritmo .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.lektivo-dance-style-ritmo .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	color: var(--lektivo-ritmo-sand);
}

.lektivo-dance-style-ritmo .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a:hover,
.lektivo-dance-style-ritmo .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
.lektivo-dance-style-ritmo .wp-site-blocks .site-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:hover {
	color: var(--wp--preset--color--white);
}

.lektivo-dance-style-ritmo h1,
.lektivo-dance-style-ritmo h2,
.lektivo-dance-style-ritmo h3,
.lektivo-dance-style-ritmo h4,
.lektivo-dance-style-ritmo .wp-block-post-title,
.lektivo-dance-style-ritmo .instructor-card-ritmo__name,
.lektivo-dance-style-ritmo h3.location-map-embed__name,
.lektivo-dance-style-ritmo .wp-element-button,
.lektivo-dance-style-ritmo .wp-block-button__link {
	font-family: var(--wp--preset--font-family--display-bebas) !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.1;
	font-weight: 400;
}

/* Keep !85 archive-hero clamp with Bebas (do not enlarge .hero-courses h1). */

.lektivo-dance-style-ritmo .hero-ritmo {
	min-height: 72vh;
}

/* Slanted Havana Blue triangle behind hero media */
.lektivo-dance-style-ritmo .hero-ritmo::before {
	background-color: var(--lektivo-ritmo-guava);
	clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

/*
 * Continue that same Havana Blue panel into the schedule (#86).
 * Large screens only — the mobile hero hides the diagonal (max-width: 781px).
 * The band is the same 45% right-hand block. Its lower edge runs from the
 * panel's bottom-left corner to the right edge at half the schedule section,
 * so the two pieces read as one solid shape. The block-gap offset covers the
 * seam between the hero and the section. Content stays above the shape.
 */
@media (min-width: 782px) {
	.lektivo-dance-style-ritmo .section-schedule {
		position: relative;
		isolation: isolate;
	}

	.lektivo-dance-style-ritmo .section-schedule::before {
		content: "";
		position: absolute;
		top: calc(-1 * var(--wp--style--block-gap, 24px) - 1px);
		right: 0;
		bottom: 50%;
		width: 45%;
		background-color: var(--lektivo-ritmo-guava);
		clip-path: polygon(0 0, 100% 0, 100% 100%);
		z-index: -1;
		pointer-events: none;
	}
}

/* Hero image — slightly rounded corners + soft Plum shadow (no hard offset) */
.lektivo-dance-style-ritmo .hero-ritmo__image.gold-frame img {
	border-radius: 12px !important;
	box-shadow:
		0 8px 24px color-mix(in srgb, var(--lektivo-ritmo-plum) 28%, transparent),
		0 2px 8px color-mix(in srgb, var(--lektivo-ritmo-plum) 18%, transparent) !important;
}

/* Front-page instructor photo — soft Plum shadow, no turquoise offset */
.lektivo-dance-style-ritmo .section-instructors .gold-frame img {
	border-radius: 12px !important;
	box-shadow:
		0 8px 24px color-mix(in srgb, var(--lektivo-ritmo-plum) 28%, transparent),
		0 2px 8px color-mix(in srgb, var(--lektivo-ritmo-plum) 18%, transparent) !important;
}

/* Page-title angled divider — Havana Blue */
.lektivo-dance-style-ritmo .hero-courses::after {
	background: var(--lektivo-ritmo-guava);
}

.lektivo-dance-style-ritmo .hero-ritmo h1 {
	font-size: clamp(3.25rem, 7vw, 5rem);
	letter-spacing: 0.03em;
}

.lektivo-dance-style-ritmo .hero-ritmo .wp-block-button__link,
.lektivo-dance-style-ritmo .wp-element-button,
.lektivo-dance-style-ritmo .wp-block-button__link,
.lektivo-dance-style-ritmo .location-map-embed__directions {
	border-radius: 9999px;
	background-color: var(--wp--preset--color--accent);
	/*
	 * Darkened Havana ink — plain secondary on Sunset was 4.28:1 (#81).
	 * !important beats core .has-secondary-color on hero block markup.
	 */
	color: color-mix(in srgb, var(--wp--preset--color--secondary) 42%, #000000) !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	animation: lektivo-ritmo-pulse 2.4s ease-in-out infinite;
	transition:
		transform 0.28s var(--lektivo-ritmo-ease),
		box-shadow 0.28s var(--lektivo-ritmo-ease),
		background-color 0.28s ease,
		filter 0.28s ease,
		color 0.28s ease;
}

/* Sidebar Book CTA — accent fill + darkened Havana ink for AA (#80). */
.lektivo-dance-style-ritmo .course-info-card .lektivo-course-sidebar__book-link {
	border-radius: 9999px;
	background-color: var(--wp--preset--color--accent) !important;
	color: color-mix(in srgb, var(--wp--preset--color--secondary) 42%, #000000) !important;
	opacity: 1;
	animation: none;
}

/* Directions CTA: same fill/ink as buttons; no pulse on a static card (#74). */
.lektivo-dance-style-ritmo .location-map-embed__directions {
	background-color: var(--wp--preset--color--accent) !important;
	color: color-mix(in srgb, var(--wp--preset--color--secondary) 42%, #000000) !important;
	border: none !important;
	opacity: 1;
	animation: none;
	/* Match .hero-ritmo .wp-block-button__link ("See our courses") metrics. */
	font-family: var(--wp--preset--font-family--display-bebas);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.1;
}

.lektivo-dance-style-ritmo .hero-ritmo .wp-block-button__link:hover,
.lektivo-dance-style-ritmo .wp-element-button:hover,
.lektivo-dance-style-ritmo .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.lektivo-dance-style-ritmo .cta-banner .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.lektivo-dance-style-ritmo .wpcf7 input[type="submit"]:hover,
.lektivo-dance-style-ritmo .wpcf7 input[type="button"]:hover,
.lektivo-dance-style-ritmo .wpcf7 button:hover,
.lektivo-dance-style-ritmo .wpcf7 .wpcf7-submit:hover,
.lektivo-dance-style-ritmo .wpforms-submit:hover,
.lektivo-dance-style-ritmo .wpforms-page-button:hover,
.lektivo-dance-style-ritmo .course-info-card .lektivo-course-sidebar__book-link:hover,
.lektivo-dance-style-ritmo .course-info-card .lektivo-course-sidebar__book-link:focus,
.lektivo-dance-style-ritmo .course-info-card .lektivo-course-sidebar__book-link:focus-visible,
.lektivo-dance-style-ritmo .location-map-embed__directions:hover,
.lektivo-dance-style-ritmo .location-map-embed__directions:focus-visible {
	animation: none;
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 8px 22px var(--lektivo-ritmo-plum-glow);
	background-color: color-mix(in srgb, var(--wp--preset--color--accent) 90%, white) !important;
	color: color-mix(in srgb, var(--wp--preset--color--secondary) 42%, #000000) !important;
	opacity: 1;
}

/*
 * Course filters — do NOT restyle. Keep the base theme / live-site look
 * (row of selects with labels above).
 */

/* Havana Blue backgrounds → Burgundy Plum (text colours stay Havana) */
.lektivo-dance-style-ritmo .has-secondary-background-color {
	background-color: var(--lektivo-ritmo-plum) !important;
}

.lektivo-dance-style-ritmo .section-instructors {
	background-color: var(--lektivo-ritmo-plum);
	padding-top: var(--wp--preset--spacing--60) !important;
	padding-bottom: var(--wp--preset--spacing--60) !important;
}

/*
 * Instructor accents: Havana Blue on light archive cards; Warm Sand on the
 * plum front-page instructor section (Havana would disappear on plum).
 */
.lektivo-dance-style-ritmo .instructor-card-ritmo {
	border-radius: 0;
	border-left: 6px solid var(--lektivo-ritmo-guava);
	background-color: color-mix(in srgb, var(--wp--preset--color--white) 8%, transparent);
}

.lektivo-dance-style-ritmo .instructor-role {
	color: var(--lektivo-ritmo-guava);
	letter-spacing: 0.14em;
}

.lektivo-dance-style-ritmo .section-instructors .instructor-card-ritmo {
	border-left-color: var(--lektivo-ritmo-sand);
}

.lektivo-dance-style-ritmo .section-instructors .instructor-role {
	color: var(--lektivo-ritmo-sand);
}

.lektivo-dance-style-ritmo .section-testimonials {
	background-color: var(--lektivo-ritmo-plum);
}

/* Front page: no Caribbean Turquoise accents (links, icons, stars stay palette) */
.home.lektivo-dance-style-ritmo a:not(.wp-element-button):not(.wp-block-button__link) {
	text-decoration-thickness: 2px;
	text-decoration-color: var(--lektivo-ritmo-orange);
	text-underline-offset: 0.18em;
}

.home.lektivo-dance-style-ritmo .testimonial-card__stars,
.home.lektivo-dance-style-ritmo .testimonial-card__media img {
	color: var(--lektivo-ritmo-orange);
	border-color: var(--lektivo-ritmo-orange);
}

.home.lektivo-dance-style-ritmo .lektivo-dance-icon,
.home.lektivo-dance-style-ritmo .section-contact .lektivo-dance-icon,
.home.lektivo-dance-style-ritmo .section-locations svg,
.home.lektivo-dance-style-ritmo .section-find-us svg {
	color: var(--lektivo-ritmo-orange);
	stroke: currentColor;
}

/*
 * Contact + unified location cards — Burgundy Plum with light text/icons.
 * Map and Directions modes both use `.location-map-embed__card.contact-card` (#87).
 */
.lektivo-dance-style-ritmo .section-contact .contact-card,
.lektivo-dance-style-ritmo .location-map-embed__card.contact-card {
	background-color: var(--lektivo-ritmo-plum) !important;
	color: var(--lektivo-ritmo-sand);
	box-shadow: 0 8px 24px color-mix(in srgb, var(--lektivo-ritmo-plum) 28%, transparent);
}

.lektivo-dance-style-ritmo .section-contact .contact-card h3,
.lektivo-dance-style-ritmo .section-contact .contact-card p,
.lektivo-dance-style-ritmo .section-contact .contact-card a:not(.wp-element-button):not(.location-map-embed__directions),
.lektivo-dance-style-ritmo .section-contact .contact-card .lektivo-dance-icon,
.lektivo-dance-style-ritmo .section-contact .contact-card svg,
.lektivo-dance-style-ritmo .location-map-embed__card.contact-card h3.location-map-embed__name,
.lektivo-dance-style-ritmo .location-map-embed__card.contact-card .location-map-embed__address,
.lektivo-dance-style-ritmo .location-map-embed__card.contact-card .location-map-embed__description,
.lektivo-dance-style-ritmo .location-map-embed__card.contact-card .location-map-embed__description p,
.lektivo-dance-style-ritmo .location-map-embed__card.contact-card a:not(.wp-element-button):not(.location-map-embed__directions) {
	color: var(--lektivo-ritmo-sand) !important;
	fill: currentColor;
	stroke: currentColor;
}

/* Hover on plum contact cards: Warm Sand → white (Havana would fail contrast). */
.lektivo-dance-style-ritmo .section-contact .contact-card a:not(.wp-element-button):not(.location-map-embed__directions):hover,
.lektivo-dance-style-ritmo .location-map-embed__card.contact-card a:not(.wp-element-button):not(.location-map-embed__directions):hover {
	color: var(--wp--preset--color--white) !important;
}

/* Map inset radius inside plum location cards (#87). */
.lektivo-dance-style-ritmo .location-map-embed__media iframe {
	border-radius: 8px;
}

/*
 * Course cards — white surface; difficulty colours from sample-data palette
 * (turquoise easy/open stays on course pages only). Hover motion mirrors Urban
 * lift timing without changing Ritmo colours or radii (#66).
 * Single-course sidebar (.course-info-card) must match: surface === background
 * (Warm Sand) so without this override the card disappears into the page (#73).
 */
.lektivo-dance-style-ritmo .wp-block-lektivo-course-list .lektivo-course-card,
.lektivo-dance-style-ritmo .lektivo-course-list__item,
.lektivo-dance-style-ritmo .course-info-card {
	background: var(--wp--preset--color--white);
	transition:
		transform 0.28s var(--lektivo-ritmo-ease),
		box-shadow 0.28s var(--lektivo-ritmo-ease),
		border-color 0.28s ease;
}

.lektivo-dance-style-ritmo .wp-block-lektivo-course-list .lektivo-course-card:hover,
.lektivo-dance-style-ritmo .lektivo-course-list__item:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px var(--lektivo-ritmo-plum-glow);
}

/*
 * White course cards — AA text ink (#97). Titles use Havana (foreground);
 * Book now / Show more / footer links use Sunset Ink (link). Difficulty
 * turquoise and Sunset Orange stay on borders, badges, and icons only —
 * they fail 4.5:1 as body/link text on white (cyan Book now / Show more).
 */
.lektivo-dance-style-ritmo .lektivo-course-card__title a {
	color: var(--wp--preset--color--foreground) !important;
	transition: color 0.25s ease, opacity 0.25s ease;
}

.lektivo-dance-style-ritmo .lektivo-course-card__book-link,
.lektivo-dance-style-ritmo .lektivo-course-card__read-more,
.lektivo-dance-style-ritmo .lektivo-course-card__footer a,
.lektivo-dance-style-ritmo .lektivo-course-card__toggle {
	color: var(--wp--preset--color--link) !important;
	transition: color 0.25s ease, opacity 0.25s ease;
}

/* Schedule card titles — Sunset Ink on sand cards (#101); difficulty stays on the border. */
.lektivo-dance-style-ritmo .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-title,
.lektivo-dance-style-ritmo .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card-title {
	color: var(--wp--preset--color--link);
}

.lektivo-dance-style-ritmo .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__class-title:hover,
.lektivo-dance-style-ritmo .wp-block-lektivo-schedule-viewer .lektivo-schedule-viewer__card-title:hover {
	color: var(--lektivo-ritmo-havana);
	filter: none;
}

.lektivo-dance-style-ritmo .lektivo-course-card__title a:hover,
.lektivo-dance-style-ritmo .lektivo-course-card__footer a:hover,
.lektivo-dance-style-ritmo .lektivo-course-card__book-link:hover,
.lektivo-dance-style-ritmo .lektivo-course-card__toggle:hover {
	color: var(--lektivo-ritmo-havana) !important;
	opacity: 1;
}

/* Location Map + preview cards — AA link ink on white / sand surfaces (#97). */
.lektivo-dance-style-ritmo .lektivo-location-card__name,
.lektivo-dance-style-ritmo .lektivo-location-card__name a {
	color: var(--wp--preset--color--primary);
}

.lektivo-dance-style-ritmo .lektivo-location-card__map-link,
.lektivo-dance-style-ritmo .location-preview-card__link a {
	color: var(--wp--preset--color--link);
}

.lektivo-dance-style-ritmo .lektivo-location-card__map-link:hover,
.lektivo-dance-style-ritmo .location-preview-card__link a:hover,
.lektivo-dance-style-ritmo .location-preview-card h3 a:hover,
.lektivo-dance-style-ritmo .lektivo-location-card__name a:hover {
	color: var(--lektivo-ritmo-havana);
	opacity: 1;
}

/* Instructor / testimonial / location / contact cards — quick lift on hover. */
.lektivo-dance-style-ritmo .instructor-card-ritmo,
.lektivo-dance-style-ritmo .testimonial-card,
.lektivo-dance-style-ritmo .location-preview-card,
.lektivo-dance-style-ritmo .contact-card,
.lektivo-dance-style-ritmo .section-instructors-archive .post-card,
.lektivo-dance-style-ritmo .lektivo_instructor .post-card,
.lektivo-dance-style-ritmo .post-card,
.lektivo-dance-style-ritmo .lektivo-schedule-viewer__day-card {
	transition:
		transform 0.28s var(--lektivo-ritmo-ease),
		box-shadow 0.28s var(--lektivo-ritmo-ease),
		border-color 0.28s ease;
}

.lektivo-dance-style-ritmo .instructor-card-ritmo:hover,
.lektivo-dance-style-ritmo .testimonial-card:hover,
.lektivo-dance-style-ritmo .location-preview-card:hover,
.lektivo-dance-style-ritmo .contact-card:hover,
.lektivo-dance-style-ritmo .section-instructors-archive .post-card:hover,
.lektivo-dance-style-ritmo .lektivo_instructor .post-card:hover,
.lektivo-dance-style-ritmo .post-card:hover,
.lektivo-dance-style-ritmo .lektivo-schedule-viewer__day-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px var(--lektivo-ritmo-plum-glow);
}

/* Compact schedule links — colour transition only; leave display:contents rows alone. */
.lektivo-dance-style-ritmo .lektivo-schedule-viewer__day-class-title {
	transition: color 0.25s var(--lektivo-ritmo-ease);
}

.lektivo-dance-style-ritmo .gold-frame img,
.lektivo-dance-style-ritmo .instructor-photo img {
	transition: box-shadow 0.35s var(--lektivo-ritmo-ease), filter 0.35s ease;
}

.lektivo-dance-style-ritmo a:not(.wp-element-button):not(.wp-block-button__link) {
	transition: color 0.25s ease, text-decoration-color 0.25s ease, opacity 0.25s ease;
}

.lektivo-dance-style-ritmo .site-footer a {
	transition: color 0.25s var(--lektivo-ritmo-ease);
}

/*
 * List images (Instructors / Locations / Posts) — proposal 1 rounded-square
 * mat: inset padding, ~16–20px radii, thin Plum border, soft drop shadow.
 */
.lektivo-dance-style-ritmo .section-instructors-archive .instructor-photo,
.lektivo-dance-style-ritmo .lektivo_instructor .instructor-photo,
.lektivo-dance-style-ritmo .section-locations-archive .location-photo,
.lektivo-dance-style-ritmo .lektivo_location .location-photo,
.lektivo-dance-style-ritmo .section-posts-feed .post-feed-item__featured,
.lektivo-dance-style-ritmo .section-posts-feed .gold-frame {
	display: block;
	width: min(100%, 12rem);
	padding: 0.65rem;
	margin-left: auto;
	margin-right: auto;
	background: var(--lektivo-ritmo-sand);
	border: 1px solid var(--lektivo-ritmo-plum);
	border-radius: calc(var(--lektivo-ritmo-radius) + 0.35rem);
	box-shadow:
		0 1px 2px color-mix(in srgb, var(--lektivo-ritmo-plum) 10%, transparent),
		0 16px 36px color-mix(in srgb, var(--lektivo-ritmo-plum) 18%, transparent);
	box-sizing: border-box;
	overflow: hidden;
	aspect-ratio: auto;
}

.lektivo-dance-style-ritmo .section-instructors-archive .instructor-photo img,
.lektivo-dance-style-ritmo .lektivo_instructor .instructor-photo img,
.lektivo-dance-style-ritmo .section-locations-archive .location-photo img,
.lektivo-dance-style-ritmo .lektivo_location .location-photo img,
.lektivo-dance-style-ritmo .section-posts-feed .post-feed-item__featured img,
.lektivo-dance-style-ritmo .section-posts-feed .gold-frame img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1;
	object-fit: cover !important;
	border-radius: var(--lektivo-ritmo-radius-sm) !important;
	box-shadow: none !important;
	display: block;
}

/* Hero / front instructor frames are not list mats */
.lektivo-dance-style-ritmo .section-instructors .gold-frame,
.lektivo-dance-style-ritmo .hero-ritmo__image.gold-frame {
	width: auto;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

/*
 * Footer sits on plum — Havana Blue text would fail contrast, so use Warm Sand
 * (explicit deviation from the raw accent swap).
 */
.lektivo-dance-style-ritmo .site-footer .wp-block-site-title,
.lektivo-dance-style-ritmo .site-footer .wp-block-site-title a,
.lektivo-dance-style-ritmo .site-footer__heading,
.lektivo-dance-style-ritmo .site-footer .site-footer__heading {
	color: var(--lektivo-ritmo-sand) !important;
	font-family: var(--wp--preset--font-family--display-bebas);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Non-home pages: link underline uses Sunset Orange (not turquoise) */
.lektivo-dance-style-ritmo:not(.home) a:not(.wp-element-button):not(.wp-block-button__link) {
	text-decoration-thickness: 2px;
	text-decoration-color: var(--lektivo-ritmo-orange);
	text-underline-offset: 0.18em;
}

@media (max-width: 781px) {
	.lektivo-dance-style-ritmo .hero-ritmo__media {
		background-color: var(--lektivo-ritmo-guava);
	}
}

@media (prefers-reduced-motion: reduce) {
	html:has(body.lektivo-dance-style-ritmo) {
		scroll-behavior: auto;
	}

	.lektivo-dance-style-ritmo,
	.lektivo-dance-style-ritmo *,
	.lektivo-dance-style-ritmo *::before,
	.lektivo-dance-style-ritmo *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	html.lektivo-motion-js .lektivo-dance-style-ritmo .lektivo-reveal {
		opacity: 1 !important;
		translate: none !important;
	}
}

/* ==========================================================================
   Demo style switcher (opt-in — LEKTIVO_DEMO_STYLE_SWITCHER)
   Thin floating control; uses theme tokens only.
   ========================================================================== */

.lektivo-dance-demo-style-switcher {
	position: fixed;
	z-index: 100000;
	right: max(1rem, env(safe-area-inset-right, 0px));
	bottom: max(1rem, env(safe-area-inset-bottom, 0px));
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--foreground);
	border: 1px solid var(--wp--preset--color--accent);
	box-shadow: 0 4px 16px color-mix(in srgb, var(--wp--preset--color--primary) 35%, transparent);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	line-height: 1.3;
}

body.admin-bar .lektivo-dance-demo-style-switcher {
	bottom: calc(1rem + 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .lektivo-dance-demo-style-switcher {
		bottom: calc(1rem + 46px);
	}
}

.lektivo-dance-demo-style-switcher__label {
	margin: 0;
	font-weight: 600;
	color: var(--wp--preset--color--foreground);
	white-space: nowrap;
}

.lektivo-dance-demo-style-switcher__select {
	margin: 0;
	padding: 0.25rem 1.75rem 0.25rem 0.5rem;
	min-height: 2rem;
	border: 1px solid var(--wp--preset--color--muted);
	border-radius: 2px;
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
	font: inherit;
	cursor: pointer;
}

.lektivo-dance-demo-style-switcher__select:focus {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.lektivo-dance-demo-style-switcher {
		right: 0.5rem;
		bottom: 0.5rem;
		left: 0.5rem;
		justify-content: space-between;
	}

	body.admin-bar .lektivo-dance-demo-style-switcher {
		bottom: calc(0.5rem + 46px);
	}
}

