/**
 * SECIL theme styles — base + header
 */

/* -------------------------------------------------------------------------
   Lato (self-hosted)
   ------------------------------------------------------------------------- */
@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/lato/lato-300-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/lato/lato-400-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/lato/lato-700-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url("../fonts/lato/lato-900-normal.woff2") format("woff2");
}

/* -------------------------------------------------------------------------
   Design tokens
   ------------------------------------------------------------------------- */
:root {
	--secil-navy: #31415f;
	--secil-ink: #242c3a;
	--secil-cream: #f8f6f1;
	--secil-accent: #5cb3d7;
	--secil-logo-bar: #6b73ad;
	--secil-link: #005ac1;
	--secil-font: "Lato", Helvetica, Arial, sans-serif;
	--secil-header-pad-x: 20px;
	--secil-header-pad-top: 20px;
	--secil-header-pad-bottom: 20px;
	/* Horizontal content gutter (Bootstrap default 15px; stronger on small screens) */
	--secil-gutter-x: 15px;
	/* Flexible content backgrounds */
	--secil-fc-white: #ffffff;
	--secil-fc-grey: #e3e6eb;
	/* Logo i-dot / “bug” arrow (see img/secil-arrow.svg) */
	--secil-arrow: url("../img/secil-arrow.svg");
	--secil-arrow-accent: url("../img/secil-arrow-accent.svg");
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */
html {
	box-sizing: border-box;
	/* clip avoids creating a scroll container (hidden breaks position:sticky). */
	overflow-x: clip;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	overflow-x: clip;
	font-family: var(--secil-font);
	font-weight: 400;
	color: var(--secil-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--secil-link);
}

a:hover,
a:focus {
	color: var(--secil-accent);
}

#page.site {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.site-content {
	padding: 0;
}

/*
 * Keep Bootstrap gutters on all breakpoints (incl. phones).
 * Some full-bleed layouts / overflow clipping can make content look flush.
 */
.container,
.container-fluid {
	padding-left: var(--secil-gutter-x);
	padding-right: var(--secil-gutter-x);
}

@media (max-width: 767px) {
	:root {
		--secil-gutter-x: 20px;
	}

	.container,
	.container-fluid {
		width: auto;
		max-width: 100%;
		padding-left: var(--secil-gutter-x);
		padding-right: var(--secil-gutter-x);
	}

	/* Header keeps its own 20px; match content gutters explicitly in main. */
	.site-main .container,
	.site-main .container-fluid,
	.page-hero .container,
	.professional-contact .container,
	.latest-pagination .container,
	.site-footer .container,
	.fc-section > .container {
		padding-left: var(--secil-gutter-x);
		padding-right: var(--secil-gutter-x);
	}
}

/* -------------------------------------------------------------------------
   Page title (H1)
   ------------------------------------------------------------------------- */
.page-title {
	padding-top: 40px;
	padding-bottom: 24px;
}

.page-title__heading {
	margin: 0;
	font-family: var(--secil-font);
	font-size: 36px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--secil-ink);
}

@media (max-width: 1199px) {
	.page-title {
		padding-top: 28px;
		padding-bottom: 16px;
	}

	.page-title__heading {
		font-size: 28px;
	}
}

/* -------------------------------------------------------------------------
   Site header (desktop chrome; mobile hamburger shell)
   ------------------------------------------------------------------------- */
.site-header {
	background-color: var(--secil-navy);
	color: #fff;
	position: relative;
	z-index: 100;
}

.site-header a {
	color: #fff;
	text-decoration: none;
}

.site-header a:hover,
.site-header a:focus {
	color: #fff;
	text-decoration: none;
	background-color: transparent;
}

.site-header .container-fluid {
	padding-left: var(--secil-header-pad-x);
	padding-right: var(--secil-header-pad-x);
}

.site-header__bar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	min-height: 0;
	padding-top: var(--secil-header-pad-top);
	padding-bottom: var(--secil-header-pad-bottom);
}

.site-header__brand {
	display: flex;
	align-items: flex-start;
	flex: 0 1 auto;
	/* Edits/Divi row gap between logo (3/24) and tagline columns ≈ 0.5% */
	gap: 8px;
	min-width: 0;
}

.site-header__logo-link {
	display: block;
	line-height: 0;
	flex: 0 0 auto;
}

.site-header__logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
}

