.wba-widget {
  --wba-bg: #07131f;
  --wba-panel: #0d1d2b;
  --wba-panel-2: #12283a;
  --wba-line: rgba(255, 255, 255, 0.14);
  --wba-text: #f4f8fb;
  --wba-muted: #b6c8d8;
  --wba-accent: #52d39b;
  --wba-back: #a5d8ff;
  --wba-lay: #ffc2d1;
  --wba-logo-border: rgba(225, 230, 234, 0.28);
  --wba-logo-fallback: rgba(225, 230, 234, 0.1);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 18px;
  color: var(--wba-text);
  background: var(--wba-bg);
  border: 1px solid var(--wba-line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.wba-widget *,
.wba-widget *::before,
.wba-widget *::after {
  box-sizing: border-box;
}

.wba-widget__header {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.wba-widget__eyebrow {
  margin: 0;
  color: var(--wba-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.wba-widget h2,
.wba-widget h3,
.wba-widget p {
  margin: 0;
}

.wba-widget .wba-widget__header h2 {
  display: block;
  color: var(--wba-text) !important;
  font-size: 22px;
  line-height: 1.15;
}

.wba-widget__header p,
.wba-widget__status,
.wba-widget__footer p {
  color: var(--wba-muted);
  font-size: 13px;
  line-height: 1.45;
}

.wba-widget__description {
  max-width: 34em;
}

.wba-widget__status {
  margin-bottom: 14px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--wba-line);
  border-radius: 6px;
}

.wba-widget__events {
  display: grid;
  gap: 12px;
}

.wba-event {
  display: grid;
  gap: 11px;
  min-width: 0;
  padding: 14px;
  background: var(--wba-panel);
  border: 1px solid var(--wba-line);
  border-radius: 8px;
}

.wba-event__topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  color: var(--wba-muted);
  font-size: 12px;
  line-height: 1.35;
}

.wba-event h3 {
  color: var(--wba-text);
  font-size: 16px;
  line-height: 1.25;
}

.wba-runners {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--wba-line);
  border-radius: 6px;
}

.wba-runners__head,
.wba-runner {
  display: grid;
  grid-template-columns: minmax(86px, 1fr) minmax(64px, 0.56fr) minmax(64px, 0.56fr);
  gap: 0;
  align-items: stretch;
}

.wba-runners__head {
  color: var(--wba-muted);
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wba-runners__head span,
.wba-runner > span {
  min-width: 0;
  padding: 8px;
  border-right: 1px solid var(--wba-line);
}

.wba-runners__head span:last-child,
.wba-runner > span:last-child {
  border-right: 0;
}

.wba-runner {
  background: var(--wba-panel-2);
  border-top: 1px solid var(--wba-line);
}

.wba-runner__name {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--wba-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.wba-runner__name img {
  display: inline-flex;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: transparent;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.wba-runner__fallback {
  display: inline-flex;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: var(--wba-text);
  background: var(--wba-logo-fallback);
  border: 1px solid var(--wba-logo-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.wba-price {
  display: grid;
  min-height: 48px;
  align-content: center;
  justify-items: center;
  gap: 2px;
  width: 100%;
  min-width: 0;
  color: #06121d;
  text-decoration: none;
  border-radius: 5px;
}

.wba-price,
.wba-price:link,
.wba-price:visited,
.wba-price:hover,
.wba-price:focus-visible,
.wba-price strong,
.wba-price small {
  color: #06121d !important;
}

.wba-price strong {
  font-size: 15px;
  line-height: 1;
}

.wba-price small {
  max-width: 100%;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wba-price--back {
  background: var(--wba-back);
}

.wba-price--lay {
  background: var(--wba-lay);
}

.wba-price--empty {
  color: var(--wba-muted);
  background: rgba(255, 255, 255, 0.06);
}

.wba-price--empty,
.wba-price--empty strong,
.wba-price--empty small {
  color: var(--wba-muted) !important;
}

.wba-price:hover,
.wba-price:focus-visible,
.wba-widget__cta:hover,
.wba-widget__cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.wba-widget__footer {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.wba-widget--sidebar.wba-widget--sticky {
  position: sticky;
  top: 96px;
}

.wba-widget__cta {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 10px 14px;
  color: #06121d !important;
  background: var(--wba-back);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
}

.wba-widget__cta:hover,
.wba-widget__cta:focus-visible {
  color: #06121d !important;
  background: #9be8ff;
  text-decoration: none !important;
}

.wba-empty {
  padding: 14px;
  color: var(--wba-muted);
  background: var(--wba-panel);
  border: 1px solid var(--wba-line);
  border-radius: 8px;
}

.wba-widget--content {
  max-width: 820px;
  margin: 24px auto;
}

.wba-local-preview {
  box-sizing: border-box;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  padding-bottom: 72px;
  max-width: 100vw;
  overflow-x: hidden;
  background: #f5f2ec;
}

.wba-local-preview *,
.wba-local-preview *::before,
.wba-local-preview *::after {
  box-sizing: border-box;
}

.wba-local-hero {
  width: 100%;
  margin: 0;
  background: #07131f;
  color: #ffffff;
}

.wba-local-hero__inner,
.wba-local-layout {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: 16px;
}

.wba-local-hero__inner {
  display: grid;
  gap: 14px;
  padding-block: clamp(48px, 7vw, 82px) clamp(42px, 6vw, 72px);
}

.wba-local-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.wba-local-hero p {
  max-width: 720px;
  margin: 0;
  color: #d4e0e8;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.wba-local-eyebrow {
  margin: 0;
  color: #52d39b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wba-local-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-top: clamp(32px, 5vw, 56px);
}

.wba-local-article {
  display: grid;
  gap: 22px;
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  color: #183044;
  background: #ffffff;
  border-radius: 8px;
}

.wba-local-article h2 {
  margin: 12px 0 0;
  color: #07131f;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

.wba-local-article p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.wba-local-lead {
  color: #10283d;
  font-size: 21px !important;
}

.wba-local-sidebar {
  min-width: 0;
}

.wba-local-mobile-widget {
  display: none;
}

@media (max-width: 767px) {
  .wba-widget {
    padding: 14px;
  }

  .wba-runners__head,
  .wba-runner {
    grid-template-columns: minmax(76px, 1fr) minmax(52px, 0.54fr) minmax(52px, 0.54fr);
  }

  .wba-runners__head span,
  .wba-runner > span {
    padding: 7px 6px;
  }

  .wba-widget h2 {
    font-size: 20px;
  }

  .wba-runner__name {
    gap: 6px;
    font-size: 12px;
  }

  .wba-price strong {
    font-size: 14px;
  }

  .wba-price small {
    display: block;
    font-size: 9px;
  }

  .wba-local-layout {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .wba-local-sidebar {
    display: none;
  }

  .wba-local-mobile-widget {
    display: block;
  }
}
