/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Description: Child theme for Divi. Put all customizations here so Divi updates don't overwrite them.
Author: Ntooitive
Author URI: https://ntooitive.com
Template: Divi
Version: 1.0.0
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: divi-child
*/

/* ------------------------------------------------------------------
   Divi loads the parent style.css before this file automatically.
   Add your custom CSS below.
   ------------------------------------------------------------------ */

/* ==================================================================
   TYPEFACE
   ------------------------------------------------------------------
   The mockup sets both --sans and --serif to "Plus Jakarta Sans" — it
   has one typeface, not two, despite the variable names. The theme
   loads Open Sans, so without this every section built from the mockup
   renders in the wrong face: different metrics, different widths, and
   no amount of matched padding makes it look like the design.

   Scoped to the sections built from the mockup rather than set on
   body, so the rest of the site keeps its existing typography. To
   adopt it site-wide instead, move this list to `body` — but that
   restyles every existing page, so it is a deliberate decision, not a
   side effect of this file.

   The stack after it is the mockup's own fallback chain.
   ================================================================== */

.lb-header,
.lb-footer,
.lb-hero,
.lb-stats,
.lb-about-section,
.lb-how,
.lb-qualify,
.lb-cases,
.lb-states,
.lb-why,
.lb-reviews,
.lb-compare,
.lb-atty,
.lb-blog,
.lb-faq,
.lb-final,
.lb-press,
.lb-contact,
.lb-cta,
.tpx-section {
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* HEADING CASE.
   Divi Theme Options > Typography has "Heading Style" set to uppercase, so it
   emits:
     h1,h2,h3,h4,h5,h6,... { font-weight:bold; text-transform:uppercase;
                             line-height:1.2em }
   at specificity (0,0,1). Every heading in every section built from the mockup
   was therefore rendering as "HOW WE COMPARE TO OTHER OPTIONS" instead of
   "How We Compare To Other Options" — and the extra width was pushing headings
   onto a second line.

   Reset per-section rather than globally, so the rest of the site keeps the
   uppercase heading style it was designed with. :is() on the roots keeps this
   to one rule; its specificity is that of its most specific argument, so this
   lands at (0,1,1) and wins. */
:is(
	.lb-header, .lb-footer, .lb-hero, .lb-stats, .lb-about-section,
	.lb-how, .lb-qualify, .lb-cases, .lb-states, .lb-why,
	.lb-reviews, .lb-compare, .lb-atty, .lb-blog, .lb-faq,
	.lb-final, .lb-press, .lb-contact, .lb-cta, .tpx-section
) :is(h1, h2, h3, h4, h5, h6) {
	text-transform: none;
}

/* ==================================================================
   HEADER — matches Legal_Bay_Homepage__V3a.html (header, lines 956-976)
   ------------------------------------------------------------------
   Divi Theme Builder header layout #3264, used by the default template
   #3272, so this is the site-wide header.

   WHAT WAS ALREADY RIGHT, and is deliberately not repeated here: the
   layout's own module settings already carry the mockup's values —
   14.5px/600 nav in #1E1218 with #8a1e41 active, the #8a1e41 pill at
   32px radius with 15px/26px padding, the #0060A8 menu icon, the
   transparent section. Restating those in CSS would mean two places to
   change and a fight over specificity. Set them in the Divi module.

   WHAT WAS MISSING, and is the whole job of this block: the bar itself.
   A Divi column stacks its modules vertically, so the menu, the phone
   and the button sat on three rows with no bar height, no sticky, and a
   210px logo. Everything below flattens that column into the mockup's
   one 76px flex row.

   Selectors follow the markup Divi actually renders for #3264 — the
   module_class hooks (.lb-nav, .lb-phone, .lb-cta) plus Divi's own
   internals (.et_pb_menu__logo, ul.et-menu, .et_mobile_nav_menu).
   ================================================================== */

/* --- The bar ------------------------------------------------------ */

/* Sticky goes on the Theme Builder's header WRAPPER, not on the section.
   A sticky element only sticks inside its own containing block, and .et-l--header
   is exactly as tall as the header it holds -- so sticking the section to the top
   of that box means it never travels anywhere. This was the "sticky not working"
   symptom: the rule was applying, it just had no room to act in.

   The wrapper is Divi's, and it wraps nothing but this header, so making it the
   sticky element changes no other layout. */
.et-l--header {
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	z-index: 60;
}

/* The wrapper and Divi's inner-content box carry the white too, not just the
   section inside them.

   This matters because of the `html, body { background: linear-gradient(...) }`
   rule near the end of this file: the page background is a blue gradient, so a
   transparent ancestor of the bar does not fall back to white, it falls back to
   blue. Today the section covers its wrapper exactly and the difference is
   invisible; the moment anything gives either box height of its own -- Divi's
   gutter padding, a second module added to the header layout, the admin bar
   offset -- a blue strip appears along the top of the page.

   Cheaper to state it on all three than to rely on them staying flush. No
   !important: nothing sets a background on either box, so these win unopposed. */
.et-l--header,
.et-l--header > .et_builder_inner_content {
	background: #fff;
}

.lb-header {
	padding: 0 !important;
	/* Solid white bar. !important because the module's own background is
	   RGBA(255,255,255,0), which would let content scroll through it.

	   This was rgba(255,255,255,.82) behind a saturate(180%) blur(18px)
	   backdrop-filter — the mockup's frosted treatment. Opaque white as
	   requested, and the backdrop-filter goes with it rather than being left
	   behind: with nothing translucent above it there is nothing to blur, so all
	   it would still do is hold a compositing layer alive on a sticky element
	   that repaints on every scroll. */
	background: #fff !important;
	border-bottom: 1px solid transparent;
	transition: border-color .3s ease, box-shadow .3s ease;
}

/* Added by js/header.js once the page has scrolled, as .scrolled is in the
   mockup. Divi has no equivalent, so the class is ours. */
.lb-header.lb-scrolled {
	border-bottom-color: #ECE2E7;
	box-shadow: 0 1px 2px rgba(58, 10, 27, .07), 0 1px 3px rgba(58, 10, 27, .05);
}

/* Same box as the mockup's .wrap, and therefore the same as .lb-sec-wrap and
   the hero rows: max-width 1366px, centred, 48px gutter — 1270px of content.

   This was 28px, which is the mockup's MOBILE gutter (--gutter drops to 28px
   only at max-width:1080px). At desktop that made the header's content box 40px
   wider than every other section, so the Apply Now button sat ~20px right of
   the hero card's right edge and nothing lined up down the right-hand side.

   max-width is pinned because Divi emits only `width:100%` for this row, leaving
   it to a cascade of bare .et_pb_row rules. */
.lb-header .lb-header-row {
	width: 100% !important;
	max-width: 1366px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 48px !important;
}

/* The column is what becomes the flex row. Using the column rather than a
   wrapper of our own means not having to win a width argument with Divi. */
.lb-header .lb-header-col {
	display: flex;
	align-items: center;
	gap: 30px;
	height: 76px;
}

/* Divi gives every module a bottom margin, which in a horizontal bar reads
   as the whole row sitting high in its own box. */
.lb-header .et_pb_module {
	margin-bottom: 0 !important;
}

/* --- Menu module: logo + nav -------------------------------------- */

/* flex:1 is what pushes the phone and the button to the far right, the same
   job margin-left:auto does on .nav-right in the mockup. min-width:0 lets it
   shrink below its content instead of forcing the bar wider than the row. */
.lb-header .lb-nav {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 !important;
}

.lb-header .lb-nav .et_pb_menu_inner_container {
	display: flex;
	align-items: center;
	gap: 30px;
}

/* margin-right:0 undoes Divi's own 30px after the logo
   (.et_pb_menu--style-left_aligned .et_pb_menu__logo). The spacing here comes
   from the inner container's `gap`; leaving Divi's margin in as well produced
   60px and pushed the nav off-centre.

   overflow:visible because the wrap is a flex item with flex:0 1 auto -- it is
   allowed to shrink below the logo's width, and anything spilling was being
   cut. That is what clipped the wordmark to "LEGAL B / LAWSUIT FUNDI". */
.lb-header .lb-nav .et_pb_menu__logo-wrap {
	flex: 0 0 auto;
	overflow: visible;
	margin: 0;
}

.lb-header .lb-nav .et_pb_menu__logo {
	margin: 0 !important;
	overflow: visible;
	line-height: 0;
}

/* 38px tall, per the mockup's .logo-img.
   !important on all three, and it is earning it: the module's logo_max_width
   (210px, plus tablet and phone variants) generates a max-width on this exact
   element, and Divi emits that from a later stylesheet. width:auto with a fixed
   height is what keeps the wordmark's aspect ratio whatever file is swapped in,
   and max-width:none stops the 210px cap squashing it. */
.lb-header .lb-nav .et_pb_menu__logo img {
	display: block;
	height: 38px !important;
	width: auto !important;
	max-width: none !important;
	object-fit: contain;
}

.lb-header .lb-nav .et_pb_menu__wrap {
	flex: 1 1 auto;
	justify-content: flex-start;
	min-width: 0;
}

/* Divi spaces menu items with padding-right on each <li>, which leaves a
   trailing gap after the last one and cannot centre-align cleanly. Swapped
   for a real gap so the 24px in the mockup is the gap BETWEEN items. */
.lb-header .lb-nav ul.et-menu {
	display: flex;
	align-items: center;
	gap: 24px;
}

.lb-header .lb-nav ul.et-menu > li {
	margin: 0;
	padding: 0;
}

/* padding:0 is the important part. Divi gives a with-logo menu's links
   `padding: 31px 0` (menu.css), which is 62px of vertical padding before the
   text -- taller on its own than the mockup's whole 76px bar, so the header
   could never be the right height while it stood. The bar's height now comes
   from .lb-header-col alone and the links centre inside it.

   Colour is restated rather than left to the module's menu_text_color: Divi
   emits that colour on a selector it also uses for the mobile dropdown, and
   the value was losing to the parent theme's link colour. */
.lb-header .lb-nav ul.et-menu > li > a {
	padding: 0 !important;
	color: #1E1218 !important;
	opacity: .82;
	white-space: nowrap;
	transition: opacity .2s ease, color .2s ease;
}

.lb-header .lb-nav ul.et-menu > li > a:hover,
.lb-header .lb-nav ul.et-menu > li > a:focus-visible {
	opacity: 1;
	color: #8a1e41 !important;
}

/* Divi draws a bottom border under the active item in a with-logo menu; the
   mockup marks the current page with colour alone. */
.lb-header .lb-nav ul.et-menu > li > a::after {
	display: none;
}

/* --- Phone -------------------------------------------------------- */

.lb-header .lb-phone {
	flex: 0 0 auto;
}

.lb-header .lb-phone .et_pb_text_inner p {
	margin: 0;
	padding: 0;
	line-height: 1;
}

/* The colour is restated instead of inheriting from the module's
   text_text_color: this is an <a>, and Divi's link colour (set in the
   Customizer, not the module) wins over the text module's colour on links --
   which is why the number rendered near-black instead of burgundy. */
.lb-header .lb-phone a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #8a1e41 !important;
	font-weight: 700;
	white-space: nowrap;
}

/* The handset glyph. A masked data-URI rather than an <img> in the module
   content or an inline <svg>: the module's HTML passes through wpautop on
   the way out of the database, which is free to reflow markup it does not
   recognise, and a mask keeps the glyph tinted by color so it stays the
   logo blue while the number stays burgundy. */
.lb-header .lb-phone a::before {
	content: "";
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	background-color: #0060A8;
	-webkit-mask: var(--lb-phone-icon) center / contain no-repeat;
	mask: var(--lb-phone-icon) center / contain no-repeat;
}

:root {
	--lb-phone-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24 11.4 11.4 0 0 0 3.6.58 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.58 3.6a1 1 0 0 1-.25 1l-2.23 2.2Z' fill='%23000'/%3E%3C/svg%3E");
}

/* --- Apply Now pill ---------------------------------------------- */

.lb-header .et_pb_button_module_wrapper {
	flex: 0 0 auto;
	margin: 0 !important;
}

/* Colour, radius, padding and weight all come from the module. What is added
   here is the arrow and the lift, which Divi's button cannot express: its own
   icon is an ETmodules glyph that only appears on hover and slides in from
   the right, where the mockup's arrow is always visible and nudges forward.
   button_use_icon is off in the module, which does NOT leave ::after free --
   Divi emits its own kill rule for it (see the ::after block below). */
/* text-transform and border-radius are forced because Divi's global button
   style (Theme Customizer > Buttons, not the module) was uppercasing the label
   and squaring the corners -- which is why it read "APPLY NOW" in a rectangle
   rather than the mockup's "Apply Now" pill. letter-spacing:normal for the same
   reason: the global style tracks buttons out, and 32px of radius around
   letter-spaced caps is what made it look wrong rather than merely different. */
.lb-header a.lb-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 26px !important;
	border: 0 !important;
	border-radius: 32px !important;
	background: #8a1e41 !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: -.01em !important;
	white-space: nowrap;
	box-shadow: 0 4px 14px rgba(153, 0, 0, .25);
	transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
}

/* Turning button_use_icon off does not simply omit an icon -- Divi emits
       .et_pb_button_N:before,
       body #page-container .et_pb_section .et_pb_button_N:after
       { display: none !important }
   to suppress both slots. That second selector carries an id, so a plain
   .lb-header a.lb-cta::after loses to it however many !importants it uses,
   and the arrow silently never renders. The #page-container prefix here is
   only to get back above that rule -- specificity (1,2,3) vs Divi's (1,2,2).
   Same reason the hero button's arrow is written this way. */
body #page-container .lb-header a.lb-cta::after {
	content: "\2192";
	display: inline-block !important;
	font-family: inherit;
	line-height: 1;
	transition: transform .2s ease;
}

/* Divi re-specifies button padding on :hover to make room for its icon.
   Pinning it here stops the pill growing as the cursor lands on it. */
.lb-header a.lb-cta:hover {
	padding: 15px 26px !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(153, 0, 0, .35);
}

body #page-container .lb-header a.lb-cta:hover::after {
	transform: translateX(4px);
}

.lb-header a.lb-cta:active {
	transform: translateY(0);
	box-shadow: 0 4px 14px rgba(153, 0, 0, .25);
}

.lb-header a.lb-cta:focus-visible {
	outline: 2px solid #8a1e41;
	outline-offset: 2px;
}

/* --- Breakpoints, matching the mockup's own ---------------------- */

@media (max-width: 1180px) {
	.lb-header .lb-nav ul.et-menu {
		gap: 18px;
	}

	.lb-header .lb-nav ul.et-menu > li > a {
		font-size: 13.5px !important;
	}
}

/* The mockup collapses to a hamburger at 1080px; Divi's own switch is at
   980px. Moving it up 100px means the nav never has to crush itself into the
   space left between the logo, the phone and the pill.

   Divi's mobile menu is used as-is rather than replaced — it already renders
   the toggle and the dropdown panel, and its colours are set on the module
   (mobile_menu_bg_color, mobile_menu_text_color, menu_icon_color). */
@media (max-width: 1080px) {
	/* Mockup drops --gutter to 28px here; the hero rows and .lb-sec-wrap do the
	   same, so the header has to follow or the right edges part company again. */
	.lb-header .lb-header-row {
		padding: 0 28px !important;
	}

	.lb-header .lb-nav .et_pb_menu__menu {
		display: none;
	}

	.lb-header .lb-nav .et_mobile_nav_menu {
		display: block;
	}

	.lb-header .lb-nav .et_pb_menu_inner_container {
		gap: 16px;
	}
}

