/* ==========================================================================
   Lou Shapiro theme: what theme.json can't express.
   Colours and type come from theme.json presets; this file only arranges.
   ========================================================================== */

/* ---- Boxed page on wide screens (matches the live site's framed layout) --
   The previous site's page box is 1540px wide, centred, with 60px below it.
   Narrower screens get the full width. */
@media (min-width: 1541px) {
	.wp-site-blocks {
		max-width: 1540px;
		margin-inline: auto;
		box-shadow: 0 0 100px rgb(0 0 0 / 0.2);
		margin-bottom: 60px;
		position: relative;
	}
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Body text is weight 300, so "bolder" would only reach 400. The previous
   site's bold was 700, the only other Museo Sans weight loaded. */
strong,
b {
	font-weight: 700;
}

/* ---- Focus: always visible, never colour alone (WCAG 2.4.7) ---- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--wp--preset--color--navy);
	outline-offset: 3px;
	border-radius: 2px;
}
.has-navy-background-color :focus-visible,
.lou-header :focus-visible,
.wp-block-cover :focus-visible {
	outline-color: var(--wp--preset--color--gold-light);
}

.screen-reader-text:not(:focus) {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* ---- Heading bars ---- */
.is-style-bar::after,
.is-style-bar-light::after,
.is-style-bar-small::after {
	content: "";
	display: block;
	width: 50px;
	height: 10px;
	margin-top: 22px; /* previous site: bar 32px below the heading box */
	background: var(--wp--preset--color--gold);
}
.is-style-bar-light::after {
	height: 15px;
	margin-top: calc(2rem - 15px);
	background: var(--wp--preset--color--gold-light);
}
.is-style-bar-small::after {
	width: 30px;
	margin-top: 0.45em;
}
.has-text-align-center.is-style-bar::after,
.has-text-align-center.is-style-bar-light::after,
.has-text-align-center.is-style-bar-small::after {
	margin-inline: auto;
}

/* Eyebrow line above section headings */
.is-eyebrow {
	color: var(--wp--preset--color--gold-dark);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--medium);
	margin-bottom: 5px !important;
}

/* ---- Header ---- */
.lou-header {
	position: relative;
	z-index: 30;
}
/* Over the hero photo. The previous site faded from 70% black; this holds
   65% or more through the text rows so the menu reads at 4.5:1 or better
   wherever the photo is bright (WCAG 1.4.3). */
.lou-header--overlay {
	position: absolute;
	inset: 0 0 auto 0;
	background: linear-gradient(to bottom, rgb(0 0 0 / 0.78) 0%, rgb(0 0 0 / 0.66) 62%, rgb(0 0 0 / 0) 100%);
	padding-bottom: 2.5rem !important;
}
.lou-header .wp-block-navigation {
	color: #fff;
}
.lou-header .wp-block-navigation .wp-block-navigation-item__content {
	padding-block: 0.4em;
}


/* The Contact pill */
.lou-header .wp-block-navigation-item.is-cta > .wp-block-navigation-item__content {
	background: var(--wp--preset--color--gold-dark);
	color: var(--wp--preset--color--base);
	border-radius: 40px;
	padding: 0.25em 1.45em;
	font-weight: 400;
	font-size: 0.9em;
}
.lou-header .wp-block-navigation-item.is-cta > .wp-block-navigation-item__content:hover,
.lou-header .wp-block-navigation-item.is-cta > .wp-block-navigation-item__content:focus-visible {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}

/* Mobile overlay menu, styled like the previous site's drop-down panel:
   navy, centred white items, thin dividers, group labels in bold. */
.lou-header .wp-block-navigation__responsive-container.is-menu-open {
	--navigation-layout-justification-setting: center;
	--navigation-layout-justify: center;
	--navigation-layout-align: center;
	background-color: var(--wp--preset--color--navy) !important;
	color: var(--wp--preset--color--base) !important;
	padding: 20px;
}
.lou-header .is-menu-open .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--base);
}
.lou-header .is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch;
	padding-top: 48px;
}
.lou-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	align-items: stretch;
	gap: 0;
	width: 100%;
}
.lou-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container > .wp-block-navigation-item {
	align-items: center;
	text-align: center;
	padding: 12px 0;
	border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.lou-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container > .wp-block-navigation-item:last-child {
	border-bottom: 0;
	padding-top: 20px;
}
.lou-header .is-menu-open .wp-block-navigation-item__content {
	color: var(--wp--preset--color--base);
}
.lou-header .is-menu-open .wp-block-navigation__container > .has-child > .wp-block-navigation-item__content {
	font-weight: 700;
}
.lou-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
	align-items: center;
	background: transparent;
	color: inherit;
	box-shadow: none;
	font-weight: 300;
	font-size: 0.9em;
	padding: 6px 0 0 !important;
	gap: 8px;
}

/* ---- Breadcrumbs (Yoast block) ---- */
.lou-breadcrumbs {
	font-size: 0.8rem;
	font-weight: 700;
	border-bottom: 1px solid var(--wp--preset--color--border);
}
/* Underlined: the links sit next to plain text of nearly the same colour,
   so colour alone can't mark them as links (WCAG 1.4.1). */
