.ua-page {
  --ua-blue: #2f4fa5;
  --ua-navy: #223774;
  --ua-deep: #14193f;
  --ua-red: #e0282c;
  --ua-ink: #1b1b3a;
  --ua-line: #d6deef;
  --ua-bg: #f3f6fd;
  font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  color: var(--ua-ink);
  line-height: 1.7;
  overflow-x: hidden;
}
.ua-page *, .ua-page *::before, .ua-page *::after { box-sizing: border-box; }
.ua-page :where(h1, h2, p, ul, li) { font-family: inherit; margin: 0; padding: 0; }
.ua-page :where(ul) { list-style: none; }
.ua-page [hidden] { display: none !important; }
.ua-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* hero */
.ua-hero {
  background: linear-gradient(165deg, var(--ua-blue) 0%, var(--ua-navy) 52%, var(--ua-deep) 100%);
  color: #fff;
  padding-top: 52px;
}
.ua-kicker { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 1.02rem; line-height: 1.7; margin-bottom: 24px; max-width: 760px; }
.ua-dot { flex: 0 0 11px; width: 11px; height: 11px; border-radius: 50%; background: var(--ua-red); margin-top: 11px; }
.ua-h1 { margin-bottom: 22px; font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.35; max-width: 900px; }
html[lang=en] .ua-h1 { font-size: clamp(1.6rem, 3.3vw, 2.4rem); }
.ua-h1 span {
  display: inline;
  background: var(--ua-red);
  color: #fff;
  padding: .16em .55em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  line-height: 1.75;
}
.ua-sub { font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 700; margin-bottom: 6px; line-height: 1.55; }
.ua-lead { font-size: 1.02rem; opacity: .86; padding-bottom: 44px; }
.ua-statsband { background: var(--ua-deep); }
.ua-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 6px 0 32px; }
.ua-stats li { border-top: 3px solid var(--ua-red); padding-top: 14px; text-align: center; }
.ua-stats strong { display: block; font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800; line-height: 1.2; }
.ua-stats span { display: block; font-size: .95rem; opacity: .8; margin-top: 2px; }

/* toolbar */
.ua-list { background: var(--ua-bg); padding-bottom: 56px; }
.ua-bar { background: #fff; border-bottom: 1px solid var(--ua-line); padding: 22px 0 18px; box-shadow: 0 10px 30px rgba(27, 42, 99, .06); }
.ua-search { position: relative; max-width: 520px; margin-bottom: 16px; }
.ua-search i { position: absolute; top: 50%; inset-inline-start: 16px; transform: translateY(-50%); color: #7a86a8; pointer-events: none; }
.ua-search input {
  width: 100%; height: 52px; border: 1.5px solid var(--ua-line); border-radius: 999px;
  padding-block: 0; padding-inline: 46px 18px; font: inherit; font-size: 1.02rem; color: var(--ua-ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
html[lang=ar] .ua-search input { text-align: right; }
.ua-search input::placeholder { color: #8b97b6; }
.ua-search input:focus { outline: none; border-color: var(--ua-blue); box-shadow: 0 0 0 4px rgba(47, 79, 165, .14); }
.ua-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ua-chip {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--ua-line);
  border-radius: 999px; padding: 6px 8px 6px 15px; font: inherit; font-weight: 700; font-size: .95rem; color: var(--ua-ink);
  cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
html[lang=ar] .ua-chip { padding: 6px 15px 6px 8px; }
.ua-chip i { font-style: normal; font-size: .8rem; min-width: 24px; padding: 0 7px; line-height: 22px; text-align: center; border-radius: 999px; background: #dfe6f6; color: #34406b; }
.ua-chip:hover { border-color: var(--ua-blue); }
.ua-chip.is-active { background: var(--ua-ink); border-color: var(--ua-ink); color: #fff; }
.ua-chip.is-active i { background: var(--ua-red); color: #fff; }
.ua-chip:focus-visible, .ua-reset:focus-visible, .ua-btn:focus-visible { outline: 3px solid #4a6fd8; outline-offset: 2px; }

/* lists */
.ua-shown { margin: 26px 0 6px; font-size: .95rem; font-weight: 700; color: #4a5278; }
.ua-country { background: #fff; border: 1px solid var(--ua-line); border-radius: 18px; margin-top: 18px; overflow: hidden; scroll-margin-top: 110px; }
.ua-country-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; background: linear-gradient(120deg, var(--ua-blue), var(--ua-navy)); color: #fff; }
.ua-country-head h2 { font-size: 1.2rem; font-weight: 800; line-height: 1.4; }
.ua-count { font-size: .85rem; font-weight: 800; min-width: 28px; padding: 0 9px; line-height: 24px; text-align: center; border-radius: 999px; background: var(--ua-red); }
.ua-unis { columns: 3; column-gap: 40px; padding: 14px 24px 18px; }
.ua-unis li { break-inside: avoid; display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--ua-line); font-size: 1rem; }
.ua-bullet { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--ua-red); transform: translateY(-2px); }
.ua-unis b { font-weight: 600; }
.ua-sub-c { color: #6b7391; font-size: .9rem; }
.ua-empty { text-align: center; padding: 48px 0 20px; font-weight: 700; font-size: 1.1rem; }
.ua-reset { margin-top: 14px; background: var(--ua-ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 26px; font: inherit; font-weight: 800; cursor: pointer; transition: background .2s; }
.ua-reset:hover { background: var(--ua-red); }
.ua-note { margin-top: 30px; font-size: .92rem; font-style: italic; color: #4a5278; max-width: 900px; }

/* cta */
.ua-cta { background: linear-gradient(165deg, var(--ua-navy), var(--ua-deep)); color: #fff; padding: 48px 0; }
.ua-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ua-cta h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 800; line-height: 1.4; margin-bottom: 6px; }
.ua-cta p { opacity: .86; max-width: 640px; }
.ua-btn {
  flex: 0 0 auto; display: inline-block; background: #fff; color: var(--ua-navy) !important; font-weight: 800;
  padding: 13px 32px; border-radius: 999px; text-decoration: none !important; font-size: 1.02rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ua-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .28); background: var(--ua-red); color: #fff !important; }

@media (max-width: 991.98px) {
  .ua-unis { columns: 2; }
}
@media (max-width: 767.98px) {
  .ua-hero { padding-top: 36px; }
  .ua-lead { padding-bottom: 32px; }
  .ua-stats { grid-template-columns: 1fr; gap: 12px; padding-bottom: 26px; }
  .ua-stats li { text-align: start; display: flex; align-items: baseline; gap: 12px; }
  .ua-stats strong { font-size: 1.5rem; }
  .ua-unis { columns: 1; padding: 10px 18px 14px; }
  .ua-country-head { padding: 12px 18px; }
  .ua-cta-in { flex-direction: column; align-items: flex-start; }
  .ua-btn { width: 100%; text-align: center; }
  .ua-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .ua-chip { flex: 0 0 auto; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .ua-page * { transition: none !important; }
}