@media (max-width: 680px) {
	.lb-header .lb-phone {
		display: none;
	}

	.lb-header .lb-header-row {
		padding: 0 18px !important;
	}

	.lb-header .lb-nav .et_pb_menu__logo img {
		height: 32px;
	}
}

/* ==================================================================
   HERO BANNER — matches Legal_Bay_Homepage__V3a.html (.hero, lines 981-1038)
   ------------------------------------------------------------------
   Section "HERO BANNER" (module_class .lb-hero), first section of the
   homepage (post 3055). Built from stock Divi modules — text modules,
   a button module, two rows — so every string stays editable in the
   builder. Everything below is the layout the mockup does with CSS
   grid/flex, which Divi's column system alone cannot express.

   Colour, size and radius of the button live on the module. The icons
   are masked data-URIs rather than inline <svg> in the module content:
   text-module HTML passes through wpautop, which is free to reflow
   markup it does not recognise, and a mask lets one shape be re-tinted
   per context (mint on blue, blue on white, white in the marquee).
   ================================================================== */

.lb-hero {
	--lb-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l4 4 10-10' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--lb-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 10V8a6 6 0 1 1 12 0v2' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='4' y='10' width='16' height='10' rx='2.5' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
	position: relative;
	overflow: hidden;
}

/* HEIGHT. The mockup's .hero is `padding:12px 0` with no min-height and no
   viewport units — its height is purely content plus 24px. Divi's default is
   `.et_pb_section{padding:4% 0}`, roughly 55px a side at desktop, which is
   where the extra ~110px of hero height came from.

   Stated here rather than in the section's own padding field because Divi is
   emitting no design CSS at all for this section or for any module inside it
   (see the note on the CTA below) — the field is set to 12px and ignored. */
.lb-hero.et_pb_section {
	padding: 12px 0 !important;
}

/* BACKGROUND. Stated here for the same reason as the padding above: the
   section's own Background field IS set (background_color="#538bbf" on the
   module) but Divi emits no design CSS for this section, so the colour never
   reaches the page. Divi still adds .et_pb_with_background to the section,
   which is why the builder looks correct while the front end renders the hero
   transparent — and the hero's text, checks and trust row are all white, so it
   comes out as a white band with white text on it.

   Same value as the module's, so the two do not disagree; if this colour is
   ever changed, change it in both places. No !important: nothing in Divi or the
   parent theme sets a background on .et_pb_section, and .lb-hero.et_pb_section
   is (0,2,0), so this wins on its own.

   Flat, not the mockup's photo-plus-#1964aa-at-75% treatment: no background
   image is set on the section, and the flat blue is the approved look. The
   lighter wash toward the top-right comes from .lb-hero::after below. */
.lb-hero.et_pb_section {
	background-color: #538bbf;
}

/* Vertical rhythm, likewise in CSS rather than per-module Divi margins for the
   same reason. Values are the mockup's own: 22px under the headline, 26px to
   the checks, 34px to the trust row, and inside the card 22/22/16.
   Module wrappers carry the spacing, not the inner elements, because each
   module sits in its own div and adjacent margins therefore never collapse
   the way the mockup's plain sibling blocks do. */
.lb-hero .lb-hero-title  { margin-top: 22px; }
.lb-hero .lb-hero-sub    { margin-top: 22px; }
.lb-hero .lb-hero-checks { margin-top: 26px; }
.lb-hero .lb-hero-trust  { margin-top: 34px; }

.lb-hero .lb-quote-head               { margin-top: 0; }
.lb-hero .lb-quote-benefits           { margin-top: 22px; }
.lb-hero .et_pb_button_module_wrapper { margin: 22px 0 0 !important; }
.lb-hero .lb-quote-foot               { margin-top: 16px; }

/* Nothing in the hero adds trailing space of its own. */
.lb-hero .et_pb_module {
	margin-bottom: 0 !important;
}

/* The mockup layers four absolute divs over a photo. Two pseudo-elements do
   the same job without adding empty markup: the radial glow (.hero-bg) and
   the 54px grid (.hero-grid-overlay), masked so it fades out at the edges. */
.lb-hero::before,
.lb-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

/* GRID goes on ::before and GLOW on ::after, so the glow paints ON TOP of the
   grid. That is the mockup's order — .hero-grid-overlay is z-index:2 and
   .hero-bg is z-index:3 — and it matters: the glow softens the grid lines
   where the two overlap, which is why the grid fades out under the bright
   top-right corner instead of cutting across it. */
.lb-hero::before {
	z-index: 1;
	opacity: .6;
	background-image:
		linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
	background-size: 54px 54px;
	-webkit-mask-image: radial-gradient(900px 600px at 70% 20%, #000, transparent 75%);
	mask-image: radial-gradient(900px 600px at 70% 20%, #000, transparent 75%);
}

.lb-hero::after {
	z-index: 2;
	background:
		radial-gradient(920px 540px at 82% -12%, rgba(255, 255, 255, .14), transparent 60%),
		radial-gradient(720px 480px at -4% 104%, rgba(255, 255, 255, .07), transparent 60%);
}

/* Rows must clear the two overlays. */
/* Content above both overlays. The mockup actually puts .hero-bg at z-index:3
   and .hero-inner at 2, i.e. the glow paints OVER the content — almost
   certainly unintended. It is near-invisible either way (the glow's bright
   spot sits at 82%/-12%, over the already-white quote card), so the content
   is kept on top rather than reproducing a 14% white wash across it.

   WIDTH: this reproduces the mockup's .wrap (max-width 1366px, 48px gutter,
   centred) — the same box .lb-sec-wrap gives every other section. The hero was
   built before that helper existed and had no horizontal gutter, so its content
   ran the full 1366px instead of 1270px and the quote card came out ~44px wider
   than the design.

   !important throughout because Divi emits no max-width for these rows and the
   cascade contains a bare `.et_pb_row{padding:0 30px!important}`. Vertical
   padding is deliberately not set here, so the row's own 40px top (set on the
   Divi module) still applies. */
.lb-hero > .et_pb_row {
	position: relative;
	z-index: 3;
	width: 100% !important;
	max-width: 1366px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 48px !important;
	padding-right: 48px !important;
}

/* --- Two-column layout ------------------------------------------- */

/* 1.08fr / 0.92fr from the mockup. Divi has no such ratio — its closest
   preset is a flat 1_2,1_2 — so the columns are set as flex-grow instead,
   which also lets the 64px gap replace Divi's gutter margins. */
.lb-hero .lb-hero-row {
	display: flex;
	align-items: center;
	gap: 64px;
}

.lb-hero .lb-hero-row > .et_pb_column {
	float: none;
	width: auto !important;
	margin: 0 !important;
}

.lb-hero .lb-hero-copy {
	flex: 1.08 1 0;
	min-width: 0;
}

.lb-hero .lb-hero-card {
	flex: .92 1 0;
	min-width: 0;
}

/* --- Headline ----------------------------------------------------- */

/* clamp() rather than Divi's three breakpoint fields: it scales smoothly
   between them instead of stepping at 980px and 767px. */
.lb-hero .lb-hero-title h1 {
	font-size: clamp(44px, 4.6vw, 70px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -.03em;
	color: #fff;
	margin: 0;
	padding: 0;
}

.lb-hero .lb-hero-title em {
	font-style: normal;
	color: #BFE0FF;
}

/* The full stop is burgundy, so it reads as punctuation on the brand rather
   than the tail of the light-blue clause. */
.lb-hero .lb-hero-title .lb-dot {
	color: #8a1e41;
}

/* text-wrap:pretty asks the browser to avoid a very short last line, which is
   what left "win." stranded on its own. The copy also binds its final two words
   with &nbsp; so the fix holds in browsers without `pretty` support — belt and
   braces, because this paragraph is edited from the Divi module and a reworded
   sentence would otherwise strand a different word.

   max-width stays at the mockup's 540px; widening it would only move the orphan
   to a different word. */
.lb-hero .lb-hero-sub,
.lb-hero .lb-hero-sub p {
	font-size: 20px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .88);
	max-width: 540px;
	margin: 0;
	padding: 0;
	text-wrap: pretty;
}

.lb-hero .lb-hero-sub b {
	color: #fff;
	font-weight: 700;
}

/* --- Check lists -------------------------------------------------- */

/* Divi's content areas force disc bullets and a 1em indent on every ul
   (.et-l--post ul in the theme stylesheet), so both are reset here. */
.lb-hero .lb-hero-checks ul,
.lb-hero .lb-quote-benefits ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0;
}

.lb-hero .lb-hero-checks ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
}

.lb-hero .lb-hero-checks li,
.lb-hero .lb-quote-benefits li {
	display: flex;
	align-items: center;
	padding: 0;
	font-weight: 600;
}

.lb-hero .lb-hero-checks li {
	gap: 9px;
	font-size: 15.5px;
	color: #fff;
}

.lb-hero .ck {
	flex: none;
	display: grid;
	place-items: center;
	border-radius: 50%;
}

.lb-hero .ck::before {
	content: "";
	background-color: currentColor;
	-webkit-mask: var(--lb-check) center / contain no-repeat;
	mask: var(--lb-check) center / contain no-repeat;
}

.lb-hero .lb-hero-checks .ck {
	width: 22px;
	height: 22px;
	background: rgba(255, 255, 255, .16);
	color: #7CFFC4;
}

.lb-hero .lb-hero-checks .ck::before {
	width: 12px;
	height: 12px;
}

/* --- Trust badges ------------------------------------------------- */

/* The 28px is ALSO set as this module's custom_padding in Divi, with the force
   flag — Divi emits `padding-top:28px!important`, which beats anything here.
   The two must stay in step: changing only this value does nothing, because
   !important wins over specificity. The rule below the padding is the mockup's
   .hero-trust border-top, and it is the reason the padding matters — without it
   the divider sits flush against the trust badges. */
.lb-hero .lb-hero-trust {
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, .24);
}

.lb-hero .lb-trust {
	display: flex;
	align-items: center;
	gap: 26px;
	flex-wrap: wrap;
}

.lb-hero .lb-badge {
	display: flex;
	align-items: center;
	gap: 11px;
}

.lb-hero .lb-bdg {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #ECE2E7;
	box-shadow: 0 1px 2px rgba(58, 10, 27, .07), 0 1px 3px rgba(58, 10, 27, .05);
	color: #8a1e41;
	font-weight: 800;
	font-size: 13px;
}

.lb-hero .lb-bdg--g {
	font-size: 18px;
}

.lb-hero .lb-badge-txt b {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.lb-hero .lb-badge-txt small {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: rgba(255, 255, 255, .72);
}

/* --- Quote card --------------------------------------------------- */

/* The column IS the card. Styling the column rather than nesting a wrapper
   inside it keeps each line of the card a separate, editable Divi module. */
.lb-hero .lb-hero-card {
	align-self: center;
	background: #fff;
	border: 1px solid #ECE2E7;
	border-radius: 28px;
	padding: 30px !important;
	box-shadow: 0 28px 70px rgba(58, 10, 27, .18), 0 10px 26px rgba(58, 10, 27, .09);
}

.lb-hero .lb-qh {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

/* line-height 1.08 because the mockup sets no line-height here, so this
   inherits the global h1,h2,h3 rule. 1.2 was mine and made the card's
   heading sit fractionally lower than the design. */
.lb-hero .lb-quote-head h3 {
	font-size: 25px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.08;
	color: #8a1e41;
	padding: 0;
	margin: 0;
}

/* Scoped to .lb-qh-txt, not .lb-quote-head, so it cannot also hit the
   paragraph wpautop wraps around the Live badge (see below). */
.lb-hero .lb-qh-txt p {
	margin: 5px 0 0;
	padding: 0;
	font-size: 13.5px;
	font-weight: 600;
	color: #6E5A63;
}

/* The badge is a bare inline span in the module content, and wpautop wraps
   any such run in a <p> on the way out of the database. That paragraph is
   then a flex child of .lb-qh and picks up Divi's paragraph padding, which
   drops the badge below the heading. Neutralising the wrapper here is more
   durable than trying to author markup wpautop will leave alone. */
.lb-hero .lb-qh > p {
	flex: none;
	margin: 0;
	padding: 0;
}

.lb-hero .lb-live {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #E4F4ED;
	color: #15936A;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.lb-hero .lb-live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #15936A;
	box-shadow: 0 0 0 4px rgba(21, 163, 106, .18);
	animation: lb-pulse 2s infinite;
}

@keyframes lb-pulse {
	0%, 100% { opacity: 1; }
	50%      { opacity: .4; }
}

/* The 6px is the mockup's own trailing margin on .qt-benefits; with the 22px
   above the button it makes the 28px gap between the list and the pill. */
.lb-hero .lb-quote-benefits ul {
	display: flex;
	flex-direction: column;
	gap: 13px;
	margin-bottom: 6px;
}

.lb-hero .lb-quote-benefits li {
	gap: 11px;
	font-size: 15px;
	color: #8a1e41;
}

.lb-hero .lb-quote-benefits .ck {
	width: 24px;
	height: 24px;
	background: #E4F4ED;
	color: #0060A8;
}

.lb-hero .lb-quote-benefits .ck::before {
	width: 13px;
	height: 13px;
}

/* Full-width pill. The arrow is on ::after with a #page-container prefix for
   the same specificity reason as the header CTA -- Divi's icon-off rule is
   id-level and would otherwise keep it hidden. */
/* The full appearance is declared here rather than left to the module. Divi
   emits no design CSS for this particular button -- the other five buttons on
   the page each get padding/colour/icon rules, this one gets only a transition
   -- so anything not stated here falls through to the global button style from
   Theme Customizer > Buttons, which uppercases the label, tracks it out and
   draws a border. text-transform and letter-spacing are the tell-tales: without
   them it reads "APPLY NOW" in a bordered rectangle. */
.lb-hero a.lb-quote-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 18px 32px !important;
	border: 0 !important;
	border-radius: 32px !important;
	background: #8a1e41 !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: -.01em !important;
	box-shadow: 0 4px 14px rgba(153, 0, 0, .25);
	transition: transform .18s ease, box-shadow .25s ease;
}

body #page-container .lb-hero a.lb-quote-cta::after {
	content: "\2192";
	display: inline-block !important;
	font-family: inherit;
	line-height: 1;
	transition: transform .2s ease;
}

/* Divi re-specifies button padding on :hover to make room for its icon. */
.lb-hero a.lb-quote-cta:hover {
	padding: 18px 32px !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(153, 0, 0, .35);
}

body #page-container .lb-hero a.lb-quote-cta:hover::after {
	transform: translateX(4px);
}

.lb-hero .lb-quote-foot p {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	font-size: 12.5px;
	font-weight: 600;
	color: #6E5A63;
}

.lb-hero .lb-quote-foot p::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background-color: #15936A;
	-webkit-mask: var(--lb-lock) center / contain no-repeat;
	mask: var(--lb-lock) center / contain no-repeat;
}

/* --- Marquee ------------------------------------------------------ */

.lb-hero .lb-marquee {
	margin-top: 64px !important;
	padding: 18px 0;
	background: rgba(255, 255, 255, .06);
	border-top: 1px solid rgba(255, 255, 255, .2);
	border-bottom: 1px solid rgba(255, 255, 255, .2);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

/* The seven labels are listed twice in the module, so translating the track
   exactly -50% lands on an identical frame and the loop is seamless. Editing
   the list means keeping both halves identical. */
.lb-hero .lb-marquee-track {
	display: flex;
	gap: 56px;
	width: max-content;
	animation: lb-marquee 26s linear infinite;
}

.lb-hero .lb-marquee-track span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
}