.site-header__tagline {
	display: none;
	margin: 0;
	/* Optically match the top of the "secil" letterforms (not vertically centered on the full logo). */
	padding: 0 0 0 8px;
	transform: translateY(-4px);
	font-family: var(--secil-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	white-space: nowrap;
	flex: 0 0 auto;
}

.site-header__end {
	display: none;
	/* Edits: menu is vertically centered with the Chambers badge (top:50% / translateY(-50%)). */
	align-items: center;
	flex: 0 0 auto;
	/* ≈ space between menu (right:130px) and 120px badge */
	gap: 10px;
	margin-left: auto;
	padding-top: 0;
}

.site-header__nav {
	display: flex;
	justify-content: flex-end;
}

.site-header__menu {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header__menu > li {
	margin: 0;
	/* Divi .et-menu li { padding-right: 22px } — last child 0 */
	padding: 0 22px 0 0;
	float: none;
}

.site-header__menu > li:last-child {
	padding-right: 0;
}

.site-header__menu > li > a {
	display: inline-block;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.01em;
	/* Match edits/Divi menu treatment */
	text-shadow: 0.08em 0.08em 0 rgba(0, 0, 0, 0.4);
	/* Override Bootstrap .nav > li > a { padding: 10px 15px }; Divi uses a little bottom pad */
	padding: 0 0 8px;
	white-space: nowrap;
}

.site-header__menu > li > a:hover,
.site-header__menu > li > a:focus,
.site-header__menu > li.open > a,
.site-header__menu > li.open > a:hover,
.site-header__menu > li.open > a:focus,
.site-header__menu > li.active > a:hover,
.site-header__menu > li.active > a:focus {
	color: #fff;
	background-color: transparent;
	background-image: none;
}

/* Edits header keeps current item white (no accent / bold). */
.site-header__menu > li.current-menu-item > a,
.site-header__menu > li.current-menu-ancestor > a,
.site-header__menu > li.current_page_item > a,
.site-header__menu > li.current_page_ancestor > a,
.site-header__menu > li.active > a {
	color: #fff;
	font-weight: 400;
	background-color: transparent;
	background-image: none;
}

.site-header__menu > li.current-menu-item > a:hover,
.site-header__menu > li.current-menu-ancestor > a:hover,
.site-header__menu > li.current_page_item > a:hover,
.site-header__menu > li.current_page_ancestor > a:hover,
.site-header__menu > li.active > a:hover,
.site-header__menu > li.current-menu-item > a:focus,
.site-header__menu > li.current-menu-ancestor > a:focus,
.site-header__menu > li.current_page_item > a:focus,
.site-header__menu > li.current_page_ancestor > a:focus,
.site-header__menu > li.active > a:focus {
	color: #fff;
	background-color: transparent;
	background-image: none;
}

.site-header__badge {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.site-header__badge img {
	display: block;
	width: 120px;
	height: auto;
}

.site-header__toggle {
	display: none;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--secil-accent);
	cursor: pointer;
}

.site-header__toggle-box {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 26px;
	height: 18px;
}

.site-header__toggle-box span {
	display: block;
	height: 2px;
	width: 100%;
	background: currentColor;
	border-radius: 1px;
}

/* Desktop: brand + tagline left; nav + badge right; hide hamburger */
@media (min-width: 1200px) {
	.site-header__tagline {
		display: block;
	}

	.site-header__end {
		display: flex;
	}

	.site-header__toggle {
		display: none !important;
	}

	/*
	 * Match edits/Divi logo column: et_flex_column_3_24 (12.5% of header row).
	 * Must use viewport-based width — % of nested .site-header__brand collapses.
	 */
	.site-header__logo-link {
		flex: 0 0 auto;
		width: calc((100vw - (var(--secil-header-pad-x) * 2)) * 0.125);
	}

	.site-header__logo {
		width: 100%;
		height: auto;
	}
}

/* Below desktop breakpoint: logo + hamburger; WP primary menu; no Chambers badge */
@media (max-width: 1199px) {
	.site-header__tagline {
		display: none;
	}

	.site-header__toggle {
		display: inline-flex;
		margin-left: auto;
		order: 2;
	}

	.site-header__logo-link {
		flex: 0 0 auto;
		width: auto;
	}

	.site-header__logo {
		width: auto;
		height: 52px;
	}

	.site-header__bar {
		flex-wrap: wrap;
		min-height: 72px;
		padding-top: 16px;
		padding-bottom: 16px;
	}

	.site-header__end {
		display: none;
		flex: 1 0 100%;
		flex-direction: column;
		align-items: stretch;
		order: 3;
		gap: 0;
		margin-left: 0;
		padding-top: 8px;
		padding-bottom: 8px;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	/*
	 * Solid full-bleed navy when hamburger is open.
	 * Must beat .has-page-hero .site-header (transparent + gradient).
	 */
	.site-header.is-nav-open,
	.has-page-hero .site-header.is-nav-open {
		background-color: var(--secil-navy);
		background-image: none;
	}

	.site-header.is-nav-open .site-header__end {
		display: flex;
	}

	.site-header__badge {
		display: none !important;
	}

	.site-header__nav {
		width: 100%;
		justify-content: flex-start;
	}

	.site-header__menu {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		justify-content: flex-start;
		width: 100%;
		gap: 0;
	}

	.site-header__menu > li {
		padding-right: 0;
	}

	.site-header__menu > li > a {
		display: block;
		width: 100%;
		padding: 14px 0 !important;
		font-size: 17px;
		text-shadow: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		white-space: normal;
	}

	.site-header__menu > li:last-child > a {
		border-bottom: 0;
	}

	.site-header__menu .dropdown-menu {
		position: static;
		float: none;
		width: 100%;
		margin: 0;
		padding: 0 0 0 14px;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	.site-header__menu .dropdown-menu > li > a {
		display: block;
		padding: 10px 0;
		color: #fff;
	}

	.site-header .container-fluid {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* -------------------------------------------------------------------------
   fitem-btn — expand-on-hover CTA with logo i-arrow
   Usage: <a class="fitem-btn" href="…">Explore Our Capabilities</a>
   Variants: .fitem-btn--outline | .fitem-btn--light | .fitem-btn--dark
   ------------------------------------------------------------------------- */
.fitem-btn {
	--fitem-bg: var(--secil-accent);
	--fitem-fg: #fff;
	--fitem-arrow: #fff;
	--fitem-pad-y: 0.85em;
	--fitem-pad-x: 1.35em;
	--fitem-arrow-size: 0.85em;

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	max-width: 100%;
	margin: 0;
	padding: var(--fitem-pad-y) var(--fitem-pad-x);
	border: 2px solid transparent;
	border-radius: 0;
	background-color: var(--fitem-bg);
	color: var(--fitem-fg);
	font-family: var(--secil-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
	transition:
		background-color 0.25s ease,
		border-color 0.25s ease,
		color 0.25s ease,
		padding 0.35s ease,
		gap 0.35s ease;
}

.fitem-btn::after {
	content: "";
	flex: 0 0 auto;
	width: 0;
	height: var(--fitem-arrow-size);
	margin-left: 0;
	opacity: 0;
	background-color: var(--fitem-arrow);
	-webkit-mask: var(--secil-arrow) center / contain no-repeat;
	mask: var(--secil-arrow) center / contain no-repeat;
	transform: translateX(-4px) rotate(-45deg);
	transform-origin: center center;
	transition:
		width 0.35s ease,
		margin-left 0.35s ease,
		opacity 0.25s ease,
		transform 0.35s ease;
}

.fitem-btn:hover,
.fitem-btn:focus {
	color: var(--fitem-fg);
	text-decoration: none;
	padding-right: calc(var(--fitem-pad-x) + 0.15em);
	gap: 0.65em;
}

.fitem-btn:hover::after,
.fitem-btn:focus::after {
	width: var(--fitem-arrow-size);
	margin-left: 0;
	opacity: 1;
	transform: translateX(0) rotate(-45deg);
}

.fitem-btn:focus {
	outline: 2px solid var(--secil-accent);
	outline-offset: 3px;
}

.fitem-btn--outline {
	--fitem-bg: transparent;
	--fitem-fg: var(--secil-accent);
	--fitem-arrow: var(--secil-accent);
	border-color: var(--secil-accent);
}

.fitem-btn--outline:hover,
.fitem-btn--outline:focus {
	--fitem-bg: var(--secil-accent);
	--fitem-fg: #fff;
	--fitem-arrow: #fff;
}

.fitem-btn--light {
	--fitem-bg: #fff;
	--fitem-fg: var(--secil-navy);
	--fitem-arrow: var(--secil-accent);
}

.fitem-btn--dark {
	--fitem-bg: var(--secil-navy);
	--fitem-fg: #fff;
	--fitem-arrow: var(--secil-accent);
}

.fitem-btn--outline-light {
	--fitem-bg: transparent;
	--fitem-fg: #fff;
	--fitem-arrow: #fff;
	border-color: #fff;
}

.fitem-btn--outline-light:hover,
.fitem-btn--outline-light:focus {
	--fitem-bg: #fff;
	--fitem-fg: var(--secil-navy);
	--fitem-arrow: var(--secil-accent);
	border-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.fitem-btn,
	.fitem-btn::after {
		transition: none;
	}
}

/* -------------------------------------------------------------------------
   fitem-list — custom bullets = logo arrow rotated -45° (arrow points right)
   Usage: <ul class="fitem-list">…</ul>
   Saved for later use in flexible content / body copy.
   ------------------------------------------------------------------------- */
.fitem-list {
	list-style: none;
	margin: 0 0 1.25em;
	padding: 0;
}

.fitem-list > li {
	position: relative;
	margin: 0 0 0.65em;
	padding-left: 1.65em;
}

.fitem-list > li:last-child {
	margin-bottom: 0;
}

.fitem-list > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 0.8em;
	height: 0.8em;
	background-color: var(--secil-accent);
	-webkit-mask: var(--secil-arrow) center / contain no-repeat;
	mask: var(--secil-arrow) center / contain no-repeat;
	transform: rotate(-45deg);
	transform-origin: center center;
}

.fitem-list--ink > li::before {
	background-color: var(--secil-ink);
}

.fitem-list--cream > li::before {
	background-color: var(--secil-cream);
}

.fitem-list ul {
	list-style: disc;
	margin: 0.35em 0 0.55em;
	padding-left: 1.15em;
}

.fitem-list ul > li {
	padding-left: 0;
}

.fitem-list ul > li::before {
	content: none;
}

/* -------------------------------------------------------------------------
   Page hero (overlay header) + Professionals landing
   ------------------------------------------------------------------------- */
.has-page-hero .site-header {
	position: absolute;
	/* Absolute headers sit under the fixed admin bar unless offset. */
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	z-index: 200;
	background-color: transparent;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Fallbacks when core does not expose --wp-admin--admin-bar--height. */
.admin-bar.has-page-hero .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar.has-page-hero .site-header {
		top: 46px;
	}
}

@supports (top: var(--wp-admin--admin-bar--height)) {
	.admin-bar.has-page-hero .site-header {
		top: var(--wp-admin--admin-bar--height, 0px);
	}
}

.has-page-hero .site-main {
	padding-top: 0;
}

.page-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	padding-top: 450px;
	background-color: var(--secil-navy);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
}

/* Default SECIL placeholder — bottom-align so the mark crops cleanly. */
.page-hero[style*="bg-secil-default"],
.latest-card[style*="bg-secil-default"] {
	background-position: center bottom;
}

.page-hero--empty {
	padding-top: 220px;
}

.page-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.19) 55%, rgba(0, 0, 0, 0.19) 100%);
	pointer-events: none;
}

/* Single posts: match edits — even 50% dark mask over the hero image. */
.page-hero--post .page-hero__overlay {
	background: rgba(0, 0, 0, 0.5);
}

.page-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-bottom: 40px;
}

.page-hero__title {
	margin: 0 0 60px;
	font-family: var(--secil-font);
	font-size: clamp(36px, 4.5vw, 52px);
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	text-shadow: 0.08em 0.08em 0.08em rgba(0, 0, 0, 0.4);
}

.page-hero--solid {
	background-image: none;
}

.page-hero--solid .page-hero__overlay {
	display: none;
}

.page-hero--home {
	padding-top: 220px;
	background-color: var(--secil-ink);
}

.page-hero--home .page-hero__title {
	max-width: 18em;
	margin-bottom: 48px;
	/* Match old Divi home H1: 30px / weight 400 */
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
}

@media (max-width: 767px) {
	.page-hero--home .page-hero__title {
		font-size: 26px;
	}
}

.page-intro,
.professionals-intro {
	padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 4vw, 40px);
	background: #e8eaee;
}

.page-intro__title,
.professionals-intro__title {
	margin: 0 0 0.55em;
	font-family: var(--secil-font);
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--secil-ink);
}

.page-intro__text,
.professionals-intro__text {
	max-width: none;
	font-size: 17px;
	line-height: 1.65;
	color: #555;
}

.page-intro__text p,
.professionals-intro__text p {
	margin: 0 0 1em;
}

.page-intro__text p:last-child,
.professionals-intro__text p:last-child {
	margin-bottom: 0;
}

.professionals-grid-section {
	padding: 0 0 clamp(48px, 7vw, 88px);
	background: #e8eaee;
}

