/* ==========================================================================
   Allera theme -- styles theme.json can't express (brand guide v1.1, "V2" look):
   navy blocks, 15-degree gold/green/blue stripes, slanted tags, solid gold
   highlights, squarer cards.

   Loaded on the front end AND in the block editor (add_editor_style), so the
   editor shows what visitors see. Rules that depend on a body class only work on
   the front end; keep block styling free of them.

   Look-specific rules live in look-a.css (navy header and hero) and look-b.css
   (light header and hero). Store and program-finder styles: woocommerce.css.

   Breakpoints: 300 (tiny phones) · 480 (phones) · 600 (landscape phones)
                782 (tablet portrait) · 1024 (tablet landscape / small laptop)
                1280 (desktop) · 1600 (widescreen)
   Contrast: white on navy 15.6:1, navy on gold 9.4:1, white on green-dark 5.4:1.
   Gold is only ever a fill or a stripe, never text on white.
   ========================================================================== */

:root {
	--allera-radius-s: var(--wp--custom--radius--small, 4px);
	--allera-radius-m: var(--wp--custom--radius--medium, 6px);
	--allera-radius-l: var(--wp--custom--radius--large, 10px);
	--allera-header-h: 76px;

	--v2-navy: var(--wp--preset--color--navy);
	--v2-gold: var(--wp--preset--color--gold);
	--v2-green: var(--wp--preset--color--green-dark);
	--v2-blue: var(--wp--preset--color--blue);
	--v2-surface: var(--wp--preset--color--surface);
	--v2-on-navy-muted: #D5DEEA; /* 12.3:1 on navy */
	--v2-skew: -15deg;
	--v2-tag-cut: 10px;
	/* Three stripes, thick to thin (guide p.11). One gradient, so one element = one motif. */
	--v2-stripes: linear-gradient(90deg,
		var(--v2-gold) 0 34px, transparent 34px 50px,
		var(--v2-green) 50px 70px, transparent 70px 84px,
		var(--v2-blue) 84px 94px, transparent 94px);
	--v2-stripes-w: 94px;
	--v2-stripes-sm: linear-gradient(90deg,
		var(--v2-gold) 0 14px, transparent 14px 22px,
		var(--v2-green) 22px 30px, transparent 30px 36px,
		var(--v2-blue) 36px 40px, transparent 40px);
	--v2-stripes-sm-w: 40px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
strong, b { font-weight: 700; }
:target { scroll-margin-top: calc(var(--allera-header-h) + 1rem); }
img { height: auto; }

/* No white gap between the header's brand rule and the first section. */
/* main#main on the front end; the editor gives it the block's id instead, hence the second selector. */
main#main,
.wp-site-blocks > main,
.wp-site-blocks > .woocommerce.product /* class pages: Woo wraps main in this div */ { margin-block-start: 0; }

/* --------------------------------------------------------------------------
   Focus (WCAG 2.4.7 / 2.4.11)
   ----------------------------------------------------------------------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--v2-blue);
	outline-offset: 3px;
	/* No border-radius here: it overrode the 999px capsule radius, so buttons lost their rounded
	   corners on keyboard focus (McCoy, 2026-11). Outlines follow each element's own radius. */
}
.wp-element-button:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--v2-navy);
	outline-offset: 3px;
	border-radius: 999px;
}
:is(.has-navy-background-color, .has-night-gradient-background, .allera-v2-band, .allera-footer, .has-blue-tint-background-color.is-style-wave-top) :focus-visible {
	outline-color: var(--v2-gold);
}

.skip-link.screen-reader-text:focus {
	background: var(--v2-navy);
	color: #fff;
	padding: .75rem 1rem;
	z-index: 100000;
}

/* --------------------------------------------------------------------------
   Header (shared; colours per look in look-a.css / look-b.css)
   ----------------------------------------------------------------------- */
.allera-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff; /* No backdrop-filter: it would trap the full-screen mobile menu inside the header. */
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.admin-bar .allera-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .allera-header { top: 0; } }

