/* ===============================
   ESTWAR5 WINTER — BASE / RESET
   =============================== */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  background: #02060a !important;
}

body { overflow-x: hidden; }

/* Common WordPress containers — removes white gutters on a dedicated landing page */
.wp-site-blocks,
.site,
.site-content,
.site-main,
.entry-content,
.wp-block-post-content,
.wp-block-group,
.wp-block-group__inner-container {
  max-width: none !important;
}

.entry-content,
.wp-block-post-content {
  margin: 0 !important;
  padding: 0 !important;
}

.entry-header,
.page-header,
.post-thumbnail {
  display: none !important;
}

/* ESTWAR5 shortcode page: hide only the WordPress theme chrome.
   The ESTWAR5 internal header, language selector and section navigation remain visible. */
body.estwar5-fullscreen-page .site-header,
body.estwar5-fullscreen-page #masthead,
body.estwar5-fullscreen-page #site-header,
body.estwar5-fullscreen-page .main-navigation,
body.estwar5-fullscreen-page .primary-navigation,
body.estwar5-fullscreen-page #site-navigation,
body.estwar5-fullscreen-page header.wp-block-template-part,
body.estwar5-fullscreen-page .wp-site-blocks > header,
body.estwar5-fullscreen-page .wp-block-navigation:not(.ew5-lang):not(.ew5-section-nav),
body.estwar5-fullscreen-page .site-footer,
body.estwar5-fullscreen-page #colophon,
body.estwar5-fullscreen-page #site-footer,
body.estwar5-fullscreen-page footer.wp-block-template-part,
body.estwar5-fullscreen-page .wp-site-blocks > footer {
  display: none !important;
}

/* Remove common theme spacing left behind after header/footer are hidden. */
body.estwar5-fullscreen-page,
body.estwar5-fullscreen-page .site,
body.estwar5-fullscreen-page .site-content,
body.estwar5-fullscreen-page .site-main,
body.estwar5-fullscreen-page main,
body.estwar5-fullscreen-page .entry-content,
body.estwar5-fullscreen-page .wp-block-post-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#estwar5 {
  --blue: #1497ff;
  --blue-deep: #003a72;
  --yellow: #ffd400;
  --yellow-deep: #6b5500;
  --ink: #02060a;
  --panel: rgba(4, 9, 14, .72);
  --line: rgba(255,255,255,.16);
  --text: #f5f8fb;
  --muted: #aab3bc;

  position: relative;
  left: 50%;
  width: 100vw;
  min-height: 100svh;
  margin-left: -50vw;
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

#estwar5, #estwar5 * { box-sizing: border-box; }

.ew5-bg,
.ew5-bg::before,
.ew5-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.ew5-bg {
  z-index: -5;
  background-image: url('../images/estwar5-image-1.webp');
  background-size: cover;
  background-position: center;
  transform: scale(1.018);
  animation: ew5-breathe 18s ease-in-out infinite alternate;
}

.ew5-bg::before {
  background:
    linear-gradient(90deg,
      rgba(0, 35, 72, .28) 0%,
      rgba(0, 15, 30, .28) 31%,
      rgba(1, 5, 8, .90) 45%,
      rgba(1, 5, 8, .92) 55%,
      rgba(41, 31, 0, .30) 72%,
      rgba(92, 67, 0, .20) 100%),
    linear-gradient(180deg, rgba(1,4,7,.55) 0%, transparent 28%, transparent 62%, rgba(1,4,7,.92) 100%);
}

.ew5-bg::after {
  opacity: .26;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 30% 48%, rgba(20,151,255,.18), transparent 33%),
    radial-gradient(circle at 72% 48%, rgba(255,212,0,.15), transparent 33%);
  mix-blend-mode: screen;
}

@keyframes ew5-breathe {
  from { transform: scale(1.018); }
  to   { transform: scale(1.055); }
}

.ew5-shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(18px, 3vw, 38px) clamp(18px, 4.2vw, 72px) clamp(22px, 3vw, 42px);
}

/* TOP BAR */
.ew5-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ew5-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .08em;
}

.ew5-mark-badge {
  width: 44px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  font-size: 12px;
  font-weight: 950;
  background: rgba(4,9,14,.78);
  border: 1px solid rgba(255,255,255,.20);
  clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
}

.ew5-mark-badge::before,
.ew5-mark-badge::after {
  position: absolute;
  inset: 0;
  content: "";
  clip-path: inherit;
  z-index: -1;
}
.ew5-mark-badge::before { background: linear-gradient(90deg, var(--blue) 0 50%, var(--yellow) 50%); }
.ew5-mark-badge::after { inset: 2px; background: #070c11; }

.ew5-mark-copy {
  font-size: 13px;
  line-height: 1.05;
}
.ew5-mark-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .22em;
  font-weight: 700;
}

.ew5-lang {
  display: flex;
  padding: 4px;
  background: rgba(2,6,10,.62);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ew5-lang button {
  min-width: 58px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: #98a2ad;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  cursor: pointer;
  transition: .2s ease;
}

.ew5-lang button:hover { color: white; }
.ew5-lang button.is-active {
  color: #fff;
  background: rgba(20,151,255,.20);
  box-shadow: inset 0 -2px 0 var(--blue);
}

/* HERO */
.ew5-hero {
  width: min(920px, 100%);
  margin: auto;
  padding: clamp(58px, 9vh, 110px) 0 clamp(40px, 6vh, 74px);
  text-align: center;
}

.ew5-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #dce5ed;
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 800;
  letter-spacing: .30em;
  text-transform: uppercase;
}

.ew5-kicker::before,
.ew5-kicker::after {
  content: "";
  width: clamp(26px, 5vw, 72px);
  height: 1px;
}
.ew5-kicker::before { background: linear-gradient(90deg, transparent, var(--blue)); }
.ew5-kicker::after { background: linear-gradient(90deg, var(--yellow), transparent); }

.ew5-title {
  margin: 0;
  text-transform: uppercase;
  line-height: .82;
  letter-spacing: -.012em;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  font-size: clamp(76px, 13vw, 184px);
  text-shadow: 0 7px 28px rgba(0,0,0,.72);
}

.ew5-title .estwar {
  display: block;
  color: #f4f6f8;
}

.ew5-title .five { color: var(--yellow); }

.ew5-title .winter {
  display: block;
  margin-top: .13em;
  color: #dbe5ee;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: .28em;
  line-height: 1;
  letter-spacing: .30em;
  font-weight: 900;
  transform: translateX(.24em);
}

.ew5-divider {
  width: min(520px, 72vw);
  height: 1px;
  margin: clamp(24px, 4vh, 38px) auto;
  background: linear-gradient(90deg, transparent, var(--blue), rgba(255,255,255,.6), var(--yellow), transparent);
  position: relative;
}
.ew5-divider::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  transform: translate(-50%,-50%) rotate(45deg);
  border: 1px solid rgba(255,255,255,.75);
  background: #060b10;
}

.ew5-duel {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: clamp(16px, 4vw, 52px);
  margin: 0 auto;
  max-width: 760px;
}

.ew5-team {
  position: relative;
  padding: 15px 18px;
  background: rgba(3,8,12,.64);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

.ew5-team::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
}
.ew5-team.hunter::before { left: 0; background: var(--blue); box-shadow: 0 0 24px var(--blue); }
.ew5-team.specter::before { right: 0; background: var(--yellow); box-shadow: 0 0 24px var(--yellow); }

.ew5-team small {
  display: block;
  color: #8e99a4;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 800;
  text-transform: uppercase;
}
.ew5-team strong {
  display: block;
  margin-top: 3px;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  font-size: clamp(25px, 4vw, 46px);
  letter-spacing: .015em;
  line-height: 1;
}
.ew5-team.hunter strong { color: var(--blue); }
.ew5-team.specter strong { color: var(--yellow); }

.ew5-vs {
  color: white;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-style: italic;
  text-shadow: 0 0 18px rgba(255,255,255,.25);
}

.ew5-tagline {
  margin: clamp(22px, 4vh, 34px) auto 0;
  color: #c3cbd3;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ew5-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 230px;
  margin-top: 28px;
  padding: 15px 22px;
  color: #fff;
  background: rgba(3,8,12,.68);
  border: 1px solid rgba(255,255,255,.36);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ew5-cta:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  background: rgba(16,20,21,.85);
  color: #fff;
}
.ew5-cta-arrow { font-size: 17px; line-height: 0; }