.lb-hero .lb-marquee-track span::before {
	content: "";
	flex: none;
	width: 17px;
	height: 17px;
	background-color: #fff;
	-webkit-mask: var(--lb-check) center / contain no-repeat;
	mask: var(--lb-check) center / contain no-repeat;
}

@keyframes lb-marquee {
	to { transform: translateX(-50%); }
}

/* --- Breakpoints, matching the mockup's own ---------------------- */

/* The mockup collapses .hero-inner to one column at 1080px, ahead of Divi's
   own 980px stack, so the card never has to share a narrow row with the copy. */
@media (max-width: 1080px) {
	/* Mockup drops --gutter from 48px to 28px here; .lb-sec-wrap does the same. */
	.lb-hero > .et_pb_row {
		padding-left: 28px !important;
		padding-right: 28px !important;
	}

	.lb-hero .lb-hero-row {
		flex-direction: column;
		align-items: stretch;
		gap: 48px;
	}

	.lb-hero .lb-hero-copy,
	.lb-hero .lb-hero-card {
		flex: 1 1 auto;
	}
}

@media (max-width: 680px) {
	.lb-hero .lb-hero-sub,
	.lb-hero .lb-hero-sub p {
		font-size: 17px;
	}

	.lb-hero .lb-hero-card {
		padding: 22px !important;
	}

	.lb-hero .lb-trust {
		gap: 18px;
	}
}

/* The marquee is decoration, and a continuous scroll is exactly the motion
   this setting exists to stop. */
@media (prefers-reduced-motion: reduce) {
	.lb-hero .lb-marquee-track {
		animation: none;
	}

	.lb-hero .lb-live-dot {
		animation: none;
	}
}

/* ==================================================================
   TRUSTPILOT REVIEWS — matches Legal_Bay_Homepage__V3a.html (.tpx-*,
   lines 1042-1067 and 1069-1136)
   ------------------------------------------------------------------
   Markup comes from [legalbay_trustpilot] (inc/trustpilot.php), which
   renders live reviews from Trustpilot's Business Units API. The colours
   here are Trustpilot's own brand values from the mockup — #00b67a for a
   filled star, #dcdce6 for an empty one — not the site palette, because
   a review widget that recolours its stars stops reading as Trustpilot.

   Everything is scoped under .tpx-section so it cannot reach the official
   TrustBox iframe used as the fallback, which must be left alone.
   ================================================================== */

.tpx-section {
	padding: clamp(24px, 3.2vw, 48px) 0 clamp(24px, 8vw, 60px);
}

.tpx-section .tpx-wrap {
	max-width: 1366px;
	margin: 0 auto;
	padding: 0 48px;
}

.tpx-section .tpx-carousel {
	position: relative;
	padding: 0 6px;
}

/* A plain overflow scroller, so touch and trackpad swiping work with no JS;
   the arrows are enhancement on top. Scrollbar hidden because the cards are
   the affordance and a bar under them reads as a stray rule. */
.tpx-section .tpx-track {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 10px 4px;
	scrollbar-width: none;
	-ms-overflow-style: none;
	list-style: none;
	margin: 0;
}

.tpx-section .tpx-track::-webkit-scrollbar {
	display: none;
}

/* Three across, minus the two 22px gaps. */
.tpx-section .tpx-card {
	flex: 0 0 calc((100% - 44px) / 3);
	min-width: 280px;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e7e7ea;
	border-radius: 8px;
	padding: 16px 18px 14px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.tpx-section .tpx-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.tpx-section .tpx-stars {
	display: flex;
	gap: 3px;
}

.tpx-section .tpx-star {
	display: grid;
	place-items: center;
	width: 23px;
	height: 23px;
	border-radius: 3px;
	color: #fff;
	font-size: 14px;
	line-height: 1;
}

.tpx-section .tpx-star.on  { background: #00b67a; }
.tpx-section .tpx-star.off { background: #dcdce6; }

.tpx-section .tpx-date {
	font-size: 13px;
	font-weight: 400;
	color: #8a8a94;
	white-space: nowrap;
}

.tpx-section .tpx-card h3 {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.01em;
	color: #191919;
	margin: 0 0 8px;
	padding: 0;
}

/* flex:1 pushes the author line to the bottom, so cards of differing text
   length still align their footers across the row. */
.tpx-section .tpx-card p {
	flex: 1;
	font-size: 14.5px;
	line-height: 1.55;
	color: #3b3b45;
	margin: 0;
	padding: 0;
}

.tpx-section .tpx-author {
	margin-top: 20px;
	font-size: 13.5px;
	font-weight: 600;
	color: #8a8a94;
}

.tpx-section .tpx-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #e7e7ea;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .10);
	color: #0060A8;
	cursor: pointer;
	z-index: 3;
	padding: 0;
	transition: color .2s, border-color .2s, box-shadow .2s;
}

.tpx-section .tpx-arrow:hover {
	color: #00b67a;
	border-color: #00b67a;
	box-shadow: 0 5px 16px rgba(0, 0, 0, .15);
}

.tpx-section .tpx-arrow svg {
	width: 16px;
	height: 16px;
}

.tpx-section .tpx-arrow.prev { left: -14px; }
.tpx-section .tpx-arrow.next { right: -14px; }

/* The script sets [hidden] when there is nothing to page through; Divi's
   reset does not honour it on a grid display, hence the explicit rule. */
.tpx-section .tpx-arrow[hidden] {
	display: none;
}

.tpx-section .tpx-foot {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 30px;
	font-size: 15px;
	color: #191919;
}

.tpx-section .tpx-foot a {
	color: #191919;
	font-weight: 700;
	text-decoration: underline;
}

.tpx-section .tpx-logo {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: #191919;
}

.tpx-section .tpx-logo .sq {
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 3px;
	background: #00b67a;
	color: #fff;
	font-size: 12px;
}

/* --- Fallback wrapper --------------------------------------------- */

/* The container for the official TrustBox, shown when there is no API key or
   Trustpilot is unreachable. The WRAPPER only -- the widget inside it is a
   cross-origin iframe and nothing in it is reachable from here.

   Without this the fallback is the only block on the page with no container of
   its own, and it renders edge to edge and flush against the sections above and
   below it. Two things have to be absent at once for that, and both are:

     1. Its Divi section carries no module_class, so it gets none of the
        `.lb-*-section .et_pb_row { width:100%; max-width:100%; padding:0 }`
        treatment every other section gets -- and those sections then re-impose
        the real box with .lb-sec-wrap / .tpx-wrap inside. This one has neither
        half.
     2. Divi's parent stylesheet is not linked on the front page (Divi splits it
        into the per-page et-cache files), and the rules that do load contain no
        width for a bare .et_pb_row. So the row is a plain block: width auto,
        i.e. the full width of the section, i.e. the viewport.

   The designed carousel never hit this because .tpx-section supplies its own
   padding and .tpx-wrap its own box. This gives the fallback the same two, so
   it occupies exactly the space the carousel would. */
.tpx-fallback {
	max-width: 1366px;
	margin: 0 auto;
	padding: clamp(24px, 3.2vw, 48px) 48px clamp(24px, 8vw, 60px);
}

@media (max-width: 1080px) {
	.tpx-section .tpx-wrap {
		padding: 0 28px;
	}

	/* Mockup's mobile gutter, same as .tpx-wrap above. */
	.tpx-fallback {
		padding-left: 28px;
		padding-right: 28px;
	}
}

@media (max-width: 900px) {
	.tpx-section .tpx-card {
		flex: 0 0 calc((100% - 22px) / 2);
	}
}

@media (max-width: 600px) {
	.tpx-section .tpx-card {
		flex: 0 0 100%;
	}

	.tpx-section .tpx-arrow.prev { left: 0; }
	.tpx-section .tpx-arrow.next { right: 0; }
}

/* ==================================================================
   COUNTER / STATS BAND — Legal_Bay_Homepage__V3a.html (.stats, lines
   467-470 + 525-531) and the supplied screenshot
   ------------------------------------------------------------------
   Sits directly below the Trustpilot section. Markup is a single Divi
   Code module (admin_label "Counter Markup") rather than four text
   modules: the band needs one grid container for the dividers to fall
   in the gaps, and a Code module skips wpautop so the markup survives
   round-trips through the builder. Numbers and labels are editable in
   that one module.

   NOTE: the dividers come from the screenshot, not the mockup CSS —
   .stats-grid there is a plain 28px gap with no rules between columns.
   ================================================================== */

/* Divi's section/row/column would otherwise cap this at the row's
   max-width; the band has to run edge to edge with its own inner wrap. */
.lb-stats-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-stats-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-stats-section .et_pb_column {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-stats {
	background: #8a1e41;
	color: #fff;
	padding: 84px 0;
}

.lb-stats-wrap {
	max-width: 1366px;
	margin: 0 auto;
	padding: 0 48px;
}

.lb-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.lb-stat {
	position: relative;
}

/* Divider centred in the 28px gap, hence -14px. Drawn on the item rather
   than as a border so it sits mid-gap instead of hard against the next
   column, and so it spans only the content height as in the screenshot. */
.lb-stat::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -14px;
	width: 1px;
	background: rgba(255, 255, 255, .18);
}

/* No rule to the left of a column that starts a row. The nth-child rules
   in the breakpoints below keep this true as the column count drops. */
.lb-stat:first-child::before {
	display: none;
}

.lb-stat-num {
	font-size: clamp(40px, 4.2vw, 58px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.03em;
	color: #fff;
}

/* <em> is the mockup's own hook for the trailing unit — M+, k+, hr, /50 —
   reset to upright since it is a colour distinction, not emphasis. */
.lb-stat-num em {
	font-style: normal;
	color: #BFE0FF;
}

.lb-stat-lbl {
	margin-top: 12px;
	font-size: 15px;
	font-weight: 600;
	color: rgba(255, 255, 255, .72);
}

@media (max-width: 1080px) {
	.lb-stats-wrap {
		padding: 0 28px;
	}

	.lb-stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 36px 20px;
	}

	.lb-stat::before {
		left: -10px;
	}

	/* Third item now starts the second row. */
	.lb-stat:nth-child(3)::before {
		display: none;
	}
}

@media (max-width: 560px) {
	.lb-stats {
		padding: 56px 0;
	}

	.lb-stats-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	/* Single column: every item starts its row, so no rules at all. */
	.lb-stat::before {
		display: none;
	}
}

/* ==================================================================
   ABOUT — "A funding partner you can actually trust"
   Legal_Bay_Homepage__V3a.html (#about, lines 1155-1187; CSS 534-543)
   ------------------------------------------------------------------
   Sits directly below the counter band. Two Divi Code modules — "About
   Copy" and "About Cards" — so the marketing copy and the four stat
   cards are edited separately, while the two-column proportions stay
   in CSS. Code modules rather than Text modules because both halves
   carry inline SVG, which wpautop is free to reflow.

   The mockup's grid is 1.05fr/0.95fr. Divi has no such ratio, so the
   columns are flex-grow values on Divi's own 1_2,1_2 row — the same
   approach the hero uses.
   ================================================================== */

.lb-about-section.et_pb_section {
	padding: 110px 0 !important;
	background-color: #fff !important;
}

/* Divi's row would cap this at its own max-width and add gutters; the
   section supplies its own wrap width below instead. */
.lb-about-section .et_pb_row.lb-about-row {
	display: flex;
	align-items: center;
	gap: 60px;
	width: 100% !important;
	max-width: 1366px !important;
	margin: 0 auto !important;
	padding: 0 48px !important;
}

.lb-about-section .lb-about-row > .et_pb_column {
	float: none;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	min-width: 0;
}

.lb-about-section .lb-about-col-copy  { flex: 1.05 1 0; }
.lb-about-section .lb-about-col-cards { flex: .95 1 0; }

.lb-about-section .et_pb_module {
	margin-bottom: 0 !important;
}

/* --- Copy --------------------------------------------------------- */

.lb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #0060A8;
}

.lb-about-title {
	font-size: clamp(32px, 3.2vw, 46px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: #8a1e41;
	margin: 16px 0 18px;
	padding: 0;
}

/* Divi adds padding-bottom to paragraphs in post content, which reads as
   uneven gaps between these two blocks; margin alone controls the rhythm. */
.lb-about-copy p {
	font-size: 18px;
	line-height: 1.65;
	color: #6E5A63;
	margin: 0 0 16px;
	padding: 0;
}

.lb-about-copy p:last-of-type {
	margin-bottom: 0;
}

.lb-about-copy p b {
	color: #8a1e41;
	font-weight: 700;
}

/* --- Buttons ------------------------------------------------------ */

/* Plain anchors rather than Divi button modules: Divi's global button style
   uppercases and tracks out its labels, and its icon slot is disabled by an
   id-level rule (see the header CTA), so a stock module would have to be
   overridden on every property anyway. */
.lb-about-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

/* Unscoped so other sections (the final CTA band) share one button base
   instead of restating it. Nothing else on the site targets .lb-btn, and
   Divi's generic a{} rules are lower specificity, so this is safe. */
.lb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 26px;
	border-radius: 32px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.01em;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease, color .2s ease;
}

.lb-btn svg {
	width: 17px;
	height: 17px;
	flex: none;
}

.lb-btn .arr {
	transition: transform .2s ease;
}

.lb-btn:hover .arr {
	transform: translateX(4px);
}

.lb-btn-primary {
	background: #8a1e41;
	color: #fff;
	border: 0;
	box-shadow: 0 4px 14px rgba(153, 0, 0, .25);
}

.lb-btn-primary:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(153, 0, 0, .35);
}

.lb-btn-ghost {
	background: #fff;
	color: #8a1e41;
	border: 1.5px solid #ECE2E7;
	box-shadow: 0 1px 2px rgba(58, 10, 27, .07), 0 1px 3px rgba(58, 10, 27, .05);
}

.lb-btn-ghost:hover {
	color: #8a1e41;
	border-color: #8a1e41;
	transform: translateY(-2px);
}

/* Inverted pill for use on a burgundy ground. */
.lb-btn-white {
	background: #fff;
	color: #8a1e41;
	border: 0;
	padding: 18px 32px;
	font-size: 17px;
	box-shadow: 0 4px 14px rgba(58, 10, 27, .18);
}

.lb-btn-white:hover {
	color: #8a1e41;
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(58, 10, 27, .26);
}

.lb-btn:focus-visible {
	outline: 2px solid #8a1e41;
	outline-offset: 2px;
}

/* Outlined pill for use on a dark/photographic ground — the faint white fill
   keeps the label legible where the backdrop behind it varies. */
.lb-btn-outline-white {
	background: rgba(255, 255, 255, .12);
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, .4);
}

.lb-btn-outline-white:hover {
	background: rgba(255, 255, 255, .2);
	color: #fff;
	transform: translateY(-2px);
}

/* On burgundy or blue, a burgundy focus ring is invisible. */
.lb-btn-white:focus-visible,
.lb-btn-outline-white:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

/* --- Cards -------------------------------------------------------- */

.lb-about-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.lb-about-card {
	background: #FAF6F8;
	border: 1px solid #ECE2E7;
	border-radius: 22px;
	padding: 26px 24px;
}

.lb-about-card .ic {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 13px;
	background: #fff;
	border: 1px solid #ECE2E7;
	box-shadow: 0 1px 2px rgba(58, 10, 27, .07), 0 1px 3px rgba(58, 10, 27, .05);
	color: #0060A8;
	margin-bottom: 16px;
}

.lb-about-card .ic svg {
	width: 24px;
	height: 24px;
}

.lb-about-card .k {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.15;
	color: #8a1e41;
}

.lb-about-card .l {
	margin-top: 4px;
	font-size: 14.5px;
	font-weight: 600;
	color: #6E5A63;
}

/* --- Breakpoints -------------------------------------------------- */