.allera-header__bar { min-height: var(--allera-header-h); }
.allera-header .wp-block-site-logo img { width: clamp(132px, 22vw, 190px); }
.allera-header .wp-block-navigation a { text-decoration: none; }
.allera-header .wp-block-navigation .wp-block-navigation-item__content { padding: .5rem .25rem; }
.allera-header .wp-block-navigation .current-menu-item > a,
.allera-header .wp-block-navigation a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 8px;
	text-decoration-color: var(--v2-gold);
}
.allera-header .wp-block-navigation__responsive-container-open,
.allera-header .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; margin: 0; }
.allera-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem max(16px, 5vw); }
.allera-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	font-size: 1.5rem;
	font-weight: 700;
	gap: 1rem;
	align-items: flex-start;
	padding-top: 1.5rem;
}
.allera-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start; gap: 1.1rem; }
/* Phone menu links: 44px rows. */
.allera-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.allera-header__tools { gap: .25rem; padding-right: 4px; }
.allera-header__bar > .wp-block-group { align-items: center; }
@media (min-width: 1100px) {
	.allera-header .wp-block-navigation__container { flex-wrap: nowrap; white-space: nowrap; gap: clamp(.75rem, 1.6vw, 1.5rem) !important; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
	.allera-header .wp-block-navigation { font-size: 1rem; }
	.allera-header .allera-header__cta { display: none; }
}
.allera-header__tools .wp-block-woocommerce-customer-account a,
.allera-header__tools .wc-block-mini-cart__button { min-width: 44px; min-height: 44px; }
.allera-header .allera-header__cta .wp-block-button__link { padding: .65rem 1.15rem; font-size: 1rem; white-space: nowrap; min-height: 44px; }
@media (max-width: 480px) {
	.allera-header .allera-header__cta { display: none; }
}

/* Collapse the menu into the hamburger below 1100px (core only offers a 600px switch). */
@media (max-width: 1099px) {
	.allera-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.allera-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}

/* Thin brand rule under the header and above the footer: the three stripe colours. */
.allera-rainbow {
	height: 6px;
	margin: 0 !important;
	background: linear-gradient(90deg, var(--v2-gold) 0 50%, var(--v2-green) 50% 80%, var(--v2-blue) 80%);
}
/* Editor: the strip is an empty group, so the editor drops its white "choose a layout" placeholder
   inside it, which hid the colours. The strip is meant to be empty; hide the placeholder. */
.allera-rainbow > .components-placeholder { display: none; }

/* --------------------------------------------------------------------------
   Tags, highlight, check lists
   ----------------------------------------------------------------------- */
/* Slanted tag label (the "Eyebrow" heading style and .allera-eyebrow paragraphs). */
:is(h1, h2, h3, h4, h5, h6).is-style-eyebrow,
.allera-eyebrow {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin-bottom: .75rem;
	padding: .4rem calc(var(--v2-tag-cut) + .85rem);
	background: var(--v2-navy);
	color: #fff;
	font-size: .875rem !important;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: .09em;
	text-transform: uppercase;
	clip-path: polygon(var(--v2-tag-cut) 0, 100% 0, calc(100% - var(--v2-tag-cut)) 100%, 0 100%);
}
.allera-eyebrow.has-text-align-center,
.is-style-eyebrow.has-text-align-center { margin-inline: auto; }
.allera-eyebrow + :is(h1, h2) { margin-top: .25rem; }
:is(.has-navy-background-color, .has-night-gradient-background, .allera-v2-band) :is(.is-style-eyebrow, .allera-eyebrow) {
	background: var(--v2-gold);
	color: var(--v2-navy);
}
/* Footer column headings stay as plain gold text: a column of tags would be too loud. */
.allera-footer .wp-block-heading.is-style-eyebrow {
	background: none;
	color: var(--v2-gold);
	padding: 0;
	clip-path: none;
	letter-spacing: .12em;
}

/* Solid gold block behind key words (navy text on gold, 9.4:1). */
.allera-highlight {
	background: var(--v2-gold);
	color: var(--v2-navy);
	padding: 0 .14em;
	line-height: 1.2;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Check lists: a slanted bar per item. */
.is-style-checks { list-style: none; padding-left: 0; }
.is-style-checks li { position: relative; padding-left: 1.6rem; margin-block: .5rem; }
.is-style-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2em;
	width: .5rem;
	height: 1.2em;
	background: var(--v2-green);
	transform: skewX(var(--v2-skew));
}
:is(.has-navy-background-color, .has-night-gradient-background, .allera-v2-band) .is-style-checks li::before { background: var(--v2-gold); }

/* Lists of links or contact details: no bullets (was an inline style the list block can't save). */
:is(.allera-contact-list, .allera-footer .wp-block-list) { list-style: none; padding-left: 0; }
.allera-contact-list li { margin-block: .4rem; }

/* Text placed over photos keeps 4.5:1 contrast via a shadow. */
.wp-block-cover .wp-block-cover__inner-container :is(h1, h2, h3, p) { text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }

/* Dark sections: headings, links and body copy switch to light colours. */
:is(.has-navy-background-color, .has-night-gradient-background) :is(h1, h2, h3, h4, h5, h6) { color: #fff; }
:is(.has-navy-background-color, .has-night-gradient-background) a:where(:not(.wp-element-button)) { color: #fff; }

/* --------------------------------------------------------------------------
   Buttons (capsules, label centred both ways -- playbook 5)
   ----------------------------------------------------------------------- */
.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	text-align: center;
	min-height: 44px;
	transition: background-color .15s ease, transform .15s ease;
}
.wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button__width-100 .wp-block-button__link { width: 100%; }
.wp-block-button.is-style-green .wp-block-button__link { background: var(--v2-green); color: #fff; }
.wp-block-button.is-style-green .wp-block-button__link:hover { background: var(--v2-navy); }
.wp-block-button.is-style-gold .wp-block-button__link { background: var(--v2-gold); color: var(--v2-navy); }
.wp-block-button.is-style-gold .wp-block-button__link:hover { background: #fff; color: var(--v2-navy); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--v2-navy); border: 2px solid var(--v2-navy); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--v2-navy); color: #fff; }
.wp-block-button.is-style-outline-light .wp-block-button__link { background: transparent; color: #fff; border: 2px solid #fff; }
.wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: #fff; color: var(--v2-navy); }

/* --------------------------------------------------------------------------
   Photos with stripes (block style "Photo with stripes", class is-style-blob)
   The offset block and stripes live in photo-stripes.css (Captain's pick,
   2026-11-18). The whole photo always shows; nothing is cut or covered.
   ----------------------------------------------------------------------- */
.is-style-blob img {
	/* Natural proportions, never cropped: whatever photo goes here shows whole (Captain, 2026-11-18). */
	display: block;
	width: 100%;
	height: auto;
}
.wp-block-image.is-style-rounded img,
.allera-rounded img { border-radius: var(--allera-radius-l); }

/* --------------------------------------------------------------------------
   Cards
   ----------------------------------------------------------------------- */
.is-style-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--allera-radius-m);
	box-shadow: var(--wp--preset--shadow--card);
	padding: var(--wp--preset--spacing--30);
	height: 100%;
}

/* Sport cards (pattern: sports grid) */
.allera-sport-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--allera-radius-m);
	background: #fff;
	box-shadow: var(--wp--preset--shadow--card);
	transition: transform .2s ease, box-shadow .2s ease;
	height: 100%;
}
.allera-sport-card:hover, .allera-sport-card:focus-within { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--lift); }
.allera-sport-card .wp-block-image { margin: 0; }
.allera-sport-card .wp-block-image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
	display: block;
	/* No angled cut: it trimmed feet, balls and a face on the corner (Captain, 2026-11-18: no photo is ever cut). */
}
.allera-sport-card__body { padding: .25rem 1.25rem 1.25rem; position: relative; }
.allera-sport-card__body::before {
	content: "";
	display: block;
	width: 3.25rem;
	height: .45rem;
	margin: 0 0 .65rem .2rem;
	background: var(--v2-gold);
	transform: skewX(var(--v2-skew));
}
.allera-sport-card h3 { font-size: var(--wp--preset--font-size--large); margin: 0 0 .25rem; }
.allera-sport-card h3 a { color: inherit; text-decoration: none; }
.allera-sport-card h3 a::after { content: ""; position: absolute; inset: 0; } /* Whole card is the link target. */
.allera-sport-card p { margin: 0; color: var(--wp--preset--color--muted); }

