/**
 * Ebbert — page sections (homepage and inner pages).
 *
 * Values measured from the Claude Design artboard (see design-tokens-measured.md). Sections are
 * Spectra containers; this file gives them the artboard's ground, rhythm and container discipline.
 *
 * As with the footer, sibling Spectra rows size to content independently unless constrained, so
 * every top-level section is pinned to one centred 1200px box.
 */

/* ---------- §55 Editor-safe root sections (2026-10-28) ----------
   Script-built pages now carry Spectra's root marker (`uagb-is-root-container`) so that saving a
   page in wp-admin no longer rewrites its structure (known-overrides.md §55). Astra's page-builder
   layout gives the direct children of every top-level block `max-width:none; margin-inline:auto`
   (0-4-0) but skips root containers:
     .ast-page-builder-template .entry-content[data-ast-blocks-layout]
       > *:not(.wp-block-group):where(:not(.uagb-is-root-container)…) > *
   Every rule below was tuned with that rule in force, so it is re-applied here to the same
   elements at the same specificity. Scoped to roots WITHOUT Spectra's inner wrap: the pages built
   in the editor (Home, About, Trusts, Privacy Policy) were always root+wrap and never had it.
   It sits at the top of this file so later 0-4-0 rules still win, exactly as they did over Astra's. */
.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .uagb-is-root-container:where(:not(:has(> .uagb-container-inner-blocks-wrap))) > * {
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}

/* The marker has one more effect, on deeper containers: Spectra caps every container nested in a
   root at its column percentage — `.wp-block-uagb-container.uagb-is-root-container
   .uagb-block-<id> { max-width: <width>% }` (0-3-0). These columns are sized by their own flex
   rules further down, never by that percentage; with the cap the 68% body column stopped at 816px
   of its 832px track (measured, /ashley-oaks/ at 1440). 0-4-0. */
.entry-content > .uagb-is-root-container:where(:not(:has(> .uagb-container-inner-blocks-wrap))) .wp-block-uagb-container.ebbert-body-main,
.entry-content > .uagb-is-root-container:where(:not(:has(> .uagb-container-inner-blocks-wrap))) .wp-block-uagb-container.ebbert-hero-headline,
.entry-content > .uagb-is-root-container:where(:not(:has(> .uagb-container-inner-blocks-wrap))) .wp-block-uagb-container.ebbert-hero-lede {
	max-width: none;
}

/* Same cap on the homepage's grid and band columns, which sit in rows our own rules size (the
   content row is a 1fr/1fr grid, the CTA band a flex row). Capped, each column took its percentage
   of its grid cell rather than of the row: the "Business Litigation" copy and photo stopped at
   286px of their 572px cells, the band copy at 365px of 609px (measured at 1440, 2026-10-28).
   Not scoped to the no-wrap roots: the cap bites with or without Spectra's inner wrap. 0-4-0. */
.entry-content > .uagb-is-root-container .wp-block-uagb-container.ebbert-content-copy,
.entry-content > .uagb-is-root-container .wp-block-uagb-container.ebbert-content-media,
.entry-content > .uagb-is-root-container .wp-block-uagb-container.ebbert-ctaband-copy,
.entry-content > .uagb-is-root-container .wp-block-uagb-container.ebbert-ctaband-actions-col {
	max-width: none;
}

@media (min-width: 922px) {
	.entry-content > .uagb-is-root-container:where(:not(:has(> .uagb-container-inner-blocks-wrap))) .wp-block-uagb-container.ebbert-body-aside {
		max-width: 320px;
	}
}

/* ---------- Shared section rhythm ---------- */
.entry-content .wp-block-uagb-container.ebbert-hero,
.entry-content .wp-block-uagb-container.ebbert-intro,
.entry-content .wp-block-uagb-container.ebbert-content,
.entry-content .wp-block-uagb-container.ebbert-practice-areas,
.entry-content .wp-block-uagb-container.ebbert-why-choose,
.entry-content .wp-block-uagb-container.ebbert-reviews-band,
.entry-content .wp-block-uagb-container.ebbert-faq,
.entry-content .wp-block-uagb-container.ebbert-contact {
	padding-block: var(--ebbert-section-y);
}

.entry-content .wp-block-uagb-container.ebbert-hero {
	padding-top: 0;
}

/* Measured: these Spectra containers have NO .uagb-container-inner-blocks-wrap — their blocks are
   direct children — so content is centred with padding on the section itself. This keeps each
   section's background full-bleed while its content sits in the design's 1200px column, and it
   does not depend on Spectra's internal DOM. */
/* SPECIFICITY: Spectra's per-block stylesheet (uag-css-<postid>.css) sets padding on
   `.wp-block-uagb-container.uagb-block-<id>` at 0-2-0. A bare `.ebbert-content` (0-1-0) loses
   silently — measured padding-left stayed 10px. Prefixing with .entry-content gives 0-3-0.
   Verified with .claude/scripts/matching-rules.mjs; no !important needed. */
.entry-content .wp-block-uagb-container.ebbert-hero,
.entry-content .wp-block-uagb-container.ebbert-intro,
.entry-content .wp-block-uagb-container.ebbert-content,
.entry-content .wp-block-uagb-container.ebbert-practice-areas,
.entry-content .wp-block-uagb-container.ebbert-why-choose,
.entry-content .wp-block-uagb-container.ebbert-reviews-band,
.entry-content .wp-block-uagb-container.ebbert-faq,
.entry-content .wp-block-uagb-container.ebbert-contact {
	padding-inline: max(var(--ebbert-pad-x), calc((100% - var(--ebbert-container)) / 2));
}

/* Alternating ground, measured #F0F0F0. */
.ebbert-content-alt {
	background-color: var(--ebbert-bg-alt);
}

.ebbert-content h2,
.ebbert-section-title {
	margin-bottom: 8px;
}

.ebbert-content p,
.ebbert-intro p {
	margin-block: 0 16px;
	max-width: 78ch;          /* keeps long-form legal copy readable at 1440 */
}

.ebbert-content p:last-child,
.ebbert-intro p:last-child {
	margin-bottom: 0;
}

/* ---------- Hero ----------
   Rebuilt to the artboard. Five stacked layers, all measured verbatim:
     section background : radial-gradient(120% 100% at 50% 0%, #6E241B, #3A120D 45%, #14100F)
     ::before           : iStock texture, cover, center 40%  +  the 180deg dark scrim
     ::after            : two gold radial glows at opacity .12
     .ebbert-hero-stage : 520px tall; TENNESSEE wordmark (CSS) + 940x470 team photo, bottom-anchored
     .ebbert-hero-copy  : max-width 900px, margin -140px auto 0  -> H1 overlaps the photo
   Client confirmed an iStock licence for the texture. */
.entry-content .wp-block-uagb-container.ebbert-hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(120% 100% at 50% 0%, #6E241B 0%, #3A120D 45%, #14100F 100%);
	padding: 0 0 48px;
}

/* Layer 1 + 2: texture then scrim, in one stacking context. Decorative, hence CSS not <img>. */
.ebbert-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(20, 16, 15, .62) 0%, rgba(20, 16, 15, .48) 45%, rgba(20, 16, 15, .86) 100%),
		var(--ebbert-hero-texture) center 40% / cover no-repeat;
	pointer-events: none;
	z-index: 0;
}

/* Layer 3: the two gold glows, at the artboard's .12 opacity. */
.ebbert-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: .12;
	background:
		radial-gradient(closest-side at 22% 30%, var(--ebbert-accent) 0%, transparent 70%),
		radial-gradient(closest-side at 78% 18%, var(--ebbert-accent) 0%, transparent 72%);
	pointer-events: none;
	z-index: 0;
}

.ebbert-hero > * {
	position: relative;
	z-index: 1;
}

/* --- Stage: wordmark behind the team photo --- */
.entry-content .wp-block-uagb-container.ebbert-hero-stage {
	position: relative;
	height: 520px;
	/* KNOWN OVERRIDE: the Astra `page-builder` content layout forces max-width:none on
	   .entry-content descendants at 0-10-0
	   (.ast-page-builder-template .entry-content[data-ast-blocks-layout] > :not(...):where(...)).
	   Measured — a 0-3-0 rule loses and every hero child rendered 1440px wide. !important is
	   required here, same class of problem as Spectra's position:relative. */
	max-width: var(--ebbert-container) !important;
	margin-inline: auto;
	padding: 0 40px;
	width: 100%;
	overflow: visible;
}

/* TENNESSEE: 280px at the 1200px container, scaling below it. Decorative — drawn as a
   pseudo-element so it is never announced or indexed. */
.ebbert-hero-stage::before {
	content: "TENNESSEE";
	position: absolute;
	left: 50%;
	top: 10px;
	transform: translateX(-50%);
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: clamp(74px, 23.3vw, 280px);
	line-height: .9;
	letter-spacing: -.02em;
	color: var(--ebbert-accent);
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
	z-index: 0;
}

.entry-content .ebbert-hero-team {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: min(940px, 100%) !important;
	max-width: 940px !important;
	height: 470px;
	margin: 0;
	z-index: 1;
}

.entry-content .ebbert-hero-team img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: bottom center;
	display: block;
}

/* --- Copy column: deliberately overlaps the photo by 140px --- */
.entry-content .wp-block-uagb-container.ebbert-hero-copy {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 900px !important;   /* see note on .ebbert-hero-stage */
	margin: -140px auto 0;
	padding-inline: 20px;
	width: 100%;
}

.ebbert-hero-title .uagb-heading-text,
.ebbert-hero-title h1 {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: var(--ebbert-h1);
	line-height: var(--ebbert-h1-lh);
	color: #FFFFFF;
	text-align: center;
	margin: 0 0 14px;
}

.ebbert-hero-eyebrow {
	margin: 0 0 30px !important;
	font-family: var(--ebbert-font-body);
	font-size: 20px;
	line-height: 28px;
	font-weight: var(--ebbert-w-semi);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ebbert-accent);
	text-align: center;
	max-width: none;
}

/* Spectra nests .uagb-buttons-repeater inside an outer wrap, so centring only the outermost
   block left the button at x=20 (measured). Centre each level. */
.ebbert-hero .wp-block-uagb-buttons,
.ebbert-hero .uagb-buttons__outer-wrap,
.ebbert-hero .wp-block-uagb-buttons > .uagb-buttons__outer-wrap,
.ebbert-hero .wp-block-uagb-buttons-child {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
}

.ebbert-hero .uagb-buttons-repeater {
	margin-inline: auto;
}

/* --- Review card --- */
.entry-content .wp-block-uagb-container.ebbert-hero-review {
	position: relative;
	z-index: 2;
	max-width: 900px !important;   /* see note on .ebbert-hero-stage */
	margin: 44px auto 0;
	padding: 0 40px;
	width: 100%;
}

.ebbert-hero-review-slot {
	margin: 0 !important;
}

.ebbert-hero-review__card {
	margin: 0;
	background: rgba(255, 255, 255, .07);
	border-left: 6px solid var(--ebbert-accent);
	padding: 22px 26px;
	text-align: left;
}

.ebbert-hero-review__stars {
	color: var(--ebbert-accent);
	font-size: 20px;
	letter-spacing: 3px;
	margin-bottom: 10px;
}

.ebbert-hero-review__quote {
	margin: 0;
	font-family: var(--ebbert-font-body);
	font-size: 18px;
	line-height: 28px;
	color: #F2EEE9;
	border: 0;
	padding: 0;
	quotes: none;
}

.ebbert-hero-review__by {
	margin-top: 12px;
	font-family: var(--ebbert-font-body);
	font-size: 16px;
	font-weight: var(--ebbert-w-head);
	color: var(--ebbert-accent);
}

@media (max-width: 900px) {
	.entry-content .wp-block-uagb-container.ebbert-hero-stage { height: 360px; }
	.entry-content .ebbert-hero-team { height: 320px; }
	/* Pulled up under the photo (client QA, Markup mobile #19). At -90px the headline sat 83px
	   below the team's feet — a band of empty flag between them. The photo is bottom-anchored in
	   its box, so that gap is the same at every width up to 900px. */
	.entry-content .wp-block-uagb-container.ebbert-hero-copy { margin-top: -150px; }
	.entry-content .wp-block-uagb-container.ebbert-hero-review { padding-inline: 20px; }
	/* Tighter stack (Markup mobile #20): headline -> subhead was 34px, subhead -> button 50px. */
	.ebbert-hero-title .uagb-heading-text,
	.ebbert-hero-title h1 { margin-bottom: 6px; }
	.ebbert-hero-eyebrow { font-size: 16px; letter-spacing: .1em; margin-bottom: 16px !important; }
}

/* ---------- Buttons ----------
   Artboard CTA: gold fill, dark text, 2px radius, Nunito Sans 600 at 20px.

   HOVER, every gold-filled button on the site: a deeper gold fill (#BD9635, client QA). Before
   this there were four different hovers — transparent with gold text (hero, where it went
   see-through over the photo), transparent with a gold border (homepage band), white (inner-page
   band) and none at all (About) — measured with probe-gold-hover.mjs. One treatment now. */
.wp-block-uagb-buttons-child .uagb-buttons-repeater {
	background-color: var(--ebbert-accent);
	color: var(--ebbert-cta-text);
	font-family: var(--ebbert-font-body);
	font-size: var(--ebbert-btn);
	font-weight: var(--ebbert-w-semi);
	line-height: var(--ebbert-btn-lh);
	padding: 14px 30px;
	border-radius: var(--ebbert-radius);
	border: 2px solid var(--ebbert-accent);
	text-decoration: none;
}

