@font-face {
  font-family: 'Barlow Condensed';
  src: url('barlow-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.umxv {
  --ink: #151b24;
  --muted: #505b66;
  --red: #c51037;
  --red-dark: #a7082c;
  --line: #e4e6e9;
  --paper: #f5f5f3;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  isolation: isolate;
}
.umxv *, .umxv *::before, .umxv *::after { box-sizing: border-box; }
.umxv [hidden] { display: none !important; }
.umxv h1, .umxv h2, .umxv h3, .umxv h4, .umxv p, .umxv figure { margin: 0; }
.umxv h1, .umxv h2, .umxv h3, .umxv h4 { color: var(--ink); font-weight: 800; }
.umxv h2 { font-size: clamp(30px, 4vw, 49px); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 24px; }
.umxv h3 { font-size: 21px; line-height: 1.3; }
.umxv[lang="en"] :is(h1, h2, .umxv-rank-card strong, .umxv-season, .umxv-match-result strong) { font-family: var(--display); font-weight: 700; }
.umxv[lang="ar"] h2 { letter-spacing: normal; line-height: 1.25; font-size: clamp(27px, 3.7vw, 43px); }
.umxv-shell { width: min(100% - 72px, 1160px); margin-inline: auto; }
.umxv a { text-decoration: none; }
.umxv a:focus-visible { outline: 3px solid #057451; outline-offset: 4px; }
.umxv section[id] { scroll-margin-top: 115px; }
.umxv-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.umxv-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 525px;
  overflow: hidden;
  background: #131c27;
  color: #fff;
  border-bottom: 5px solid var(--red);
}
.umxv-hero-media { position: absolute; inset-block: 0; inset-inline-end: 0; width: 65%; }
.umxv-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.umxv-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #131c27 0%, rgba(19,28,39,.76) 21%, rgba(19,28,39,.14) 53%, rgba(19,28,39,.10) 100%),
    linear-gradient(0deg, rgba(19,28,39,.65) 0%, transparent 47%);
}
.umxv[dir="rtl"] .umxv-hero-media::after {
  background: linear-gradient(270deg, #131c27 0%, rgba(19,28,39,.76) 21%, rgba(19,28,39,.14) 53%, rgba(19,28,39,.10) 100%),
    linear-gradient(0deg, rgba(19,28,39,.65) 0%, transparent 47%);
}
.umxv-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  padding: 70px 0 50px;
}
.umxv-hero-copy { max-width: 560px; }
.umxv-identity { display: flex; align-items: center; gap: 12px; color: #f5f6f7; font-size: 13px; font-weight: 700; }
.umxv[lang="en"] .umxv-identity { text-transform: uppercase; letter-spacing: .11em; }
.umxv-flag {
  display: inline-block;
  flex: 0 0 28px;
  width: 28px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(90deg, #db1334 25%, transparent 25%), linear-gradient(#00863a 33.33%, #fff 33.33% 66.66%, #121212 66.66%);
}
.umxv .umxv-hero h1 { margin: 20px 0 14px; color: #fff; font-size: clamp(58px, 9.5vw, 116px); line-height: .91; letter-spacing: -.025em; }
.umxv[lang="ar"] .umxv-hero h1 { font-size: clamp(42px, 6.6vw, 83px); letter-spacing: 0; line-height: 1.12; }
.umxv .umxv-lead { max-width: 430px; font-size: clamp(16px, 2vw, 20px); line-height: 1.55; color: #e2e8ed; }
.umxv .umxv-button { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; padding: 11px 16px; background: var(--red); color: #fff; font-weight: 750; border-radius: 4px; }
.umxv .umxv-button:hover { background: var(--red-dark); color: white; }
.umxv-rank-card {
  display: grid;
  grid-template-columns: auto auto;
  align-self: end;
  border-top: 3px solid var(--red);
  background: #151c27;
  box-shadow: 0 10px 25px #0b0f1577;
  border-radius: 4px;
  color: #fff;
}
.umxv-rank-card > div { padding: 14px 20px; display: grid; gap: 4px; }
.umxv-rank-card > div + div { border-inline-start: 1px solid #ffffff33; }
.umxv-rank-card strong { font-family: var(--display); text-align: start; font-size: 41px; line-height: .95; font-variant-numeric: tabular-nums; }
.umxv[dir="rtl"] .umxv-rank-card strong { text-align: end; }
.umxv-rank-card span { color: #d8e0e8; font-size: 12px; font-weight: 650; }

.umxv-nav { border-bottom: 1px solid var(--line); background: #fff; }
.umxv-nav .umxv-shell { display: flex; overflow: auto; gap: 25px; }
.umxv-nav a { display: block; white-space: nowrap; padding: 15px 0; color: var(--ink); font-size: 14px; font-weight: 750; }
.umxv-nav a:hover { color: var(--red-dark); }
.umxv-nav a:first-child { box-shadow: inset 0 -3px var(--red); }
.umxv-overview { padding-block: 54px; }
.umxv-split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(245px, 1fr); align-items: start; gap: clamp(30px, 5vw, 66px); }
.umxv-bio { border-inline-start: 4px solid var(--red); padding: 25px 26px; background: var(--paper); }
.umxv-bio h2 { font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 14px; }
.umxv-bio p { color: var(--muted); font-size: 17px; line-height: 1.8; }
.umxv-bio p + p { margin-top: 12px; }

.umxv-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.umxv .umxv-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.umxv .umxv-table :is(th, td) { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.umxv .umxv-table :is(thead th:nth-child(2), tbody th) { text-align: start; width: 100%; }
.umxv .umxv-table thead th { background: var(--paper); color: var(--muted); font-size: 12px; font-weight: 750; }
.umxv .umxv-table tbody th { font-weight: 650; }
.umxv .umxv-table tr:last-child :is(td, th) { border-bottom: 0; }
.umxv .umxv-uae-row :is(th, td) { background: #fff0f2; color: #8e1230; font-weight: 850; }
.umxv .umxv-uae-row td:first-child { box-shadow: inset 3px 0 var(--red); }
.umxv[dir="rtl"] .umxv-uae-row td:first-child { box-shadow: inset -3px 0 var(--red); }
.umxv-team-name { display: flex; align-items: center; gap: 8px; }
.umxv-team-name .umxv-flag { flex-basis: 23px; width: 23px; height: 14px; }
.umxv-move { font-weight: 750; color: var(--muted); }
.umxv .umxv-up { color: #006442; }
.umxv .umxv-down { color: #a8082f; }
.umxv-rank-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--muted); }
.umxv-rank-meta time { margin-inline-start: 3px; font-weight: 750; }
.umxv .umxv-link { color: var(--red-dark); font-weight: 750; }
.umxv .umxv-link:hover { text-decoration: underline; }

.umxv-section { padding-block: 56px; }
.umxv-fixtures, .umxv-honours { background: var(--paper); }
.umxv-matches { display: grid; gap: 10px; }
.umxv-match {
  display: grid;
  grid-template-columns: minmax(128px, .7fr) minmax(0, 2fr) minmax(128px, .85fr);
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-inline-start: 4px solid var(--red);
  background: #fff;
}
.umxv-match-date time { font-weight: 750; }
.umxv-match-date, .umxv-match-result { font-size: 13px; }
.umxv-venue, .umxv-match-main p, .umxv-match-result > span { color: var(--muted); display: block; }
.umxv-match-main p { font-size: 13px; margin-bottom: 4px; }
.umxv-match-result { display: grid; justify-items: end; }
.umxv-match-result strong { font-family: var(--display); font-size: 35px; line-height: 1.08; }
.umxv-group { margin: 26px 0 10px !important; }
.umxv-squad, .umxv-honour-list, .umxv-gallery { display: grid; gap: 15px; }
.umxv-squad { grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.umxv-squad article { padding: 16px; background: var(--paper); }
.umxv-squad h4 { font-size: 18px; line-height: 1.25; }
.umxv-squad p { color: var(--muted); margin-top: 4px; }
.umxv-portrait { height: 175px; margin: -16px -16px 15px; }
.umxv-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.umxv-honour-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.umxv-honour-list article { background: #fff; padding: 20px; border-top: 3px solid var(--red); }
.umxv-season { color: var(--red-dark); font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1; display: inline-block; margin-bottom: 9px; }
.umxv-honour-list p { color: var(--muted); margin-top: 8px; }
.umxv-honour-list .umxv-link { display: inline-block; margin-top: 12px; }
.umxv-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.umxv-gallery figure { overflow: hidden; background: var(--paper); }
.umxv-gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.umxv-gallery figcaption { padding: 12px 15px; font-weight: 700; }

@media (max-width: 850px) {
  .umxv-shell { width: min(100% - 44px, 1160px); }
  .umxv-hero { min-height: 470px; }
  .umxv-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .umxv-honour-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
}
@media (max-width: 620px) {
  .umxv-shell { width: calc(100% - 30px); }
  .umxv-hero { min-height: 0; }
  .umxv-with-photo .umxv-hero-inner { padding-top: clamp(195px, 58vw, 305px); }
  .umxv-hero-inner { grid-template-columns: 1fr; justify-items: start; padding: 32px 0 24px; gap: 22px; }
  .umxv-hero-media { width: 100%; height: min(69vw, 360px); }
  .umxv[dir] .umxv-hero-media::after { background: linear-gradient(0deg, #131c27 0%, rgba(19,28,39,.50) 20%, transparent 56%); }
  .umxv .umxv-hero h1 { margin: 10px 0; font-size: 56px; }
  .umxv[lang="ar"] .umxv-hero h1 { font-size: clamp(39px, 9vw, 53px); }
  .umxv .umxv-button { margin-top: 17px; }
  .umxv-rank-card > div { padding: 11px 17px; }
  .umxv-rank-card strong { font-size: 35px; }
  .umxv-nav .umxv-shell { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .umxv-nav a { white-space: normal; padding-block: 8px; font-size: 13px; }
  .umxv .umxv-table :is(th, td) { padding: 8px 6px; font-size: 12px; }
  .umxv-team-name { gap: 5px; }
  .umxv-team-name .umxv-flag { display: none; }
  .umxv-overview, .umxv-section { padding-block: 34px; }
  .umxv-match { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px; }
  .umxv-match-date { grid-column: 1 / -1; }
  .umxv-match h3 { font-size: 17px; }
  .umxv-match-result strong { font-size: 28px; }
  .umxv-gallery { grid-template-columns: 1fr; }
}