/* Program type cards */
.allera-type-card { text-align: left; gap: .5rem; border-top: 6px solid var(--v2-gold); }
.allera-type-card .allera-mascot { margin: -1rem auto 0 0; }
.allera-type-card .wp-block-buttons { margin-top: auto; }
.allera-type-card__tag {
	display: block;
	width: fit-content;
	margin: 0;
	padding: .3rem calc(var(--v2-tag-cut) + .6rem);
	background: var(--v2-navy);
	color: #fff;
	font-size: .8125rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	clip-path: polygon(var(--v2-tag-cut) 0, 100% 0, calc(100% - var(--v2-tag-cut)) 100%, 0 100%);
}
/* The program types section sits on the light surface. */
.alignfull:has(> .wp-block-columns .allera-type-card) { background: var(--v2-surface); }

/* Numbered steps: gold parallelograms (navy text, 9.4:1). */
.allera-step .is-style-card { text-align: left; }
.allera-step__num,
.allera-step .is-style-card p.allera-step__num {
	display: inline-grid;
	place-items: center;
	width: 4rem;
	height: 3rem;
	margin-bottom: .5rem;
	background: var(--v2-gold);
	color: var(--v2-navy);
	font-weight: 800;
	font-size: 1.625rem;
	clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

/* Mascot decoration */
.allera-mascot img { filter: drop-shadow(0 12px 18px rgba(11, 37, 69, .18)); }
@media (prefers-reduced-motion: no-preference) {
	.allera-mascot--bounce img { animation: allera-bob 4s ease-in-out infinite; }
	@keyframes allera-bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
}

/* FAQ accordions */
.wp-block-details summary {
	cursor: pointer;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--large);
	color: var(--v2-navy);
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	min-height: 44px;
	align-items: center;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+";
	flex: none;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2rem;
	background: var(--v2-navy);
	color: #fff;
	font-weight: 800;
	clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { margin-top: .75rem; }

/* --------------------------------------------------------------------------
   Page title band (every inner page): stripes at the right, leaning forward
   ----------------------------------------------------------------------- */
.allera-page-hero { position: relative; overflow: hidden; }
.allera-page-hero::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: max(16px, calc((100vw - 1240px) / 2));
	width: var(--v2-stripes-w);
	background: var(--v2-stripes);
	transform: skewX(var(--v2-skew));
	transform-origin: bottom left;
	pointer-events: none;
}
.allera-page-hero > * { position: relative; z-index: 1; }
.allera-page-hero.is-layout-constrained > :not(.alignfull):not(.alignleft):not(.alignright) {
	max-width: var(--wp--style--global--wide-size);
}
@media (max-width: 781px) {
	.allera-page-hero::after { width: var(--v2-stripes-sm-w); background: var(--v2-stripes-sm); right: 24px; }
	.allera-page-hero > * { padding-right: 3.25rem; }
}

