/* ==========================================================================
   EDGE Legal — theme stylesheet
   Ported 1:1 from the React site's inline styles (LandingPage.tsx, SiteHeader.tsx,
   SiteFooter.tsx, TeamPage.tsx, ExpertisePage.tsx, BizLegalHubPage.tsx,
   ArticlePage.tsx, PrivacyPolicyPage.tsx, TermsPage.tsx, index.html, index.css).
   Mobile-first. Breakpoints: 768px (the original's isMobile switch) and 1024px.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
	--edge-navy: #0c2340;
	--edge-blue: #1e6a95;
	--edge-ice: #f0f6fc;
	--edge-sky: #93c5d8;
	--edge-slate: #374f67;
	--edge-muted: #526a80;
	--edge-white: #ffffff;
	--edge-line: #dce8f0;
	--edge-muted-2: #4a6882;
	--edge-muted-3: #5a7a94;
	--edge-whatsapp: #25d366;

	--edge-font-serif: 'Cormorant Garamond', Georgia, serif;
	--edge-font-sans: 'DM Sans', system-ui, sans-serif;

	--edge-container: 1280px;
	--edge-container-narrow: 1200px;
	--edge-container-text: 860px;
	--edge-container-article: 760px;
	--edge-px: clamp(20px, 5vw, 48px);
	--edge-px-wide: clamp(20px, 5vw, 60px);
	--edge-section-py: clamp(64px, 8vw, 96px);
	--edge-header-h: 68px;
	--edge-ease: cubic-bezier(0.22, 1, 0.36, 1);

	--edge-gradient-primary: linear-gradient(135deg, #1e6a95 0%, #0c2340 100%);
	--edge-gradient-story: linear-gradient(180deg, #0c2340 0%, #1a3f6f 45%, #0c2340 100%);
	--edge-gradient-linkedin: linear-gradient(160deg, #0c2340 0%, #1e4d72 100%);
	--edge-gradient-light: linear-gradient(180deg, #ffffff 0%, #f0f6fc 100%);
	--edge-shadow-btn: 0 4px 14px rgba(12, 35, 64, 0.25);
	--edge-shadow-btn-hover: 0 6px 20px rgba(12, 35, 64, 0.35);
}

/* --------------------------------------------------------------------------
   2. Base (index.css + index.html globals)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
	scroll-padding-top: var(--edge-header-h);
}

body {
	margin: 0;
	background: var(--edge-white);
	color: var(--edge-slate);
	font-family: var(--edge-font-sans);
	font-size: 16px;
	line-height: 1.7;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--edge-font-serif);
	font-weight: 600;
	color: var(--edge-navy);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

p {
	margin: 0;
}

a {
	color: var(--edge-blue);
	text-decoration: none;
}

button {
	font-family: inherit;
}

.serif,
.edge-serif {
	font-family: var(--edge-font-serif);
}

.edge-sans {
	font-family: var(--edge-font-sans);
}

/* Accessibility widget states (mirrors original index.css) */
html.edge-high-contrast {
	filter: contrast(1.16) saturate(0.88);
}

html.edge-reduce-motion *,
html.edge-reduce-motion *::before,
html.edge-reduce-motion *::after {
	animation-duration: 0.01ms !important;
	animation-iteration-count: 1 !important;
	scroll-behavior: auto !important;
	transition-duration: 0.01ms !important;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* Focus rings (original LandingPage global styles) */
*:focus-visible {
	outline: 2px solid var(--edge-blue);
	outline-offset: 3px;
}

button:focus-visible,
a:focus-visible {
	outline: 2px solid var(--edge-blue);
	outline-offset: 3px;
	border-radius: 1px;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--edge-blue) !important;
	box-shadow: 0 0 0 2px rgba(30, 106, 149, 0.12);
}

/* Skip link fallback (the plugin prints and styles its own .edge-skip-link) */
.skip-to-content {
	position: absolute;
	top: -100%;
	left: 16px;
	padding: 10px 20px;
	background: var(--edge-blue);
	color: var(--edge-white);
	font-family: var(--edge-font-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	z-index: 9999;
	transition: top 0.15s;
}

.skip-to-content:focus {
	top: 8px;
}

/* --------------------------------------------------------------------------
   3. WordPress wrapper resets
   -------------------------------------------------------------------------- */
.wp-site-blocks > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.edge-main {
	min-height: 40vh;
}

.edge-section,
.edge-story,
.edge-hero,
.edge-page-hero,
.edge-legal-hero,
.edge-main > *,
.edge-main .wp-block-post-content > *,
.edge-story > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* Layout helpers */
.edge-container {
	max-width: var(--edge-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--edge-px);
	padding-right: var(--edge-px);
}

.edge-container--narrow {
	max-width: var(--edge-container-narrow);
}

.edge-container--text {
	max-width: var(--edge-container-text);
}

.edge-container--article {
	max-width: var(--edge-container-article);
}

.edge-container--flush {
	padding-left: 0;
	padding-right: 0;
}

.edge-section {
	padding-top: var(--edge-section-py);
	padding-bottom: var(--edge-section-py);
}

.edge-dark {
	background: var(--edge-navy);
	color: var(--edge-white);
}

.edge-dark h1,
.edge-dark h2,
.edge-dark h3,
.edge-dark h4 {
	color: var(--edge-white);
}

/* --------------------------------------------------------------------------
   4. Typography utilities
   -------------------------------------------------------------------------- */
.edge-eyebrow,
.is-style-eyebrow {
	font-family: var(--edge-font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--edge-blue);
	line-height: 1.4;
	margin: 0 0 16px;
}

.edge-eyebrow--light {
	color: var(--edge-sky);
}

.edge-eyebrow--tight {
	margin-bottom: 12px;
}

.edge-h1 {
	font-family: var(--edge-font-serif);
	font-size: clamp(48px, 8vw, 92px);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.02em;
	color: var(--edge-navy);
}

.edge-h2 {
	font-family: var(--edge-font-serif);
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--edge-navy);
}

.edge-h3 {
	font-family: var(--edge-font-serif);
	font-size: clamp(26px, 3vw, 32px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--edge-navy);
}

.edge-lead {
	font-size: 16px;
	line-height: 1.75;
	font-weight: 300;
	color: var(--edge-slate);
}

.edge-text-center {
	text-align: center;
}

.edge-text-right {
	text-align: right;
}

.edge-text-justify {
	text-align: justify;
}

/* --------------------------------------------------------------------------
   5. Buttons (utility classes + core button mapping)
   -------------------------------------------------------------------------- */
.edge-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--edge-font-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 999px;
	padding: 13px 28px;
	border: 0;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.edge-btn--primary,
.wp-block-button__link {
	color: var(--edge-white);
	background: var(--edge-gradient-primary);
	box-shadow: var(--edge-shadow-btn);
}

.edge-btn--primary:hover,
.wp-block-button__link:hover {
	color: var(--edge-white);
	opacity: 0.88;
	transform: translateY(-1px);
	box-shadow: var(--edge-shadow-btn-hover);
}

.edge-btn--outline-light,
.wp-block-button.is-style-outline-light .wp-block-button__link {
	background: transparent;
	color: var(--edge-white);
	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: none;
}