@media (max-width: 1080px) {
	.lb-about-section.et_pb_section {
		padding: 72px 0 !important;
	}

	.lb-about-section .et_pb_row.lb-about-row {
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
		padding: 0 28px !important;
	}

	.lb-about-section .lb-about-col-copy,
	.lb-about-section .lb-about-col-cards {
		flex: 1 1 auto;
	}
}

@media (max-width: 560px) {
	.lb-about-cards {
		grid-template-columns: 1fr;
	}

	.lb-about-cta .lb-btn {
		width: 100%;
	}
}

/* ==================================================================
   GLOBAL FOOTER — Legal_Bay_Homepage__V3a.html (footer.footer, lines
   1659-1687; CSS 359-360 + 769-786)
   ------------------------------------------------------------------
   Divi Theme Builder footer layout #3268, used by the default template
   #3272, so this is the site-wide footer. One Code module ("Footer
   Markup") holds the whole block: it is a single four-column grid with
   inline SVG, so splitting it across modules would only add places for
   Divi's gutters and wpautop to interfere.

   The copyright year comes from [legalbay_year] rather than being typed
   in, so it cannot go stale.

   The mockup has NO footer breakpoints — it stays four columns down to
   a phone. The media queries at the end are added here for that reason.
   ================================================================== */

.lb-footer-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-footer-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-footer-section .et_pb_column,
.lb-footer-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-footer {
	background: linear-gradient(135deg, #1969AF 0%, #173573 100%);
	color: rgba(255, 255, 255, .78);
	padding: 76px 0 36px;
}

.lb-footer-wrap {
	max-width: 1366px;
	margin: 0 auto;
	padding: 0 48px;
}

/* Brand column is wider than the three link columns. */
.lb-footer-top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.lb-footer-brand {
	max-width: 340px;
}

/* The logo is a dark wordmark, so it needs its own light plate to sit on
   against the blue — hence the white box rather than a bare <img>. */
.lb-footer-logo {
	display: inline-flex;
	background: #fff;
	padding: 14px 20px;
	border-radius: 14px;
	box-shadow: 0 12px 34px rgba(58, 10, 27, .12), 0 4px 12px rgba(58, 10, 27, .07);
}

.lb-footer-logo img {
	display: block;
	height: 42px;
	width: auto;
	max-width: 100%;
}

.lb-footer-tagline {
	font-size: 20px;
	line-height: 1.3;
	color: #fff;
	margin: 22px 0 18px;
	padding: 0;
}

.lb-footer-contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.lb-footer-contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}

.lb-footer-contact svg {
	width: 18px;
	height: 18px;
	flex: none;
	color: #fff;
}

.lb-footer-col h4 {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 18px;
	padding: 0;
}

/* Divi forces disc bullets and a 1em indent on lists in layout content. */
.lb-footer-col ul {
	display: flex;
	flex-direction: column;
	gap: 11px;
	list-style: none !important;
	margin: 0;
	padding: 0 !important;
}

.lb-footer-col li {
	padding: 0;
	margin: 0;
}

.lb-footer-col a {
	font-size: 14.5px;
	color: rgba(255, 255, 255, .72);
	text-decoration: none;
	transition: color .2s;
}

.lb-footer-col a:hover {
	color: #fff;
}

.lb-footer-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 26px;
	padding: 30px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.lb-footer-trust span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 700;
	color: rgba(255, 255, 255, .85);
}

.lb-footer-disc {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 16px;
	padding: 16px 20px;
	margin: 24px 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .7);
}

.lb-footer-disc b {
	color: rgba(255, 255, 255, .9);
}

.lb-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	font-size: 13px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .6);
}

.lb-footer-bottom a {
	color: rgba(255, 255, 255, .82);
	text-decoration: none;
}

.lb-footer-bottom a:hover {
	color: #fff;
}

/* --- Breakpoints (not in the mockup — see note above) ------------- */

@media (max-width: 1080px) {
	.lb-footer {
		padding: 56px 0 32px;
	}

	.lb-footer-wrap {
		padding: 0 28px;
	}

	/* Brand takes the full width, the three link columns share a row. */
	.lb-footer-top {
		grid-template-columns: repeat(3, 1fr);
		gap: 36px 24px;
	}

	.lb-footer-brand {
		grid-column: 1 / -1;
		max-width: none;
	}
}

@media (max-width: 680px) {
	.lb-footer-top {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 480px) {
	.lb-footer-top {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.lb-footer-tagline {
		font-size: 18px;
	}

	.lb-footer-trust {
		gap: 12px 18px;
	}
}

/* ==================================================================
   HOW IT WORKS + WHO QUALIFIES
   Legal_Bay_Homepage__V3a.html (#how, lines 1192-1235; CSS 320-323,
   546-556 and the 1080/560 queries at 563-564)
   ------------------------------------------------------------------
   The mockup has both blocks inside ONE <section id="how">, with the
   second heading pushed down by an inline margin-top:64px. Here they
   are two Divi sections so each can be edited or removed on its own;
   the padding is split 110/0 then 64/110 so the seam is invisible and
   the run of #FAF6F8 reads as one band, exactly as in the screenshot.

   Note the mockup declares .step twice (lines 502-510, then 546-553).
   The later block wins and is the one reproduced here — the earlier
   one targets a .ico class the markup does not use.
   ================================================================== */

.lb-how-section.et_pb_section,
.lb-qualify-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-how-section .et_pb_row,
.lb-qualify-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-how-section .et_pb_column,
.lb-qualify-section .et_pb_column,
.lb-how-section .et_pb_module,
.lb-qualify-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Split padding so the two sections form one continuous band. */
.lb-how {
	background: #FAF6F8;
	padding: 110px 0 0;
}

.lb-qualify {
	background: #FAF6F8;
	padding: 64px 0 110px;
}

.lb-sec-wrap {
	max-width: 1366px;
	margin: 0 auto;
	padding: 0 48px;
}

/* --- Section headings --------------------------------------------- */

.lb-sec-head {
	max-width: 760px;
}

.lb-sec-head--center {
	margin: 0 auto;
	text-align: center;
}

.lb-sec-head h2 {
	font-size: clamp(34px, 3.4vw, 50px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.025em;
	color: #8a1e41;
	margin: 16px 0 14px;
	padding: 0;
}

/* The "Do you qualify" heading is smaller in the mockup because it was an
   h3 nested under the steps heading. These are now sibling sections, so it
   stays an h2 for the document outline and takes its size from here. */
.lb-sec-head--sm h2 {
	font-size: clamp(26px, 2.4vw, 34px);
	margin: 14px 0 6px;
}

.lb-sec-head p {
	font-size: 19px;
	line-height: 1.55;
	color: #6E5A63;
	margin: 0;
	padding: 0;
}

.lb-sec-head--sm p {
	font-size: 17px;
}

/* --- Steps -------------------------------------------------------- */

.lb-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
	margin-top: 60px;
}

.lb-step {
	position: relative;
}

/* The dashed connector runs from the right edge of one badge to the next
   column: 92px clears the 76px tile, -13px is half the 26px gap. */
.lb-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 38px;
	left: 92px;
	right: -13px;
	height: 2px;
	background: repeating-linear-gradient(90deg, #ECE2E7 0 8px, transparent 8px 16px);
}

.lb-step-badge {
	position: relative;
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #ECE2E7;
	box-shadow: 0 4px 16px rgba(58, 10, 27, .08), 0 2px 6px rgba(58, 10, 27, .05);
	color: #0060A8;
	transition: transform .25s ease, box-shadow .25s ease;
}

/* The mockup means to lift this on hover (line 506) but names a class the
   markup never uses, so the effect is dead there. Restored on the real class. */
.lb-step:hover .lb-step-badge {
	transform: translateY(-5px);
	box-shadow: 0 12px 34px rgba(58, 10, 27, .12), 0 4px 12px rgba(58, 10, 27, .07);
}

.lb-step-badge svg {
	width: 34px;
	height: 34px;
}

.lb-step-badge .n {
	position: absolute;
	top: -10px;
	right: -10px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #8a1e41;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 4px 16px rgba(58, 10, 27, .08), 0 2px 6px rgba(58, 10, 27, .05);
}

.lb-step h3 {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: #8a1e41;
	margin: 22px 0 9px;
	padding: 0;
}

.lb-step p {
	font-size: 15.5px;
	line-height: 1.55;
	color: #6E5A63;
	margin: 0;
	padding: 0;
}

/* --- Qualify cards ------------------------------------------------ */

.lb-qualify-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 36px;
}

.lb-q-card {
	background: #fff;
	border: 1px solid #ECE2E7;
	border-radius: 22px;
	padding: 28px 24px;
	box-shadow: 0 1px 2px rgba(58, 10, 27, .07), 0 1px 3px rgba(58, 10, 27, .05);
	transition: transform .25s ease, box-shadow .25s ease;
}

.lb-q-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 34px rgba(58, 10, 27, .12), 0 4px 12px rgba(58, 10, 27, .07);
}

.lb-q-card .qn {
	display: block;
	font-size: 15px;
	font-weight: 800;
	color: #901848;
}

.lb-q-card .ic {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: #FAF6F8;
	color: #0060A8;
	margin: 12px 0 16px;
}

.lb-q-card .ic svg {
	width: 26px;
	height: 26px;
}

.lb-q-card h3 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: #8a1e41;
	margin: 0 0 8px;
	padding: 0;
}

.lb-q-card p {
	font-size: 14.5px;
	line-height: 1.5;
	color: #6E5A63;
	margin: 0;
	padding: 0;
}

/* --- Breakpoints -------------------------------------------------- */

@media (max-width: 1080px) {
	.lb-how {
		padding: 72px 0 0;
	}

	.lb-qualify {
		padding: 48px 0 72px;
	}

	.lb-sec-wrap {
		padding: 0 28px;
	}

	.lb-steps,
	.lb-qualify-grid {
		grid-template-columns: 1fr 1fr;
	}

	/* Connectors only make sense along a single unbroken row. */
	.lb-step:not(:last-child)::after {
		display: none;
	}
}

@media (max-width: 560px) {
	.lb-steps,
	.lb-qualify-grid {
		grid-template-columns: 1fr;
	}

	.lb-steps {
		gap: 32px;
	}
}

/* ==================================================================
   CASES WE FUND — Legal_Bay_Homepage__V3a.html (#cases, lines
   1238-1266; CSS 567-579 + 601)
   ------------------------------------------------------------------
   Eight cards, 4-up on two rows, each a whole-card link. The icon tile
   inverts to burgundy on hover and the "Learn More" arrow nudges — both
   from the mockup.

   Two things in the mockup are deliberately NOT reproduced: the
   `spinner.png` div at line 1257, which is leftover debris (the file
   does not exist on this site), and the `#quote` hrefs, which were
   one-pager anchors. Each card now points at its real case-type page.
   ================================================================== */

.lb-cases-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-cases-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-cases-section .et_pb_column,
.lb-cases-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-cases {
	background: #fff;
	padding: 110px 0;
}

.lb-cases-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 56px;
}

/* The whole card is the link, so text-decoration and colour are reset here
   rather than fought with on each child. */
.lb-case-card {
	display: flex;
	flex-direction: column;
	min-height: 200px;
	background: #fff;
	border: 1px solid #ECE2E7;
	border-radius: 22px;
	padding: 28px 26px 24px;
	box-shadow: 0 1px 2px rgba(58, 10, 27, .07), 0 1px 3px rgba(58, 10, 27, .05);
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
}

.lb-case-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 34px rgba(58, 10, 27, .12), 0 4px 12px rgba(58, 10, 27, .07);
}

.lb-case-card:focus-visible {
	outline: 2px solid #8a1e41;
	outline-offset: 3px;
}

.lb-case-card .ic {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 15px;
	background: #FAF6F8;
	color: #0060A8;
	transition: background .25s ease, color .25s ease;
}

.lb-case-card:hover .ic {
	background: #8a1e41;
	color: #fff;
}

.lb-case-card .ic svg {
	width: 28px;
	height: 28px;
}

.lb-case-card h3 {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: #8a1e41;
	margin: 18px 0 6px;
	padding: 0;
}

/* flex:1 pushes "Learn More" to the bottom so it lines up across the row
   regardless of how long each description runs. */
.lb-case-card p {
	flex: 1;
	font-size: 14px;
	line-height: 1.5;
	color: #6E5A63;
	margin: 0;
	padding: 0;
}

.lb-case-card .more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 14px;
	font-weight: 700;
	color: #0060A8;
}

.lb-case-card .more span {
	transition: transform .2s ease;
}

.lb-case-card:hover .more span {
	transform: translateX(4px);
}

/* [hidden] on a deferred card must beat display:flex above. */
.lb-case-card[hidden] {
	display: none;
}

/* --- Auto-loader -------------------------------------------------- */

/* Sentinel below the grid. js/cases.js watches this and reveals the next four
   cards when it approaches the viewport, then removes it once the list is
   exhausted — so an idle spinner never sits at the bottom of a finished grid. */
.lb-cases-more {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	margin-top: 32px;
}

.lb-spinner {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 3px solid #ECE2E7;
	border-top-color: #8a1e41;
	animation: lb-spin .7s linear infinite;
}

@keyframes lb-spin {
	to { transform: rotate(360deg); }
}

.lb-cases-status {
	text-align: center;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
	color: #6E5A63;
}

.lb-cases-status b {
	color: #8a1e41;
}

/* A spinning ring is exactly the motion this setting turns off; the script
   also reveals every card up front in that case, so it is never needed. */
@media (prefers-reduced-motion: reduce) {
	.lb-spinner {
		animation: none;
	}

	.lb-cases-more {
		display: none;
	}
}

/* --- Funding-types strip ------------------------------------------ */

.lb-case-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 34px;
	margin-top: 36px;
	padding: 22px 32px;
	border-radius: 22px;
	background: #0060A8;
	color: #fff;
	box-shadow: 0 12px 34px rgba(58, 10, 27, .12), 0 4px 12px rgba(58, 10, 27, .07);
}

.lb-case-strip span {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 15px;
	font-weight: 700;
}

/* Tick drawn in CSS rather than as inline SVG per item, since all four are
   identical; --lb-check is defined on .lb-hero, so it is restated here. */
.lb-case-strip span::before {
	content: "";
	flex: none;
	width: 17px;
	height: 17px;
	background-color: #fff;
	-webkit-mask: var(--lb-tick) center / contain no-repeat;
	mask: var(--lb-tick) center / contain no-repeat;
}

