/**
 * Lingoa block styles (front end + editor).
 *
 * Design idea: the passport. Learning a language is a journey with real stages, the six CEFR
 * levels A1 to C2. Ink stamps (one colour, slightly rotated) are the one structural device:
 * six of them on the passport page in the hero, and the stamp ladder that shows what you can
 * do at each level. Everything else is quiet: hairline rules, plain tints, small radii.
 *
 * Rules for humans and AI agents:
 * - Use the design tokens only: var(--wp--preset--color--*), --font-size--*, --spacing--*,
 *   var(--wp--custom--radius--*) and var(--wp--custom--drawing-filter). Never hard-code a colour here.
 * - Stamp red (accent) is only for stamps and the "New course" tag.
 * - No drop shadows, no gradient washes, small radii. Spend boldness only on the stamps.
 * - Each section below is one block style or one helper class used by the patterns.
 */

/* ---------- Layout ---------- */

.wp-site-blocks > main,
.wp-site-blocks > footer {
	margin-block-start: 0;
}

/* Full-width sections sit edge to edge (no strip between bands). */
:where(.wp-site-blocks main, .wp-block-post-content) > .alignfull {
	margin-block-start: 0;
	margin-block-end: 0;
}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

h1,
h2,
h3 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

/* Section intros are left aligned on the wide grid, with a readable line length. */
.lingoa-intro > * {
	max-width: 42rem;
}

/* Small labels: sentence case, heading face, never all caps. */
.lingoa-label {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0;
	color: var(--wp--preset--color--ink-soft);
}

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

.lingoa-topbar a {
	color: inherit;
	font-weight: 600;
}

header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* No backdrop-filter on the header: it would trap the mobile menu overlay inside the header. */
.lingoa-header {
	border-bottom: 1px solid var(--wp--preset--color--line);
	background-color: color-mix(in srgb, var(--wp--preset--color--base) 97%, transparent);
}

/* Brand mark in front of the site title (hidden once a logo is set): a passport on a navy square. */
.lingoa-header .wp-block-site-title a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.lingoa-header .wp-block-site-title a::before {
	content: "";
	flex: none;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: var(--wp--custom--radius--md);
	background-color: var(--wp--preset--color--primary);
	background-image: url("../images/icons/passport.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 62%;
}

.lingoa-header .wp-block-site-logo + .wp-block-site-title a::before {
	display: none;
}

@media (max-width: 781px) {
	.lingoa-header-cta {
		display: none !important;
	}

	/* Keep the sticky header short on phones: show only the phone line. */
	.lingoa-topbar .wp-block-group > p:first-child {
		display: none;
	}

	.lingoa-topbar .wp-block-group {
		justify-content: center !important;
	}
}

.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--preset--spacing--50);
}

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

.lingoa-footer a {
	color: inherit;
	text-decoration: none;
}

.lingoa-footer a:hover {
	text-decoration: underline;
}

.lingoa-muted {
	opacity: 0.75;
}

.lingoa-footer .wp-block-separator {
	opacity: 0.25;
}

/* ---------- Hero ---------- */

.lingoa-hero h1 {
	font-size: var(--wp--preset--font-size--display);
	line-height: var(--wp--custom--line-height--display);
	letter-spacing: -0.04em;
	max-width: 12ch;
}

/* "Hello Hola Bonjour…": one quiet line, words set apart by space, not by dots. */
.lingoa-greetings {
	display: flex;
	flex-wrap: wrap;
	column-gap: 1.4em;
	row-gap: 0.2em;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	color: var(--wp--preset--color--ink-soft);
}

/* ---------- Block style: Group "Passport page" ---------- */

.is-style-lingoa-card {
	position: relative;
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--ink);
	border-radius: var(--wp--custom--radius--md);
	padding: var(--wp--preset--spacing--50);
	box-sizing: border-box;
}

/* The navy spine along the top edge, like the cover showing behind the page. */
.is-style-lingoa-card::before {
	content: "";
	position: absolute;
	inset: -1px -1px auto;
	height: 0.5rem;
	border-radius: var(--wp--custom--radius--md) var(--wp--custom--radius--md) 0 0;
	background-color: var(--wp--preset--color--primary);
}

.is-layout-grid > .is-style-lingoa-card {
	height: 100%;
}

/* Label / value lines on the passport page. */
.lingoa-fields > .wp-block-group {
	padding-block: 0.6rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
	margin-block-start: 0;
	gap: var(--wp--preset--spacing--30);
}