.edge-btn--outline-light:hover,
.wp-block-button.is-style-outline-light .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--edge-white);
	opacity: 1;
	transform: none;
	box-shadow: none;
}

.edge-btn--outline-dark,
.wp-block-button.is-style-outline-dark .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--edge-navy);
	border: 1px solid var(--edge-navy);
	box-shadow: none;
}

.edge-btn--outline-dark:hover,
.wp-block-button.is-style-outline-dark .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--edge-navy);
	color: var(--edge-white);
	opacity: 1;
	transform: none;
	box-shadow: none;
}

/* Frosted-glass hero CTA (LandingPage hero row 1) */
.edge-btn--glass,
.wp-block-button.is-style-glass .wp-block-button__link {
	color: var(--edge-white);
	background: rgba(30, 106, 149, 0.4);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	padding: 14px 32px;
	letter-spacing: 0.08em;
	border: 1px solid rgba(147, 197, 216, 0.4);
	box-shadow: 0 8px 24px rgba(30, 106, 149, 0.25);
}

.edge-btn--glass:hover,
.wp-block-button.is-style-glass .wp-block-button__link:hover {
	background: rgba(30, 106, 149, 0.65);
	box-shadow: 0 10px 28px rgba(30, 106, 149, 0.35);
	transform: translateY(-1px);
	opacity: 1;
}

/* Translucent white pill (insights "Visit the Hub", hero phone) */
.edge-btn--ghost {
	color: var(--edge-white);
	background: rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	padding: 12px 28px;
	box-shadow: none;
}

.edge-btn--ghost:hover {
	background: rgba(30, 106, 149, 0.55);
	color: var(--edge-white);
}

.edge-btn--whatsapp {
	color: var(--edge-white);
	background: var(--edge-whatsapp);
	border: 1px solid rgba(37, 211, 102, 0.5);
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.18);
}

.edge-btn--whatsapp:hover {
	background: #1fbd5a;
	color: var(--edge-white);
	transform: translateY(-1px);
	box-shadow: 0 10px 28px rgba(37, 211, 102, 0.3);
}

.edge-btn--whatsapp-glass {
	color: var(--edge-white);
	background: rgba(37, 211, 102, 0.25);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(37, 211, 102, 0.5);
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.18);
}

.edge-btn--whatsapp-glass:hover {
	background: rgba(37, 211, 102, 0.45);
	box-shadow: 0 10px 28px rgba(37, 211, 102, 0.3);
	transform: translateY(-1px);
}

.edge-btn svg,
.edge-btn--whatsapp svg,
.edge-btn--whatsapp-glass svg {
	flex-shrink: 0;
	fill: currentColor;
}

/* Square navy button (legal pages / article footer) */
.edge-btn--navy-square,
.wp-block-button.is-style-navy-square .wp-block-button__link {
	border-radius: 0;
	background: var(--edge-navy);
	color: var(--edge-white);
	box-shadow: none;
}

.edge-btn--navy-square:hover,
.wp-block-button.is-style-navy-square .wp-block-button__link:hover {
	background: var(--edge-blue);
	opacity: 1;
	transform: none;
	box-shadow: none;
}

.edge-btn--block,
.wp-block-button.edge-btn--block,
.wp-block-button.edge-btn--block .wp-block-button__link {
	width: 100%;
}

.wp-block-buttons {
	margin: 0;
}

/* Arrow links */
.edge-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--edge-font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--edge-blue);
	text-decoration: none;
	transition: opacity 0.2s;
}

.edge-link-arrow::after {
	content: "\2192";
	font-size: 16px;
	line-height: 1;
}

.edge-link-arrow:hover {
	opacity: 0.75;
}

.edge-link-arrow--light {
	color: var(--edge-sky);
}

.edge-link-arrow--lg::after {
	font-size: 18px;
}

/* --------------------------------------------------------------------------
   6. Reveal-on-scroll
   -------------------------------------------------------------------------- */
[data-reveal],
.edge-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s var(--edge-ease), transform 0.6s var(--edge-ease);
	transition-delay: var(--edge-reveal-delay, 0s);
	will-change: opacity, transform;
}

[data-reveal].is-visible,
.edge-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.edge-reveal--delay-1 {
	--edge-reveal-delay: 0.06s;
}

.edge-reveal--delay-2 {
	--edge-reveal-delay: 0.12s;
}

.edge-reveal--delay-3 {
	--edge-reveal-delay: 0.18s;
}

html.no-js [data-reveal],
html.no-js .edge-reveal,
html.edge-reduce-motion [data-reveal],
html.edge-reduce-motion .edge-reveal,
.editor-styles-wrapper [data-reveal],
.editor-styles-wrapper .edge-reveal {
	opacity: 1;
	transform: none;
	transition: none;
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal],
	.edge-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   7. Header (parts/header.html -> patterns/header.php)
   -------------------------------------------------------------------------- */
/* The template-part wrapper (<div class="wp-block-template-part edge-header-wrap">) carries the
   sticky/fixed positioning because a sticky element can only stick inside its own parent. */
.edge-header-wrap {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	margin: 0 !important;
}

.edge-header {
	background: var(--edge-white);
	border-bottom: 1px solid transparent;
	box-shadow: none;
	transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.edge-header.is-scrolled {
	border-bottom-color: rgba(30, 106, 149, 0.1);
	box-shadow: 0 2px 20px rgba(12, 35, 64, 0.06);
}

.edge-header__inner {
	max-width: var(--edge-container);
	margin: 0 auto;
	padding: 0 var(--edge-px-wide);
	height: var(--edge-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 16px;
}

.edge-header__logo {
	margin: 0;
	flex-shrink: 0;
	line-height: 0;
}

.edge-header__logo a {
	display: block;
}

.edge-header__logo img {
	display: block;
	height: 42px;
	width: auto;
	transition: filter 0.3s ease;
}

/* Home page: fixed, transparent over the hero, white after 40px (LandingPage header) */
body.edge-front .edge-header-wrap {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 100;
}

body.edge-front .edge-header {
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: all 0.3s ease;
}

body.edge-front .edge-header__inner {
	max-width: none;
	padding: 0 var(--edge-px);
}

body.edge-front .edge-header.is-scrolled,
html.has-modal-open body.edge-front .edge-header {
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--edge-line);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: none;
}

html:not(.has-modal-open) body.edge-front .edge-header:not(.is-scrolled) .edge-header__logo img {
	filter: brightness(0) invert(1);
}

/* Navigation block */
.edge-header .edge-nav {
	gap: 36px;
	align-items: center;
	font-family: var(--edge-font-sans);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--edge-slate);
}

.edge-header .edge-nav .wp-block-navigation__container {
	gap: 36px;
	align-items: center;
}

.edge-header .edge-nav .wp-block-navigation-item__content {
	display: inline-block;
	padding: 4px 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--edge-slate);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: all 0.2s;
}

.edge-header .edge-nav .wp-block-navigation-item__content:hover {
	color: var(--edge-blue);
}

.edge-header .edge-nav .wp-block-navigation-item.is-active .wp-block-navigation-item__content,
.edge-header .edge-nav .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content {
	font-weight: 600;
	color: var(--edge-blue);
	border-bottom-color: var(--edge-blue);
}