.lb-cases {
	--lb-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l4 4 10-10' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* --- Breakpoints -------------------------------------------------- */

@media (max-width: 1080px) {
	.lb-cases {
		padding: 72px 0;
	}

	.lb-cases-grid {
		grid-template-columns: repeat(2, 1fr);
		margin-top: 40px;
	}
}

@media (max-width: 560px) {
	.lb-cases {
		padding: 56px 0;
	}

	.lb-cases-grid {
		grid-template-columns: 1fr;
	}

	.lb-case-card {
		min-height: 0;
	}

	.lb-case-strip {
		padding: 20px 22px;
		gap: 12px 20px;
	}
}

/* ==================================================================
   STATES WE FUND — Legal_Bay_Homepage__V3a.html (#states, lines
   1269-1283; CSS 604-615 + the 1080/680/460 queries)
   ------------------------------------------------------------------
   Markup comes from [legalbay_states] (inc/states.php) and the filter
   from js/states.js. The chips are plain divs, not links, exactly as
   in the mockup — the site has state pages for only a handful of the
   fifty, so linking them all would mostly 404.
   ================================================================== */

.lb-states-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-states-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-states-section .et_pb_column,
.lb-states-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-states {
	--lb-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l4 4 10-10' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background: #FAF6F8;
	padding: 110px 0;
}

/* --- Search ------------------------------------------------------- */

.lb-states-search {
	position: relative;
	max-width: 560px;
	margin: 36px auto 0;
}

.lb-states-search svg {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	color: #0060A8;
	pointer-events: none;
}

.lb-states-input {
	width: 100%;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	padding: 16px 18px 16px 48px;
	border-radius: 999px;
	border: 1.5px solid #ECE2E7;
	background: #fff;
	color: #1E1218;
	box-shadow: 0 1px 2px rgba(58, 10, 27, .07), 0 1px 3px rgba(58, 10, 27, .05);
	transition: border-color .2s ease, box-shadow .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.lb-states-input:focus {
	outline: none;
	border-color: #8a1e41;
	box-shadow: 0 0 0 4px rgba(25, 105, 175, .14);
}

/* Screen-reader-only label; the mockup relied on the placeholder alone. */
.lb-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.lb-states-count {
	text-align: center;
	margin: 14px 0 0;
	font-size: 14px;
	font-weight: 600;
	color: #6E5A63;
}

.lb-states-count b {
	color: #8a1e41;
}

/* --- Chips -------------------------------------------------------- */

.lb-states-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
	margin-top: 28px;
}

.lb-state-chip {
	display: flex;
	align-items: center;
	gap: 9px;
	background: #fff;
	border: 1px solid #ECE2E7;
	border-radius: 12px;
	padding: 13px 14px;
	font-size: 14.5px;
	font-weight: 600;
	color: #8a1e41;
	/* The chips for states that have a page are <a>, the rest are <div> -- see
	   inc/states.php. Stated here so the two render identically: Divi underlines
	   links inside page content, and the colour above would otherwise be won by
	   its own anchor rules. */
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.lb-state-chip:hover,
.lb-state-chip:focus-visible {
	border-color: #8a1e41;
	box-shadow: 0 1px 2px rgba(58, 10, 27, .07), 0 1px 3px rgba(58, 10, 27, .05);
	transform: translateY(-2px);
}

/* Hover alone is not a focus indicator -- the lifted border reads as decoration,
   not as "this is where you are". */
a.lb-state-chip:focus-visible {
	outline: 2px solid #8a1e41;
	outline-offset: 2px;
}

/* [hidden] must beat display:flex above, hence the explicit rule. */
.lb-state-chip[hidden] {
	display: none;
}

.lb-state-chip .ck {
	display: grid;
	place-items: center;
	flex: none;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: #E4F4ED;
	color: #0060A8;
}

.lb-state-chip .ck::before {
	content: "";
	width: 11px;
	height: 11px;
	background-color: currentColor;
	-webkit-mask: var(--lb-tick) center / contain no-repeat;
	mask: var(--lb-tick) center / contain no-repeat;
}

.lb-states-empty {
	text-align: center;
	margin: 28px 0 0;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	color: #6E5A63;
}

.lb-states-empty[hidden] {
	display: none;
}

.lb-states-empty a {
	color: #8a1e41;
	font-weight: 700;
}

/* --- Breakpoints, matching the mockup's own ---------------------- */

@media (max-width: 1080px) {
	.lb-states {
		padding: 72px 0;
	}

	.lb-states-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 680px) {
	.lb-states-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 460px) {
	.lb-states {
		padding: 56px 0;
	}

	.lb-states-grid {
		grid-template-columns: 1fr;
	}
}

/* ==================================================================
   WHY LEGAL BAY — Legal_Bay_Homepage__V3a.html (#why, lines 1288-1303;
   CSS 618-627 + the 1080/680 queries)
   ------------------------------------------------------------------
   Six cards on burgundy, 3-up on two rows. The cards are translucent
   white over the section colour rather than a solid fill, so they pick
   up the ground beneath them — which is why the hover state only needs
   to lift the opacity a few percent.
   ================================================================== */

.lb-why-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-why-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-why-section .et_pb_column,
.lb-why-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-why {
	background: #8a1e41;
	padding: 110px 0;
}

/* The shared heading styles are burgundy-on-light; invert them here. */
.lb-why .lb-sec-head h2 {
	color: #fff;
}

.lb-why .lb-sec-head p {
	color: rgba(255, 255, 255, .7);
}

/* Berry tint, not the usual link blue, which would barely register on
   burgundy. This is the mockup's .eyebrow.on-dark. */
.lb-eyebrow--on-dark {
	color: #EFA7C0;
}

.lb-why-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 56px;
}

.lb-why-card {
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 22px;
	padding: 30px;
	transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.lb-why-card:hover {
	transform: translateY(-6px);
	background: rgba(255, 255, 255, .07);
	border-color: rgba(124, 184, 234, .45);
}

.lb-why-card .ic {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 15px;
	background: rgba(25, 105, 175, .24);
	color: #fff;
	margin-bottom: 20px;
}

.lb-why-card .ic svg {
	width: 28px;
	height: 28px;
}

.lb-why-card h3 {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: #fff;
	margin: 0 0 9px;
	padding: 0;
}

.lb-why-card p {
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .66);
	margin: 0;
	padding: 0;
}

/* --- Breakpoints, matching the mockup's own ---------------------- */

@media (max-width: 1080px) {
	.lb-why {
		padding: 72px 0;
	}

	.lb-why-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 680px) {
	.lb-why {
		padding: 56px 0;
	}

	.lb-why-grid {
		grid-template-columns: 1fr;
	}

	.lb-why-card {
		padding: 24px;
	}
}

/* ==================================================================
   GOOGLE REVIEWS — Legal_Bay_Homepage__V3a.html (lines 1308-1333;
   CSS 630-649)
   ------------------------------------------------------------------
   Markup from [legalbay_reviews] (inc/reviews.php), carousel from
   js/reviews.js. The rail runs edge to edge while the heading stays in
   the normal 1366px wrap, so cards bleed off the right — that partial
   card is the affordance telling you there is more to scroll.

   --tpad is what centres three cards in the rail; below the width
   where three fit it clamps to 20px and the overflow becomes that
   partial card. --tcard/--tpad and the 26px gap are shared with
   js/reviews.js, which reads the gap as a constant, so changing the
   gap here means changing GAP there too.
   ================================================================== */

.lb-reviews-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-reviews-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-reviews-section .et_pb_column,
.lb-reviews-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-reviews {
	background: #fff;
	padding: 110px 0;
}

/* The mockup uses width:100vw with a negative margin to break out of its
   wrap. Not needed here — the Divi section is already full width — and 100vw
   is worth avoiding anyway: it ignores the vertical scrollbar and so causes a
   horizontal one. Percentages inside the calc resolve against this element. */
.lb-reviews-fw {
	/*--tcard: clamp(280px, 26vw, 460px);*/
	--tcard: clamp(280px, 26vw, 414px);
	--tpad: max(20px, calc((100% - (var(--tcard) * 3 + 52px)) / 2));
	width: 100%;
}

.lb-reviews-viewport {
	position: relative;
	margin-top: 52px;
	overflow: hidden;
}

.lb-reviews-track {
	display: flex;
	gap: 26px;
	padding: 8px var(--tpad);
	transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.lb-review-card {
	display: flex;
	flex-direction: column;
	flex: 0 0 var(--tcard);
	background: #fff;
	border: 1px solid #ECE2E7;
	border-radius: 22px;
	/*padding: 32px;*/
	padding: 29px;
	box-shadow: 0 4px 16px rgba(58, 10, 27, .08), 0 2px 6px rgba(58, 10, 27, .05);
}

/* line-height:.6 with a fixed height crops the quote mark's own leading so it
   sits tight to the top of the card rather than floating in a 64px box. */
.lb-review-card .quo {
	display: block;
	height: 30px;
	font-size: 64px;
	font-weight: 800;
	line-height: .6;
	color: #901848;
}

.lb-review-card .stars {
	margin: 4px 0 14px;
	font-size: 16px;
	letter-spacing: 2px;
	color: #901848;
}

.lb-review-card p {
	flex: 1;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.6;
	color: #1E1218;
	margin: 0;
	padding: 0;
}

.lb-review-card .who {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid #ECE2E7;
}

.lb-review-card .av {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 17px;
	font-weight: 800;
	color: #fff;
}

/* Rating-only review: a real Google rating with no written comment. The spacer
   takes the place of the missing <p> so the name and date still sit on the
   bottom edge of the card, level with the cards either side in the track. */
.lb-review-card .noquote {
	flex: 1;
	min-height: 34px;
}

/* Real Google profile photo. Google returns these at whatever aspect ratio the
   reviewer uploaded, so cover-crop them rather than letting a non-square avatar
   squash inside the circle. The tint shows while the image is still loading. */
.lb-review-card img.av {
	object-fit: cover;
	background: #ECE2E7;
}

/* Appended to a review that was trimmed to keep the cards a sane height. */
.lb-review-card .lb-review-more {
	font-weight: 700;
	color: #1969AF;
	text-decoration: underline;
	white-space: nowrap;
}

.lb-review-card .lb-review-more:hover {
	color: #901848;
}

/* Setup hint shown in place of the carousel, to administrators only. */
.lb-reviews-setup {
	margin: 0;
	padding: 18px 22px;
	border: 1px dashed #ECE2E7;
	border-radius: 14px;
	background: #FCF8F9;
	font-size: 15px;
	color: #6E5A63;
	text-align: center;
}

.lb-review-card .who b {
	display: block;
	font-size: 16px;
	color: #8a1e41;
}

.lb-review-card .who small {
	font-size: 13px;
	font-weight: 600;
	color: #6E5A63;
}

/* --- Dots + arrows ------------------------------------------------ */

.lb-reviews-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 36px;
	padding-inline: var(--tpad);
}

.lb-reviews-dots {
	/* Exposed as a variable because the tap target below sizes itself from the
	   gap, so the two cannot drift apart. */
	--dot-gap: 9px;

	display: flex;
	gap: var(--dot-gap);
}

.lb-reviews-dots[hidden] {
	display: none;
}

.lb-reviews-dots button {
	position: relative;
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: #ECE2E7;
	cursor: pointer;
	transition: width .25s ease, background .25s ease;
}

/* A 9px dot is the right size to look at and the wrong size to hit -- on a
   phone these were 9x9 CSS px, well under half a fingertip. The dot keeps its
   size; an invisible overlay stretches the button's hit area to 44px tall.
   Width tracks the gap so neighbouring targets meet but never overlap, which
   would otherwise make the leftmost dots unreachable behind their neighbour. */
.lb-reviews-dots button::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(100% + var(--dot-gap));
	height: 44px;
	transform: translate(-50%, -50%);
}

/* Touch input: widen the row so each target is wider too. Mouse users see the
   original spacing, since a cursor does not need the help. */
@media (pointer: coarse) {
	.lb-reviews-dots {
		--dot-gap: 20px;
	}
}

.lb-reviews-dots button.active {
	width: 28px;
	background: #0060A8;
}

.lb-reviews-arrows {
	display: flex;
	gap: 10px;
}

.lb-reviews-arrows button {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1.5px solid #ECE2E7;
	border-radius: 50%;
	background: #fff;
	color: #0060A8;
	cursor: pointer;
	transition: border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.lb-reviews-arrows button:hover:not(:disabled) {
	border-color: #8a1e41;
	color: #8a1e41;
	transform: translateY(-2px);
	box-shadow: 0 1px 2px rgba(58, 10, 27, .07), 0 1px 3px rgba(58, 10, 27, .05);
}

.lb-reviews-arrows button:disabled {
	opacity: .45;
	cursor: default;
}

.lb-reviews-arrows svg {
	width: 18px;
	height: 18px;
}

.lb-reviews-dots button:focus-visible,
.lb-reviews-arrows button:focus-visible {
	outline: 2px solid #8a1e41;
	outline-offset: 3px;
}
/* --- View all Google reviews button ------------------------------- */

.lb-reviews-cta {
	display: flex;
	justify-content: center;
	margin-top: 40px;
	padding-inline: var(--tpad);
}
/* --- Breakpoints -------------------------------------------------- */

@media (max-width: 1080px) {
	.lb-reviews {
		padding: 72px 0;
	}
}

@media (max-width: 680px) {
	.lb-reviews {
		padding: 56px 0;
	}

	.lb-review-card {
		/*padding: 26px;*/
		padding: 23px;
	}

	.lb-reviews-nav {
		margin-top: 28px;
	}
}

/* The track slide is the whole animation here; the script also stops the
   autoplay under this setting, so the carousel becomes arrows-only. */
@media (prefers-reduced-motion: reduce) {
	.lb-reviews-track {
		transition: none;
	}
}

/* ==================================================================
   COMPARE — Legal_Bay_Homepage__V3a.html (#compare, lines 1339-1385;
   CSS 669-686)
   ------------------------------------------------------------------
   Built as a real <table> with scope="col"/scope="row", not the
   mockup's grid of divs. This is tabular data — features against
   providers — so a table is what it actually is, and it means a screen
   reader announces "Bank Loans, Monthly payments, Required" instead of
   reading fifteen loose cells with no idea which column they belong to.
   Column widths come from <colgroup>, which reproduces the mockup's
   1.6/1.3/1/1 ratio without needing display:grid on table rows.

   Tick and cross are masked data-URIs on .ci rather than fifteen
   copies of the same inline SVG.
   ================================================================== */

.lb-compare-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-compare-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-compare-section .et_pb_column,
.lb-compare-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-compare {
	--lb-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l4 4 10-10' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--lb-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 6l12 12M18 6 6 18' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background: #FAF6F8;
	padding: 110px 0;
}

/* 760px is the mockup's .section-head width, which governs the paragraph.
   The heading is allowed to break out of it on one line — the mockup does this
   with white-space:nowrap, and since the box is centred the overflow is
   symmetrical. Without nowrap the title wraps to two lines, which is the
   difference visible against the reference screenshot. */
.lb-compare .lb-sec-head {
	max-width: 760px;
}

.lb-compare .lb-sec-head h2 {
	white-space: nowrap;
}

/* The mockup never lifts the nowrap, so its own heading overflows the viewport
   on a phone. Released below the width where one line still fits. */
@media (max-width: 920px) {
	.lb-compare .lb-sec-head h2 {
		white-space: normal;
	}
}

/* --- Table -------------------------------------------------------- */

/* The rounded corners live on the scroller, so the clipped table corners
   still look right while overflow-x is available on narrow screens. */
.lb-cmp-scroll {
	margin-top: 52px;
	overflow-x: auto;
	background: #fff;
	border: 1px solid #ECE2E7;
	border-radius: 28px;
	box-shadow: 0 12px 34px rgba(58, 10, 27, .12), 0 4px 12px rgba(58, 10, 27, .07);
	-webkit-overflow-scrolling: touch;
}

/* Scroll affordance for the table.
 *
 * Below roughly 700px the 640px table cannot fit, so it scrolls -- but the only
 * thing on screen saying so is the "Legal Bay" column sliced down the middle at
 * the right edge, which reads as a broken layout rather than an invitation to
 * swipe.
 *
 * This is a line of text rather than the usual CSS scroll-shadow trick: that
 * technique paints on the scroller's own background, and this table's cells are
 * opaque and cover it completely, so the shadow never showed. The scroller is
 * the last child of .lb-sec-wrap, so ::after lands directly underneath it.
 */
@media (max-width: 680px) {
	.lb-compare .lb-sec-wrap::after {
		content: "Swipe the table sideways to see every column →";
		display: block;
		margin-top: 14px;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.4;
		color: #6E5A63;
		text-align: center;
	}
}

/* Every selector in this block carries the .lb-compare ancestor purely for
   specificity. Divi styles content tables via .entry-content, which this
   section sits inside, and those rules are more specific than a single class:

     .entry-content table:not(.variations) { border:1px solid #eee;
                                             margin:0 0 15px }   (0,2,1)
     .entry-content tr th  { color:#555; padding:9px 24px }       (0,1,2)
     .entry-content tr td  { border-top:1px solid #eee;
                             padding:6px 24px }                   (0,1,2)

   Unprefixed, `.lb-cmp th, .lb-cmp td` is only (0,1,1) and loses — which showed
   up as rows roughly a third too short (6px cell padding instead of 18px), grey
   hairlines on every cell, and a 15px white strip below the last row where the
   table's bottom margin sat inside the rounded card. That strip is what the
   arrow in the comparison screenshot was pointing at. */
.lb-compare .lb-cmp-scroll .lb-cmp {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	table-layout: fixed;
	margin: 0;
	border: 0;
	background: transparent;
}

/* The mockup's 1.6fr 1.3fr 1fr 1fr over a 4.9fr total. */
.lb-cmp-c1 { width: 32.65%; }
.lb-cmp-c2 { width: 26.53%; }
.lb-cmp-c3 { width: 20.41%; }
.lb-cmp-c4 { width: 20.41%; }

.lb-compare .lb-cmp th,
.lb-compare .lb-cmp td {
	padding: 18px 26px;
	font-size: 15px;
	line-height: 1.5;
	/* The mockup's cells inherit body colour (--text). Divi's body colour is
	   #666, which reads noticeably lighter than the design. */
	color: #1E1218;
	text-align: left;
	vertical-align: middle;
	border: 0;
	background: transparent;
}

.lb-compare .lb-cmp thead th {
	background: #FAF6F8;
	font-weight: 800;
	color: #8a1e41;
}

/* Divi puts a border-top on every cell; only the row divider is wanted, so the
   cells are cleared above and the rule is drawn on the row instead. */
.lb-compare .lb-cmp tbody tr {
	border-top: 1px solid #ECE2E7;
}

.lb-compare .lb-cmp .feat {
	font-weight: 700;
	color: #8a1e41;
}

/* Our column is a solid burgundy stripe running the full height, which is why
   the background sits on every cell rather than on a wrapper — and why the
   table must have no bottom margin, or the stripe stops short of the card. */
.lb-compare .lb-cmp .lb-cmp-us {
	background: #8a1e41;
	color: #fff;
}

.lb-compare .lb-cmp thead .lb-cmp-us {
	padding: 20px 26px;
}

.lb-cmp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	padding: 3px 10px;
	border-radius: 99px;
	background: #0060A8;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	white-space: nowrap;
}

