/* ==========================================================================
   Old-site global snippets, ported (they were WPCode snippets on the old site)
   ========================================================================== */

/* ---------- exit-intent popup ---------- */
.al-popup-overlay { position: fixed; inset: 0; z-index: 99999; background: rgba(13, 31, 74, .72); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.al-popup-overlay[hidden] { display: none; }
.al-popup-overlay.al-popup-visible { opacity: 1; pointer-events: all; }
.al-popup-box { position: relative; background: #fff; border-radius: 16px; max-width: 713px; width: 100%; overflow: hidden; transform: translateY(21px); transition: transform .28s ease; box-shadow: 0 37px 92px rgba(13, 31, 74, .35); }
.al-popup-overlay.al-popup-visible .al-popup-box { transform: translateY(0); }
.al-popup-close { position: absolute; top: 21px; right: 21px; width: 37px; height: 37px; background: transparent; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 7px; color: rgba(13, 31, 74, .35); padding: 0; transition: color .2s, background .2s; }
.al-popup-close:hover, .al-popup-close:focus-visible { color: #0d1f4a; background: rgba(13, 31, 74, .07); }
.al-popup-body { padding: 64px 60px 55px; }
.al-popup-headline { font-family: var(--cond); font-size: 39px; font-weight: 800; color: #0d1f4a; line-height: 1.2; letter-spacing: -.5px; margin: 0 0 18px; text-align: center; }
.al-popup-sub { font-size: 21px; line-height: 1.65; color: #3b4a73; margin: 0 0 41px; text-align: center; }
.al-popup-cta { display: block; background: #1f73b7; color: #fff !important; text-decoration: none !important; text-align: center; padding: 21px 37px; border-radius: 9px; font-family: var(--ui); font-size: 23px; font-weight: 700; letter-spacing: .2px; box-shadow: 0 9px 28px rgba(31, 115, 183, .35); transition: background .2s, transform .15s, box-shadow .15s; }
.al-popup-cta:hover { background: #1560a0; transform: translateY(-2px); box-shadow: 0 14px 37px rgba(31, 115, 183, .45); }
.al-popup-dismiss-wrap { text-align: center; margin: 23px 0 0; }
.al-popup-dismiss { background: none; border: 0; cursor: pointer; font-size: 17px; line-height: 1.65; color: rgba(13, 31, 74, .4); text-decoration: underline; padding: 0; transition: color .2s; }
.al-popup-dismiss:hover, .al-popup-dismiss:focus-visible { color: #0d1f4a; }
@media (max-width: 480px) {
	.al-popup-box { border-radius: 12px; }
	.al-popup-body { padding: 37px 28px 32px; }
	.al-popup-headline { font-size: 30px; }
	.al-popup-cta { font-size: 18px; padding: 18px 28px; }
}

/* ---------- Avvo: row of badge cards above the scheduler ---------- */
.attorney-badges { width: 100%; display: flex; justify-content: center; align-items: stretch; gap: 20px; flex-wrap: wrap; margin: 0 auto; padding: 32px 16px; background-color: #fff; }
.attorney-badges__item { width: 180px; height: 150px; display: flex; align-items: center; justify-content: center; padding: 14px; background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; box-shadow: 0 10px 24px rgba(15, 35, 55, .08); }
.attorney-badges__item a { width: 100%; height: 100%; display: flex !important; align-items: center; justify-content: center; text-decoration: none; }
.attorney-badges__item svg.avvo-badge { width: 155px !important; height: 120px !important; max-width: 100%; max-height: 120px; display: block; flex: 0 0 auto; }
.attorney-badges__item img { display: block; width: auto; height: auto; max-width: 145px; max-height: 105px; object-fit: contain; }
.attorney-badges__item #avvo_badge { max-width: 130px; max-height: 90px; }
@media (max-width: 640px) {
	.attorney-badges { gap: 14px; margin: 24px auto; }
	.attorney-badges__item { width: 100%; max-width: 220px; height: 145px; }
}
.ant-avvo--hero { margin: 20px auto 10px; }
.ant-avvo--isp { margin: 26px auto 0; max-width: 1270px; width: 100%; }
.ant-avvo--isp .antonelli-avvo-badges-inline { justify-content: flex-start; }
.ant-avvo--referral { margin-top: 12px; }

/* ---------- tables as cards on phones ----------
   inc/content-filters.php gives every body cell of a table with a header row data-label="<column>"; on phones each row
   becomes a card and the column name is shown above each value. */
@media (max-width: 768px) {
	.ant-tablewrap--cards { overflow-x: visible; background: transparent; box-shadow: none; border-radius: 0; }
	table.ant-cardtable, table.ant-cardtable tbody, table.ant-cardtable tr, table.ant-cardtable td, table.ant-cardtable th { display: block !important; width: 100% !important; min-width: 0 !important; }
	table.ant-cardtable { border: 0 !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; }
	table.ant-cardtable thead { display: none !important; }
	table.ant-cardtable tbody tr { margin: 0 0 18px !important; border: 1px solid #d9d9d9 !important; border-radius: 6px !important; overflow: hidden !important; background: #fff !important; box-shadow: 0 4px 14px rgba(0, 0, 0, .06) !important; }
	table.ant-cardtable tbody td, table.ant-cardtable tbody th { box-sizing: border-box !important; padding: 14px 16px !important; border: 0 !important; border-bottom: 1px solid #e6e6e6 !important; text-align: left !important; background: #fff !important; }
	table.ant-cardtable tbody tr > :last-child { border-bottom: 0 !important; }
	table.ant-cardtable [data-label]::before { content: attr(data-label); display: block; margin: 0 0 6px; font-family: var(--ui); font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #252525; }
	table.ant-cardtable tbody tr > :first-child { background: #0d1f4a !important; }
	.single-post table.ant-cardtable tbody tr > :first-child { background: #1f73b7 !important; }
	table.ant-cardtable tbody tr > :first-child, table.ant-cardtable tbody tr > :first-child strong, table.ant-cardtable tbody tr > :first-child b { color: #fff !important; font-size: 16px !important; }
	table.ant-cardtable tbody tr > :first-child::before { color: rgba(255, 255, 255, .6); }
	table.ant-cardtable td p:last-child, table.ant-cardtable td ul:last-child, table.ant-cardtable td ol:last-child { margin-bottom: 0 !important; }
}

/* ---------- legacy landing page tweaks (were inline JS on the old site) ---------- */
#home-container p { font-size: 18px !important; } /* the old site forced this on every paragraph with JS, overriding inline sizes */
@media (max-width: 768px) {
	#home-container h2 { line-height: 38px !important; }
	#this-is-for-you-title { min-height: auto !important; }
	#cta-content-col { order: 1 !important; padding: 40px 0 !important; }
	#cta-image-col { order: 2 !important; }
}
@media (min-width: 769px) {
	#cta-image-col { order: 1; }
	#cta-content-col { order: 2; padding: 40px !important; }
}
/* Raw <details> in legacy HTML: +/- marker on the right (the old site added it with JS). */
.ant-sections details:not(.wp-block-details) > summary { display: flex; align-items: center; }
.ant-sections details:not(.wp-block-details) > summary::after { content: "\FF0B"; margin-left: auto; padding-left: 12px; font-weight: 700; font-size: 18px; color: #1f73b7; line-height: 1; }
.ant-sections details:not(.wp-block-details)[open] > summary::after { content: "\FF0D"; }

/* ---------- testimonials carousel (Team, Press, Disclaimer) ---------- */
.ant-tcarousel { position: relative; max-width: 960px; margin: 48px auto 8px; padding: 0 56px; }
.ant-tcarousel__track { display: flex; align-items: flex-start; transition: height .25s ease; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.ant-tcarousel__track::-webkit-scrollbar { display: none; }
.ant-tcarousel__slide { flex: 0 0 100%; scroll-snap-align: start; padding: 8px 4%; text-align: center; }
.ant-tcarousel__slide blockquote { margin: 0 0 14px; padding: 0; border: 0; font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--navy-2); }
.ant-tcarousel__slide blockquote p { margin: 0 0 .7em; }
.ant-tcarousel__stars { color: #f5a623; letter-spacing: 3px; font-size: 18px; margin-bottom: 6px; }
.ant-tcarousel__who { font-weight: 700; color: var(--navy); font-size: 15px; }
.ant-tcarousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid #cfd5e3; background: #fff; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.ant-tcarousel__btn:hover { background: var(--navy); color: #fff; }
.ant-tcarousel__btn--prev { left: 0; }
.ant-tcarousel__btn--next { right: 0; }
@media (max-width: 600px) { .ant-tcarousel { padding: 0 0 56px; } .ant-tcarousel__btn { top: auto; bottom: 0; transform: none; } .ant-tcarousel__btn--prev { left: calc(50% - 50px); } .ant-tcarousel__btn--next { right: calc(50% - 50px); } }
.ant-quote--empty blockquote { display: none; }

/* ==========================================================================
   Plaintiff case template (classic cases)
   ========================================================================== */
.ant-casehero { background-color: var(--navy); background-image: linear-gradient(180deg, var(--navy) 31%, rgba(21, 77, 121, .75) 100%); color: #fff; padding: 40px 0 56px; }
.ant-casehero__title { color: #fff; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; max-width: 1000px; margin: 0 0 28px; }
.ant-casehero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.ant-casehero__intro { font-size: 18px; line-height: 1.55; color: #fff; margin: 0; }
.ant-casehero__media { position: relative; z-index: 2; margin-bottom: -210px; }
.ant-video { position: relative; aspect-ratio: 16 / 9; background: #000; border: 4px solid var(--blue-2); cursor: pointer; overflow: hidden; }
.ant-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ant-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.ant-video__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); background: #f00; border-radius: 12px; }
.ant-video__play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; }
.ant-featured { text-align: center; margin-top: 18px; }
.ant-featured p { text-transform: uppercase; font-size: 13px; letter-spacing: .5px; color: #333; margin: 0 0 6px; }
.ant-featured img { width: 60%; height: auto; }
.ant-caseintro { background: var(--sand); padding: 36px 0 40px; }
.ant-caseintro__body { max-width: calc(50% - 20px); font-size: 16px; line-height: 1.4286; }
.ant-caseintro__jump { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.ant-callband { background: var(--navy); color: #fff; padding: 44px 0; text-align: center; }
.ant-callband p { font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; max-width: 1100px; margin: 0 auto; }
.ant-callband a { color: #fff; text-decoration: underline; }
.ant-casesec { background: var(--sand); padding: 56px 0; }
.ant-caseqa h2 { font-size: 24px; margin: 0 0 4px; }
.ant-caseqa h2 + p { font-size: 16px; margin-bottom: 18px; }
.ant-caseqa .wp-block-details, .ant-plainfaq details { background: none; box-shadow: none; border-radius: 0; margin: 0 0 6px; }
.ant-caseqa .wp-block-details summary, .ant-plainfaq summary { padding: 6px 0 6px 22px; font-family: var(--ui); font-size: 15px; color: var(--navy-2); position: relative; cursor: pointer; list-style: none; }
.ant-caseqa .wp-block-details summary::-webkit-details-marker, .ant-plainfaq summary::-webkit-details-marker { display: none; }
.ant-caseqa .wp-block-details summary::after, .ant-plainfaq summary::before { content: "+"; position: absolute; left: 0; right: auto; top: 3px; transform: none; color: var(--blue); font-size: 18px; font-weight: 700; }
.ant-caseqa .wp-block-details[open] summary::after, .ant-plainfaq details[open] > summary::before { content: "\2212"; }
.ant-caseqa .wp-block-details > :not(summary), .ant-plainfaq details > :not(summary) { padding: 0 0 0 22px; }
.ant-caseqa .wp-block-details > :last-child { padding-bottom: 12px; }
.ant-plainfaq details > :last-child { margin-bottom: 12px; }
.ant-plainfaq h3 { font-size: 18px; margin: 10px 0 8px; }
.ant-plainfaq p, .ant-plainfaq li, .ant-caseqa p, .ant-caseqa li { font-size: 15px; color: var(--ink); }
.ant-caseqa__call { font-size: 14px; margin: 18px 0 0; }
.ant-ctablue { background: var(--blue-2); color: #fff; text-align: center; padding: 52px 0 56px; }
.ant-ctablue h2 { color: #fff; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; max-width: 1050px; margin: 0 auto 26px; }
.ant-hire__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; }
.ant-hire__text p { font-size: 15px; }
.ant-hire__map { min-height: 300px; background-size: contain; background-repeat: no-repeat; background-position: center; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ant-hire__map h3 { font-size: clamp(24px, 2.2vw, 30px); color: var(--navy); margin-bottom: 14px; }
.ant-hire__faqtitle { margin-top: 24px; }
.ant-tband { background: var(--blue-2); color: #fff; padding: 40px 0; }
.ant-tband .ant-tcarousel { margin: 0 auto; max-width: 1140px; }
.ant-tband .ant-tcarousel__slide blockquote, .ant-tband .ant-tcarousel__slide blockquote p { color: #fff; font-style: italic; font-size: 17px; }
.ant-tband .ant-tcarousel__stars, .ant-tband .ant-tcarousel__who { color: #fff; }
.ant-tband .ant-tcarousel__btn { background: transparent; border: 0; color: #fff; font-size: 34px; }
.ant-districts .ant-center { font-size: 22px; margin-bottom: 26px; }
.ant-districts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 32px; max-width: 1050px; margin: 0 auto; align-items: start; }
.ant-network { background: #e0ded7; }
.ant-network .ant-center { font-size: 22px; max-width: 1000px; margin: 0 auto 22px; }
.ant-network__list { columns: 3 260px; column-gap: 24px; margin: 0 auto; max-width: 1080px; font-size: 14px; font-weight: 600; }
.ant-network__list li { margin-bottom: 2px; }
.ant-network__list a { color: var(--navy); text-decoration: none; }
.ant-network__list a:hover { text-decoration: underline; }
.ant-options { background: #e0ded7; }
.ant-options__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; align-items: start; }
.ant-option > summary { list-style: none; cursor: pointer; background: #154d79; color: #fff; text-align: center; padding: 30px; display: flex; flex-direction: column; gap: 8px; }
.ant-option > summary::-webkit-details-marker { display: none; }
.ant-option__num { font-family: var(--serif); font-size: 16px; }
.ant-option__title { font-family: var(--serif); font-weight: 700; font-size: 22px; }
.ant-option__teaser { font-size: 14px; }
.ant-option__more { display: inline-block; align-self: center; background: var(--red); padding: 6px 14px; font-weight: 700; font-size: 14px; }
.ant-option__body { background: #154d79; color: #fff; padding: 0 30px 30px; }
.ant-option__body h3, .ant-option__body h4 { color: #fff; }
.ant-option__body p, .ant-option__body li { font-size: 15px; color: #fff; }
@media (max-width: 900px) {
	.ant-casehero__grid, .ant-hire__grid { grid-template-columns: 1fr; }
	.ant-casehero__media { margin-bottom: 0; }
	.ant-caseintro__body { max-width: none; }
	.ant-districts__grid, .ant-options__grid { grid-template-columns: 1fr; }
	.ant-featured p { color: #fff; }
}

/* Content pages use the full container width like the old site; the testimonial slider breaks out into a blue band. */
.ant-page .ant-wrap > .ant-prose { max-width: none; }
.ant-page .ant-prose .ant-tcarousel { max-width: none; margin: 48px calc(50% - 50vw) -72px; padding: 40px max(56px, calc(50vw - 570px)); background: var(--blue-2); }
.ant-page .ant-prose .ant-tcarousel__slide blockquote, .ant-page .ant-prose .ant-tcarousel__slide blockquote p { color: #fff; font-style: italic; font-size: 17px; }
.ant-page .ant-prose .ant-tcarousel__stars, .ant-page .ant-prose .ant-tcarousel__who { color: #fff; }
.ant-page .ant-prose .ant-tcarousel__btn { background: transparent; border: 0; color: #fff; font-size: 34px; }
@media (max-width: 600px) { .ant-page .ant-prose .ant-tcarousel { padding: 32px 20px 64px; } }
body { overflow-x: clip; }

/* Archives (plain list of linked titles, like the old site) */
.ant-archivelist { list-style: none; margin: 0; padding: 0; }
.ant-archivelist li { margin: 0 0 35px; }
.ant-archivelist h2 { font-size: 30px; line-height: 1.2; margin: 0; }
.ant-archivelist a { color: var(--navy); text-decoration: none; }
.ant-archivelist a:hover { color: var(--blue); }
/* Attorneys + nationwide coverage template */
.ant-torrent h3 { margin: 0 0 6px; }
.ant-torrent ul { margin: 0 0 26px; padding-left: 20px; font-size: 14px; font-weight: 600; }
.ant-torrent__locs { columns: 2 280px; column-gap: 40px; max-width: 820px; }
.ant-torrent a, .ant-linklist a { color: var(--navy); text-decoration: none; font-weight: 600; }
.ant-torrent a:hover, .ant-linklist a:hover { text-decoration: underline; }
.ant-linklist { font-size: 14px; padding-left: 20px; }

/* Footer details as on the old site: "Cases | Locations" and coloured social circles. */
.ant-footer__links li + li::before { content: "|"; margin-right: 18px; color: #c7d2ff; }
.ant-footer__links { gap: 6px 18px; }
.ant-footer__social a { border: 0; color: #fff; }
.ant-footer__social li:nth-child(1) a { background: #0077b5; }
.ant-footer__social li:nth-child(2) a { background: #1da1f2; }
.ant-footer__social li:nth-child(3) a { background: #3b5998; }
.ant-footer__social a:hover { filter: brightness(1.15); }

/* ---------- home page parity with the old site ---------- */
.ant-hero.wp-block-cover { min-height: 0 !important; padding: 64px var(--gutter); }
.ant-hero h1 { font-size: clamp(28px, 2.6vw, 34px); margin-bottom: 14px; }
.ant-hero__sub { font-family: var(--ui); font-size: 16px; }
.ant-hero__call, .ant-hero__note { font-family: var(--ui); }
.ant-hero__call { font-size: 15px; margin-top: 18px; }
.ant-section p, .ant-section li, .ant-section .wp-block-details summary, .ant-section td, .ant-section th { font-family: var(--ui); }
.ant-section .ant-lead { font-size: 15px; }
.ant-split .wp-block-column:last-child { align-self: stretch; }
.ant-split .ant-rounded { height: 100%; margin: 0; }
.ant-split .ant-rounded img { height: 100%; min-height: 360px; }
.ant-split p { font-size: 15px; line-height: 1.65; }
.ant-steps p.ant-step__num { font-size: 32px; line-height: 1.1; margin-bottom: 16px; }
.ant-iconcard p, .ant-steps p { font-size: 15px; line-height: 1.6; }
.ant-quotecards .wp-block-quote p { font-size: 15px; }
/* Closing consultation band: photo left, copy + actions right. */
.ant-ctaband .wp-block-columns { align-items: center; gap: 40px; }
.ant-ctaband .wp-block-image img { border-radius: 10px; display: block; width: 100%; height: 100%; object-fit: cover; }
.ant-ctaband h2 { text-align: left; }
.ant-ctaband p { color: #e4ebff; font-size: 15px; }
.ant-ctaband .wp-block-buttons { justify-content: flex-start; align-items: center; }
.ant-ctaband .ant-ctaband__call a { color: #fff; font-family: var(--ui); font-weight: 700; font-size: 15px; text-decoration: none; }
.ant-ctaband .wp-block-buttons { display: inline-flex; margin-top: 20px; vertical-align: middle; } .ant-ctaband .ant-ctaband__call { display: inline-block; margin: 20px 0 0 22px; vertical-align: middle; }

.ant-legacy-center { text-align: center; }

.ant-torrent__body { margin-bottom: 36px; }

/* Press page: plain logos with a small caption, as on the old site. */
.ant-press { gap: 18px 22px; }
.ant-press__item { background: none; box-shadow: none; padding: 0; gap: 4px; }
.ant-press__logo { min-height: 0; background: #fff; }
.ant-press__logo img { max-height: none; width: 100%; height: auto; border-radius: 0; }
.ant-press__source { font-size: 12px; text-transform: none; letter-spacing: 0; color: #333; }
.ant-press__caption { display: none; }

/* Testimonials page: centred italic quotes separated by rules, as on the old site. */
.ant-quotes:not(.ant-quotes--cards) { gap: 0; max-width: 900px; margin: 12px auto; }
.ant-quotes:not(.ant-quotes--cards) .ant-quote { background: none; box-shadow: none; text-align: center; padding: 30px 4%; border-bottom: 1px solid #cfcabd; }
.ant-quotes:not(.ant-quotes--cards) .ant-quote blockquote { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.55; color: #555; }
.ant-quotes:not(.ant-quotes--cards) .ant-quote cite { font-size: 14px; color: #333; }

.ant-archivelist__body { margin: 8px 0 26px; font-size: 15px; }
.ant-archivelist__body hr { border: 0; border-top: 1px solid #cfcabd; }
.wp-block-table.is-style-ant td, .wp-block-table.is-style-ant th { border-left: 0; border-right: 0; border-top: 0; }

/* ---------- floating "Strike 3 Holdings" guide menu (inc/legacy.php → ant_s3nav) ---------- */
.s3nav { position: fixed; right: 6px; top: 50%; transform: translateY(-50%); z-index: 9990; font-size: 16px; font-family: var(--ui); }
.s3nav__toggle { display: flex; align-items: center; gap: 10px; background: linear-gradient(180deg, #1a3a6e 0%, #0d1f4a 100%); color: #fff; border: 0; padding: 16px 18px; cursor: pointer; border-radius: 10px 0 0 10px; font: 700 16px/1 var(--ui); letter-spacing: .2px; writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg); box-shadow: -4px 0 20px rgba(13, 31, 74, .45); transition: background .2s; animation: s3pulse 2.5s ease-in-out infinite; }
.s3nav__toggle:hover, .s3nav__toggle:focus-visible { background: linear-gradient(180deg, #1f73b7 0%, #185fa5 100%); animation: none; }
.s3nav__toggle[aria-expanded="true"] { animation: none; }
.s3nav__chev { flex-shrink: 0; transform: rotate(90deg); transition: transform .25s ease; }
.s3nav__toggle[aria-expanded="true"] .s3nav__chev { transform: rotate(270deg); }
@keyframes s3pulse { 0%, 100% { box-shadow: -4px 0 20px rgba(13, 31, 74, .45); } 50% { box-shadow: -4px 0 28px rgba(31, 115, 183, .7); } }
.s3nav__panel { position: absolute; right: 54px; top: 50%; transform: translateY(-50%) translateX(12px); width: 320px; background: linear-gradient(145deg, #002b5c 0%, #0d1f4a 60%, #1a3a6e 100%); border-radius: 10px 0 0 10px; border-left: 3px solid #1f73b7; box-shadow: -6px 0 28px rgba(0, 0, 0, .4); overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; }
.s3nav__panel.s3nav-open { opacity: 1; visibility: visible; pointer-events: all; transform: translateY(-50%) translateX(0); transition-delay: 0s; }
.s3nav__head { display: flex; align-items: center; gap: 10px; padding: 14px 20px 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #1f73b7; }
.s3nav__head span { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .5); letter-spacing: .1em; text-transform: uppercase; }
.s3nav__list, .s3nav-sub { list-style: none; margin: 0; padding: 0; }
.s3nav__list { padding: 6px 0; }
.s3nav__list > li > a, .s3nav-sub-toggle { display: flex; align-items: center; width: 100%; color: #c7d2ff; text-decoration: none; padding: 11px 20px; font: 400 15px/1.4 var(--ui); background: none; border: 0; cursor: pointer; text-align: left; }
.s3nav-sub-toggle { justify-content: space-between; }
.s3nav__list > li > a:hover, .s3nav-sub-toggle:hover, .s3nav-sub a:hover { background: rgba(31, 115, 183, .3); color: #fff; }
.s3nav__list > li > a.s3nav-current { background: rgba(31, 115, 183, .25); color: #fff; border-left: 3px solid #1f73b7; padding-left: 17px; }
.s3nav-sub-chevron { flex-shrink: 0; transition: transform .2s ease; }
.s3nav-sub-toggle[aria-expanded="true"] .s3nav-sub-chevron { transform: rotate(180deg); }
.s3nav-sub { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .25s ease, visibility 0s linear .25s; background: rgba(0, 0, 0, .2); }
.s3nav-sub.s3nav-sub-open { max-height: 200px; visibility: visible; transition-delay: 0s; }
.s3nav-sub a { display: block; color: #a8b8e8; text-decoration: none; padding: 9px 20px 9px 36px; font-size: 14px; }
.s3nav-sub a.s3nav-current { color: #fff; font-weight: 700; }
.s3nav__cta { display: block; background: #1f73b7; color: #fff; text-decoration: none; text-align: center; padding: 13px 20px; font-size: 15px; font-weight: 700; letter-spacing: .2px; margin: 6px 14px 14px; border-radius: 6px; box-shadow: 0 4px 14px rgba(31, 115, 183, .4); }
.s3nav__cta:hover { background: #185fa5; color: #fff; }
@media (max-width: 768px) { .s3nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .s3nav__toggle { animation: none; } }

/* ---------- home: sizes measured on the live site (its JS forced 18px on every home paragraph) ---------- */
.home .ant-hero .wp-block-cover__inner-container > * { max-width: 820px; margin-left: auto; margin-right: auto; }
.home .ant-hero__sub, .home .ant-hero__note { font-size: 18px; }
.home .ant-section p:not(.ant-step__num), .home .ant-section li, .home .ant-section .wp-block-details summary { font-size: 18px; }
.home .ant-section .ant-lead { font-size: 18px; max-width: 850px; }
.home .ant-section .ant-steps p:not(.ant-step__num), .home .ant-iconcard p, .home .ant-split p { line-height: 1.6; }
.home .ant-section.ant-ctaband p:not(.ant-step__num) { font-size: 16px; }
.home .ant-section h2 { font-size: 34px; }
.home .ant-section:has(> .wp-block-table) h2 { font-size: 32px; }
.home .ant-hero .ant-hero__sub { color: #e6ecff !important; }
.home .ant-quotecards .wp-block-quote p { color: #e4ebff !important; }
.home .wp-block-table.is-style-ant th:first-child { width: 35%; }
.home .ant-section:has(.ant-iconcards) .wp-block-button__link { padding: 16px 38px; }
.home .ant-split h2 { font-size: 34px; }
.home .ant-iconcard { flex-basis: 340px; }
.home .wp-block-table table { font-size: 16px; }
.home .wp-block-button__link { font-size: 16px; font-weight: 600; padding: 14px 28px; }
/* Footer CTA and legacy table headers: sizes measured on the live site. */
.ant-footer .ant-btn--red { padding: 8px 16px; }
.ant-tcarousel__slide blockquote p { font-size: 19px; }
/* Blog index: plain "Older posts / Newer posts" links like the old blog. */
.ant-postnav .nav-links { justify-content: space-between; }
.ant-postnav a { font-family: var(--ui); font-weight: 700; font-size: 14px; color: var(--navy); text-decoration: none; }
.ant-postnav a:hover { text-decoration: underline; }
.ant-postnav .nav-next { margin-left: auto; }
/* Body copy per template, measured on the live site. */
.single-ant_attorney .ant-prose, .single-ant_location .ant-prose { font-size: 16px; line-height: 1.4286; }
.single-ant_attorney .ant-prose a, .single-ant_location .ant-prose a { color: var(--navy); text-decoration: none; }
.single-ant_attorney .ant-prose a:hover, .single-ant_location .ant-prose a:hover { text-decoration: underline; }
.single-post .ant-prose { font-size: 17px; line-height: 1.8; color: #3b4a73; }
.single-post .ant-prose a { color: #1f73b7; font-weight: 600; text-decoration: none; }
.single-post .ant-prose a:hover { text-decoration: underline; }
@media (max-width: 768px) { .single-post .ant-prose { font-size: 16px; } }
/* Case pages: sizes measured on the live site. */
.ant-casehero__title { font-size: 44px; }
.ant-casehero__intro { font-size: 20px; }
.ant-plainfaq p, .ant-plainfaq li, .ant-caseqa p, .ant-caseqa li, .ant-hire__text p { font-size: 16px; }
.ant-plainfaq h3 { font-size: 24px; color: #333; }
.single-ant_case .ant-casesec h3 { font-size: 24px; color: #333; }
.single-ant_case .ant-btn { padding: 8px 16px; font-size: 14px; }
.ant-network__list { max-width: 1270px; font-size: 16px; font-weight: 400; }
.ant-network .ant-center { max-width: 1270px; }
.ant-casehero__title { max-width: none; }
.ant-callband p { font-size: 24px; }
@media (max-width: 768px) { .ant-callband p { font-size: 20px; } }
/* Location and attorney pages: headings as on the live site. */
.single-ant_location .ant-prose h1, .single-ant_location .ant-prose h2, .single-ant_location .ant-prose h3, .ant-profile__name { color: #333; }
.single-ant_location .ant-prose h3 { font-size: 24px; }
.single-ant_location .ant-prose li { font-size: 16px; }
.ant-profile__name { font-size: 36px; }
.ant-profile__contact a { font-size: 16px; }
.single-ant_location .ant-prose h1 { font-size: 36px; }
.single-ant_location .ant-prose h2 { font-size: 30px; }
.ant-band__title, .single-ant_location .ant-prose h1, .single-ant_location .ant-prose h2, .single-ant_location .ant-prose h3 { line-height: 1.1; }
.ant-team__card { text-align: center; }
@media (max-width: 640px) { .ant-team__name { font-size: 16px; } .ant-team__role { font-size: 13px; } }
.ant-wrap--acuity { max-width: calc(980px + var(--gutter) * 2); }
/* Home vertical rhythm measured on the live site. */
.home .ant-section { padding-top: 110px; padding-bottom: 110px; }
.home .ant-iconcards, .home .ant-steps { margin-bottom: 40px !important; }
@media (max-width: 781px) {
	.home .ant-section { padding: 90px 20px; }
	.home .ant-hero h1 { font-size: 34px; }
	.home .ant-hero.wp-block-cover { padding-top: 100px; }
}
.embed-responsive { position: relative; display: block; height: 0; padding: 0 0 56.25%; overflow: hidden; margin: 0 0 1.5em; }
.embed-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