.wp-block-uagb-buttons-child .uagb-buttons-repeater:hover {
	background-color: var(--ebbert-accent-hover);
	border-color: var(--ebbert-accent-hover);
	color: var(--ebbert-cta-text);
}

/* Spectra's per-post CSS gives this button `border-color: #000` at 0-4-0
   (`.wp-block-uagb-buttons .uagb-block-<id> .uagb-buttons-repeater.wp-block-button__link`), which
   beat the gold border above — the hero CTA has carried a 2px BLACK border at rest, and kept it on
   hover. Found by matching-rules.mjs while checking the new hover. 0-5-0 / 0-6-0 here.
   Width and style too: a Save in the block editor writes Spectra's default border attributes
   (btnBorder*Width 1, solid, #333) into the button, and its per-post rule then thinned the 2px
   border to 1px — the hero CTA rendered 58px tall instead of 60px (2026-10-28, known-overrides §55). */
.entry-content .wp-block-uagb-buttons .wp-block-uagb-buttons-child .uagb-buttons-repeater.wp-block-button__link {
	border-width: 2px;
	border-style: solid;
	border-color: var(--ebbert-accent);
}

.entry-content .wp-block-uagb-buttons .wp-block-uagb-buttons-child .uagb-buttons-repeater.wp-block-button__link:hover {
	border-color: var(--ebbert-accent-hover);
}

/* ---------- Why Choose: icon cards in a scroll-snap slider ----------
   Artboard spec (measured from section 8):
     header row  display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:44px
     arrows      2 x 48x48 button, transparent, 1px #CCC, colour #1B1919, 22px glyph, radius 2px
     track       <ul> display:grid; grid-auto-flow:column;
                 grid-auto-columns:calc((100% - 64px) / 3); gap:32px;
                 overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth
     card        background #fff; border-left:6px solid #DFB03E; padding:32px 28px; scroll-snap-align:start
     icon        40x40, colour var(--color-brand) oxblood, margin-bottom:18px  (Lucide)
     h3          Oswald 700 28px/34px, colour oxblood, margin:0 0 12px
     p           18px/28px, colour #535353
   ============================================================ */
.entry-content .wp-block-uagb-container.ebbert-why-choose {
	background-color: var(--ebbert-bg-alt);
}

.ebbert-why-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	margin-bottom: 44px;
}

.ebbert-why-nav {
	display: flex;
	gap: 14px;
	flex: none;
}

.ebbert-why-nav button {
	width: 48px;
	height: 48px;
	/* Astra's global button padding (15px 30px) made these 62x48 — border-box cannot shrink below
	   its padding. The artboard spec is 48x48. */
	padding: 0;
	background: transparent;
	border: 1px solid var(--ebbert-border, #CCCCCC);
	color: var(--ebbert-ink);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	border-radius: var(--ebbert-radius);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.ebbert-why-nav button:hover:not(:disabled) {
	background: var(--ebbert-accent);
	border-color: var(--ebbert-accent);
	color: var(--ebbert-cta-text);
}

.ebbert-why-nav button:disabled {
	opacity: .35;
	cursor: default;
}

/* Native scroll-snap track — swipe, trackpad and keyboard work with no script. */
.ebbert-why-track {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 64px) / 3);
	gap: 32px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.ebbert-why-track::-webkit-scrollbar { display: none; }

.ebbert-why-track > li {
	background: var(--ebbert-bg);
	border-left: 6px solid var(--ebbert-accent);
	padding: 32px 28px;
	scroll-snap-align: start;
	margin: 0;
}

.ebbert-why-icon {
	display: block;
	width: 40px;
	height: 40px;
	margin-bottom: 18px;
	background-color: var(--ebbert-brand);
	-webkit-mask-position: center;   mask-position: center;
	-webkit-mask-repeat: no-repeat;  mask-repeat: no-repeat;
	-webkit-mask-size: contain;      mask-size: contain;
}

.ebbert-why-icon--scale     { -webkit-mask-image: var(--ebbert-icon-scale);     mask-image: var(--ebbert-icon-scale); }
.ebbert-why-icon--file-text { -webkit-mask-image: var(--ebbert-icon-file-text); mask-image: var(--ebbert-icon-file-text); }
.ebbert-why-icon--map-pin   { -webkit-mask-image: var(--ebbert-icon-map-pin);   mask-image: var(--ebbert-icon-map-pin); }
.ebbert-why-icon--clock     { -webkit-mask-image: var(--ebbert-icon-clock);     mask-image: var(--ebbert-icon-clock); }
.ebbert-why-icon--users     { -webkit-mask-image: var(--ebbert-icon-users);     mask-image: var(--ebbert-icon-users); }
.ebbert-why-icon--handshake { -webkit-mask-image: var(--ebbert-icon-handshake); mask-image: var(--ebbert-icon-handshake); }

.entry-content .ebbert-why-track h3 {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 28px;
	line-height: 34px;
	color: var(--ebbert-brand);
	margin: 0 0 12px;
}

.ebbert-why-track p {
	font-size: 18px;
	line-height: 28px;
	color: var(--ebbert-body);
	margin: 0;
	max-width: none;
}

@media (max-width: 1023px) {
	.ebbert-why-track { grid-auto-columns: calc((100% - 32px) / 2); }
}

@media (max-width: 700px) {
	.ebbert-why-track { grid-auto-columns: 85%; }
	.ebbert-why-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
}

/* ---------- FAQ ----------
   Artboard: grey #F0F0F0 ground, CENTRED 48px heading, two columns (536/536, gap 0 48px).
   Items are NOT boxes — a single 1px #CCC hairline on top, 8px 0 padding. Question 24px/700
   #1B1919. The +/- sits on the RIGHT at 28px/600 in oxblood #541A13. */
.entry-content .wp-block-uagb-container.ebbert-faq {
	background-color: var(--ebbert-bg-alt);
}

.ebbert-faq .uagb-faq-child__outer-wrap,
.ebbert-faq .uagb-faq-item {
	border: 0;
	border-top: 1px solid #CCCCCC;
	background: transparent;
	padding: 8px 0;
	border-radius: 0;
}

/* Measured DOM: .uagb-faq-questions-button is the flex row, and Spectra emits the +/- icon spans
   BEFORE the question text. Reorder so the glyph sits on the right, as the artboard shows. */
.ebbert-faq .uagb-faq-questions-button,
.ebbert-faq .uagb-faq-questions {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 0;
}

.entry-content .ebbert-faq .uagb-question {
	order: 1;
	flex: 1 1 auto;
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 24px;
	line-height: 32px;
	color: var(--ebbert-ink);
}

.ebbert-faq .uagb-faq-questions-button > .uagb-icon,
.ebbert-faq .uagb-faq-questions-button > .uagb-icon-active {
	order: 2;
	flex: 0 0 auto;
	margin-left: auto;
	align-self: flex-start;
	margin-top: 4px;
}

/* The glyph itself: oxblood, and larger than Spectra's 12px default. */
.ebbert-faq .uagb-faq-icon-wrap svg {
	width: 18px;
	height: 18px;
	fill: var(--ebbert-brand);
	color: var(--ebbert-brand);
}

.ebbert-faq .uagb-faq-content,
.ebbert-faq .uagb-faq-item__content {
	padding: 0 0 16px;
}

.ebbert-faq .uagb-faq-content p,
.ebbert-faq .uagb-faq-item__content p {
	font-family: var(--ebbert-font-body);
	font-size: 17px;
	line-height: 28px;
	color: var(--ebbert-body);
	max-width: none;
}

/* ---------- Contact ----------
   Artboard section 13, measured verbatim.
   ============================================================ */
.entry-content .wp-block-uagb-container.ebbert-contact {
	background-color: var(--ebbert-ink);
	padding: 0;
}

.ebbert-contact-title {
	max-width: var(--ebbert-container);
	margin: 0 auto;
	padding: 64px 40px 44px;
}

.entry-content .ebbert-contact-title h2 {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 88px;
	line-height: 96px;
	color: var(--ebbert-accent);
	text-align: center;
	text-transform: uppercase;
	margin: 0;
}

.ebbert-contact-panel {
	position: relative;
	background: #383838;
	overflow: hidden;
}

.ebbert-contact-texture {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .25;
	pointer-events: none;
}

.ebbert-contact-grid {
	position: relative;
	max-width: var(--ebbert-container);
	margin: 0 auto;
	padding: 64px 40px;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 56px;
	align-items: start;
}

/* --- left: How It Works --- */
.entry-content .ebbert-contact-how h3 {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 44px;
	line-height: 52px;
	color: #FFFFFF;
	margin: 0 0 32px;
	text-transform: uppercase;
}

.ebbert-contact-how ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 26px;
}

.ebbert-contact-how li {
	padding-left: 20px;
	border-left: 6px solid var(--ebbert-accent);
	margin: 0;
}

.ebbert-contact-how .ebbert-step {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 28px;
	line-height: 34px;
	color: #FFFFFF;
	margin: 0 0 6px !important;
}

.ebbert-contact-how li p:last-child {
	font-size: 18px;
	line-height: 28px;
	color: #DDD8D3;
	margin: 0 !important;
	max-width: none;
}

/* Large tel: link with the phone glyph. [company-phone] supplies its own <a>. */
.ebbert-contact-phone-lg {
	margin: 40px 0 0 !important;
}

.entry-content .ebbert-contact-phone-lg a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #FFFFFF;
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 34px;
	line-height: 44px;
	text-decoration: none;
}

.entry-content .ebbert-contact-phone-lg a::before {
	content: "";
	width: 28px;
	height: 28px;
	flex: none;
	background-color: currentColor;
	-webkit-mask: var(--ebbert-phone-icon) center / contain no-repeat;
	mask: var(--ebbert-phone-icon) center / contain no-repeat;
}

.entry-content .ebbert-contact-phone-lg a:hover {
	color: var(--ebbert-accent);
}

/* --- right: gold form panel --- */
.ebbert-contact-formwrap {
	background: var(--ebbert-accent);
	padding: 34px 32px 32px;
}

.entry-content .ebbert-contact-formwrap h3 {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 34px;
	line-height: 42px;
	color: var(--ebbert-ink);
	margin: 0 0 22px;
	text-transform: uppercase;
}

.ebbert-contact-fineprint {
	font-size: 15px;
	line-height: 22px;
	color: #3A2A12;
	margin: 14px 0 0 !important;
	max-width: none;
}

.entry-content .ebbert-contact-fineprint a {
	color: #3A2A12;
	text-decoration: underline;
}

@media (max-width: 900px) {
	.entry-content .ebbert-contact-title h2 { font-size: 44px; line-height: 52px; }
	.ebbert-contact-title { padding: 44px 20px 28px; }
	.ebbert-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 44px 20px; }
	.entry-content .ebbert-contact-how h3 { font-size: 32px; line-height: 40px; }
	.entry-content .ebbert-contact-phone-lg a { font-size: 26px; line-height: 34px; }
	.ebbert-contact-formwrap { padding: 26px 22px 24px; }
}

/* ============================================================
   ARTBOARD CORRECTIONS
   The first homepage build applied the design system's tokens but not each section's actual
   composition. Everything below was re-measured off the artboard and corrects that.
   ============================================================ */

/* ---------- Gold-barred section heading ----------
   Artboard: h2 48px with a 6px #DFB03E left bar. Used on every content section and Why Choose. */
/* The class sits on the Spectra heading WRAPPER in block-built sections, but directly on the
   <h2> in the raw-HTML Why-Choose header — match both. */
.entry-content .ebbert-barred-heading .uagb-heading-text,
.entry-content .ebbert-barred-heading h2,
.entry-content h2.ebbert-barred-heading {
	border-left: 6px solid var(--ebbert-accent);
	padding-left: 26px;
	margin-bottom: 18px;
}

/* ---------- Centred section titles ----------
   Artboard centres "Our Practice Areas" (64px) and "Frequently Asked Questions" (48px). */
.entry-content .ebbert-title-centered .uagb-heading-text,
.entry-content .ebbert-title-centered h2 {
	text-align: center;
}

.entry-content .ebbert-title-xl .uagb-heading-text,
.entry-content .ebbert-title-xl h2 {
	font-size: 64px;
	line-height: 74px;
}

/* ---------- Content sections: two columns ----------
   Artboard: 532px / 532px, gap 56px, vertically centred. Right column holds a photograph. */
.entry-content .wp-block-uagb-container.ebbert-content-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
	width: 100%;
	margin-inline: 0;
	padding-inline: 0;
}

.entry-content .wp-block-uagb-container.ebbert-content-row > .wp-block-uagb-container {
	width: auto;
	min-width: 0;
	margin-inline: 0;
	padding-inline: 0;
}

.entry-content .ebbert-content-copy p {
	max-width: none;
}

/* Media column. Images come from the design export's own image slots and are cropped to the
   artboard's 532x460 frame (measured off sec-02 of the comp) with object-fit: cover, so differing
   source ratios all present identically. */
.entry-content .wp-block-uagb-container.ebbert-content-media {
	min-height: 1px;
}

.entry-content .ebbert-content-photo,
.entry-content .ebbert-content-photo figure {
	margin: 0;
	width: 100%;
}