.lb-cmp-name {
	display: block;
	font-size: 16px;
	font-weight: 800;
	color: #fff;
}

/* --- Values ------------------------------------------------------- */

.lb-cmp .cmp-val {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.lb-cmp .cmp-muted {
	color: #6E5A63;
}

.lb-cmp .lb-cmp-us .cmp-val {
	color: #fff;
}

.lb-cmp .ci {
	display: grid;
	place-items: center;
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
}

.lb-cmp .ci::before {
	content: "";
	width: 11px;
	height: 11px;
	background-color: currentColor;
}

.lb-cmp .ci-yes {
	background: #E4F4ED;
	color: #15936A;
}

.lb-cmp .ci-yes::before {
	-webkit-mask: var(--lb-tick) center / contain no-repeat;
	mask: var(--lb-tick) center / contain no-repeat;
}

.lb-cmp .ci-no {
	background: #FBE7E4;
	color: #C0392B;
}

.lb-cmp .ci-no::before {
	-webkit-mask: var(--lb-cross) center / contain no-repeat;
	mask: var(--lb-cross) center / contain no-repeat;
}

/* A mint chip on burgundy reads as muddy; white carries the tick instead. */
.lb-cmp .lb-cmp-us .ci-yes {
	background: #fff;
	color: #15936A;
}

/* --- Breakpoints -------------------------------------------------- */

@media (max-width: 1080px) {
	.lb-compare {
		padding: 72px 0;
	}
}

@media (max-width: 680px) {
	.lb-compare {
		padding: 56px 0;
	}

	.lb-cmp-scroll {
		margin-top: 36px;
		border-radius: 20px;
	}

	.lb-cmp th,
	.lb-cmp td {
		padding: 14px 18px;
		font-size: 14.5px;
	}
}

/* ==================================================================
   ATTORNEYS — Legal_Bay_Homepage__V3a.html (#attorneys, lines
   1389-1410; CSS 701-711)
   ------------------------------------------------------------------
   Four benefit cards, then a blue gradient band with the attorney
   phone line. The band reuses the footer's gradient, which is what
   ties the two "for professionals" surfaces together.
   ================================================================== */

.lb-atty-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-atty-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-atty-section .et_pb_column,
.lb-atty-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-atty {
	background: #fff;
	padding: 110px 0;
}

/* --- Benefit cards ------------------------------------------------ */

.lb-atty-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 56px;
}

.lb-atty-card {
	background: #FAF6F8;
	border: 1px solid #ECE2E7;
	border-radius: 22px;
	padding: 30px 26px;
	transition: transform .25s ease, box-shadow .25s ease;
}

.lb-atty-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 34px rgba(58, 10, 27, .12), 0 4px 12px rgba(58, 10, 27, .07);
}

/* White tile on the tinted card, the inverse of the Cases cards — so the icon
   reads as raised rather than inset. */
.lb-atty-card .ic {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #ECE2E7;
	box-shadow: 0 1px 2px rgba(58, 10, 27, .07), 0 1px 3px rgba(58, 10, 27, .05);
	color: #0060A8;
	margin-bottom: 18px;
}

.lb-atty-card .ic svg {
	width: 27px;
	height: 27px;
}

.lb-atty-card h3 {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: #8a1e41;
	margin: 0 0 8px;
	padding: 0;
}

.lb-atty-card p {
	font-size: 14.5px;
	line-height: 1.55;
	color: #6E5A63;
	margin: 0;
	padding: 0;
}

/* --- Attorney CTA band -------------------------------------------- */

.lb-atty-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 36px;
	padding: 40px;
	border-radius: 28px;
	background: linear-gradient(135deg, #1969AF 0%, #173573 100%);
	box-shadow: 0 12px 34px rgba(58, 10, 27, .12), 0 4px 12px rgba(58, 10, 27, .07);
}

.lb-atty-cta h3 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
	color: #fff;
	margin: 0 0 6px;
	padding: 0;
}

.lb-atty-cta p {
	max-width: 520px;
	font-size: 16px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .82);
	margin: 0;
	padding: 0;
}

.lb-atty-cta-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* --- Breakpoints, matching the mockup's own ---------------------- */

@media (max-width: 1080px) {
	.lb-atty {
		padding: 72px 0;
	}

	.lb-atty-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.lb-atty {
		padding: 56px 0;
	}

	.lb-atty-grid {
		grid-template-columns: 1fr;
	}

	.lb-atty-cta {
		padding: 28px 24px;
	}

	/* Stacked, the button reads as the section's action rather than a chip
	   floating beside the copy. */
	.lb-atty-cta-btns,
	.lb-atty-cta-btns .lb-btn {
		width: 100%;
	}
}

/* ==================================================================
   BLOG & RESOURCES — Legal_Bay_Homepage__V3a.html (lines 1413-1426;
   CSS 719-729)
   ------------------------------------------------------------------
   Cards come from [legalbay_blog] (inc/blog.php) via WP_Query, so the
   three latest posts are always current.

   The card is one <a>, so its children are spans rather than divs and
   the layout is driven by display on those spans — a <div> inside an
   <a> is legal in HTML5 but Divi's content styles reach block-level
   children far more aggressively than inline ones.
   ================================================================== */

.lb-blog-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-blog-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-blog-section .et_pb_column,
.lb-blog-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-blog {
	background: #FAF6F8;
	padding: 110px 0;
}

/* Heading and "View All" share a baseline, hence align-items:flex-end. */
.lb-blog-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}

.lb-blog-intro {
	max-width: 640px;
}

.lb-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 52px;
}

.lb-blog-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ECE2E7;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(58, 10, 27, .07), 0 1px 3px rgba(58, 10, 27, .05);
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
}

.lb-blog-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 34px rgba(58, 10, 27, .12), 0 4px 12px rgba(58, 10, 27, .07);
}

.lb-blog-card:focus-visible {
	outline: 2px solid #8a1e41;
	outline-offset: 3px;
}

.lb-blog-card .thumb {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 150px;
	padding: 18px;
	background: #F2EAEE;
	overflow: hidden;
}

/* The image is absolutely positioned so the tag pill can sit over it while
   the .thumb box keeps its fixed 150px height whatever the image ratio. */
.lb-blog-card .lb-blog-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lb-blog-card .thumb .tag {
	position: relative;
	z-index: 1;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: #8a1e41;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.lb-blog-card .body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 26px 24px;
}

.lb-blog-card h3 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.02em;
	color: #8a1e41;
	margin: 0 0 10px;
	padding: 0;
}

.lb-blog-card p {
	flex: 1;
	font-size: 14.5px;
	line-height: 1.55;
	color: #6E5A63;
	margin: 0;
	padding: 0;
}

.lb-blog-card .meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
	font-size: 13px;
	font-weight: 600;
	color: #9A8890;
}

.lb-blog-card .read {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #0060A8;
	font-weight: 700;
}

.lb-blog-card .read span {
	transition: transform .2s ease;
}

.lb-blog-card:hover .read span {
	transform: translateX(4px);
}

/* --- Breakpoints, matching the mockup's own ---------------------- */

@media (max-width: 1080px) {
	.lb-blog {
		padding: 72px 0;
	}

	.lb-blog-grid {
		grid-template-columns: 1fr;
		margin-top: 36px;
	}
}

@media (max-width: 560px) {
	.lb-blog {
		padding: 56px 0;
	}

	.lb-blog-head .lb-btn {
		width: 100%;
	}
}

/* ==================================================================
   FAQ — Legal_Bay_Homepage__V3a.html (#faq, lines 1463-1485;
   CSS 732-746)
   ------------------------------------------------------------------
   Markup from [legalbay_faq] (inc/faq.php), accordion from js/faq.js.
   Copy column on the left with the blue help box, questions on the
   right. One open at a time.

   The panel animates on max-height because auto height is not
   animatable — js/faq.js measures scrollHeight and writes it inline,
   so the transition duration here and that measurement are a pair.
   ================================================================== */

.lb-faq-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-faq-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-faq-section .et_pb_column,
.lb-faq-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-faq {
	--lb-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background: #fff;
	padding: 110px 0;
}

/* Narrower copy column, wider question column — .85fr / 1.15fr. */
.lb-faq-grid {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: 56px;
	align-items: start;
}

/* --- Left column -------------------------------------------------- */

.lb-faq-side h2 {
	font-size: clamp(32px, 3vw, 42px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: #8a1e41;
	margin: 14px 0 10px;
	padding: 0;
}

.lb-faq-lede {
	font-size: 18px;
	line-height: 1.55;
	color: #6E5A63;
	margin: 0;
	padding: 0;
}

.lb-faq-help {
	margin-top: 28px;
	padding: 30px;
	border-radius: 22px;
	background: #0060A8;
	box-shadow: 0 12px 34px rgba(58, 10, 27, .12), 0 4px 12px rgba(58, 10, 27, .07);
}

.lb-faq-help h3 {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
	color: #fff;
	margin: 0 0 8px;
	padding: 0;
}

.lb-faq-help p {
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .7);
	margin: 0 0 20px;
	padding: 0;
}

/* Burgundy on the blue box: the shared primary variant, full width. */
.lb-btn-block {
	width: 100%;
}

/* --- Accordion ---------------------------------------------------- */

.lb-faq-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.lb-faq-item {
	background: #fff;
	border: 1px solid #ECE2E7;
	border-radius: 16px;
	overflow: hidden;
	transition: box-shadow .25s ease, border-color .25s ease;
}

/* Open card lifts off the page; the border goes transparent so the shadow
   reads as elevation rather than as a doubled outline. */
.lb-faq-item.is-open {
	border-color: transparent;
	box-shadow: 0 12px 34px rgba(58, 10, 27, .12), 0 4px 12px rgba(58, 10, 27, .07);
}

/* The heading exists for the document outline; all the styling is on the
   button inside it. */
.lb-faq-heading {
	margin: 0;
	padding: 0;
	font-size: inherit;
	line-height: inherit;
}

.lb-faq-q {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 22px 24px;
	border: 0;
	background: none;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
}

.lb-faq-q:focus-visible {
	outline: 2px solid #8a1e41;
	outline-offset: -3px;
}

.lb-faq-q .qmark {
	flex: none;
	font-size: 17px;
	font-weight: 700;
	color: #8a1e41;
}

.lb-faq-text {
	flex: 1;
	font-size: 17.5px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
	color: #8a1e41;
}

.lb-faq-chev {
	display: grid;
	place-items: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #FAF6F8;
	color: #8a1e41;
	transition: transform .3s ease, background .25s ease, color .25s ease;
}

.lb-faq-chev::before {
	content: "";
	width: 15px;
	height: 15px;
	background-color: currentColor;
	-webkit-mask: var(--lb-chev) center / contain no-repeat;
	mask: var(--lb-chev) center / contain no-repeat;
}

.lb-faq-item.is-open .lb-faq-chev {
	transform: rotate(180deg);
	background: #8a1e41;
	color: #fff;
}

.lb-faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height .35s ease;
}

/* Indented past the "Q." gutter so the answer aligns under the question. */
.lb-faq-a .inner {
	padding: 0 24px 24px 60px;
	font-size: 16px;
	line-height: 1.65;
	color: #6E5A63;
}

/* --- Breakpoints, matching the mockup's own ---------------------- */

