/* =========================================================
   DJ NENE CUSTOM PLAYLIST BLOCK
   ========================================================= */

.block-djnene-media-featured-playlists-test,
#block-martis-djnenefeaturedplayliststest,
#block-djnenefeaturedplayliststest {
  width: 100% !important;
  max-width: 100% !important;
}

.dj-playlist-grid-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 80px;
  padding: 0 14px;
}

.dj-playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.dj-playlist-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  border-radius: 18px;
  border: 1px solid rgba(63, 122, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(8, 20, 48, 0.12) 0%, rgba(2, 8, 20, 0.96) 55%, rgba(1, 4, 12, 1) 100%),
    radial-gradient(circle at 30% 22%, rgba(88, 154, 255, 0.40) 0%, rgba(88, 154, 255, 0.10) 24%, transparent 44%),
    radial-gradient(circle at 74% 24%, rgba(34, 124, 240, 0.28) 0%, rgba(34, 124, 240, 0.08) 22%, transparent 38%),
    #071123;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dj-playlist-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 160, 255, 0.34);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.42);
}

.dj-card-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  min-height: 100%;
  padding: 22px 20px 20px;
  cursor: pointer;
}

.dj-cover {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.dj-cover-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 28px;
  line-height: 1;
}

.dj-info {
  flex: 1 1 auto;
  min-width: 0;
}

.dj-info h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dj-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.55;
}

.dj-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.dj-card-cta,
.dj-card-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* Primary action */
.dj-card-cta {
  border: 0;
  background: linear-gradient(90deg, #1e88ff, #4bb3ff);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(30, 136, 255, 0.28);
}

.dj-card-cta::before {
  content: "▶";
  font-size: 12px;
  margin-right: 8px;
  position: relative;
  top: -1px;
}

.dj-card-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(30, 136, 255, 0.35);
  opacity: 0.98;
}

/* Secondary action */
.dj-card-secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.dj-card-secondary-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.dj-playlist-empty {
  color: #ffffff;
  padding: 20px 0;
}

@media (max-width: 767px) {
  .dj-playlist-grid-wrap {
    padding: 0 10px;
    margin-bottom: 36px;
  }

  .dj-playlist-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dj-playlist-card {
    min-height: 240px;
  }

  .dj-info h3 {
    font-size: 20px;
  }

  .dj-card-actions {
    flex-direction: column;
  }

  .dj-card-cta,
  .dj-card-secondary-link {
    width: 100%;
  }
}