.entry-content .ebbert-content-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 532 / 460;
	height: auto;
	object-fit: cover;
	object-position: center;
}

/* Sections the artboard leaves unillustrated run full width — no empty column, no placeholder. */
.entry-content .wp-block-uagb-container.ebbert-content--noimage .ebbert-content-copy,
.entry-content .wp-block-uagb-container.ebbert-content--noimage p {
	max-width: none;
}

@media (max-width: 900px) {
	.entry-content .ebbert-content-photo img {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 900px) {
	.entry-content .wp-block-uagb-container.ebbert-content-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	/* Empty media column must not leave a gap when stacked. */
	.entry-content .wp-block-uagb-container.ebbert-content-media:empty {
		display: none;
	}
}

/* FAQ accordion split into the artboard's two columns (536/536, gap 48). The block stays an
   accordion so the +/- toggles work; only the list is columned. */
.entry-content .ebbert-faq .wp-block-uagb-faq,
.entry-content .ebbert-faq .uagb-faq-container,
.entry-content .ebbert-faq .uagb-faq-layout-accordion {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 48px;
	row-gap: 0;
	align-items: start;
}

@media (max-width: 900px) {
	.entry-content .ebbert-faq .wp-block-uagb-faq,
	.entry-content .ebbert-faq .uagb-faq-container,
	.entry-content .ebbert-faq .uagb-faq-layout-accordion {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Trustindex widget in the hero review slot ----------
   The client's Google Reviews widget supplies the hero's review content.

   IMPORTANT: the widget is ALREADY configured (in the Trustindex dashboard) to match the artboard's
   card — it injects a per-widget-id rule at 0-6-0 !important:
     .ti-widget[data-layout-id="37"][data-set-id="trustindex-style"][data-pid="9aa817..."] .ti-review-item > .ti-inner
   giving background rgba(255,255,255,.176) and a 14px rgb(214,166,58) gold left border.

   So the artboard's frame is the WIDGET'S frame. Wrapping it in our own translucent panel with its
   own gold bar produced a visible box-in-box with two gold bars (measured). Our panel is therefore
   removed for the widget variant rather than fighting a 0-6-0 !important rule we cannot outrank
   cleanly. The hand-built .ebbert-hero-review__card styling above still applies to the non-widget
   path (the [ebbert_hero_review] shortcode), which remains available.

   Trustindex's stylesheet is cross-origin; enum-ti-inner.mjs reads the injected inline rules and
   explicitly reports the CDN sheet as unreadable rather than pretending it matched nothing. */
.ebbert-hero-review__card--widget {
	background: none;
	border-left: 0;
	padding: 0;
}

/* Carousel arrows sit outside the card on a dark ground — keep them legible. */
.ebbert-hero-review__card--widget [class*="ti-next"],
.ebbert-hero-review__card--widget [class*="ti-prev"] {
	filter: none;
}

/* ============================================================
   PRACTICE-AREA IMAGE CARDS
   Measured off the artboard's #practice-areas section. Card is an <a> 340px tall with the photo
   filling it, a bottom-up scrim, an 8px gold bar + uppercase title pinned bottom-left, and a
   hover reveal for the description and a gold "Learn More".
   The artboard drives the reveal from a --pa-r custom property toggled on hover; the same
   technique is used here so the transition is CSS-only, with no script added to the site.
   ============================================================ */
.entry-content .wp-block-uagb-container.ebbert-practice-areas {
	background-color: var(--ebbert-bg-alt);
}

.entry-content .ebbert-title-upper .uagb-heading-text,
.entry-content .ebbert-title-upper h2 {
	text-transform: uppercase;
	margin-bottom: 44px;
}

/* CAROUSEL, not a grid (client QA, Markup #7): ten cards made four rows and a 1,778px section.
   Same mechanism as the Why-Choose track — a native scroll-snap row, so swipe, trackpad and
   keyboard all work with no JavaScript. pa-carousel.js adds only the arrows and autoplay.
   Three cards in view, two below 1024px, one below 601px. */
.entry-content .wp-block-uagb-container.ebbert-pa-grid {
	--pa-per-view: 3;
	--pa-gap: 32px;
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: none;
	grid-auto-columns: calc((100% - (var(--pa-per-view) - 1) * var(--pa-gap)) / var(--pa-per-view));
	gap: var(--pa-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	/* START, not centre. Spectra centres a row container's content; on an overflowing grid that
	   centres the TRACKS, pushing half the cards into negative overflow that scrollLeft can never
	   reach — measured: card 1 at -1437px, the first four unreachable, cards 5-7 shown at load. */
	justify-content: start;
	width: 100%;
	margin-inline: 0;
	padding-inline: 0;
}

.entry-content .wp-block-uagb-container.ebbert-pa-grid::-webkit-scrollbar { display: none; }

.entry-content .ebbert-pa-grid > .ebbert-pa-card {
	scroll-snap-align: start;
}

/* Arrows: the Why-Choose buttons, centred under the track to sit on the centred section title. */
.ebbert-pa-nav {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 36px;
}

.ebbert-pa-nav button {
	width: 48px;
	height: 48px;
	/* Astra's global button padding (15px 30px) made these 62x48 — border-box cannot shrink below
	   its padding. The artboard spec is 48x48. */
	padding: 0;
	background: transparent;
	border: 1px solid var(--ebbert-border, #CCCCCC);
	color: var(--ebbert-ink);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	border-radius: var(--ebbert-radius);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.ebbert-pa-nav button:hover,
.ebbert-pa-nav button:focus-visible {
	background: var(--ebbert-accent);
	border-color: var(--ebbert-accent);
	color: var(--ebbert-cta-text);
}

.ebbert-pa-card {
	--pa-r: 0;
	display: block;
	position: relative;
	height: 340px;
	overflow: hidden;
	text-decoration: none;
	background-color: var(--ebbert-ink);   /* ground for cards with no photo yet */
}

.entry-content .ebbert-pa-card:hover,
.entry-content .ebbert-pa-card:focus-visible {
	--pa-r: 1;
}

.ebbert-pa-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* Scrim: .45 at rest, 1 on hover — exactly the artboard's calc(.45 + .55 * var(--pa-r)). */
.ebbert-pa-scrim {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	background: linear-gradient(to top,
		rgba(27, 25, 25, .95) 0%,
		rgba(27, 25, 25, .75) 34%,
		rgba(27, 25, 25, 0) 72%);
	opacity: calc(.45 + .55 * var(--pa-r));
	transition: opacity .3s ease;
	pointer-events: none;
}

/* Cards with no photo: a flat ink ground (client decision). A gradient here read as a failed
   image load; flat reads as a deliberate solid card. Same ink as the header and footer. */
.ebbert-pa-card--noimage {
	background-color: var(--ebbert-ink);
}

.ebbert-pa-card--noimage .ebbert-pa-scrim {
	background: none;
	opacity: 1;
}

.ebbert-pa-label {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 26px;
	display: block;
	pointer-events: none;
}

.ebbert-pa-titlerow {
	display: flex;
	align-items: stretch;
	gap: 14px;
}

.ebbert-pa-bar {
	width: 8px;
	background: var(--ebbert-accent);
	flex: none;
	margin: -7px 0;
}

.ebbert-pa-title {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 26px;
	line-height: 32px;
	color: #FFFFFF;
	text-transform: uppercase;
}

.ebbert-pa-reveal {
	display: block;
	overflow: hidden;
	max-height: calc(var(--pa-r) * 190px);
	opacity: var(--pa-r);
	transition: max-height .3s ease, opacity .3s ease;
}

.ebbert-pa-desc {
	display: block;
	font-family: var(--ebbert-font-body);
	font-size: 17px;
	line-height: 26px;
	color: #EFEAE4;
	margin: 14px 0;
	padding-left: 22px;
}

.ebbert-pa-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--ebbert-font-body);
	font-weight: var(--ebbert-w-head);
	font-size: 17px;
	color: var(--ebbert-accent);
	margin-left: 22px;
}

/* Reduced motion: no sliding reveal — show the description outright. */
@media (prefers-reduced-motion: reduce) {
	.ebbert-pa-reveal { transition: none; }
}

@media (max-width: 1023px) {
	.entry-content .wp-block-uagb-container.ebbert-pa-grid {
		--pa-per-view: 2;
		--pa-gap: 24px;
	}
}

@media (max-width: 600px) {
	.entry-content .wp-block-uagb-container.ebbert-pa-grid {
		--pa-per-view: 1;
	}
	/* Touch has no hover: show the description always so the copy is never unreachable. */
	.ebbert-pa-card { height: auto; min-height: 300px; }
}

/* Any device without hover (touch) must not hide the description behind an unreachable state. */
@media (hover: none) {
	.ebbert-pa-card { --pa-r: 1; }
}


/* ============================================================
   INTRO TREATMENTS (preview variants)
   Devices lifted from the artboard, measured verbatim:
     statement band  = section 3 of the comp  (ink ground, 900px centred column)
     oxblood CTA band = the comp's <aside>     (#541A13, gold + outlined buttons)
     lead paragraph   = the comp's subheading token (28px/34px) with a gold bar
   ============================================================ */

/* --- A/B: dark statement band --- */
.entry-content .wp-block-uagb-container.ebbert-statement {
	background-color: var(--ebbert-ink);
	padding-block: 80px;
	padding-inline: max(20px, calc((100% - 900px) / 2));
}

.entry-content .ebbert-statement .uagb-heading-text,
.entry-content .ebbert-statement h2 {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	/* Client decision: matched to the CTA band's 34px/42px rather than the artboard's 48px/58px.
	   The heading is the doc's first sentence promoted verbatim, which runs long — at 48px it took
	   five lines at 1440 and eight at 390 and dominated the section. 34px is the same size as the
	   "Call us today..." copy in the band directly below, so the two read as a matched pair. */
	font-size: 34px;
	line-height: 42px;
	color: #FFFFFF;
	text-align: center;
	margin: 0 0 22px;
}

.ebbert-statement p {
	font-size: 18px;
	line-height: 30px;
	color: #E6E1DC;
	text-align: center;
	max-width: none;
	margin: 0 0 18px;
}

.ebbert-statement p:last-child { margin-bottom: 0; }

/* --- A: oxblood CTA band (the comp's <aside>) --- */
.entry-content .wp-block-uagb-container.ebbert-ctaband {
	background-color: var(--ebbert-brand);
	padding-block: 36px;
	padding-inline: max(var(--ebbert-pad-x), calc((100% - var(--ebbert-container)) / 2));
}

.entry-content .wp-block-uagb-container.ebbert-ctaband-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 28px;
	align-items: center;
	width: 100%;
	margin-inline: 0;
	padding-inline: 0;
}

.ebbert-ctaband-copy p {
	margin: 0 !important;
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 34px;
	line-height: 42px;
	color: #FFFFFF;
	max-width: 30ch;
}

.ebbert-ctaband-copy p a {
	color: #FFFFFF;
	text-decoration: none;
}

.ebbert-ctaband-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.ebbert-ctaband-actions .ebbert-btn,
.ebbert-ctaband-actions .ebbert-ctaband-phone a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--ebbert-font-body);
	font-size: 20px;
	font-weight: var(--ebbert-w-semi);
	line-height: 28px;
	padding: 13px 26px;
	border-radius: var(--ebbert-radius);
	text-decoration: none;
	white-space: nowrap;
}

.ebbert-ctaband-actions .ebbert-btn--gold {
	background: var(--ebbert-accent);
	color: var(--ebbert-cta-text);
	border: 2px solid var(--ebbert-accent);
}

.ebbert-ctaband-actions .ebbert-btn--outline,
.ebbert-ctaband-actions .ebbert-ctaband-phone a {
	background: transparent;
	color: #FFFFFF;
	border: 2px solid #FFFFFF;
}

.ebbert-ctaband-actions .ebbert-btn--gold:hover {
	background-color: var(--ebbert-accent-hover);
	border-color: var(--ebbert-accent-hover);
	color: var(--ebbert-cta-text);
}
.ebbert-ctaband-actions .ebbert-btn--outline:hover,
.ebbert-ctaband-actions .ebbert-ctaband-phone a:hover { background: #FFFFFF; color: var(--ebbert-brand); }

/* --- C: lead paragraph on the light ground --- */
.ebbert-intro-lead {
	font-family: var(--ebbert-font-body);
	font-size: 28px !important;
	line-height: 40px !important;
	color: var(--ebbert-ink);
	border-left: 6px solid var(--ebbert-accent);
	padding-left: 26px;
	max-width: 44ch !important;
	margin: 0 0 24px !important;
}

@media (max-width: 900px) {
	.entry-content .wp-block-uagb-container.ebbert-ctaband-row {
		grid-template-columns: minmax(0, 1fr);
	}
	.ebbert-ctaband-actions { justify-content: flex-start; }
	.ebbert-ctaband-copy p { font-size: 26px; line-height: 34px; }
	.entry-content .ebbert-statement .uagb-heading-text,
	.entry-content .ebbert-statement h2 { font-size: 26px; line-height: 34px; }
	.ebbert-intro-lead { font-size: 22px !important; line-height: 32px !important; }
}

/* Astra underlines links inside .entry-content, which hit the CTA band buttons. */
.entry-content .ebbert-ctaband-actions .ebbert-btn,
.entry-content .ebbert-ctaband-actions .ebbert-ctaband-phone a,
.entry-content .ebbert-ctaband-copy p a {
	text-decoration: none;
}

/* Inline links on the dark statement band: the global link colour is oxblood #541A13, which on
   #1B1919 is close to unreadable (measured in variant B). Gold on ink instead. */
.entry-content .ebbert-statement a {
	color: var(--ebbert-accent);
	text-decoration-color: rgba(223, 176, 62, .5);
}

.entry-content .ebbert-statement a:hover {
	color: #FFFFFF;
}

/* Variant C: the lead paragraph must share the left edge of the paragraphs beneath it. */
.entry-content .wp-block-uagb-container.ebbert-variant-c {
	padding-inline: max(var(--ebbert-pad-x), calc((100% - var(--ebbert-container)) / 2));
}

.entry-content .ebbert-variant-c .ebbert-intro-lead {
	margin-inline: 0 !important;
	max-width: 52ch !important;
}

/* Spectra centres a column container's children, so the max-width'd lead paragraph was being
   centred while the full-width paragraphs below it started at the container edge (measured
   x=316 vs x=120). Pin children to the start. Same root cause as the mid-page CTA card. */
.entry-content .wp-block-uagb-container.ebbert-variant-c {
	align-items: flex-start;
}

/* Alternating photo side. Copy stays first in the DOM (so the stacked mobile order is always
   copy-then-image and the reading order matches the visual order); only the desktop grid columns
   swap. Using `order` rather than row-reverse keeps the 1fr/1fr track sizing intact. */
.entry-content .wp-block-uagb-container.ebbert-content-row--flip > .ebbert-content-copy {
	order: 2;
}

.entry-content .wp-block-uagb-container.ebbert-content-row--flip > .ebbert-content-media {
	order: 1;
}

@media (max-width: 900px) {
	/* Stacked: reading order wins — copy first regardless of the desktop side. */
	.entry-content .wp-block-uagb-container.ebbert-content-row--flip > .ebbert-content-copy,
	.entry-content .wp-block-uagb-container.ebbert-content-row--flip > .ebbert-content-media {
		order: initial;
	}
}

/* ============================================================
   MEET OUR TEAM
   Measured from artboard section 6:
     section  padding:80px 0 0; background:#fff; overflow:hidden
     grid     minmax(0,1fr) minmax(0,1fr); gap:48px; align-items:end
     gold panel  absolute; left:0; right:8%; top:40px; bottom:0; background:#DFB03E
                 + Tennessee star svg, left:0 top:44%, translate(-50%,-50%), width:130%, opacity .22
     portrait    height:520px; padding-top:74px; object-fit:contain; object-position:bottom center
     stat block  background:#1B1919; padding:20px 26px; margin:0 22% 40px 0
                 Oswald 700 34px/38px #fff, with "Years" at weight 400
     h2       Oswald 700 44px/52px, uppercase, margin:0
     eyebrow  15px/600, ls .14em, uppercase, #541A13, margin:8px 0 34px
     h3       Oswald 700 34px/42px, margin:0 0 4px
     role     16px/600, ls .1em, uppercase, #541A13, margin:0 0 22px
     bio      padding-left:20px; border-left:6px solid #DFB03E; 18px/28px #535353
   ============================================================ */
.entry-content .wp-block-uagb-container.ebbert-team {
	background-color: var(--ebbert-bg);
	overflow: hidden;
	padding-block: 80px 0;
	padding-inline: max(var(--ebbert-pad-x), calc((100% - var(--ebbert-container)) / 2));
}

.ebbert-team-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: end;
}

/* --- left: gold panel, portrait, stat block --- */
.ebbert-team-media { position: relative; }

.ebbert-team-panel {
	position: absolute;
	left: 0;
	right: 8%;
	top: 40px;
	bottom: 0;
	background: var(--ebbert-accent);
	overflow: hidden;
}

.ebbert-team-panel::before {
	content: "";
	position: absolute;
	left: 0;
	top: 44%;
	transform: translate(-50%, -50%);
	width: 130%;
	aspect-ratio: 1;
	background: var(--ebbert-star) center / contain no-repeat;
	opacity: .22;
}

.ebbert-team-portrait {
	position: relative;
	height: 520px;
	padding-top: 74px;
}

.ebbert-team-portrait img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: bottom center;
	display: block;
}