/* FOOT */
.ew5-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: #89939d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ew5-side-key {
  display: flex;
  gap: 18px;
}
.ew5-side-key span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  vertical-align: 1px;
}
.ew5-side-key .hunter-key::before { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.ew5-side-key .specter-key::before { background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }

.ew5-scroll {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ew5-scroll i {
  display: block;
  width: 1px;
  height: 26px;
  background: linear-gradient(var(--yellow), transparent);
}

/* DECORATIVE SIDE LIGHTS */
.ew5-light-left,
.ew5-light-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  opacity: .55;
  pointer-events: none;
}
.ew5-light-left { left: 0; background: linear-gradient(transparent, var(--blue), transparent); }
.ew5-light-right { right: 0; background: linear-gradient(transparent, var(--yellow), transparent); }

@media (max-width: 700px) {
  .ew5-shell { padding: 16px 14px 20px; }
  .ew5-mark-copy { display: none; }
  .ew5-lang button { min-width: 46px; padding: 9px 10px; }
  .ew5-hero { padding-top: 72px; }
  .ew5-kicker { letter-spacing: .16em; }
  .ew5-title { font-size: clamp(66px, 23vw, 112px); }
  .ew5-title .winter { font-size: .23em; letter-spacing: .34em; }
  .ew5-duel { gap: 8px; }
  .ew5-team { padding: 12px 9px; }
  .ew5-team small { font-size: 10px; letter-spacing: .10em; }
  .ew5-team strong { font-size: clamp(20px, 8vw, 34px); }
  .ew5-tagline { letter-spacing: .13em; }
  .ew5-foot { align-items: center; }
  .ew5-side-key { display: none; }
  .ew5-scroll { margin-left: auto; }
  .ew5-bg { background-position: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ew5-bg { animation: none; }
  .ew5-cta { transition: none; }
}


/* ===============================
   ESTWAR5 WINTER — GAME OVERVIEW
   Inspired by editorial event-overview layouts,
   rebuilt in ESTWAR5's blue/yellow tactical visual language.
   =============================== */
.ew5-info-section,
.ew5-info-section * { box-sizing: border-box; }

.ew5-info-section {
  --ew5-blue: #1497ff;
  --ew5-yellow: #ffd400;
  --ew5-ink: #02060a;
  --ew5-panel: #071018;
  --ew5-line: rgba(255,255,255,.13);
  --ew5-text: #f5f8fb;
  --ew5-muted: #aab3bc;

  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  overflow: hidden;
  color: var(--ew5-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    linear-gradient(rgba(20,151,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,212,0,.03) 1px, transparent 1px),
    radial-gradient(circle at 13% 28%, rgba(20,151,255,.13), transparent 32%),
    radial-gradient(circle at 88% 70%, rgba(255,212,0,.08), transparent 30%),
    #03070b;
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.ew5-info-section::before,
.ew5-info-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  pointer-events: none;
  opacity: .55;
}
.ew5-info-section::before {
  left: 0;
  background: linear-gradient(transparent, var(--ew5-blue), transparent);
}
.ew5-info-section::after {
  right: 0;
  background: linear-gradient(transparent, var(--ew5-yellow), transparent);
}

.ew5-info-wrap {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 118px) 0 clamp(70px, 9vw, 130px);
}

.ew5-info-grid {
  display: grid;
  grid-template-columns: minmax(330px, .86fr) minmax(0, 1.14fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: start;
}

/* Left poster — ESTWAR5 WINTER / soldier + Estonia-map composition */
.ew5-info-poster {
  position: sticky;
  top: 28px;
  min-height: 760px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: #03080b;
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
  isolation: isolate;
}

.ew5-info-poster::before {
  display: none;
}

.ew5-info-poster::after {
  display: none;
}

.ew5-poster-art {
  position: absolute;
  z-index: 1;
  inset: 0 0 175px;
  background-image: url('../images/estwar5-image-2.webp');
  background-repeat: no-repeat;
  background-size: 112% auto;
  background-position: center top;
  filter: saturate(.48) contrast(1.12) brightness(.72);
  transform: scale(1.015);
  transform-origin: top center;
  -webkit-mask-image: linear-gradient(#000 0 62%, rgba(0,0,0,.92) 72%, transparent 100%);
  mask-image: linear-gradient(#000 0 62%, rgba(0,0,0,.92) 72%, transparent 100%);
}

.ew5-poster-split {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,77,156,.34) 0%, rgba(20,151,255,.10) 42%, transparent 49%, rgba(255,212,0,.08) 58%, rgba(120,88,0,.23) 100%);
  mix-blend-mode: screen;
  opacity: .72;
}

.ew5-poster-top {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  color: #e5edf4;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px #000;
}

.ew5-poster-badge {
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  background: rgba(3,8,12,.92);
  border: 1px solid rgba(255,255,255,.22);
  clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
}

.ew5-poster-body {
  position: relative;
  z-index: 6;
  min-height: 615px;
}

.ew5-poster-number {
  position: absolute;
  top: 132px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  color: rgba(2,8,11,.42);
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  font-size: clamp(165px, 19vw, 255px);
  font-weight: 900;
  line-height: .82;
  -webkit-text-stroke: 2px rgba(255,212,0,.74);
  text-shadow: 0 0 32px rgba(255,212,0,.16), 0 10px 35px rgba(0,0,0,.8);
  pointer-events: none;
}


.ew5-estonia-map {
  position: absolute;
  z-index: 6;
  top: 102px;
  left: 50%;
  width: min(74%, 330px);
  height: 300px;
  transform: translateX(-50%);
  opacity: .52;
  filter: drop-shadow(0 0 22px rgba(20,151,255,.12)) drop-shadow(0 0 22px rgba(255,212,0,.10));
  mix-blend-mode: screen;
  pointer-events: none;
}

.ew5-poster-country {
  position: absolute;
  z-index: 9;
  left: 50%;
  top: 335px;
  transform: translateX(-50%);
  color: rgba(240,246,251,.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .38em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px #000;
}

.ew5-poster-copy {
  position: absolute;
  z-index: 10;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding-top: 105px;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(3,8,11,.90) 34%, #03080b 66%);
}

.ew5-poster-kicker {
  margin-bottom: 10px;
  color: #c9d4dd;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .20em;
  text-transform: uppercase;
}

.ew5-poster-title {
  margin: 0;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  font-size: clamp(54px, 6.8vw, 86px);
  font-weight: 900;
  line-height: .83;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-shadow: 0 8px 25px rgba(0,0,0,.74);
}
.ew5-poster-title .blue { color: var(--ew5-blue); }
.ew5-poster-title .white { color: #f3f7fa; }
.ew5-poster-title .yellow { color: var(--ew5-yellow); }

.ew5-poster-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  padding: 10px 16px 9px;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.20);
  border-bottom: 1px solid rgba(255,255,255,.20);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ew5-poster-date b { color: var(--ew5-yellow); font-weight: 900; }

.ew5-poster-sub {
  display: block;
  margin-top: 14px;
  color: #aebbc5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ew5-poster-sides {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.12);
  background: #03080b;
}
.ew5-poster-side {
  padding: 16px 18px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ew5-poster-side:first-child {
  color: var(--ew5-blue);
  border-right: 1px solid rgba(255,255,255,.10);
}
.ew5-poster-side:last-child {
  color: var(--ew5-yellow);
  text-align: right;
}

@media (max-width: 980px) {
  .ew5-info-poster { min-height: 690px; }
  .ew5-poster-body { min-height: 545px; }
  .ew5-poster-art { bottom: 150px; background-size: 105% auto; }
  .ew5-poster-number { top: 112px; }
  .ew5-estonia-map { top: 90px; width: min(70%, 300px); height: 270px; }
  .ew5-poster-country { top: 300px; }
}

@media (max-width: 620px) {
  .ew5-info-poster { min-height: 650px; }
  .ew5-poster-body { min-height: 510px; }
  .ew5-poster-top { padding: 20px 22px; }
  .ew5-poster-art { background-size: 116% auto; }
  .ew5-estonia-map { top: 84px; width: 72%; height: 245px; }
  .ew5-poster-copy { left: 18px; right: 18px; bottom: 22px; }
  .ew5-poster-title { font-size: clamp(48px, 15vw, 72px); }
  .ew5-poster-date { font-size: 15px; letter-spacing: .12em; }
}

/* Right content */
.ew5-overview-head {
  margin-top: 28px;
  margin-bottom: 28px;
}

.ew5-overview-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #86929c;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ew5-overview-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--ew5-blue), var(--ew5-yellow));
}

.ew5-overview-title {
  margin: 0;
  color: #fff;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1;
  letter-spacing: -.012em;
  text-transform: uppercase;
}

.ew5-info-block {
  margin-top: 14px;
  border: 1px solid var(--ew5-line);
  background: rgba(4,9,14,.76);
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}

.ew5-info-bar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px 0 18px;
  overflow: hidden;
  color: #fff;
  background: #0c1217;
  border-bottom: 1px solid rgba(255,255,255,.10);
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.ew5-info-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--ew5-blue);
}
.ew5-info-block:nth-of-type(even) .ew5-info-bar::before {
  background: var(--ew5-yellow);
}

.ew5-info-body {
  padding: 13px 18px 15px;
  color: #c5cdd5;
  font-size: 15px;
  line-height: 1.45;
}

.ew5-info-body p { margin: 0 0 8px; }
.ew5-info-body p:last-child { margin-bottom: 0; }
.ew5-info-body strong { color: #fff; }

.ew5-facts,
.ew5-checks {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ew5-facts li,
.ew5-checks li {
  position: relative;
  padding-left: 22px;
}
.ew5-facts li::before,
.ew5-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .76em;
  width: 10px;
  height: 1px;
  background: var(--ew5-yellow);
  box-shadow: 0 0 8px rgba(255,212,0,.35);
}
.ew5-facts b {
  display: inline-block;
  min-width: 118px;
  color: #fff;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.ew5-readmore {
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 8px;
}
.ew5-readmore summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  list-style: none;
}
.ew5-readmore summary::-webkit-details-marker { display: none; }
.ew5-readmore summary::after {
  content: "+";
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: var(--ew5-yellow);
  border: 1px solid rgba(255,255,255,.25);
}
.ew5-readmore[open] summary::after { content: "−"; }
.ew5-readmore p { margin-top: 14px; }

.ew5-mission {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.ew5-mission h4 {
  margin: 0 0 14px;
  color: #fff;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ew5-mission-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ew5-mission-list li {
  position: relative;
  padding-left: 20px;
}
.ew5-mission-list li::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--ew5-yellow);
  font-weight: 900;
}

.ew5-info-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.ew5-info-btn {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  text-decoration: none;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.ew5-info-btn::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}
.ew5-info-btn.primary {
  color: #041018;
  background: linear-gradient(90deg, var(--ew5-blue), #55b7ff);
  border-color: transparent;
}
.ew5-info-btn.secondary {
  color: #fff;
  background: rgba(255,212,0,.055);
  border-color: rgba(255,212,0,.45);
}
.ew5-info-btn:hover {
  transform: translateY(-2px);
}
.ew5-info-btn.primary:hover { background: #fff; }
.ew5-info-btn.secondary:hover { border-color: var(--ew5-yellow); }

.ew5-info-note {
  margin-top: 15px;
  color: #75818b;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .ew5-info-grid { grid-template-columns: 1fr; }
  .ew5-info-poster {
    position: relative;
    top: auto;
    min-height: 620px;
  }
}

@media (max-width: 620px) {
  .ew5-overview-title { font-size: clamp(30px, 10vw, 42px); }
  .ew5-info-wrap { width: min(100% - 28px, 1240px); padding-top: 54px; }
  .ew5-info-poster { min-height: 520px; }
  .ew5-poster-body { min-height: 395px; }
  .ew5-poster-top { padding: 18px; }
  .ew5-poster-title { font-size: clamp(54px, 18vw, 78px); }
  .ew5-poster-five { font-size: clamp(210px, 74vw, 330px); }
  .ew5-info-body { padding: 12px 14px 14px; }
  .ew5-facts b { display: block; min-width: 0; margin-bottom: 2px; }
  .ew5-info-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ew5-info-btn { transition: none; }
}


/* === V14: suurem uus plakat + sticky jälgimine === */
.ew5-info-wrap {
  width: min(1440px, calc(100% - 32px));
}

.ew5-info-grid {
  grid-template-columns: minmax(500px, 1.12fr) minmax(0, .88fr);
  gap: clamp(34px, 4.5vw, 64px);
}

.ew5-info-poster {
  position: sticky;
  top: 20px;
  align-self: start;
  min-height: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.ew5-info-poster::before {
  display: none;
}

.ew5-info-poster::after {
  display: none;
}

.ew5-poster-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 921px) {
  .ew5-info-poster {
    max-height: calc(100vh - 40px);
  }

  .ew5-poster-image {
    height: calc(100vh - 28px);
    max-height: 980px;
    min-height: 740px;
    object-fit: contain;
  }
}

@media (max-width: 920px) {
  .ew5-info-grid {
    grid-template-columns: 1fr;
  }

  .ew5-info-poster {
    position: relative;
    top: auto;
    width: min(700px, 100%);
    margin: 0 auto;
  }

  .ew5-poster-image {
    height: auto;
    min-height: 0;
    object-fit: cover;
  }
}

@media (max-width: 620px) {
  .ew5-info-wrap {
    width: min(100% - 24px, 1380px);
  }
}


.ew5-requirements-note {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}
.ew5-requirements-note strong {
  color: #fff;
  letter-spacing: .04em;
}


/* ===============================
   ESTWAR5 WINTER — REGISTREERIMINE
   =============================== */
.ew5-reg-section,
.ew5-reg-section * { box-sizing: border-box; }

.ew5-reg-section {
  --reg-blue: #1497ff;
  --reg-yellow: #ffd400;
  --reg-bg: #02070b;
  --reg-panel: rgba(7, 16, 24, .86);
  --reg-panel-2: rgba(10, 20, 29, .72);
  --reg-line: rgba(255,255,255,.13);
  --reg-text: #f5f8fb;
  --reg-muted: #9ca9b5;
  --reg-danger: #ff6b6b;
  --reg-success: #5ce0a0;

  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  padding: clamp(66px, 8vw, 112px) 0;
  overflow: hidden;
  color: var(--reg-text);
  background:
    radial-gradient(circle at 10% 20%, rgba(20,151,255,.14), transparent 34%),
    radial-gradient(circle at 92% 75%, rgba(255,212,0,.10), transparent 30%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #02070b;
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ew5-reg-wrap {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

.ew5-reg-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--reg-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .20em;
  text-transform: uppercase;
}
.ew5-reg-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--reg-blue), var(--reg-yellow));
}

.ew5-reg-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.ew5-reg-title {
  margin: 0;
  color: #fff;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: .98;
  font-weight: 850;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.ew5-reg-intro {
  max-width: 610px;
  margin: 12px 0 0;
  color: var(--reg-muted);
  font-size: 15px;
  line-height: 1.6;
}

.ew5-admin-toggle {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 16px;
  color: #dbe6ee;
  border: 1px solid var(--reg-line);
  background: rgba(255,255,255,.025);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.ew5-admin-toggle:hover {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.06);
}

.ew5-reg-main {
  display: grid;
  grid-template-columns: minmax(340px, .78fr) minmax(540px, 1.22fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.ew5-reg-card {
  border: 1px solid var(--reg-line);
  background: linear-gradient(180deg, rgba(10,20,29,.90), rgba(4,10,15,.86));
  box-shadow: 0 26px 70px rgba(0,0,0,.26);
}

.ew5-reg-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--reg-line);
  background: rgba(255,255,255,.025);
}

.ew5-reg-card-head h3 {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ew5-reg-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.ew5-field {
  display: grid;
  gap: 6px;
}
.ew5-field label,
.ew5-team-choice-title {
  color: #cbd5dd;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}
.ew5-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  outline: none;
  background: rgba(0,0,0,.28);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ew5-field input:focus {
  border-color: var(--reg-blue);
  box-shadow: 0 0 0 3px rgba(20,151,255,.10);
}
.ew5-field small {
  color: #71808c;
  font-size: 11px;
  line-height: 1.35;
}

.ew5-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ew5-team-choice {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}
.ew5-team-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ew5-team-radio {
  position: relative;
}
.ew5-team-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ew5-team-radio label {
  display: grid;
  gap: 3px;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.24);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.ew5-team-radio label strong {
  font-size: 16px;
  letter-spacing: .06em;
}
.ew5-team-radio label span {
  color: var(--reg-muted);
  font-size: 11px;
}
.ew5-team-radio.hunter label strong { color: var(--reg-blue); }
.ew5-team-radio.specter label strong { color: var(--reg-yellow); }
.ew5-team-radio input:checked + label {
  transform: translateY(-1px);
  background: rgba(255,255,255,.055);
}
.ew5-team-radio.hunter input:checked + label {
  border-color: rgba(20,151,255,.85);
  box-shadow: inset 3px 0 0 var(--reg-blue);
}
.ew5-team-radio.specter input:checked + label {
  border-color: rgba(255,212,0,.75);
  box-shadow: inset 3px 0 0 var(--reg-yellow);
}
.ew5-team-radio input:disabled + label {
  opacity: .42;
  cursor: not-allowed;
  filter: grayscale(.35);
}

.ew5-rules-confirm {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 2px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.025);
}
.ew5-rules-confirm input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--reg-blue);
}
.ew5-rules-confirm label {
  color: #d9e1e7;
  font-size: 12px;
  line-height: 1.5;
}
.ew5-rules-confirm label span {
  display: block;
  margin-top: 5px;
  color: var(--reg-muted);
  font-size: 11px;
}

.ew5-submit {
  min-height: 52px;
  margin-top: 2px;
  border: 0;
  color: #061017;
  background: linear-gradient(90deg, var(--reg-blue) 0%, #69c0ff 58%, var(--reg-yellow) 100%);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.ew5-submit:hover { filter: brightness(1.08); }
.ew5-submit:disabled { opacity: .45; cursor: not-allowed; }

.ew5-form-message {
  display: none;
  padding: 11px 12px;
  border: 1px solid transparent;
  font-size: 12px;
  line-height: 1.45;
}
.ew5-form-message.is-visible { display: block; }
.ew5-form-message.success {
  color: #c9ffe2;
  border-color: rgba(92,224,160,.35);
  background: rgba(92,224,160,.08);
}
.ew5-form-message.error {
  color: #ffd4d4;
  border-color: rgba(255,107,107,.35);
  background: rgba(255,107,107,.08);
}

.ew5-rosters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ew5-roster {
  min-width: 0;
  border: 1px solid var(--reg-line);
  background: rgba(4,10,15,.82);
}
.ew5-roster.hunter { box-shadow: inset 0 3px 0 var(--reg-blue); }
.ew5-roster.specter { box-shadow: inset 0 3px 0 var(--reg-yellow); }

.ew5-roster-head {
  padding: 16px 16px 13px;
  border-bottom: 1px solid var(--reg-line);
}
.ew5-roster-name {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.ew5-roster-name h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.ew5-roster.hunter .ew5-roster-name h3 { color: var(--reg-blue); }
.ew5-roster.specter .ew5-roster-name h3 { color: var(--reg-yellow); }
.ew5-roster-count {
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}
.ew5-roster-status {
  margin-top: 5px;
  color: var(--reg-muted);
  font-size: 11px;
}
.ew5-roster-status.is-full {
  color: #ffb5b5;
  font-weight: 800;
}

.ew5-roster-list {
  min-height: 420px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}
.ew5-roster-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 6px 14px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.ew5-roster-list li:last-child { border-bottom: 0; }
.ew5-roster-number {
  color: #687681;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ew5-roster-person {
  min-width: 0;
  overflow: hidden;
}
.ew5-roster-person .ew5-roster-line {
  display: block;
  overflow: hidden;
  color: #edf3f7;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ew5-roster-person .ew5-roster-line b {
  color: #fff;
  font-weight: 800;
}
.ew5-roster-person .ew5-roster-sep {
  margin: 0 7px;
  color: #53616b;
}
.ew5-roster-person .ew5-roster-club {
  color: #8f9da7;
}
.ew5-roster-empty {
  display: block !important;
  padding: 22px 16px !important;
  color: #65737e;
  font-size: 12px;
  text-align: center;
}

.ew5-admin-panel {
  display: none;
  margin-top: 26px;
  border: 1px solid rgba(255,212,0,.28);
  background: rgba(8,13,17,.96);
}
.ew5-admin-panel.is-open { display: block; }

.ew5-admin-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--reg-line);
  background: rgba(255,212,0,.045);
}
.ew5-admin-head h3 {
  margin: 0;
  color: var(--reg-yellow);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ew5-admin-head p {
  margin: 3px 0 0;
  color: #7f8a91;
  font-size: 10px;
}

.ew5-admin-body { padding: 16px; }

.ew5-capacity-editor {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--reg-line);
}
.ew5-capacity-editor label {
  display: grid;
  gap: 5px;
  color: #b9c5cd;
  font-size: 11px;
  font-weight: 700;
}
.ew5-capacity-editor input {
  min-height: 40px;
  width: 100%;
  padding: 8px 10px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.30);
  font: inherit;
}
.ew5-admin-save {
  min-height: 40px;
  padding: 8px 16px;
  color: #071016;
  border: 0;
  background: var(--reg-yellow);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.ew5-admin-message {
  min-height: 18px;
  margin: 8px 0 0;
  color: #8f9ba3;
  font-size: 11px;
}

.ew5-admin-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.ew5-admin-team {
  min-width: 0;
  border: 1px solid var(--reg-line);
}
.ew5-admin-team > h4 {
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--reg-line);
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ew5-admin-player {
  display: grid;
  gap: 8px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ew5-admin-player:last-child { border-bottom: 0; }
.ew5-admin-player-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.ew5-admin-player-name {
  min-width: 0;
}
.ew5-admin-player-name strong {
  display: block;
  color: #f1f6f8;
  font-size: 12px;
}
.ew5-admin-player-name span {
  display: block;
  margin-top: 2px;
  color: #7c8993;
  font-size: 10px;
}
.ew5-admin-player-meta {
  display: grid;
  gap: 2px;
  color: #9aa7b0;
  font-size: 10px;
  line-height: 1.4;
}
.ew5-paid-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5db;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
.ew5-paid-label input { accent-color: var(--reg-success); }
.ew5-admin-player-actions {
  display: flex;
  justify-content: flex-end;
}
.ew5-delete-registration {
  padding: 6px 8px;
  color: #ffb7b7;
  border: 1px solid rgba(255,107,107,.25);
  background: transparent;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.ew5-admin-empty {
  padding: 14px 12px;
  color: #65737d;
  font-size: 11px;
}

.ew5-admin-warning {
  margin: 14px 0 0;
  padding: 10px 12px;
  color: #aab4bb;
  border-left: 2px solid var(--reg-yellow);
  background: rgba(255,212,0,.035);
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 1020px) {
  .ew5-reg-main {
    grid-template-columns: 1fr;
  }
  .ew5-roster-list { min-height: 260px; }
}

@media (max-width: 700px) {
  .ew5-reg-wrap { width: min(100% - 24px, 1440px); }
  .ew5-reg-head {
    display: grid;
    align-items: start;
  }
  .ew5-admin-toggle { justify-self: start; }
  .ew5-rosters,
  .ew5-admin-lists,
  .ew5-capacity-editor {
    grid-template-columns: 1fr;
  }
  .ew5-capacity-editor .ew5-admin-save { width: 100%; }
}

@media (max-width: 520px) {
  .ew5-form-row,
  .ew5-team-choice-grid {
    grid-template-columns: 1fr;
  }
  .ew5-reg-form { padding: 14px; }
  .ew5-reg-title { font-size: clamp(34px, 12vw, 46px); }
}


@media (max-width: 520px) {
  .ew5-roster-person .ew5-roster-line {
    font-size: 11px;
  }
  .ew5-roster-person .ew5-roster-sep {
    margin: 0 4px;
  }
}


/* V23 — registreerimine avaneb ainult nupust */
.ew5-reg-section[hidden] {
  display: none !important;
}

.ew5-reg-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.ew5-reg-close {
  min-height: 44px;
  padding: 10px 16px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.ew5-reg-close:hover {
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.08);
}

@media (max-width: 700px) {
  .ew5-reg-head-actions {
    flex-wrap: wrap;
  }
}


/* V24 — makse staatus avalikus nimekirjas */
.ew5-roster-person .ew5-roster-firstname {
  font-weight: 850;
  transition: color .2s ease;
}

.ew5-roster-person .ew5-roster-firstname.is-unpaid {
  color: #ff6b6b;
}

.ew5-roster-person .ew5-roster-firstname.is-paid {
  color: #5ce0a0;
}




/* V28 — keskne läbipaistev sticky tekstimenüü */
.ew5-section-nav {
  position: sticky;
  top: 12px;
  z-index: 1000;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 14px 0 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.ew5-section-nav-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
  min-height: 0;
}

.ew5-section-nav a {
  position: relative;
  display: inline-block;
  min-height: 0;
  padding: 8px 2px 10px;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(0,0,0,.95), 0 0 18px rgba(0,0,0,.7);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: auto;
  transition: color .18s ease, transform .18s ease;
}

.ew5-section-nav a::after {
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  content: "";
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--ew5-blue), var(--ew5-yellow));
  transition: width .2s ease;
}

.ew5-section-nav a:hover,
.ew5-section-nav a:focus-visible,
.ew5-section-nav a.is-active {
  color: #fff;
  transform: translateY(-1px);
}

.ew5-section-nav a:hover::after,
.ew5-section-nav a:focus-visible::after,
.ew5-section-nav a.is-active::after {
  width: 100%;
}

#game-info,
#ew5-game-details {
  scroll-margin-top: 64px;
}

@media (max-width: 620px) {
  .ew5-section-nav {
    top: 6px;
    padding-top: 8px;
  }

  .ew5-section-nav-inner {
    gap: 28px;
  }

  .ew5-section-nav a {
    font-size: 10px;
    letter-spacing: .10em;
    padding: 7px 2px 9px;
  }
}


/* V29 — parandus: sticky menüü peab saama sektsiooni sees kerida */
.ew5-info-section {
  overflow: visible !important;
}

.ew5-section-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 10px;
  z-index: 9999;
}


/* ===============================
   V30 — TÄIS MÄNGUINFO VAADE
   =============================== */
.ew5-content-pane[hidden] {
  display: none !important;
}

.ew5-rules-page {
  position: relative;
  min-height: 100vh;
  margin-top: 8px;
  color: #f5f8fb;
}

.ew5-rules-hero {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at 18% 35%, rgba(20,151,255,.16), transparent 35%),
    radial-gradient(circle at 82% 38%, rgba(255,212,0,.10), transparent 32%),
    linear-gradient(135deg, #06111a 0%, #03080d 48%, #0d0d07 100%);
}

.ew5-rules-gridlines {
  position: absolute;
  inset: 0;
  opacity: .42;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.ew5-rules-watermark {
  position: absolute;
  right: clamp(-20px, 3vw, 50px);
  top: 50%;
  transform: translateY(-50%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.075);
  font-family: Bahnschrift, Impact, sans-serif;
  font-size: clamp(240px, 34vw, 520px);
  font-weight: 950;
  line-height: .8;
  pointer-events: none;
  user-select: none;
}

.ew5-rules-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 120px) 0 clamp(58px, 7vw, 94px);
}

