/* WP23.1 — approved fluid responsive canvas and shared masthead. Scoped presentation only. */
:root{--wp231-navy:#041f2d;--wp231-gold:#d4af57;--wp231-cream:#fff4e7}
html{overflow-x:clip}
/* Homepage: preserve original elements, assets, hierarchy and typography. Expand only the canvas. */
@media(min-width:1200px){
 body.wp19-approved-home .aj19-masthead{max-width:1840px;padding-inline:clamp(55px,5vw,105px)}
 body.wp19-approved-home .aj19-nav-row{max-width:1840px;padding-inline:clamp(30px,4.1vw,78px)}
 body.wp19-approved-home .aj19-hero-grid{max-width:1840px}
 body.wp19-approved-home .aj19-overview-shell{max-width:1660px}
 body.wp19-approved-home .aj19-hero-copy{padding-inline:clamp(40px,5.1vw,98px)}
}
body.wp19-approved-home .aj19-header-cta{white-space:nowrap}
/* Interior unified masthead: same approved navy, pale gold, official logo, centered name, language switch, nav and CTA. */
body > header.wp231-site-header,body > header.wp231-site-header *{box-sizing:border-box}
body > header.wp231-site-header{background:linear-gradient(108deg,#002a3b 0%,#041d2c 42%,#001d2b 100%)!important;color:#fff!important;border:0!important;border-bottom:1px solid #b98c3e!important;box-shadow:none!important;position:relative!important;z-index:200!important;margin:0!important;padding:0!important;min-height:0!important;display:block!important;width:100%!important}
html[lang=ar] body > header.wp231-site-header{font-family:'Alexandria',Tahoma,Arial,sans-serif!important}
html[lang=en] body > header.wp231-site-header{font-family:'Libre Caslon Text',Georgia,serif!important}
body > header.wp231-site-header .wp231-mast{position:relative;min-height:96px;display:flex;align-items:center;justify-content:center;max-width:1780px;margin:auto;padding:8px 90px}
body > header.wp231-site-header .wp231-brand{display:flex;align-items:center;flex-direction:column;gap:1px;text-align:center;line-height:1.25;text-decoration:none!important;color:#fff!important;min-width:0}
body > header.wp231-site-header .wp231-brand strong{font-size:clamp(24px,2.15vw,36px);font-weight:700;color:#fff!important;white-space:nowrap}
body > header.wp231-site-header .wp231-brand small{color:#f6f1e9!important;font-size:clamp(9px,.95vw,14px);font-weight:400;white-space:normal;line-height:1.35}
body > header.wp231-site-header .wp231-logo{position:absolute;inset-inline-end:clamp(16px,3.8vw,70px);top:50%;transform:translateY(-50%);height:68px;width:76px;display:flex;align-items:center;justify-content:center}
body > header.wp231-site-header .wp231-logo img{width:100%;height:100%;object-fit:contain;display:block;max-width:100%}
body > header.wp231-site-header .wp231-nav-row{min-height:63px;max-width:1780px;padding:8px clamp(18px,4vw,70px);margin:0 auto;display:flex;flex-wrap:nowrap;gap:20px;align-items:center;justify-content:space-between}
body > header.wp231-site-header .wp231-links{display:flex!important;flex:1;gap:clamp(10px,1.85vw,34px);justify-content:center;align-items:center;flex-wrap:wrap;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;position:static!important;min-width:0}
body > header.wp231-site-header .wp231-links a{font-size:clamp(12px,.95vw,16px);line-height:1.6;text-decoration:none!important;color:#fff!important;font-weight:500!important;white-space:nowrap;border:0!important;padding:6px 0!important;background:transparent!important;min-height:0!important;display:inline-block!important}
body > header.wp231-site-header .wp231-links a[aria-current="page"]{color:#f3c569!important;border-bottom:1px solid #f3c569!important}
body > header.wp231-site-header .wp231-tools{display:flex;align-items:center;gap:clamp(8px,1.1vw,18px);flex-shrink:0}
body > header.wp231-site-header .wp231-lang{color:#fff!important;border:1px solid #b98c3e!important;padding:8px 12px!important;border-radius:22px!important;font-size:12px!important;text-decoration:none!important;white-space:nowrap;background:transparent!important}
body > header.wp231-site-header .wp231-cta{color:#081d27!important;text-decoration:none!important;white-space:nowrap;font-size:clamp(11px,.82vw,14px)!important;background:linear-gradient(180deg,#ffe3a0,#e2a83d)!important;border-radius:40px!important;padding:9px 17px!important;border:1px solid #eabf69!important;font-weight:700!important}
body > header.wp231-site-header .wp231-mobile{display:none}
body > header.wp231-site-header a:focus-visible,body > header.wp231-site-header summary:focus-visible{outline:2px solid #ffe3a0!important;outline-offset:4px!important}
/* Existing service content is preserved; adjust canvas and grids proportionally. */
html body.wp231-interior .wrap{width:min(1640px,calc(100% - clamp(28px,5vw,100px)));max-width:none;margin-inline:auto}
html body.wp231-interior .tabs{max-width:1540px;margin-inline:auto}
html body.wp231-interior .hero{overflow:hidden}
html body.wp231-interior :is(.hero-copy,.intro,.approach,.pillar,.outcome){min-width:0}
html body.wp231-interior :is(.hero-copy,.intro,.outcome) :is(h1,h2,p){overflow-wrap:break-word}
/* Long-form policy pages: wider canvas yet readable line length. */
html body.wp231-policy > main.wrap{width:min(1480px,calc(100% - clamp(28px,5vw,100px)));max-width:none;margin-inline:auto}
html body.wp231-policy :is(main,article,section){min-width:0}
html body.wp231-policy main :is(p,li){overflow-wrap:anywhere}
/* Tablet and compact landscape */
@media(max-width:1100px){
 body > header.wp231-site-header .wp231-nav-row{gap:8px;padding-inline:18px}
 body > header.wp231-site-header .wp231-links{gap:10px}
 body > header.wp231-site-header .wp231-links a{font-size:11px}
 body > header.wp231-site-header .wp231-cta{padding:8px 10px!important;font-size:11px!important}
 html body.wp231-interior .wrap{width:calc(100% - 40px)}
}
/* Mobile: keep brand prominent and provide accessible native menu, without a JS dependency. */
@media(max-width:780px){
 body > header.wp231-site-header .wp231-mast{min-height:76px;padding:8px 72px}
 body > header.wp231-site-header .wp231-brand strong{font-size:clamp(17px,4.8vw,24px)}
 body > header.wp231-site-header .wp231-brand small{font-size:clamp(8px,2vw,11px)}
 body > header.wp231-site-header .wp231-logo{width:48px;height:52px;inset-inline-end:11px}
 body > header.wp231-site-header .wp231-nav-row{min-height:52px;padding:8px 14px;gap:9px}
 body > header.wp231-site-header .wp231-links{display:none!important}
 body > header.wp231-site-header .wp231-mobile{display:block;position:relative;order:2;margin-inline-start:auto}
 body > header.wp231-site-header .wp231-mobile summary{list-style:none;cursor:pointer;border:1px solid #b98c3e;border-radius:8px;min-height:36px;padding:6px 12px;font-size:20px;line-height:1.1;color:#fff}
 body > header.wp231-site-header .wp231-mobile summary::-webkit-details-marker{display:none}
 body > header.wp231-site-header .wp231-mobile[open] .wp231-mobile-links{position:absolute;top:calc(100% + 8px);inset-inline-end:0;min-width:min(300px,86vw);max-width:86vw;max-height:70vh;overflow:auto;background:#062a39;border:1px solid #b98c3e;box-shadow:0 12px 26px #00131ed9;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:2px;z-index:900}
 body > header.wp231-site-header .wp231-mobile-links a{display:block!important;font-size:14px!important;color:#fff!important;text-decoration:none!important;padding:11px!important;border-radius:5px;background:transparent!important}
 body > header.wp231-site-header .wp231-mobile-links a:focus-visible{background:#173949!important}
 body > header.wp231-site-header .wp231-tools{gap:7px}
 body > header.wp231-site-header .wp231-lang{font-size:11px!important;padding:7px 10px!important}
 body > header.wp231-site-header .wp231-cta{font-size:10px!important;padding:8px 10px!important}
 html body.wp231-interior .wrap,html body.wp231-policy > main.wrap{width:calc(100% - 28px)}
 html body.wp231-interior .tabs{gap:6px}
 html body.wp231-interior .tabs a{overflow-wrap:normal;word-break:normal;hyphens:none}
}
@media(max-width:370px){body > header.wp231-site-header .wp231-mast{padding-inline:62px}body > header.wp231-site-header .wp231-brand strong{font-size:17px}body > header.wp231-site-header .wp231-cta{font-size:9px!important;padding:8px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}


/* WP24.4 — Responsive service-page approach, scoped to existing interior pages.
   Prevent grid automatic min-content sizing from exceeding the viewport. */
@media (max-width:900px) {
  html body.wp231-interior .approach { grid-template-columns:minmax(0,1fr); }
  html body.wp231-interior .approach-copy {
    min-width:0;
    max-width:100%;
    overflow-wrap:anywhere;
  }
}

/* V3.7 local QA: keep complete word units in service tabs and improve small-screen masthead legibility. */
@media(max-width:600px){
 html[lang="en"] body.wp231-interior .tabs a{overflow-wrap:normal;word-break:normal;hyphens:none;line-height:1.35;min-height:56px}
 body > header.wp231-site-header .wp231-brand small{font-size:clamp(10.5px,2.75vw,12px)!important;line-height:1.35;max-width:245px}
}


/* V3.8 local QA — full approved three-specialty professional positioning.
   Text is NOT truncated, shortened or hidden. Maintain readable branding on narrow screens.
   This is intentionally scoped to masthead labels; service imagery and content are untouched. */
body > header.wp231-site-header .wp231-brand small,
body.wp19-approved-home .aj19-brand small {text-wrap:balance;overflow-wrap:normal;word-break:normal;hyphens:none}
@media(max-width:780px){
  body > header.wp231-site-header .wp231-mast{height:auto;min-height:103px;padding-block:12px}
  body > header.wp231-site-header .wp231-brand small{font-size:clamp(10.5px,2.8vw,12px)!important;line-height:1.42!important;max-width:100%;text-align:center}
  body.wp19-approved-home .aj19-masthead{height:auto;min-height:106px;padding-block:12px}
  body.wp19-approved-home .aj19-brand.logo{min-height:0}
  body.wp19-approved-home .aj19-brand small{font-size:clamp(10.5px,2.8vw,12px)!important;line-height:1.42!important;max-width:100%;text-align:center}
}
@media(max-width:420px){
  body > header.wp231-site-header .wp231-mast{min-height:122px;padding-inline:61px;padding-block:12px}
  body > header.wp231-site-header .wp231-brand small{font-size:11.5px!important;line-height:1.42!important}
  body.wp19-approved-home .aj19-masthead{min-height:126px;padding-inline:61px}
  body.wp19-approved-home .aj19-brand small{font-size:11.5px!important;line-height:1.42!important}
}
@media(max-width:350px){
  body.wp19-approved-home .aj19-brand strong{font-size:16px!important}
  body.wp19-approved-home .aj19-logo{width:46px!important;height:42px!important}
}