/* "Contact Us" pill inside the nav */
.edge-header .edge-nav .edge-nav__cta .wp-block-navigation-item__content,
.edge-header .edge-nav .edge-nav__cta.is-active .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--edge-white);
	background: var(--edge-gradient-primary);
	padding: 11px 26px;
	letter-spacing: 0.06em;
	border: 0;
	border-radius: 999px;
	box-shadow: var(--edge-shadow-btn);
	transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.edge-header .edge-nav .edge-nav__cta .wp-block-navigation-item__content:hover {
	color: var(--edge-white);
	opacity: 0.88;
	transform: translateY(-1px);
	box-shadow: var(--edge-shadow-btn-hover);
}

/* Home page before scroll: white links */
html:not(.has-modal-open) body.edge-front .edge-header:not(.is-scrolled) .edge-nav .wp-block-navigation-item:not(.edge-nav__cta) .wp-block-navigation-item__content {
	color: rgba(255, 255, 255, 0.85);
}

html:not(.has-modal-open) body.edge-front .edge-header:not(.is-scrolled) .edge-nav .wp-block-navigation-item:not(.edge-nav__cta) .wp-block-navigation-item__content:hover,
html:not(.has-modal-open) body.edge-front .edge-header:not(.is-scrolled) .edge-nav .wp-block-navigation-item.is-active:not(.edge-nav__cta) .wp-block-navigation-item__content {
	color: var(--edge-white);
}

html:not(.has-modal-open) body.edge-front .edge-header:not(.is-scrolled) .edge-nav .wp-block-navigation-item.is-active:not(.edge-nav__cta) .wp-block-navigation-item__content {
	border-bottom-color: var(--edge-white);
}

html:not(.has-modal-open) body.edge-front .edge-header:not(.is-scrolled) .edge-nav .edge-nav__cta .wp-block-navigation-item__content {
	padding: 9px 24px;
	letter-spacing: 0.04em;
	box-shadow: 0 4px 14px rgba(12, 35, 64, 0.3);
}

/* Hamburger / close buttons */
.edge-header .edge-nav .wp-block-navigation__responsive-container-open,
.edge-header .edge-nav .wp-block-navigation__responsive-container-close {
	color: var(--edge-navy);
	padding: 8px;
	margin: 0;
	background: none;
	border: 0;
	transition: color 0.3s;
}

.edge-header .edge-nav .wp-block-navigation__responsive-container-open svg,
.edge-header .edge-nav .wp-block-navigation__responsive-container-close svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

html:not(.has-modal-open) body.edge-front .edge-header:not(.is-scrolled) .edge-nav .wp-block-navigation__responsive-container-open {
	color: var(--edge-white);
}

/* Mobile dropdown (core overlay restyled as the original's dropdown panel) — < 768px */
@media (max-width: 767.98px) {
	.edge-header .edge-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex !important;
	}

	.edge-header .edge-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none !important;
	}

	html.has-modal-open .edge-header .edge-nav .wp-block-navigation__responsive-container-open {
		visibility: hidden;
	}

	.edge-header .edge-nav .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed;
		top: calc(var(--edge-header-h) + var(--wp-admin--admin-bar--height, 0px));
		left: 0;
		right: 0;
		bottom: auto;
		max-height: calc(100vh - var(--edge-header-h));
		padding: 8px 0 20px;
		background: var(--edge-white);
		border-top: 1px solid rgba(30, 106, 149, 0.08);
		border-bottom: 1px solid var(--edge-line);
		box-shadow: 0 8px 24px rgba(12, 35, 64, 0.08);
		z-index: 99;
		animation: edge-menu-in 0.22s ease-out;
	}

	.edge-header .edge-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
		max-width: none;
		margin: 0;
	}

	.edge-header .edge-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
		margin-top: 0 !important;
	}

	.edge-header .edge-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		padding-top: 0;
		gap: 0;
		align-items: stretch;
	}

	.edge-header .edge-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		gap: 0;
		align-items: stretch;
	}

	.edge-header .edge-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		display: block;
		width: 100%;
	}

	.edge-header .edge-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		display: block;
		width: 100%;
		padding: 14px 24px;
		font-size: 14px;
		font-weight: 500;
		color: var(--edge-slate);
		letter-spacing: 0.06em;
		text-transform: uppercase;
		text-align: left;
		border-bottom: 0;
		border-left: 3px solid transparent;
	}

	.edge-header .edge-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.is-active .wp-block-navigation-item__content,
	.edge-header .edge-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content {
		font-weight: 600;
		color: var(--edge-blue);
		border-left-color: var(--edge-blue);
	}

	.edge-header .edge-nav .wp-block-navigation__responsive-container.is-menu-open .edge-nav__cta {
		padding: 12px 24px 0;
	}

	.edge-header .edge-nav .wp-block-navigation__responsive-container.is-menu-open .edge-nav__cta .wp-block-navigation-item__content {
		display: flex;
		justify-content: center;
		width: 100%;
		padding: 13px 24px;
		font-size: 13px;
		font-weight: 600;
		color: var(--edge-white);
		letter-spacing: 0.06em;
		border-left: 0;
		border-radius: 999px;
		text-align: center;
	}

	/* The core close button sits where the hamburger was */
	.edge-header .edge-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		position: fixed;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 15px);
		right: calc(var(--edge-px) - 8px);
		z-index: 101;
	}
}

@keyframes edge-menu-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (min-width: 768px) {
	.edge-header .edge-nav .wp-block-navigation__responsive-container-open {
		display: none !important;
	}
}

/* --------------------------------------------------------------------------
   8. Footer (parts/footer.html -> patterns/footer.php)
   -------------------------------------------------------------------------- */
.edge-footer {
	background: var(--edge-navy);
	color: var(--edge-white);
	padding: 48px 20px 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-family: var(--edge-font-sans);
}

.edge-footer__inner {
	max-width: var(--edge-container-narrow);
	margin: 0 auto;
}

.edge-footer__top {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	margin-bottom: 24px;
}

.edge-footer__brand {
	text-align: center;
}

.edge-footer__logo {
	margin: 0 0 4px;
	line-height: 0;
}

.edge-footer__logo img {
	display: inline-block;
	height: 34px;
	width: auto;
	filter: brightness(0) invert(1);
}

.edge-footer__address {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	margin-top: 6px;
	font-weight: 300;
	line-height: 1.6;
}

.edge-footer__email,
.edge-footer__email a {
	display: block;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.45);
	margin-top: 2px;
	text-decoration: none;
}

.edge-footer__links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
}

.edge-footer .edge-footer__nav {
	gap: 8px 20px;
	justify-content: center;
	flex-wrap: wrap;
	font-size: 12px;
}

.edge-footer .edge-footer__nav .wp-block-navigation__container {
	gap: 8px 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.edge-footer .edge-footer__nav .wp-block-navigation-item__content {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 500;
	padding: 0;
	text-decoration: none;
	transition: color 0.2s;
}

.edge-footer .edge-footer__nav .wp-block-navigation-item__content:hover {
	color: var(--edge-sky);
}

/* Mailing list pill (plugin block renders <button class="edge-btn edge-btn--outline-light edge-mailing-btn">) */
.edge-footer .edge-mailing-btn,
.edge-footer .wp-block-edge-mailing-list-button button {
	font-size: 12px;
	padding: 10px 22px;
}

.edge-footer__social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 0;
}

