/* Arab America Visitor UX v4 — targeted, reversible presentation update.
 * Prioritizes latest news, practical actions, mobile scannability and consistent cards.
 * No new fonts, tracking, ad placement, or indexing directives.
 */
body.aa-v4-ux {
  --aa-v4-navy:#103a59;
  --aa-v4-blue:#0b638f;
  --aa-v4-accent:#dd3545;
  --aa-v4-ink:#17344b;
  --aa-v4-subtle:#5f7081;
  --aa-v4-line:#dbe7ee;
  --aa-v4-canvas:#f6f9fc;
  --aa-v4-radius:15px;
}
body.aa-v4-ux :is(a,button,input,select,textarea):focus-visible {
  outline:3px solid #e5a736!important;
  outline-offset:3px;
}
body.aa-v4-ux .aa-v2-header {box-shadow:0 3px 18px rgba(18,56,83,.07)}
body.aa-v4-ux #aa-primary-menu {gap:clamp(2px,.45vw,9px)!important}
body.aa-v4-ux #aa-primary-menu>.aa-menu-link,
body.aa-v4-ux #aa-primary-menu>.aa-menu-group>.aa-menu-link {
  border-radius:9px!important;white-space:nowrap;
  font-size:clamp(12px,.92vw,14px)!important;
  font-weight:700;
}
body.aa-v4-ux #aa-primary-menu>.aa-menu-link:hover,
body.aa-v4-ux #aa-primary-menu>.aa-menu-group>.aa-menu-link:hover {
  color:var(--aa-v4-blue)!important;background:#edf5fa!important;
}
body.aa-v4-ux #aa-primary-menu .aa-v4-tools-nav {
  border:1px solid #d0e3f0!important;background:#f0f7fc!important;color:#164e70!important;
}
body.aa-v4-ux .aa-v3-home {background:var(--aa-v4-canvas)}
body.aa-v4-ux .aa-v3-platform-hero {padding-top:38px!important;padding-bottom:35px!important}
body.aa-v4-ux .aa-v3-platform-copy h1 {font-size:clamp(30px,3.4vw,48px)!important;line-height:1.31!important;letter-spacing:-.3px}
body.aa-v4-ux .aa-v3-platform-copy>p {max-width:640px;font-size:clamp(14px,1.25vw,17px)!important;line-height:1.85!important}
body.aa-v4-ux .aa-v3-site-search {
  border-radius:12px!important;box-shadow:0 10px 26px rgba(0,25,45,.17)!important;
}
body.aa-v4-ux .aa-v3-site-search button {border-radius:9px!important}
body.aa-v4-ux .aa-v3-proof {gap:8px!important}
body.aa-v4-ux .aa-v3-proof span {border-radius:8px!important}
body.aa-v4-ux .aa-container:is(.aa-v3-intents,.aa-v3-training,.aa-v3-jobs,.aa-home-investigations,.acusa-picks,.aa-v3-state-home,.aa-asylum-home-feature,.aa-v3-portals,.aa-v3-discover-grid,.aa-v3-return-loop,.aa-v3-final-actions) {
  scroll-margin-top:100px;
}
body.aa-v4-ux .aa-v3-home .aa-v3-section-head h2,
body.aa-v4-ux .aa-v4-section-heading h2 {
  color:var(--aa-v4-ink)!important;
  letter-spacing:-.2px;
}
body.aa-v4-ux .aa-v4-latest-news {margin-top:30px;margin-bottom:20px;scroll-margin-top:110px}
body.aa-v4-ux .aa-v4-section-heading {
  display:flex;gap:14px;justify-content:space-between;align-items:end;
  padding:0 2px 15px;margin:0 0 8px;border-bottom:1px solid var(--aa-v4-line);
}
body.aa-v4-ux .aa-v4-eyebrow {display:block;color:var(--aa-v4-accent);font-size:12px;font-weight:800;margin-bottom:6px}
body.aa-v4-ux .aa-v4-section-heading h2 {margin:0;font-size:clamp(22px,2.6vw,30px);line-height:1.42;font-weight:800}
body.aa-v4-ux .aa-v4-section-heading p {margin:7px 0 0;font-size:14px;line-height:1.7;color:var(--aa-v4-subtle)}
body.aa-v4-ux .aa-v4-view-all {
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #c7dce9;border-radius:10px;padding:9px 14px;
  background:#fff;color:var(--aa-v4-blue);text-decoration:none;font-weight:700;font-size:13px;
}
body.aa-v4-ux .aa-v4-view-all:hover {background:#e8f5ff;border-color:#83bad9}
body.aa-v4-ux .aa-v4-news-grid {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:13px}
body.aa-v4-ux .aa-v4-news-card {
  display:grid;grid-template-columns:134px minmax(0,1fr);min-width:0;
  background:#fff;overflow:hidden;border:1px solid var(--aa-v4-line);
  border-radius:var(--aa-v4-radius);box-shadow:0 5px 15px rgba(18,54,82,.045);
}
body.aa-v4-ux .aa-v4-news-card-lead {display:flex;flex-direction:column;grid-row:span 2}
body.aa-v4-ux .aa-v4-news-thumb {display:block;min-width:0;background:#e7f0f7;overflow:hidden}
body.aa-v4-ux .aa-v4-news-thumb img {width:100%;height:100%;min-height:100%;object-fit:cover;display:block}
body.aa-v4-ux .aa-v4-news-card-lead .aa-v4-news-thumb {height:206px}
body.aa-v4-ux .aa-v4-news-card:not(.aa-v4-news-card-lead) .aa-v4-news-thumb {min-height:136px}
body.aa-v4-ux .aa-v4-news-fallback {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:5px;min-height:100%;height:100%;padding:12px;text-align:center;
  color:var(--aa-v4-navy);font-size:18px;font-weight:850;
  background:linear-gradient(135deg,#dcecf6,#f4f9fc);
}
body.aa-v4-ux .aa-v4-news-fallback span {font-size:12px;color:#467694}
body.aa-v4-ux .aa-v4-news-copy {padding:15px;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:7px}
body.aa-v4-ux .aa-v4-news-card-lead .aa-v4-news-copy {padding:17px 19px}
body.aa-v4-ux .aa-v4-news-copy time {font-size:11px;color:var(--aa-v4-subtle)}
body.aa-v4-ux .aa-v4-news-copy h3 {font-size:clamp(15px,1.25vw,19px);font-weight:800;line-height:1.65;margin:0;color:var(--aa-v4-ink)}
body.aa-v4-ux .aa-v4-news-card-lead h3 {font-size:clamp(20px,1.8vw,25px);line-height:1.55}
body.aa-v4-ux .aa-v4-news-copy h3 a {color:inherit;text-decoration:none}
body.aa-v4-ux .aa-v4-news-copy h3 a:hover {color:var(--aa-v4-blue);text-decoration:underline}
body.aa-v4-ux .aa-v4-news-copy p {color:#5c6e80;font-size:13px;line-height:1.85;margin:0}
body.aa-v4-ux .aa-v4-news-read {font-size:12px;font-weight:750;color:var(--aa-v4-blue);text-decoration:none}
body.aa-v4-ux .aa-v4-news-empty {border-radius:12px;padding:18px;background:#fff;border:1px solid var(--aa-v4-line)}
body.aa-v4-ux .aa-v3-intents {margin-top:25px!important}
body.aa-v4-ux .aa-v3-intent-grid > a,
body.aa-v4-ux .aa-v3-training-grid > a,
body.aa-v4-ux .aa-v2-portal,
body.aa-v4-ux .aa-v4-news-card {
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
body.aa-v4-ux .aa-v3-intent-grid > a {
  border-radius:var(--aa-v4-radius)!important;border-color:var(--aa-v4-line)!important;
  box-shadow:0 5px 17px rgba(17,57,84,.04);
}
body.aa-v4-ux .aa-v3-intent-grid > a:hover,
body.aa-v4-ux .aa-v3-training-grid > a:hover,
body.aa-v4-ux .aa-v4-news-card:hover {
  border-color:#a3cce2!important;box-shadow:0 12px 27px rgba(19,68,105,.1);
}
body.aa-v4-ux .aa-v3-intent-grid > a b {color:#0b6794}
body.aa-v4-ux .aa-v3-training-grid > a {border-radius:var(--aa-v4-radius)!important;border-color:var(--aa-v4-line)!important}
body.aa-v4-ux .aa-v3-jobs {margin-top:27px!important}
body.aa-v4-ux .aa-v3-jobs .aa-home-jobs-grid .aa-home-job-card {border-radius:var(--aa-v4-radius)}
body.aa-v4-ux .aa-v3-home .aa-home-investigations {margin-top:28px!important}
body.aa-v4-ux .aa-v3-home .aa-v3-return-loop {margin-top:26px!important}
/* Sitewide interactive hubs: consistent visual affordance without hiding explanatory content. */
body.aa-v4-ux .acusa-v4-tools-shortcuts {display:flex;flex-wrap:wrap;gap:9px;margin:12px 0 22px;padding:0 2px;scroll-margin-top:95px}
body.aa-v4-ux .acusa-v4-tools-shortcuts a {
  display:inline-flex;min-height:40px;align-items:center;justify-content:center;
  padding:8px 13px;border:1px solid #c8deeb;background:#fff;border-radius:999px;
  font-size:13px;font-weight:750;line-height:1.5;color:#145577;text-decoration:none;
}
body.aa-v4-ux .acusa-v4-tools-shortcuts a:hover {background:#eaf5fb;border-color:#8bc0de}
body.aa-v4-ux .acusa-tools-v3-hero,
body.aa-v4-ux .acusa-dl-v2-hero {border-radius:18px!important}
body.aa-v4-ux .acusa-dl-v2-hero__search input,
body.aa-v4-ux .acusa-tools-v3-hero__search input {font-size:15px}
body.aa-v4-ux .acusa-dl-card,
body.aa-v4-ux .acusa-tools-v3-feature-card {border-radius:14px!important}
body.aa-v4-ux .acusa-dl-v2-featured {margin-bottom:22px!important}
body.aa-v4-ux .acusa-dl__grid--featured {gap:12px}
body.aa-v4-ux .acusa-dl-v2-section-head h2,
body.aa-v4-ux .acusa-tools-v3-section-head h2 {line-height:1.5!important}
/* Main navigation keeps all routes; secondary links are organized in dropdowns. */
@media(min-width:1061px){
  body.aa-v4-ux #aa-primary-menu .aa-menu-group {position:relative}
  body.aa-v4-ux #aa-primary-menu .aa-submenu {border-radius:12px!important;box-shadow:0 16px 38px rgba(18,44,66,.13)}
}
@media(max-width:1060px){
  body.aa-v4-ux #aa-primary-menu.is-open .aa-menu-link {white-space:normal!important}
  body.aa-v4-ux #aa-primary-menu.is-open .aa-menu-group {width:100%}
  body.aa-v4-ux .aa-v3-platform-hero {padding-top:26px!important;padding-bottom:25px!important}
  body.aa-v4-ux .aa-v3-platform-copy h1 {font-size:clamp(28px,5.8vw,36px)!important;line-height:1.34!important}
  body.aa-v4-ux .aa-v3-platform-copy>p {font-size:14px!important;line-height:1.75!important;margin-top:7px!important}
  body.aa-v4-ux .aa-v3-site-search {margin-top:13px!important}
  body.aa-v4-ux .aa-v3-proof {margin-top:11px!important}
  body.aa-v4-ux .aa-v4-latest-news {margin-top:22px;margin-bottom:16px}
  body.aa-v4-ux .aa-v4-section-heading {align-items:center}
  body.aa-v4-ux .aa-v4-section-heading p {font-size:12px}
  body.aa-v4-ux .aa-v4-news-grid {gap:10px}
  body.aa-v4-ux .aa-v3-intent-grid > a {padding:12px!important}
  body.aa-v4-ux .aa-v3-intents {margin-top:22px!important}
}
@media(max-width:700px){
  body.aa-v4-ux .aa-v4-news-grid {display:flex;flex-direction:column;gap:9px}
  body.aa-v4-ux .aa-v4-section-heading {align-items:flex-start;gap:8px}
  body.aa-v4-ux .aa-v4-section-heading h2 {font-size:23px}
  body.aa-v4-ux .aa-v4-section-heading p {font-size:12px}
  body.aa-v4-ux .aa-v4-view-all {font-size:12px;padding:7px 9px;margin-top:22px}
  body.aa-v4-ux .aa-v4-news-card-lead {display:grid;grid-template-columns:110px minmax(0,1fr);grid-row:auto}
  body.aa-v4-ux .aa-v4-news-card-lead .aa-v4-news-thumb {height:auto;min-height:145px}
  body.aa-v4-ux .aa-v4-news-card {grid-template-columns:95px minmax(0,1fr)}
  body.aa-v4-ux .aa-v4-news-card:not(.aa-v4-news-card-lead) .aa-v4-news-thumb {min-height:110px}
  body.aa-v4-ux .aa-v4-news-copy,
  body.aa-v4-ux .aa-v4-news-card-lead .aa-v4-news-copy {padding:12px}
  body.aa-v4-ux .aa-v4-news-copy h3,
  body.aa-v4-ux .aa-v4-news-card-lead h3 {font-size:15px!important;line-height:1.52}
  body.aa-v4-ux .aa-v4-news-copy p {display:none}
  body.aa-v4-ux .aa-v4-news-copy time {font-size:10px}
  body.aa-v4-ux .aa-v3-intent-grid {gap:8px!important}
  body.aa-v4-ux .aa-v3-intent-grid > a {min-height:142px!important;height:auto!important;padding:12px 10px!important;gap:4px!important}
  body.aa-v4-ux .aa-v3-intent-grid > a strong {font-size:14px!important;line-height:1.35!important}
  body.aa-v4-ux .aa-v3-intent-grid > a small {font-size:11px!important;line-height:1.45!important}
  body.aa-v4-ux .aa-v3-intent-grid > a b {font-size:11px!important}
  body.aa-v4-ux .aa-v3-training {margin-top:18px!important}
  body.aa-v4-ux .aa-v3-training-grid > a {padding:14px!important}
  body.aa-v4-ux .aa-v3-home .aa-v3-state-home {margin-top:19px!important}
  body.aa-v4-ux .aa-v3-home .aa-home-investigations {margin-top:23px!important}
  body.aa-v4-ux .acusa-v4-tools-shortcuts {gap:7px;margin-bottom:18px}
  body.aa-v4-ux .acusa-v4-tools-shortcuts a {font-size:12px;padding:6px 10px;min-height:37px}
  body.aa-v4-ux .acusa-dl-v2-featured .acusa-dl__grid--featured {gap:10px}
}
@media(prefers-reduced-motion:reduce){
  body.aa-v4-ux .aa-v3-intent-grid > a,
  body.aa-v4-ux .aa-v3-training-grid > a,
  body.aa-v4-ux .aa-v4-news-card {transition:none!important}
}
