/* ======================================
   BESTENLISTE
====================================== */

.bestli-area{
  display: grid;
  grid-template-columns: calc(100% - 654px) 640px;
  gap: 14px;
  align-items: start;
}

.bestli-left{
  min-width: 0;
  display: flex;
  justify-content: center;
  padding-left: 36px;
  padding-right: 10px;
  box-sizing: border-box;
}

.bestli-list{
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Jahresblock */
.bestli-year-group{
  width: 100%;
  padding-top: 4px;
}

/* Summary-Standardmarker ausblenden */
.bestli-year-heading{
  list-style: none;
}

.bestli-year-heading::-webkit-details-marker{
  display: none;
}

.bestli-year-heading::marker{
  display: none;
}

/* Jahreszeile */
.bestli-year-heading{
  position: relative;
  margin: 0;
  padding: 0 0 10px 34px;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 600;
  color: #f0be29;
  border-bottom: 2px solid rgba(240, 190, 41, 0.35);
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.bestli-year-heading:hover{
  color: #ffd45a;
  border-bottom-color: rgba(240, 190, 41, 0.6);
}

/* eigener Pfeil */
.bestli-year-heading::before{
  content: "▸";
  position: absolute;
  left: 4px;
  top: 1px;
  font-size: 1.25rem;
  line-height: 1;
  color: #cee297;
  transform-origin: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.bestli-year-group[open] .bestli-year-heading::before{
  transform: rotate(90deg);
  color: #f0be29;
}

/* Inhalt des geöffneten Jahres */
.bestli-year-items{
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 18px;
}

/* einzelne Ranglisten-Blöcke */
.bestli-card{
  position: relative;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  padding: 0 0 10px;
}

/* Turniere hervorheben */
.bestli-card-turnier{
  padding: 14px 14px 16px;
  border: 1px solid rgba(240, 190, 41, 0.35);
  background: rgba(240, 190, 41, 0.08);
  border-radius: 12px;
}

.bestli-badge{
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(240, 190, 41, 0.18);
  border: 1px solid rgba(240, 190, 41, 0.35);
  color: #f0be29;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* Überschrift */
.bestli-title{
  margin: 0 0 10px;
  font-size: 1.6rem;
  line-height: 1.25;
  font-weight: 500;
  color: #f0be29;
  letter-spacing: 0.2px;
}

.bestli-title span{
  display: inline;
  font-weight: 400;
  color: #cee297;
}

/* Bildblock */
.bestli-image-wrap{
  width: 100%;
  max-width: 720px;
  background: transparent;
  border: 0;
  overflow: hidden;
}

/* Bild */
.bestli-image-wrap img{
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255,255,255,0.08);
}

.bestli-card-turnier .bestli-image-wrap img{
  border-color: rgba(240, 190, 41, 0.28);
}

/* bei großen Bilddateien */
.bestli-card img{
  image-rendering: auto;
}

/* Tablet / kleiner Desktop */
@media (max-width: 1200px){
  .bestli-area{
    grid-template-columns: 1fr;
  }

  .bestli-left{
    order: 1;
    padding-left: 20px;
    padding-right: 20px;
  }

  .tiles{
    order: 2;
    margin-left: 0;
  }

  .bestli-image-wrap{
    max-width: 760px;
  }
}

/* Mobil */
@media (max-width: 820px){
  .bestli-list{
    gap: 18px;
  }

  .bestli-year-heading{
    padding-left: 28px;
    font-size: 1.4rem;
  }

  .bestli-year-heading::before{
    left: 2px;
    top: 0;
    font-size: 1rem;
  }

  .bestli-year-items{
    gap: 14px;
    padding-top: 14px;
  }

  .bestli-title{
    font-size: 1rem;
  }

  .bestli-image-wrap{
    max-width: 100%;
  }

  .bestli-left{
    padding-left: 14px;
    padding-right: 14px;
  }

  .bestli-card-turnier{
    padding: 10px 10px 12px;
    border-radius: 10px;
  }

  .bestli-badge{
    font-size: 0.72rem;
    padding: 3px 8px;
  }
}