.lou-breadcrumbs a {
	color: var(--wp--preset--color--ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
.lou-breadcrumbs a:hover {
	text-decoration: none;
}
/* 25px between crumbs, the separator centred in it, as before */
.lou-breadcrumbs__sep {
	margin-inline: 7.5px;
}

/* ---- Inner pages: the previous site's page box ----
   padding 5% 7% of the boxed page and 1.2rem text from 992px; 20px 30px
   and 1rem text from 455px; 20px below that. Paragraphs 1rem apart. */
.lou-page {
	padding: 5% 7%;
}
@media (max-width: 1150px) {
	.lou-page {
		padding: 4%;
	}
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) {
	display: flow-root; /* keep a leading heading's margin inside */
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > * + *,
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) .wp-block-column > * + * {
	margin-block-start: 1rem;
}
/* The same rules apply in the editor canvas for ordinary pages (those
   without full-width sections such as Home and CARES Act Defense).
   Headings: 1.4286rem above, 0.7143rem below. Lists: 1em either side,
   40px indent. Measured on the previous site's practice area pages. */
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > :is(h2, h3, h4, h5, h6) + * {
	margin-block-start: 0.7143rem;
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > .wp-block-list + *,
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > * + .wp-block-list {
	margin-block-start: 1em;
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > * + :is(h2, h3),
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > :is(h2, h3):first-child {
	margin-block-start: 1.4286rem;
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > * + h4 {
	margin-block-start: 1rem;
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > .wp-block-list + h4 {
	margin-block-start: 1.2rem;
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) :is(ul, ol).wp-block-list {
	padding-left: 40px;
}
/* Headings that keep the outline correct but look like the old ones:
   .lou-h4 is an h2 drawn at the old h4 size, .lou-label an h3 drawn as the
   old bold paragraph label. */
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > .lou-h4 {
	font-size: var(--lou-h4);
	letter-spacing: -0.02em;
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > * + .lou-h4 {
	margin-block-start: 1rem;
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > .wp-block-list + .lou-h4 {
	margin-block-start: 1.2rem;
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > .lou-label {
	font-size: inherit;
	line-height: inherit;
	letter-spacing: normal;
	color: inherit;
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > * + .lou-label,
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > .lou-label + * {
	margin-block-start: 1rem;
}
/* 4px light rule (Practice Areas) */
.wp-block-separator.lou-rule {
	border: 0;
	border-top: 4px solid #ebebeb;
	opacity: 1;
}
/* Contact: the map sits up beside the page title, as before */
@media (min-width: 782px) {
	.wp-block-columns.lou-contact-page > .lou-contact-page__map {
		margin-top: -100px;
	}
}
@media (max-width: 991px) {
	.lou-page {
		font-size: var(--wp--preset--font-size--base);
	}
}
@media (max-width: 767px) {
	.lou-page {
		padding: 20px 30px;
	}
}
@media (max-width: 454px) {
	.lou-page {
		padding: 20px;
	}
}

/* ---- Hero (matches the previous slider) ---- */
.wp-block-cover.is-hero {
	min-height: 100svh;
	overflow: hidden;
	justify-content: flex-start;
	align-items: center;
}
.wp-block-cover.is-hero .wp-block-cover__image-background {
	object-position: 30% 20%;
	will-change: transform, filter;
}
.wp-block-cover.is-hero .wp-block-cover__inner-container {
	will-change: opacity;
}
.wp-block-cover.is-hero .wp-block-cover__inner-container > * {
	max-width: none;
}
/* A soft navy shade behind the hero text so it reads at 4.5:1 or better
   wherever it lands on the photo (WCAG 1.4.3). Blurred, so it has no edge. */
.wp-block-cover.is-hero .wp-block-cover__inner-container {
	position: relative;
	isolation: isolate;
}
.wp-block-cover.is-hero .wp-block-cover__inner-container::before {
	content: "";
	position: absolute;
	inset: -36px -48px;
	z-index: -1;
	background: rgb(17 23 36 / 0.72);
	filter: blur(32px);
	pointer-events: none;
}
@media (min-width: 768px) {
	.wp-block-cover.is-hero.is-hero.has-custom-content-position .wp-block-cover__inner-container {
		width: 40%;
		max-width: none;
		margin: 0 0 0 46% !important;
		transform: translateY(10%);
	}
	.wp-block-cover.is-hero .lou-hero__title + p.has-large-font-size {
		font-size: 1.4rem !important;
	}
}
/* 768 to 1350px: the slider text sat at 41%, 45% wide, with 1.2rem copy */
@media (min-width: 768px) and (max-width: 1350px) {
	.wp-block-cover.is-hero.is-hero.has-custom-content-position .wp-block-cover__inner-container {
		width: 45%;
		margin-left: 41% !important;
	}
	.wp-block-cover.is-hero .lou-hero__title + p.has-large-font-size {
		font-size: 1.2rem !important;
	}
}
.lou-hero__title {
	text-transform: uppercase;
	padding-bottom: 16px;
	margin-bottom: 16px !important;
	border-bottom: 1px solid rgb(255 255 255 / 0.2);
	text-shadow: 1px 1px 3px rgb(0 0 0 / 0.3);
}
.wp-block-cover.is-hero .lou-hero__title + p {
	margin-top: 0;
	color: rgb(255 255 255 / 0.85);
	line-height: 1.43;
}
/* Phones and small tablets: a short hero with the title centred near the
   bottom, as the slider did. The copy shows again from 600px. */
@media (max-width: 767px) {
	.wp-block-cover.is-hero.is-hero {
		min-height: 380px !important;
		align-items: flex-end;
		/* clears the 150px scroll cue, even when the title wraps */
		padding: 0 20px 160px !important;
	}
	.wp-block-cover.is-hero.is-hero.has-custom-content-position .wp-block-cover__inner-container {
		width: 100%;
		margin: 0 !important;
		transform: none;
		text-align: center;
	}
	.wp-block-cover.is-hero .lou-hero__title {
		font-size: 1.15rem !important;
	}
	.wp-block-cover.is-hero .lou-hero__title + p {
		display: none;
	}
}
@media (min-width: 600px) and (max-width: 767px) {
	.wp-block-cover.is-hero .lou-hero__title {
		font-size: 1.5rem !important;
	}
	.wp-block-cover.is-hero .lou-hero__title + p {
		display: block;
		font-size: 1rem !important;
	}
}

/* Scroll cue: three chevrons, then the white notch with a mouse icon */
.lou-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 0;
	z-index: 2;
	width: 193px;
	height: 150px;
	transform: translateX(-50%);
	pointer-events: none;
}
.lou-hero__chevron {
	position: absolute;
	left: 50%;
	width: 24px;
	height: 12px;
	margin-left: -12px;
	stroke: #fff;
	fill: none;
	stroke-width: 1.5;
}
.lou-hero__chevron:nth-child(1) { top: 0; opacity: 0.2; }
.lou-hero__chevron:nth-child(2) { top: 7px; opacity: 0.5; }
.lou-hero__chevron:nth-child(3) { top: 14px; opacity: 0.8; }
.lou-hero__notch {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 193px;
	height: 47px;
	fill: var(--wp--preset--color--base);
}
.lou-hero__mouse {
	position: absolute;
	left: 50%;
	bottom: 10px;
	width: 14px;
	height: 23px;
	margin-left: -7px;
	fill: none;
	stroke: #111;
	stroke-width: 1.5;
}

/* Outline button, as on the previous site */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: #111;
	border: 3px solid #111;
	border-radius: 60px;
	padding: 10px 25px;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background: #111;
	color: var(--wp--preset--color--base);
}

/* ---- Two-column intro with full-bleed photo ---- */
.lou-split > .wp-block-column {
	box-sizing: border-box;
}
.lou-split > .wp-block-column:last-child {
	position: relative;
	min-height: 420px;
}
.lou-split > .wp-block-column:last-child .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0;
}
.lou-split > .wp-block-column:last-child .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 20%;
}
@media (min-width: 782px) {
	.lou-split > .wp-block-column:first-child {
		padding: 185px 111px 185px 126px !important;
	}
}

/* ---- Full-width page sections (CARES Act Defense) ----
   Previous site: padding 5% 8% 3% of the boxed page, rule below each.
   --lou-box is the page box width as seen from a full-width child. */
.lou-flush,
.editor-styles-wrapper .wp-block-post-content {
	--lou-box: calc(100% + var(--wp--style--root--padding-left, 0px) + var(--wp--style--root--padding-right, 0px));
}
.lou-section {
	padding: calc(var(--lou-box) * 0.05) calc(var(--lou-box) * 0.08) calc(var(--lou-box) * 0.03 + 16px) !important;
	border-bottom: 1px solid rgb(10 10 10 / 0.11);
}
.lou-section > * + *,
.lou-team__text > * + * {
	margin-block-start: 1rem;
}
.lou-section > :is(ul, ol),
.lou-section > :is(ul, ol) + * {
	margin-block-start: 1.2rem;
}
.lou-section > .is-style-bar + *,
.lou-team__text > .is-style-bar + * {
	margin-block-start: 26px;
}

/* Team rows: half photo (cover, anchored top), half text */
.lou-team.wp-block-columns {
	gap: 0;
	margin-block: 0;
	border-bottom: 1px solid #efefef;
}
.lou-team > .wp-block-column {
	box-sizing: border-box;
}
.lou-team__photo {
	position: relative;
	min-height: 420px;
}
.lou-team__photo .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0;
}
.lou-team__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
}
.lou-team__text {
	padding: 40px 20px 56px;
}
.lou-team__text > .is-eyebrow + * {
	margin-block-start: 0;
}
.lou-team__text > .wp-block-buttons {
	margin-block-start: 33px;
}
@media (min-width: 768px) {
	.lou-team__text {
		padding: 111px 89px 127px;
	}
}
@media (max-width: 767px) {
	/* Photo first, 1.4 times as tall as it is wide, as before */
	.lou-team > .lou-team__photo {
		order: -1;
		min-height: 0;
		aspect-ratio: 5 / 7;
	}
	.lou-team__text {
		padding: 40px 51px 56px;
	}
}
@media (min-width: 768px) and (max-width: 781px) {
	.wp-block-columns.lou-team {
		flex-wrap: nowrap !important;
	}
	.wp-block-columns.lou-team > .wp-block-column {
		flex-basis: 50% !important;
	}
}

/* ---- YouTube facade ---- */
.lou-yt-figure {
	margin-inline: auto;
}
.lou-yt,
.lou-yt__frame {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	background: #000;
	overflow: hidden;
}
.lou-yt img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.2s;
}
.lou-yt:hover img {
	opacity: 0.85;
}
.lou-yt__play {
	position: absolute;
	inset: 50% auto auto 50%;
	width: 72px;
	height: 50px;
	transform: translate(-50%, -50%);
	border-radius: 12px;
	background: rgb(23 23 23 / 0.85);
}
.lou-yt:hover .lou-yt__play,
.lou-yt:focus-visible .lou-yt__play {
	background: #c00;
}
.lou-yt__play::before {
	content: "";
	position: absolute;
	inset: 50% auto auto 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 11px 0 11px 19px;
	border-color: transparent transparent transparent #fff;
}

/* ---- Home: News & Events video ----
   Previous site: the video spans two thirds of the boxed page (a 2/3 column
   with 15px gutters), wider than the 650px text above it. */
.lou-news-video.lou-yt-figure,
.lou-news-video {
	width: min(100%, calc((100% + var(--wp--style--root--padding-left) + var(--wp--style--root--padding-right) + 30px) * 2 / 3 - 30px));
	max-width: none !important;
	margin-inline: auto !important;
}

/* ---- News & Events cards ---- */
.lou-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
}
.lou-card .wp-block-post-featured-image {
	margin: 0;
	aspect-ratio: 4 / 3;
	background: var(--wp--preset--color--surface);
}
.lou-card .wp-block-post-featured-image img,
.is-style-scan img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.lou-card .wp-block-post-title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}
.lou-card .wp-block-post-title a:hover,
.lou-card .wp-block-post-title a:focus-visible {
	text-decoration: underline;
}
.lou-card__meta {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}
.lou-card__meta a {
	color: inherit;
}
.is-style-scan {
	background: var(--wp--preset--color--surface);
}

/* ---- Footer ----
   Measured from the previous site at 1800px: pre-footer padding 50px with
   two 40px-padded widgets 72px apart, dotted rules above and below; footer
   bar padding 30px 50px, menu 1.1rem/700, fine print 0.8rem. */
.lou-footer {
	color: var(--wp--preset--color--body);
}
.lou-prefooter {
	padding: 50px;
	border-block: 1px dotted rgb(0 0 0 / 0.2);
}
.lou-prefooter__cols {
	gap: 72px;
	margin: 0;
}
.lou-prefooter__cols > .wp-block-column {
	padding: 40px;
}
.lou-prefooter__cols > .wp-block-column > * {
	margin-block: 0;
}
.lou-widget-title {
	font-size: 1.7rem;
	line-height: 1.2;
	color: var(--wp--preset--color--ink);
	margin-bottom: 28px !important;
}
.lou-widget-title.is-style-bar-small::after {
	margin-top: 10px;
}
.lou-contact {
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.4286;
}
/* The old map sat in a paragraph: 10px of line box above and below it,
   then the paragraph's 16px margin. */
.lou-map {
	padding-block: 10px;
	margin-bottom: 16px !important;
}
.lou-map a {
	display: block;
}
.lou-map img {
	display: block;
	width: 100%;
	height: auto;
}

.lou-footer-bar {
	position: relative;
	padding: 47px 50px 30px;
}
.lou-footer-bar__main > * {
	margin-block: 0;
}
.wp-block-navigation.lou-footer-menu {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.4286;
}
.lou-footer-menu,
.lou-footer-menu .wp-block-navigation__container {
	gap: 0;
}
.lou-footer-menu .wp-block-navigation-item:not(:last-child) {
	padding-right: 20px;
	margin-right: 24px;
	border-right: 1px solid rgb(0 0 0 / 0.1);
}
.lou-footer-menu .wp-block-navigation-item__content {
	color: var(--wp--preset--color--body);
	text-decoration: none;
}
.lou-footer-menu .wp-block-navigation-item__content:hover {
	text-decoration: underline;
}
.lou-fineprint {
	font-size: 0.8rem;
	line-height: 1.4286;
	color: var(--wp--preset--color--body);
}
.lou-footer-bar__main .lou-footer-menu + .lou-fineprint {
	margin-top: 21px;
}
.lou-footer-bar__main .lou-fineprint + .lou-fineprint {
	margin-top: 15px;
}

/* Credit: the Déjàfè wordmark in its own typeface (Cormorant Garamond, cut
   down to the six letters it needs, about 2 KB in all). The italic "è" uses
   the site's link gold, which keeps 4.5:1 contrast on the light footer. */
@font-face {
	font-family: "Dejafe Wordmark";
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/dejafe-wordmark-bold.woff2") format("woff2");
}
@font-face {
	font-family: "Dejafe Wordmark";
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	src: url("../fonts/dejafe-wordmark-italic.woff2") format("woff2");
}
.lou-credit a {
	margin-left: 2px;
	font-family: "Dejafe Wordmark", "Cormorant Garamond", Georgia, serif;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: normal;
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}
.lou-credit a em {
	font-style: italic;
	font-weight: 400;
	color: var(--wp--preset--color--gold-link);
}
.lou-credit a:hover {
	text-decoration: underline;
}

/* Social icons: 32px circles, 10px apart, colours as before. White glyphs
   on these fills are at least 3.9:1 (WCAG 1.4.11). */
.lou-social.wp-block-social-links {
	gap: 10px;
	margin: 0;
	font-size: 20px;
}
.lou-social .wp-social-link {
	color: #fff;
}
.lou-social .wp-social-link a {
	padding: 6px;
}
.lou-social .wp-social-link-linkedin {
	background-color: var(--wp--preset--color--body);
}
.lou-social .wp-social-link-instagram {
	background-color: #a4775c;
}
.lou-social .wp-social-link-facebook {
	background-color: #3b579d;
}
@media (min-width: 600px) {
	.lou-footer-bar__main .lou-footer-menu {
		padding-right: 140px;
	}
	.lou-social.wp-block-social-links {
		position: absolute;
		top: 35px;
		right: 50px;
	}
}
@media (max-width: 781px) {
	.lou-prefooter {
		padding: 30px 0;
	}
	.lou-prefooter__cols {
		gap: 0;
	}
	.lou-prefooter__cols > .wp-block-column {
		padding: 20px;
	}
}
@media (max-width: 599px) {
	/* Previous site: footer bar centred, one menu item per line */
	.lou-footer-bar {
		padding: 20px 10px;
		text-align: center;
	}
	.lou-footer-menu .wp-block-navigation__container {
		flex-direction: column;
		align-items: center;
		gap: 21px;
	}
	.lou-footer-menu .wp-block-navigation-item:not(:last-child) {
		padding-right: 0;
		margin-right: 0;
		border-right: 0;
	}
	.lou-footer-menu.wp-block-navigation {
		justify-content: center;
	}
	.lou-social.wp-block-social-links {
		justify-content: center;
		margin-top: 20px;
	}
}

/* ---- Motion ---- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---- [lou-videos] grid ---- */
.lou-videos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: var(--wp--preset--spacing--30);
}
.lou-videos__title {
	margin: 0.6rem 0 0;
	font-size: var(--wp--preset--font-size--base);
	font-weight: 700;
	color: var(--wp--preset--color--ink);
}