.ew5-rules-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8997a2;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .20em;
  text-transform: uppercase;
}

.ew5-rules-eyebrow i {
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, #1497ff, #ffd400);
}

.ew5-rules-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 22px;
}

.ew5-rules-kicker {
  margin: 0 0 8px;
  color: #b5c0c8;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: .18em;
}

.ew5-rules-title {
  margin: 6px 0 0;
  color: #fff;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", sans-serif;
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.04em;
}

.ew5-rules-badge {
  width: clamp(84px, 9vw, 116px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
  border: 0;
  background:
    linear-gradient(135deg, rgba(20,151,255,.18), rgba(255,212,0,.14)),
    #071018;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.20);
}

.ew5-rules-badge span {
  color: #9aa7b0;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}
.ew5-rules-badge strong {
  margin-top: -3px;
  color: #fff;
  font-size: 38px;
  line-height: 1;
}

.ew5-rules-lead {
  width: min(710px, 100%);
  margin: 34px 0 0;
  color: #9eabb5;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
}

.ew5-rules-splitline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(560px, 100%);
  height: 3px;
  margin-top: 34px;
}
.ew5-rules-splitline .hunter {
  background: linear-gradient(90deg, #1497ff, rgba(20,151,255,.15));
}
.ew5-rules-splitline .specter {
  background: linear-gradient(90deg, rgba(255,212,0,.15), #ffd400);
}

.ew5-rules-content {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(46px, 6vw, 84px) 0 clamp(80px, 9vw, 128px);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 44px);
}

.ew5-rules-rail {
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  min-height: 440px;
  padding-top: 8px;
  color: #6f7d87;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}
.ew5-rules-rail i {
  width: 1px;
  height: 100%;
  margin: 12px 0;
  background: linear-gradient(#1497ff, rgba(255,255,255,.12), #ffd400);
}

.ew5-rules-main {
  display: grid;
  gap: 18px;
}

.ew5-rule-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(110deg, rgba(11,21,29,.88), rgba(4,9,14,.82));
  overflow: hidden;
}

.ew5-rule-card::after {
  position: absolute;
  right: -45px;
  top: -75px;
  width: 200px;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  opacity: .13;
  filter: blur(3px);
  pointer-events: none;
}
.ew5-rule-card-primary::after { background: #1497ff; }
.ew5-rule-card-warning::after { background: #ffd400; }

.ew5-rule-number {
  display: grid;
  place-items: center;
  min-height: 190px;
  color: rgba(255,255,255,.30);
  border-right: 1px solid rgba(255,255,255,.10);
  font-family: Bahnschrift, "Segoe UI", sans-serif;
  font-size: 25px;
  font-weight: 900;
}
.ew5-rule-card-primary .ew5-rule-number {
  box-shadow: inset 3px 0 0 #1497ff;
}
.ew5-rule-card-warning .ew5-rule-number {
  box-shadow: inset 3px 0 0 #ffd400;
}

.ew5-rule-card-body {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 3vw, 38px);
}

.ew5-rule-label {
  color: #7f8d97;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.ew5-rule-card h3 {
  margin: 8px 0 14px;
  color: #fff;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", sans-serif;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.025em;
}

.ew5-rule-card p {
  max-width: 900px;
  margin: 0;
  color: #b4bec6;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.72;
}

.ew5-rule-card-warning p strong {
  color: #ffd400;
}

.ew5-rules-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  padding: 20px 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.ew5-rules-next span {
  display: block;
  color: #667580;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}
.ew5-rules-next strong {
  display: block;
  margin-top: 5px;
  color: #d7dfe4;
  font-size: 13px;
  font-weight: 700;
}

.ew5-rules-next button {
  min-height: 42px;
  padding: 9px 15px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.025);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .10em;
  cursor: pointer;
}
.ew5-rules-next button:hover {
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.06);
}

@media (max-width: 700px) {
  .ew5-rules-hero-inner,
  .ew5-rules-content {
    width: min(100% - 24px, 1320px);
  }

  .ew5-rules-title-row {
    align-items: center;
  }

  .ew5-rules-badge {
    width: 70px;
  }

  .ew5-rules-content {
    grid-template-columns: 1fr;
  }

  .ew5-rules-rail {
    display: none;
  }

  .ew5-rule-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .ew5-rule-number {
    min-height: 160px;
    font-size: 18px;
  }

  .ew5-rules-next {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* V34 — YouTube video MÄNGUINFO hero alas */
.ew5-video-shell {
  width: min(520px, 42vw);
  min-width: 360px;
}

.ew5-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: #000;
  box-shadow:
    0 24px 70px rgba(0,0,0,.45),
    0 0 0 1px rgba(20,151,255,.08),
    0 0 40px rgba(255,212,0,.05);
}

.ew5-video-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

.ew5-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ew5-video-caption {
  margin-top: 8px;
  color: #7f8d97;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .16em;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .ew5-rules-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .ew5-video-shell {
    width: min(720px, 100%);
    min-width: 0;
    margin-top: 12px;
  }

  .ew5-video-caption {
    text-align: left;
  }
}


/* V36 — MÄNGUINFO sissejuhatav tekst */
.ew5-rules-intro-copy {
  position: relative;
  width: min(670px, 100%);
  margin: clamp(38px, 5vw, 68px) 0 clamp(42px, 5vw, 68px);
  padding-left: 22px;
}

.ew5-rules-intro-copy::before {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  content: "";
  background: linear-gradient(to bottom, #1497ff, rgba(255,255,255,.18), #ffd400);
}

.ew5-rules-intro-copy p {
  margin: 0 0 14px;
  color: #aeb9c1;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.7;
}

.ew5-rules-intro-copy p:last-child {
  margin-bottom: 0;
}

.ew5-rules-intro-copy .ew5-rules-intro-final {
  color: #eef3f6;
  font-weight: 700;
}

@media (max-width: 700px) {
  .ew5-rules-intro-copy {
    margin: 30px 0 38px;
    padding-left: 16px;
  }

  .ew5-rules-intro-copy p {
    font-size: 14px;
    line-height: 1.62;
  }
}


/* V37 — tekst ja video eraldi, proportsionaalne paigutus */
.ew5-rules-hero-inner {
  padding-bottom: clamp(44px, 5vw, 66px);
}

.ew5-rules-title-row {
  display: block;
  margin-top: 34px;
}

.ew5-rules-title-row > div:first-child {
  width: min(760px, 100%);
}

.ew5-rules-lead {
  margin-top: 24px;
}

.ew5-rules-intro-copy {
  margin-bottom: clamp(34px, 4vw, 52px);
}

.ew5-video-section {
  width: min(1120px, calc(100% - 48px));
  margin: clamp(42px, 5vw, 70px) auto clamp(26px, 4vw, 48px);
}

.ew5-video-section-head {
  width: min(760px, 100%);
  margin-bottom: 22px;
}

.ew5-video-section-kicker {
  display: block;
  margin-bottom: 7px;
  color: #71808b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.ew5-video-section-head h3 {
  margin: 0;
  color: #fff;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", sans-serif;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.025em;
}

.ew5-video-section-head p {
  margin: 11px 0 0;
  color: #8f9ca6;
  font-size: 14px;
  line-height: 1.55;
}

.ew5-video-section .ew5-video-shell {
  width: 100%;
  min-width: 0;
}

.ew5-video-section .ew5-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.ew5-video-section .ew5-video-caption {
  margin-top: 9px;
  text-align: left;
}

@media (max-width: 700px) {
  .ew5-video-section {
    width: min(100% - 24px, 1120px);
    margin-top: 30px;
  }

  .ew5-video-section-head {
    margin-bottom: 16px;
  }
}


/* V38 — MÄNGUINFO pealkiri esimesena */
.ew5-rules-title-row {
  margin-top: 0;
}

.ew5-rules-lead {
  margin-top: 18px;
}

.ew5-rules-eyebrow {
  margin-top: clamp(34px, 4vw, 52px);
}

.ew5-rules-intro-copy {
  margin-top: 22px;
}


/* V39 — algustekst + klikitav video eelvaade samal real */
.ew5-rules-hero-inner {
  padding-bottom: clamp(50px, 6vw, 78px);
}

.ew5-rules-title-row {
  display: block;
  margin-top: 0;
}

.ew5-rules-title-row > div {
  width: min(760px, 100%);
}

.ew5-rules-lead {
  width: min(720px, 100%);
  margin-top: 18px;
}

.ew5-rules-intro-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  margin-top: clamp(42px, 5vw, 68px);
}

.ew5-rules-intro-copy {
  width: 100%;
  margin: 0;
}

.ew5-video-card {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.ew5-video-card-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: #05090d;
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
  isolation: isolate;
}

.ew5-video-card-visual::after {
  position: absolute;
  inset: 8px;
  z-index: 4;
  content: "";
  border: 1px solid rgba(255,255,255,.09);
  pointer-events: none;
}

.ew5-video-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.08) brightness(.65);
  transform: scale(1.01);
  transition: transform .35s ease, filter .35s ease;
}

.ew5-video-card-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2,8,13,.88), rgba(2,8,13,.30)),
    linear-gradient(0deg, rgba(0,0,0,.72), transparent 65%);
}