.edge-footer .wp-block-social-links {
	gap: 16px;
	margin: 0;
	padding: 0;
}

.edge-footer .wp-block-social-links .wp-social-link {
	margin: 0;
	padding: 0;
	background: none;
	color: rgba(255, 255, 255, 0.35);
	transition: color 0.2s;
}

.edge-footer .wp-block-social-links .wp-social-link a {
	padding: 0;
	color: inherit;
	display: flex;
	align-items: center;
}

.edge-footer .wp-block-social-links .wp-social-link svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.edge-footer .wp-block-social-links .wp-social-link:hover {
	color: var(--edge-sky);
	transform: none;
}

.edge-footer__copyright {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.3);
	font-weight: 300;
}

.edge-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	padding-top: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
}

.edge-footer__credit {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.25);
	font-weight: 300;
	letter-spacing: 0.04em;
}

.edge-footer__credit a {
	color: rgba(255, 255, 255, 0.45);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s;
}

.edge-footer__credit a:hover {
	color: var(--edge-sky);
}

.edge-footer .edge-footer__legal {
	gap: 20px;
	font-size: 11px;
}

.edge-footer .edge-footer__legal .wp-block-navigation__container {
	gap: 20px;
}

.edge-footer .edge-footer__legal .wp-block-navigation-item__content {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.35);
	text-decoration: none;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: none;
	padding: 0;
	transition: color 0.2s;
}

.edge-footer .edge-footer__legal .wp-block-navigation-item__content:hover {
	color: var(--edge-sky);
}

@media (min-width: 768px) {
	.edge-footer {
		padding: 48px 48px 36px;
	}

	.edge-footer__top {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		gap: 24px;
		margin-bottom: 28px;
	}

	.edge-footer__brand {
		text-align: left;
	}

	.edge-footer__logo {
		margin-bottom: 8px;
	}

	.edge-footer__logo img {
		display: block;
	}

	.edge-footer__address {
		margin-top: 0;
	}

	.edge-footer__links {
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		flex-wrap: wrap;
		gap: 32px;
	}

	.edge-footer .edge-footer__nav,
	.edge-footer .edge-footer__nav .wp-block-navigation__container {
		gap: 32px;
		justify-content: flex-end;
	}

	.edge-footer__social {
		justify-content: flex-end;
		margin-bottom: 28px;
	}

	.edge-footer__bottom {
		flex-direction: row;
		align-items: center;
	}
}

/* --------------------------------------------------------------------------
   9. Home — hero
   -------------------------------------------------------------------------- */
.edge-hero {
	position: relative;
	padding: calc(var(--edge-header-h) + 48px) var(--edge-px) 48px;
	min-height: auto;
	display: flex;
	align-items: center;
	background-image: linear-gradient(105deg, rgba(12, 35, 64, 0.93) 0%, rgba(12, 35, 64, 0.82) 45%, rgba(12, 35, 64, 0.42) 100%), url("../images/hero-bg.jpg");
	background-size: cover;
	background-position: center 45%;
	background-repeat: no-repeat;
	color: var(--edge-white);
}

.edge-hero__grid {
	max-width: var(--edge-container-narrow);
	margin: 0 auto;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}

.edge-hero__copy {
	animation: edge-fade-up 0.7s var(--edge-ease) 0.08s both;
}

.edge-hero__title {
	font-family: var(--edge-font-serif);
	font-size: clamp(44px, 10vw, 80px);
	font-weight: 600;
	line-height: 1.05;
	color: var(--edge-white);
	letter-spacing: -0.02em;
	margin: 0 0 20px;
}

.edge-hero__title em {
	font-style: italic;
	color: var(--edge-sky);
}

.edge-hero__intro {
	font-size: 16px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.55;
	max-width: 520px;
	margin: 0 0 36px;
}

/* The CTA row (edge/hero-buttons) and glass stats panel (edge/firm-stats) are plugin blocks
   that carry their own CSS; the theme only positions them in the grid and animates the panel in. */
.edge-hero__grid > .wp-block-edge-firm-stats,
.edge-hero__grid > .edge-block-firm-stats {
	animation: edge-fade-up 0.7s var(--edge-ease) 0.2s both;
}

@keyframes edge-fade-up {
	from {
		opacity: 0;
		transform: translateY(24px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (min-width: 768px) {
	.edge-hero {
		padding: calc(var(--edge-header-h) + 80px) var(--edge-px) 80px;
		min-height: calc(520px + var(--edge-header-h));
	}

	.edge-hero__grid {
		grid-template-columns: 1fr 320px;
		gap: 56px;
	}

	.edge-hero__intro {
		font-size: 19px;
	}
}

@media (min-width: 1024px) {
	.edge-hero__grid {
		grid-template-columns: 1fr 380px;
		gap: 80px;
	}
}

/* --------------------------------------------------------------------------
   10. Home — story wrapper (About -> Client Experiences share one gradient)
   -------------------------------------------------------------------------- */
.edge-story {
	background: var(--edge-gradient-story);
	color: var(--edge-white);
}

.edge-story h2,
.edge-story h3 {
	color: var(--edge-white);
}

.edge-story .edge-eyebrow {
	color: var(--edge-sky);
}

/* About */
.edge-about {
	padding: var(--edge-section-py) var(--edge-px);
	background: transparent;
}

.edge-about__grid {
	max-width: var(--edge-container-narrow);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}

.edge-about__eyebrow {
	margin-bottom: 20px;
}

.edge-about__title {
	font-family: var(--edge-font-serif);
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 600;
	line-height: 1.1;
	color: var(--edge-white);
	margin: 0 0 24px;
	letter-spacing: -0.01em;
}

.edge-about__title em {
	font-style: italic;
}

.edge-about__text {
	font-size: 16px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.75);
	margin: 0 0 24px;
	font-weight: 300;
	text-align: justify;
}

.edge-about__text:last-child {
	margin-bottom: 0;
}

.edge-about__media {
	position: relative;
	padding-bottom: 115%;
	overflow: hidden;
	margin: 0;
}

.edge-about__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.18) translate(3%, -2%);
	opacity: 0;
	transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.edge-about__media.is-visible img,
html.no-js .edge-about__media img,
html.edge-reduce-motion .edge-about__media img,
.editor-styles-wrapper .edge-about__media img {
	transform: none;
	opacity: 1;
}

.edge-about__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(12, 35, 64, 0.35) 0%, rgba(12, 35, 64, 0) 45%);
	pointer-events: none;
}

.edge-about__media::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 4px;
	height: 100%;
	background: var(--edge-blue);
	z-index: 1;
}

/* When the figure itself is the reveal target we do not want the fade-up on the wrapper */
.edge-about__media[data-reveal],
.edge-about__media.edge-reveal {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.edge-about__media img {
		transform: none;
		opacity: 1;
	}
}

@media (min-width: 768px) {
	.edge-about__grid {
		grid-template-columns: 1fr 1fr;
		gap: 64px;
	}
}

@media (min-width: 1024px) {
	.edge-about__grid {
		gap: 96px;
	}
}

/* Why EDGE */
.edge-why {
	background: transparent;
	padding: 16px 20px 12px;
}

