/* Canvas port: fixes on top of site--canvas.css (Contact Form 7 acceptance markup, photo placeholders). */
.cv .wpcf7 label.cf-consent,.cv .qz-card .wpcf7 label.cf-consent{display:block}
.cv .wpcf7 label.cf-consent .wpcf7-form-control-wrap,.cv .wpcf7 label.cf-consent .wpcf7-acceptance{display:block;width:100%}
.cv .wpcf7 label.cf-consent .wpcf7-list-item{display:block;margin:0}
.cv .wpcf7 label.cf-consent .wpcf7-list-item > label{display:flex;flex-direction:row;align-items:flex-start;gap:10px;min-width:0}
.cv .wpcf7 label.cf-consent .wpcf7-list-item-label{flex:1;min-width:0}
.cv .photo-placeholder{background:linear-gradient(135deg,#a3b0bb 0%,#7d8d9b 100%)}

/* Site container: 1280px with 32px gutters (content 1216px), Nov 2026. One value for every section.
   --side is the distance from the screen edge to the content edge, for split sections whose photo runs
   to the screen edge while their text stays on the grid. */
:root{
	--wrap: 1280px;
	--side: max(32px, calc((100vw - var(--wrap)) / 2 + 32px));
}
.wrap,
.v0110d.v0110d,.v066c5.v066c5,.v633db.v633db,.v7c319.v7c319,.v945a2.v945a2,.v9dd34.v9dd34,
.va255d.va255d,.vb6b28.vb6b28,.vb7531.vb7531,.vda938.vda938,.vf2416.vf2416{max-width:var(--wrap)}

/* Brand logo, Nov 2026: header = Customize → Site Identity logo (media 518, horizontal navy);
   footer = media 519 (horizontal white, templates/elements/site--footer.php). Image only, no text beside it. */
.site-header .logo__image{display:block;height:44px;width:auto;max-width:none}
.ft-logo{display:inline-block;line-height:0}
.ft-logo .ft-logo__image{display:block;height:48px;width:auto;max-width:100%}
@media (max-width: 760px) {
	.site-header .logo__image{height:32px}
	.ft-logo .ft-logo__image{height:42px}
}

/* Split sections (photo to the screen edge + text): the text sits on the same grid as every other section. */
.cv-why-choose-us .v80d69.v80d69{left:var(--side)}
.cv-why-choose-us .v78359.v78359{max-width:none;padding-right:var(--side)}
.cv-contact .v71543.v71543{max-width:none;margin-left:0;padding-left:var(--side)}
.cv-contact .v506ea.v506ea{max-width:none;padding-right:var(--side)}

/* Contact section links: the email is lime at rest; phone, email and directions turn lime on hover and keyboard focus. */
.cv-contact .k-photo a{transition:color .2s ease}
.cv-contact .k-info .v2e1b2 a{color:var(--lime)}
.cv-contact .k-photo a:hover,
.cv-contact .k-photo a:focus-visible,
.cv-contact .k-info .v2e1b2 a:hover,
.cv-contact .k-info .v2e1b2 a:focus-visible{color:var(--lime)}

/* Consultation popup (templates/elements/site--popups.php), opened by every "#consultation" link including
   "Book a consultation" in the header: the same dark card as the hero form (.zx .zx-form in site--home.css).
   The dialog itself drops the white 640px panel of the old popup (site--layout.css). */
dialog.popup.popup--zx{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);background:transparent;border-radius:22px;overflow:auto;color:inherit}
dialog.popup--zx .popup__panel.popup__panel--zx{background:transparent;border:0;box-shadow:none;padding:0;width:100%;max-width:none}
dialog.popup--zx .zx-form{position:relative;background:rgb(1,14,23);padding:28px 28px 22px}
dialog.popup--zx .zx-form h2{padding:0 44px}
dialog.popup--zx .lead-form{margin-top:0}
dialog.popup--zx .popup__close{position:absolute;top:14px;right:14px;left:auto;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .2s ease}
dialog.popup--zx .popup__close:hover,dialog.popup--zx .popup__close:focus-visible{background:var(--lime);color:var(--lime-ink)}
dialog.popup--zx .popup__close svg{width:20px;height:20px}
dialog.popup--zx .zx-form__note{margin:10px 0 0;font-size:12px;line-height:1.5;color:var(--on-dark-muted);text-align:center}
@media (max-width: 480px) {
	dialog.popup--zx .zx-form{padding:22px 16px 18px}
	dialog.popup--zx .zx-form h2{font-size:21px}
	dialog.popup--zx .zx-form .cf-row{grid-template-columns:1fr}
}

/* Why choose us on phones: the photo carries the eyebrow, the heading and the "Free case assessment" button,
   so it needs more height than the 340px the canvas gives it, or the caption runs up into the photo's top edge. */
@media (max-width: 760px) {
	.why .w-photo{min-height:480px !important}
}

/* Text section with a photo (variant C).
   The canvas section class sets overflow:hidden, which stops position:sticky; clip keeps the edges clean and
   lets the photo stay in view while the text is longer than the photo. */
section.tm.vfa339{overflow:clip}
section.tm.tm-dark .sh h2,section.tm.tm-dark .sh .h2{color:#fff}
section.tm.tm-dark .sh .eb{color:var(--lime)}

/* Lime line under the header bar (the 8px strip that used to open the About bento on the home page). */
.site-header{border-bottom:8px solid var(--lime)}

/* Desktop dropdowns: the mega menu sits 16px below its trigger, so moving the pointer down closed it.
   A transparent bridge covers the gap and a short delay keeps the panel open while the pointer travels. */
@media (min-width: 961px) {
	.site-nav__menu > li > .sub-menu {
		display: block;
		visibility: hidden;
		opacity: 0;
		transition: opacity .15s ease .25s, visibility 0s linear .4s;
	}
	.site-nav__menu > li:has(> .sub-menu > li > .sub-menu) > .sub-menu {
		display: grid;
	}
	.site-nav__menu > li:is(:hover, :focus-within) > .sub-menu {
		visibility: visible;
		opacity: 1;
		transition-delay: 0s, 0s;
	}
	.site-nav__menu > li > .sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		height: 24px;
	}

	/* Mega menu: an area without services of its own (Business law) sits in the first column, under the first
	   area (Real estate law); the areas with services take one column each over both rows. */
	.site-nav__menu > li:has(> .sub-menu > li > .sub-menu) > .sub-menu {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		align-items: start;
	}
	.site-nav__menu > li:has(> .sub-menu > li > .sub-menu) > .sub-menu > li:first-child {
		grid-column: 1;
		grid-row: 1;
	}
	.site-nav__menu > li:has(> .sub-menu > li > .sub-menu) > .sub-menu > li:not(.menu-item-has-children) {
		grid-column: 1;
		grid-row: 2;
		margin-top: 18px;
	}
	.site-nav__menu > li:has(> .sub-menu > li > .sub-menu) > .sub-menu > li.menu-item-has-children:not(:first-child) {
		grid-row: 1 / span 2;
	}
}