.ew5-video-card-play {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 3;
  width: 52px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding-left: 3px;
  color: #071018;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #dbe6ec);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  font-size: 17px;
}

.ew5-video-card-copy {
  position: absolute;
  left: clamp(22px, 3vw, 36px);
  right: 90px;
  bottom: clamp(22px, 3vw, 34px);
  z-index: 3;
}

.ew5-video-card-copy span {
  display: block;
  margin-bottom: 8px;
  color: #8fa0ab;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .17em;
}

.ew5-video-card-copy strong {
  display: block;
  color: #fff;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", sans-serif;
  font-size: clamp(27px, 3.4vw, 44px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.025em;
}

.ew5-video-card-copy small {
  display: block;
  margin-top: 9px;
  color: #d1dae0;
  font-size: 12px;
  line-height: 1.35;
}

.ew5-video-card:hover img,
.ew5-video-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(.95) contrast(1.10) brightness(.76);
}

.ew5-video-card:hover .ew5-video-card-visual,
.ew5-video-card:focus-visible .ew5-video-card-visual {
  border-color: rgba(255,255,255,.30);
}

.ew5-video-card:focus-visible {
  outline: 2px solid #1497ff;
  outline-offset: 4px;
}

.ew5-rules-splitline {
  margin-top: clamp(36px, 5vw, 58px);
}

