/**
 * The Ladd Firm — inner-page template.
 *
 * Layout:
 *   .ladd-sec--page-hero   H1 band, alt background, H1 only
 *   .ladd-sec--page-body   2/3 content + 1/3 sticky sidebar form
 *
 * Type and spacing reuse the homepage tokens so inner pages sit in the same system.
 */

/* ---------------------------------------------------------- section frame ---- */

/**
 * Section background, padding and direction.
 *
 * innerpage-spec.js sets backgroundColor, topPaddingDesktop/bottomPaddingDesktop and
 * directionDesktop on these section containers, and NONE of it takes effect: Spectra
 * emits no per-block CSS for blocks created programmatically (known-overrides.md). The
 * hero band was therefore transparent with zero padding — measured 64.8px tall, exactly
 * the height of the H1 line box, butted straight against the body copy — and the section
 * inherited Spectra's static `display: flex` default of row.
 *
 * The values match the spec's HERO_PAD (72) and SECTION_PAD (96); the shared
 * `.ladd-sec > .uagb-container-inner-blocks-wrap` rule in homepage.css already supplies
 * the 1120px measure and gutter, which is why the inner box was the right width all along
 * and made this easy to miss.
 */
.ladd-sec--page-hero,
.ladd-sec--page-body {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	width: 100%;
}

/**
 * [QA 2026-10-20 #5] More breathing room above and below the inner-page H1.
 *
 * Was 72px / 43px, giving a 209px band at desktop that sat tight against the header line
 * and the body section. 104px / 64px keeps the same proportion between the two
 * breakpoints (roughly 1.45x) while letting the H1 sit in the middle of a fuller band.
 *
 * !important for the reason documented at the top of this file: Spectra's own generated
 * padding for these containers wins otherwise.
 */
.ladd-sec--page-hero {
	background-color: var(--ladd-bg-section-alt);
	padding-block: 104px !important;
}

.ladd-sec--page-body {
	background-color: #FFFFFF;
	padding-block: 96px !important;
}

@media (max-width: 767px) {
	.ladd-sec--page-hero { padding-block: 64px !important; }
	.ladd-sec--page-body { padding-block: 58px !important; }
}

/* -------------------------------------------------------------- hero band ---- */

.ladd-page-hero {
	width: 100%;
	max-width: var(--ladd-container-max);
	margin-inline: auto;
}

/* The homepage H1 clamps against the viewport; on an inner page the H1 is the only
   thing in the band, so it is capped by measure instead of running the full width. */
.ladd-sec--page-hero .ladd-h1 .uagb-heading-text {
	font-family: var(--ladd-font-heading);
	font-size: var(--ladd-fs-h1);
	font-weight: var(--ladd-weight-heading);
	line-height: var(--ladd-lh-h1);
	letter-spacing: var(--ladd-ls-h1);
	color: var(--ladd-headings);
	max-width: 24ch;
	margin: 0;
}

/* ------------------------------------------------------------- body layout ---- */

.ladd-pagerow {
	align-items: flex-start !important;
	column-gap: 56px !important;
	width: 100%;
}

/* 2/3 and 1/3 of the 1120px container, less the 56px gap:
   main = (1120 - 56) * 2/3 = 709 ; aside = (1120 - 56) / 3 = 355 — the same 355 the
   design uses for a card, so the sidebar lines up with the homepage grid. */
.ladd-pagerow__main {
	flex: 1 1 calc((100% - 56px) * 2 / 3) !important;
	min-width: 0;
}

.ladd-pagerow__aside {
	flex: 0 0 calc((100% - 56px) / 3) !important;
	min-width: 0;
}

/* ------------------------------------------------------------ prose column ---- */

/**
 * Stack the column's children.
 *
 * Spectra emits no per-block CSS for blocks created programmatically (see
 * known-overrides.md), so the `directionDesktop: 'column'` attribute set on these
 * containers in innerpage-spec.js never becomes a rule — but Spectra's STATIC container
 * stylesheet still applies `display: flex`, whose initial direction is `row`. The
 * template was written while the content column was empty, so nothing revealed it; the
 * moment real copy landed, every paragraph, heading, list and image on all 71 content
 * pages laid out in one horizontal line 1863px wide.
 *
 * Every container that should stack needs this declared here explicitly.
 */