@media (max-width: 1080px) {
	.lb-faq {
		padding: 72px 0;
	}

	.lb-faq-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 560px) {
	.lb-faq {
		padding: 56px 0;
	}

	.lb-faq-q {
		padding: 18px 18px;
		gap: 12px;
	}

	.lb-faq-text {
		font-size: 16px;
	}

	/* No room for the 60px indent on a phone. */
	.lb-faq-a .inner {
		padding: 0 18px 20px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lb-faq-a {
		transition: none;
	}

	.lb-faq-chev {
		transition: none;
	}
}

/* ==================================================================
   FINAL CTA — "Ready to get the funding you need?"
   Legal_Bay_Homepage__V3a.html (.final-cta, lines 1488-1502;
   CSS 749-763 + 764-766)
   ------------------------------------------------------------------
   The richer of the mockup's two closing CTAs — three action cards
   plus the guarantee pill, over burgundy with a masked grid and two
   radial glows. Distinct from .lb-cta ("Ready to get started?"), which
   is the plain band; the mockup carries both.
   ================================================================== */

.lb-final-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-final-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-final-section .et_pb_column,
.lb-final-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-final {
	--lb-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3l8 4v5c0 5-3.5 7.8-8 9-4.5-1.2-8-4-8-9V7l8-4Z' stroke='black' stroke-width='1.9' stroke-linejoin='round'/%3E%3Cpath d='m9 12 2 2 4-4' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	position: relative;
	overflow: hidden;
	background: #8a1e41;
	color: #fff;
	padding: 110px 0;
}

/* Decorative layers. Spans rather than divs so Divi's block-level content
   styles cannot reach them, and aria-hidden in the markup. */
.lb-final-grid,
.lb-final-glow {
	position: absolute;
	inset: 0;
	display: block;
	pointer-events: none;
}

.lb-final-grid {
	opacity: .4;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 60px 60px;
	-webkit-mask-image: radial-gradient(700px 400px at 50% 30%, #000, transparent 75%);
	mask-image: radial-gradient(700px 400px at 50% 30%, #000, transparent 75%);
}

.lb-final-glow {
	background:
		radial-gradient(900px 460px at 50% -20%, rgba(239, 167, 192, .20), transparent 62%),
		radial-gradient(700px 460px at 90% 120%, rgba(25, 105, 175, .34), transparent 60%);
}

/* Content must clear both decorative layers. */
.lb-final-inner {
	position: relative;
	z-index: 2;
	text-align: center;
}

.lb-final h2 {
	font-size: clamp(40px, 4.6vw, 62px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.03em;
	color: #fff;
	margin: 16px 0 0;
	padding: 0;
}

.lb-final-lead {
	max-width: 600px;
	margin: 18px auto 0;
	padding: 0;
	font-size: 20px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .78);
}

/* --- Action cards ------------------------------------------------- */

.lb-final-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	max-width: 820px;
	margin: 44px auto 0;
}

.lb-final-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 28px 24px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 22px;
	background: rgba(255, 255, 255, .08);
	text-decoration: none;
	transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.lb-final-card:hover {
	transform: translateY(-6px);
	background: rgba(255, 255, 255, .13);
	border-color: rgba(255, 255, 255, .4);
}

.lb-final-card:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.lb-final-card .ic {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	margin-bottom: 16px;
}

.lb-final-card .ic svg {
	width: 27px;
	height: 27px;
}

/* Solid blue marks the primary action; the other two are translucent, which
   is how the mockup ranks the three without a second button style. */
.lb-final-card .ic-blue {
	background: #0060A8;
	color: #fff;
}

.lb-final-card .ic-berry {
	background: rgba(255, 255, 255, .18);
	color: #fff;
}

.lb-final-card b {
	font-size: 19px;
	font-weight: 700;
	color: #fff;
}

.lb-final-card .sub {
	margin-top: 5px;
	font-size: 14px;
	color: rgba(255, 255, 255, .6);
}

/* --- Guarantee pill ----------------------------------------------- */

.lb-final-guarantee {
	margin: 40px 0 0;
	padding: 0;
}

.lb-final-guarantee span {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	padding: 13px 22px;
	border: 1px solid rgba(21, 163, 106, .34);
	border-radius: 999px;
	background: rgba(21, 163, 106, .14);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-align: left;
}

.lb-final-guarantee span::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background-color: #2BD68F;
	-webkit-mask: var(--lb-shield) center / contain no-repeat;
	mask: var(--lb-shield) center / contain no-repeat;
}

.lb-final-guarantee b {
	font-weight: 800;
}

/* --- Breakpoints -------------------------------------------------- */

@media (max-width: 1080px) {
	.lb-final {
		padding: 72px 0;
	}
}

/* The mockup stacks these at 1080px, but the row is capped at 820px wide, so
   three cards still sit comfortably well below that — stacking there gives a
   tablet three very wide boxes. Held to 680px instead. */
@media (max-width: 680px) {
	.lb-final {
		padding: 56px 0;
	}

	.lb-final-cards {
		grid-template-columns: 1fr;
	}

	.lb-final-lead {
		font-size: 17px;
	}

	.lb-final-guarantee span {
		border-radius: 20px;
		align-items: flex-start;
	}
}

/* ==================================================================
   PRESS RELEASES — Legal_Bay_Homepage__V3a.html (#press, lines
   1532-1561; CSS 800-812)
   ------------------------------------------------------------------
   Cards come from [legalbay_press] (inc/press.php), queried from the
   Press Releases category.

   Unlike the blog cards, the card itself is not a link — the mockup
   gives it a separate "Read More" anchor, so the card is an <article>
   and only that anchor is clickable.
   ================================================================== */

.lb-press-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-press-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-press-section .et_pb_column,
.lb-press-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-press {
	background: #FAF6F8;
	padding: 110px 0;
}

.lb-press-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 48px;
}

.lb-press-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ECE2E7;
	border-radius: 22px;
	padding: 28px;
	box-shadow: 0 1px 2px rgba(58, 10, 27, .07), 0 1px 3px rgba(58, 10, 27, .05);
	transition: transform .2s ease, box-shadow .2s ease;
}

.lb-press-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 34px rgba(58, 10, 27, .12), 0 4px 12px rgba(58, 10, 27, .07);
}

.lb-press-card .date {
	margin: 0 0 10px;
	padding: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #0060A8;
}

.lb-press-card h3 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
	color: #8a1e41;
	margin: 0 0 12px;
	padding: 0;
}

/* flex-grow pins "Read More" to the bottom so the links align across the row
   however long each summary runs. */
.lb-press-card .summary {
	flex-grow: 1;
	margin: 0 0 20px;
	padding: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #6E5A63;
}

.lb-press-card a {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: #0060A8;
	text-decoration: none;
	transition: gap .2s ease;
}

/* The mockup widens the gap rather than translating the arrow — the arrow
   drifts away from the label instead of sliding with it. */
.lb-press-card a:hover {
	gap: 10px;
}

.lb-press-card a span {
	font-size: 16px;
}

.lb-press-card a:focus-visible {
	outline: 2px solid #8a1e41;
	outline-offset: 3px;
}

/* --- Breakpoints, matching the mockup's own ---------------------- */

@media (max-width: 1080px) {
	.lb-press {
		padding: 72px 0;
	}

	.lb-press-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media (max-width: 640px) {
	.lb-press {
		padding: 56px 0;
	}

	.lb-press-grid {
		grid-template-columns: 1fr;
	}

	.lb-press-card {
		padding: 24px;
	}
}

/* ==================================================================
   CONTACT US — Legal_Bay_Homepage__V3a.html (#contact, lines
   1564-1596; CSS 863-882)
   ------------------------------------------------------------------
   Lavender gradient with two soft radial blobs, a LEFT-aligned header
   (the only section on the page that is), and four white info cards.

   The address is verified against the site's own content, which states
   "60 Roseland Ave., Suite 101, Caldwell, NJ 07006".

   NOTE: the mockup's responsive rule targets `.contact-cards`, but the
   markup class is `.contact-cards-grid` — so its contact grid stays
   four columns down to a phone. Real breakpoints are set below.
   ================================================================== */

.lb-contact-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-contact-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-contact-section .et_pb_column,
.lb-contact-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-contact {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #f5f0f8 0%, #f9f5fa 100%);
	padding: 64px 0;
}

/* Decorative blobs. Spans + aria-hidden, and overflow:hidden on the parent
   crops them — they deliberately sit outside the box. */
.lb-contact-blob-a,
.lb-contact-blob-b {
	position: absolute;
	display: block;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

.lb-contact-blob-a {
	top: -40%;
	right: -10%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(70, 144, 213, .08) 0%, transparent 70%);
}

.lb-contact-blob-b {
	bottom: -20%;
	left: 5%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(147, 51, 109, .06) 0%, transparent 70%);
}

.lb-contact-inner {
	position: relative;
	z-index: 1;
}

/* --- Header (left-aligned) ---------------------------------------- */

.lb-contact-head {
	margin-bottom: 48px;
	text-align: left;
}

.lb-contact-label {
	display: inline-block;
	margin-bottom: 24px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #4690d5;
}

.lb-contact-head h2 {
	font-size: clamp(36px, 4vw, 52px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: #8a1e41;
	margin: 0 0 16px;
	padding: 0;
}

.lb-contact-head p {
	max-width: 700px;
	margin: 0;
	padding: 0;
	font-size: 17px;
	line-height: 1.6;
	color: #666;
}

/* --- Info cards --------------------------------------------------- */

.lb-contact-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 48px;
}

.lb-contact-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #fff;
	border-radius: 16px;
	padding: 32px 28px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
	transition: transform .3s ease, box-shadow .3s ease;

	/* A grid item's min-width is auto, meaning it refuses to shrink below its
	   widest unbreakable run of text -- here the email address. At 320px that
	   held the card at 324px inside a 264px column, and .lb-contact's
	   overflow:hidden then clipped the right edge off the card rather than
	   scrolling, so the damage was invisible in a desktop browser. */
	min-width: 0;
}

/* min-width:0 lets the card shrink; this is what stops the long strings inside
   it from overflowing instead.
   Deliberately only the links: an email address is one unbreakable token and has
   to be allowed to break anywhere, but applying the same rule to the labels
   snapped them mid-word into "EMAI / L" and "HEADQUA / RTERS". Headings and
   paragraphs keep normal word wrapping. */
.lb-contact-card a {
	overflow-wrap: anywhere;
}

.lb-contact-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.lb-contact-card .ic {
	display: grid;
	place-items: center;
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(70, 144, 213, .12) 0%, rgba(70, 144, 213, .06) 100%);
	color: #0060A8;
	margin-bottom: 20px;
}

.lb-contact-card .ic svg {
	width: 28px;
	height: 28px;
}

/* The label is the quiet part and the value is the loud part — hence the
   small grey uppercase h3 above a 17px bold value. */
.lb-contact-card h3 {
	margin: 0 0 8px;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #888;
}

.lb-contact-card p {
	margin: 0;
	padding: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	color: #2a1a2e;
}

.lb-contact-card a {
	color: #4690d5;
	font-weight: 700;
	text-decoration: none;
	transition: color .2s ease;
}

.lb-contact-card a:hover {
	color: #2a5a9f;
}

.lb-contact-card a:focus-visible {
	outline: 2px solid #8a1e41;
	outline-offset: 3px;
}

/* Address and hours break onto their own lines. */
.lb-contact-card .break {
	display: block;
}

/* --- Breakpoints (absent from the mockup — see note above) -------- */

@media (max-width: 1080px) {
	.lb-contact-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.lb-contact {
		padding: 48px 0;
	}

	.lb-contact-head {
		margin-bottom: 32px;
	}

	.lb-contact-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-top: 32px;
	}

	/* Stacked, a 64px icon above a one-line value wastes most of the card;
	   side-by-side keeps each entry scannable.

	   Grid rather than flex-row: .ic, h3 and p are siblings, so a row laid all
	   three out in a line and the label ended up *beside* its own value --
	   "HEADQUARTERS" in one squeezed column and the address in another. Two rows
	   with the icon spanning both puts the label back above the value.

	   minmax(0, 1fr) rather than 1fr because a grid track floors at the widest
	   unbreakable word otherwise, which is what pushed this card 32px past the
	   right edge of a 320px screen, where .lb-contact's overflow:hidden silently
	   clipped it. */
	.lb-contact-card {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-rows: auto auto;
		align-items: center;
		justify-items: start;
		text-align: left;
		gap: 2px 18px;
		padding: 22px 20px;
	}

	.lb-contact-card .ic {
		grid-row: 1 / 3;
		width: 52px;
		height: 52px;
		margin-bottom: 0;
	}

	.lb-contact-card h3,
	.lb-contact-card p {
		grid-column: 2;
		min-width: 0;
		max-width: 100%;
	}
}

/* ==================================================================
   QUOTE POPUP — Legal_Bay_Homepage__V3a.html (#quoteModal, lines
   1694-1745; CSS 396-417 + 447-455)
   ------------------------------------------------------------------
   Opened by the hero's Apply Now button. Markup from
   inc/quote-modal.php, behaviour from js/quote-modal.js, and the form
   itself is Contact Form 7 ("Hero Quote Popup").

   Most of this block exists to undo Contact Form 7's and Divi's own
   input styling — CF7 emits bare inputs that then inherit Divi's form
   styles, which are nothing like the mockup's fields.
   ================================================================== */

.lbq-modal {
	position: fixed;
	inset: 0;
	z-index: 100000; /* above Divi's sticky header (60) and admin bar */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	opacity: 0;
	transition: opacity .28s ease;
}

/* [hidden] must beat display:flex. The script toggles hidden for real
   removal from the a11y tree, and .is-open for the transition. */
.lbq-modal[hidden] {
	display: none;
}

.lbq-modal.is-open {
	opacity: 1;
}

.lbq-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 32, 63, .62);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.lbq-modal-dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 452px;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	transform: translateY(18px) scale(.97);
	opacity: 0;
	transition: transform .34s cubic-bezier(.2, 1, .3, 1), opacity .34s ease;
}

.lbq-modal.is-open .lbq-modal-dialog {
	transform: none;
	opacity: 1;
}

.lbq-card {
	position: relative;
	background: #fff;
	border: 1px solid #ECE2E7;
	border-radius: 28px;
	padding: 30px;
	box-shadow: 0 30px 80px rgba(15, 32, 63, .34);
}

/* --- Close button ------------------------------------------------- */

.lbq-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1.5px solid #ECE2E7;
	border-radius: 50%;
	background: #fff;
	color: #6E5A63;
	cursor: pointer;
	transition: border-color .2s, color .2s, transform .2s;
}

.lbq-close:hover {
	border-color: #8a1e41;
	color: #8a1e41;
	transform: rotate(90deg);
}

.lbq-close:focus-visible {
	outline: 2px solid #8a1e41;
	outline-offset: 2px;
}

.lbq-close svg {
	width: 17px;
	height: 17px;
}

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

.lbq-head {
	margin-bottom: 22px;
}

/* Title and Live badge share a row; the subtitle sits underneath at full card
   width so it cannot wrap. Right padding clears the close button, which is
   absolutely positioned over this row only. */
.lbq-head-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding-right: 44px;
}

.lbq-head h3 {
	font-size: 25px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.02em;
	text-transform: none;
	color: #8a1e41;
	margin: 0;
	padding: 0;
}

.lbq-head p {
	margin: 5px 0 0;
	padding: 0;
	font-size: 13.5px;
	font-weight: 600;
	color: #6E5A63;
}

.lbq-live {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #E4F4ED;
	color: #15936A;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.lbq-live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #15936A;
	box-shadow: 0 0 0 4px rgba(21, 163, 106, .18);
	animation: lb-pulse 2s infinite;
}

/* --- Fields (overriding CF7 + Divi) ------------------------------- */

.lbq-field {
	margin-bottom: 14px;
}

.lbq-field label {
	display: block;
	margin-bottom: 7px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .01em;
	color: #8a1e41;
}

.lbq-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

/* Defensive: the form has `wpcf7_autop: off` in its Additional Settings, so CF7
   no longer wraps each field in <p> and puts a <br> between the label and the
   input. That setting lives in the database though, and a form re-save or a
   migration can lose it — which reappears as a large gap under every label.
   Neutralising the wrapper here means the layout survives that. */
.lbq-card .lbq-field > p {
	margin: 0;
	padding: 0;
}

.lbq-card .lbq-field br {
	display: none;
}

/* CF7 wraps every field in <span class="wpcf7-form-control-wrap">, which is
   inline by default and collapses the input's width calculation. */
.lbq-card .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.lbq-card input[type="text"],
.lbq-card input[type="tel"],
.lbq-card input[type="email"],
.lbq-card select,
.lbq-card textarea {
	width: 100%;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 500;
	padding: 14px 15px;
	border: 1.5px solid #ECE2E7;
	border-radius: 12px;
	background: #FAF6F8;
	color: #1E1218;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .2s, box-shadow .2s, background .2s;
}

.lbq-card input::placeholder,
.lbq-card textarea::placeholder {
	color: #9A8890;
	opacity: 1; /* Firefox dims placeholders by default */
}

.lbq-card input:focus,
.lbq-card select:focus,
.lbq-card textarea:focus {
	outline: none;
	border-color: #8a1e41;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(25, 105, 175, .14);
}

/* Custom chevron, since appearance:none removes the native one. */
.lbq-select {
	position: relative;
	display: block;
}

.lbq-select::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid #6E5A63;
	border-bottom: 2px solid #6E5A63;
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}

/* --- Submit ------------------------------------------------------- */