.professionals-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.professionals-grid__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	background-color: var(--secil-ink);
	color: #fff;
	text-decoration: none;
	text-align: center;
	transition: background-color 0.3s ease;
}

.professionals-grid__card:hover,
.professionals-grid__card:focus {
	background-color: #394560;
	color: #fff;
	text-decoration: none;
}

.professionals-grid__media {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1.05;
	overflow: hidden;
	background: var(--secil-navy);
	transition: background-color 0.3s ease;
}

.professionals-grid__card:hover .professionals-grid__media,
.professionals-grid__card:focus .professionals-grid__media {
	background-color: #6b7b9a;
}

.professionals-grid__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 100%;
	margin: 0 auto;
	object-fit: contain;
	object-position: center bottom;
}

.professionals-grid__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(160deg, #3a4a66 0%, var(--secil-navy) 100%);
}

.professionals-grid__meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 18px 16px 22px;
	text-align: center;
}

.professionals-grid__name {
	display: block;
	font-family: var(--secil-font);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.professionals-grid__title {
	display: block;
	margin-top: 2px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 991px) {
	.professionals-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 18px;
	}
}

@media (max-width: 767px) {
	.page-hero {
		padding-top: 200px;
	}

	.page-hero__title {
		margin-bottom: 24px;
	}
}

@media (max-width: 575px) {
	.professionals-grid {
		grid-template-columns: 1fr;
		max-width: 360px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* -------------------------------------------------------------------------
   Single professional profile
   ------------------------------------------------------------------------- */
.page-hero--professional {
	padding-top: 280px;
	min-height: 100vh;
}

.page-hero--professional .page-hero__title {
	margin-bottom: 18px;
	max-width: 18ch;
}

.page-hero__lead {
	max-width: 52rem;
	margin-bottom: 28px;
	padding-bottom: 8px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	color: #fff;
	text-shadow: 0.06em 0.06em 0.08em rgba(0, 0, 0, 0.35);
}

.page-hero__lead p {
	margin: 0 0 0.85em;
}

.page-hero__lead p:last-child {
	margin-bottom: 0;
}

.page-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 18px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	transform: translateX(-50%);
	color: #fff;
}

.page-hero__scroll span {
	display: block;
	width: 14px;
	height: 14px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.9;
}

.professional-contact {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 180;
	background: #f1ebe0;
	padding: 22px 0;
	box-shadow: 0 1px 0 rgba(36, 44, 58, 0.08);
}

.admin-bar .professional-contact {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .professional-contact {
		top: 46px;
	}
}

@supports (top: var(--wp-admin--admin-bar--height)) {
	.admin-bar .professional-contact {
		top: var(--wp-admin--admin-bar--height, 0px);
	}
}

.professional-contact > .container {
	/* Same Bootstrap .container as hero / bio — no extra width or pad. */
	padding-left: var(--secil-gutter-x);
	padding-right: var(--secil-gutter-x);
}

.professional-contact__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin: 0;
	padding: 0;
}

.professional-contact__heading {
	margin: 0;
	flex: 0 0 auto;
	font-family: var(--secil-font);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--secil-ink);
}

.professional-contact__icons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.professional-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(36, 44, 58, 0.35);
	color: var(--secil-ink);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.professional-contact__icon:hover,
.professional-contact__icon:focus {
	background: var(--secil-navy);
	border-color: var(--secil-navy);
	color: #fff;
	text-decoration: none;
}

.professional-contact__icon--linkedin {
	background: #0a66c2;
	border-color: #0a66c2;
	color: #fff;
}

.professional-contact__icon--linkedin:hover,
.professional-contact__icon--linkedin:focus {
	background: #004182;
	border-color: #004182;
	color: #fff;
}

.professional-contact__details {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	margin-left: auto;
	font-size: 15px;
	line-height: 1.4;
	text-align: right;
}

.professional-contact__details a {
	color: var(--secil-ink);
}

.professional-body {
	/* Fallback offset when JS is unavailable (sticky contact bar + admin bar). */
	scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px);
	padding: clamp(36px, 5vw, 64px) 0;
	background: #fff;
}

.admin-bar .professional-body {
	scroll-margin-top: calc(32px + 96px);
}

@media screen and (max-width: 782px) {
	.admin-bar .professional-body {
		scroll-margin-top: calc(46px + 96px);
	}
}

@supports (scroll-margin-top: var(--wp-admin--admin-bar--height)) {
	.admin-bar .professional-body {
		scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px);
	}
}

.professional-body__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.7fr);
	gap: 40px 48px;
	align-items: start;
}

.professional-bio {
	font-size: 17px;
	line-height: 1.7;
	color: #444;
}

.professional-bio::after {
	content: "";
	display: table;
	clear: both;
}

.professional-bio p {
	margin: 0 0 1.15em;
}

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

/* Chambers ranking badge floated in bio copy. */
.professional-bio .bio-chambers,
.professional-bio img[class*="chambers"],
.professional-bio img[src*="chambers"] {
	display: block;
	float: left;
	width: 155px;
	max-width: 100%;
	height: auto;
	padding: 0 25px 15px 0;
	margin: 0;
}

/* Badge often sits alone in a <p>; float that wrapper so following copy wraps. */
.professional-bio p:has(> .bio-chambers:only-child),
.professional-bio p:has(> img[class*="chambers"]:only-child),
.professional-bio p:has(> img[src*="chambers"]:only-child) {
	float: left;
	width: auto;
	max-width: calc(155px + 25px);
	margin: 0;
	padding: 0;
}

.professional-bio p:has(> .bio-chambers:only-child) .bio-chambers,
.professional-bio p:has(> img[class*="chambers"]:only-child) img,
.professional-bio p:has(> img[src*="chambers"]:only-child) img {
	float: none;
}

.professional-video {
	margin: 0 0 28px;
}

.professional-video__trigger {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--secil-navy);
	cursor: pointer;
}

.professional-video__trigger:focus {
	outline: 2px solid var(--secil-accent);
	outline-offset: 3px;
}

.professional-video__poster {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
}

.professional-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
	transform: translate(-50%, -50%);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.professional-video__play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 52%;
	border-style: solid;
	border-width: 12px 0 12px 20px;
	border-color: transparent transparent transparent #fff;
	transform: translate(-40%, -50%);
}

.professional-video__trigger:hover .professional-video__play,
.professional-video__trigger:focus .professional-video__play {
	background: var(--secil-accent);
	transform: translate(-50%, -50%) scale(1.05);
}

.professional-video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--secil-navy);
}

.professional-video__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.professional-video__caption {
	margin-top: 10px;
	font-size: 14px;
	font-style: italic;
	line-height: 1.45;
	color: #666;
}

.secil-video-modal {
	padding: 0;
	border: 0;
	background: transparent;
	max-width: min(960px, calc(100vw - 32px));
	width: 100%;
}

.secil-video-modal::backdrop {
	background: rgba(10, 14, 22, 0.82);
}

.secil-video-modal-open {
	overflow: hidden;
}

.secil-video-modal__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.secil-video-modal__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.secil-video-modal__close {
	position: absolute;
	top: -42px;
	right: 0;
	z-index: 2;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.secil-video-modal__close:hover,
.secil-video-modal__close:focus {
	color: var(--secil-accent);
}

.insights-feed__title {
	margin: 0 0 16px;
	font-family: var(--secil-font);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--secil-ink);
}

.insights-feed__list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.insights-card {
	position: relative;
	display: flex;
	min-height: 180px;
	background-color: var(--secil-navy);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.insights-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 28, 42, 0.35) 0%, rgba(20, 28, 42, 0.78) 100%);
}

.insights-card__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	width: 100%;
	padding: 28px 22px;
	text-align: center;
}

.insights-card__title {
	margin: 0;
	font-family: var(--secil-font);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.insights-card__title a {
	color: #fff;
	text-decoration: none;
}

.insights-card__title a:hover,
.insights-card__title a:focus {
	color: #fff;
	text-decoration: underline;
}

.insights-card__btn {
	font-size: 14px;
	--fitem-pad-y: 0.55em;
	--fitem-pad-x: 1.1em;
}

.professional-credentials {
	/* Lighter than the contact bar (#f1ebe0). */
	padding: clamp(40px, 5vw, 64px) 0;
	background: #f8f5ef;
}

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

.professional-credentials__title {
	margin: 0 0 14px;
	font-family: var(--secil-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--secil-navy);
}

.professional-credentials__content {
	font-size: 16px;
	line-height: 1.55;
	color: #444;
}

.professional-credentials__content h2,
.professional-credentials__content h3,
.professional-credentials__content h4,
.professional-credentials__content h5,
.professional-credentials__content h6 {
	margin: 1.15em 0 0.55em;
	font-family: var(--secil-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--secil-navy);
}

/* Match column H2 titles (.professional-credentials__title). */
.professional-credentials__content h5 {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--secil-navy);
	padding-top: 10px;
}