.ladd-pagerow__main,
.ladd-pagerow__aside,
.ladd-page-hero,
.ladd-sidebarform {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	flex-wrap: nowrap !important;
}

/* Page copy is headings, paragraphs and lists. Vertical rhythm lives here so the
   content blocks themselves carry no inline spacing. */
.ladd-pagerow__main > * {
	width: 100%;
	/* In a column flex, flex-basis sizes HEIGHT — so the shorthand must not set a basis
	   or every block inherits the wrong height (a bug hit earlier on this build). */
	flex: 0 0 auto;
	min-width: 0;
}

.ladd-pagerow__main .ladd-h2 .uagb-heading-text,
.ladd-pagerow__main h2 {
	font-size: var(--ladd-fs-h3);
	line-height: var(--ladd-lh-h3);
	color: var(--ladd-headings);
	margin: var(--ladd-space-9) 0 var(--ladd-space-5);
}

.ladd-pagerow__main > *:first-child .uagb-heading-text,
.ladd-pagerow__main > *:first-child {
	margin-top: 0;
}

.ladd-pagerow__main .ladd-h3 .uagb-heading-text,
.ladd-pagerow__main h3 {
	font-size: var(--ladd-fs-h5);
	line-height: var(--ladd-lh-h5);
	color: var(--ladd-headings);
	margin: var(--ladd-space-8) 0 var(--ladd-space-4);
}

.ladd-pagerow__main p {
	font-size: var(--ladd-fs-body);
	/* Content-section body copy measured at 1.75 on the homepage; inner pages match. */
	line-height: 1.75;
	color: var(--ladd-body);
	margin: 0 0 var(--ladd-space-6);
}

.ladd-pagerow__main p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------- sidebar form ---- */

.ladd-sidebarform {
	width: 100%;
	background-color: #FFFFFF;
	border: 1px solid var(--ladd-hair);
	border-radius: var(--ladd-radius-card);
	padding: var(--ladd-space-7) !important;
}

.ladd-sidebarform .ladd-h3 .uagb-heading-text {
	font-size: var(--ladd-fs-h5);
	margin: 0 0 var(--ladd-space-5);
	color: var(--ladd-headings);
}

/**
 * Sticky sidebar.
 *
 * position: sticky only works if no ancestor clips overflow and the element is not
 * forced out of flow. Spectra applies `position: relative` to container children via a
 * long :not() chain (measured at 0-14-1 on an earlier build), which overrides sticky —
 * hence !important here. The offset clears the sticky header plus a little air; the
 * header is 162px at desktop.
 */
/**
 * NOT sticky (James, 2026-09-14).
 *
 * Sticky was the root of the "cut off at the email field" problem: pinned at top:186px,
 * any form taller than the viewport had its bottom permanently off-screen. Capping it and
 * scrolling inside the sidebar fixed the reachability but looked bad and hid fields behind
 * a scrollbar. Letting the form scroll with the page is simpler and shows every field.
 */
.ladd-pagerow__aside {
	position: static !important;
	align-self: flex-start !important;
}

/* Sticky is silently dead if any ancestor has overflow other than visible. */
.ladd-sec--page-body,
.ladd-sec--page-body > .uagb-container-inner-blocks-wrap,
.ladd-pagerow {
	overflow: visible !important;
}

/* ------------------------------------------- Gravity Forms in the sidebar ---- */

/* The sidebar is narrow, so the form is a single column regardless of field width
   classes. Everything else matches the homepage form. */
.ladd-sidebarform .gform_wrapper .gform_fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-row-gap: var(--ladd-space-5);
	list-style: none;
	margin: 0;
	padding: 0;
}