/* Full-width section pages: sections butt up against each other
   (also in the editor canvas, where the content has no .lou-flush class) */
.lou-flush > * + *,
.editor-styles-wrapper .wp-block-post-content:has(> .alignfull) > * + * {
	margin-block-start: 0;
}

/* No breadcrumb trail (e.g. Yoast inactive): don't leave an empty strip */
.lou-breadcrumbs:not(:has(a, span, nav)) {
	display: none;
}

/* ---- Header geometry, matched to the previous site ---- */
@media (min-width: 992px) {
	.lou-header {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
	.lou-header > .alignwide {
		max-width: none !important;
	}
	.lou-header:not(.lou-header--overlay) {
		padding-top: 16px !important;
		padding-bottom: 14px !important;
	}
	.lou-header--overlay {
		padding-top: 31px !important;
	}
}
@media (min-width: 768px) {
	/* Hero text block: positioned in % of the page, like the slider */
	.wp-block-cover.is-hero {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* Submenu chevron before the label, as before */
.lou-header .wp-block-navigation-submenu > .wp-block-navigation__submenu-icon {
	order: -1;
	margin-left: 0;
	margin-right: 0.3em;
}

/* Super Lawyers year: grey rule above, as before */
.lou-sl-year {
	position: relative;
}
.lou-sl-year::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 50%;
	width: min(586px, 90%);
	height: 4px;
	background: var(--wp--preset--color--slate);
	transform: translateX(-50%);
}

/* No block gap between the site's top-level parts: header, main and footer
   sit flush (and nothing collapses above the boxed page). */
.wp-site-blocks > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* Site title line box, as before (28px on 40px) */
.lou-header .wp-block-site-title {
	line-height: 40px;
}

/* ---- Desktop menu spacing, matched to the previous site ----
   Each item: 20px either side, divider on its right edge.
   Dropdown items: 20px before the arrow, label weight 300. */
@media (min-width: 600px) {
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container {
		gap: 0 !important;
	}
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item {
		position: relative;
		padding: 0 20px;
	}
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item:last-child {
		padding-right: 0;
	}
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 50%;
		right: 0;
		width: 1px;
		height: 10px;
		background: rgb(255 255 255 / 0.3);
		transform: translateY(-50%);
	}
	.lou-header .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation-item__content {
		font-weight: 300;
	}
	.lou-header .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation__submenu-icon {
		margin-left: 0 !important;
		margin-right: 8px;
	}
	.lou-header .wp-block-navigation__container > .wp-block-navigation-link > .wp-block-navigation-item__content {
		margin-left: 4px;
	}
}

/* ---- Dropdown submenus, matched to the previous site ----
   Closed: offset 30px down, tilted 30deg in 3D, invisible.
   Open: settles into place over 0.4s. Opens on hover, keyboard focus,
   or when the toggle button is pressed (aria-expanded). */
@media (min-width: 600px) {
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child > .wp-block-navigation__submenu-container {
		position: absolute;
		top: 100%;
		left: 50% !important;
		right: auto !important;
		width: auto !important;
		height: auto !important;
		min-width: 200px !important;
		overflow: visible !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 6px !important;
		background: var(--wp--preset--color--base) !important;
		color: rgb(0 0 0 / 0.9) !important;
		box-shadow: 0 2px 15px rgb(0 0 0 / 0.2);
		opacity: 0 !important;
		visibility: hidden !important;
		transform: translateX(-50%) translateY(30px) rotate3d(1, 1, 0, 30deg);
		transform-origin: 0 0;
		transition: all 0.4s ease;
		z-index: 9999;
	}
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child:hover > .wp-block-navigation__submenu-container,
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child > [aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
		opacity: 1 !important;
		visibility: visible !important;
		transform: translateX(-50%) translateY(0);
	}
	/* Diamond pointer */
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child > .wp-block-navigation__submenu-container::before {
		content: "";
		position: absolute;
		top: -2px;
		left: 50%;
		z-index: 1;
		width: 12px;
		height: 12px;
		background: var(--wp--preset--color--base);
		box-shadow: -3px -3px 5px rgb(0 0 0 / 0.04);
		transform: rotate(45deg) translateX(-50%);
	}
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container > .wp-block-navigation-item {
		position: relative;
		z-index: 2;
		min-width: 200px;
		padding: 0;
		border-bottom: 1px solid rgb(0 0 0 / 0.05);
	}
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container > .wp-block-navigation-item:last-child {
		border-bottom: 0;
	}
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: block;
		width: 100%;
		padding: 15px 35px !important;
		white-space: nowrap;
		color: rgb(0 0 0 / 0.9);
		font-size: 0.84rem;
		font-weight: 700;
		line-height: 1.43;
		text-decoration: none;
		transition: color 0.2s;
	}
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
		color: #1b3a7c;
		text-decoration: none;
	}
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
		outline: 3px solid var(--wp--preset--color--navy);
		outline-offset: -3px;
	}
}