.professional-credentials__content h2:first-child,
.professional-credentials__content h3:first-child,
.professional-credentials__content h4:first-child,
.professional-credentials__content h5:first-child,
.professional-credentials__content h6:first-child {
	margin-top: 0;
}

/* SECIL i-arrow bullets — navy, smaller (top-level only). */
.professional-credentials__content ul {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
}

.professional-credentials__content ul > li {
	position: relative;
	margin: 0 0 0.55em;
	padding-left: 1.35em;
}

.professional-credentials__content ul > li:last-child {
	margin-bottom: 0;
}

.professional-credentials__content ul > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: calc(0.45em + 1px);
	width: 0.45em;
	height: 0.45em;
	background-color: var(--secil-navy);
	-webkit-mask: var(--secil-arrow) center / contain no-repeat;
	mask: var(--secil-arrow) center / contain no-repeat;
	transform: rotate(-45deg);
	transform-origin: center center;
}

.professional-credentials__content ul ul {
	list-style: disc;
	margin: 0.35em 0 0.55em;
	padding-left: 1.15em;
}

.professional-credentials__content ul ul > li {
	padding-left: 0;
}

.professional-credentials__content ul ul > li::before {
	content: none;
}

@media (max-width: 991px) {
	.professional-body__grid,
	.professional-credentials__grid {
		grid-template-columns: 1fr;
	}

	.professional-contact__details {
		align-items: flex-start;
		margin-left: 0;
		text-align: left;
		width: 100%;
	}

	.page-hero--professional {
		padding-top: 200px;
	}

	.page-hero--practice-area {
		padding-top: 200px;
	}
}

/* -------------------------------------------------------------------------
   The Latest — posts index grid (matches edits /legal-faqs/)
   ------------------------------------------------------------------------- */
.latest-grid-section {
	background: #cfc1a0;
}

.latest-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	/* 1px seams between cards (avoids doubled borders). */
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #cfc1a0;
}

.latest-grid__item {
	display: flex;
	min-height: 0;
}

.latest-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 325px;
	min-height: 325px;
	aspect-ratio: auto;
	background-color: var(--secil-ink);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s ease;
}

.latest-card:hover,
.latest-card:focus {
	color: #fff;
	text-decoration: none;
	outline: none;
}

.latest-card:focus-visible {
	outline: 2px solid var(--secil-accent);
	outline-offset: -2px;
}

.latest-card__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	pointer-events: none;
	transition: background-color 0.25s ease;
}

.latest-card:hover .latest-card__overlay,
.latest-card:focus .latest-card__overlay {
	background: rgba(0, 0, 0, 0.62);
}

.latest-card__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	flex: 1 1 auto;
	padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3vw, 36px);
	min-height: 0;
}

.latest-card__title {
	display: block;
	margin: 0 0 8px;
	max-width: 100%;
	font-family: var(--secil-font);
	font-size: clamp(16px, 1.35vw, 20px);
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.latest-card__cat {
	display: block;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--secil-cream);
}

.latest-card__btn {
	align-self: flex-end;
	margin-top: 18px;
	font-size: 14px;
	pointer-events: none;
	--fitem-pad-y: 0.55em;
	--fitem-pad-x: 1.25em;
	--fitem-fg: #fff;
	--fitem-arrow: #fff;
	border-color: #cfc1a0;
}

.latest-card:hover .latest-card__btn,
.latest-card:focus .latest-card__btn {
	--fitem-bg: #fff;
	--fitem-fg: var(--secil-navy);
	--fitem-arrow: var(--secil-accent);
	border-color: #fff;
	padding-right: calc(var(--fitem-pad-x) + 0.15em);
	gap: 0.65em;
}

.latest-card:hover .latest-card__btn::after,
.latest-card:focus .latest-card__btn::after {
	width: var(--fitem-arrow-size);
	margin-left: 0;
	opacity: 1;
	transform: translateX(0) rotate(-45deg);
}

.latest-pagination {
	background: #cfc1a0;
	padding: 20px 0;
	text-align: center;
}

.latest-pagination .container {
	display: flex;
	justify-content: center;
	align-items: center;
}

.latest-pagination .navigation.pagination {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	float: none;
}

.latest-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 16px;
	width: 100%;
	margin: 0;
	padding: 0;
	float: none;
	text-align: center;
}

.latest-pagination a,
.latest-pagination .current,
.latest-pagination .page-numbers {
	float: none;
	display: inline-block;
	margin: 0;
	padding: 0;
	color: var(--secil-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-decoration: none;
	text-transform: uppercase;
	background: none;
	border: 0;
}

.latest-pagination a:hover,
.latest-pagination a:focus {
	color: var(--secil-navy);
	text-decoration: underline;
	background: none;
}

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

@media (max-width: 575px) {
	.latest-grid {
		grid-template-columns: 1fr;
	}
}

/* News feed flexible block — full-bleed beige strip (no vertical pad / gutters). */
.fc-section.fc-section--news_feed {
	padding: 0;
	background: #cfc1a0;
}

.fc-section.fc-section--news_feed.fc-bg--white,
.fc-section.fc-section--news_feed.fc-bg--grey,
.fc-section.fc-section--news_feed.fc-bg--blue {
	background: #cfc1a0;
}

/* -------------------------------------------------------------------------
   Single post
   ------------------------------------------------------------------------- */
.page-hero--post {
	padding-top: 280px;
	min-height: 100vh;
}

.page-hero--post .page-hero__title {
	max-width: 22ch;
	margin-bottom: 16px;
}

.post-meta-bar {
	background: #f8f5ef;
	padding: 18px 0;
	border-bottom: 1px solid rgba(36, 44, 58, 0.08);
}

.post-meta-bar > .container {
	padding-left: var(--secil-gutter-x);
	padding-right: var(--secil-gutter-x);
}

.post-meta-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px 32px;
	width: 100%;
	margin: 0;
	padding: 0;
}

.post-meta-bar__left,
.post-meta-bar__right {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.post-meta-bar__right {
	text-align: right;
	align-items: flex-end;
}

.post-meta-bar__row {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--secil-ink);
}

.post-meta-bar__label {
	display: inline-block;
	margin-right: 0.35em;
	font-style: italic;
	font-weight: 400;
	color: #666;
}

.post-meta-bar__row a {
	color: var(--secil-ink);
	font-weight: 700;
	text-decoration: none;
}

.post-meta-bar__row a:hover,
.post-meta-bar__row a:focus {
	color: var(--secil-accent);
	text-decoration: underline;
}

.post-body {
	padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 7vw, 88px);
	background: #fff;
}

.post-body__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.7fr);
	gap: 40px 48px;
	align-items: start;
}

.post-body__aside {
	align-self: start;
	position: sticky;
	top: calc(24px + var(--wp-admin--admin-bar--height, 0px));
	z-index: 2;
}

.post-body__main {
	font-size: 17px;
	line-height: 1.7;
	color: #444;
}

.post-body__main > *:first-child {
	margin-top: 0;
}

.post-body__main p {
	margin: 0 0 1.15em;
}

.post-authors {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 24px;
}

.post-authors__card {
	display: block;
	background: var(--secil-ink);
	color: #fff;
	text-decoration: none;
	overflow: hidden;
	transition: opacity 0.2s ease;
}

.post-authors__card:hover,
.post-authors__card:focus {
	color: #fff;
	text-decoration: none;
	opacity: 0.92;
}

.post-authors__media {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--secil-navy);
}

.post-authors__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.post-authors__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(160deg, #3a4a66 0%, var(--secil-navy) 100%);
}

.post-authors__name {
	display: block;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	background: var(--secil-ink);
}

/* Related articles — same arrow-bullet language as credentials lists. */
.post-related {
	padding: 22px 20px;
	background: #f8f5ef;
}

.post-related__title {
	margin: 0 0 14px;
	font-family: var(--secil-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--secil-navy);
}

.post-related__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.post-related__item {
	position: relative;
	margin: 0 0 0.7em;
	padding-left: 1.35em;
	font-size: 15px;
	line-height: 1.45;
}

.post-related__item:last-child {
	margin-bottom: 0;
}

.post-related__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: calc(0.45em + 1px);
	width: 0.45em;
	height: 0.45em;
	background-color: var(--secil-navy);
	-webkit-mask: var(--secil-arrow) center / contain no-repeat;
	mask: var(--secil-arrow) center / contain no-repeat;
	transform: rotate(-45deg);
	transform-origin: center center;
}

.post-related__item a {
	color: #444;
	text-decoration: none;
}

.post-related__item a:hover,
.post-related__item a:focus {
	color: var(--secil-navy);
	text-decoration: underline;
}

@media (max-width: 991px) {
	.post-body__grid {
		grid-template-columns: 1fr;
	}

	.post-body__aside {
		position: static;
	}

	.post-meta-bar__right {
		align-items: flex-start;
		text-align: left;
	}

	.page-hero--post {
		padding-top: 200px;
	}

	.post-authors {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 420px;
	}
}

