/**
 * Diskografi B — MicDrop Raised 3-Columns Clone
 * Scoped under .ce-disko-b
 * Dark background, square covers, gradient overlay, Syne titles
 */

/* =============================================
   PAGE WRAPPER
   ============================================= */
.ce-disko-b {
  position: relative;
  width: 100%;
  background: #000;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Hide Theme A chrome */
body.post-type-archive-ce_album .ce-header,
body.post-type-archive-ce_album .ce-footer,
body.post-type-archive-ce_album > .wp-site-blocks > header,
body.post-type-archive-ce_album > .wp-site-blocks > footer {
  display: none !important;
}
body.post-type-archive-ce_album .wp-site-blocks {
  padding: 0 !important;
  margin: 0 !important;
}
body.post-type-archive-ce_album .wp-site-blocks > * + * {
  margin-block-start: 0 !important;
}
body.post-type-archive-ce_album {
  background: #000;
}

.ce-disko-b > p {
  display: contents !important;
  margin: 0 !important;
}

/* =============================================
   HERO HEADER
   ============================================= */
.ce-disko-b__hero {
  background: #000;
  padding: 160px 60px 40px;
  text-align: center;
}

.ce-disko-b__hero-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c8876e;
  margin-bottom: 20px;
}

.ce-disko-b__hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 9vw, 120px);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  letter-spacing: clamp(1px, 0.3vw, 4px);
  margin: 0 0 20px;
}

.ce-disko-b__hero-count {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

/* =============================================
   FILTER TABS — on dark bg
   ============================================= */
.ce-disko-b__filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 24px 60px;
  flex-wrap: wrap;
  background: #000;
}

.ce-disko-b__filter-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 24px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.ce-disko-b__filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.ce-disko-b__filter-btn.is-active {
  background: #fff;
  border-color: #fff;
  color: #000;
}

/* =============================================
   ALBUM GRID — 3 columns on dark bg
   ============================================= */
.ce-disko-b__grid-wrap {
  padding: 0 40px 100px;
  background: #000;
}

.ce-disko-b__grid {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

/* =============================================
   ALBUM CARD — MicDrop exact measurements
   Card: 1/3 width, 81px horizontal padding
   Every 2nd card in each row: 31px raised
   ============================================= */
.ce-disko-b__card {
  padding: 0 81px;
  margin-bottom: 56px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Raised stagger: center card in each row is 31px higher */
.ce-disko-b__card:nth-child(3n+2) {
  margin-top: -31px;
}
.ce-disko-b__card.is-hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ce-disko-b__card-link {
  text-decoration: none;
  display: block;
}

/* Cover image — square, clean, no effects */
.ce-disko-b__card-cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
}

.ce-disko-b__card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ce-disko-b__card:hover .ce-disko-b__card-cover img {
  transform: scale(1.03);
}

/* Placeholder for missing covers */
.ce-disko-b__card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

/* Title — Syne 800, uppercase, large, white — MicDrop exact */
.ce-disko-b__card-title {
  font-family: 'Syne', sans-serif;
  font-size: 23px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff !important;
  margin: 20px 0 0;
  line-height: 1.2;
  transition: color 0.3s ease;
}
.ce-disko-b__card-link {
  color: #fff !important;
  text-decoration: none !important;
}
.ce-disko-b__card-link:hover .ce-disko-b__card-title {
  color: #c8876e !important;
}

/* Stream on: label + icons — MicDrop exact */
.ce-disko-b__card-stream {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.ce-disko-b__card-stream-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.ce-disko-b__card-stream a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s ease;
  text-decoration: none !important;
}
.ce-disko-b__card-stream a:hover {
  color: #fff;
}
.ce-disko-b__card-stream svg {
  fill: currentColor;
}

/* =============================================
   FOOTER — override for dark context
   ============================================= */
.ce-disko-b .ce-theme-b__footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .ce-disko-b__card {
    padding: 0 48px;
  }
}

@media (max-width: 1024px) {
  .ce-disko-b__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ce-disko-b__card {
    padding: 0 32px;
    margin-bottom: 40px;
  }
  /* 2-column: every 2nd card raised */
  .ce-disko-b__card:nth-child(3n+2) {
    margin-top: 0;
  }
  .ce-disko-b__card:nth-child(2n) {
    margin-top: -24px;
  }
  .ce-disko-b__grid-wrap {
    padding: 0 20px 60px;
  }
}

@media (max-width: 768px) {
  .ce-disko-b__hero {
    padding: 110px 24px 60px;
  }
  .ce-disko-b__card {
    padding: 0 20px;
    margin-bottom: 32px;
  }
  .ce-disko-b__card:nth-child(2n) {
    margin-top: -16px;
  }
  .ce-disko-b__card-title {
    font-size: 16px;
  }
  .ce-disko-b__grid-wrap {
    padding: 0 12px 48px;
  }
}

@media (max-width: 480px) {
  .ce-disko-b__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .ce-disko-b__card {
    padding: 0 24px;
    margin-bottom: 40px;
  }
  .ce-disko-b__card:nth-child(2n),
  .ce-disko-b__card:nth-child(3n+2) {
    margin-top: 0;
  }
  .ce-disko-b__card-title {
    font-size: 18px;
  }
}