/* Dropdown arrow: the previous site's heavier chevron, which stays put when open */
.lou-header .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-icon svg {
	width: 14px;
	height: 14px;
	stroke-width: 3;
	transform: none !important;
}
/* Submenu panel corners: first and last items round off with the panel */
.lou-header .wp-block-navigation__submenu-container > .wp-block-navigation-item:first-child > .wp-block-navigation-item__content {
	border-radius: 6px 6px 0 0;
}
.lou-header .wp-block-navigation__submenu-container > .wp-block-navigation-item:last-child > .wp-block-navigation-item__content {
	border-radius: 0 0 6px 6px;
}
.lou-header .wp-block-navigation__submenu-container > .wp-block-navigation-item,
.lou-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	background: transparent !important;
}
.lou-header .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-icon svg path {
	stroke-width: 3;
}

/* Click-to-open mode makes the label a real <button>: keep it looking like the other links */
.lou-header .wp-block-navigation-submenu__toggle {
	font: inherit;
	font-weight: 300;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* ==========================================================================
   Responsive, on the previous site's breakpoints:
   454/455, 599/600, 767/768, 991/992, 1150/1151, 1350/1351, 1540/1541.
   Type sizes are fixed per range (fluid type is off in theme.json).
   ========================================================================== */

/* Heading and body sizes */
:root {
	--lou-h4: 2rem;
}
:root h4 {
	font-size: var(--lou-h4);
}
@media (max-width: 1150px) {
	:root:root {
		--wp--preset--font-size--huge: 2.55rem;
		--wp--preset--font-size--xx-large: 2.125rem;
		--wp--preset--font-size--x-large: 2.025rem;
		--lou-h4: 1.7rem;
	}
}
@media (max-width: 991px) {
	:root:root {
		--wp--preset--font-size--medium: 1rem;
		--wp--preset--font-size--large: 1.25rem;
	}
}
/* Lead paragraphs (large text) stay a step above body text on phones */
@media (max-width: 599px) {
	:root:root {
		--wp--preset--font-size--large: 1.125rem;
	}
}
@media (max-width: 454px) {
	:root:root {
		--wp--preset--font-size--huge: 2.25rem;
		--wp--preset--font-size--xx-large: 1.875rem;
		--wp--preset--font-size--x-large: 1.8rem;
		--lou-h4: 1.5rem;
	}
}

/* Header: the menu button up to 991px, as before */
@media (min-width: 600px) and (max-width: 991px) {
	.lou-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
	.lou-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}
@media (max-width: 991px) {
	/* Solid bar above the hero, not over it */
	.lou-header.lou-header--overlay {
		position: relative;
		background: var(--wp--preset--color--navy);
		padding-bottom: 20px !important;
	}
	.lou-header {
		padding: 20px !important;
	}
	.lou-header .wp-block-site-title {
		font-size: 1.75rem;
	}
	.lou-header .wp-block-navigation__responsive-container-open svg {
		width: 40px;
		height: 40px;
	}
}
@media (max-width: 767px) {
	.lou-header,
	.lou-header.lou-header--overlay {
		padding: 13.5px 20px !important;
	}
	.lou-header .wp-block-site-title {
		font-size: 1.2rem;
	}
}
@media (max-width: 599px) {
	.lou-header,
	.lou-header.lou-header--overlay {
		padding: 11.5px 20px !important;
	}
	.lou-header .wp-block-site-title {
		font-size: 0.9rem;
	}
	.lou-header .wp-block-navigation__responsive-container-open svg {
		width: 30px;
		height: 30px;
	}
}
/* 992 to 1150px: smaller menu, as before (15px per side there; 14px here
   because the title is a few pixels wider), so it stays on one line */
@media (min-width: 992px) and (max-width: 1150px) {
	.lou-header {
		padding-right: 5px !important;
	}
	.lou-header .wp-block-navigation {
		font-size: 1.02rem;
	}
	.lou-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item {
		padding: 0 14px;
	}
}

/* Home sections on small screens */
@media (min-width: 768px) and (max-width: 781px) {
	.wp-block-columns.lou-split {
		flex-wrap: nowrap !important;
	}
	.wp-block-columns.lou-split > .wp-block-column {
		flex-basis: 50% !important;
	}
}
@media (max-width: 767px) {
	/* The previous site hid the bio photo on phones */
	.lou-split > .wp-block-column:last-child {
		display: none;
	}
	.wp-block-group:has(> .lou-sl-year) {
		padding-top: 30px !important;
	}
	.wp-block-group:has(> .lou-sl-year) .wp-block-image img {
		width: 45%;
		height: auto;
	}
	.lou-home-news.lou-home-news {
		padding-top: 20px !important;
		padding-bottom: 60px !important;
	}
	/* Video edge to edge */
	.lou-news-video.lou-yt-figure,
	.lou-news-video {
		width: calc(100% + var(--wp--style--root--padding-left) + var(--wp--style--root--padding-right));
		margin-inline: calc(-1 * var(--wp--style--root--padding-left)) calc(-1 * var(--wp--style--root--padding-right)) !important;
	}
}


/* ==========================================================================
   News & Events page (Faithful layout)
   ========================================================================== */
main.lou-page,
.editor-styles-wrapper .wp-block-post-content:has(.lou-band) {
	overflow-x: clip;
}
/* Tinted bands that bleed to the page box edges */
.lou-band {
	position: relative;
	isolation: isolate;
	padding-block: clamp(2rem, 5vw, 4rem);
}
.lou-band::before {
	content: "";
	position: absolute;
	inset: 0 -100vmax;
	z-index: -1;
	background: var(--wp--preset--color--surface);
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > :is(.lou-band, .lou-news-section) {
	margin-block-start: clamp(2.5rem, 5vw, 4rem);
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper.post-type-page .wp-block-post-content:not(:has(> .alignfull))) > .lou-band + .lou-news-section {
	margin-block-start: clamp(2rem, 5vw, 4rem);
}
.lou-band > * + *,
.lou-news-section > * + * {
	margin-block-start: 1.5rem;
}
.lou-band__head {
	gap: 1rem 2rem;
}
.lou-band__head > .wp-block-heading {
	margin: 0;
}
.lou-news-section h3.wp-block-heading {
	font-size: var(--lou-h4);
	margin-block-start: 2.5rem;
}
.lou-kicker {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.lou-meta {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}
.lou-more {
	font-weight: 700;
}
.lou-more a,
.lou-pubs a {
	color: var(--wp--preset--color--gold-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.lou-more a:hover,
.lou-pubs a:hover {
	color: var(--wp--preset--color--navy);
}

/* Videos */
/* Three videos per row, two on tablets, one on phones */
.wp-block-group.lou-videos-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem 1.5rem;
}
@media (max-width: 900px) {
	.wp-block-group.lou-videos-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 599px) {
	.wp-block-group.lou-videos-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
.lou-videos-grid .wp-block-embed {
	margin: 0;
}
.lou-videos-grid .wp-block-embed figcaption {
	margin: 0.75rem 0 0;
	text-align: left;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--wp--preset--color--navy);
}
.lou-audio {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	padding: 1.5rem 1.75rem;
}
.lou-audio > * + * {
	margin-block-start: 0.5rem;
}
.lou-audio h3.wp-block-heading {
	font-size: 1.3rem;
	line-height: 1.35;
	margin: 0.25rem 0 0;
}
.lou-audio .wp-block-audio {
	margin: 1rem 0 0;
}
.lou-audio audio {
	width: 100%;
}
.lou-audio audio[hidden] {
	display: none;
}

/* Audio player (built by assets/js/audio.js) */
.lou-player {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 0.9rem 0.6rem 0.6rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
}
.lou-player button {
	flex: none;
	display: inline-grid;
	place-items: center;
	padding: 0;
	border: 0;
	cursor: pointer;
	color: var(--wp--preset--color--navy);
	background: transparent;
}
.lou-player .lou-player__play {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--navy);
}
.lou-player .lou-player__play:hover {
	background: var(--wp--preset--color--gold-dark);
}
.lou-player .lou-player__mute {
	width: 36px;
	height: 36px;
}
.lou-player__time,
.lou-player__dur {
	flex: none;
	min-width: 2.6em;
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
	color: var(--wp--preset--color--muted);
}
.lou-player__dur {
	text-align: right;
}
.lou-player__seek {
	flex: 1;
	min-width: 0;
	height: 24px;
	margin: 0;
	background: transparent;
	accent-color: var(--wp--preset--color--navy);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.lou-player__seek::-webkit-slider-runnable-track {
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(to right, var(--wp--preset--color--navy) var(--lou-progress, 0%), #767a80 var(--lou-progress, 0%));
}
.lou-player__seek::-moz-range-track {
	height: 4px;
	border-radius: 2px;
	background: #767a80;
}
.lou-player__seek::-moz-range-progress {
	height: 4px;
	border-radius: 2px;
	background: var(--wp--preset--color--navy);
}
.lou-player__seek::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	margin-top: -6px;
	border-radius: 50%;
	border: 2px solid var(--wp--preset--color--base);
	background: var(--wp--preset--color--navy);
	box-shadow: 0 0 0 1px var(--wp--preset--color--navy);
}
.lou-player__seek::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid var(--wp--preset--color--base);
	background: var(--wp--preset--color--navy);
	box-shadow: 0 0 0 1px var(--wp--preset--color--navy);
}
@media (max-width: 420px) {
	.lou-player__dur {
		display: none;
	}
}

/* Transcript toggle */
.lou-audio .wp-block-details.lou-transcript {
	margin-block-start: 1rem;
	border-top: 1px solid var(--wp--preset--color--border);
	padding-top: 0.9rem;
}
.lou-transcript > summary {
	cursor: pointer;
	width: fit-content;
	font-weight: 700;
	color: var(--wp--preset--color--gold-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.lou-transcript > summary:hover {
	color: var(--wp--preset--color--navy);
}
.lou-transcript[open] > summary {
	margin-bottom: 0.9rem;
}
.lou-transcript > :not(summary) {
	margin: 0;
	font-size: 0.95rem;
}
.lou-transcript > :not(summary) + :not(summary) {
	margin-block-start: 0.6rem;
}

/* Publication rows (static list and the Articles by Lou query) */
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper .wp-block-post-content) ul.lou-pubs,
ul.lou-pubs {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr));
	column-gap: 3rem;
}
ul.lou-pubs > li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-content: start;
	gap: 0.3rem 1.25rem;
	margin: 0;
	padding: 1rem 0;
	border-top: 1px solid var(--wp--preset--color--border);
}
ul.lou-pubs > li > * {
	grid-column: 1;
	margin: 0;
}
ul.lou-pubs > li > .lou-pubs__date {
	grid-column: 2;
	grid-row: 1 / span 3;
	white-space: nowrap;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}
ul.lou-pubs > li > .lou-pubs__outlet + * + .lou-pubs__date,
ul.lou-pubs > li > .lou-pubs__outlet ~ .lou-pubs__date {
	padding-top: 1.45rem;
}
.lou-pubs__outlet {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.lou-pubs__title,
ul.lou-pubs h4.lou-pubs__title {
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
}
.lou-pubs__by {
	justify-self: start;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--navy);
	border: 1px solid var(--wp--preset--color--navy);
	padding: 1px 6px;
}

/* Featured press */
.wp-block-columns.lou-press {
	gap: 2rem;
	margin-block-start: 2.5rem;
}
.lou-press-card {
	background: var(--wp--preset--color--surface);
	border-top: 4px solid var(--wp--preset--color--gold);
	padding: 1.75rem 2rem;
}
.lou-press-card > * {
	margin: 0;
}
.lou-press-card > * + * {
	margin-block-start: 0.75rem;
}
.lou-press-card h4.wp-block-heading {
	font-size: 1.35rem;
	line-height: 1.3;
}

/* Events */
.lou-events .wp-block-post-template {
	display: grid;
	gap: 1rem;
}
.lou-event {
	display: grid;
	grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
	gap: 2rem;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	padding: 1.75rem;
}
.lou-event > * {
	margin: 0;
}
.lou-event__flyer img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--wp--preset--color--border);
}
.lou-event__body > * {
	margin: 0;
}
.lou-event__body .wp-block-post-title {
	margin-block: 0.35rem 0.9rem;
	font-size: 1.4rem;
	line-height: 1.3;
}
.lou-event__body .wp-block-post-title a {
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}
.lou-event__body .wp-block-post-title a:hover,
.lou-event__body .wp-block-post-title a:focus-visible {
	text-decoration: underline;
}
.lou-event .lou-event__details {
	font-size: 0.95rem;
}
.lou-event .lou-event__details > * {
	margin-block: 0;
}
.lou-event .lou-event__details > * + * {
	margin-block-start: 0.75rem;
}
main.lou-page .lou-event .lou-event__details :is(ul, ol).wp-block-list {
	padding-left: 1.25rem;
	margin-block: 0.5rem 0;
}
@media (max-width: 599px) {
	.lou-event {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.25rem;
		padding: 1.25rem;
	}
	.lou-event__flyer {
		max-width: 220px;
	}
	ul.lou-pubs > li {
		grid-template-columns: minmax(0, 1fr);
	}
	ul.lou-pubs > li > .lou-pubs__date {
		grid-column: 1;
		grid-row: auto;
		padding-top: 0 !important;
	}
	.lou-press-card {
		padding: 1.5rem;
	}
}
/* Gold link text needs the darker gold on the tinted cards (4.5:1) */
.lou-press-card a,
.lou-band .lou-more a {
	color: var(--wp--preset--color--gold-dark);
}
.lou-event .lou-event__details ul {
	list-style: disc;
}
/* In the editor each list item wraps its text in a rich-text element,
   so that wrapper carries the row grid instead of the li */