.edge-why__box {
	max-width: var(--edge-container-narrow);
	margin: 0 auto;
	padding: 36px 28px;
	border-top: 3px solid var(--edge-sky);
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	text-align: center;
}

.edge-why__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--edge-sky);
	margin: 0 0 14px;
}

.edge-why__tagline {
	font-family: var(--edge-font-serif);
	font-size: 24px;
	line-height: 1.2;
	color: var(--edge-white);
	font-weight: 600;
	margin: 0 0 14px;
}

.edge-why__body {
	max-width: 740px;
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.76);
	font-size: 15px;
	line-height: 1.7;
	font-weight: 300;
}

@media (min-width: 768px) {
	.edge-why {
		padding: 20px 48px 12px;
	}

	.edge-why__box {
		padding: 42px 56px;
	}

	.edge-why__tagline {
		font-size: 30px;
	}
}

/* Awards / Expertise / Team / Testimonials — section shells only. The plugin blocks inside
   (edge/awards, edge/practice-groups, edge/team-teaser, edge/testimonials) apply their own
   section padding (var(--edge-section-py) var(--edge-px)), inner max-width and typography. */
.edge-awards,
.edge-expertise,
.edge-team,
.edge-testimonials {
	padding: 0;
	background: transparent;
	overflow: hidden;
}

/* Section heading helpers reused by the practice-groups / team-teaser / insights blocks */
.edge-section__eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--edge-sky);
	margin: 0 0 16px;
}

.edge-section__title {
	font-family: var(--edge-font-serif);
	font-size: clamp(30px, 5vw, 50px);
	font-weight: 600;
	line-height: 1.1;
	color: var(--edge-white);
	margin: 0 0 32px;
	letter-spacing: -0.01em;
}

@media (min-width: 768px) {
	.edge-section__title {
		margin-bottom: 48px;
	}
}

/* --------------------------------------------------------------------------
   11. Home — insights, linkedin, contact
   -------------------------------------------------------------------------- */
.edge-insights {
	padding: var(--edge-section-py) var(--edge-px);
	background-image: linear-gradient(105deg, rgba(12, 35, 64, 0.88) 0%, rgba(12, 35, 64, 0.78) 50%, rgba(12, 35, 64, 0.68) 100%), url("../images/insights-sunset.jpg");
	background-size: cover;
	background-position: center 60%;
	background-repeat: no-repeat;
	color: var(--edge-white);
}

.edge-insights__grid {
	max-width: var(--edge-container-narrow);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: start;
}

.edge-insights__title {
	font-family: var(--edge-font-serif);
	font-size: clamp(30px, 5vw, 50px);
	font-weight: 600;
	line-height: 1.1;
	color: var(--edge-white);
	margin: 0 0 24px;
	letter-spacing: -0.01em;
}

.edge-insights__body {
	font-size: 15px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.78);
	font-weight: 300;
	margin: 0 0 32px;
}

.edge-insights__cta .wp-block-button__link {
	color: var(--edge-white);
	background: rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	padding: 12px 28px;
	box-shadow: none;
	transition: background 0.2s;
}

.edge-insights__cta .wp-block-button__link:hover {
	background: rgba(30, 106, 149, 0.55);
	opacity: 1;
	transform: none;
	box-shadow: none;
}

@media (min-width: 768px) {
	.edge-insights__grid {
		grid-template-columns: 1fr 1fr;
		gap: 64px;
	}
}

/* LinkedIn — edge/linkedin-feed pads itself and paints the 160deg gradient; the shell only
   keeps the gradient as a fallback so the section never flashes white. */
.edge-linkedin {
	padding: 0;
	background: var(--edge-gradient-linkedin);
	color: var(--edge-white);
}

.edge-linkedin__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.edge-linkedin__title {
	font-family: var(--edge-font-serif);
	font-size: clamp(26px, 4vw, 42px);
	font-weight: 600;
	line-height: 1.1;
	color: var(--edge-white);
	margin: 0 0 36px;
	letter-spacing: -0.01em;
}

.edge-linkedin .sk-ww-linkedin-page-post {
	width: 100%;
}

/* Contact */
.edge-contact {
	padding: var(--edge-section-py) var(--edge-px);
	background: var(--edge-ice);
	border-top: 1px solid var(--edge-line);
}

.edge-contact__grid {
	max-width: var(--edge-container-narrow);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: start;
}

.edge-contact__eyebrow {
	margin-bottom: 20px;
}

.edge-contact__title {
	font-family: var(--edge-font-serif);
	font-size: clamp(30px, 5vw, 52px);
	font-weight: 600;
	line-height: 1.1;
	color: var(--edge-navy);
	margin: 0 0 24px;
	letter-spacing: -0.01em;
}

.edge-contact__body {
	font-size: 16px;
	line-height: 1.75;
	color: var(--edge-slate);
	font-weight: 300;
	margin: 0 0 36px;
}

/* edge/contact-details and edge/contact-form style themselves. */
.edge-contact__form {
	min-height: 480px;
}

@media (min-width: 768px) {
	.edge-contact__grid {
		grid-template-columns: 1fr 1fr;
		gap: 48px;
	}
}

@media (min-width: 1024px) {
	.edge-contact__grid {
		gap: 96px;
	}
}

/* --------------------------------------------------------------------------
   12. Interior page heroes (Expertise / Team / Biz Legal Hub / generic page)
   -------------------------------------------------------------------------- */
.edge-page-hero {
	position: relative;
	overflow: hidden;
	padding: 56px 20px 48px;
	background: var(--edge-ice);
}

.edge-page-hero__inner {
	position: relative;
	max-width: var(--edge-container-narrow);
	margin: 0 auto;
}

.edge-page-hero__eyebrow {
	margin-bottom: 16px;
}

.edge-page-hero__title {
	font-family: var(--edge-font-serif);
	font-size: clamp(34px, 5vw, 60px);
	font-weight: 600;
	line-height: 1.1;
	color: var(--edge-navy);
	margin: 0 0 20px;
	letter-spacing: -0.01em;
}

.edge-page-hero__intro {
	font-size: 15px;
	color: var(--edge-muted-2);
	line-height: 1.7;
	max-width: 560px;
	margin: 0;
}

.edge-page-hero__tagline {
	font-family: var(--edge-font-serif);
	font-size: 18px;
	font-style: italic;
	color: var(--edge-sky);
	margin: 0 0 20px;
	line-height: 1.3;
}

/* Team hero: navy with faded photo */
.edge-page-hero--team {
	background: var(--edge-navy);
}

.edge-page-hero--team::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("../images/team-hero-bg.jpg");
	background-size: cover;
	background-position: center 40%;
	opacity: 0.22;
	pointer-events: none;
}

.edge-page-hero--team .edge-page-hero__title,
.edge-page-hero--hub .edge-page-hero__title {
	color: var(--edge-white);
}

/* Hub hero: photo + gradient */
.edge-page-hero--hub {
	background-image: linear-gradient(105deg, rgba(12, 35, 64, 0.9) 0%, rgba(12, 35, 64, 0.78) 50%, rgba(12, 35, 64, 0.6) 100%), url("../images/biz-legal-hub-hero.jpg");
	background-size: cover;
	background-position: center 55%;
	background-repeat: no-repeat;
}