.ebbert-team-stat {
	position: relative;
	background: var(--ebbert-ink);
	padding: 20px 26px;
	margin: 0 22% 40px 0;
}

.ebbert-team-stat p {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 34px;
	line-height: 38px;
	color: #FFFFFF;
	margin: 0;
	max-width: none;
}

.ebbert-team-stat span { font-weight: var(--ebbert-w-body); }

/* --- right: copy --- */
.ebbert-team-copy { padding-bottom: 56px; }

.entry-content h2.ebbert-team-title {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 44px;
	line-height: 52px;
	color: var(--ebbert-ink);
	text-transform: uppercase;
	margin: 0;
}

.ebbert-team-eyebrow {
	font-size: 15px;
	font-weight: var(--ebbert-w-semi);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ebbert-brand);
	margin: 8px 0 34px !important;
}

.entry-content h3.ebbert-team-name {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 34px;
	line-height: 42px;
	color: var(--ebbert-ink);
	margin: 0 0 4px;
}

.ebbert-team-role {
	font-size: 16px;
	font-weight: var(--ebbert-w-semi);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ebbert-brand);
	margin: 0 0 22px !important;
}

.ebbert-team-bio {
	padding-left: 20px;
	border-left: 6px solid var(--ebbert-accent);
}

.ebbert-team-bio p {
	font-size: 18px;
	line-height: 28px;
	color: var(--ebbert-body);
	margin: 0 0 18px;
	max-width: none;
}

.ebbert-team-bio p:last-child { margin-bottom: 0; }

.ebbert-team-actions {
	display: flex;
	gap: 14px;
	margin-top: 28px;
	flex-wrap: wrap;
}

/* Design-system .btn-outline: transparent, brand colour and border. */
.entry-content .ebbert-btn--ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--ebbert-font-body);
	font-size: var(--ebbert-btn);
	font-weight: var(--ebbert-w-semi);
	line-height: var(--ebbert-btn-lh);
	padding: 12px 28px;
	border: 2px solid var(--ebbert-brand);
	border-radius: var(--ebbert-radius);
	background: transparent;
	color: var(--ebbert-brand);
	/* Astra underlines every link inside .entry-content; that hit this button (known override). */
	text-decoration: none !important;
}

.entry-content .ebbert-btn--ghost:hover {
	background: var(--ebbert-brand);
	color: #FFFFFF;
}

@media (max-width: 900px) {
	.ebbert-team-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ebbert-team-copy { padding-bottom: 40px; }
	.entry-content h2.ebbert-team-title { font-size: 32px; line-height: 40px; }
	.entry-content h3.ebbert-team-name { font-size: 26px; line-height: 34px; }
	.ebbert-team-portrait { height: 420px; }
}

/* ---------- Gravity Forms inside the gold contact panel ----------
   Artboard's hand-built form: 2-col grid gap 16, labels 15px/700 #3A2A12, inputs 17px on white
   with a 1px #A9832A border, consent checkbox 20px with accent #541A13, and a full-width oxblood
   submit. GF's own chrome is neutralised so its markup lands on those values.
   GF 2.10 paints controls from custom properties (see known-overrides #11) — set those, not
   selector overrides, wherever possible. */
.ebbert-contact-formwrap .gform_wrapper,
.ebbert-contact-formwrap .gform-theme--framework {
	--gf-ctrl-btn-bg-color-primary: var(--ebbert-brand);
	--gf-ctrl-btn-bg-color-hover-primary: #3E120D;
	--gf-ctrl-btn-color-primary: #FFFFFF;
	--gf-ctrl-btn-color-hover-primary: #FFFFFF;
	--gf-ctrl-btn-border-color-primary: var(--ebbert-brand);
	--gf-ctrl-btn-border-color-hover-primary: #3E120D;
	--gf-ctrl-btn-font-size: var(--ebbert-btn);
	--gf-ctrl-btn-font-weight: var(--ebbert-w-semi);
	--gf-ctrl-btn-radius: var(--ebbert-radius);
	--gf-ctrl-label-color-primary: #3A2A12;
	--gf-ctrl-label-color-secondary: #3A2A12;
	--gf-ctrl-border-color: #A9832A;
	--gf-ctrl-radius: var(--ebbert-radius);
	--gf-ctrl-bg-color: #FFFFFF;
	--gf-color-primary: var(--ebbert-brand);
	--gf-local-bg-color: var(--ebbert-brand);
	--gf-local-color: #FFFFFF;
	--gf-local-border-color: var(--ebbert-brand);
}

.ebbert-contact-formwrap .gform_wrapper .gfield_label {
	font-family: var(--ebbert-font-body);
	font-size: 15px;
	font-weight: var(--ebbert-w-head);
	color: #3A2A12;
	margin-bottom: 6px;
}

.ebbert-contact-formwrap .gform_wrapper .gfield_required { color: var(--ebbert-brand); }

.ebbert-contact-formwrap .gform_wrapper input[type="text"],
.ebbert-contact-formwrap .gform_wrapper input[type="email"],
.ebbert-contact-formwrap .gform_wrapper input[type="tel"],
.ebbert-contact-formwrap .gform_wrapper textarea {
	font-family: var(--ebbert-font-body);
	font-size: 17px;
	padding: 12px 14px;
	border: 1px solid #A9832A;
	background: #FFFFFF;
	border-radius: var(--ebbert-radius);
	color: var(--ebbert-ink);
	width: 100%;
}

.ebbert-contact-formwrap .gform_wrapper textarea { min-height: 132px; }

/* The live form is a SINGLE column — the artboard's two-up name row is gone with it. */
.ebbert-contact-formwrap .gform_wrapper .gform_fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

.ebbert-contact-formwrap .gform_wrapper .gfield {
	grid-column: 1 / -1;
	margin: 0;
	padding: 0;
}

/* Name / Email / Mobile / case textarea carry labelPlacement:hidden_label — the placeholder
   is the visible label, exactly as on the live form. GF hides them accessibly for us. */

/* "Choose Your Area of Concern" is the one visible label; it reads as a heading. */
.ebbert-contact-formwrap .gform_wrapper .ebbert-area .gfield_label {
	font-size: 18px;
	color: var(--ebbert-ink);
	margin-bottom: 8px;
}

.ebbert-contact-formwrap .gform_wrapper select {
	/* Astra emits an inline `select { height: 40px }`. With 12px padding top and bottom that
	   leaves a 14px content box, which clipped the 17px option text to invisibility — the field
	   looked like an empty white box. Let the padding size it instead. */
	height: auto;
	line-height: 1.35;
	font-family: var(--ebbert-font-body);
	font-size: 17px;
	/* Extra right padding to clear the chevron drawn below. */
	padding: 12px 38px 12px 14px;
	border: 1px solid #A9832A;
	/* GF adds its own 10x6 chevron as a background-image ON FOCUS. This rule used the
	   `background` SHORTHAND, which resets background-repeat to `repeat`, so the moment the
	   select was clicked that tiny SVG tiled across the whole control as a zigzag hatch.
	   Draw our own chevron instead, in both states, with repeat/position/size stated. */
	background-color: #FFFFFF;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%231B1919' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	border-radius: var(--ebbert-radius);
	color: var(--ebbert-ink);
	width: 100%;
}

/* Consent row. GF's `consent` field type uses .ginput_container_consent + .gfield_consent_label,
   NOT the .gchoice markup a plain checkbox field produces. */
.ebbert-contact-formwrap .gform_wrapper .ebbert-consent .gfield_label { display: none; }

.ebbert-contact-formwrap .gform_wrapper .ginput_container_consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.ebbert-contact-formwrap .gform_wrapper .ginput_container_consent input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	flex: none;
	accent-color: var(--ebbert-brand);
}

.ebbert-contact-formwrap .gform_wrapper .gfield_consent_label {
	font-family: var(--ebbert-font-body);
	font-size: 15px;
	line-height: 22px;
	color: #3A2A12;
	font-weight: var(--ebbert-w-body);
}

/* The two HTML fields: Privacy Policy / Terms of Service, then the reassurance line. */
.ebbert-contact-formwrap .gform_wrapper .ebbert-fineprint,
.ebbert-contact-formwrap .gform_wrapper .ebbert-touch {
	font-family: var(--ebbert-font-body);
	font-size: 16px;
	line-height: 24px;
	color: var(--ebbert-ink);
}

.ebbert-contact-formwrap .gform_wrapper .ebbert-touch p {
	margin: 0;
	font-weight: var(--ebbert-w-head);
	/* typography.css paints every `p` --ebbert-body (#535353), which beats inheritance from the
	   wrapper, so this line came out grey on the gold panel. Repeat the colour on the p itself. */
	color: var(--ebbert-ink);
}

.entry-content .ebbert-contact-formwrap .gform_wrapper .ebbert-fineprint a {
	color: var(--ebbert-ink);
	text-decoration: underline;
}

.ebbert-contact-formwrap .gform_wrapper .gform_footer {
	margin: 20px 0 0;
	padding: 0;
}

