/* ============================================================
   DreamTeam11 publieke competitiepagina (F7.2): kop met logo en chips, stand met zones, legenda en bloglinks.
   Basis: pages/marketing.css (secties en kaarten) en pages/league.css (dt-standings). Mobiel eerst; alleen tokens.
   ============================================================ */

.dt-lhero__top {
  display: grid;
  gap: var(--dt-space-4);
}

.dt-lhero__logo {
  display: grid;
  place-items: center;
  inline-size: 5.5rem;
  block-size: 5.5rem;
  padding: var(--dt-space-2);
  border-radius: var(--dt-radius-lg);
  background: var(--dt-white);
  color: var(--dt-navy-950);
  font-size: var(--dt-fs-3xl);
}

.dt-lhero__logo img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.dt-lhero__meta {
  display: grid;
  gap: var(--dt-space-2);
  min-inline-size: 0;
}

.dt-lhero__meta > * {
  margin: 0;
}

.dt-lhero__title {
  font-size: var(--dt-fs-3xl);
  font-weight: 800;
  line-height: 1.1;
}

.dt-lhero__season {
  color: var(--dt-text-muted);
  font-size: 0.6em;
  font-weight: 400;
}

.dt-lhero__country {
  display: flex;
  align-items: center;
  gap: var(--dt-space-2);
  color: var(--dt-text-muted);
}

.dt-lhero__country img {
  border-radius: var(--dt-radius-flag);
}

.dt-lhero__desc {
  max-inline-size: 42rem;
}

.dt-lhero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--dt-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ── Stand: zones met een gekleurde streep, de kleur staat ook als tekst (sr-only in de cel en in de legenda) ── */
.dt-lp__row--top > .dt-standings__pos {
  box-shadow: inset 0.25rem 0 0 var(--dt-green-500);
}

.dt-lp__row--europe > .dt-standings__pos {
  box-shadow: inset 0.25rem 0 0 var(--dt-blue-500);
}

.dt-lp__row--rel > .dt-standings__pos {
  box-shadow: inset 0.25rem 0 0 var(--dt-danger);
}

.dt-lp__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--dt-space-2) var(--dt-space-5);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--dt-text-muted);
  font-size: var(--dt-fs-sm);
}

.dt-lp__key {
  display: flex;
  align-items: center;
  gap: var(--dt-space-2);
}

.dt-lp__key::before {
  content: "";
  flex: none;
  inline-size: 0.75rem;
  block-size: 0.75rem;
  border-radius: var(--dt-radius-xs);
  background: var(--_zone);
}

.dt-lp__key--top {
  --_zone: var(--dt-green-500);
}

.dt-lp__key--europe {
  --_zone: var(--dt-blue-500);
}

.dt-lp__key--rel {
  --_zone: var(--dt-danger);
}

.dt-lp__links {
  display: grid;
  gap: var(--dt-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.dt-lp__links a {
  display: flex;
  align-items: center;
  min-block-size: var(--dt-touch);
}

@media (width >= 768px) {
  .dt-lhero__top {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: var(--dt-space-6);
  }
}