.edge-page-hero--hub .edge-page-hero__title {
	margin-bottom: 16px;
}

.edge-page-hero--hub .edge-page-hero__intro {
	color: rgba(255, 255, 255, 0.75);
	max-width: 640px;
}

.edge-page-hero--hub .edge-page-hero__eyebrow,
.edge-page-hero--team .edge-page-hero__eyebrow {
	color: var(--edge-sky);
}

@media (min-width: 768px) {
	.edge-page-hero {
		padding: 80px var(--edge-px-wide) 72px;
	}

	.edge-page-hero__intro {
		font-size: 17px;
	}

	.edge-page-hero__tagline {
		font-size: 24px;
	}
}

/* --------------------------------------------------------------------------
   13. Practice Areas page — edge/practice-areas-grid pads itself (72px / 100px) and renders
       the closing "Schedule a Consultation" row; the shell is a plain white wrapper.
   -------------------------------------------------------------------------- */
.edge-expertise-page {
	padding: 0;
	background: var(--edge-white);
}

/* --------------------------------------------------------------------------
   14. Our People page — edge/team-grid pads itself (first row 100px top, 100px bottom).
   -------------------------------------------------------------------------- */
.edge-team-page {
	padding: 0;
	background: var(--edge-white);
}

/* --------------------------------------------------------------------------
   15. Biz Legal Hub page
   -------------------------------------------------------------------------- */
.edge-hub-insights {
	padding: 56px 20px;
	background: var(--edge-white);
	border-bottom: 1px solid var(--edge-line);
}

.edge-hub-insights__inner {
	max-width: var(--edge-container-narrow);
	margin: 0 auto;
}

.edge-hub-insights__title {
	font-family: var(--edge-font-serif);
	font-size: 26px;
	font-weight: 600;
	color: var(--edge-navy);
	margin: 0 0 36px;
	letter-spacing: -0.01em;
}

/* Guides — the theme owns the photo background (biz-legal-hub-bg.jpg + gradient overlay, as in
   BizLegalHubPage.tsx). edge/guides pads itself (80px) and paints an opaque gradient, which we
   make transparent here so the photo shows through. */
.edge-hub-guides {
	padding: 0;
	background-color: var(--edge-navy);
	background-image: linear-gradient(105deg, rgba(12, 35, 64, 0.93) 0%, rgba(12, 35, 64, 0.82) 45%, rgba(12, 35, 64, 0.72) 100%), url("../images/biz-legal-hub-bg.jpg");
	background-size: cover;
	background-position: center 45%;
	background-repeat: no-repeat;
	color: var(--edge-white);
	text-align: center;
}

.edge-hub-guides .edge-block-guides,
.edge-hub-guides .wp-block-edge-guides {
	background-color: transparent;
	background-image: none;
}

/* Overview + accordion */
.edge-hub-overview {
	padding: 56px 20px;
	background: var(--edge-white);
}

.edge-hub-overview__inner,
.edge-hub-cta__inner {
	max-width: var(--edge-container-text);
	margin: 0 auto;
}

.edge-hub-overview__title {
	font-family: var(--edge-font-serif);
	font-size: 26px;
	font-weight: 600;
	color: var(--edge-navy);
	margin: 0 0 12px;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.edge-hub-overview__intro {
	font-size: 14px;
	color: var(--edge-muted-2);
	line-height: 1.7;
	margin: 0 0 40px;
}

.edge-accordion {
	border-top: 1px solid rgba(30, 106, 149, 0.12);
}

.edge-accordion > * {
	margin: 0 !important;
}

.edge-accordion .wp-block-details,
.edge-accordion__item {
	border-bottom: 1px solid rgba(30, 106, 149, 0.12);
	margin: 0;
	padding: 0;
	background: transparent;
}

.edge-accordion .wp-block-details summary,
.edge-accordion__item summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 44px 20px 0;
	position: relative;
	font-family: var(--edge-font-serif);
	font-size: 20px;
	font-weight: 600;
	color: var(--edge-navy);
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-align: left;
}

.edge-accordion .wp-block-details summary::-webkit-details-marker,
.edge-accordion__item summary::-webkit-details-marker {
	display: none;
}

.edge-accordion .wp-block-details summary::after,
.edge-accordion__item summary::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	border-radius: 50%;
	background-color: var(--edge-ice);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%231e6a95' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='2,4 6,8 10,4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	transition: background-color 0.2s, transform 0.25s;
}

.edge-accordion .wp-block-details[open] summary::after,
.edge-accordion__item[open] summary::after {
	background-color: var(--edge-navy);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='2,4 6,8 10,4'/%3E%3C/svg%3E");
	transform: rotate(180deg);
}

.edge-accordion .wp-block-details > :not(summary) {
	font-size: 14px;
	color: var(--edge-slate);
	line-height: 1.8;
	margin: 0 0 4px;
}

.edge-accordion .wp-block-details > :last-child {
	margin-bottom: 20px;
}

.edge-accordion .wp-block-details > .edge-accordion__sub,
.edge-accordion__sub {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--edge-blue);
	margin: 24px 0 10px !important;
	line-height: 1.4;
}

.edge-accordion .wp-block-details > summary + .edge-accordion__sub {
	margin-top: 0 !important;
}

.edge-accordion .wp-block-details > p + p {
	margin-top: 0;
}

.edge-accordion .wp-block-details > .edge-accordion__gap {
	margin-top: 24px !important;
}

.edge-hub-callout {
	margin-top: 48px;
	padding: 20px;
	background: var(--edge-ice);
	border-left: 3px solid var(--edge-blue);
}

.edge-hub-callout p {
	font-size: 14px;
	color: var(--edge-slate);
	line-height: 1.7;
	margin: 0;
}

.edge-hub-callout strong {
	color: var(--edge-navy);
}

/* Quote */
.edge-hub-quote {
	background: var(--edge-ice);
	padding: 56px 20px;
}

.edge-hub-quote__inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.edge-hub-quote__eyebrow {
	font-size: 14px;
	color: var(--edge-blue);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 600;
	margin: 0 0 24px;
}

.edge-hub-quote .wp-block-quote,
.edge-hub-quote__quote {
	margin: 0;
	padding: 0;
	border: 0;
}

.edge-hub-quote .wp-block-quote p,
.edge-hub-quote__quote p {
	font-family: var(--edge-font-serif);
	font-size: 24px;
	font-style: italic;
	font-weight: 400;
	color: var(--edge-navy);
	line-height: 1.4;
	letter-spacing: -0.01em;
	margin: 0 0 24px;
}