.ebbert-contact-formwrap .gform_wrapper .gform_footer input[type="submit"],
.ebbert-contact-formwrap .gform_wrapper .gform_footer button[type="submit"] {
	/* GF 2.10 sizes controls with logical properties AND a 0-51-0 `:where()` reset; neither
	   `width:100%` nor `inline-size:100%` landed (button stayed at its 222.86px content width).
	   This is the same class of problem as known-overrides #11 — !important is required. */
	width: 100% !important;
	inline-size: 100% !important;
	max-inline-size: 100% !important;
	font-family: var(--ebbert-font-body);
	font-size: var(--ebbert-btn);
	font-weight: var(--ebbert-w-semi);
	line-height: var(--ebbert-btn-lh);
	padding: 14px 28px;
	background: var(--ebbert-brand);
	color: #FFFFFF;
	border: 2px solid var(--ebbert-brand);
	border-radius: var(--ebbert-radius);
	cursor: pointer;
}


/* ============================================================================
   INNER PAGES  (/about/, the practice-area and location pages, the legal pages)

   These carry .ebbert-page-hero + .ebbert-body from build-migrated-pages.py and from the
   inner-page builder. Neither class had ANY rule anywhere — not in the stylesheets, not in the
   customizer — so every inner page ran the full viewport width with Spectra's default 10px
   padding. Measured before: .ebbert-body 1440px wide, max-width none, padding-inline 10px.

   Same treatment as the homepage sections above: background stays full-bleed, content sits in
   the design's centred 1200px column. Specificity is .entry-content + .wp-block-uagb-container
   (0-3-0) to clear Spectra's per-block padding at 0-2-0 — see the note on the homepage rule.
   ============================================================================ */
.entry-content .wp-block-uagb-container.ebbert-page-hero,
.entry-content .wp-block-uagb-container.ebbert-body {
	padding-inline: max(var(--ebbert-pad-x), calc((100% - var(--ebbert-container)) / 2));
}

/* The row and its two columns sit INSIDE that column, so they take no extra inline padding. */
.entry-content .wp-block-uagb-container.ebbert-body-row,
.entry-content .wp-block-uagb-container.ebbert-body-main {
	padding-inline: 0;
}

/* Spectra's 68/32 percentage widths plus the 48px column gap overflow the 1200px row, and it
   resolved that by squeezing the sidebar to 167px. State the track sizes instead: the sidebar
   gets a fixed basis and the content column takes what is left. */
@media (min-width: 922px) {
	.entry-content .wp-block-uagb-container.ebbert-body-main {
		flex: 1 1 auto;
		min-width: 0;
	}

	.entry-content .wp-block-uagb-container.ebbert-body-aside,
	/* The migrated pages' aside is a plain <aside class="ebbert-page-aside">, so it never matched
	   the container selector above and had no stated track at all — it was sizing off its own
	   content and the content column's, which measured anywhere from 275px to 575px depending on
	   how long the page's paragraphs were. Same 320px track for both. */
	.entry-content .ebbert-body-row > .ebbert-page-aside {
		flex: 0 0 320px;
		max-width: 320px;
	}
}

/* Spectra makes every container a flex column. A float is inert on a flex item, so the source's
   left/right wrapped photos sat on their own centred line instead. Normal flow restores the
   wrap the copy was written around. The row itself stays flex — it still needs its two columns
   side by side. */
.entry-content .wp-block-uagb-container.ebbert-body-main {
	display: block;
}

/* Migrated content photos. The source laid these out as `size-medium` floated left or right with
   text wrapping; we imported the full-size originals, so without a cap each one rendered at the
   full 1061px column width. 300px is the width the source's medium size actually was. */
.ebbert-body-main .wp-block-image.size-medium {
	max-width: 300px;
}

.ebbert-body-main .wp-block-image img {
	height: auto;
	max-width: 100%;
}

/* One 3:2 frame for every floated content photo (client QA, Markup #64). Two of the 23 are
   portrait — /lenoir-city/estate-planning/ (flagged) and /farragut/estate-planning/ — and at
   300×450 their float ran 250px past the paragraph beside it, leaving a gap in the text. The
   other 21 are already 3:2, so they do not move. The crop sits a little above centre, where
   both portraits keep their subject (the will's heading; the man's face and tablet). */
.ebbert-body-main .wp-block-image.size-medium img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: 50% 35%;
}

.ebbert-body-main .wp-block-image.alignleft {
	float: left;
	margin: 6px var(--ebbert-gap, 28px) 18px 0;
}

.ebbert-body-main .wp-block-image.alignright {
	float: right;
	margin: 6px 0 18px var(--ebbert-gap, 28px);
}

/* Floats must not escape their section and drag the next heading up beside them. Descendant,
   not child: the migrated pages' h2 sections are now each wrapped in their own striping
   container, so their headings are grandchildren of `.ebbert-body-main`. The content-doc pages
   emit every heading as `uagb/advanced-heading`, so this selector never applied to them. */
.ebbert-body-main .wp-block-heading {
	clear: both;
}

@media (max-width: 600px) {
	/* Floating a 300px image inside a ~350px column leaves an unreadable ribbon of text. */
	.ebbert-body-main .wp-block-image.alignleft,
	.ebbert-body-main .wp-block-image.alignright {
		float: none;
		margin: 0 0 18px;
		max-width: 100%;
	}
}

/* ---------- Inner-page hero ----------
   Used by BOTH inner-page builders: build-innerpage-blocks.mjs (the 24 content-doc pages) and
   build-migrated-pages.py (the 14 migrated pages, which may add .ebbert-page-hero--image and an
   .ebbert-page-hero-eyebrow). Neither class had any rule, so every inner page rendered its H1 as
   small plain body text on a white ground.

   Deliberately a COMPACT version of the homepage hero rather than a copy of the old site's
   banner: the old banner is the previous brand (Montserrat, a 316px city name, #541A12) and
   carrying it over would put two different design systems on one site. Measured from the
   approved homepage hero: same radial, H1 Oswald 700 56px/66px white. */
.entry-content .wp-block-uagb-container.ebbert-page-hero {
	position: relative;
	overflow: hidden;
	/* padding-inline is set by the 1200px container rule above — only the block axis here. */
	padding-block: 64px 56px;
	row-gap: 14px;
}

/* The SAME radial on every inner page, including the ten migrated pages that carry
   .ebbert-page-hero--image. Two reasons that class gets no special treatment:
     1. Spectra never painted those banners anyway — `backgroundImageDesktop:{id:251}` is not
        enough for it to emit a background-image rule (measured: `background-image: none`, and
        its per-post stylesheet contains only shape/fill rules for the block).
     2. The banner art is the PREVIOUS brand's (will-trust-banner.webp et al, Montserrat-era).
        Painting it behind Oswald/oxblood on ten of thirty-eight inner pages would put two design
        systems on one site.
   The four banner images stay in the media library if the client wants them back. */
.entry-content .wp-block-uagb-container.ebbert-page-hero {
	background-image: radial-gradient(120% 100% at 50% 0%, #6E241B 0%, #3A120D 45%, #14100F 100%);
}

/* Blocks are direct children of the container; keep them above any future background layer. */
.ebbert-page-hero > * {
	position: relative;
	z-index: 1;
}

/* Eyebrow: the migrated location pages carry "Farragut, Tennessee". Same treatment as the
   site's existing .ebbert-eyebrow (Nunito Sans 600, gold, 2.4px tracking) rather than a new one. */
.entry-content .ebbert-page-hero-eyebrow {
	font-family: var(--ebbert-font-body);
	font-size: var(--ebbert-eyebrow);
	font-weight: var(--ebbert-w-semi);
	line-height: var(--ebbert-text-lh);
	text-transform: uppercase;
	letter-spacing: var(--ebbert-eyebrow-ls);
	color: var(--ebbert-accent);
	margin: 0;
}

.entry-content .ebbert-page-hero-title h1.uagb-heading-text {
	font-family: var(--ebbert-font-heading);
	font-size: var(--ebbert-h1);
	line-height: var(--ebbert-h1-lh);
	font-weight: var(--ebbert-w-head);
	color: #FFFFFF;
	margin: 0;
	max-width: 20ch;
}

/* ---------- "We know the law" strip ----------
   Three claims carried over from the old location pages' slider. Rendered as a static row: the
   source repeated each item twice purely so its marquee could loop, which is not a reason to
   animate anything here. */
/* SPECIFICITY: a bare .ebbert-know-strip (0-1-0) loses to Astra's `.entry-content ul` (0-1-1) —
   measured padding-left 20px / right 0 instead of the intended container inset, which pushed the
   third column past the 1200px column. `.entry-content ul.<class>` is 0-2-1. */
.entry-content ul.ebbert-know-strip {
	/* Flex, not grid. As a grid the two short items rendered CENTRED in their tracks (275px and
	   261px inside 379px) with their gold bars visibly out of line, even though justify-self
	   computed to `stretch` and no width rule matched them. `flex: 1 1 0` is unambiguous. */
	display: flex;
	gap: 0 32px;
	list-style: none;
	margin: 0;
	padding: 28px max(var(--ebbert-pad-x), calc((100% - var(--ebbert-container)) / 2));
	background: var(--ebbert-ink);
}

.entry-content ul.ebbert-know-strip li {
	/* No width rule matches these (checked with matching-rules.mjs) yet the short items were
	   shrink-wrapping to their text — 275px and 261px inside 379px columns — which left their
	   gold bars visibly out of line with the third. State the stretch rather than rely on the
	   grid default. */
	flex: 1 1 0;
	min-width: 0;
	font-family: var(--ebbert-font-heading);
	font-size: 18px;
	line-height: 26px;
	font-weight: var(--ebbert-w-head);
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #FFFFFF;
	padding-left: 16px;
	border-left: 4px solid var(--ebbert-accent);
	/* Centre the words on the bar (client QA, Markup #14). Every item stretches to the tallest —
	   the two-line third item makes the bars 52px — so the one-line items sat at the top with
	   26px of empty bar beneath them. */
	display: flex;
	align-items: center;
}

@media (max-width: 782px) {
	.entry-content .wp-block-uagb-container.ebbert-page-hero {
		padding-block: 40px 34px;
	}
	.entry-content .ebbert-page-hero-title h1.uagb-heading-text { max-width: none; }
	.entry-content ul.ebbert-know-strip {
		flex-direction: column;
		gap: 14px;
		padding-block: 22px;
	}
}

/* ---------- Closing contact panel on INNER pages ----------
   Same DOM as the homepage panel, but the left column holds the doc's own closing copy
   (paragraphs, an occasional list) instead of the homepage's numbered "How It Works" list.
   The homepage only ever styles `.ebbert-contact-how li p:last-child`, so bare paragraphs fell
   through to the body colour — #535353 on a #383838 panel, effectively unreadable. */
.entry-content .ebbert-contact-how > p:not(.ebbert-contact-phone-lg),
.entry-content .ebbert-contact-how > ul li {
	font-size: 18px;
	line-height: 28px;
	color: #DDD8D3;
	max-width: 62ch;
}

.entry-content .ebbert-contact-how > p:not(.ebbert-contact-phone-lg) { margin: 0 0 18px; }

.entry-content .ebbert-contact-how > ul {
	margin: 0 0 18px;
	padding-left: 20px;
}

/* Links in that copy inherited the oxblood link colour, which is near-invisible on the dark
   panel. Gold matches the rest of the section. [company-phone] emits its own <a>, so this
   catches the inline phone mention too.
   EXCLUDING .ebbert-contact-phone-lg: that is the big white phone block, and this selector is
   0-2-2 against the homepage's 0-2-1, so without the :not() it recoloured and underlined the
   phone on the HOMEPAGE as well. */
.entry-content .ebbert-contact-how > p:not(.ebbert-contact-phone-lg) a,
.entry-content .ebbert-contact-how > ul li a {
	color: var(--ebbert-accent);
	text-decoration: underline;
}

.entry-content .ebbert-contact-how > p:not(.ebbert-contact-phone-lg) a:hover,
.entry-content .ebbert-contact-how > ul li a:hover {
	color: #FFFFFF;
}

/* The homepage title is "CONTACT US NOW" — three short words at 88px. Inner pages carry the
   doc's own closing heading ("Talk To Our Knoxville Advance Healthcare Directive Attorneys"),
   which at 88px ran to two full-bleed lines. Scale with the viewport, capped at the homepage
   size so the homepage itself is untouched. */
.entry-content .ebbert-contact--doc-heading h2 {
	font-size: clamp(34px, 4.2vw, 60px);
	line-height: 1.12;
}

/* ---------- Blog archive cards + single post sidebar ----------
   Card titles: `.entry-title` on the archive is an h2 per card, and typography.css used to size
   every .entry-title at --ebbert-h1 (56px). In a 202px card that produced an 801px-tall title
   broken mid-word. These are list items, not page headings. */
.ast-archive-description .entry-title,
.blog .site-main .entry-title,
.archive .site-main .entry-title,
.search .site-main .entry-title {
	font-size: 22px;
	line-height: 30px;
	/* Long legal titles in a narrow card must not break mid-word. */
	overflow-wrap: break-word;
	hyphens: auto;
}

.blog .site-main .entry-title a,
.archive .site-main .entry-title a {
	color: var(--ebbert-ink);
	text-decoration: none;
}

.blog .site-main .entry-title a:hover,
.archive .site-main .entry-title a:hover {
	color: var(--ebbert-brand);
}

/* The consultation form in the blog sidebar. It carries .ebbert-contact-formwrap as well, so the
   gold panel and all the Gravity Forms rules written for the homepage apply unchanged. */
.ebbert-blog-formwrap {
	padding: 24px 22px 22px;
}

.entry-content .ebbert-blog-formwrap h3,
.ebbert-blog-formwrap h3 {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 26px;
	line-height: 32px;
	color: var(--ebbert-ink);
	text-transform: uppercase;
	margin: 0 0 16px;
}

/* Sticky: the form follows the reader down a long post. `top` clears the sticky site header.
   Only from 922px up — below that Astra stacks the sidebar under the content, where sticking it
   would pin a tall panel over the article. */
@media (min-width: 922px) {
	/* Stick .sidebar-main, NOT the form itself. A sticky element travels inside its own parent,
	   and the form's parent is the <aside>, which is only as tall as the form (991px) — that
	   gave ~60px of travel and it scrolled away. .sidebar-main is the direct child of the
	   stretched #secondary, so it has the full column height to move in.
	   Verified with test-blog-sticky.mjs, not assumed. */
	#secondary .sidebar-main {
		position: sticky;
		top: 24px;
	}
	/* A sticky element can only travel inside its own parent, so every wrapper between it and
	   the tall flex row must STRETCH, not shrink to content. `align-self: flex-start` here did
	   the opposite — it left #secondary 991px tall inside a 4579px container, so the form
	   scrolled away instead of pinning. Measured before and after with test-blog-sticky.mjs. */
	#secondary {
		align-self: stretch;
	}
}