ul.lou-pubs > li:has(> .rich-text) {
	display: block;
}
ul.lou-pubs > li > .rich-text {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-content: start;
	gap: 0.3rem 1.25rem;
	margin: 0;
}
ul.lou-pubs > li > .rich-text > * {
	grid-column: 1;
}
ul.lou-pubs > li > .rich-text > .lou-pubs__date {
	grid-column: 2;
	grid-row: 1 / span 3;
	padding-top: 1.45rem;
	white-space: nowrap;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

/* ==========================================================================
   Video lightbox (assets/js/youtube.js)
   ========================================================================== */
.lou-lightbox {
	width: min(92vw, calc((100vh - 120px) * 16 / 9), 1280px);
	max-width: none;
	max-height: none;
	padding: 0;
	border: 0;
	overflow: visible;
	background: transparent;
}
.lou-lightbox::backdrop {
	background: rgb(10 14 22 / 0.88);
}
.lou-lightbox__video {
	aspect-ratio: 16 / 9;
	background: #000;
	box-shadow: 0 20px 60px rgb(0 0 0 / 0.5);
}
.lou-lightbox__video iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.lou-lightbox__close {
	position: absolute;
	top: -52px;
	right: 0;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	color: #fff;
	background: rgb(255 255 255 / 0.14);
}
.lou-lightbox__close:hover {
	background: rgb(255 255 255 / 0.28);
}
.lou-lightbox__close:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}
html:has(.lou-lightbox[open]) {
	overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
	.lou-lightbox[open] {
		animation: lou-fade 0.2s ease-out;
	}
	.lou-lightbox[open]::backdrop {
		animation: lou-fade 0.2s ease-out;
	}
}
@keyframes lou-fade {
	from { opacity: 0; }
}