.edge-hub-quote .wp-block-quote cite,
.edge-hub-quote__quote cite {
	display: block;
	font-family: var(--edge-font-sans);
	font-style: normal;
	font-size: 13px;
	color: #7a9ab5;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* CTA + form */
.edge-hub-cta {
	background: var(--edge-white);
	padding: 56px 20px 64px;
}

.edge-hub-cta__head {
	text-align: center;
	margin-bottom: 48px;
}

.edge-hub-cta__title {
	font-family: var(--edge-font-serif);
	font-size: 26px;
	font-weight: 600;
	color: var(--edge-navy);
	line-height: 1.2;
	letter-spacing: -0.01em;
	max-width: 600px;
	margin: 0 auto 16px;
}

.edge-hub-cta__body {
	font-size: 15px;
	color: var(--edge-muted-2);
	line-height: 1.7;
	max-width: 520px;
	margin: 0 auto;
}

.edge-hub-cta__form {
	min-height: 320px;
}

@media (min-width: 768px) {
	.edge-hub-insights,
	.edge-hub-overview {
		padding: 80px var(--edge-px-wide);
	}

	.edge-hub-insights__title,
	.edge-hub-overview__title {
		font-size: 36px;
	}

	.edge-hub-overview__intro {
		font-size: 16px;
	}

	.edge-accordion .wp-block-details summary,
	.edge-accordion__item summary {
		padding: 24px 44px 24px 0;
		font-size: 24px;
	}

	.edge-accordion .wp-block-details > :not(summary) {
		font-size: 15px;
	}

	.edge-accordion .wp-block-details > :last-child {
		margin-bottom: 28px;
	}

	.edge-hub-callout {
		padding: 24px 28px;
	}

	.edge-hub-callout p {
		font-size: 15px;
	}

	.edge-hub-quote {
		padding: 72px var(--edge-px-wide);
	}

	.edge-hub-quote__eyebrow {
		font-size: 15px;
	}

	.edge-hub-quote .wp-block-quote p,
	.edge-hub-quote__quote p {
		font-size: 34px;
	}

	.edge-hub-cta {
		padding: 80px var(--edge-px-wide) 96px;
	}

	.edge-hub-cta__title {
		font-size: 38px;
	}

	.edge-hub-cta__body {
		font-size: 17px;
	}
}

/* --------------------------------------------------------------------------
   16. Legal pages (page-legal template: Privacy Policy / Terms)
   -------------------------------------------------------------------------- */
.edge-legal-hero {
	background: #f5f9fc;
	border-bottom: 1px solid var(--edge-line);
	padding: 40px 20px 36px;
}

.edge-legal-hero__inner,
.edge-legal-body__inner {
	max-width: var(--edge-container-text);
	margin: 0 auto;
}

.edge-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 12px;
	color: var(--edge-slate);
}

.edge-breadcrumb a {
	color: var(--edge-blue);
	font-weight: 500;
	text-decoration: none;
}

.edge-breadcrumb__sep {
	color: #9ab0c4;
}

.edge-breadcrumb .wp-block-post-title,
.edge-breadcrumb h1,
.edge-breadcrumb p {
	font-family: var(--edge-font-sans);
	font-size: 12px;
	font-weight: 400;
	color: var(--edge-slate);
	margin: 0;
	line-height: 1.4;
	letter-spacing: 0;
}

.edge-breadcrumb .edge-breadcrumb__nav {
	font-size: 12px;
	gap: 0;
	margin: 0;
}

.edge-breadcrumb .edge-breadcrumb__nav .wp-block-navigation-item__content {
	font-family: var(--edge-font-sans);
	font-size: 12px;
	font-weight: 500;
	color: var(--edge-blue);
	text-transform: none;
	letter-spacing: 0;
	padding: 0;
}

.edge-breadcrumb .edge-breadcrumb__nav .wp-block-navigation-item__content:hover {
	color: var(--edge-navy);
}

.edge-breadcrumb > * {
	margin: 0 !important;
}

.edge-legal-hero__eyebrow {
	margin-bottom: 12px;
}

.edge-legal-hero__title {
	font-family: var(--edge-font-serif);
	font-size: 32px;
	font-weight: 600;
	color: var(--edge-navy);
	line-height: 1.15;
	margin: 0 0 12px;
	letter-spacing: -0.01em;
}

.edge-legal__updated {
	font-size: 13px;
	color: #6b8ba4;
	font-weight: 400;
	margin: 0;
}

.edge-legal-body {
	flex: 1;
	padding: 48px 20px;
	background: var(--edge-white);
}

.edge-legal-body .wp-block-post-content > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.edge-legal-body h2 {
	font-family: var(--edge-font-sans);
	font-size: 14px;
	font-weight: 600;
	color: var(--edge-navy);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.4;
	margin: 0 0 14px;
}

.edge-legal-body h2 {
	margin-top: 36px;
	padding-top: 36px;
	border-top: 1px solid var(--edge-line);
}

.edge-legal-body h2:first-child,
.edge-legal-body .edge-legal__updated + h2,
.edge-legal-body .edge-legal__notice + h2,
.edge-legal-body .edge-legal__notice h2 {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.edge-legal-body .edge-legal__updated {
	margin: 0 0 32px;
}

.edge-legal-body .edge-legal-cta__text {
	margin: 0;
}

.edge-legal-body p {
	font-size: 14px;
	color: var(--edge-slate);
	line-height: 1.75;
	font-weight: 300;
	margin: 0 0 16px;
}

.edge-legal-body ul,
.edge-legal-body ol {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.edge-legal-body li {
	position: relative;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	color: var(--edge-slate);
	line-height: 1.7;
	font-weight: 300;
}

.edge-legal-body li::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--edge-blue);
	flex-shrink: 0;
	opacity: 0.6;
	margin-top: 7px;
}

.edge-legal__notice {
	margin-bottom: 36px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--edge-line);
}

.edge-legal__notice h2 {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: 0 !important;
}

.edge-legal__notice p:last-child {
	margin-bottom: 0;
}

.edge-legal-cta {
	margin-top: 48px;
	padding-top: 40px;
	border-top: 2px solid var(--edge-line);
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
}

.edge-legal-cta p {
	font-size: 14px;
	color: var(--edge-muted-2);
	line-height: 1.6;
	margin: 0;
	font-weight: 400;
}

.edge-legal-cta .wp-block-button__link {
	border-radius: 0;
	background: var(--edge-navy);
	box-shadow: none;
}

.edge-legal-cta .wp-block-button__link:hover {
	background: var(--edge-blue);
	opacity: 1;
	transform: none;
}

@media (min-width: 768px) {
	.edge-legal-hero {
		padding: 56px var(--edge-px-wide) 48px;
	}

	.edge-legal-hero__title {
		font-size: 44px;
	}

	.edge-legal-body {
		padding: 72px var(--edge-px-wide);
	}

	.edge-legal-body h2 {
		font-size: 15px;
	}

	.edge-legal-body h2 {
		margin-top: 48px;
		padding-top: 48px;
	}

	.edge-legal-body h2:first-child,
	.edge-legal-body .edge-legal__updated + h2,
	.edge-legal-body .edge-legal__notice + h2,
	.edge-legal-body .edge-legal__notice h2 {
		margin-top: 0;
		padding-top: 0;
	}

	.edge-legal-body p,
	.edge-legal-body li {
		font-size: 15px;
	}

	.edge-legal__notice {
		margin-bottom: 48px;
		padding-bottom: 48px;
	}

	.edge-legal-cta {
		flex-direction: row;
		align-items: center;
	}
}

/* --------------------------------------------------------------------------
   17. Insight single (single-edge_insight.html)
   -------------------------------------------------------------------------- */
.edge-article {
	min-height: 100vh;
	background: var(--edge-ice);
}

.edge-article__inner {
	max-width: var(--edge-container-article);
	margin: 0 auto;
	padding: 48px 20px 80px;
}

