/* SmusicX extensions for Vice DHRK 1.3.1 */
:root {
  --smx-accent: #d6003d;
  --smx-border: rgba(255,255,255,.16);
  --smx-muted: rgba(255,255,255,.68);
  --smx-panel: rgba(255,255,255,.055);
}

.dhrk-archive-intro {
  /* The DHRK archive header already reserves 100px below the title.
     Pull the intro into that reserved space so editor content sits
     visually underneath the heading instead of another full section away. */
  margin-top: -70px;
  padding-top: 20px;
  padding-bottom: 28px;
}
.dhrk-archive-intro + .dhrk-section {
  padding-top: 48px;
}
.dhrk-archive-intro__content > :first-child { margin-top: 0; }
.dhrk-archive-intro__content > :last-child { margin-bottom: 0; }

.smx-artist-profile .dhrk-section { position: relative; }
.smx-profile-intro {
  padding-top: 76px;
  padding-bottom: 76px;
  text-align: center;
}
.smx-profile-kicker,
.smx-profile-eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.smx-profile-kicker { color: var(--smx-accent); font-size: clamp(16px,2.1vw,22px); letter-spacing: .08em; }
.smx-profile-bio { max-width: 760px; margin: 0 auto; font-size: 1.08em; }
.smx-profile-bio > :first-child { margin-top: 0; }
.smx-profile-actions,
.smx-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.smx-profile-btn,
.smx-platform-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--smx-border);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.smx-profile-btn:hover,
.smx-platform-link:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.42); }
.smx-profile-btn--primary,
.smx-artist-profile .btn-primary.smx-profile-btn--primary {
  background: var(--smx-accent) !important;
  border-color: var(--smx-accent) !important;
}

.smx-profile-section { border-top: 1px solid var(--smx-border); }
.smx-profile-section h2 { margin-top: 0; }
.smx-profile-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}
.smx-profile-textlink { white-space: nowrap; }

.smx-latest-card {
  display: grid;
  grid-template-columns: minmax(260px, 520px) minmax(260px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
.smx-latest-cover { display: block; overflow: hidden; }
.smx-latest-cover img,
.smx-release-card__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .35s ease;
}
.smx-latest-cover:hover img,
.smx-release-card__cover:hover img { transform: scale(1.025); }
.smx-latest-content h2 { font-size: clamp(32px,5vw,62px); line-height: 1.02; }
.smx-release-meta { color: var(--smx-muted); margin-bottom: 24px; }

.smx-release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}
.smx-release-card { min-width: 0; }
.smx-release-card__cover { display: block; background: var(--smx-panel); overflow: hidden; }
.smx-release-card__body { padding: 16px 2px 0; }
.smx-release-card__body h3 { margin: 0 0 4px; font-size: 1.08rem; }
.smx-release-card__body h3 a { text-decoration: none; }
.smx-release-card__body p { margin: 0; color: var(--smx-muted); font-size: .85rem; }

.smx-profile-listen,
.smx-profile-sound,
.smx-profile-collab { text-align: center; }
.smx-platform-link { min-width: 150px; background: var(--smx-panel); }

.smx-genre-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.smx-genre-list a,
.smx-genre-list span {
  padding: 8px 12px;
  border: 1px solid var(--smx-border);
  text-decoration: none;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.smx-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}
.smx-pillar-grid > div {
  padding: 28px;
  border: 1px solid var(--smx-border);
  background: var(--smx-panel);
}
.smx-pillar-grid h3 { margin-top: 0; }
.smx-pillar-grid p { color: var(--smx-muted); }

@media (max-width: 992px) {
  .smx-latest-card { grid-template-columns: 1fr 1fr; gap: 32px; }
  .smx-release-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .smx-pillar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .dhrk-archive-intro {
    margin-top: -62px;
    padding-top: 18px;
    padding-bottom: 24px;
  }
  .dhrk-archive-intro + .dhrk-section { padding-top: 40px; }
  .smx-profile-intro { padding-top: 54px; padding-bottom: 54px; }
  .smx-latest-card { grid-template-columns: 1fr; }
  .smx-release-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .smx-release-card__body h3 { font-size: .95rem; }
  .smx-profile-section-head { display: block; }
  .smx-profile-textlink { display: inline-block; margin-top: 12px; }
  .smx-pillar-grid { grid-template-columns: 1fr; }
  .smx-platform-link { flex: 1 1 46%; min-width: 0; }
}