/* --------------------------------------------------------------------------
   Navy bands with stripes: "Signing up is easy" (blue tint + Feature band),
   the schools call to action (Night gradient), and any group given .allera-v2-band.
   ----------------------------------------------------------------------- */
.allera-v2-band,
.has-blue-tint-background-color.is-style-wave-top,
.wp-block-group.has-night-gradient-background { /* beats the gradient's own !important class */
	background: var(--v2-navy) !important;
	color: #fff;
	position: relative;
	overflow: hidden;
}
:is(.allera-v2-band, .has-blue-tint-background-color.is-style-wave-top, .has-night-gradient-background)::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: max(24px, calc((100vw - 1240px) / 2 - 40px));
	width: var(--v2-stripes-w);
	background: var(--v2-stripes);
	transform: skewX(var(--v2-skew));
	transform-origin: bottom left;
	pointer-events: none;
}
:is(.allera-v2-band, .has-blue-tint-background-color.is-style-wave-top, .has-night-gradient-background) > * { position: relative; z-index: 1; }
/* :not() keeps the gold tags' navy text: these selectors outrank the tag rule (0,2,1 vs 0,2,0), which
   left the schools tag as pale text on gold (1.6:1) after the first V2 pass. */
:is(.allera-v2-band, .has-blue-tint-background-color.is-style-wave-top) :is(h1, h2, h3, h4):not(.is-style-eyebrow) { color: #fff; }
:is(.allera-v2-band, .has-blue-tint-background-color.is-style-wave-top, .has-night-gradient-background) p:not(.allera-eyebrow):not(.allera-step__num) { color: var(--v2-on-navy-muted); }
.has-blue-tint-background-color.is-style-wave-top .is-style-card {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}
@media (min-width: 1024px) {
	.has-blue-tint-background-color.is-style-wave-top > .wp-block-columns { padding-right: 8rem; }
}
@media (max-width: 781px) {
	:is(.allera-v2-band, .has-blue-tint-background-color.is-style-wave-top, .has-night-gradient-background)::after {
		width: var(--v2-stripes-sm-w);
		background: var(--v2-stripes-sm);
		right: 8px;
	}
	:is(.allera-v2-band, .has-blue-tint-background-color.is-style-wave-top, .has-night-gradient-background) > * { padding-right: 2.25rem; }
	:is(.allera-v2-band, .has-blue-tint-background-color.is-style-wave-top, .has-night-gradient-background) > .wp-block-buttons { padding-right: 0; }
}

/* Discounts (gold tint + Feature band): navy tickets with a stripe edge, on white. */
.has-gold-tint-background-color.is-style-wave-top { background: #fff !important; }
.has-gold-tint-background-color.is-style-wave-top .wp-block-column > .has-white-background-color {
	background: var(--v2-navy) !important;
	border-radius: 0 !important;
	color: #fff;
	position: relative;
	overflow: hidden;
	height: 100%;
	padding-right: calc(var(--wp--preset--spacing--40) + 2rem) !important;
}
.has-gold-tint-background-color.is-style-wave-top .wp-block-column > .has-white-background-color::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: -6px;
	width: var(--v2-stripes-sm-w);
	background: var(--v2-stripes-sm);
	transform: skewX(var(--v2-skew));
	transform-origin: bottom left;
}
.has-gold-tint-background-color.is-style-wave-top .has-white-background-color :is(h3, p) { color: #fff; }
.has-gold-tint-background-color.is-style-wave-top .has-white-background-color p:not(.has-x-large-font-size) { color: var(--v2-on-navy-muted); }
.has-gold-tint-background-color.is-style-wave-top .has-white-background-color .has-green-dark-color {
	color: var(--v2-navy) !important;
	background: var(--v2-gold);
	width: fit-content;
	margin-inline: auto;
	padding: 0 .2em;
	line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Home hero (colours per look in look-a.css / look-b.css)
   ----------------------------------------------------------------------- */
.allera-hero { position: relative; overflow: hidden; }
.allera-hero h1 { letter-spacing: -.025em; line-height: 1.04; }
.allera-hero__media { position: relative; }
/* Three classes: the editor gives every block position: relative at two-class strength. */
.allera-hero__media .wp-block-image.allera-hero__mascot { position: absolute; left: -1.5rem; bottom: -1.5rem; z-index: 2; margin: 0 !important; }
.allera-hero__proof { margin-top: var(--wp--preset--spacing--30); }
.allera-hero__proof li { font-weight: 600; }
@media (min-width: 782px) {
	.allera-hero__proof { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
}
@media (max-width: 781px) {
	.allera-hero .allera-hero__media { max-width: none; width: 100%; margin-inline: auto; }
	/* Bottom left, over the blacktop: the right side has the stripes and the girl's raised hand. */
	.allera-hero__media .wp-block-image.allera-hero__mascot { left: 0; bottom: -1.25rem; } /* inside the 16px gutter */
	.allera-hero__mascot img { width: 104px !important; }
}

/* Sections built at 1100px line up with the logo (the 1240px wide size), playbook 5. */
:is(
	.alignfull:has(> .wp-block-columns > .wp-block-column > .is-style-blob),
	.has-night-gradient-background,
	#contact
) > :not(.alignfull):not(.alignleft):not(.alignright) {
	max-width: var(--wp--style--global--wide-size);
}

/* --------------------------------------------------------------------------
   Footer: stripes at the right edge on wide screens
   ----------------------------------------------------------------------- */
.allera-footer { position: relative; overflow: hidden; }
.allera-footer > * { position: relative; z-index: 1; }
.allera-footer a { color: #fff; }
.allera-footer .wp-block-navigation a { text-decoration: none; }
.allera-footer .wp-block-navigation a:hover { text-decoration: underline; }
.allera-footer .wp-block-social-links .wp-social-link { background: rgba(255, 255, 255, .12); }
.allera-footer .wp-block-separator { opacity: .25; }
/* Footer link lists: 44px rows (stacked links, not links in sentences). */
.allera-footer .wp-block-list a,
.allera-footer p a { display: inline-flex; align-items: center; min-height: 44px; }
.allera-footer .wp-block-list li { margin: 0; }
@media (min-width: 1100px) {
	.allera-footer::after {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		right: 40px;
		width: var(--v2-stripes-w);
		background: var(--v2-stripes);
		transform: skewX(var(--v2-skew));
		transform-origin: bottom left;
		pointer-events: none;
		opacity: .9;
	}
	.allera-footer > .alignwide { padding-right: 7rem; }
}

/* --------------------------------------------------------------------------
   Inner pages: title and reading column start at the logo's edge (playbook 5)
   instead of a centred 760px column; text keeps its 760px measure.
   The body-class selectors cover the front end (including the store pages); the
   .allera-page-hero sibling selectors do the same in the editor, which has no
   body classes.
   ----------------------------------------------------------------------- */
.allera-v2:not(.home) main .wp-block-post-content.is-layout-constrained > :not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright),
.allera-v2:not(.home) main .wp-block-post-content .is-layout-constrained > :not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright),
.allera-page-hero ~ .wp-block-post-content.is-layout-constrained > :not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright),
.allera-page-hero ~ .wp-block-post-content .is-layout-constrained > :not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright) {
	margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important;
}

/* --------------------------------------------------------------------------
   Gravity Forms in the Allera style ("Orbital" theme)
   ----------------------------------------------------------------------- */
.gform-theme--framework {
	--gf-color-primary: var(--wp--preset--color--blue-dark);
	--gf-color-primary-rgb: 19, 90, 146;
	--gf-color-primary-darker: var(--v2-navy);
	--gf-color-in-ctrl-primary: var(--wp--preset--color--blue-dark);
	--gf-ctrl-border-color: #6B7280;
	--gf-ctrl-radius: 10px;
	--gf-ctrl-size: 2.75rem;
	--gf-font-family-base: inherit;
	--gf-font-family-primary: inherit;
	--gf-font-family-secondary: inherit;
	--gf-font-family-tertiary: inherit;
	--gf-ctrl-font-size: 1rem;
	--gf-ctrl-label-font-size-primary: 1.0625rem;
	--gf-ctrl-label-font-size-secondary: .9375rem;
	--gf-ctrl-label-font-size-tertiary: 1rem;
	--gf-ctrl-label-font-weight-primary: 700;
	--gf-ctrl-label-color-primary: var(--v2-navy);
	--gf-ctrl-label-color-secondary: var(--wp--preset--color--muted);
	--gf-ctrl-desc-font-size: .9375rem;
	--gf-ctrl-desc-color: var(--wp--preset--color--muted);
	--gf-ctrl-choice-size: 1.25rem;
	--gf-ctrl-btn-bg-color-primary: var(--v2-green);
	--gf-ctrl-btn-bg-color-hover-primary: #00612C;
	--gf-ctrl-btn-radius: 999px;
	--gf-ctrl-btn-font-size: 1.0625rem;
	--gf-ctrl-btn-font-weight: 700;
	--gf-ctrl-btn-size: 3rem;
	--gf-ctrl-btn-padding-x: 1.75rem;
	--gf-field-gap-y: 1.5rem;
}
.gform-theme--framework .gform_required_legend { font-size: .9375rem; color: var(--wp--preset--color--muted); }
/* 44px fields and button, the same capsule and strong focus ring as every other control. */
.gform-theme--framework .gfield input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.gform-theme--framework .gfield select { min-height: 44px; }
.gform-theme--framework .gchoice { min-height: 32px; display: flex; align-items: center; }
.allera-v2 .gform_wrapper .gform_button,
.allera-v2 .gform-theme--framework .gform_footer .gform_button {
	min-height: 44px !important;
	height: auto !important;
	padding: .75rem 1.6rem !important;
	font-size: 1.0625rem !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
.allera-v2 .gform_wrapper .gform_button:focus-visible {
	outline: 3px solid var(--v2-navy) !important;
	outline-offset: 3px !important;
	box-shadow: none !important;
}
.allera-v2 .gform_wrapper :is(input, textarea, select):focus-visible {
	outline: 3px solid var(--v2-blue) !important;
	outline-offset: 2px !important;
	box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   Responsive and print
   ----------------------------------------------------------------------- */
@media (max-width: 300px) {
	body { font-size: 1rem; }
	.wp-block-button__link { padding-left: 1rem; padding-right: 1rem; }
	.allera-header .wp-block-site-logo img { width: 112px; }
	h1 { font-size: 2.125rem !important; }
}
@media (max-width: 600px) {
	.wp-block-columns.allera-stack-reverse { flex-direction: column-reverse; }
	.wp-block-buttons > .wp-block-button { flex: 1 1 100%; }
	.wp-block-buttons > .wp-block-button .wp-block-button__link { width: 100%; text-align: center; }
}
@media (max-width: 781px) {
	.allera-eyebrow, .is-style-eyebrow { font-size: .8125rem !important; letter-spacing: .07em; }
}
@media (min-width: 601px) and (max-width: 900px) and (orientation: landscape) {
	:root { --allera-header-h: 64px; }
}
@media (min-width: 782px) and (max-width: 1023px) {
	.allera-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (min-width: 1600px) {
	body { font-size: 1.1875rem; }
}
@media print {
	.allera-header, .allera-footer, .allera-cookie, .wp-block-buttons { display: none !important; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
