/* ==========================================
   Station related — compact cards
   Applies ONLY on radio.php ("Posturi similare" /
   "Posturi populare din X")

   Fixed 2026-07-25: selectors previously targeted an older
   card markup (.radio-card-title, .radio-card-actions, .play-btn,
   .like-btn, .live-badge, .listeners/.tags/.meta/.country) that no
   longer exists in partials/radio-card.php, so none of this ever
   applied - cards rendered at full size in this section. Real
   classes today: .station-name, .card-footer, .btn-play-card,
   .btn-like, .badge, .listen-counter.
========================================== */

/* =========================
   DESKTOP / DEFAULT
========================= */

/* grid 2 coloane (similar / popular) */
.station-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

/* titlu coloana */
.station-related-col > h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: #fff;
}

/* grid carduri */
.station-related-col .stations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

/* card */
.station-related .radio-card {
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, #141822, #0f1218);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  min-height: 0;
  gap: 6px;
}

/* logo */
.station-related .radio-card .card-logo {
  margin-top: 12px;
  height: 48px;
}

.station-related .radio-card .card-logo img {
  max-height: 42px;
  object-fit: contain;
}

/* titlu */
.station-related .radio-card .station-name {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 4px 0 2px;
}

/* footer / actiuni */
.station-related .radio-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

/* badge */
.station-related .radio-card .badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
}

/* play */
.station-related .radio-card .btn-play-card {
  width: 34px;
  height: 34px;
  font-size: 0.9rem;
}

/* like */
.station-related .radio-card .btn-like {
  width: 30px;
  height: 30px;
}

/* contor LIVE - ascuns aici, nu incape pe un card asa de compact */
.station-related .radio-card .listen-counter {
  display: none;
}

/* ==================================================
   MOBILE FIX REAL - station related
   Rezolva overflow definitiv
================================================== */
@media (max-width: 600px) {

  .station-related-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .station-related-col .stations-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .station-related .radio-card .badge {
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 5px;
    white-space: nowrap;
  }

  .station-related .radio-card .btn-play-card {
    width: 32px;
    height: 32px;
  }

  .station-related .radio-card .btn-like {
    width: 28px;
    height: 28px;
  }
}