.lingoa-fields p {
	margin: 0;
}

.lingoa-fields > .wp-block-group > p:first-child {
	flex: none;
	width: 5.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--wp--preset--color--ink-soft);
	padding-top: 0.15em;
}

/* ---------- The stamps: the one device ---------- */

/*
 * One stamp: a paragraph with <strong>level code</strong><span>level name</span>.
 * Odd stamps are round, even stamps are rectangular; each sits at its own small angle.
 * The inner ring is an outline, so the stamp keeps one ink colour and no fill.
 */
.lingoa-stamp {
	--r: -6deg;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
	width: 7.5rem;
	height: 7.5rem;
	margin: 0 !important;
	padding: 0.6rem;
	border: 2px solid var(--wp--preset--color--accent);
	border-radius: 50%;
	outline: 1px solid var(--wp--preset--color--accent);
	outline-offset: -7px;
	color: var(--wp--preset--color--accent);
	text-align: center;
	line-height: 1.1;
	transform: rotate(var(--r));
}

.lingoa-stamp strong {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}

.lingoa-stamp span {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	max-width: 6rem;
}

.lingoa-stamps > .lingoa-stamp:nth-child(even),
.lingoa-ladder > :nth-child(even) > .lingoa-stamp {
	width: 8.25rem;
	border-radius: var(--wp--custom--radius--lg);
}

.lingoa-stamps > :nth-child(2),
.lingoa-ladder > :nth-child(2) > .lingoa-stamp { --r: 4deg; }
.lingoa-stamps > :nth-child(3),
.lingoa-ladder > :nth-child(3) > .lingoa-stamp { --r: -3deg; }
.lingoa-stamps > :nth-child(4),
.lingoa-ladder > :nth-child(4) > .lingoa-stamp { --r: 7deg; }
.lingoa-stamps > :nth-child(5),
.lingoa-ladder > :nth-child(5) > .lingoa-stamp { --r: -8deg; }
.lingoa-stamps > :nth-child(6),
.lingoa-ladder > :nth-child(6) > .lingoa-stamp { --r: 3deg; }

/* Six small stamps on the passport page in the hero. */
.lingoa-stamps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	justify-items: center;
	gap: var(--wp--preset--spacing--30);
}

.lingoa-stamps > .lingoa-stamp {
	width: 5rem;
	height: 5rem;
	padding: 0.35rem;
	border-width: 1.5px;
	outline-offset: -5px;
	animation: lingoa-press 0.22s ease-out;
}

.lingoa-stamps > .lingoa-stamp strong {
	font-size: var(--wp--preset--font-size--x-large);
}

.lingoa-stamps > .lingoa-stamp:nth-child(even) {
	width: 5.75rem;
}

.lingoa-stamps > .lingoa-stamp span {
	max-width: 4.25rem;
	font-size: 0.65rem;
}

.lingoa-stamps > :nth-child(2) { animation-delay: 0.06s; }
.lingoa-stamps > :nth-child(3) { animation-delay: 0.12s; }
.lingoa-stamps > :nth-child(4) { animation-delay: 0.18s; }
.lingoa-stamps > :nth-child(5) { animation-delay: 0.24s; }
.lingoa-stamps > :nth-child(6) { animation-delay: 0.3s; }

/*
 * The one motion moment: on load the six stamps press onto the page one after another.
 * Every keyframe starts and ends at rest, so a static capture always shows the stamped page
 * (nothing is hidden at frame 0). Total length about 0.52 s.
 */
@keyframes lingoa-press {
	0%,
	100% {
		transform: rotate(var(--r)) scale(1);
	}

	35% {
		transform: rotate(var(--r)) scale(1.12);
	}

	70% {
		transform: rotate(var(--r)) scale(0.95);
	}
}

/*
 * The stamp ladder (levels section): six columns, each a stamp, what you can do and a note.
 * Each level sits one step higher than the one before, so the row climbs from A1 to C2.
 */
.lingoa-ladder {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: start;
	column-gap: var(--wp--preset--spacing--40);
	row-gap: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--40);
	border-bottom: 1px solid var(--wp--preset--color--ink);
}

.lingoa-ladder > .wp-block-group {
	margin-block-start: 0 !important;
}

.lingoa-ladder > .wp-block-group > * {
	margin-block: 0;
}

.lingoa-ladder > .wp-block-group > .lingoa-stamp {
	margin-bottom: var(--wp--preset--spacing--40) !important;
}

