/*
Theme Name: EPS Website Review Candidate
Version: 0.5.6
Requires at least: 6.7
Requires PHP: 8.0
Description: Accessible, editable EPS website candidate. Draft content and temporary text identity pending owner approval.
*/
:root{--eps-navy:#142A40;--eps-slate:#24445C;--eps-paper:#F5F3EF;--eps-brass:#B29560;--eps-space-1:8px;--eps-space-2:16px;--eps-space-3:24px;--eps-space-4:32px;--eps-space-6:48px;--eps-space-8:64px;--eps-radius:4px;--ink:var(--eps-navy);--muted:#50616b;--paper:var(--eps-paper);--white:#fff;--line:#d8dcd9;--bronze:#795431;--sand:#d9c5a4;--serif:Georgia,'Times New Roman',serif;--sans:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--wrap:1280px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 var(--sans)}a{color:inherit;text-underline-offset:4px}a:hover{text-decoration-thickness:2px}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}img,iframe{max-width:100%}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.12;letter-spacing:-.035em}h1{font-size:clamp(2.8rem,5.8vw,4.5rem);margin:0 0 28px;max-width:900px}h2{font-size:clamp(2rem,3.1vw,3.1rem);margin:0 0 24px}h3{font-size:1.7rem;margin:0 0 14px}p{margin:0 0 22px}ul,ol{padding-left:24px}li{margin-bottom:9px}:focus-visible{outline:3px solid #2c7298;outline-offset:5px;border-radius:2px}.wrap,.site-main{max-width:var(--wrap);margin:auto;padding-left:32px;padding-right:32px}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{position:fixed;top:8px;left:8px;z-index:100;background:white;padding:12px}.review-ribbon{background:#eae0cc;border-bottom:1px solid #d4c2a2;font-size:12px;letter-spacing:.025em;padding:8px 20px;text-align:center}.review-ribbon strong{color:#563c23}.site-header{background:var(--white);border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:112px}.brand{text-decoration:none;display:inline-flex;flex-direction:column;line-height:1}.brand-name{font:38px var(--serif);letter-spacing:-.04em}.brand-subtitle{text-transform:uppercase;font-size:10px;letter-spacing:.26em;margin-top:8px}.site-nav ul{display:flex;list-style:none;align-items:center;gap:25px;margin:0;padding:0}.site-nav li{margin:0}.site-nav a{display:block;text-decoration:none;font-size:13px;font-weight:600;padding:14px 0;border-bottom:2px solid transparent}.site-nav a:hover,.site-nav .current-menu-item>a{border-color:var(--bronze)}.site-nav .eps-nav-submit>a{padding:13px 20px;background:var(--ink);color:white;border-radius:2px}.menu-toggle{display:none;border:1px solid var(--line);background:white;padding:10px 14px;font-size:14px}.site-main{padding-top:64px;padding-bottom:80px;min-height:45vh}.home .site-main{padding-top:0}.eyebrow,.kicker{text-transform:uppercase;letter-spacing:.17em;font-size:11px;font-weight:700;color:var(--bronze);margin:0 0 24px}.hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);gap:64px;align-items:center;padding:80px 0}.hero-copy>p:not(.eyebrow){font-size:18px;max-width:590px;color:var(--muted)}.hero-card{background:var(--ink);color:white;position:relative;padding:48px 38px;border-top:5px solid var(--sand)}.hero-card .eyebrow{color:var(--sand)}.hero-card h2{font-size:2.5rem}.hero-card p{font-size:14px;color:#d7e1e5}.hero-card a{color:white}.hero-card .route{border-top:1px solid #49606c;padding:21px 0 0;margin-top:24px}.route span{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--sand);margin-bottom:5px}.action-row{display:flex;flex-wrap:wrap;gap:14px;margin:30px 0}.eps-action{margin:0}.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 24px;background:var(--ink);color:white;border:1px solid var(--ink);border-radius:2px;text-decoration:none;font-size:16px;font-weight:650;line-height:1.45;transition:background .15s}.button:hover{background:#254b61}.section{padding:68px 0;border-top:1px solid var(--line)}.section-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:35px}.section-intro h2{max-width:650px;margin-bottom:0}.section-intro p{max-width:410px;color:var(--muted);font-size:15px;margin:0}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.service-card,.resource-card{background:white;border:1px solid var(--line);padding:32px;display:flex;flex-direction:column;align-items:flex-start}.service-card .number{font-size:11px;letter-spacing:.15em;color:var(--bronze);border-bottom:1px solid var(--sand);padding-bottom:12px;min-width:34px;margin-bottom:23px}.service-card h3 a,.resource-card h3 a{text-decoration:none}.service-card p,.resource-card p{color:var(--muted);font-size:16px}.service-card .card-link,.resource-card .card-link{margin-top:auto;padding-top:10px;font-size:13px;font-weight:650}.resource-card .kicker{margin-bottom:18px}.two-paths{background:var(--ink);color:white;margin:35px 0 0;padding:48px;display:grid;grid-template-columns:1fr 1fr;gap:54px}.two-paths p{color:#d7e1e5;font-size:15px}.two-paths h2{font-size:2rem}.two-paths .button{background:var(--sand);color:var(--ink);border-color:var(--sand)}.two-paths .eps-action{margin-top:25px}.two-paths .path-label{font-size:11px;text-transform:uppercase;letter-spacing:.17em;color:var(--sand)}.section-note{display:flex;gap:40px;justify-content:space-between;align-items:center;padding:36px 0;border-top:1px solid var(--line);font-size:14px}.section-note p{margin:0;max-width:750px;color:var(--muted)}.page-heading{padding:0 0 32px;border-bottom:1px solid var(--line);margin-bottom:40px}.page-heading h1{font-size:clamp(2.6rem,5vw,4.6rem);max-width:900px}.page-heading .lead{max-width:750px;color:var(--muted);font-size:18px}.content-prose{max-width:840px}.content-prose h2{font-size:2.35rem;margin-top:45px}.content-prose h3{margin-top:30px}.content-prose>p{max-width:780px}.content-prose .card-grid{max-width:none}.wide-content{max-width:none}.breadcrumbs{font-size:12px;margin-bottom:24px;color:var(--muted)}.breadcrumbs a{text-decoration:none}.entry-meta{font-size:12px;color:var(--muted)}.eps-rate{border-left:3px solid var(--sand);padding:20px 25px;background:white;margin:32px 0}.eps-rate p{margin-bottom:10px}.eps-rate p:first-child{font-weight:650}details{border-bottom:1px solid var(--line);padding:22px 0}summary{cursor:pointer;font-family:var(--serif);font-size:1.45rem;line-height:1.4;padding-right:22px}details[open] summary{margin-bottom:18px}details p{font-size:15px;color:var(--muted)}.global-notices{background:#eef2f2}.global-notices aside{max-width:var(--wrap);margin:auto;padding:14px 32px;font-size:13px}.global-notices p{display:inline;margin-left:12px}.inquiry-panel{padding:34px;border:1px solid var(--line);background:white;margin:36px 0}.inquiry-panel h2{margin-top:0}.inquiry-frame{width:100%;height:880px;border:0;margin:24px 0}.inquiry-frame[hidden]{display:none}.form-disclosure{font-size:12px;color:var(--muted);margin-top:18px}.site-footer{background:var(--ink);color:white;padding:54px 0 25px}.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:50px;padding-bottom:35px}.footer-top p{font-size:13px;max-width:350px;color:#cad7dc;margin-top:20px}.footer-top h2{font:11px var(--sans);letter-spacing:.15em;text-transform:uppercase;color:var(--sand);margin:8px 0 20px}.footer-top ul{list-style:none;padding:0;margin:0}.footer-top li{margin-bottom:9px;font-size:13px}.footer-top a{text-decoration:none}.footer-top a:hover{text-decoration:underline}.footer-bottom{border-top:1px solid #405763;padding-top:22px;display:flex;justify-content:space-between;gap:25px;font-size:11px;color:#bdcdd4}.footer-bottom a{margin-left:18px}.integration-pending{color:var(--muted);font-size:14px}.search-form label{display:block}.search-field{width:min(100%,420px);padding:12px;border:1px solid var(--line)}.search-submit{padding:13px 20px;background:var(--ink);color:white;border:1px solid var(--ink)}
@media(max-width:1000px){.site-nav ul{gap:17px}.header-inner{gap:20px}.hero{gap:32px}.hero-card{padding:34px 25px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-top{grid-template-columns:1.2fr 1fr 1fr;gap:28px}}
@media(max-width:760px){body{font-size:16px}.wrap,.site-main{padding-left:22px;padding-right:22px}.review-ribbon{font-size:10px;line-height:1.5}.header-inner{min-height:88px;flex-wrap:wrap;gap:0}.brand-name{font-size:32px}.brand-subtitle{font-size:8px}.menu-toggle{display:block}.site-nav{width:100%;padding-bottom:20px}.site-nav ul{display:block}.site-nav a{padding:12px 0}.site-nav .eps-nav-submit>a{margin-top:10px;text-align:center}.js [data-nav-open="false"] .site-nav{display:none}.hero{display:block;padding:48px 0}.hero-card{margin-top:36px}.hero h1{font-size:clamp(2.4rem,9vw,3.2rem)}.hero-copy>p:not(.eyebrow){font-size:16px}.action-row{gap:10px}.button{padding:13px 18px}.card-grid{grid-template-columns:1fr}.section{padding:43px 0}.section-intro{display:block;margin-bottom:26px}.section-intro h2{margin-bottom:20px}.two-paths{padding:30px 24px;grid-template-columns:1fr;gap:30px}.two-paths>div+div{border-top:1px solid #49606c;padding-top:28px}.section-note{display:block;padding:26px 0}.section-note .button{margin-top:20px}.footer-top{grid-template-columns:1fr 1fr;gap:25px}.footer-top>div:first-child{grid-column:1/-1}.footer-bottom{display:block}.footer-bottom>div{margin-top:16px}.footer-bottom a{margin-left:0;margin-right:18px}.site-main{padding-top:40px;padding-bottom:50px}.page-heading h1{font-size:clamp(2.25rem,8vw,2.8rem)}.inquiry-panel{padding:23px}.global-notices aside{padding:12px 22px}.global-notices p{display:block;margin:8px 0 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.resource-filters{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin:30px 0}.resource-filters label{display:block;flex:1;min-width:190px}.resource-filters input,.resource-filters select{display:block;padding:12px;width:100%;border:1px solid var(--muted);background:white;color:var(--ink)}.resource-review{border-top:2px solid var(--sand);margin:45px 0;padding:28px;background:white}.resource-review h2{margin-top:0}.resource-review dt{font-weight:650}.resource-review dd{margin:0 0 16px;overflow-wrap:anywhere}.resource-review a{overflow-wrap:anywhere}
.hero>.wp-block-group__inner-container{display:contents}

/* Author display rules must never reveal inactive form controls. */
.inquiry-panel [hidden]{display:none}

/* Owner-sourced horizontal EPS logo: native site_logo option, text fallback retained. */
.brand-logo{display:block;max-width:240px;max-height:76px;width:auto;height:auto;object-fit:contain}
.site-footer .brand-logo{max-width:225px;max-height:85px;background:var(--white);padding:7px;border-radius:2px}
@media(max-width:760px){.site-header .brand-logo{max-width:190px;max-height:62px}}

/* Shared components. Navy carries text contrast; brass is decorative only. */
:root{--eps-space-5:40px;--eps-space-10:80px;--eps-prose:72ch;--eps-control:#6b7781}
.site-main,.wrap{width:100%}
h1,h2,h3,p,a,dd{overflow-wrap:break-word}
.site-nav a,.menu-toggle{min-height:48px;align-content:center}
.site-nav .eps-nav-submit>a{border:2px solid var(--eps-navy);border-radius:var(--eps-radius)}
.site-nav .eps-nav-submit>a:hover{background:var(--eps-slate);color:var(--white)}
.button,.wp-block-button__link,.eps-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;padding:12px 24px;border:2px solid var(--ink);border-radius:var(--eps-radius);font-size:16px;font-weight:600;line-height:1.5;text-align:center;text-decoration:none;background:var(--ink);color:var(--white);white-space:normal}
.button--primary,.eps-button--primary{background:var(--ink);color:var(--white)}
.button--secondary,.eps-button--secondary{background:transparent;color:var(--ink)}
.button--secondary:hover,.eps-button--secondary:hover{background:var(--white);color:var(--ink)}
.button--text,.eps-button--text{background:transparent;border-color:transparent;color:var(--ink);text-decoration:underline}
.button--text:hover,.eps-button--text:hover{background:var(--white);color:var(--ink)}
.button:disabled,.eps-button:disabled{cursor:not-allowed;opacity:.65}
.eps-action{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.action-row{gap:16px;margin:32px 0}
.content-prose{max-width:var(--eps-prose)}
.content-prose.wide-content{max-width:none}
.content-prose p,.section>p:not(.eyebrow){max-width:var(--eps-prose)}
.content-prose h2{font-size:clamp(1.75rem,3vw,2.4rem)}
.content-prose h3{font-size:1.5rem}
.service-summary{font-size:20px;max-width:var(--eps-prose);color:var(--muted);margin-bottom:32px}
.service-card,.resource-card,.office-card{min-width:0;padding:32px;background:var(--white);border:1px solid var(--line);border-top:3px solid var(--sand);border-radius:var(--eps-radius)}
.service-card h3,.resource-card h3,.office-card h3{font-size:1.6rem;line-height:1.25}
.service-card p,.resource-card p{font-size:16px;line-height:1.65}
.service-card .card-link,.resource-card .card-link{display:inline-flex;align-items:center;min-height:48px;padding:8px 0;font-size:15px;text-decoration:underline}
.resource-card .entry-meta{font-size:13px;line-height:1.6}
.resource-filters{padding:24px;background:var(--white);border:1px solid var(--line);border-radius:var(--eps-radius);gap:24px}
.resource-filters label{font-size:15px;font-weight:600;min-width:min(190px,100%)}
.resource-filters input,.resource-filters select,.search-field{min-height:48px;border-color:var(--eps-control);border-radius:var(--eps-radius);font-weight:400}
nav[aria-label="Resource result pages"]{display:flex;flex-wrap:wrap;gap:8px;margin:32px 0}
nav[aria-label="Resource result pages"] a{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;border:1px solid var(--eps-control);border-radius:var(--eps-radius);text-decoration:none}
nav[aria-label="Resource result pages"] a[aria-current]{background:var(--ink);color:var(--white)}
.resource-review{padding:32px;border:1px solid var(--line);border-top:3px solid var(--sand)}
.resource-review dl{font-size:16px;line-height:1.65}
.content-prose table{border-collapse:collapse;max-width:100%;font-size:16px}
.content-prose th,.content-prose td{padding:12px;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.content-prose pre{white-space:pre-wrap;overflow-wrap:anywhere}
.breadcrumbs{font-size:14px;display:flex;gap:8px;flex-wrap:wrap}
.breadcrumbs a{min-height:32px}
summary{min-height:48px;align-content:center}
.inquiry-panel{border-radius:var(--eps-radius);padding:32px}
/* Dedicated Esquire form pages; the actual data is entered at each provider. */
.eps-provider-panel{width:100%;max-width:940px;margin:1.5rem auto 3rem;padding:clamp(16px,3vw,32px);background:#fff;border:1px solid var(--line);border-radius:var(--eps-radius);overflow-wrap:anywhere}
.eps-provider-panel h2,.eps-provider-intro{text-align:center;margin-left:auto;margin-right:auto}
.eps-provider-panel .form-disclosure{max-width:740px;margin:1rem auto;color:var(--muted);text-align:center}
.eps-provider-frame{display:block;box-sizing:border-box;width:100%;height:1000px;border:1px solid var(--line);border-radius:6px;background:#fff;margin:1.5rem auto}
/* Matches the owner's already-working 806 x 2300 Weebly embed while scaling
   the frame width to small viewports without changing the provider form. */
.eps-provider--job .eps-provider-frame{max-width:806px;height:2300px}
.eps-provider-help{max-width:740px;margin:1rem auto;text-align:center;font-size:14px}
@media(max-width:760px){.eps-provider-panel{padding:14px}.eps-provider--inquiry .eps-provider-frame{height:1250px}.eps-provider--job .eps-provider-frame{height:2300px}}

.inquiry-panel p{max-width:var(--eps-prose)}
.form-disclosure,.form-status{font-size:14px}
.office-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:32px 0}
.office-card p{font-size:16px}
.office-note{max-width:var(--eps-prose);color:var(--muted)}
.hero--worldwide{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:64px;padding:80px 0}
.hero--worldwide h1{font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.08;letter-spacing:-.045em}
.hero--worldwide .entry-meta{font-size:14px!important;line-height:1.6}
.reach-card{padding:40px;background:var(--eps-navy);color:var(--white);border-radius:var(--eps-radius);border-top:4px solid var(--eps-brass)}
.reach-card .eyebrow{color:var(--sand)}
.reach-wordmark{font:clamp(2rem,3.5vw,3rem)/1.15 var(--serif);margin-bottom:32px}
.reach-card dl{margin:0}
.reach-card dl>div{padding:16px 0;border-top:1px solid #607181}
.reach-card dt{font-size:14px;font-weight:650;color:var(--sand)}
.reach-card dd{font-size:16px;margin:4px 0 0}
.reach-card .entry-meta{font-size:13px;color:#d7e1e5;margin:24px 0 0}
.hero-image{margin:0;aspect-ratio:4/5;border-radius:var(--eps-radius);overflow:hidden}
.hero-image img{display:block;width:100%;height:100%;object-fit:cover}
.home-footprint .eps-footprint{border:1px solid var(--line);background:var(--white);padding:24px;border-radius:var(--eps-radius)}
.home-footprint .eps-footprint h2{font-size:1.65rem}
.closing-action{background:var(--white);padding:48px;border-top:3px solid var(--sand);margin-top:32px}
.site-footer a{min-height:32px;display:inline-flex;align-items:center}
:focus-visible{outline:3px solid #2875a0;outline-offset:4px}
.site-footer :focus-visible,.reach-card :focus-visible{outline-color:var(--sand)}
@media(max-width:1000px){.hero--worldwide{gap:32px}.reach-card{padding:32px}.site-nav ul{gap:16px}.header-inner{gap:24px}}
@media(min-width:761px) and (max-width:1000px){
  .header-inner{flex-wrap:wrap;gap:0;min-height:96px}
  .menu-toggle{display:block}
  .site-nav{width:100%;padding-bottom:24px}
  .site-nav ul{display:block}
  .site-nav a{padding:12px 0}
  .site-nav .eps-nav-submit>a{text-align:center;margin-top:8px}
  .js [data-nav-open="false"] .site-nav{display:none}
}
@media(max-width:760px){
  .hero--worldwide{display:grid;grid-template-columns:1fr;padding:48px 0;gap:32px}
  .office-grid{grid-template-columns:1fr}
  .service-card,.resource-card,.office-card{padding:24px}
  .reach-card{padding:24px}
  .closing-action{padding:32px 24px}
  .home-footprint .eps-footprint{padding:16px}
  .inquiry-panel,.resource-review,.resource-filters{padding:20px}
  .hero-copy .action-row{align-items:stretch;flex-direction:column}
  .hero-copy .action-row .eps-action,.hero-copy .action-row .button{width:100%}
  .site-nav a{min-height:48px}
  .footer-top{grid-template-columns:1fr}
  .footer-top>div:first-child{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* The national finder shares the EPS palette and control system. */
.eps-kf{--kf-ink:var(--eps-navy);--kf-muted:var(--muted);--kf-line:var(--line);--kf-paper:var(--paper);font-family:inherit}
.eps-kf button{min-height:48px}
.eps-kf form,.eps-kf .kf-card{border-radius:var(--eps-radius)}

/* Full-width block pattern preview: keep the native header and homepage in sync. */
.eps-home-preview .site-main{padding-top:0}
.hero--worldwide .hero-copy{min-width:0}
.hero--worldwide h1{overflow-wrap:normal;word-break:normal;hyphens:none}

/* The owner toolbar avatar is local: no external Gravatar calls on private staging. */
#wpadminbar .eps-admin-avatar{
  display:inline-flex;align-items:center;justify-content:center;
  vertical-align:middle;border-radius:50%;font:700 13px/1 sans-serif;
  color:#fff;background:#213b54;
}

.client-access{font-size:13px;font-weight:650;text-underline-offset:4px;white-space:nowrap;min-height:48px;display:inline-flex;align-items:center}
@media(max-width:1100px){.header-inner{flex-wrap:wrap}.client-access{margin-left:auto}.site-nav{order:3;width:100%}}
@media(max-width:760px){.client-access{width:100%;justify-content:center;order:4;margin:0;border-top:1px solid var(--line)}}

/* Interior-page shared alignment system. Align sections to the same central
   axis as the homepage; keep prose left aligned inside readable columns. */
.page-heading{
  width:100%;
  max-width:960px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.page-heading h1,.page-heading .lead,.page-heading .entry-meta{
  margin-left:auto;
  margin-right:auto;
}
.content-prose{
  width:100%;
  margin-left:auto;
  margin-right:auto;
}
.content-prose:not(.wide-content){
  max-width:min(100%,840px);
}
.content-prose:not(.wide-content)>.section>:is(p,ul,ol),
.content-prose:not(.wide-content)>:is(p,ul,ol){
  width:100%;
  max-width:var(--eps-prose);
  margin-left:auto;
  margin-right:auto;
}
.content-prose:not(.wide-content)>.section>h2,
.content-prose:not(.wide-content)>.section>.eyebrow{
  text-align:center;
}
body:not(.eps-home-preview) .content-prose.wide-content>.section>h2,
body:not(.eps-home-preview) .content-prose.wide-content>.section>.eyebrow{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
body:not(.eps-home-preview) .content-prose.wide-content>.section>h2{
  max-width:940px;
  margin-top:0;
}
body:not(.eps-home-preview) .content-prose.wide-content>.section>.eyebrow{
  max-width:940px;
}
body:not(.eps-home-preview) .content-prose.wide-content>.section>:is(p,ul,ol){
  width:100%;
  max-width:var(--eps-prose);
  margin-left:auto;
  margin-right:auto;
}
body:not(.eps-home-preview) .content-prose.wide-content>.section:first-child>p:not(.eyebrow):not(.entry-meta){
  text-align:center;
}
body:not(.eps-home-preview) .content-prose.wide-content>.section>p.entry-meta{
  text-align:center;
}
body:not(.eps-home-preview) .content-prose.wide-content>.section>:is(.card-grid,.resource-filters){
  width:100%;
  max-width:1120px;
  margin-left:auto;
  margin-right:auto;
}
body:not(.eps-home-preview) .content-prose.wide-content>.card-grid{
  width:100%;
  max-width:1100px;
  margin-left:auto;
  margin-right:auto;
}
.eps-page--contact .content-prose>.card-grid{max-width:1000px}
@media(min-width:1100px){
  .eps-page--offices .content-prose>.card-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(min-width:761px) and (max-width:1099px){
  .eps-page--offices .content-prose>.card-grid>:last-child:nth-child(odd){
    grid-column:1/-1;
    justify-self:center;
    width:calc((100% - 20px)/2);
  }
}

/* Esquire-wide alignment polish — owner review October 21, 2026.
 * Marketing copy is centered, but preserve natural left alignment for the
 * legal reference library, tables, checklists, fields, footer and navigation.
 * Do not alter the accepted homepage's video cover or two-column hero layout.
 */
body:is(.eps-page--services,.eps-page--offices,.eps-page--resources,.eps-page--about,.eps-page--contact,.eps-page--pricing,.eps-page--faqs,.eps-page--accessibility,.eps-page--new-jersey,.eps-page--florida)
  .content-prose>.section>p:not(.entry-meta),
body:is(.eps-page--services,.eps-page--offices,.eps-page--resources,.eps-page--about,.eps-page--contact,.eps-page--pricing,.eps-page--faqs,.eps-page--accessibility,.eps-page--new-jersey,.eps-page--florida)
  .content-prose>.section>.eyebrow{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
body:is(.eps-page--services,.eps-page--offices,.eps-page--resources,.eps-page--about,.eps-page--contact,.eps-page--pricing,.eps-page--faqs,.eps-page--accessibility,.eps-page--new-jersey,.eps-page--florida)
  .content-prose>.section>h2,
body:is(.eps-page--services,.eps-page--offices,.eps-page--resources,.eps-page--about,.eps-page--contact,.eps-page--pricing,.eps-page--faqs,.eps-page--accessibility,.eps-page--new-jersey,.eps-page--florida)
  .content-prose>.section>h3{
  max-width:940px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
body:is(.eps-page--services,.eps-page--offices,.eps-page--resources,.eps-page--about,.eps-page--contact,.eps-page--pricing,.eps-page--faqs,.eps-page--accessibility,.eps-page--new-jersey,.eps-page--florida)
  .content-prose>.section>.action-row{
  justify-content:center;
  text-align:center;
}
.eps-page--services .service-card,
.eps-page--offices .service-card,
.eps-page--contact .service-card,
.eps-page--offices .office-card{
  text-align:center;
  align-items:center;
}
.eps-page--services .service-card>:is(.number,.card-link),
.eps-page--offices .service-card>:is(.number,.card-link),
.eps-page--contact .service-card>:is(.number,.card-link){
  margin-left:auto;
  margin-right:auto;
}
.eps-page--offices .office-note{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
.eps-page--submit-a-job .content-prose.wide-content>h2,
.eps-page--submit-a-job .content-prose.wide-content>p{
  width:100%;
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.eps-page--submit-a-job .content-prose.wide-content>h2{
  margin-top:2rem;
  margin-bottom:1.1rem;
}
.eps-page--submit-a-job .content-prose.wide-content>p{
  margin-bottom:1.35rem;
}
.eps-page--submit-a-job .content-prose.wide-content>.eps-provider-panel,
.eps-page--new-client-inquiry .content-prose.wide-content>.eps-provider-panel{
  margin-left:auto;
  margin-right:auto;
}
.eps-provider-panel .eps-provider-intro{
  max-width:680px;
  text-align:center;
  margin:0 auto 1.5rem;
}
.eps-provider-panel>.eps-provider-help{
  border:0;
  padding:12px 0 0;
  max-width:760px;
  margin:0 auto;
  font-size:14px;
  text-align:center;
  color:var(--muted);
}
.eps-provider-panel>.eps-provider-help>summary{
  font:inherit;
  font-size:14px;
  font-weight:600;
  min-height:36px;
  line-height:1.5;
  padding:7px 0;
  margin:0;
  color:var(--ink);
  list-style-position:inside;
  text-align:center;
}
.eps-provider-panel>.eps-provider-help>p{
  font-size:14px;
  line-height:1.6;
  max-width:720px;
  margin:12px auto 0;
  text-align:center;
}
@media(max-width:760px){
  .eps-page--submit-a-job .content-prose.wide-content>h2{
    margin-top:1.5rem;
  }
  .eps-provider-panel{width:100%}
  .eps-provider-frame{width:100%;max-width:100%}
}
/* Long legal articles, reference tables, multi-step directions and field
 * labels remain left aligned for comprehension and accessibility. */

/* Submit a job: center the host-page layout without altering provider-controlled fields. */
.eps-job-flow{max-width:860px;width:100%;margin-inline:auto;text-align:center}
.eps-job-flow .eps-job-existing,.eps-job-flow .eps-job-new,.eps-job-flow .eps-job-terms{margin-inline:auto;text-align:center}
.eps-job-flow :is(h2,p){text-align:center}
.eps-job-flow :is(.action-row,.eps-action){justify-content:center}
.eps-job-flow :is(iframe,.inquiry-panel){max-width:100%;margin-inline:auto}
.eps-job-flow iframe{display:block}
.eps-job-flow .eps-job-existing .button{margin-inline:auto}
.eps-job-flow .eps-job-terms p{max-width:740px;margin-inline:auto}
@media(max-width:760px){.eps-job-flow .eps-job-existing{margin-bottom:24px}.eps-job-flow .eps-job-terms{padding:20px 8px}}

/* Two-level navigation: Pricing & Quotes -> New Jersey / Florida.
 * Hover works for pointers, focus-within for keyboard navigation, and
 * the existing mobile menu presents the children as indented links. */
@media (min-width:761px){
  .site-header{position:relative;z-index:50}
  .site-nav .menu-item-has-children{position:relative}
  .site-nav .menu-item-has-children>a::after{
    content:"";
    display:inline-block;
    width:6px;
    height:6px;
    margin-left:8px;
    vertical-align:3px;
    border-right:1.5px solid currentColor;
    border-bottom:1.5px solid currentColor;
    transform:rotate(45deg)
  }
  .site-nav ul.sub-menu{
    display:none;
    position:absolute;
    z-index:60;
    top:100%;
    left:0;
    min-width:190px;
    padding:7px 0;
    margin:0;
    background:#fff;
    border:1px solid var(--line);
    border-radius:4px;
    box-shadow:0 10px 25px rgba(20,45,59,.12);
    flex-direction:column;
    align-items:stretch;
    gap:0
  }
  .site-nav .menu-item-has-children:hover>.sub-menu,
  .site-nav .menu-item-has-children:focus-within>.sub-menu{display:flex}
  .site-nav ul.sub-menu li{width:100%}
  .site-nav ul.sub-menu a{
    display:block;
    padding:12px 16px;
    min-height:44px;
    border:0;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
    color:var(--ink);
    background:transparent
  }
  .site-nav ul.sub-menu a:hover,
  .site-nav ul.sub-menu a:focus-visible,
  .site-nav ul.sub-menu .current-menu-item>a{
    background:#f3f0ea;
    color:var(--ink)
  }
}
@media (max-width:760px){
  .site-nav ul.sub-menu{
    display:block;
    position:static;
    width:auto;
    margin:0 0 4px 12px;
    padding:0 0 0 12px;
    border-left:2px solid var(--sand);
    background:transparent;
    box-shadow:none
  }
  .site-nav ul.sub-menu a{
    display:block;
    padding:10px 12px;
    min-height:44px;
    font-size:14px
  }
}


/* Issue #99: opt-in Gutenberg cards. Legacy pages use their existing markup. */
.content-prose .wp-block-columns.eps-editor-cards{
  display:flex;gap:20px;align-items:stretch;
  max-width:1000px;margin:32px auto;
}
.content-prose .eps-editor-cards>.wp-block-column.service-card{
  display:flex;flex:1 1 0;min-width:0;
  flex-direction:column;align-items:center;text-align:center;
}
.content-prose .eps-editor-cards .service-card .number,
.content-prose .eps-editor-cards .service-card .card-link{
  margin-left:auto;margin-right:auto;
}
.content-prose .eps-editor-cards .service-card .card-link{margin-top:auto}
.content-prose .eps-editor-cards .service-card h2{
  font-size:clamp(1.6rem,2.6vw,2rem);margin-top:0;
}
.content-prose .wp-block-group.eps-owner-editable-wide>p{
  max-width:var(--eps-prose);margin-left:auto;margin-right:auto;
}
@media(max-width:760px){
  .content-prose .wp-block-columns.eps-editor-cards{flex-direction:column}
  .content-prose .eps-editor-cards>.wp-block-column.service-card{flex-basis:auto;width:100%}
}

/* Issue #99: editable page headings and consistent canvas/front-end alignment.
   Opt-in only; unconverted pages retain the current classic theme heading. */
.content-prose.eps-native-page-heading > .wp-block-group.eps-editable-page-heading{
  box-sizing:border-box;width:100%;max-width:960px;
  margin:0 auto 40px;padding:0 0 32px;
  border-bottom:1px solid var(--line);
}
.content-prose.eps-native-page-heading > .eps-editable-page-heading h1{
  font-size:clamp(2.6rem,5vw,4.6rem);
  max-width:900px;margin:0 auto;
}
.content-prose.eps-native-page-heading > .eps-editable-page-heading + .wp-block-group.section{
  border-top:0;padding-top:16px;
}
/* Position the entire editable block on the page axis; text alignment remains
   controlled solely by the block's Gutenberg left/center/right selection. */
body:not(.eps-home-preview) .content-prose.eps-native-page-heading.wide-content
  > .wp-block-group.eps-editable-contact-section > .wp-block-group__inner-container > :is(p,h2,h3,h4){
  box-sizing:border-box;
  width:100%;
  max-width:min(100%,760px);
  margin-left:auto;
  margin-right:auto;
}
body:not(.eps-home-preview) .content-prose.eps-native-page-heading.wide-content
  > .wp-block-group.eps-editable-contact-section > .wp-block-group__inner-container > p{
  max-width:min(100%,72ch);
}
@media(max-width:760px){
  .content-prose.eps-native-page-heading > .wp-block-group.eps-editable-page-heading{
    margin-bottom:24px;padding-bottom:24px;
  }
  .content-prose.eps-native-page-heading > .eps-editable-page-heading h1{
    font-size:clamp(2.25rem,8vw,2.8rem);
  }
}

/* Issue #99: the published Gutenberg Contact sections must center their
   actual block boxes, not just the text inside them. Legacy page sections
   and the shared site header/menu remain untouched. */
body:not(.eps-home-preview) .content-prose.eps-native-page-heading.wide-content
  > .wp-block-group.eps-editable-contact-section > .wp-block-group__inner-container{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
}
body:not(.eps-home-preview) .content-prose.eps-native-page-heading.wide-content
  > .wp-block-group.eps-editable-contact-section > .wp-block-group__inner-container
  > :is(.wp-block-heading,.wp-block-paragraph,p,h2,h3,h4){
  box-sizing:border-box;
  width:100%;
  margin-left:auto;
  margin-right:auto;
}

/* Issue #99: center independently placed Gutenberg paragraphs on converted
   wide pages when the owner selects Center in the editor. They are siblings of
   the section groups, not children of .wp-block-group__inner-container. */
body:not(.eps-home-preview) .content-prose.eps-native-page-heading.wide-content
  > p.has-text-align-center {
  box-sizing: border-box;
  width: 100%;
  max-width: min(100%, 72ch);
  margin-left: auto;
  margin-right: auto;
}
/* Restore the original 'New to Esquire?' callout styling lost when inline HTML
   became an owner-editable native paragraph. No other page is affected. */
.eps-page--services .content-prose.eps-native-page-heading.wide-content
  > p.eps-new-client-services-link {
  max-width: min(100%, 770px);
  margin: 26px auto 0;
  padding: 18px 12px;
  border-top: 1px solid #d8dcd9;
  font-size: 14px;
  line-height: 1.6;
  color: #50616b;
}

/* Issue #99: converted narrow Gutenberg pages (About and future editorial
   pages). WordPress wraps Group children inside a constrained inner container;
   center that container's actual heading and paragraph boxes, not just text.
   Scoped to native-heading pages; legacy articles are unaffected. */
body:not(.eps-home-preview) .content-prose.eps-native-page-heading:not(.wide-content)
  > .wp-block-group.eps-editable-contact-section > .wp-block-group__inner-container {
  box-sizing:border-box;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
}
body:not(.eps-home-preview) .content-prose.eps-native-page-heading:not(.wide-content)
  > .wp-block-group.eps-editable-contact-section > .wp-block-group__inner-container
  > :is(p,h2,h3,h4,.wp-block-heading) {
  box-sizing:border-box;
  width:100%;
  max-width:min(100%,72ch);
  margin-left:auto;
  margin-right:auto;
}

/* Issue #99: Gutenberg resource-library preview parity.
   A registered Search block has a label separate from its input row, unlike
   the legacy inline form. Scope all rules to the opt-in resource pilot
   sections so published legacy Resources and unrelated forms stay intact. */
.content-prose.eps-native-page-heading.wide-content
  > .wp-block-group.eps-editable-resource-library {
  box-sizing:border-box;
  width:100%;
}
.content-prose.eps-native-page-heading.wide-content
  > .wp-block-group.eps-editable-resource-library > .wp-block-group__inner-container {
  box-sizing:border-box;
  width:100%;
  max-width:1100px;
  margin-inline:auto;
}
.content-prose.eps-native-page-heading.wide-content
  > .wp-block-group.eps-resource-hero > .wp-block-group__inner-container > h2 {
  font-size:clamp(2.05rem,3.6vw,3rem);
  line-height:1.16;
  max-width:min(100%,880px);
  margin-inline:auto;
  text-align:center;
}
.content-prose.eps-native-page-heading.wide-content
  > .wp-block-group.eps-resource-hero > .wp-block-group__inner-container
  > :is(p:not(.eyebrow),p.entry-meta) {
  box-sizing:border-box;
  width:100%;
  max-width:min(100%,780px);
  margin-inline:auto;
}
.content-prose.eps-native-page-heading.wide-content
  > .wp-block-group.eps-resource-hero form.wp-block-search.resource-filters {
  box-sizing:border-box;
  display:block;
  width:100%;
  max-width:min(100%,780px);
  margin:28px auto;
  padding:22px;
}
.content-prose.eps-native-page-heading.wide-content
  > .wp-block-group.eps-resource-hero .wp-block-search.resource-filters .wp-block-search__label {
  box-sizing:border-box;
  display:block;
  flex:none;
  width:100%;
  max-width:none;
  min-width:0;
  margin:0 0 12px;
  text-align:left;
  font-size:15px;
  font-weight:650;
}
.content-prose.eps-native-page-heading.wide-content
  > .wp-block-group.eps-resource-hero .wp-block-search.resource-filters .wp-block-search__inside-wrapper {
  display:flex;
  width:100%;
  gap:10px;
  align-items:stretch;
}
.content-prose.eps-native-page-heading.wide-content
  > .wp-block-group.eps-resource-hero .wp-block-search.resource-filters .wp-block-search__input {
  box-sizing:border-box;
  flex:1 1 auto;
  width:0;
  min-width:0;
  min-height:56px;
  margin:0;
}
.content-prose.eps-native-page-heading.wide-content
  > .wp-block-group.eps-resource-hero .wp-block-search.resource-filters .wp-block-search__button {
  box-sizing:border-box;
  flex:0 0 152px;
  min-width:0;
  min-height:56px;
  margin:0;
  padding:12px 16px;
  white-space:normal;
}
@media(max-width:600px) {
  .content-prose.eps-native-page-heading.wide-content
    > .wp-block-group.eps-resource-hero form.wp-block-search.resource-filters {
    padding:16px;
  }
  .content-prose.eps-native-page-heading.wide-content
    > .wp-block-group.eps-resource-hero .wp-block-search.resource-filters .wp-block-search__inside-wrapper {
    flex-direction:column;
  }
  .content-prose.eps-native-page-heading.wide-content
    > .wp-block-group.eps-resource-hero .wp-block-search.resource-filters .wp-block-search__input {
    flex:1 1 auto;
    width:100%;
  }
  .content-prose.eps-native-page-heading.wide-content
    > .wp-block-group.eps-resource-hero .wp-block-search.resource-filters .wp-block-search__button {
    flex:0 0 auto;
    width:100%;
  }
}