@media (max-width: 900px) {
  .ew5-rules-intro-media {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ew5-video-card {
    width: min(720px, 100%);
  }
}

@media (max-width: 520px) {
  .ew5-video-card-play {
    width: 44px;
    right: 16px;
    top: 16px;
  }

  .ew5-video-card-copy {
    left: 18px;
    right: 68px;
    bottom: 18px;
  }

  .ew5-video-card-copy strong {
    font-size: 27px;
  }
}


/* ===============================
   V40 — MÄNGUREEGLITE ACCORDION
   =============================== */
.ew5-rules-accordion {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.ew5-accordion-item {
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(110deg, rgba(10,19,27,.90), rgba(4,9,14,.88));
  overflow: hidden;
  transition:
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.ew5-accordion-item:has(.ew5-accordion-trigger[aria-expanded="true"]) {
  border-color: rgba(20,151,255,.30);
  box-shadow:
    inset 3px 0 0 #1497ff,
    0 18px 50px rgba(0,0,0,.18);
}

.ew5-accordion-heading {
  margin: 0;
}

.ew5-accordion-trigger {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 14px;
  padding: 0 18px 0 0;
  color: #fff;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ew5-accordion-trigger:hover {
  background: rgba(255,255,255,.025);
}

.ew5-accordion-trigger:focus-visible {
  outline: 2px solid #1497ff;
  outline-offset: -2px;
}

.ew5-accordion-index {
  height: 100%;
  min-height: 76px;
  display: grid;
  place-items: center;
  color: #72808a;
  border-right: 1px solid rgba(255,255,255,.09);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ew5-accordion-title {
  color: #eef3f6;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", sans-serif;
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
}

.ew5-accordion-icon {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  justify-self: end;
  color: #aab6be;
  border: 1px solid rgba(255,255,255,.13);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition:
    transform .22s ease,
    color .22s ease,
    border-color .22s ease;
}

.ew5-accordion-trigger[aria-expanded="true"] .ew5-accordion-icon {
  color: #fff;
  border-color: rgba(20,151,255,.48);
  transform: rotate(45deg);
}

.ew5-accordion-panel {
  border-top: 1px solid rgba(255,255,255,.08);
}

.ew5-accordion-content {
  max-width: 980px;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 4vw, 46px) clamp(28px, 4vw, 42px) 72px;
}

.ew5-accordion-content p {
  margin: 0 0 14px;
  color: #b7c1c8;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
}

.ew5-accordion-content p:last-child {
  margin-bottom: 0;
}

.ew5-accordion-warning {
  margin-top: 20px !important;
  padding: 14px 16px;
  color: #f3f6f8 !important;
  border-left: 2px solid #ffd400;
  background: rgba(255,212,0,.055);
  font-weight: 700;
}

@media (max-width: 620px) {
  .ew5-accordion-trigger {
    grid-template-columns: 46px minmax(0, 1fr) 32px;
    min-height: 68px;
    gap: 10px;
    padding-right: 12px;
  }

  .ew5-accordion-index {
    min-height: 68px;
  }

  .ew5-accordion-title {
    font-size: 16px;
  }

  .ew5-accordion-icon {
    width: 30px;
    font-size: 19px;
  }

  .ew5-accordion-content {
    padding: 20px 16px 24px 58px;
  }
}


/* V41 — AJAKAVA */
.ew5-schedule-content {
  max-width: none;
}

.ew5-schedule-list {
  display: grid;
  gap: 0;
  max-width: 980px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.ew5-schedule-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  min-height: 66px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.ew5-schedule-row time {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.08);
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
}

.ew5-schedule-row > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 15px 20px;
}

.ew5-schedule-icon {
  flex: 0 0 auto;
  font-size: 19px;
}

.ew5-schedule-row strong {
  color: #b9c4cb;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.ew5-schedule-highlight {
  position: relative;
  background: rgba(255,255,255,.018);
}

.ew5-schedule-highlight.start {
  box-shadow: inset 3px 0 0 #1497ff;
}

.ew5-schedule-highlight.finish {
  box-shadow: inset 3px 0 0 #ffd400;
}

.ew5-schedule-highlight strong {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .05em;
}

.ew5-schedule-highlight.start time {
  color: #69c0ff;
}

.ew5-schedule-highlight.finish time {
  color: #ffd400;
}

@media (max-width: 620px) {
  .ew5-schedule-row {
    grid-template-columns: 1fr;
  }

  .ew5-schedule-row time {
    min-height: 42px;
    padding: 10px 14px 6px;
    border-right: 0;
    font-size: 13px;
  }

  .ew5-schedule-row > div {
    padding: 6px 14px 14px;
  }

  .ew5-schedule-row strong {
    font-size: 13px;
  }
}


/* V42 — relvade reeglite detailvaade */
.ew5-rule-subsection {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.09);
}

.ew5-rule-subsection h4 {
  margin: 0 0 18px;
  color: #fff;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.ew5-power-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ew5-power-card {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.022);
}

.ew5-power-label {
  display: block;
  min-height: 30px;
  color: #8e9ba5;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .10em;
  line-height: 1.35;
}

.ew5-power-card > strong {
  display: block;
  margin: 10px 0 8px;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
}

.ew5-power-card p {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.ew5-power-card b {
  color: #fff;
}

.ew5-rule-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ew5-mini-rule-card {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(4,10,15,.55);
}

.ew5-mini-rule-card h5,
.ew5-rule-small-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.ew5-mini-rule-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.ew5-mini-rule-card ul,
.ew5-rule-list {
  margin: 0;
  padding-left: 19px;
  color: #b7c1c8;
}

.ew5-mini-rule-card li,
.ew5-rule-list li {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.55;
}

.ew5-mini-rule-card li:last-child,
.ew5-rule-list li:last-child {
  margin-bottom: 0;
}

.ew5-rule-small-title {
  margin-top: 22px;
}

@media (max-width: 760px) {
  .ew5-power-grid,
  .ew5-rule-columns {
    grid-template-columns: 1fr;
  }

  .ew5-power-label {
    min-height: 0;
  }
}


/* V43 — TABAMUS / MEDIK */
.ew5-hit-medic-content {
  max-width: none;
}

.ew5-rule-subsection-first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.ew5-hit-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 20px;
}

.ew5-hit-option {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  min-height: 72px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.022);
}