.ladd-sidebarform .gform_wrapper .gfield {
	grid-column: 1 / -1;
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.ladd-sidebarform .gform_wrapper .gfield--type-honeypot,
.ladd-sidebarform .gform_wrapper .gform_validation_container {
	display: none !important;
}

.ladd-sidebarform .gform_wrapper .gfield_label {
	font-family: var(--ladd-font-body);
	font-size: var(--ladd-fs-label);
	font-weight: var(--ladd-weight-label);
	color: var(--ladd-headings);
	margin-bottom: var(--ladd-space-2);
}

.ladd-sidebarform .gform_wrapper input[type="text"],
.ladd-sidebarform .gform_wrapper input[type="tel"],
.ladd-sidebarform .gform_wrapper input[type="email"],
.ladd-sidebarform .gform_wrapper textarea {
	width: 100%;
	height: 56px;
	padding: 0 16px;
	box-sizing: border-box;
	font-family: var(--ladd-font-body);
	font-size: var(--ladd-fs-input);
	color: var(--ladd-headings);
	background-color: var(--ladd-bg-form);
	border: 1px solid var(--ladd-input-border);
	border-radius: var(--ladd-radius-input);
}

.ladd-sidebarform .gform_wrapper textarea {
	height: auto;
	min-height: 120px;
	padding: 14px 16px;
	line-height: var(--ladd-lh-body);
}

.ladd-sidebarform .gform_wrapper input:focus,
.ladd-sidebarform .gform_wrapper textarea:focus {
	border-color: var(--ladd-accent);
	outline: 3px solid var(--ladd-accent-text);
	outline-offset: 2px;
}

/* GF forces its own font-family and border-radius on the submit button. */
.ladd-sidebarform .gform_wrapper .gform_footer input[type="submit"],
.ladd-sidebarform .gform_wrapper .gform_button {
	width: 100%;
	font-family: var(--ladd-font-button) !important;
	font-size: 18px;
	font-weight: var(--ladd-weight-button);
	line-height: 28px;
	padding: 16px 24px;
	background-color: var(--ladd-accent);
	border: 2px solid var(--ladd-accent);
	border-radius: var(--ladd-radius-button) !important;
	color: #FFFFFF;
	cursor: pointer;
	transition: background-color var(--ladd-duration-fast) var(--ladd-ease);
}

.ladd-sidebarform .gform_wrapper .gform_footer input[type="submit"]:hover {
	background-color: var(--ladd-accent-hover);
	border-color: var(--ladd-accent-hover);
}

.ladd-sidebarform .ladd-contact__disclaimer {
	margin-top: var(--ladd-space-4);
	margin-bottom: 0;
	font-size: var(--ladd-fs-small);
	line-height: 1.5;
	color: var(--ladd-body);
}

/* --------------------------------------------------------------- responsive ---- */

@media (max-width: 976px) {
	.ladd-pagerow {
		flex-direction: column !important;
		flex-wrap: nowrap !important;   /* wrap on a column flex makes a second COLUMN */
	}

	.ladd-pagerow__main,
	.ladd-pagerow__aside {
		flex: 0 0 auto !important;   /* NOT 100%: in a column flex, basis is HEIGHT */
		width: 100% !important;
		max-width: 100% !important;
	}

	/* A sticky sidebar under the content has nothing to stick to. */
	.ladd-pagerow__aside {
		position: static !important;
		margin-top: var(--ladd-space-9);
	}
}

@media (max-width: 767px) {
	.ladd-sidebarform { padding: var(--ladd-space-6) !important; }
	.ladd-sec--page-hero .ladd-h1 .uagb-heading-text { max-width: none; }
}


/* ------------------------------------------------- prose media and lists ---- */

/**
 * Added with the real content. `.ladd-prose__img` is the class the migrated images carry
 * (32 of them, one per location page); `.ladd-prose__video` is on the two webinar embeds
 * and the two self-hosted MP4s.
 */
.ladd-pagerow__main figure,
.ladd-pagerow__main .wp-block-image {
	margin: var(--ladd-space-7) 0;
	width: 100%;
}

.ladd-pagerow__main .wp-block-image img,
.ladd-prose__img img {
	width: 100% !important;
	height: auto !important;
	border-radius: var(--ladd-radius-card);
	display: block;
}

.ladd-pagerow__main figcaption {
	margin-top: var(--ladd-space-3);
	font-size: var(--ladd-fs-small);
	color: var(--ladd-body);
	text-align: left;
}

/* Responsive 16:9 for embeds; a self-hosted <video> sizes to its own aspect. */
.ladd-pagerow__main .wp-block-embed,
.ladd-prose__video {
	margin: var(--ladd-space-7) 0;
	width: 100%;
}

.ladd-pagerow__main .wp-block-embed__wrapper { position: relative; }

.ladd-pagerow__main .wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
	content: '';
	display: block;
	padding-top: 56.25%;
}