/* ==========================================================================
   Single posts: full width like pages
   ========================================================================== */
.lou-single > * {
	margin-block: 0;
}
.lou-single > * + * {
	margin-block-start: 1.5rem;
}
.lou-single .wp-block-separator {
	margin-block-start: 3rem;
}
.lou-single .wp-block-image.is-style-scan img {
	height: auto;
}

/* ==========================================================================
   Category, index and search pages: masonry of full-image cards
   ========================================================================== */
.lou-archive > .lou-band {
	margin-block-start: clamp(2rem, 4vw, 3rem);
}
/* A band at the very end of a page runs straight into the footer */
main.lou-page:has(> .lou-band:last-child),
main.lou-page:has(> .wp-block-post-content:last-child > .lou-band:last-child) {
	padding-bottom: 0;
}
.lou-archive__intro {
	font-size: var(--wp--preset--font-size--large);
}
.lou-masonry__grid.wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: start;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lou-masonry__grid.is-masonry {
	grid-auto-rows: 4px;
	row-gap: 0;
}
.lou-masonry__grid > li {
	margin: 0;
}
@media (max-width: 900px) {
	.lou-masonry__grid.wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 599px) {
	.lou-masonry__grid.wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
	}
}
.lou-tile {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
}
.lou-tile > * {
	margin: 0;
}
.lou-tile__image {
	margin: 0;
	background: var(--wp--preset--color--border);
}
.lou-tile__image img {
	display: block;
	width: 100%;
	height: auto;
}
.lou-tile__body {
	padding: 1.25rem 1.5rem 1.5rem;
}
.lou-tile__body > * {
	margin: 0;
}
.lou-tile__body > * + * {
	margin-block-start: 0.5rem;
}
.lou-tile .lou-kicker a {
	color: inherit;
	text-decoration: none;
}
.lou-tile .lou-tile__title {
	font-size: 1.25rem;
	line-height: 1.35;
	letter-spacing: 0;
}
.lou-tile .lou-tile__title a {
	color: var(--wp--preset--color--gold-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.lou-tile .lou-tile__title a:hover {
	color: var(--wp--preset--color--navy);
}
.lou-tile__meta {
	gap: 0.4rem;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}
.lou-tile__meta a {
	color: inherit;
}
.lou-tile__meta > .wp-block-post-terms + .wp-block-post-date::before {
	content: "·";
	margin-right: 0.4rem;
}

/* Pagination as pills */
.lou-pager.wp-block-query-pagination {
	gap: 0.5rem;
	margin-block-start: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--wp--preset--color--border);
}
.lou-pager :is(a, .page-numbers) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 999px;
	font-weight: 700;
	color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--base);
	text-decoration: none;
}
.lou-pager a:hover {
	border-color: var(--wp--preset--color--navy);
}
.lou-pager .page-numbers.current {
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--navy);
	border-color: var(--wp--preset--color--navy);
}
.lou-pager .page-numbers.dots {
	border: 0;
	background: transparent;
}