/* -------------------------------------------------------------------------
   Site footer — CTA band + lean legal bar
   ------------------------------------------------------------------------- */
.site-footer {
	margin-top: 0;
	color: rgba(255, 255, 255, 0.88);
	font-family: var(--secil-font);
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
	color: var(--secil-accent);
	text-decoration: none;
}

.site-footer__cta {
	padding: clamp(48px, 6vw, 72px) 0;
	background: #151a22;
}

.site-footer__cta-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}

.site-footer__heading {
	margin: 0 0 0.55em;
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.site-footer__lede {
	max-width: 36em;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

.site-footer__lede p {
	margin: 0;
}

.site-footer__subheading {
	margin: 0 0 0.75em;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.site-footer__address {
	margin: 0 0 0.85em;
	font-style: normal;
	font-size: 16px;
	line-height: 1.55;
	color: #fff;
}

.site-footer__contact-line {
	margin: 0 0 1.35em;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
}

.site-footer__contact-line a {
	font-weight: 700;
}

.site-footer__sep {
	margin: 0 0.55em;
	opacity: 0.45;
}

.site-footer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.site-footer__actions .fitem-btn {
	font-size: 14px;
	--fitem-pad-y: 0.7em;
	--fitem-pad-x: 1.15em;
}

.site-footer__bar {
	padding: clamp(28px, 4vw, 40px) 0 24px;
	background: var(--secil-navy);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__brand-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: clamp(20px, 3vw, 40px);
	padding-bottom: 22px;
	margin-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__logo {
	display: inline-flex;
	flex: 0 0 auto;
	line-height: 0;
}

.site-footer__logo img {
	display: block;
	width: 132px;
	height: auto;
}

.site-footer__privacy {
	width: 50%;
	max-width: 50%;
	margin-left: auto;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.62);
	text-align: right;
}

.site-footer__privacy p {
	margin: 0;
}

.site-footer__privacy a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.site-footer__privacy a:hover,
.site-footer__privacy a:focus {
	color: var(--secil-accent);
}

.site-footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 28px;
}

.site-footer__copy {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.55);
}

.site-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__legal-list a {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.82);
}

.site-footer__legal-list a:hover,
.site-footer__legal-list a:focus {
	color: var(--secil-accent);
}

@media (max-width: 767px) {
	.site-footer__cta-grid {
		grid-template-columns: 1fr;
	}

	.site-footer__brand-row {
		flex-direction: column;
	}

	.site-footer__logo img {
		width: 118px;
	}

	.site-footer__privacy {
		width: 100%;
		max-width: none;
		margin-left: 0;
		text-align: left;
	}

	.site-footer__meta {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* -------------------------------------------------------------------------
   Flexible content — shared section chrome
   Backgrounds default to white; Grey = #E3E6EB; Blue = navy.
   ------------------------------------------------------------------------- */
.flexible-content {
	display: block;
}

.fc-section {
	padding: clamp(40px, 5vw, 72px) 0;
	background-color: var(--secil-fc-white);
	color: var(--secil-ink);
}

.fc-bg--white {
	background-color: var(--secil-fc-white);
	color: var(--secil-ink);
}

.fc-bg--grey {
	background-color: var(--secil-fc-grey);
	color: var(--secil-ink);
}

.fc-bg--blue {
	background-color: var(--secil-navy);
	color: #fff;
}

.fc-bg--blue a {
	color: #fff;
}

.fc-align--center {
	text-align: center;
}

.fc-align--left {
	text-align: left;
}

.fc-align--center .fc-buttons {
	justify-content: center;
}

.fc-align--left .fc-buttons {
	justify-content: flex-start;
}

.fc-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 1.5em 0 0;
	padding: 0;
	list-style: none;
}

.fc-buttons__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fc-section__header {
	margin: 0 0 0.65em;
	font-family: var(--secil-font);
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.2;
}

.fc-section__body {
	font-size: 17px;
	line-height: 1.65;
	color: #555;
}

.fc-section__body p {
	margin: 0 0 1em;
}

.fc-section__body > *:last-child {
	margin-bottom: 0;
}

.fc-bg--blue .fc-section__body {
	color: rgba(255, 255, 255, 0.92);
}

/* -------------------------------------------------------------------------
   Home page video slider (Flickity)
   Matches old site: 500px slides, video bg, right navy panel (~1/3), cream arrows
   ------------------------------------------------------------------------- */
.home-slider {
	position: relative;
	background: var(--secil-navy);
	color: #fff;
}

.home-slider__viewport {
	outline: none;
}

.home-slider .flickity-viewport {
	height: 500px;
}

.home-slider__slide {
	position: relative;
	width: 100%;
	height: 500px;
	min-height: 500px;
	overflow: hidden;
}

.home-slider__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	background: #1a2230;
}

.home-slider__video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	object-fit: cover;
}

.home-slider__content {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	justify-content: flex-end;
	align-items: stretch;
	pointer-events: none;
}

.home-slider__panel {
	pointer-events: auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: 33.333%;
	max-width: 520px;
	min-width: 280px;
	height: 100%;
	padding: 36px 56px 36px 36px;
	box-sizing: border-box;
	background: rgba(49, 65, 95, 0.9);
}

.home-slider__title {
	margin: 0 0 0.65em;
	font-family: var(--secil-font);
	font-size: 26px;
	font-weight: 400;
	line-height: 1.25;
	color: #fff;
}

.home-slider__body {
	flex: 0 1 auto;
	font-size: 16px;
	line-height: 1.7;
	font-weight: 400;
	color: #fff;
}

.home-slider__body p {
	margin: 0 0 1em;
}

.home-slider__body p:last-child {
	margin-bottom: 0;
}

.home-slider__actions {
	margin-top: auto;
	padding-top: 1.25em;
}