.lbq-card .lbq-submit,
.lbq-card input[type="submit"] {
	display: block;
	width: 100%;
	margin-top: 22px;
	padding: 18px 32px;
	border: 0;
	border-radius: 32px;
	background: #8a1e41;
	color: #fff;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -.01em;
	text-transform: none;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(153, 0, 0, .25);
	transition: transform .18s ease, box-shadow .25s ease;
}

.lbq-card .lbq-submit:hover,
.lbq-card input[type="submit"]:hover {
	background: #8a1e41;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(153, 0, 0, .35);
}

.lbq-card input[type="submit"]:focus-visible {
	outline: 2px solid #8a1e41;
	outline-offset: 3px;
}

/* CF7's spinner sits inline after the button and would push the layout. */
.lbq-card .wpcf7-spinner {
	display: block;
	margin: 12px auto 0;
}

/* --- Footer + CF7 messages ---------------------------------------- */

.lbq-foot {
	--lbq-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 10V8a6 6 0 1 1 12 0v2' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='4' y='10' width='16' height='10' rx='2.5' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 16px 0 0;
	padding: 0;
	font-size: 12.5px;
	font-weight: 600;
	color: #6E5A63;
}

.lbq-foot::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background-color: #15936A;
	-webkit-mask: var(--lbq-lock) center / contain no-repeat;
	mask: var(--lbq-lock) center / contain no-repeat;
}

/* CF7 validation and status text. Its defaults are a bordered block that
   looks nothing like the card. */
.lbq-card .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: #C0392B;
}

.lbq-card input.wpcf7-not-valid,
.lbq-card select.wpcf7-not-valid {
	border-color: #C0392B;
}

.lbq-card .wpcf7-response-output {
	margin: 16px 0 0 !important;
	padding: 12px 16px !important;
	border: 1px solid #ECE2E7 !important;
	border-radius: 12px;
	font-size: 13.5px;
	font-weight: 600;
	color: #1E1218;
}

.lbq-card form.sent .wpcf7-response-output {
	border-color: rgba(21, 163, 106, .4) !important;
	background: #E4F4ED;
	color: #15936A;
}

.lbq-card form.invalid .wpcf7-response-output,
.lbq-card form.failed .wpcf7-response-output {
	border-color: rgba(192, 57, 43, .4) !important;
	background: #FBE7E4;
	color: #C0392B;
}

/* --- Breakpoints -------------------------------------------------- */

@media (max-width: 480px) {
	.lbq-modal {
		padding: 14px;
	}

	.lbq-card {
		padding: 22px 20px;
		border-radius: 22px;
	}

	.lbq-head {
		margin-bottom: 18px;
	}

	.lbq-head h3 {
		font-size: 22px;
	}

	/* Two selects side by side are too cramped to read on a phone. */
	.lbq-field-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lbq-modal,
	.lbq-modal-dialog {
		transition: none;
	}

	.lbq-live-dot {
		animation: none;
	}

	.lbq-close:hover {
		transform: none;
	}
}

/* ==================================================================
   LIVE CHAT NOTICE — opened by the final CTA's Live Chat 24/7 card
   ------------------------------------------------------------------
   Markup from inc/chat-modal.php, behaviour from js/chat-modal.js.

   The shell (overlay, backdrop, dialog, close button) is deliberately
   a separate .lbc-* block rather than sharing the .lbq-* selectors:
   most of the quote popup's CSS is there to beat Contact Form 7's and
   Divi's input styling, and this dialog holds no form. Grouping them
   would mean every future CF7 fix had to be read twice to be sure it
   could not reach here. Same geometry and timings, so the two open
   identically.
   ================================================================== */

.lbc-modal {
	position: fixed;
	inset: 0;
	z-index: 100000; /* above Divi's sticky header (60) and admin bar */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	opacity: 0;
	transition: opacity .28s ease;
}

/* [hidden] must beat display:flex. The script toggles hidden for real
   removal from the a11y tree, and .is-open for the transition. */
.lbc-modal[hidden] {
	display: none;
}

.lbc-modal.is-open {
	opacity: 1;
}

.lbc-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 32, 63, .62);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.lbc-modal-dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 452px;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	transform: translateY(18px) scale(.97);
	opacity: 0;
	transition: transform .34s cubic-bezier(.2, 1, .3, 1), opacity .34s ease;
}

.lbc-modal.is-open .lbc-modal-dialog {
	transform: none;
	opacity: 1;
}

.lbc-card {
	position: relative;
	background: #fff;
	border: 1px solid #ECE2E7;
	border-radius: 28px;
	padding: 34px 30px 30px;
	box-shadow: 0 30px 80px rgba(15, 32, 63, .34);
	text-align: center;
}

/* --- Close button ------------------------------------------------- */

.lbc-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1.5px solid #ECE2E7;
	border-radius: 50%;
	background: #fff;
	color: #6E5A63;
	cursor: pointer;
	transition: border-color .2s, color .2s, transform .2s;
}

.lbc-close:hover {
	border-color: #8a1e41;
	color: #8a1e41;
	transform: rotate(90deg);
}

.lbc-close:focus-visible {
	outline: 2px solid #8a1e41;
	outline-offset: 2px;
}

.lbc-close svg {
	width: 17px;
	height: 17px;
}

/* --- Content ------------------------------------------------------ */

/* Same chat glyph as the card that opened it, so the dialog reads as that
   card's own response rather than an unrelated alert. */
.lbc-ic {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #FAF6F8;
	color: #8a1e41;
}

.lbc-ic svg {
	width: 26px;
	height: 26px;
}

.lbc-card h3 {
	margin: 0 0 10px;
	padding: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.01em;
	color: #8a1e41;
}

.lbc-card p {
	margin: 0 0 22px;
	padding: 0;
	font-size: 15px;
	line-height: 1.55;
	color: #6E5A63;
}

/* Full width: this is the only action in the dialog, and a centred pill the
   width of its own label reads as secondary next to the sentence above it. */
.lbc-call.lb-btn {
	display: flex;
	width: 100%;
}

/* --- Breakpoints -------------------------------------------------- */

@media (max-width: 480px) {
	.lbc-modal {
		padding: 14px;
	}

	.lbc-card {
		padding: 28px 20px 22px;
		border-radius: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lbc-modal,
	.lbc-modal-dialog {
		transition: none;
	}

	.lbc-close:hover {
		transform: none;
	}
}

/* ==================================================================
   FINAL CTA — "Ready to get started?"
   Legal_Bay_Homepage__V3a.html (lines 1599-1608)
   ------------------------------------------------------------------
   Last section of the homepage, so it sits directly above the global
   Theme Builder footer. Flat #8a1e41 — this is the mockup's plain
   inline-styled band, NOT its .final-cta block (line 749), which
   carries a grid overlay and radial glow and belongs to a different
   section. The screenshot shows the flat version.

   The button reuses the shared .lb-btn base with the .lb-btn-white
   variant; the mockup's inline background:#fff / color:#8a1e41
   override is that variant.
   ================================================================== */

.lb-cta-section.et_pb_section {
	padding: 0 !important;
	background-color: transparent !important;
}

.lb-cta-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-cta-section .et_pb_column,
.lb-cta-section .et_pb_module {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lb-cta {
	background: #8a1e41;
	padding: 110px 0;
	text-align: center;
}

.lb-cta-inner {
	max-width: 700px;
	margin: 0 auto;
}

.lb-cta h2 {
	font-size: clamp(32px, 3vw, 48px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: #fff;
	margin: 0 0 16px;
	padding: 0;
}

.lb-cta p {
	font-size: 18px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .9);
	margin: 0 0 32px;
	padding: 0;
}

@media (max-width: 1080px) {
	.lb-cta {
		padding: 72px 0;
	}
}

@media (max-width: 560px) {
	.lb-cta {
		padding: 56px 0;
	}

	.lb-cta p {
		font-size: 16.5px;
	}
}

/* ==================================================================
   MOBILE CALL BAR (.footercta)
   ------------------------------------------------------------------
   The bar itself is not ours -- it is injected by Insert Headers and
   Footers and styled from Divi > Theme Options > Custom CSS:

     @media (max-width:600px){
       .footercta{display:grid;position:fixed;z-index:2;bottom:0;width:100%}
       .footercta a{display:block;padding:10px;...}
       .footercta a:first-child{border-right:1px solid #fff}
       #glt-translate-trigger{position:fixed;bottom:95px}
     }

   Two problems with that, both only visible on a phone.

   1. `display:grid` with no grid-template-columns puts the two links in
      ONE column, so they stack and the bar is 98px tall. The
      `border-right` on the first link gives the original intent away --
      a right-hand border only divides two things standing side by side.
      Two columns halve the bar to ~49px and give the divider something
      to do.

   2. Nothing reserves the bar's height, so it sits on top of the last
      ~98px of the footer for the whole scroll. The bottom of the page
      was permanently covered.

   Selectors are prefixed with `body` purely for specificity: these
   rules have to beat the Divi custom CSS above, which is served from
   wp-content/et-cache and may load after this stylesheet.
   ================================================================== */

@media (max-width: 600px) {

	/* Side by side, as the divider border always intended. */
	body .footercta {
		grid-template-columns: 1fr 1fr;
	}

	/* Clearance so the fixed bar stops covering the end of the page.
	   On #page-container rather than body: Divi paints the page
	   background there, and padding on body would show a strip of the
	   wrong colour under the footer. */
	body #page-container {
		padding-bottom: 52px;
	}

	/* The translate trigger was pinned at 95px to clear the old 98px
	   bar; with a ~49px bar it was left floating in mid-air. */
	body #glt-translate-trigger {
		bottom: 52px;
	}
}

/* ==================================================================
   FOOTER LINK TAP TARGETS
   ------------------------------------------------------------------
   The footer nav is 14.5px text in an 11px-gap column, which renders
   as 18px-tall links -- under the 24px WCAG 2.5.8 minimum, and in
   practice a column of ten of them is easy to mis-tap on a phone.

   Padding on the link rather than the li, so the growth belongs to the
   thing being tapped; the list gap shrinks to match so the column does
   not get much taller overall. inline-block keeps the target to the
   width of the words instead of turning the whole column into one
   invisible clickable strip.

   Gated on (pointer: coarse): a mouse is already precise enough, and
   the desktop footer keeps its original rhythm.
   ================================================================== */

@media (pointer: coarse) {
	.lb-footer-col ul {
		gap: 2px;
	}

	.lb-footer-col a {
		display: inline-block;
		padding-block: 9px;
	}

	/* Privacy / Terms / Disclosures sat at 22px -- just under the same
	   24px floor, and they are the links people reach for deliberately. */
	.lb-footer-bottom a {
		display: inline-block;
		padding-block: 4px;
	}
}

/* ==================================================================
   HEADER AT NARROW WIDTHS — hamburger vs "Apply Now"
   ------------------------------------------------------------------
   At 360px the toggle icon sat on top of the Apply Now pill.

   The cause is the logo, not the toggle. Divi sizes the logo by
   HEIGHT (38px), and at the image's 279x65 ratio that works out to
   163px wide -- inside a .et_pb_menu__logo-wrap capped at 150px. The
   extra 13px does not wrap or clip, it just overflows, which leaves
   .et_pb_menu__wrap with ZERO width. A zero-width flex item cannot
   hold the 26px toggle, so the toggle renders outside the menu
   module's box entirely and lands wherever the overflow puts it --
   at 360px that was x=190..216, over a button starting at x=209.

   So the fix is to stop the logo being sized by height: give it a
   width budget and let the height follow. Once the logo fits, the
   menu wrap gets real width back and the toggle returns inside the
   module where the flex layout keeps it clear of the pill.

   flex-shrink on the wrap and flex:0 0 auto on the menu wrap are the
   belt and braces -- they stop this collapsing again if the logo is
   ever swapped for a wider one.
   ================================================================== */

@media (max-width: 480px) {
	.lb-header .lb-nav .et_pb_menu__logo-wrap {
		max-width: 132px;
		flex: 0 1 auto;
		min-width: 0;
	}

	/* Width-driven, not height-driven.

	   !important because the base rule further up this file sets
	   height:38px / width:auto / max-width:none with !important of its
	   own -- there to stop Divi's logo_max_width squashing the wordmark
	   on desktop, which is still what we want above this breakpoint.
	   Matching !important is the only way to take it back here without
	   weakening the rule that earns it. */
	.lb-header .lb-nav .et_pb_menu__logo img {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
	}

	/* The toggle must always get its own width. */
	.lb-header .lb-nav .et_pb_menu__wrap {
		flex: 0 0 auto;
	}

	.lb-header .lb-nav .et_pb_menu_inner_container {
		gap: 10px;
	}

	/* Trim the pill so the two are never fighting for the same pixels. */
	.lb-header a.lb-cta {
		padding: 13px 18px !important;
		font-size: 14.5px !important;
	}
}

@media (max-width: 380px) {
	.lb-header .lb-nav .et_pb_menu__logo-wrap {
		max-width: 116px;
	}

	.lb-header a.lb-cta {
		padding: 12px 14px !important;
		font-size: 13.5px !important;
	}
}

/* ==================================================================
   MOBILE DROPDOWN PANEL (.et_mobile_menu)
   ------------------------------------------------------------------
   Divi positions this panel absolutely inside
   .et_pb_menu_inner_container, which on a phone is only as wide as the
   logo plus the toggle. That gave a 211px panel starting at x=18 --
   and, worse, its top edge landed at y=55 while the logo occupies
   y=21..55, so the panel opened across the bottom of the wordmark.

   Re-anchoring it to a full-width ancestor would mean making six
   nested Divi wrappers position:static, which is a lot of collateral
   for one panel. Fixed positioning gets the same result without
   touching them: the bar is sticky at top:0, so an offset of exactly
   its height puts the panel flush underneath, edge to edge.

   --lb-header-h is published by js/header.js, which measures the bar.
   The 77px fallback is only used if that script fails to run; it is
   the current measured height, so a no-JS render still looks right.

   Note this panel's containing block is the VIEWPORT. .lb-header used
   to carry a backdrop-filter, which made the bar itself the containing
   block for fixed descendants; that was removed when the bar went
   opaque white. Nothing about the panel changes -- the bar is full
   width and sticky at top:0, so `top` and `left/right` resolve to the
   same place either way -- but if a filter, transform, will-change or
   contain is ever put back on .lb-header, the offsets become relative
   to the bar's own box, and `top` would then be measured from the
   bottom of the bar rather than from the top of the screen.
   ================================================================== */

@media (max-width: 1080px) {
	.lb-header .lb-nav .et_mobile_menu {
		position: fixed;
		top: var(--lb-header-h, 77px);
		left: 0;
		right: 0;
		width: 100%;
		max-width: none;
		margin: 0;

		/* A long menu on a short phone in landscape has to scroll rather
		   than run off the bottom of the screen. */
		max-height: calc(100vh - var(--lb-header-h, 77px));
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	/* Full-bleed panel, so the links need the page gutter back. */
	.lb-header .lb-nav .et_mobile_menu li > a {
		padding-left: 18px;
		padding-right: 18px;
	}
}
 #colophon,
.site-footer,
footer {
    background-color: #163a68;
    margin-bottom: 0;
}

#gtranslate_wrapper,
.gtranslate_wrapper,
.gt_float_switcher {
    position: absolute !important;
    bottom: 10px;
    left: 10px;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    line-height: normal !important;
    z-index: 999;
}


footer,
#colophon,
.site-footer {
    position: relative;
    overflow: visible;
}

html, body {
    background: linear-gradient(135deg, #1969AF 0%, #173573 100%); /* replace with your exact footer blue — grab it with the eyedropper in dev tools */
} 