/* ==========================================================================
   Reveal on scroll (assets/js/reveal.js): a short fade and 12px rise, once.
   The script only adds .lou-reveal when motion is allowed; the media query
   is a second guard.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.lou-reveal {
		opacity: 0;
		transform: translateY(12px);
		transition: opacity 0.55s ease-out, transform 0.55s ease-out;
	}
	.lou-reveal.is-visible {
		opacity: 1;
		transform: none;
	}
}
@media print {
	.lou-reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* 404 page */
.lou-404 h2.lou-404__heading {
	font-size: var(--lou-h4);
	margin-block-start: 2.5rem;
}
.lou-404 ul.lou-404__links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
	gap: 0.6rem 2rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}
.lou-404__links a {
	font-weight: 700;
	color: var(--wp--preset--color--gold-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.lou-404__links a:hover {
	color: var(--wp--preset--color--navy);
}
.lou-404 .wp-block-search {
	margin-block-start: 2.5rem;
}

/* ==========================================================================
   "Regular legal expert on" strip (marquee via assets/js/marquee.js)
   ========================================================================== */
.lou-outlets {
	position: relative;
	padding-top: 1.5rem;
	border-top: 1px solid var(--wp--preset--color--border);
}
.lou-outlets > * {
	margin: 0;
}
.lou-outlets > * + * {
	margin-block-start: 0.75rem;
}
:is(main.lou-page .wp-block-post-content, .editor-styles-wrapper .wp-block-post-content) ul.lou-outlets__list,
ul.lou-outlets__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0;
	margin: 0;
	padding: 0 !important;
	list-style: none;
}
ul.lou-outlets__list > li {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--wp--preset--color--navy);
	white-space: nowrap;
}
ul.lou-outlets__list > li + li::before,
.is-marquee ul.lou-outlets__list > li::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 1.1rem 0.2em;
	border-radius: 50%;
	vertical-align: middle;
	background: var(--wp--preset--color--gold);
}
/* Marquee mode */
.lou-marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.lou-marquee__track {
	display: flex;
	width: max-content;
	animation: lou-marquee var(--lou-marquee-time, 30s) linear infinite;
}
.is-marquee ul.lou-outlets__list {
	flex-wrap: nowrap;
}
.lou-outlets.is-paused .lou-marquee__track,
.lou-marquee:hover .lou-marquee__track {
	animation-play-state: paused;
}
@keyframes lou-marquee {
	to { transform: translateX(var(--lou-marquee-shift, -50%)); }
}
.lou-outlets__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.lou-outlets__head > .lou-kicker {
	margin: 0;
}
.lou-marquee__toggle {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 32px;
	padding: 0.25rem 0.8rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--base);
}
.lou-marquee__toggle:hover {
	border-color: var(--wp--preset--color--navy);
}
@media (prefers-reduced-motion: reduce) {
	.lou-marquee__track {
		animation: none;
	}
}
/* Start as one line when the marquee will run, so the row does not jump
   from wrapped to single-line when the script starts. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
	ul.lou-outlets__list {
		flex-wrap: nowrap;
		overflow: hidden;
	}
	/* the label row will hold the 32px Pause button */
	.lou-outlets .lou-kicker {
		display: flex;
		align-items: center;
		min-height: 32px;
	}
}

/* ==========================================================================
   Click-to-load map (assets/js/maps.js)
   ========================================================================== */
figure.lou-map {
	position: relative;
}
.lou-map.is-live {
	aspect-ratio: 800 / 451;
	padding-block: 0;
	background: var(--wp--preset--color--surface);
}
.lou-map__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.lou-map__button {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0.55rem 1.2rem;
	border: 1px solid var(--wp--preset--color--navy);
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	white-space: nowrap;
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--navy);
	box-shadow: 0 6px 20px rgb(0 0 0 / 0.25);
}
.lou-map__button:hover {
	background: var(--wp--preset--color--gold-dark);
	border-color: var(--wp--preset--color--gold-dark);
}
.lou-map__button:focus-visible {
	outline: 3px solid var(--wp--preset--color--gold-dark);
	outline-offset: 3px;
}
.lou-map-link {
	margin-top: 0;
	font-weight: 700;
}
.lou-map-link a {
	color: var(--wp--preset--color--gold-link);
}