/* GF replaces the select's background-image on :focus with its own chevron and no repeat rule.
   Restate ours for every state so the control never tiles. */
.ebbert-contact-formwrap .gform_wrapper select:focus,
.ebbert-contact-formwrap .gform_wrapper select:active,
.ebbert-contact-formwrap .gform_wrapper select:hover {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%231B1919' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
}

/* Focus ring: the default is a 3px blue that clashes badly with the gold panel. Brand oxblood,
   kept clearly visible — a focus ring is an accessibility affordance, not decoration. */
.ebbert-contact-formwrap .gform_wrapper select:focus,
.ebbert-contact-formwrap .gform_wrapper input:focus,
.ebbert-contact-formwrap .gform_wrapper textarea:focus {
	outline: 3px solid var(--ebbert-brand);
	outline-offset: 1px;
}

/* ---------- Sidebar form: compact enough for a laptop ----------
   The panel inherits the homepage form's sizing, which is built for a 505px column in a full
   section. In a 300px sidebar that came to 855px tall — taller than the usable height of a
   typical laptop viewport, so the sticky panel could never pin with its whole self on screen.
   Everything below is scoped to `:is(#secondary, .ebbert-page-aside)` — the blog's own sidebar
   and the in-page asides that carry the same panel (/reviews/). `:is()` takes the specificity of
   its MOST specific argument, so every one of these keeps the 1-1-0 it had when it read
   `#secondary`; nothing below shifts in the cascade. The homepage and inner-page panels, which
   sit in neither, are untouched.
   Measured contributors: consent legal text 176px, textarea 132px, select 69px. */
:is(#secondary, .ebbert-page-aside) .ebbert-blog-formwrap {
	padding: 18px 16px 16px;
}

:is(#secondary, .ebbert-page-aside) .ebbert-blog-formwrap h3 {
	font-size: 20px;
	line-height: 26px;
	margin: 0 0 12px;
}

:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gform_wrapper .gform_fields {
	gap: 9px;
}

:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gform_wrapper input[type="text"],
:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gform_wrapper input[type="email"],
:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gform_wrapper input[type="tel"],
:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gform_wrapper select,
:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gform_wrapper textarea {
	font-size: 15px;
	padding: 9px 12px;
}

:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gform_wrapper select {
	padding-right: 34px;
	background-position: right 11px center;
}

:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gform_wrapper textarea {
	min-height: 76px;
}

:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gform_wrapper .ebbert-area .gfield_label {
	font-size: 15px;
	margin-bottom: 5px;
}

/* The consent statement is the single tallest element. Smaller, tighter — still legible, and
   the wording is untouched because it is a compliance text. */
:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gfield_consent_label {
	font-size: 12.5px;
	line-height: 17px;
}

:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .ginput_container_consent input[type="checkbox"] {
	width: 16px;
	height: 16px;
}

:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gform_wrapper .ebbert-fineprint,
:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gform_wrapper .ebbert-touch {
	font-size: 13px;
	line-height: 18px;
}

:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gform_wrapper .gform_footer {
	margin-top: 12px;
}

:is(#secondary, .ebbert-page-aside) .ebbert-contact-formwrap .gform_wrapper .gform_footer input[type="submit"] {
	font-size: 16px;
	padding: 10px 18px;
}

/* Blog index H1 — see inc/blog.php. Sized like a page heading, not a hero: the archive has no
   hero band, so this sits on the page ground above the card grid. */
.ebbert-blog-header {
	grid-column: 1 / -1;
	margin: 0 0 28px;
}

.entry-content .ebbert-blog-title,
.ebbert-blog-title {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: var(--ebbert-h2);
	line-height: var(--ebbert-h2-lh);
	color: var(--ebbert-ink);
	margin: 0;
}

/* ---------- Mid-page CTA band (inner pages) ----------
   Same visual language as the homepage's .ebbert-ctaband: oxblood ground, one line of copy, a
   gold primary and the phone as a secondary. It sits INSIDE the content column here, not
   full-bleed, because the inner pages run beside a sidebar. */
/* Full-bleed oxblood band, same escape technique as the alternating grey (see #38): box-shadow
   spread + clip-path, never `100vw`, which would include the scrollbar and force horizontal
   scroll. Copy sits on top, the two buttons below it. */
.entry-content .wp-block-uagb-container.ebbert-midcta {
	position: relative;
	background-color: var(--ebbert-brand);
	padding: 40px 0 42px;
	/* No margin: any margin here shows as a white sliver between this band and the tinted
	   section above or below it, since both are full-bleed. */
	margin-block: 0;
	box-shadow: 0 0 0 100vmax var(--ebbert-brand);
	clip-path: inset(0 -100vmax);
}

.ebbert-midcta-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

.entry-content .ebbert-midcta-text {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 26px;
	line-height: 34px;
	color: #FFFFFF;
	margin: 0;
	max-width: 44ch;
}

.ebbert-midcta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

/* [company-phone] emits its own <a>; style through the wrapper so nothing is nested. */
.entry-content .ebbert-midcta-actions .ebbert-btn,
.entry-content .ebbert-midcta-phone a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--ebbert-font-body);
	font-weight: var(--ebbert-w-semi);
	font-size: var(--ebbert-btn);
	line-height: var(--ebbert-btn-lh);
	padding: 12px 22px;
	border-radius: var(--ebbert-radius);
	text-decoration: none;
	white-space: nowrap;
}

.entry-content .ebbert-midcta-actions .ebbert-btn--gold {
	background: var(--ebbert-accent);
	color: var(--ebbert-cta-text);
	border: 2px solid var(--ebbert-accent);
}

.entry-content .ebbert-midcta-actions .ebbert-btn--gold:hover {
	background-color: var(--ebbert-accent-hover);
	border-color: var(--ebbert-accent-hover);
	color: var(--ebbert-cta-text);
}

.entry-content .ebbert-midcta-phone a {
	background: transparent;
	color: #FFFFFF;
	border: 2px solid #FFFFFF;
}

.entry-content .ebbert-midcta-phone a:hover {
	background: #FFFFFF;
	color: var(--ebbert-brand);
}

@media (max-width: 921px) {
	.entry-content .ebbert-midcta-text { font-size: 22px; line-height: 30px; max-width: none; }
}

/* ---------- Inner-page sidebar: sticky ----------
   Two wrappers exist: .ebbert-body-aside on the content-doc pages (a Spectra container) and
   .ebbert-page-aside on the migrated pages (a plain <aside>). Both are direct flex children of
   the tall .ebbert-body-row, so each can stick within it.
   `align-self: flex-start` is REQUIRED — a stretched flex item fills the row and has nowhere to
   travel. That is the opposite of the blog sidebar, where the sticky element was a CHILD of the
   flex item and the item had to stretch. See known-overrides #32. */
@media (min-width: 922px) {
	.entry-content .wp-block-uagb-container.ebbert-body-aside {
		position: sticky;
		top: 24px;
		align-self: flex-start;
	}

	/* The migrated pages' aside is a plain <aside>, not a Spectra container, so it is caught by
	   Spectra's per-post rule
	     body .wp-block-uagb-container > :not(.wp-block-uagb-container):not(...x12) { position: relative }
	   which carries roughly 0-13-1 — far beyond anything a sane class selector can reach. The
	   content-doc pages escape it only because their aside IS a container.
	   Unifying the markup was the better fix, but it would need the migrated pages rebuilt from
	   the old site's extracted parts, and that cache is gone; re-fetching now risks pulling
	   changed source. !important here keeps the builder and the database in step.
	   REMOVE THIS when the migrated pages are next rebuilt with the aside inside a container. */
	.ebbert-page-aside {
		position: sticky !important;
		top: 24px;
		align-self: flex-start;
	}
}

/* FAQ heading: the homepage band centres it; inner pages inherited a left-aligned heading when
   the FAQ lived inside the content column. One treatment for both now. */
.entry-content .ebbert-faq .uagb-heading-text {
	text-align: center;
}

/* ---------- "Our Latest Blogs" cards ----------
   Rendered by [ebbert_latest_blogs] (inc/blog.php) and reused by the blog archive, so the
   homepage band and /blog/ share one card design rather than drifting apart. */
.ebbert-latestblogs-head {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 32px;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 36px;
}

.entry-content .ebbert-latestblogs-title,
.ebbert-latestblogs-title {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: var(--ebbert-h2);
	line-height: var(--ebbert-h2-lh);
	color: var(--ebbert-ink);
	margin: 0;
	/* Gold rule to the left of the heading, per the artboard. */
	padding-left: 20px;
	border-left: 8px solid var(--ebbert-accent);
}

.entry-content .ebbert-btn--outline-ink,
.ebbert-btn--outline-ink {
	display: inline-flex;
	align-items: center;
	font-family: var(--ebbert-font-body);
	font-weight: var(--ebbert-w-semi);
	font-size: var(--ebbert-btn);
	line-height: var(--ebbert-btn-lh);
	padding: 12px 24px;
	color: var(--ebbert-ink);
	border: 2px solid var(--ebbert-ink);
	border-radius: var(--ebbert-radius);
	/* Astra underlines .entry-content links; a button must not carry one. */
	text-decoration: none !important;
}

.entry-content .ebbert-btn--outline-ink:hover {
	background: var(--ebbert-ink);
	color: #FFFFFF;
}

.ebbert-latestblogs-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.ebbert-blogcard {
	display: flex;
	flex-direction: column;
	background: #FFFFFF;
	/* The gold foot is the card's signature in the artboard. */
	border-bottom: 5px solid var(--ebbert-accent);
}

.ebbert-blogcard-media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.ebbert-blogcard-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ebbert-blogcard-body {
	padding: 24px 24px 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1 1 auto;
}

.entry-content .ebbert-blogcard-date,
.ebbert-blogcard-date {
	font-family: var(--ebbert-font-body);
	font-size: 15px;
	line-height: 20px;
	font-weight: var(--ebbert-w-semi);
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--ebbert-body);
	margin: 0;
}

.entry-content .ebbert-blogcard-title,
.ebbert-blogcard-title {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 24px;
	line-height: 32px;
	margin: 0;
}

/* Card titles are OXBLOOD in the artboard, not ink — the one place the brand colour carries
   body-level type. Ink was wrong. */
.entry-content .ebbert-blogcard-title a,
.ebbert-blogcard-title a {
	color: var(--ebbert-brand);
	text-decoration: none !important;
}

.entry-content .ebbert-blogcard-title a:hover,
.ebbert-blogcard-title a:hover { color: var(--ebbert-ink); }

.entry-content .ebbert-blogcard-excerpt,
.ebbert-blogcard-excerpt {
	font-size: 17px;
	line-height: 27px;
	color: var(--ebbert-body);
	margin: 0;
}

.entry-content .ebbert-blogcard-more,
.ebbert-blogcard-more {
	margin-top: auto;
	font-family: var(--ebbert-font-body);
	font-weight: var(--ebbert-w-semi);
	font-size: 17px;
	color: var(--ebbert-ink);
	text-decoration: none !important;
}

.entry-content .ebbert-blogcard-more:hover { color: var(--ebbert-brand); }

@media (max-width: 921px) {
	.ebbert-latestblogs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.ebbert-latestblogs-grid { grid-template-columns: minmax(0, 1fr); }
	.entry-content .ebbert-latestblogs-title { font-size: var(--ebbert-h3); line-height: var(--ebbert-h3-lh); }
}

/* The homepage band that carries the latest-blogs cards: full-bleed ground, content in the
   1200px column, same as every other homepage section. */
.entry-content .wp-block-uagb-container.ebbert-latestblogs-band {
	padding-block: var(--ebbert-section-y);
	padding-inline: max(var(--ebbert-pad-x), calc((100% - var(--ebbert-container)) / 2));
	/* No background of its own — it sits in the homepage's alternating rhythm and takes
	   .ebbert-content-alt's measured #F0F0F0, which is also what the artboard shows behind these
	   cards. White cards on that grey is the contrast the design relies on. */
}