.lingoa-ladder h3 {
	font-size: var(--wp--preset--font-size--large);
}

.lingoa-ladder h3 + p {
	margin-top: 0.4rem;
	color: var(--wp--preset--color--ink-soft);
	font-size: var(--wp--preset--font-size--small);
}

@media (min-width: 1100px) {
	.lingoa-ladder > :nth-child(1) { margin-top: 10rem !important; }
	.lingoa-ladder > :nth-child(2) { margin-top: 8rem !important; }
	.lingoa-ladder > :nth-child(3) { margin-top: 6rem !important; }
	.lingoa-ladder > :nth-child(4) { margin-top: 4rem !important; }
	.lingoa-ladder > :nth-child(5) { margin-top: 2rem !important; }
}

@media (max-width: 1099px) {
	.lingoa-ladder {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.lingoa-ladder {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lingoa-ladder > .wp-block-group > .lingoa-stamp {
		width: 6.5rem;
		height: 6.5rem;
	}

	.lingoa-ladder > :nth-child(even) > .lingoa-stamp {
		width: 7.5rem;
	}

	.lingoa-stamps {
		gap: var(--wp--preset--spacing--20);
	}

	.lingoa-stamps > .lingoa-stamp {
		width: 4.5rem;
		height: 4.5rem;
	}

	.lingoa-stamps > .lingoa-stamp:nth-child(even) {
		width: 5.1rem;
	}
}

/* "New course": the only other place stamp red appears. */
.lingoa-new {
	display: inline-block;
	margin-inline-start: 0.35em;
	padding: 0.05em 0.45em;
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8em;
	font-weight: 600;
	line-height: 1.5;
	vertical-align: 0.1em;
	white-space: nowrap;
}

/* ---------- Languages ---------- */

.lingoa-languages > .wp-block-group {
	border-top: 1px solid var(--wp--preset--color--ink);
	padding-top: var(--wp--preset--spacing--30);
}

.lingoa-languages > .wp-block-group > * {
	margin-block: 0;
}

.lingoa-languages h3 {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
}

.lingoa-languages h3 span {
	margin-inline-start: 0.5em;
	font-weight: 400;
	color: var(--wp--preset--color--ink-soft);
}

.lingoa-languages h3 + p {
	margin-top: 0.5rem;
	color: var(--wp--preset--color--ink-soft);
}

/* ---------- Courses: a table built from rows ---------- */

.lingoa-courses {
	border-bottom: 1px solid var(--wp--preset--color--ink);
}

.lingoa-courses > .wp-block-group {
	display: grid;
	grid-template-columns: 4rem minmax(0, 1fr) 8rem 10rem 13rem;
	align-items: center;
	column-gap: var(--wp--preset--spacing--40);
	padding-block: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--line);
	margin-block-start: 0 !important;
	scroll-margin-top: 7rem;
}

.lingoa-courses > .wp-block-group > * {
	margin: 0 !important;
}

/* The header row: column names over the table. */
.lingoa-courses > .lingoa-courses-head {
	padding-block: 0 0.6rem;
	border-top: 0;
	border-bottom: 1px solid var(--wp--preset--color--ink);
}

.lingoa-courses > .lingoa-courses-head + .wp-block-group {
	border-top: 0;
}

.lingoa-courses-head > :first-child {
	grid-column: 2;
}

.lingoa-courses h3 {
	font-size: var(--wp--preset--font-size--x-large);
}

.lingoa-courses h3 + p {
	margin-top: 0.3rem !important;
	color: var(--wp--preset--color--ink-soft);
}

.lingoa-courses .lingoa-figure {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 899px) {
	.lingoa-courses > .lingoa-courses-head {
		display: none;
	}

	.lingoa-courses > .wp-block-group {
		grid-template-columns: 3.25rem minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--10);
		border-top: 1px solid var(--wp--preset--color--line);
	}

	.lingoa-courses > .lingoa-courses-head + .wp-block-group {
		border-top: 1px solid var(--wp--preset--color--ink);
	}

	.lingoa-courses > .wp-block-group > :nth-child(n + 3) {
		grid-column: 2;
	}
}

/* ---------- Block style: Image "Line drawing" ---------- */

.wp-block-image.is-style-lingoa-drawing {
	margin: 0;
}

.wp-block-image.is-style-lingoa-drawing img {
	display: block;
	width: 100%;
	height: auto;
	filter: var(--wp--custom--drawing-filter, none);
}