.ladd-pagerow__main .wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--ladd-radius-card);
}

.ladd-pagerow__main video {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--ladd-radius-card);
}

/**
 * Lists.
 *
 * `.gform_fields` is excluded because Gravity Forms renders its fields as <li>, and the
 * accent bullet below would otherwise draw an orange dot beside every form label — the
 * collision already recorded in known-overrides.md.
 */
.ladd-pagerow__main ul:not(.gform_fields),
.ladd-pagerow__main ol:not(.gform_fields) {
	margin: 0 0 var(--ladd-space-6);
	padding-left: 0;
	list-style: none;
}

.ladd-pagerow__main ul:not(.gform_fields) > li,
.ladd-pagerow__main ol:not(.gform_fields) > li {
	position: relative;
	padding-left: 26px;
	margin-bottom: var(--ladd-space-3);
	font-size: var(--ladd-fs-body);
	line-height: 1.75;
	color: var(--ladd-body);
}

.ladd-pagerow__main ul:not(.gform_fields) > li::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 12px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--ladd-accent);
}

.ladd-pagerow__main ol:not(.gform_fields) {
	counter-reset: ladd-ol;
}

.ladd-pagerow__main ol:not(.gform_fields) > li {
	counter-increment: ladd-ol;
}

/**
 * Ordered-list numerals — MarkUp QA [76] "color contrast low and hard to read".
 *
 * This rule was written for a PLAIN numeral (bold, accent-text colour, no circle), but
 * base.css also matches these items and draws a 26px circular badge behind them. Only the
 * colour was being overridden here, not the background, so the badge's orange stayed and
 * the dark-orange numeral sat on it:
 *
 *     #A65516 on #D57534 = 1.63:1   (WCAG AA needs 4.5:1 for 14px text)
 *
 * It affected every <ol> on every inner page and blog post, not only the page the QA
 * flagged. The badge is clearly the intended design, so this opts fully into it rather
 * than half-overriding it:
 *
 *     #FFFFFF on #D57534 (--ladd-accent)       = 3.27:1   still under AA
 *     #FFFFFF on #B45F22 (--ladd-accent-hover) = 4.57:1   passes AA
 *
 * --ladd-accent-hover is an existing brand token, so no new colour is introduced.
 */
.ladd-pagerow__main ol:not(.gform_fields) > li::before {
	content: counter(ladd-ol) '.';
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: #FFFFFF;
	background: var(--ladd-accent-hover);
}