/* ---------- Blog archive cards: match the homepage "Our Latest Blogs" design ----------
   Astra renders its own loop markup here, so rather than replace the template the same card
   language is applied to it: white card, cover image, uppercase date, Oswald title, gold foot.
   Kept as styling of Astra's own DOM so the theme keeps handling pagination, excerpts and
   featured images. */
/* The WHITE and the gold foot belong on the card (.ast-article-inner), not on the article.
   The article is Astra's grid cell and carries the 18px gutters as padding, so painting it white
   joined each pair of neighbouring cards into one white slab per row, 876px wide behind two
   402px cards (client QA, Markup #18). The ground now shows through the gutters. */
.blog .site-main .ast-article-post,
.archive .site-main .ast-article-post {
	background: transparent;
}

.blog .ast-article-post .ast-article-inner,
.archive .ast-article-post .ast-article-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #FFFFFF;
	border: 0;
	border-bottom: 5px solid var(--ebbert-accent);
	border-radius: 0;
}

.blog .ast-article-post .post-thumb-img-content img,
.archive .ast-article-post .post-thumb-img-content img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
	display: block;
}

.blog .ast-article-post .entry-content,
.blog .ast-article-post .ast-blog-single-element,
.archive .ast-article-post .entry-content,
.archive .ast-article-post .ast-blog-single-element {
	padding-inline: 24px;
}

.blog .ast-article-post .ast-blog-featured-section,
.archive .ast-article-post .ast-blog-featured-section {
	padding-inline: 0;
}

/* Date: uppercase and tracked, as on the homepage cards. */
.blog .site-main .entry-meta,
.blog .site-main .entry-meta *,
.archive .site-main .entry-meta,
.archive .site-main .entry-meta * {
	font-family: var(--ebbert-font-body);
	font-size: 15px;
	line-height: 20px;
	font-weight: var(--ebbert-w-semi);
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--ebbert-body);
}

.blog .site-main .entry-title,
.archive .site-main .entry-title {
	font-size: 24px;
	line-height: 32px;
	margin-block: 10px;
}

.blog .site-main .ast-excerpt-container p,
.archive .site-main .ast-excerpt-container p {
	font-size: 17px;
	line-height: 27px;
	color: var(--ebbert-body);
}

.blog .site-main .ast-article-post .ast-readmore-section a,
.archive .site-main .ast-article-post .ast-readmore-section a {
	font-family: var(--ebbert-font-body);
	font-weight: var(--ebbert-w-semi);
	font-size: 17px;
	color: var(--ebbert-ink);
	text-decoration: none !important;
}

.blog .site-main .ast-article-post .ast-readmore-section a:hover,
.archive .site-main .ast-article-post .ast-readmore-section a:hover {
	color: var(--ebbert-brand);
}

/* ---------- In-section nav (inner page sidebar) ----------
   Had no CSS at all — it rendered as a bare title and an unstyled bullet list. Given the same
   treatment as the review cards in the artboard: grey panel, gold strip down the left. */
/* One sidebar box, two consumers: the section nav on inner pages and the NAP panel on
   /contact/. Same grey ground and gold strip, so the two never drift apart.
   The shadow (client QA, Markup #15) also lifts the panel off the grey bands it now turns white
   over, where before only the ground colour changed. */
.ebbert-section-nav,
.ebbert-nap {
	background: var(--ebbert-bg-alt);
	border-left: 6px solid var(--ebbert-accent);
	padding: 22px 22px 22px 20px;
	box-shadow: var(--ebbert-shadow-panel);
}

/* The consultation-form sidebar (blog, /reviews/, /about/) takes the same lift. */
:is(#secondary, .ebbert-page-aside) .ebbert-blog-formwrap {
	box-shadow: var(--ebbert-shadow-panel);
}

.entry-content .ebbert-section-nav__title,
.ebbert-section-nav__title,
.entry-content .ebbert-nap__title,
.ebbert-nap__title {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 20px;
	line-height: 26px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: var(--ebbert-ink);
	margin: 0 0 14px;
}

.ebbert-section-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px;
}

.entry-content .ebbert-section-nav__item,
.ebbert-section-nav__item {
	margin: 0;
}

/* The current page renders as a SPAN, not a link. Styling only `a` left it inheriting the nav's
   18px while every link was 16px, so the page you were on appeared BIGGER than the rest. Both
   selectors now share one rule — the current page is marked by the gold bar, not by size. */
.entry-content .ebbert-section-nav__item a,
.entry-content .ebbert-section-nav__item > span,
.ebbert-section-nav__item a,
.ebbert-section-nav__item > span {
	display: block;
	font-family: var(--ebbert-font-body);
	font-size: 16px;
	line-height: 22px;
	color: var(--ebbert-body);
	text-decoration: none !important;
	padding: 8px 0 8px 12px;
	border-left: 3px solid transparent;
}

.entry-content .ebbert-section-nav__item a:hover,
.ebbert-section-nav__item a:hover {
	color: var(--ebbert-brand);
	border-left-color: var(--ebbert-accent);
}

/* The page you are on: gold bar and ink text, SAME size and weight as its siblings.
   Previously `.is-head a` carried this, so the highlight sat on the section head rather than on
   the current page. */
.entry-content .ebbert-section-nav__item.is-current > span,
.ebbert-section-nav__item.is-current > span {
	color: var(--ebbert-ink);
	border-left-color: var(--ebbert-accent);
}

/* Alternating ground on inner pages. The homepage alternates full-bleed bands; inner content
   sections live inside the content column beside a sidebar, so the tint is applied to the
   section box with its own inset rather than bleeding to the viewport edge. */
.entry-content .wp-block-uagb-container.ebbert-content.ebbert-in-column {
	/* Same vertical rhythm as the tinted sections below, so the white bands read as bands
	   rather than as gaps between them. */
	padding: 36px 0 30px;
}

/* FULL-BLEED tint. These sections are nested three levels inside a 1200px row, so the ground has
   to escape the column while the copy stays put — no horizontal padding, so the text still lines
   up with the white sections above and below.

   box-shadow spread + clip-path rather than `width: 100vw` with negative margins: 100vw includes
   the scrollbar, which pushes the page into horizontal scroll. clip-path constrains the painted
   area, so nothing can overflow the document. */
.entry-content .wp-block-uagb-container.ebbert-content.ebbert-in-column.ebbert-content-alt {
	position: relative;
	background-color: var(--ebbert-bg-alt);
	padding: 36px 0 30px;
	box-shadow: 0 0 0 100vmax var(--ebbert-bg-alt);
	clip-path: inset(0 -100vmax);
}

@media (max-width: 600px) {
	.entry-content .wp-block-uagb-container.ebbert-content.ebbert-in-column.ebbert-content-alt {
		padding: 26px 0 22px;
	}
}

/* Migrated pages take the SAME striping containers with one difference: normal flow instead of
   Spectra's flex column. Two reasons, both measured:
     1. `float` is inert on a flex item — the same failure that made `.ebbert-body-main` a block.
        Their copy was written around left/right wrapped photos, so a flex section stacks every
        photo on its own centred line.
     2. `flow-root` (rather than plain `block`) contains those floats. A photo taller than its
        paragraph would otherwise hang out of the section box, and on a tinted section
        `clip-path: inset(0 -100vmax)` clips vertically at the box edge — it would slice the
        image in half.
   The content-doc pages stay flex: their sections have no floats and their 16px row gap is what
   spaces the blocks. */
.entry-content .wp-block-uagb-container.ebbert-content.ebbert-in-column.ebbert-content--flow {
	display: flow-root;
}

/* ---------- About: the statement hero ----------
   The old site's About page opens with "THE EBBERT LAW FIRM" at 144px/180px in gold (measured on
   ebbertlaw.com/about/, Oswald 700 #DFB03E) — a deliberate statement, far bolder than the 56px
   white H1 the other inner pages use. Carried over for this page only, scaled with the viewport
   so it never overflows, and capped below the original since our container is 1200 not 1400. */
.ebbert-page-about .entry-content .wp-block-uagb-container.ebbert-page-hero {
	padding-block: 88px 76px;
}

/* Cream, not gold. Gold at 118px over the oxblood ground measured 5.39:1 where the type sits —
   legible, but it made the page one note against the gold portrait panel and gold buttons. This
   is the same cream the inner-page hero lede copy uses, and measures 9.68:1 on the same ground.
   The gold survives as a rule beneath the statement. */
.ebbert-page-about .entry-content .ebbert-page-hero-title h1.uagb-heading-text {
	font-size: clamp(44px, 8.4vw, 118px);
	line-height: 1.06;
	color: #EDE7E2;
	text-transform: uppercase;
	letter-spacing: -0.5px;
	max-width: none;
}

.ebbert-page-about .entry-content .ebbert-page-hero-title::after {
	content: "";
	display: block;
	width: 132px;
	height: 6px;
	background: var(--ebbert-accent);
	margin-block-start: 22px;
}


/* Archive card titles take the same oxblood as the homepage cards. */
.blog .site-main .entry-title a,
.archive .site-main .entry-title a {
	color: var(--ebbert-brand);
}

.blog .site-main .entry-title a:hover,
.archive .site-main .entry-title a:hover {
	color: var(--ebbert-ink);
}

/* Sidebar over a tinted band. The panel is the same #F0F0F0 as .ebbert-content-alt, so where the
   two meet the card edge dissolves. `.is-on-alt` is toggled by assets/js/aside-ground.js while
   the nav overlaps a band; the gold strip is unchanged, only the panel flips to white so it
   still reads as a card. All appearance lives here, not in the script. */
.ebbert-section-nav.is-on-alt {
	background: #FFFFFF;
}

/* ---------- About: bio header ----------
   Portrait, name, the years badge and the three bio paragraphs — the shape the old site used,
   which the migration's text-only extraction lost. */
.ebbert-bio {
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	margin: 0 0 44px;
}

/* The portrait is a TRANSPARENT cutout, so whatever sits behind it shows through. It used to be
   a gold panel with `mix-blend-mode: multiply` on the image, which multiplies every pixel of him
   by the gold — his navy suit came out olive and his skin mustard. The blend is gone; he renders
   in his own colour, and gold moves to the edge, the same 6px strip the sidebar panels use. */
.ebbert-bio-media {
	position: relative;
	background: var(--ebbert-bg-alt);
	border-left: 6px solid var(--ebbert-accent);
}

.ebbert-bio-media img {
	display: block;
	width: 100%;
	height: auto;
}

/* The years badge, as an ink block over the foot of the portrait. */
.entry-content .ebbert-bio-years,
.ebbert-bio-years {
	position: absolute;
	left: 0;
	right: 12%;
	bottom: 8%;
	margin: 0;
	background: var(--ebbert-ink);
	color: #FFFFFF;
	padding: 14px 18px;
	/* Stacked OVER / 25 / YEARS EXPERIENCE, the order the old site used. Side-by-side read as
	   "25 OVER YEARS EXPERIENCE". */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	font-family: var(--ebbert-font-heading);
	line-height: 1.05;
}

.ebbert-bio-years strong {
	font-size: 46px;
	font-weight: var(--ebbert-w-head);
	margin: 2px 0;
}

.ebbert-bio-years span {
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.entry-content .ebbert-bio-eyebrow,
.ebbert-bio-eyebrow {
	font-family: var(--ebbert-font-body);
	font-size: 15px;
	font-weight: var(--ebbert-w-semi);
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--ebbert-brand);
	margin: 0 0 6px;
}

.entry-content .ebbert-bio-name,
.ebbert-bio-name {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: var(--ebbert-h2);
	line-height: var(--ebbert-h2-lh);
	text-transform: uppercase;
	color: var(--ebbert-ink);
	margin: 0 0 18px;
}

.entry-content .ebbert-bio-copy p {
	margin: 0 0 16px;
}

.ebbert-bio-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-top: 24px !important;
}

.entry-content .ebbert-bio-actions .ebbert-btn,
.entry-content .ebbert-bio-phone a {
	display: inline-flex;
	align-items: center;
	font-family: var(--ebbert-font-body);
	font-weight: var(--ebbert-w-semi);
	font-size: var(--ebbert-btn);
	padding: 12px 24px;
	border-radius: var(--ebbert-radius);
	text-decoration: none !important;
}

.entry-content .ebbert-bio-actions .ebbert-btn--gold {
	background: var(--ebbert-accent);
	color: var(--ebbert-cta-text);
	border: 2px solid var(--ebbert-accent);
}

.entry-content .ebbert-bio-actions .ebbert-btn--gold:hover {
	background-color: var(--ebbert-accent-hover);
	border-color: var(--ebbert-accent-hover);
	color: var(--ebbert-cta-text);
}

.entry-content .ebbert-bio-phone a {
	color: var(--ebbert-ink);
	border: 2px solid var(--ebbert-ink);
}

/* CV lists: dense, readable, no bullets fighting the entries. */
.entry-content .ebbert-cv-list {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: grid;
	gap: 10px;
}

.entry-content .ebbert-cv-list li {
	padding-left: 16px;
	border-left: 3px solid var(--ebbert-accent);
	font-size: 17px;
	line-height: 26px;
	color: var(--ebbert-body);
	margin: 0;
}