/* ---------- Step numbers: only for real sequences ---------- */

.lingoa-mark {
	display: inline-grid;
	place-items: center;
	width: 2.2rem;
	height: 2.2rem;
	border: 1.5px solid var(--wp--preset--color--primary);
	border-radius: var(--wp--custom--radius--sm);
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	line-height: 1;
}

/* ---------- Timetable ---------- */

.lingoa-timetable {
	border-top: 1px solid var(--wp--preset--color--ink);
}

.lingoa-timetable > .wp-block-group {
	display: grid;
	grid-template-columns: 8rem minmax(0, 1fr);
	align-items: start;
	column-gap: var(--wp--preset--spacing--40);
	padding-block: var(--wp--preset--spacing--30);
	border-bottom: 1px solid var(--wp--preset--color--line);
	margin-block-start: 0 !important;
}

.lingoa-timetable > .wp-block-group > * {
	margin: 0 !important;
}

.lingoa-timetable > .wp-block-group > p:first-child {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	padding-top: 0.45rem;
}

.lingoa-day {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
}

/* A class: solid hairline = at the school, dashed = online. */
.lingoa-day > p.lingoa-class {
	margin: 0 !important;
	padding: 0.45rem 0.75rem;
	border: 1px solid var(--wp--preset--color--ink);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.35;
}

.lingoa-day > p.lingoa-class.is-online {
	border-style: dashed;
}

.lingoa-class strong {
	margin-inline-end: 0.5em;
	font-family: var(--wp--preset--font-family--heading);
	font-variant-numeric: tabular-nums;
}

.lingoa-key {
	display: inline-block;
	width: 1.6rem;
	height: 0.9rem;
	margin-inline-end: 0.4em;
	vertical-align: -0.05em;
	border: 1px solid var(--wp--preset--color--ink);
	border-radius: var(--wp--custom--radius--sm);
}

.lingoa-key.is-online {
	margin-inline-start: 1.2em;
	border-style: dashed;
}

@media (max-width: 599px) {
	.lingoa-timetable > .wp-block-group {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--20);
	}
}

/* ---------- Helper: 4-item grid (4 → 2 → 1 columns, never 3 + 1) ---------- */

@media (max-width: 1100px) {
	.wp-block-group.lingoa-grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 599px) {
	.wp-block-group.lingoa-grid-4 {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* ---------- Block style: Image "Icon tile" ---------- */

.wp-block-image.is-style-lingoa-icon {
	width: 2.75rem;
	height: 2.75rem;
	padding: 0.6rem;
	margin: 0;
	box-sizing: border-box;
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--preset--color--primary);
	flex: none;
}

.wp-block-image.is-style-lingoa-icon img {
	display: block;
	width: 100%;
	height: 100%;
}

/* ---------- Block style: Image "Photo" ---------- */

.wp-block-image.is-style-lingoa-photo img {
	border-radius: var(--wp--custom--radius--sm);
}

/* ---------- Block style: List "Ticks" ---------- */

.is-style-lingoa-check {
	list-style: none;
	padding-left: 0;
}

.is-style-lingoa-check li {
	position: relative;
	padding-left: 1.9rem;
	margin-block: 0.5rem;
}

.is-style-lingoa-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 1.1rem;
	height: 1.1rem;
	background-color: var(--wp--preset--color--primary);
	-webkit-mask: url("../images/icons/check.svg") center / contain no-repeat;
	mask: url("../images/icons/check.svg") center / contain no-repeat;
}

/* ---------- Helper: rows (opening hours) ---------- */

.lingoa-rows > .wp-block-group {
	padding-block: 0.7rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
	margin-block-start: 0;
}

.lingoa-rows > .wp-block-group:last-child {
	border-bottom: 0;
}

.lingoa-rows p {
	margin: 0;
}

.lingoa-rows > .wp-block-group > p:last-child {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* ---------- Ruled blocks: quotes (reviews), contact details, study modes ---------- */

.lingoa-ruled,
.lingoa-quote {
	border-top: 1px solid var(--wp--preset--color--ink);
	padding-top: var(--wp--preset--spacing--40);
}

.lingoa-quote > p:first-child {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
}

/* ---------- Details (FAQ) ---------- */

.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--ink);
	padding-block: var(--wp--preset--spacing--30);
}

.wp-block-details summary {
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 2.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 400;
	font-size: 1.6em;
	line-height: 1;
	color: var(--wp--preset--color--primary);
}

.wp-block-details[open] summary::after {
	content: "\2013";
}