/* In-copy links. */
.ladd-pagerow__main a {
	color: var(--ladd-accent-text);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ladd-pagerow__main a:hover { color: var(--ladd-accent); }

/**
 * Full-width body column, used by the /blog/ archive.
 *
 * Mirrors .ladd-pagerow__main's prose styling but spans the whole 1120px container, so the
 * blog cards render at the design's 354.66px three across exactly as they do on the
 * homepage. Inside the 2/3 column they were 217px wide.
 */
.ladd-pagerow__full {
	width: 100% !important;
	flex: 1 1 100% !important;
	min-width: 0;
}

/* The consultation form under a full-width listing: same card, centred, measure capped
   so the fields do not stretch the whole 1120px container. */
.ladd-sidebarform--wide {
	max-width: 720px;
	margin-inline: auto;
}

/* ------------------------------------------------- inner-page hero ground ---- */

/**
 * The homepage hero photograph as the inner-page / single-post hero background
 * (requested 2026-09-09), replacing the flat #F4F2EF band.
 *
 * Treated the way the design treats its own photo grounds: the image sits under a solid
 * colour overlay rather than raw behind the text. The design's "textures" are photographs
 * under overlays for exactly this reason — a heading straight on a photo is unreadable
 * wherever the image is light.
 *
 * The overlay is the design's primary dark (#3A3A3A) at 82%, which measures 8.9:1 against
 * white — comfortably past WCAG AA for large text and past AAA's 7:1. The H1 and anything
 * else in the band therefore go white.
 *
 * `background-attachment: scroll` is explicit: `fixed` janks badly on iOS Safari.
 *
 * --ladd-hero is published by ladd_texture_vars() from the media library as a
 * ROOT-RELATIVE url, so nothing here hardcodes a host.
 */
.ladd-sec--page-hero {
	position: relative;
	background-color: var(--ladd-primary, #3A3A3A);
	background-image: var(--ladd-hero);
	background-size: cover;
	background-position: center 35%;   /* keeps faces in frame as the band shortens */
	background-repeat: no-repeat;
	background-attachment: scroll;
	isolation: isolate;
}

/* The overlay. A pseudo-element rather than a gradient on background-image so the photo
   and the wash can be tuned independently. */
.ladd-sec--page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: rgba(58, 58, 58, 0.82);
	z-index: -1;
}

/* Everything in the band reads on the dark ground. */
.ladd-sec--page-hero .ladd-h1 .uagb-heading-text,
.ladd-sec--page-hero h1,
.ladd-sec--page-hero p {
	color: #FFFFFF;
}

/* No photo ground when the image is missing (var unset) — fall back to the flat band the
   pages used before, so a failed media import degrades to something readable. */
@supports not (background-image: var(--ladd-hero)) {
	.ladd-sec--page-hero { background-color: #F4F2EF; }
	.ladd-sec--page-hero::before { background-color: transparent; }
	.ladd-sec--page-hero .ladd-h1 .uagb-heading-text { color: var(--ladd-headings); }
}

/**
 * [16] The hero band butts up against the header.
 *
 * Astra puts `margin-top: 60px` on .content-area, which left a white strip between the
 * nav's bottom border and the top of the hero image. The hero is a full-bleed band, so it
 * should meet the header exactly as it does on the homepage.
 */
/* Astra's own selector, because the winning rule is
   `.ast-plain-container.ast-no-sidebar #primary { margin-top: 60px }` — an ID selector at
   1-2-0 that a plain `.content-area.primary` (0-2-0) cannot touch. The 60px BOTTOM margin
   is deliberately left alone; it is the gap above the footer. */
.ast-plain-container.ast-no-sidebar #primary { margin-top: 0; }

/**
 * [13] The sidebar consultation form fits on a laptop screen.
 *
 * It measured 1157.7px against an 800px viewport, so on a 13" laptop the form ran off the
 * bottom at the email field and the submit button was never visible — the one thing on the
 * page that has to be reachable. Every part is trimmed rather than just the textarea,
 * because no single element accounted for it: 4 fields at 97.8px each, a 292px textarea,
 * a 64px button and a 62px heading.
 *
 * Scoped to .ladd-sidebarform, so the homepage's own contact section is untouched.
 */
.ladd-sidebarform { padding: 28px 26px; }

.ladd-sidebarform > .wp-block-uagb-advanced-heading .uagb-heading-text,
.ladd-sidebarform h2,
.ladd-sidebarform h3 {
	font-size: 21px;
	line-height: 1.3;
	margin-bottom: 14px;
}

/* `body .gform_legacy_markup_wrapper ul li.gfield { margin-top: 16px }` is what actually
   spaces the fields — setting only margin-bottom left the 16px top margin in place, which
   is why the fields barely shrank. Matching its `body` prefix beats it without
   !important. */
body .ladd-sidebarform .gform_legacy_markup_wrapper ul li.gfield,
.ladd-sidebarform .gform_wrapper .gfield {
	margin-top: 0;
	margin-bottom: 10px;
}

.ladd-sidebarform .gform_wrapper .gfield_label {
	font-size: 14px;
	margin-bottom: 4px;
}

/* 48px matches the homepage contact form, so the two read as the same control. The
   explicit height and !important padding are needed for the same two reasons as there:
   this build's own earlier 56px rule, and Gravity Forms' legacy padding landing later in
   the cascade. */
.ladd-sidebarform .gform_wrapper input[type='text'],
.ladd-sidebarform .gform_wrapper input[type='email'],
.ladd-sidebarform .gform_wrapper input[type='tel'],
.ladd-sidebarform .gform_wrapper input[type='url'],
.ladd-sidebarform .gform_wrapper input[type='number'],
.ladd-sidebarform .gform_wrapper input:not([type='submit']),
.ladd-sidebarform .gform_wrapper select {
	font-size: 15px;
	height: 44px !important;
	padding: 0 12px !important;
	line-height: 1.4;
}

/* The textarea was 292px on its own — a quarter of the whole form. */
.ladd-sidebarform .gform_wrapper textarea {
	font-size: 15px;
	padding: 9px 12px;
	height: 104px !important;
	min-height: 104px;
}

.ladd-sidebarform .gform_wrapper .gform_footer { margin: 12px 0 0; padding: 0; }

/* Must include .gform_footer: an earlier rule in this build targets
   `.ladd-sidebarform .gform_wrapper .gform_footer input[type="submit"]` (18px / 16px 24px)
   and outranked the shorter selector, so the button never shrank. */
.ladd-sidebarform .gform_wrapper .gform_footer input[type='submit'],
.ladd-sidebarform .gform_wrapper .gform_footer button[type='submit'],
.ladd-sidebarform .gform_wrapper input[type='submit'],
.ladd-sidebarform .gform_wrapper button[type='submit'] {
	font-size: 16px;
	padding: 12px 22px;
	width: 100%;
}

.ladd-sidebarform .ladd-contact__disclaimer {
	font-size: 12px;
	line-height: 1.45;
	margin-top: 10px;
}

/* No cap and no internal scroll — the sidebar is in normal flow now, so the page scroll
   reveals the whole form. */

/* [17] The two office blocks on the contact page. Same icon treatment as the footer,
   drawn with CSS backgrounds for the same reason (see footer.css). */
.ladd-offices {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

/* [7] One column, offices stacked, each with its map beneath the address. */
.ladd-offices--stacked {
	flex-direction: column;
	gap: 48px;
}

.ladd-office { flex: 1 1 260px; min-width: 0; }
.ladd-offices--stacked .ladd-office { flex: 1 1 auto; }

/* The contact-page maps are wider than the footer's, so give them more height. */
.ladd-offices--stacked .ladd-map { margin-top: 16px; }
.ladd-offices--stacked .ladd-map iframe { height: 260px; }

/* Breathing room between the last map and the email that follows it. */
.ladd-offices + .ladd-office__email { margin-top: 28px; }

.ladd-office__name {
	font-size: 20px;
	margin-bottom: 12px;
}

.ladd-office__phone,
.ladd-office__address {
	position: relative;
	padding-left: 27px;
	margin-bottom: 10px;
}

.ladd-office__phone::before,
.ladd-office__address::before {
	content: '';
	position: absolute;
	left: 0;
	width: 17px;
	height: 17px;
	background-repeat: no-repeat;
	background-size: contain;
}

.ladd-office__phone::before {
	top: 5px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D57534' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.1 9.9a16 16 0 0 0 6 6l1.26-1.26a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.ladd-office__address::before {
	top: 5px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D57534' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.ladd-office__address { font-style: normal; line-height: 1.7; }
.ladd-office__phone { font-size: 20px; font-weight: 700; }
.ladd-office__phone a { color: var(--ladd-accent-text); text-decoration: none; }

/* ------------------------------------------------------------ pricing table ---- */

/**
 * The /pricing/ fee table (`.wp-block-table.ladd-pricing-table`), styled in the site's
 * own vocabulary instead of WordPress's block defaults (a grey border on every cell and
 * a 3px rule under the header):
 *   - a white card with the hairline border and 10px card radius used across the site
 *   - the header row on the warm #F4F2EF band, its labels in the eyebrow style
 *     (accent text, uppercase, letter-spaced) that heads every content section
 *   - plan names in DM Sans, prices larger and bold so they are what the eye lands on
 *   - hairline rules between rows only, no vertical grid lines
 *
 * Selectors carry .wp-block-table.ladd-pricing-table (0-2-x) to outrank the block
 * library's `.wp-block-table td/th/thead` (0-1-1) and Astra's bare `table, th, td`.
 * border-collapse is `separate` because a collapsed table ignores border-radius.
 */
.wp-block-table.ladd-pricing-table {
	margin: var(--ladd-space-7) 0 var(--ladd-space-8);
}

.wp-block-table.ladd-pricing-table table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--ladd-hair);
	border-radius: var(--ladd-radius-card);
	overflow: hidden;
	background: #FFFFFF;
	box-shadow: var(--ladd-shadow-sm);
	table-layout: fixed;
}

.wp-block-table.ladd-pricing-table th,
.wp-block-table.ladd-pricing-table td {
	border: 0;
	padding: 22px 28px;
	vertical-align: middle;
}

/* Plan column takes half; the price columns split the rest. A price column needs 155px;
   50/25/25 keeps "Revocable Living Trust Plans" on one line at 1440 and 768. Around 1024
   the table is only 592px, which no split can fit, so the plan name wraps there. */
.wp-block-table.ladd-pricing-table th:first-child,
.wp-block-table.ladd-pricing-table td:first-child {
	width: 50%;
	text-align: left;
}

.wp-block-table.ladd-pricing-table th:not(:first-child),
.wp-block-table.ladd-pricing-table td:not(:first-child) {
	text-align: center;
}

/* Header: the eyebrow treatment on the warm band. */
.wp-block-table.ladd-pricing-table thead {
	border: 0;
}

.wp-block-table.ladd-pricing-table thead th {
	background: var(--ladd-bg-card);
	border-bottom: 1px solid var(--ladd-hair);
	padding-block: 16px;
	font-family: var(--ladd-font-body);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ladd-accent-text);
}

/* Rows: hairline between, none after the last. */
.wp-block-table.ladd-pricing-table tbody tr + tr td {
	border-top: 1px solid var(--ladd-hair);
}

.wp-block-table.ladd-pricing-table tbody td:first-child {
	font-family: var(--ladd-font-heading);
	font-size: 18px;   /* the site's body size; 20px read heavy next to the prices */
	font-weight: 600;
	line-height: 1.35;
	color: var(--ladd-headings);
}

.wp-block-table.ladd-pricing-table tbody td:not(:first-child) {
	font-family: var(--ladd-font-heading);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--ladd-headings);
	white-space: nowrap;
}

/* Phones: tighter cells and type so three columns fit a 320px content box without
   scrolling. Plan names may wrap; prices never do. */
@media (max-width: 767px) {
	.wp-block-table.ladd-pricing-table th,
	.wp-block-table.ladd-pricing-table td {
		padding: 16px 12px;
	}
	.wp-block-table.ladd-pricing-table th:first-child,
	.wp-block-table.ladd-pricing-table td:first-child {
		width: 44%;
		padding-left: 16px;
	}
	.wp-block-table.ladd-pricing-table thead th {
		padding-block: 12px;
		font-size: 11px;
		letter-spacing: 0.1em;
	}
	.wp-block-table.ladd-pricing-table tbody td:first-child { font-size: 15px; }
	.wp-block-table.ladd-pricing-table tbody td:not(:first-child) { font-size: 18px; }
}

/* [ladd_area_map] — dark map card (matches the homepage design's map wrapper) */
.ladd-area-map {
	margin: 32px 0;
	border-radius: 10px;
	overflow: hidden;
	background: #232323;
	border: 1px solid rgba(255, 255, 255, .10);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}
.ladd-area-map svg { display: block; width: 100%; height: auto; }