.ew5-hit-option span {
  height: 100%;
  display: grid;
  place-items: center;
  color: #71808b;
  border-right: 1px solid rgba(255,255,255,.08);
  font-size: 10px;
  font-weight: 900;
}

.ew5-hit-option strong {
  padding: 14px 16px;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.ew5-medic-card {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(20,151,255,.22);
  background:
    linear-gradient(110deg, rgba(20,151,255,.07), rgba(4,10,15,.42));
  box-shadow: inset 3px 0 0 #1497ff;
}

.ew5-medic-card > span {
  display: block;
  margin-bottom: 10px;
  color: #69c0ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}

.ew5-medic-card p {
  margin: 0 0 8px;
}

.ew5-medic-card p:last-child {
  margin-bottom: 0;
}

.ew5-dead-player-list li strong {
  color: #f4f7f9;
}

.ew5-conflict-note {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(255,212,0,.18);
  background: rgba(255,212,0,.035);
  box-shadow: inset 3px 0 0 #ffd400;
}

.ew5-conflict-note > strong {
  display: block;
  margin-bottom: 10px;
  color: #ffd400;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.ew5-conflict-note p {
  margin: 0 0 8px;
}

.ew5-conflict-note p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .ew5-hit-options {
    grid-template-columns: 1fr;
  }
}


/* V47 — ÄRKAMISPAIGAD JA KÄITUMINE */
.ew5-respawn-content {
  max-width: none;
}

.ew5-respawn-rule {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.ew5-respawn-rule:first-child {
  padding-top: 0;
}

.ew5-respawn-rule:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ew5-respawn-symbol {
  width: 52px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-self: start;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.025);
  font-size: 23px;
}

.ew5-respawn-rule h4 {
  margin: 0 0 12px;
  color: #fff;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", sans-serif;
  font-size: clamp(18px, 1.9vw, 25px);
  font-weight: 850;
  line-height: 1.1;
}

.ew5-respawn-rule p {
  margin: 0 0 10px;
  color: #b7c1c8;
  font-size: 14px;
  line-height: 1.65;
}

.ew5-respawn-rule p:last-child {
  margin-bottom: 0;
}

.ew5-respawn-rule strong {
  color: #f4f7f9;
}

.ew5-respawn-alert {
  margin-top: 16px !important;
  padding: 13px 15px;
  border-left: 2px solid #ffd400;
  background: rgba(255,212,0,.045);
}

@media (max-width: 620px) {
  .ew5-respawn-rule {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }

  .ew5-respawn-symbol {
    width: 42px;
    font-size: 19px;
  }

  .ew5-respawn-rule h4 {
    font-size: 17px;
  }

  .ew5-respawn-rule p {
    font-size: 13px;
  }
}


/* V48 — MEDIKU ROLL JA RAVISÜSTEEM */
.ew5-medic-system-content {
  max-width: none;
}

.ew5-medic-keyfacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.ew5-medic-keyfacts article {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.022);
}