@media (max-width: 700px) {
	.ebbert-bio { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.ebbert-bio-media { max-width: 300px; }
}

/* ---------- Inner-page hero: headline beside the lede ----------
   The H1 used to sit alone in a 318px band with the intro 80px below it — roughly 480px before
   any content. The opening copy now shares the band, so the space carries meaning. */
.entry-content .wp-block-uagb-container.ebbert-page-hero {
	position: relative;
	overflow: hidden;
	padding-block: 56px 52px;
}

.entry-content .wp-block-uagb-container.ebbert-hero-grid,
.entry-content .wp-block-uagb-container.ebbert-hero-headline,
.entry-content .wp-block-uagb-container.ebbert-hero-lede {
	padding-inline: 0;
}

/* Spectra's percentage widths plus the column gap overflow the row and it resolves that by
   squeezing one side — the headline column collapsed to 185px, wrapping the H1 into a 680px
   stack. Same failure as the body columns; state the tracks instead. */
@media (min-width: 922px) {
	/* TOP-aligned, not centred (client QA, Markup #13). Centred, a long lede left the eyebrow and
	   H1 floating mid-band — measured 136px below the lede's first line on
	   /estate-planning/asset-protection/, 181px on /business-litigation/. The block markup still
	   carries `alignItemsDesktop: center` on pages built before this; Spectra's per-post rule for
	   it is 0-2-0, this is 0-3-0. The builders now emit flex-start. */
	.entry-content .wp-block-uagb-container.ebbert-hero-grid {
		align-items: flex-start;
	}

	.entry-content .wp-block-uagb-container.ebbert-hero-headline {
		flex: 52 1 0;
		min-width: 0;
	}

	.entry-content .wp-block-uagb-container.ebbert-hero-lede {
		flex: 48 1 0;
		min-width: 0;
	}
}

/* The faded wordmark that used to sit under the H1 here was removed site-wide at client request
   (Markup #17, 2026-09-25). */

.entry-content .ebbert-hero-lede p {
	color: #EDE7E2;
	font-size: 19px;
	line-height: 30px;
	margin: 0;
}

.entry-content .ebbert-hero-lede a {
	color: var(--ebbert-accent);
}

.entry-content .ebbert-hero-lede a:hover {
	color: #FFFFFF;
}

@media (max-width: 921px) {
	.entry-content .wp-block-uagb-container.ebbert-page-hero {
		padding-block: 40px 36px;
	}
	.entry-content .ebbert-hero-lede p { font-size: 17px; line-height: 27px; }
}

/* ---------- Body bullet lists: gold rule instead of a dot ----------
   Matches the CV lists on About, the How It Works steps and the section nav, all of which mark
   items with a gold vertical rule. Scoped to `ul.wp-block-list` inside the content column, so it
   catches both builders (content-doc pages add .ebbert-list, migrated pages do not) without
   touching the section nav, the footer link list or the mega menu.

   ORDERED lists keep their numbers — those are step sequences where the count carries meaning. */
.entry-content .ebbert-body-main ul.wp-block-list {
	list-style: none;
	margin: 0 0 20px;
	padding-left: 0;
	display: grid;
	gap: 12px;
}

.entry-content .ebbert-body-main ul.wp-block-list > li {
	list-style: none;
	margin: 0;
	padding-left: 18px;
	border-left: 3px solid var(--ebbert-accent);
}

/* Nested lists step in with a lighter rule so the hierarchy still reads. */
.entry-content .ebbert-body-main ul.wp-block-list ul {
	list-style: none;
	margin: 12px 0 0;
	padding-left: 0;
	display: grid;
	gap: 10px;
}

.entry-content .ebbert-body-main ul.wp-block-list ul > li {
	padding-left: 16px;
	border-left: 3px solid rgba(223, 176, 62, 0.45);
}


/* ---------- Contact page: the NAP panel ----------
   Address, phone and email, each from its own Custom Field Manager field — the address is never
   typed out and never combined into one string (Rule 2), so a NAP change in one place follows
   here, into the footer and into the map below in one edit.

   The icon rows mirror the footer's: same 20px gold mask column, same three icon tokens. They
   cannot simply reuse `.ebbert-footer-*`, which paints white text for the near-black footer. */
.entry-content .ebbert-nap p {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	column-gap: 10px;
	align-items: start;
	margin: 0 0 14px;
	color: var(--ebbert-ink);
	font-size: 17px;
	line-height: 26px;
}

.entry-content .ebbert-nap p::before {
	content: "";
	width: 20px;
	height: 20px;
	background-color: var(--ebbert-accent);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	/* Onto the cap height of the first line rather than the line box top, as in the footer. */
	margin-top: 3px;
}

.entry-content .ebbert-nap-address::before {
	-webkit-mask-image: var(--ebbert-icon-map-pin);
	mask-image: var(--ebbert-icon-map-pin);
}

.entry-content .ebbert-nap-phone::before {
	-webkit-mask-image: var(--ebbert-phone-icon);
	mask-image: var(--ebbert-phone-icon);
}

.entry-content .ebbert-nap-email::before {
	-webkit-mask-image: var(--ebbert-icon-mail);
	mask-image: var(--ebbert-icon-mail);
}

.entry-content .ebbert-nap-phone a,
.entry-content .ebbert-nap-email a {
	color: var(--ebbert-brand);
	font-weight: var(--ebbert-w-semi);
	text-decoration: none;
	word-break: break-word;
}

.entry-content .ebbert-nap-phone a:hover,
.entry-content .ebbert-nap-email a:hover {
	color: var(--ebbert-accent);
}

/* Same [ebbert_footer_map] embed as the footer, on a light ground: the footer's knock-back
   filter and translucent white border would both read as grime here. */
.entry-content .ebbert-nap .ebbert-footer-mapframe {
	height: 180px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	filter: none;
	margin-block-start: 4px;
}

/* The Trustindex widget on /reviews/. The plugin ships its own card styling; this only keeps it
   from running under the sticky sidebar and gives it the same rhythm as a content section. */
.entry-content .ebbert-reviews-widget {
	min-width: 0;
	padding-block: 8px 24px;
}

/* The consultation panel used INSIDE the content column (/contact/) sat flush against the
   heading that follows it — measured 0px between the gold panel and "Want to talk to a lawyer?",
   because `.ebbert-body-main` is display:block with a 0 row gap and the h3 carries no top
   margin. 36px matches the content sections' own 36px top rhythm.

   Direct child of the content column only: the homepage and inner-page panels sit inside
   `.ebbert-contact-panel`, and the sidebar copies inside `#secondary` / `.ebbert-page-aside`,
   none of which are affected. */
.entry-content .ebbert-body-main > .ebbert-contact-formwrap {
	margin-block-end: 36px;
}

/* ---------- About: the team portrait grid ----------
   Six studio headshots under Eric's bio and CV. Each card takes the same 6px gold left strip as
   his portrait panel above, so the page reads as one component rather than a photo dump.

   Three up in the 832px content column; two up below 922px, where the column goes full width but
   a third portrait would drop each one under ~200px. */
.entry-content .ebbert-teamgrid {
	margin-block-start: 52px;
}

.entry-content .ebbert-teamgrid-title {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: var(--ebbert-h2);
	line-height: var(--ebbert-h2-lh);
	color: var(--ebbert-ink);
	margin: 0 0 28px;
}

.entry-content .ebbert-teamgrid-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px 24px;
}

.entry-content .ebbert-teamgrid-item {
	margin: 0;
	padding: 0;
}

/* The list rule that marks content bullets with a gold bar must not reach these cards. */
.entry-content .ebbert-teamgrid-item::before {
	content: none;
}

.entry-content .ebbert-teamgrid-item img {
	display: block;
	width: 100%;
	height: auto;
	border-left: 6px solid var(--ebbert-accent);
}

.entry-content .ebbert-teamgrid-name {
	font-family: var(--ebbert-font-heading);
	font-weight: var(--ebbert-w-head);
	font-size: 20px;
	line-height: 26px;
	text-transform: uppercase;
	color: var(--ebbert-ink);
	margin: 14px 0 0;
}

@media (max-width: 921px) {
	.entry-content .ebbert-teamgrid-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Homepage reviews band (artboard section 05) ----------
   White ground, the section's standard vertical rhythm and container inset (added to the shared
   band rules above). The header row is the Why-Choose row, but the artboard centres the button on
   the heading rather than aligning it to the heading's baseline. The cards themselves are the
   Trustindex widget's own and are not restyled — it is an embed (see Markup #5). */
.entry-content .wp-block-uagb-container.ebbert-reviews-band {
	background-color: var(--ebbert-bg);
}

/* Row layout only. Below 701px the Why-Choose head stacks into a column, and `center` there
   centred the heading and button horizontally — measured the heading at x 111-161 between 600 and
   700px while the review cards sat at the left edge (found 2026-10-13). */
@media (min-width: 701px) {
	.ebbert-reviews-head {
		align-items: center;
	}
}

.ebbert-reviews-head .ebbert-barred-heading {
	margin-bottom: 0;
}

.entry-content .ebbert-reviews-band .ebbert-reviews-widget {
	padding-block: 0;
}

/* ---------- HTML sitemap (/sitemap/, [ebbert_sitemap]) ----------
   Same gold-rule list marker as the content bullets (§41) so it reads as part of the site. The
   page list runs in two columns on desktop — 40-odd pages in one column was a very long scroll —
   and a top-level page never splits from its children across the column break. */
.entry-content .ebbert-sitemap__title {
	margin: 0 0 20px;
}

.entry-content .ebbert-sitemap__title:not(:first-child) {
	margin-top: 48px;
}

.entry-content .ebbert-sitemap ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.entry-content .ebbert-sitemap li {
	margin: 0;
	padding: 0;
}

.entry-content .ebbert-sitemap a {
	display: inline-block;
	padding: 5px 0 5px 14px;
	border-left: 3px solid var(--ebbert-accent);
	color: var(--ebbert-ink);
	text-decoration: none;
	line-height: 1.4;
}

.entry-content .ebbert-sitemap a:hover {
	color: var(--ebbert-brand);
}

.entry-content .ebbert-sitemap ul.children {
	margin: 2px 0 8px 18px;
}

.entry-content .ebbert-sitemap ul.children a {
	border-left-color: rgba(223, 176, 62, 0.45);
	font-size: 0.95em;
}

@media (min-width: 922px) {
	.entry-content .ebbert-sitemap__list--pages {
		columns: 2;
		column-gap: 40px;
	}

	.entry-content .ebbert-sitemap__list--pages > li {
		break-inside: avoid;
	}
}

/* ---------- Mobile QA round (Markup mobile view, 2026-10-13) ---------- */

/* #21 "Our Practice Areas" is the one 64px title; on small screens it towered over every other
   section heading (measured 64px vs 32px). It takes the same h2 size as the rest below 900px. */
@media (max-width: 900px) {
	.entry-content .ebbert-title-xl .uagb-heading-text,
	.entry-content .ebbert-title-xl h2 {
		font-size: var(--ebbert-h2);
		line-height: var(--ebbert-h2-lh);
	}

	/* #23 Meet Our Team opened with 80px of white above the portrait once the columns stack. */
	.entry-content .wp-block-uagb-container.ebbert-team {
		padding-block-start: 40px;
	}
}

/* #24 "Read More Blogs" sat above the posts on phones, where the header row wraps; it now follows
   them. `display: contents` lifts the heading and the button out of their row so the three
   pieces can be ordered heading / posts / button without touching the markup. */
@media (max-width: 600px) {
	.ebbert-latestblogs {
		display: flex;
		flex-direction: column;
	}
	.ebbert-latestblogs-head {
		display: contents;
	}
	.ebbert-latestblogs-head > .ebbert-latestblogs-title { order: 1; margin-bottom: 24px; }
	.ebbert-latestblogs-grid { order: 2; }
	.ebbert-latestblogs-head > :not(.ebbert-latestblogs-title) { order: 3; margin-top: 28px; align-self: flex-start; }
}

/* #25 Why Choose: the slider ran inside the section's 20px inset, so the next card was cut off at
   x=370 with a strip of grey ground beyond it — it read as clipped. Below 700px the track bleeds
   to both screen edges and keeps the inset as internal padding, so cards slide off the edge of
   the screen instead and the first card still lines up with the heading. */
/* 0-4-1: Astra's page-builder layout rule
   `.ast-page-builder-template .entry-content[data-ast-blocks-layout] > :not(.wp-block-group):where(…) > *`
   sets margin-inline: auto at 0-4-0, which zeroed a plain `.ebbert-why-track` margin — the first
   attempt measured the track still at x 20 -> 370. */
@media (max-width: 700px) {
	/* content-box is what makes the bleed land. Spectra pins every non-container child at
	   `width: 100%` (0-27-1) and centres it in a column, so with border-box the -20px margins only
	   shrank the margin box and the centring put it straight back at x 20 (measured). With
	   content-box the 100% is the cards' width, the 20px padding adds to it, and the -20px margins
	   bring the margin box back to exactly the container's width — nothing left to centre. */
	.entry-content .wp-block-uagb-container.ebbert-why-choose ul.ebbert-why-track {
		box-sizing: content-box;
		margin-inline: calc(-1 * var(--ebbert-pad-x));
		padding-inline: var(--ebbert-pad-x);
		scroll-padding-inline: var(--ebbert-pad-x);
	}
}

/* #75 Trustindex draws a decorative quote mark at the end of each review's "Read more" row (only
   on narrow screens, where that row shows). Removed at client direction, on every widget. Their
   rule is 0-4-1 and loads after this file; this is 0-5-1. */
.entry-content .ti-widget[data-layout-id][data-set-id] .ti-read-more::after {
	content: none;
}
