/* ==========================================================================
   Antonelli Law — main stylesheet
   Look & feel of the previous antonelli-law.com (navy/blue/red, Sentinel + Ringside),
   rebuilt without Bootstrap. Sections: tokens · base · layout · header/nav · buttons ·
   bands · blocks vocabulary · home · content types · blog · forms · footer · legacy HTML
   ========================================================================== */

/* Metric-matched fallbacks for the Hoefler kit (it loads without blocking): the first paint already has the final
   line lengths, so nothing shifts when Sentinel / Ringside arrive (Focus Digital CLS fix, 2026-10). */
@font-face { font-family: "FD Serif FB"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 700 900; size-adjust: 103.2%; }
@font-face { font-family: "FD Sans FB"; src: local("Arial"), local("ArialMT"), local("Helvetica"); font-weight: 400; size-adjust: 108.9%; }
@font-face { font-family: "FD Sans FB"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica-Bold"); font-weight: 700; size-adjust: 101.1%; }

:root {
	--navy: #080740;
	--navy-2: #0d1f4a;
	--navy-3: #162b63;
	--ink-bg: #0e0d32;
	--blue: #1f73b7;
	--blue-2: #1b75bc;
	--red: #c33426;
	--ink: #333;
	--muted: #3b4a73;
	--line: #e0e4ee;
	--mist: #f5f7fb;
	--sand: #f1efea;
	--white: #fff;
	--serif: "Sentinel SSm A", "Sentinel SSm B", "FD Serif FB", Georgia, "Times New Roman", serif;
	--sans: "Ringside Narrow SSm A", "Ringside Narrow SSm B", "FD Sans FB", Arial, sans-serif;
	--cond: "Ringside Condensed SSm A", "Ringside Condensed SSm B", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--ui: Arial, "Helvetica Neue", Helvetica, sans-serif;
	--wrap: 1240px;
	--gutter: 20px;
	--radius: 14px;
	--shadow: 0 14px 32px rgba(13, 31, 74, .12);
	--header-h: 116px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 700; color: var(--navy-2); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.3px; }
h3 { font-size: 21px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.ant-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; }
.ant-skip:focus { left: 8px; }
.ant-center { text-align: center; }

/* ---------- layout ---------- */
.ant-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ant-wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }
.ant-main:focus { outline: none; }
.ant-page { background: var(--sand); padding: 48px 0 72px; }
.ant-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.ant-prose { max-width: 780px; }
.ant-layout > .ant-prose, .ant-layout > article { max-width: none; }

@media (max-width: 960px) {
	.ant-layout { grid-template-columns: 1fr; }
}