.ew5-medic-keyfacts span {
  display: block;
  margin-bottom: 8px;
  color: #778690;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}

.ew5-medic-keyfacts strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.ew5-medic-emphasis {
  margin-top: 18px !important;
  padding: 14px 16px;
  border-left: 2px solid #1497ff;
  background: rgba(20,151,255,.05);
}

.ew5-hit-system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.ew5-hit-system-card {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.022);
}

.ew5-hit-system-card-danger {
  border-color: rgba(255,212,0,.18);
  background: rgba(255,212,0,.03);
}

.ew5-hit-number {
  display: block;
  margin-bottom: 10px;
  color: #69c0ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.ew5-hit-system-card-danger .ew5-hit-number {
  color: #ffd400;
}

.ew5-hit-system-card h5 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
}

.ew5-hit-system-card p,
.ew5-hit-system-card li {
  color: #b7c1c8;
  font-size: 13px;
  line-height: 1.55;
}

.ew5-hit-system-card ul {
  margin: 10px 0 14px;
  padding-left: 18px;
}

.ew5-medic-steps {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.ew5-medic-steps li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.ew5-medic-steps span {
  display: grid;
  place-items: center;
  color: #6e7d87;
  border-right: 1px solid rgba(255,255,255,.08);
  font-size: 9px;
  font-weight: 900;
}

.ew5-medic-steps p {
  margin: 0;
  padding: 15px 18px;
}

.ew5-injury-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ew5-injury-card {
  position: relative;
  padding: 18px 18px 18px 60px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.022);
}

.ew5-injury-card-danger {
  border-color: rgba(255,212,0,.20);
  background: rgba(255,212,0,.035);
}

.ew5-injury-icon {
  position: absolute;
  left: 18px;
  top: 18px;
  font-size: 22px;
}

.ew5-injury-card h5 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.ew5-injury-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.ew5-medic-quote {
  margin-top: 18px !important;
  color: #fff !important;
  font-weight: 800;
}

.ew5-inventory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.ew5-inventory-grid article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}

.ew5-inventory-grid article > span {
  font-size: 22px;
}

.ew5-inventory-grid strong {
  color: #fff;
  font-size: 14px;
}

.ew5-inventory-grid p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.ew5-duty-list {
  display: grid;
  gap: 10px;
}

.ew5-duty-list article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.ew5-duty-list article:last-child {
  border-bottom: 0;
}

.ew5-duty-list article > span {
  font-size: 19px;
}

.ew5-duty-list p {
  margin: 0;
}

.ew5-summary-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ew5-summary-list li {
  position: relative;
  padding: 11px 14px 11px 36px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.018);
  color: #b7c1c8;
  font-size: 13px;
  line-height: 1.5;
}

.ew5-summary-list li::before {
  position: absolute;
  left: 14px;
  top: 11px;
  content: "✓";
  color: #69c0ff;
  font-weight: 900;
}

@media (max-width: 840px) {
  .ew5-hit-system-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .ew5-medic-keyfacts,
  .ew5-injury-grid,
  .ew5-inventory-grid {
    grid-template-columns: 1fr;
  }

  .ew5-medic-steps li {
    grid-template-columns: 46px minmax(0, 1fr);
  }
}


/* V49 — 05/06/07 info selge jaotus */
.ew5-rule-crossref {
  margin-top: 18px !important;
  padding: 12px 14px;
  border-left: 2px solid rgba(20,151,255,.75);
  background: rgba(20,151,255,.035);
  color: #93a4ae !important;
  font-size: 12px !important;
}

.ew5-rule-crossref strong {
  color: #dce8ee;
}


/* V51 — INSENERI ROLL JA TEHNILISED TEGEVUSED */
.ew5-engineer-content {
  max-width: none;
}

.ew5-engineer-intro {
  margin-bottom: 14px !important;
  color: #eef4f7 !important;
  font-size: 15px !important;
}

.ew5-engineer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ew5-engineer-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.022);
}

.ew5-engineer-card-wide {
  grid-column: 1 / -1;
}

.ew5-engineer-icon {
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(4,10,15,.45);
  font-size: 20px;
}

.ew5-engineer-card h5 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.ew5-engineer-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
}