.wp-block-details > :not(summary) {
	color: var(--wp--preset--color--ink-soft);
}

/* ---------- Posts ---------- */

.lingoa-post-card .wp-block-post-featured-image img {
	border-radius: var(--wp--custom--radius--sm);
}

.wp-block-post-excerpt__more-link {
	font-weight: 600;
}

/* ---------- Accessibility ---------- */

:where(a, button, summary, input):focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.lingoa-stamps > .lingoa-stamp {
		animation: none;
	}
}

/* Dropdown menus: solid panel on desktop. */
.wp-block-navigation:not(.is-menu-open) .wp-block-navigation__submenu-container { background-color: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--ink) !important; border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 12%, transparent) !important; border-radius: 10px; box-shadow: 0 12px 30px color-mix(in srgb, var(--wp--preset--color--ink) 14%, transparent); padding: .4rem 0; min-width: 210px !important; }
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .5rem 1.1rem; font-size: var(--wp--preset--font-size--small); color: inherit; }
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background-color: color-mix(in srgb, var(--wp--preset--color--ink) 6%, transparent); }

/* Mobile menu: right-hand side panel (simple fade-in) with logo, divided list, tap-to-open child items, contact lines and button. */
.wp-block-navigation__responsive-container.is-menu-open { background-color: color-mix(in srgb, var(--wp--preset--color--ink) 45%, transparent) !important; color: var(--wp--preset--color--ink) !important; padding: 0 !important; animation: lt-menu-fade .3s ease-out !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close { position: relative; width: min(86vw, 360px); max-width: none; height: 100%; margin: 0 0 0 auto; background-color: var(--wp--preset--color--base); box-shadow: -8px 0 30px color-mix(in srgb, var(--wp--preset--color--ink) 18%, transparent); overflow-y: auto; animation: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { padding: 1.1rem 1.4rem 2rem; margin: 0 !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { top: 1.25rem; right: 1.1rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 1.75rem !important; gap: 0 !important; font-size: var(--wp--preset--font-size--medium); align-items: stretch !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; align-items: stretch !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item { display: flex; flex-direction: row !important; flex-wrap: wrap; align-items: center !important; width: 100%; border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 12%, transparent); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { flex: 1; padding: .85rem 0; font-weight: 600; color: inherit; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { flex-basis: 100%; display: none !important; border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 0 .7rem 1rem !important; gap: 0 !important; font-size: var(--wp--preset--font-size--small); }
.wp-block-navigation__responsive-container.is-menu-open .lt-sub-open > .wp-block-navigation__submenu-container { display: flex !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .45rem 0 !important; color: color-mix(in srgb, var(--wp--preset--color--ink) 78%, transparent); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover, .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus { color: var(--wp--preset--color--primary); }
.lt-sub-toggle { display: none; }
.wp-block-navigation__responsive-container.is-menu-open .lt-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -.6rem; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; transition: transform .2s; }
.wp-block-navigation__responsive-container.is-menu-open .lt-sub-open > .lt-sub-toggle { transform: rotate(90deg); }
.lt-menu-brand, .lt-menu-extra { display: none; }
.is-menu-open .lt-menu-brand { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 3rem 0 0 !important; margin: 0 !important; position: static !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.is-menu-open .lt-menu-brand > * { display: flex; align-items: center; gap: .6rem; margin: 0; }
.is-menu-open .lt-menu-brand .wp-block-site-title { font-size: var(--wp--preset--font-size--large); }
.is-menu-open .lt-menu-brand a { color: inherit; text-decoration: none; }
.is-menu-open .lt-menu-extra { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.5rem; font-size: var(--wp--preset--font-size--small); color: color-mix(in srgb, var(--wp--preset--color--ink) 75%, transparent); }
.is-menu-open .lt-menu-extra p { margin: 0; }
.is-menu-open .lt-menu-extra a { color: var(--wp--preset--color--primary); }
.is-menu-open .lt-menu-cta { display: flex !important; margin-top: .75rem; }
.is-menu-open .lt-menu-cta .wp-block-button, .is-menu-open .lt-menu-cta .wp-block-button__link { width: 100%; text-align: center; }
.is-menu-open .lt-menu-cta .wp-block-button__link { color: var(--wp--preset--color--base); }
@keyframes lt-menu-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wp-block-navigation__responsive-container.is-menu-open { animation: none !important; } }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; --navigation-layout-align: flex-start; text-align: left; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; }