/* ---------- header ---------- */
.ant-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 3px solid var(--navy); }
.admin-bar .ant-header { top: 32px; }
.ant-header__in { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 25px var(--gutter); display: flex; align-items: center; gap: 24px; }
.ant-header__logo { flex: 0 0 auto; display: block; line-height: 0; }
.ant-header__logo .ant-logo { width: 307px; height: auto; }
.ant-logo__a { fill: var(--navy); }
.ant-logo__b { fill: #555; }
.ant-logo__c { stroke: var(--blue-2); }
.ant-header__right { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ant-header__top { display: flex; align-items: center; gap: 14px; font-family: var(--cond); text-transform: uppercase; font-size: 14px; letter-spacing: .3px; color: #555; }
.ant-header__coverage a { color: #555; font-weight: 700; text-decoration: none; }
.ant-header__call, .ant-burger { display: none; }

.ant-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 26px; flex-wrap: wrap; justify-content: flex-end; }
.ant-nav__item { position: relative; display: flex; align-items: center; }
.ant-nav__top { font-family: var(--cond); font-weight: 500; font-size: 19px; color: var(--navy); text-decoration: none; background: none; border: 0; padding: 4px 0 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; border-bottom: 2px solid transparent; }
.ant-nav__top:hover, .ant-nav__item.is-current > .ant-nav__top { border-bottom-color: var(--navy); color: var(--navy); }
.ant-nav__toggle { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--navy); }
.ant-nav__toggle .ant-icon { width: 14px; height: 14px; transition: transform .15s; }
.ant-nav__toggle[aria-expanded="true"] .ant-icon { transform: rotate(180deg); }
.ant-nav__sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; right: -16px; min-width: 300px; max-width: 380px; background: #fff; border-top: 3px solid var(--navy); box-shadow: 0 18px 40px rgba(13, 31, 74, .18); display: none; z-index: 10; }
.ant-nav__item:first-child .ant-nav__sub { right: auto; left: -16px; }
.ant-nav__sub.is-open { display: block; }
@media (hover: hover) and (min-width: 1101px) {
	.ant-nav__item.has-sub:hover > .ant-nav__sub, .ant-nav__item.has-sub:focus-within > .ant-nav__sub { display: block; }
}
.ant-nav__sub a, .ant-nav__sub .is-label { display: block; padding: 7px 20px; font-family: var(--cond); font-size: 16px; color: var(--navy); text-decoration: none; line-height: 1.35; }
.ant-nav__sub a:hover, .ant-nav__sub a[aria-current] { background: var(--mist); color: var(--blue); }
.ant-nav__group > .is-label, .ant-nav__group > .ant-nav__grouplabel { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: #777; padding-top: 12px; }
.ant-nav__group ul { list-style: none; margin: 0; padding: 0 0 6px 10px; }

.ant-mnav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 80px); overflow-y: auto; }
.ant-mnav[hidden] { display: none; }

@media (max-width: 1100px) {
	:root { --header-h: 74px; }
	.ant-header__in { padding: 20px var(--gutter) 17px; }
	.ant-header__logo .ant-logo { width: 261px; }
	.ant-header__right { display: none; }
	.ant-header__call { display: inline-flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--mist); color: var(--navy); }
	.ant-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
	.ant-burger span { display: block; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
	.ant-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.ant-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.ant-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.ant-mnav .ant-nav__list { flex-direction: column; gap: 0; padding: 8px var(--gutter); }
	.ant-mnav .ant-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.ant-mnav .ant-nav__top { padding: 14px 0; flex: 1; justify-content: space-between; font-size: 20px; border: 0; }
	.ant-mnav .ant-nav__toggle:not(.ant-nav__top) { padding: 14px 6px; }
	.ant-mnav .ant-nav__sub { position: static; box-shadow: none; border: 0; min-width: 0; max-width: none; width: 100%; padding: 0 0 10px; }
	.ant-mnav .ant-nav__sub a { padding: 9px 12px; }
	.ant-mnav__cta { display: grid; gap: 10px; padding: 16px var(--gutter) 24px; }
}
@media (max-width: 782px) { .admin-bar .ant-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ant-header { top: 0; } }

/* ---------- buttons ---------- */
.ant-btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--ui); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; padding: 14px 24px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s, transform .15s; }
.ant-btn--blue, .wp-block-button__link { background: var(--blue); color: #fff; box-shadow: 0 6px 20px rgba(13, 31, 74, .25); }
.ant-btn--blue:hover, .wp-block-button__link:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }
.ant-btn--navy { background: var(--navy); color: #fff; border-radius: 0; }
.ant-btn--navy:hover { background: var(--red); color: #fff; }
.ant-btn--red { background: var(--red); color: #fff; border-radius: 0; font-family: var(--sans); }
.ant-btn--red:hover { background: #a62a1e; color: #fff; }
.ant-btn--red-outline { border-color: var(--red); color: var(--navy); background: #fff; border-radius: 0; font-family: var(--cond); font-weight: 400; }
.ant-btn--red-outline:hover { background: var(--red); color: #fff; }
.ant-btn--outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.ant-btn--sm { padding: 8px 14px; font-size: 14px; }
.ant-btn--xs { padding: 7px 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .3px; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button.is-style-white .wp-block-button__link { background: #fff; color: var(--navy-2); }
.wp-block-button.is-style-white .wp-block-button__link:hover { background: var(--mist); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; }
.is-style-navy .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; }
.wp-block-button.is-style-red-outline .wp-block-button__link { background: #fff; color: var(--navy); border-color: var(--red); border-radius: 0; box-shadow: none; }

/* ---------- page band ---------- */
.ant-band { background-color: var(--navy); background-image: linear-gradient(180deg, var(--navy) 31%, rgba(21, 77, 121, .45) 100%); color: #fff; padding: 62px 0 52px; }
.ant-band__title { color: #fff; margin: 0; font-size: 36px; max-width: 860px; }
p.ant-band__title { font-family: var(--serif); font-weight: 700; }
.ant-band__sub { margin: 10px 0 0; color: #dbe3ff; }
.ant-crumbs { font-size: 14px; color: #c7d2ff; margin-bottom: 10px; }
.ant-crumbs a { color: #fff; }

/* ---------- block vocabulary ---------- */
.ant-sections > * { margin-top: 0; margin-bottom: 0; }
.ant-section { padding: 88px var(--gutter); }
.ant-section > * { margin-left: auto; margin-right: auto; }
.is-style-mist { background: var(--mist); }
.is-style-navy { background: var(--navy-2); color: #e4ebff; }
.is-style-navy h2, .is-style-navy h3 { color: #fff; }
.is-style-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 28px; }
.ant-lead { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 800px; margin: 0 auto 48px; }
.ant-section p { color: var(--muted); }
.is-style-navy p { color: #e4ebff; }
.ant-rounded img { border-radius: 16px; box-shadow: 0 20px 48px rgba(13, 31, 74, .18); display: block; width: 100%; object-fit: cover; }
.wp-block-columns { display: flex; gap: 32px; flex-wrap: nowrap; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-wrap: wrap; } .wp-block-column { flex-basis: 100% !important; } }
.wp-block-image { margin: 0 0 1em; }
.wp-block-image img { vertical-align: middle; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; text-align: center; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.wp-block-embed { margin: 0 0 1.5em; }
.wp-block-embed__wrapper { position: relative; }
.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper::before { content: ""; display: block; padding-top: 56.25%; }
.wp-embed-responsive .wp-has-aspect-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* hero (core/cover) */
.ant-hero.wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; padding: 64px var(--gutter); overflow: hidden; color: #fff; }
.wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; max-width: none; }
.wp-block-cover__background { position: absolute; inset: 0; z-index: 1; opacity: .8; background: var(--navy-2); }
.wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; max-width: 900px; margin: 0 auto; }
.ant-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 18px; }
.ant-hero__sub { font-size: 19px; color: #fff !important; }
.ant-hero .wp-block-buttons { margin-top: 26px; }
.ant-hero__call { margin: 20px 0 6px; font-size: 18px; }
.ant-hero__call a { color: #fff; text-decoration: none; }
.ant-hero__call a:hover { text-decoration: underline; }
.ant-hero__note { font-size: 15px; color: #c7d2ff !important; }

/* split */
.ant-split { gap: 56px; }
.ant-split h2 { font-size: clamp(28px, 3vw, 36px); }

/* tables */
.ant-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.5em; }
.wp-block-table { margin: 0 0 1.5em; }
.wp-block-table table, .ant-prose table { width: 100%; border-collapse: collapse; font-family: var(--ui); font-size: 15px; }
.wp-block-table td, .wp-block-table th, .ant-prose td, .ant-prose th { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.wp-block-table.is-style-ant { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.wp-block-table.is-style-ant thead { background: #091a33; color: #fff; }
.wp-block-table.is-style-ant th { border: 0; }
.wp-block-table.is-style-ant tbody tr:nth-child(odd) { background: #f8f9fa; }
.wp-block-table.is-style-ant td:first-child { width: 35%; color: var(--navy-2); }
.wp-block-table.is-style-ant td { color: var(--muted); }

/* icon cards */
.ant-iconcards { display: flex; flex-wrap: wrap; gap: 30px 32px; justify-content: center; margin-top: 56px !important; max-width: 1100px; }
.ant-iconcard { flex: 0 1 300px; text-align: center; position: relative; padding-top: 58px !important; margin-top: 36px; }
.ant-iconcard__icon { position: absolute; top: -38px; left: 50%; transform: translateX(-50%); width: 76px; height: 76px; border-radius: 50%; background: #fff; box-shadow: 0 10px 28px rgba(13, 31, 74, .18); display: flex; align-items: center; justify-content: center; margin: 0; overflow: hidden; }
.ant-iconcard__icon img { width: 72px !important; height: 72px !important; object-fit: contain; }
.ant-iconcard h3 { font-size: 19px; margin-bottom: 10px; }
.ant-iconcard p { font-size: 15.5px; line-height: 1.6; margin: 0; }

/* steps */
.ant-steps { gap: 28px; margin-bottom: 0; }
.ant-step__num { font-family: var(--ui); font-size: 32px; font-weight: 700; color: var(--blue) !important; margin: 0 0 14px; }
.ant-steps h3 { font-size: 20px; margin-bottom: 10px; }
.ant-steps p { font-size: 15.5px; margin: 0; }

/* quote cards (navy section) */
.ant-quotecards { gap: 24px; margin-top: 44px; }
.ant-quotecards .wp-block-quote { margin: 0; height: 100%; background: var(--navy-3); border-radius: var(--radius); border-left: 4px solid #e4ebff; padding: 34px 28px 28px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); position: relative; }
.ant-quotecards .wp-block-quote::before { content: "\201C"; position: absolute; top: 8px; left: 20px; font-family: var(--serif); font-size: 64px; line-height: 1; color: rgba(184, 198, 255, .35); }
.ant-quotecards .wp-block-quote p { font-family: var(--ui); font-size: 16.5px; line-height: 1.6; color: #fff !important; margin: 0 0 16px; position: relative; }
.ant-quotecards cite { font-family: var(--ui); font-style: normal; font-weight: 700; font-size: 14px; color: #b8c6ff; }

/* details / accordions */
.wp-block-details { background: #fff; border-radius: 12px; box-shadow: 0 6px 20px rgba(13, 31, 74, .08); margin: 0 0 14px; padding: 0; }
.wp-block-details summary { list-style: none; cursor: pointer; padding: 20px 52px 20px 22px; font-family: var(--ui); font-weight: 700; font-size: 16px; color: var(--navy-2); position: relative; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 22px; font-weight: 400; }
.wp-block-details[open] summary::after { content: "\2212"; }
.wp-block-details > :not(summary) { padding: 0 22px; }
.wp-block-details > :last-child { padding-bottom: 20px; margin-bottom: 0; }
.wp-block-details p, .wp-block-details li { font-size: 16px; color: var(--muted); }

/* check list (navy cards) */
.is-style-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.is-style-checks li { background: var(--navy-2); color: #fff; font-family: var(--ui); font-weight: 700; font-size: 16px; line-height: 1.4; border-radius: 10px; padding: 18px 20px 18px 50px; position: relative; box-shadow: 0 10px 28px rgba(13, 31, 74, .25); }
.is-style-checks li::before { content: "\2714"; position: absolute; left: 20px; top: 17px; }
.ant-prose .is-style-checks li { color: #fff; }
.ant-faqsplit { gap: 48px; }

/* CTA band */
.ant-ctaband .wp-block-buttons { margin-top: 8px; }

/* Avvo badges */
.ant-avvo { margin-top: 26px; }
.ant-avvo .antonelli-avvo-badges-inline { display: flex; justify-content: center; align-items: center; gap: clamp(12px, 2vw, 22px); flex-wrap: wrap; }
.ant-avvo .antonelli-avvo-badges-inline__item { line-height: 0; }
.ant-avvo .antonelli-avvo-badges-inline__item a { display: flex; }
.ant-avvo svg.avvo-badge { width: 150px !important; height: 116px !important; }
.ant-avvo img { max-width: 140px; max-height: 90px; object-fit: contain; }

/* ---------- prose ---------- */
.ant-prose { font-size: 17px; line-height: 1.7; }
.ant-prose h1 { font-size: clamp(28px, 3vw, 36px); }
.ant-prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.4em; }
.ant-prose h3 { margin-top: 1.3em; }
.ant-prose ul, .ant-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.ant-prose li { margin-bottom: .4em; }
.ant-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--blue); color: var(--muted); }
.ant-prose img { border-radius: 4px; }
.ant-prose > :first-child { margin-top: 0; }
.ant-meta { font-size: 15px; color: #666; margin-bottom: 20px; }
.ant-article__cover { margin: 0 0 28px; }
.ant-article__cover img { width: 100%; border-radius: 6px; }
.ant-link { font-weight: 700; text-decoration: none; }
.ant-cta-inline { margin: 40px 0 24px; padding: 26px 28px; background: #fff; border-left: 4px solid var(--blue); box-shadow: var(--shadow); border-radius: 8px; }
.ant-cta-inline p { margin-bottom: 14px; }
.ant-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; font-size: 15px; }
.ant-postnav a { text-decoration: none; display: block; color: var(--navy-2); font-family: var(--serif); font-weight: 700; }
.ant-postnav span { display: block; font-family: var(--ui); font-weight: 400; font-size: 13px; color: #777; }
.ant-postnav .nav-next { text-align: right; }

/* ---------- blog ---------- */
.ant-search { display: flex; gap: 8px; margin-bottom: 28px; }
.ant-search input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid #cfd5e3; font-size: 16px; }
.ant-postrow { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid #d9d5cb; }
.ant-postrow__title { font-size: 24px; margin: 0 0 6px; }
.ant-postrow__title a { color: var(--navy); text-decoration: none; }
.ant-postrow__title a:hover { color: var(--blue); }
.ant-postrow__date { font-size: 15px; color: #555; margin: 0 0 10px; }
.ant-postrow__excerpt { font-size: 16px; margin: 0 0 14px; }
.ant-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.ant-pagination .page-numbers { display: inline-block; padding: 8px 13px; background: #fff; color: var(--navy); text-decoration: none; border: 1px solid #d9d5cb; }
.ant-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- sidebar + form ---------- */
.ant-aside { position: sticky; top: calc(var(--header-h) + 50px); }
.ant-aside__box { background: var(--navy); color: #fff; padding: 28px; }
.ant-aside__call { margin-top: 14px; background: #fff; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 15px; }
.ant-aside__call a { font-weight: 700; color: var(--navy); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
/* Sticky only when the whole form (~850px tall + header offset) fits; otherwise the Submit button sits below the fold and can never be reached. */
@media (max-width: 960px), (max-height: 999px) { .ant-aside { position: static; } }

.ant-form__title { font-family: var(--serif); color: #fff; font-size: 26px; margin: 0 0 16px; opacity: .92; }
.ant-form__row { margin: 0 0 12px; }
.ant-form label { display: block; font-size: 14px; margin-bottom: 4px; color: #dbe3ff; }
.ant-form__opt { opacity: .7; }
.ant-form input, .ant-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 9px 11px; border: 1px solid #c9cfdf; border-radius: 2px; background: #fff; color: #111; }
.ant-form textarea { resize: vertical; min-height: 110px; }
.ant-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ant-form__note { font-size: 12.5px; line-height: 1.45; color: #c7d2ff; margin: 6px 0 14px; }
.ant-form__submit { width: 100%; text-transform: uppercase; background: var(--blue-2); border-radius: 0; }
.ant-form__msg { background: #fff3cd; color: #5c4400; padding: 10px 12px; font-size: 14px; }
.ant-form--light { background: #fff; padding: 28px; box-shadow: var(--shadow); }
.ant-form--light .ant-form__title { color: var(--navy-2); }
.ant-form--light label { color: var(--ink); }
.ant-form--light .ant-form__note { color: #666; }

/* ---------- content types ---------- */
.ant-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 32px 0; }
@media (max-width: 960px) { .ant-team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ant-team { grid-template-columns: repeat(2, 1fr); gap: 30px 30px; } }
.ant-team__card { display: block; text-decoration: none; color: var(--navy); }
.ant-team__photo { display: block; aspect-ratio: 288 / 390; overflow: hidden; background: #ddd; }
.ant-team__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .2s, transform .3s; border-radius: 0; }
.ant-team__card:hover img { filter: none; transform: scale(1.03); }
.ant-team__name { display: block; font-family: var(--serif); font-weight: 700; font-size: 20px; margin-top: 12px; }
.ant-team__role { display: block; font-size: 14.5px; color: #555; line-height: 1.4; margin-top: 2px; }

.ant-profile { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.ant-profile__photo { margin: 0 0 20px; }
.ant-profile__photo img { width: 100%; filter: grayscale(1); }
.ant-profile__contact { font-size: 15px; margin-bottom: 14px; color: var(--navy); }
.ant-profile__contact a { color: var(--navy); }
.ant-profile__name { font-size: clamp(30px, 3.4vw, 38px); margin-bottom: 8px; }
.ant-profile__role { font-weight: 700; color: var(--navy); margin-bottom: 26px; }
@media (max-width: 760px) { .ant-profile { grid-template-columns: 1fr; } .ant-profile__side { max-width: 320px; } }

.ant-case__intro { margin-bottom: 32px; }
.ant-case__lead { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; color: var(--navy-2); }
.ant-case__sub { font-size: 19px; color: var(--muted); }
.ant-filed { margin-top: 44px; }
.ant-filed__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.ant-filed__item { background: #fff; padding: 18px 20px; border-top: 3px solid var(--navy); }
.ant-filed__item h3 { font-size: 17px; margin: 0 0 8px; }
.ant-filed__item p { font-size: 14px; line-height: 1.55; color: #555; margin: 0; }

.ant-linklist { padding-left: 1.2em; }
.ant-linklist--cols { columns: 3 200px; column-gap: 32px; }
.ant-cardlist { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 10px; }
.ant-cardlist--cols { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ant-cardlist a { display: flex; justify-content: space-between; gap: 12px; background: #fff; padding: 16px 20px; text-decoration: none; color: var(--navy); font-family: var(--serif); font-weight: 700; font-size: 18px; border-left: 3px solid var(--blue); }
.ant-cardlist a:hover { background: var(--navy); color: #fff; }

.ant-quotes { display: grid; gap: 22px; margin: 28px 0; }
.ant-quote { margin: 0; background: #fff; padding: 24px 26px; box-shadow: 0 6px 20px rgba(13, 31, 74, .08); }
.ant-quote__title { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--navy-2); margin-bottom: 8px; }
.ant-quote blockquote { margin: 0 0 10px; padding: 0; border: 0; color: var(--ink); }
.ant-quote cite { font-style: normal; font-weight: 700; color: var(--navy); font-size: 15px; }
.ant-quotes--cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.ant-press { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; margin: 28px 0; }
.ant-press__item { display: flex; flex-direction: column; gap: 8px; background: #fff; padding: 22px; text-decoration: none; color: var(--ink); text-align: center; box-shadow: 0 6px 20px rgba(13, 31, 74, .08); }
.ant-press__logo { min-height: 70px; display: flex; align-items: center; justify-content: center; }
.ant-press__logo img { max-height: 70px; width: auto; }
.ant-press__source { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: #777; }
.ant-press__caption { font-family: var(--serif); font-weight: 700; color: var(--navy); }

/* ---------- Acuity section ---------- */
.ant-acuity-section { background: #fff; padding: 72px 0 56px; border-top: 1px solid var(--line); }
.ant-acuity-section .ant-h2 { color: #000; margin-bottom: 30px; font-size: 34px; }
.ant-acuity-section__intro { max-width: 540px; margin: 0 auto 26px; font-size: 15px; color: #222; }
.ant-acuity iframe { display: block; width: 100%; min-height: 900px; border: 0; }

/* ---------- footer ---------- */
.ant-footer { background: var(--ink-bg); color: #eee; padding: 44px 0 18px; font-size: 15px; }
.ant-footer a { color: #fff; }
.ant-footer__grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 32px; align-items: center; }
.ant-footer__logo { display: inline-block; line-height: 0; }
.ant-footer__logo .ant-logo { width: 230px; }
.ant-footer .ant-logo__a { fill: #fff; }
.ant-footer .ant-logo__b { fill: #c7d2ff; }
.ant-footer__links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ant-footer__links a { text-decoration: none; }
.ant-footer__links a:hover { text-decoration: underline; }
.ant-footer__map { min-height: 200px; background-size: contain; background-position: center; background-repeat: no-repeat; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.ant-footer__phone { font-family: var(--serif); font-weight: 700; font-size: 26px; text-decoration: none; }
.ant-footer__address { font-style: normal; text-align: right; line-height: 1.6; }
.ant-footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--blue-2); margin-top: 28px; padding-top: 14px; font-size: 14px; }
.ant-footer__bar p { margin: 0; }
.ant-footer__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.ant-footer__social a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; }
.ant-footer__social a:hover { background: var(--blue-2); border-color: var(--blue-2); }
@media (max-width: 860px) {
	.ant-footer__grid { grid-template-columns: 1fr; text-align: center; }
	.ant-footer__links { justify-content: center; }
	.ant-footer__address { text-align: center; }
	.ant-footer__bar { flex-direction: column; }
}

/* ---------- legacy full-HTML sections (imported practice pages) ----------
   Those pages were built for a fixed 140px header with inline margin-top offsets; the new header is sticky. */
.ant-sections > section:first-of-type, .ant-sections > div > section:first-of-type,
.ant-sections > div > div > section:first-of-type { margin-top: 0 !important; }
.ant-sections section h1, .ant-sections section h2, .ant-sections section h3 { font-family: var(--serif); }
/* Old Bootstrap theme: headings inherit the section colour (white on navy heroes, #333 elsewhere). */
.ant-sections section :is(h1, h2, h3, h4, h5, h6) { color: inherit; }
.ant-sections .page-header-inner { display: none; }
.ant-sections > p:empty { display: none; }
.ant-sections > .wp-block-details, .ant-sections > p, .ant-sections > ul, .ant-sections > ol, .ant-sections > h2, .ant-sections > h3 { max-width: 780px; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- utilities ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .ant-header, .ant-footer, .ant-aside, .ant-acuity-section { display: none; } }