.ew5-engineer-tool {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(20,151,255,.22);
  background:
    linear-gradient(110deg, rgba(20,151,255,.07), rgba(4,10,15,.42));
  box-shadow: inset 3px 0 0 #1497ff;
}

.ew5-engineer-tool-icon {
  width: 64px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(0,0,0,.16);
  font-size: 30px;
}

.ew5-engineer-tool span {
  display: block;
  margin-bottom: 5px;
  color: #69c0ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.ew5-engineer-tool > div:last-child > strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
}

.ew5-engineer-tool p {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.ew5-engineer-important {
  padding: 15px 17px;
  border-left: 2px solid #ffd400;
  background: rgba(255,212,0,.045);
  color: #eef3f6 !important;
}

@media (max-width: 720px) {
  .ew5-engineer-grid {
    grid-template-columns: 1fr;
  }

  .ew5-engineer-card-wide {
    grid-column: auto;
  }

  .ew5-engineer-tool {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .ew5-engineer-tool-icon {
    width: 50px;
    font-size: 24px;
  }
}


/* V52 — RAKETITÕRJE ROLL JA RAKETISÜSTEEMID */
.ew5-missile-defense-content {
  max-width: none;
}

.ew5-missile-intro {
  margin-bottom: 14px !important;
  color: #eef4f7 !important;
  font-size: 15px !important;
}

.ew5-missile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ew5-missile-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.022);
}

.ew5-missile-card-wide {
  grid-column: 1 / -1;
}

.ew5-missile-icon,
.ew5-missile-equipment-icon {
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(4,10,15,.45);
  font-size: 20px;
}

.ew5-missile-card h5 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.ew5-missile-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
}

.ew5-missile-equipment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.ew5-missile-equipment article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(20,151,255,.18);
  background: rgba(20,151,255,.035);
}

.ew5-missile-equipment strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 15px;
}

.ew5-missile-equipment p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.ew5-missile-important {
  padding: 15px 17px;
  border-left: 2px solid #ffd400;
  background: rgba(255,212,0,.045);
  color: #eef3f6 !important;
}

@media (max-width: 720px) {
  .ew5-missile-grid,
  .ew5-missile-equipment {
    grid-template-columns: 1fr;
  }

  .ew5-missile-card-wide {
    grid-column: auto;
  }
}


/* V55 — SOOVITUSED MÄNGIJALE */
.ew5-player-recommendations-content {
  max-width: none;
}

.ew5-player-alert {
  margin-bottom: 20px !important;
  padding: 14px 16px;
  border-left: 2px solid #ffd400;
  background: rgba(255,212,0,.04);
  color: #eef3f6 !important;
}

.ew5-prep-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ew5-prep-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}

.ew5-prep-list article > span {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(4,10,15,.48);
  font-size: 19px;
}

.ew5-prep-list strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.ew5-prep-list p {
  margin: 0;
  color: #b7c1c8;
  font-size: 13px;
  line-height: 1.55;
}

.ew5-radio-lead {
  max-width: 850px;
  margin-bottom: 20px !important;
}

.ew5-radio-channels {
  width: min(900px, 100%);
  margin: 0;
}

.ew5-radio-channels img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 55px rgba(0,0,0,.30);
}

.ew5-radio-channels figcaption {
  margin-top: 9px;
  color: #6f7e88;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

@media (max-width: 700px) {
  .ew5-prep-list {
    grid-template-columns: 1fr;
  }
}


/* V56 — MÄNGU KAART */
.ew5-game-map-content {
  max-width: none;
}

.ew5-map-info-list {
  display: grid;
  gap: 10px;
}

.ew5-map-info-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.018);
}

.ew5-map-info-list article > span {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(4,10,15,.46);
  font-size: 19px;
}

.ew5-map-info-list p {
  margin: 0;
  color: #b7c1c8;
  font-size: 13px;
  line-height: 1.55;
}

.ew5-map-info-list strong {
  color: #fff;
}

.ew5-map-download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(20,151,255,.22);
  background:
    linear-gradient(110deg, rgba(20,151,255,.07), rgba(4,10,15,.44));
  box-shadow: inset 3px 0 0 #1497ff;
}

.ew5-map-download-copy > span {
  display: block;
  margin-bottom: 7px;
  color: #69c0ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.ew5-map-download-copy > strong {
  display: block;
  color: #fff;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
}

.ew5-map-download-copy p {
  margin: 7px 0 0;
  color: #99a9b3;
  font-size: 12px;
}

.ew5-map-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  color: #061018;
  border: 0;
  background: #1497ff;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, filter .18s ease;
}

.ew5-map-download-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.ew5-map-download-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .ew5-map-download-card {
    grid-template-columns: 1fr;
  }

  .ew5-map-download-button {
    width: 100%;
  }
}


/* V58 — TAGASI ÜLEVAADE NUPP */
.ew5-back-overview-wrap {
  display: flex;
  justify-content: center;
  padding: clamp(34px, 5vw, 62px) 0 8px;
}

.ew5-back-overview-btn {
  position: relative;
  min-width: min(100%, 330px);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(110deg, rgba(12,22,30,.98), rgba(4,9,14,.98));
  box-shadow:
    0 18px 45px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.03);
  cursor: pointer;
  text-align: left;
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.ew5-back-overview-btn::before {
  position: absolute;
  left: 0;
  right: 50%;
  bottom: 0;
  height: 3px;
  content: "";
  background: #1497ff;
}

.ew5-back-overview-btn::after {
  position: absolute;
  left: 50%;
  right: 0;
  bottom: 0;
  height: 3px;
  content: "";
  background: #ffd400;
}

.ew5-back-overview-arrow {
  display: grid;
  place-items: center;
  min-height: 68px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.10);
  background: rgba(20,151,255,.08);
  font-size: 26px;
  font-weight: 400;
  transition:
    transform .2s ease,
    background .2s ease;
}

.ew5-back-overview-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 68px;
  padding: 12px 20px 13px;
}

.ew5-back-overview-text small {
  display: block;
  margin-bottom: 3px;
  color: #71818b;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}

.ew5-back-overview-text strong {
  color: #f5f8fa;
  font-family: Bahnschrift, "Segoe UI Semibold", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .07em;
}

.ew5-back-overview-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.28);
  box-shadow:
    0 24px 60px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.ew5-back-overview-btn:hover .ew5-back-overview-arrow {
  transform: translateX(-3px);
  background: rgba(20,151,255,.14);
}

.ew5-back-overview-btn:active {
  transform: translateY(0);
}

.ew5-back-overview-btn:focus-visible {
  outline: 2px solid #1497ff;
  outline-offset: 4px;
}

@media (max-width: 520px) {
  .ew5-back-overview-wrap {
    padding-top: 30px;
  }

  .ew5-back-overview-btn {
    width: 100%;
    min-width: 0;
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .ew5-back-overview-arrow,
  .ew5-back-overview-text {
    min-height: 62px;
  }
}


/* V59 — MAKSE STAATUSE SELGITUS */
.ew5-payment-status-info {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.025);
}

.ew5-payment-status-title {
  color: #7d8b95;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  white-space: nowrap;
}

.ew5-payment-status-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.ew5-payment-status-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aebac2;
  font-size: 11px;
  line-height: 1.45;
}

.ew5-payment-status-item i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,255,255,.035);
}

.ew5-payment-status-item.unpaid i {
  background: #ff6b6b;
}

.ew5-payment-status-item.paid i {
  background: #5ce0a0;
}

.ew5-payment-status-item.unpaid strong {
  color: #ff6b6b;
}

.ew5-payment-status-item.paid strong {
  color: #5ce0a0;
}

@media (max-width: 700px) {
  .ew5-payment-status-info {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .ew5-payment-status-items {
    display: grid;
    gap: 8px;
  }
}


/* V2.0.1 — OLUKORD: force all informational text white.
   Uses the actual section class so WordPress/theme typography cannot override it. */
.ew5-situation-block .ew5-info-bar,
.ew5-situation-block .ew5-info-body,
.ew5-situation-block .ew5-info-body p,
.ew5-situation-block .ew5-info-body li,
.ew5-situation-block .ew5-info-body div,
.ew5-situation-block .ew5-info-body span,
.ew5-situation-block .ew5-info-body b,
.ew5-situation-block .ew5-info-body strong,
.ew5-situation-block .ew5-info-body h4,
.ew5-situation-block .ew5-info-body summary {
  color: #ffffff !important;
}


/* ESTWAR5 secure server registration helpers */
.ew5-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.ew5-reg-privacy {
  margin: 0;
  color: #9da8b3;
  font-size: 12px;
  line-height: 1.55;
}