.home-slider__btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 1em;
	border: 0.5px solid #fff;
	background: transparent;
	font-family: var(--secil-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	color: #fff !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.home-slider__btn:hover,
.home-slider__btn:focus {
	background: rgba(255, 255, 255, 0.2);
	color: #fff !important;
	text-decoration: none;
	outline: none;
}

/* Flickity controls — cream arrows (~½ previous size) */
.home-slider .flickity-button {
	background: transparent;
	color: var(--secil-cream);
	box-shadow: none;
	width: 32px;
	height: 32px;
}

.home-slider .flickity-button:hover,
.home-slider .flickity-button:focus {
	background: transparent;
	color: #fff;
	box-shadow: none;
	outline: none;
}

.home-slider .flickity-button:disabled {
	opacity: 0.35;
}

.home-slider .flickity-prev-next-button {
	top: 50%;
	transform: translateY(-50%);
	border-radius: 0;
	z-index: 3;
}

.home-slider .flickity-prev-next-button .flickity-button-icon {
	position: absolute;
	left: 10%;
	top: 10%;
	width: 80%;
	height: 80%;
}

.home-slider .flickity-prev-next-button.previous {
	left: 10px;
}

.home-slider .flickity-prev-next-button.next {
	right: 10px;
}

@media (min-width: 992px) {
	.home-slider .flickity-button {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 900px) {
	.home-slider__panel {
		width: 42%;
		padding: 20px 48px 20px 20px;
	}
}

@media (max-width: 767px) {
	.home-slider .flickity-viewport,
	.home-slider__slide {
		height: auto;
		min-height: 500px;
	}

	.home-slider .flickity-prev-next-button {
		display: none;
	}

	.home-slider__content {
		align-items: stretch;
		justify-content: stretch;
	}

	/* Full-bleed navy mask over the video */
	.home-slider__panel {
		width: 100%;
		max-width: none;
		min-width: 0;
		height: 100%;
		min-height: 500px;
		padding: 32px var(--secil-gutter-x);
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.home-slider__title,
	.home-slider__body {
		max-width: 36em;
	}

	.home-slider__actions {
		margin-top: 1.5em;
		padding-top: 0;
		display: flex;
		justify-content: center;
		width: 100%;
	}

	.home-slider__btn {
		display: inline-block;
		width: auto;
		min-width: 0;
		padding-left: 1.5em;
		padding-right: 1.5em;
	}
}

/* -------------------------------------------------------------------------
   Flexible: Logo Bar (#4)
   ------------------------------------------------------------------------- */
.fc-section--logo_bar {
	background-color: var(--secil-logo-bar);
	color: #fff;
	padding: 22px 0;
}

.fc-section--logo_bar.fc-bg--white {
	background-color: var(--secil-logo-bar);
}

.fc-section--logo_bar .fc-section__header {
	color: #fff;
	margin-bottom: 0.75em;
}

.logo-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 28px;
	text-align: center;
}

.logo-bar__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	/* Compact wordmark tracking — between logo-white tight and spread art */
	--logo-h: clamp(34px, 4.2vw, 48px);
	gap: calc(var(--logo-h) * 72 / 528);
	padding-right: clamp(16px, 2.5vw, 32px);
	min-width: 0;
}

.logo-bar__letter {
	display: block;
	line-height: 0;
	padding-inline: 4px;
	cursor: default;
	transition: opacity 0.22s ease;
}

.logo-bar__letter img {
	display: block;
	width: auto;
	height: var(--logo-h);
	max-width: none;
}

.logo-bar__words {
	flex: 0 1 auto;
	margin: 0;
	font-family: var(--secil-font);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
}

.logo-bar__word {
	display: inline;
	white-space: nowrap;
	cursor: default;
	transition: opacity 0.22s ease;
}

.logo-bar__word:not(:last-child)::after {
	content: "\00a0";
}

/* Hover a letter or its word → keep that pair, fade the rest */
.logo-bar:has([data-key="s"]:hover) [data-key],
.logo-bar:has([data-key="e"]:hover) [data-key],
.logo-bar:has([data-key="c"]:hover) [data-key],
.logo-bar:has([data-key="i"]:hover) [data-key],
.logo-bar:has([data-key="l"]:hover) [data-key] {
	opacity: 0.28;
}

.logo-bar:has([data-key="s"]:hover) [data-key="s"],
.logo-bar:has([data-key="e"]:hover) [data-key="e"],
.logo-bar:has([data-key="c"]:hover) [data-key="c"],
.logo-bar:has([data-key="i"]:hover) [data-key="i"],
.logo-bar:has([data-key="l"]:hover) [data-key="l"] {
	opacity: 1;
}

@media (max-width: 767px) {
	.logo-bar {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.logo-bar__mark {
		justify-content: center;
	}

	.logo-bar__words {
		padding: 0 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.logo-bar__letter,
	.logo-bar__word {
		transition: none;
	}
}

/* -------------------------------------------------------------------------
   Flexible: Capabilities (#5)
   ------------------------------------------------------------------------- */
.fc-section--capabilities {
	background-color: var(--secil-navy);
	color: #fff;
	padding: clamp(48px, 6vw, 72px) 0;
}

.fc-section--capabilities.fc-bg--white {
	background-color: var(--secil-navy);
}

.fc-section--capabilities .fc-section__header {
	margin: 0 auto 1.25em;
	padding-bottom: 0;
	color: #fff;
	text-align: center;
	max-width: 28em;
	border-bottom: 0;
}

.capabilities__layout {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	gap: 0;
	align-items: stretch;
	/* Shared surface for active tab + panel so they read as one piece */
	--capabilities-surface: #2f3d56;
	--capabilities-nav: #2a3852;
	--capabilities-pad: clamp(24px, 3vw, 36px);
	--capabilities-sticky-top: 24px;
}

.capabilities__panels {
	align-self: stretch;
	min-height: 100%;
	height: 100%;
	padding: 0;
	background: var(--capabilities-surface);
}

.capabilities__nav {
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--capabilities-nav);
}

.capabilities__nav-item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.capabilities__nav-btn {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px 18px;
	border: 0;
	border-left: 3px solid transparent;
	background: transparent;
	font-family: var(--secil-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.35;
	text-align: left;
	color: #8acbf8;
	cursor: pointer;
	transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.capabilities__nav-btn:hover,
.capabilities__nav-btn:focus {
	color: var(--secil-cream);
	outline: none;
}

.capabilities__nav-btn.is-active {
	color: var(--secil-cream);
	border-left-color: var(--secil-accent);
	background: var(--capabilities-surface);
}

.capabilities__panel[hidden] {
	display: none;
}

/* Content-sized so sticky can pin it; blue column behind matches tab list height. */
.capabilities__panel {
	position: sticky;
	top: var(--capabilities-sticky-top);
	width: 100%;
	padding: var(--capabilities-pad);
	box-sizing: border-box;
}

.capabilities__title {
	margin: 0 0 0.55em;
	font-family: var(--secil-font);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.capabilities__body {
	font-size: 17px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.92);
}

.capabilities__body p {
	margin: 0 0 1em;
}

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

.capabilities__actions {
	margin-top: 1.5em;
}

@media (max-width: 900px) {
	.capabilities__layout {
		grid-template-columns: 1fr;
	}

	.capabilities__nav {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		height: auto;
	}

	.capabilities__panels {
		min-height: 0;
		height: auto;
	}

	.capabilities__panel {
		position: static;
		top: auto;
	}

	.capabilities__nav-btn {
		white-space: nowrap;
		border-left: 0;
		border-bottom: 3px solid transparent;
		padding: 12px 16px;
		font-size: 16px;
	}

	.capabilities__nav-btn.is-active {
		border-left-color: transparent;
		border-bottom-color: var(--secil-accent);
	}
}

/* -------------------------------------------------------------------------
   Flexible: video_lr — half video poster/modal, half copy + buttons
   Mobile: video always first. Desktop: image_alignment Left|Right.
   ------------------------------------------------------------------------- */
.fc-section--video_lr .fc-video {
	margin: 0;
}

.fc-video-lr {
	display: grid;
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
}

.fc-video-lr__media {
	order: 1;
	min-width: 0;
}

.fc-video-lr__content {
	order: 2;
	min-width: 0;
}

.fc-video-lr__content .fc-section__header {
	margin-top: 0;
}

.fc-video-lr__content .fc-buttons {
	justify-content: flex-start;
}

@media (min-width: 900px) {
	.fc-video-lr {
		grid-template-columns: 1fr 1fr;
	}

	.fc-section--video_lr.fc-video-lr--video-left .fc-video-lr__media,
	.fc-section--video_lr.fc-video-lr--video-right .fc-video-lr__content {
		order: 1;
	}

	.fc-section--video_lr.fc-video-lr--video-left .fc-video-lr__content,
	.fc-section--video_lr.fc-video-lr--video-right .fc-video-lr__media {
		order: 2;
	}
}

/* -------------------------------------------------------------------------
   Flexible: one_column_text (#1) — same type/spacing as page-intro / professionals
   ------------------------------------------------------------------------- */
.fc-section--one_column_text {
	padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 4vw, 40px);
}

.fc-one-col {
	max-width: none;
}

.fc-section--one_column_text .fc-section__header {
	margin: 0 0 0.55em;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--secil-ink);
}

.fc-section--one_column_text.fc-align--center .fc-one-col {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.fc-section--one_column_text.fc-align--center .fc-buttons {
	justify-content: center;
}

.fc-section--one_column_text.fc-bg--blue .fc-section__header,
.fc-section--one_column_text.fc-bg--blue .fc-section__body {
	color: #fff;
}

/* -------------------------------------------------------------------------
   Flexible: one_column_sidebar (#2) — main + navy sidebar card (careers)
   ------------------------------------------------------------------------- */
.fc-ocs {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 48px);
	align-items: start;
}

.fc-ocs__main {
	min-width: 0;
}

.fc-ocs__main .fc-section__header {
	margin-top: 0;
}

.fc-ocs__main .fc-section__body > p:first-child {
	margin-top: 0;
}

.fc-ocs__sidebar {
	min-width: 0;
}

.fc-ocs__sidebar-inner {
	padding: clamp(24px, 3vw, 36px);
	background: var(--secil-navy);
	color: #fff;
}

.fc-ocs__sidebar-inner > *:first-child {
	margin-top: 0;
}

.fc-ocs__sidebar-inner > *:last-child {
	margin-bottom: 0;
}

.fc-ocs__sidebar-inner h2,
.fc-ocs__sidebar-inner h3 {
	margin: 0 0 0.55em;
	font-family: var(--secil-font);
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.fc-ocs__sidebar-inner p {
	margin: 0 0 1em;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.95);
}

.fc-ocs__sidebar-inner a:not(.fitem-btn) {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fc-ocs__sidebar-inner a:not(.fitem-btn):hover,
.fc-ocs__sidebar-inner a:not(.fitem-btn):focus {
	color: var(--secil-cream);
}

/* Email / CTA link in sidebar — outline like home-slider / promo button */
.fc-ocs__sidebar-inner .fc-ocs__cta,
.fc-ocs__sidebar-inner a.fc-ocs__cta {
	display: inline-block;
	margin-top: 0.35em;
	padding: 10px 1.15em;
	border: 0.5px solid #fff;
	background: transparent;
	font-family: var(--secil-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	color: #fff !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.fc-ocs__sidebar-inner .fc-ocs__cta:hover,
.fc-ocs__sidebar-inner .fc-ocs__cta:focus,
.fc-ocs__sidebar-inner a.fc-ocs__cta:hover,
.fc-ocs__sidebar-inner a.fc-ocs__cta:focus {
	background: rgba(255, 255, 255, 0.2);
	color: #fff !important;
	text-decoration: none;
}

@media (max-width: 767px) {
	.fc-ocs {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------
   Practice Areas group sub-nav (beige sticky bar — desktop only)
   ------------------------------------------------------------------------- */
.practice-areas-subnav {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 180;
	background: #f1ebe0;
	padding: 18px 0;
	box-shadow: 0 1px 0 rgba(36, 44, 58, 0.08);
}

.admin-bar .practice-areas-subnav {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .practice-areas-subnav {
		top: 46px;
	}
}

@supports (top: var(--wp-admin--admin-bar--height)) {
	.admin-bar .practice-areas-subnav {
		top: var(--wp-admin--admin-bar--height, 0px);
	}
}

.practice-areas-subnav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.practice-areas-subnav__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.practice-areas-subnav__link {
	display: inline-block;
	padding: 2px 0;
	font-family: var(--secil-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: rgba(36, 44, 58, 0.72);
	text-decoration: none;
	transition: color 0.2s ease;
}

.practice-areas-subnav__link:hover,
.practice-areas-subnav__link:focus {
	color: var(--secil-ink);
	text-decoration: none;
}

.practice-areas-subnav__link.is-active {
	color: var(--secil-navy);
}

@media (max-width: 767px) {
	.practice-areas-subnav {
		display: none;
	}
}

/* -------------------------------------------------------------------------
   Flexible: practice_areas (#8) — category H2 + stacked PA items
   H2/H3 sizes match capabilities; sections alternate White/Grey.
   ------------------------------------------------------------------------- */
.fc-section--practice_areas {
	padding: clamp(48px, 6vw, 72px) 0;
	/* Cleared by sticky sub-nav height (set in practice-areas-subnav.js). */
	scroll-margin-top: var(--pa-subnav-offset, calc(72px + var(--wp-admin--admin-bar--height, 0px)));
}

.fc-section--practice_areas .fc-section__header {
	margin: 0 0 1.25em;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--secil-ink);
	text-align: left;
	max-width: none;
}

.fc-section--practice_areas.fc-bg--blue .fc-section__header {
	color: #fff;
}

.practice-areas {
	display: flex;
	flex-direction: column;
	gap: clamp(24px, 3vw, 32px);
}

.practice-areas__item {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	padding: clamp(28px, 3.5vw, 40px);
}

/* Contrast with section: white panels on grey, grey panels on white (edits pattern). */
.fc-section--practice_areas.fc-bg--grey .practice-areas__item {
	background-color: #fff;
}

.fc-section--practice_areas.fc-bg--white .practice-areas__item {
	background-color: var(--secil-fc-grey);
}

.fc-section--practice_areas.fc-bg--blue .practice-areas__item {
	background-color: rgba(255, 255, 255, 0.08);
}

.practice-areas__title {
	margin: 0 0 0.35em;
	font-family: var(--secil-font);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--secil-ink);
}

.fc-section--practice_areas.fc-bg--blue .practice-areas__title {
	color: #fff;
}

.practice-areas__tagline {
	margin: 0 0 0.75em;
	font-family: var(--secil-font);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--secil-ink);
}

.fc-section--practice_areas.fc-bg--blue .practice-areas__tagline {
	color: rgba(255, 255, 255, 0.95);
}

.practice-areas__body {
	margin: 0;
}

.practice-areas__actions {
	margin: 1.25em 0 0;
}

.practice-areas__intro {
	margin-bottom: 1.5em;
}

/* -------------------------------------------------------------------------
   Flexible: Team Spotlight (#6) — full charcoal panel (matches live #242c3a)
   ------------------------------------------------------------------------- */
.fc-section--team_spotlight {
	padding: clamp(48px, 6vw, 80px) 0;
	background: var(--secil-ink);
	color: #fff;
}

.fc-section--team_spotlight.fc-bg--white,
.fc-section--team_spotlight.fc-bg--grey,
.fc-section--team_spotlight.fc-bg--blue {
	background: var(--secil-ink);
}

.fc-section--team_spotlight .fc-section__header {
	margin: 0 0 1.25em;
	color: #fff;
	text-align: left;
}

.team-spotlight__card {
	display: grid;
	grid-template-columns: minmax(200px, 0.72fr) minmax(0, 1.45fr);
	gap: clamp(24px, 3.5vw, 48px);
	align-items: center;
	background: transparent;
	box-shadow: none;
	overflow: visible;
	animation: team-spotlight-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes team-spotlight-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.team-spotlight__card {
		animation: none;
	}
}

.team-spotlight__media {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 280px;
	max-width: 320px;
	background: #2a3852;
	text-decoration: none;
	overflow: hidden;
	transition: background-color 0.35s ease;
}

.team-spotlight__media::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 3px;
	background: var(--secil-accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.35s ease;
}

.team-spotlight__media:hover,
.team-spotlight__media:focus {
	background-color: #364868;
	outline: none;
}

.team-spotlight__media:hover::after,
.team-spotlight__media:focus::after {
	transform: scaleX(1);
}

.team-spotlight__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 100%;
	max-height: 340px;
	margin: 0 auto;
	object-fit: contain;
	object-position: center bottom;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-spotlight__media:hover .team-spotlight__img,
.team-spotlight__media:focus .team-spotlight__img {
	transform: scale(1.03);
}

.team-spotlight__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 280px;
	background: linear-gradient(160deg, #3a4a66 0%, #2a3852 100%);
}

.team-spotlight__body {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	padding: 0;
	color: #fff;
}

.team-spotlight__identity {
	padding-bottom: 0.35rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.team-spotlight__name {
	margin: 0;
	font-family: var(--secil-font);
	font-size: clamp(28px, 3.2vw, 38px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.team-spotlight__name a {
	color: #fff;
	text-decoration: none;
	transition: color 0.2s ease;
}

.team-spotlight__name a:hover,
.team-spotlight__name a:focus {
	color: var(--secil-accent);
	text-decoration: none;
}

.team-spotlight__role {
	margin: 0.4em 0 0.9em;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--secil-accent);
}

.team-spotlight__contact {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.team-spotlight__contact-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: rgba(255, 255, 255, 0.92);
	font-size: 15px;
	line-height: 1.35;
	text-decoration: none;
	transition: color 0.2s ease;
}

.team-spotlight__contact-link:hover,
.team-spotlight__contact-link:focus {
	color: #fff;
	text-decoration: none;
}

.team-spotlight__contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: #fff;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.team-spotlight__contact-link:hover .team-spotlight__contact-icon,
.team-spotlight__contact-link:focus .team-spotlight__contact-icon {
	background: #fff;
	border-color: #fff;
	color: var(--secil-navy);
}

.team-spotlight__excerpt {
	margin: 0;
	max-width: 38em;
	font-size: 17px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
}

.team-spotlight__more {
	margin-left: 0.2em;
	font-weight: 700;
	color: var(--secil-accent);
	text-decoration: none;
	white-space: nowrap;
}

.team-spotlight__more:hover,
.team-spotlight__more:focus {
	color: #fff;
	text-decoration: underline;
}

.team-spotlight__actions {
	margin-top: 0.35rem;
	padding-top: 0.15rem;
}

.team-spotlight__actions .fitem-btn {
	--fitem-pad-y: 0.65em;
	--fitem-pad-x: 1.1em;
	--fitem-arrow-size: 0.75em;
	font-size: 14px;
}

@media (max-width: 767px) {
	.team-spotlight__card {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.team-spotlight__media {
		min-height: 240px;
		max-height: 300px;
		max-width: 280px;
		margin-inline: auto;
	}

	.team-spotlight__img {
		max-height: 300px;
	}

	.team-spotlight__actions .fitem-btn {
		width: 100%;
		justify-content: center;
		white-space: normal;
	}
}

/* -------------------------------------------------------------------------
   Single Practice Area — type scale mirrors professional profile
   ------------------------------------------------------------------------- */
.page-hero--practice-area {
	padding-top: 280px;
	min-height: 100vh;
}

.page-hero--practice-area .page-hero__title {
	margin-bottom: 18px;
	max-width: 18ch;
}


/* Match .insights-feed__title on professional profiles */
.pa-section-title {
	margin: 0 0 0.85em;
	font-family: var(--secil-font);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--secil-ink);
}

.pa-intro {
	padding: clamp(36px, 5vw, 64px) 0;
	background: #fff;
}

.pa-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.7fr);
	gap: 40px 48px;
	align-items: start;
}

.pa-intro__main {
	min-width: 0;
}

/* Match .professional-bio */
.pa-intro__body {
	font-size: 17px;
	line-height: 1.7;
	color: #444;
}

.pa-intro__body > *:first-child {
	margin-top: 0;
}

.pa-intro__body p {
	margin: 0 0 1.15em;
}

.pa-intro__body p:last-child {
	margin-bottom: 0;
}

.pa-intro__body h2,
.pa-intro__body h3 {
	margin: 1.15em 0 0.55em;
	font-family: var(--secil-font);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--secil-ink);
}

.pa-intro__body h2:first-child,
.pa-intro__body h3:first-child {
	margin-top: 0;
}

.pa-intro__lead {
	margin-top: 1.35em;
	padding: clamp(22px, 3vw, 28px);
	background: var(--secil-cream);
	border-left: 3px solid var(--secil-accent);
	font-size: 17px;
	line-height: 1.7;
	color: #444;
	font-weight: 400;
}

.pa-intro__lead p {
	margin: 0 0 1.15em;
}

.pa-intro__lead p:last-child {
	margin-bottom: 0;
}

.pa-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	align-self: start;
	position: sticky;
	top: calc(24px + var(--wp-admin--admin-bar--height, 0px));
	z-index: 2;
}

.pa-team {
	padding: 22px 20px 24px;
	background: var(--secil-navy);
	color: #fff;
}

/* Match .professional-credentials__title */
.pa-team__title {
	margin: 0 0 12px;
	font-family: var(--secil-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
}

/* Match .professional-credentials__content */
.pa-team__blurb {
	margin: 0 0 1.1em;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.pa-team__photo {
	display: block;
	margin: 0 0 1.15em;
	overflow: hidden;
	background: #2a3852;
	text-decoration: none;
	line-height: 0;
}

.pa-team__photo:hover,
.pa-team__photo:focus {
	text-decoration: none;
	outline: none;
}

.pa-team__photo:focus-visible {
	outline: 2px solid var(--secil-accent);
	outline-offset: 2px;
}

.pa-team__photo-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center top;
}

.pa-team__cta {
	width: 100%;
	justify-content: center;
	--fitem-fg: #fff;
	--fitem-arrow: #fff;
	border-color: rgba(255, 255, 255, 0.65);
}

.pa-team__cta:hover,
.pa-team__cta:focus {
	--fitem-bg: #fff;
	--fitem-fg: var(--secil-navy);
	--fitem-arrow: var(--secil-accent);
	border-color: #fff;
}

.pa-related.post-related {
	margin: 0;
}

/* Points — profile bullet type on logo-bar purple (white text) */
.pa-points {
	padding: clamp(40px, 5vw, 64px) 0;
	background: var(--secil-logo-bar);
	color: #fff;
}

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

.pa-points__col {
	font-size: 16px;
	line-height: 1.55;
	color: #fff;
}

.pa-points__col h2,
.pa-points__col h3,
.pa-points__col h4,
.pa-points__col h5,
.pa-points__col h6 {
	margin: 0 0 14px;
	font-family: var(--secil-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
}

.pa-points__col p {
	margin: 0 0 0.85em;
	font-size: 16px;
	line-height: 1.55;
	color: #fff;
}

.pa-points__col a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pa-points__col a:hover,
.pa-points__col a:focus {
	color: var(--secil-accent);
}

.pa-points__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.55;
}

.pa-points__col ul > li {
	position: relative;
	margin: 0 0 0.55em;
	padding-left: 1.35em;
	color: #fff;
}

.pa-points__col ul > li:last-child {
	margin-bottom: 0;
}

.pa-points__col ul > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: calc(0.45em + 1px);
	width: 0.45em;
	height: 0.45em;
	background-color: #fff;
	-webkit-mask: var(--secil-arrow) center / contain no-repeat;
	mask: var(--secil-arrow) center / contain no-repeat;
	transform: rotate(-45deg);
	transform-origin: center center;
}

.pa-cta {
	padding: clamp(40px, 5vw, 56px) 0;
	background: #2a3852;
	color: #fff;
}

.pa-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
}

/* Match .professional-contact__heading / .insights-feed__title */
.pa-cta__title {
	margin: 0 0 0.45em;
	font-family: var(--secil-font);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.pa-cta__body {
	max-width: 40em;
	font-size: 17px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
}

.pa-cta__body p {
	margin: 0 0 1.15em;
}

.pa-cta__body p:last-child {
	margin-bottom: 0;
}

.pa-helped {
	padding: clamp(48px, 6vw, 80px) 0;
	background: var(--secil-cream);
}

.pa-helped__title {
	margin: 0 0 clamp(24px, 3vw, 36px);
}

.pa-helped__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pa-helped__item {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-width: 0;
	height: 100%;
	padding: clamp(24px, 2.8vw, 32px);
	background: #fff;
	border-top: 3px solid var(--secil-accent);
	box-shadow: 0 1px 0 rgba(36, 44, 58, 0.06);
}

.pa-helped__heading {
	margin: 0;
	font-family: var(--secil-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--secil-navy);
}

.pa-helped__narrative {
	font-size: 15px;
	line-height: 1.6;
	color: #444;
}

.pa-helped__narrative p {
	margin: 0 0 0.85em;
}

.pa-helped__narrative p:last-child {
	margin-bottom: 0;
}

.pa-narrative {
	padding: clamp(36px, 5vw, 64px) 0;
	background: #fff;
}

/* Match .professional-bio */
.pa-narrative__content {
	max-width: 46em;
	font-size: 17px;
	line-height: 1.7;
	color: #444;
}

.pa-narrative__content > *:first-child {
	margin-top: 0;
}

.pa-narrative__content p {
	margin: 0 0 1.15em;
}

.pa-narrative__content p:last-child {
	margin-bottom: 0;
}

.pa-narrative__content h2,
.pa-narrative__content h3 {
	margin: 1.15em 0 0.55em;
	font-family: var(--secil-font);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--secil-ink);
}

.pa-narrative__content h2:first-child,
.pa-narrative__content h3:first-child {
	margin-top: 0;
}

.pa-children {
	padding: clamp(40px, 5vw, 56px) 0;
	background: var(--secil-fc-grey);
}

.pa-children__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pa-children__link {
	display: inline-flex;
	align-items: center;
	padding: 0.7em 1.05em;
	background: #fff;
	color: var(--secil-ink);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
	border: 1px solid rgba(36, 44, 58, 0.12);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pa-children__link:hover,
.pa-children__link:focus {
	background: var(--secil-navy);
	border-color: var(--secil-navy);
	color: #fff;
	text-decoration: none;
}

.pa-faqs {
	padding: clamp(40px, 5vw, 64px) 0;
	background: #fff;
}

.pa-faqs__header {
	max-width: 36em;
	margin: 0 0 1.5em;
}

.pa-faqs__lede {
	margin: -0.35em 0 0;
	font-size: 17px;
	line-height: 1.7;
	color: #444;
}

.pa-faqs__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(36, 44, 58, 0.14);
}

.pa-faqs__item {
	border-bottom: 1px solid rgba(36, 44, 58, 0.14);
}

.pa-faqs__question {
	margin: 0;
}

/* Match .insights-card__title */
.pa-faqs__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 1.05em 0;
	border: 0;
	background: transparent;
	color: var(--secil-ink);
	font-family: var(--secil-font);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}

.pa-faqs__toggle:hover,
.pa-faqs__toggle:focus {
	color: var(--secil-navy);
	outline: none;
}

.pa-faqs__toggle-icon {
	position: relative;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

.pa-faqs__toggle-icon::before,
.pa-faqs__toggle-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: currentColor;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.pa-faqs__toggle-icon::before {
	width: 14px;
	height: 2px;
	transform: translate(-50%, -50%);
}

.pa-faqs__toggle-icon::after {
	width: 2px;
	height: 14px;
	transform: translate(-50%, -50%);
}

.pa-faqs__toggle.is-open .pa-faqs__toggle-icon::after {
	opacity: 0;
	transform: translate(-50%, -50%) scaleY(0);
}

.pa-faqs__panel {
	padding: 0 0 1.25em;
	max-width: 44em;
}

/* Match .professional-credentials__content */
.pa-faqs__excerpt {
	margin: 0 0 0.85em;
	font-size: 15px;
	line-height: 1.55;
	color: #444;
}

.pa-faqs__more {
	font-size: 15px;
	font-weight: 700;
	color: var(--secil-accent);
	text-decoration: none;
}

.pa-faqs__more:hover,
.pa-faqs__more:focus {
	color: var(--secil-navy);
	text-decoration: underline;
}

.pa-insights {
	padding: clamp(48px, 6vw, 72px) 0;
	background: var(--secil-navy);
	color: #fff;
}

.pa-insights .insights-feed__title,
.pa-insights .pa-section-title {
	color: #fff;
}

.pa-insights .insights-feed__title {
	margin: 0 0 1em;
	font-size: 28px;
}

@media (max-width: 991px) {
	.pa-points__grid,
	.pa-helped__grid {
		grid-template-columns: 1fr;
	}

	.pa-intro__grid {
		grid-template-columns: 1fr;
	}

	.pa-sidebar {
		position: static;
	}
}

@media (max-width: 767px) {
	.pa-cta__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.pa-cta__actions .fitem-btn {
		width: 100%;
		justify-content: center;
	}
}