.edge-article__inner > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.edge-article__back {
	margin-bottom: 48px;
}

.edge-article__back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--edge-blue);
	font-family: var(--edge-font-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.edge-article__back a::before {
	content: "";
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M10 3L5 8L10 13' stroke='%231e6a95' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.edge-article__meta-top {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 12px;
}

.edge-article__lang {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--edge-blue);
	border: 1px solid var(--edge-blue);
	padding: 3px 8px;
	line-height: 1.4;
	margin: 0;
}

.edge-article__lang:empty {
	display: none;
}

.edge-article__category,
.edge-article__category a {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--edge-sky);
	text-decoration: none;
	margin: 0;
}

.edge-article__category .wp-block-post-terms__prefix,
.edge-article__category .wp-block-post-terms__suffix {
	display: none;
}

.edge-article__title {
	font-family: var(--edge-font-serif);
	font-size: clamp(28px, 7vw, 38px);
	font-weight: 600;
	line-height: 1.1;
	color: var(--edge-navy);
	letter-spacing: -0.01em;
	margin: 0 0 28px;
}

.edge-article__byline {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: flex-start;
	margin-bottom: 48px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--edge-line);
}

.edge-article__author {
	font-size: 14px;
	font-weight: 600;
	color: var(--edge-navy);
	margin: 0;
}

.edge-article__pub,
.edge-article__date {
	font-size: 13px;
	color: #93afc4;
	margin: 0;
}

.edge-article__pub:empty,
.edge-article__date:empty,
.edge-article__author:empty {
	display: none;
}

.edge-article__pub:not(:empty) + .edge-article__date:not(:empty)::before {
	content: ", ";
}

.edge-article__body {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.edge-article__body > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.edge-article__body p {
	font-family: var(--edge-font-sans);
	font-size: 16px;
	line-height: 1.8;
	color: var(--edge-slate);
	font-weight: 300;
	margin: 0;
}

.edge-article__body h2,
.edge-article__body h3 {
	margin-top: 8px;
}

.edge-article__body ul,
.edge-article__body ol {
	margin: 0;
	padding-left: 20px;
	font-size: 16px;
	line-height: 1.8;
	color: var(--edge-slate);
	font-weight: 300;
}

.edge-article__footer {
	margin-top: 64px;
	padding-top: 40px;
	border-top: 1px solid var(--edge-line);
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
}

.edge-article__footer-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--edge-sky);
	margin: 0 0 6px;
}

.edge-article__footer-text {
	font-size: 14px;
	color: var(--edge-slate);
	font-weight: 300;
	margin: 0;
}

.edge-article__footer .wp-block-button__link {
	border-radius: 0;
	background: var(--edge-navy);
	box-shadow: none;
	padding: 14px 28px;
}

.edge-article__footer .wp-block-button__link:hover {
	background: var(--edge-blue);
	opacity: 1;
	transform: none;
}

@media (min-width: 768px) {
	.edge-article__inner {
		padding: 72px 40px 120px;
	}

	.edge-article__title {
		font-size: clamp(36px, 4vw, 52px);
	}

	.edge-article__byline {
		flex-direction: row;
		align-items: center;
		gap: 12px;
	}

	.edge-article__author::after {
		content: "\00b7";
		color: var(--edge-line);
		margin-left: 12px;
		font-weight: 400;
	}

	.edge-article__author:has(+ .edge-article__pub:empty + .edge-article__date:empty)::after {
		content: none;
	}

	.edge-article__body p,
	.edge-article__body ul,
	.edge-article__body ol {
		font-size: 17px;
	}

	.edge-article__footer {
		flex-direction: row;
		align-items: center;
	}

	.edge-article__footer .wp-block-button__link {
		padding: 12px 28px;
	}
}

/* --------------------------------------------------------------------------
   18. Generic page / index / 404
   -------------------------------------------------------------------------- */
.edge-page-body {
	padding: 48px 20px 80px;
	background: var(--edge-white);
}

.edge-page-body__inner {
	max-width: var(--edge-container-text);
	margin: 0 auto;
}

.edge-page-body p {
	font-size: 16px;
	line-height: 1.75;
	font-weight: 300;
	color: var(--edge-slate);
}

.edge-page-body h2 {
	font-size: clamp(26px, 3vw, 34px);
	margin-top: 40px;
	margin-bottom: 12px;
}

.edge-page-body h3 {
	font-size: 22px;
	margin-top: 28px;
	margin-bottom: 8px;
}

.edge-page-body ul,
.edge-page-body ol {
	padding-left: 20px;
	font-weight: 300;
}

.edge-archive {
	padding: 48px 20px 80px;
}

.edge-archive__inner {
	max-width: var(--edge-container-text);
	margin: 0 auto;
}

.edge-archive__item {
	padding: 28px 0;
	border-bottom: 1px solid var(--edge-line);
}

.edge-archive__item .wp-block-post-title {
	font-size: 26px;
	margin-bottom: 8px;
}

.edge-archive__item .wp-block-post-title a {
	color: var(--edge-navy);
}

.edge-archive__item .wp-block-post-date {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--edge-muted);
	margin-bottom: 8px;
}

.edge-archive__item .wp-block-post-excerpt p {
	font-size: 15px;
	line-height: 1.7;
	font-weight: 300;
}

.edge-archive .wp-block-query-pagination {
	margin-top: 32px;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 600;
}

.edge-404 {
	min-height: 70vh;
	background: var(--edge-ice);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 16px;
	padding: 80px 20px;
}

.edge-404__code {
	font-family: var(--edge-font-serif);
	font-size: clamp(64px, 12vw, 120px);
	line-height: 0.95;
	color: var(--edge-navy);
	margin: 0;
}

.edge-404__text {
	font-size: 16px;
	color: var(--edge-slate);
	max-width: 420px;
	margin: 0 0 8px;
}

@media (min-width: 768px) {
	.edge-page-body,
	.edge-archive {
		padding: 72px var(--edge-px-wide) 100px;
	}
}

/* --------------------------------------------------------------------------
   19. Plugin-owned UI (bio modal, testimonials carousel, practice tabs, WhatsApp FAB,
       accessibility widget, cookie banner) is styled by edge-legal-core; the theme only
       supplies the tokens and utilities above.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   20. Editor niceties
   -------------------------------------------------------------------------- */
.editor-styles-wrapper .edge-hero,
.editor-styles-wrapper .edge-story,
.editor-styles-wrapper .edge-insights,
.editor-styles-wrapper .edge-linkedin,
.editor-styles-wrapper .edge-page-hero--team,
.editor-styles-wrapper .edge-page-hero--hub,
.editor-styles-wrapper .edge-hub-guides {
	color: var(--edge-white);
}

.editor-styles-wrapper .edge-hero {
	padding-top: 80px;
}

.editor-styles-wrapper .edge-header-wrap {
	position: relative;
}

.edge-footer-wrap {
	margin: 0 !important;
}

/* Print */
@media print {
	.edge-header,
	.edge-footer,
	.edge-whatsapp-fab {
		display: none !important;
	}

	.edge-hero,
	.edge-story,
	.edge-insights,
	.edge-linkedin {
		background: none !important;
		color: #000 !important;
	}
}
