/*
Theme Name: Dream Music Lab Catalogo
Theme URI: https://dreammusiclab.com
Author: Dream Music Lab
Description: Child theme for the published releases catalog page.
Template: dreammusiclab
Version: 2.3.0
Text Domain: dreammusiclab-catalogo
*/

.site-header,
.site-header.scrolled {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.site-footer {
  background: transparent;
  border-top-color: transparent;
}

body.home,
body.dml-release-listing-page {
  background:
    linear-gradient(180deg, rgba(12, 10, 7, 0.78) 0%, rgba(12, 10, 7, 0.68) 42%, rgba(12, 10, 7, 0.96) 100%),
    url('../dreammusiclab/assets/hero-bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

body.home .hero {
  background-image: none;
  padding-top: 74px;
}

body.home .hero::after {
  background: none;
}

body.home .section-alt {
  background: linear-gradient(180deg, rgba(12, 10, 7, 0.90), rgba(12, 10, 7, 0.94));
  background-attachment: scroll;
}

body.home #sobre.section-alt {
  background: transparent;
  background-image: none;
  background-attachment: scroll;
}

.dml-catalog-page {
  min-height: 100vh;
  background: transparent;
}

.dml-catalog-hero {
  padding-top: 74px;
  padding-bottom: 54px;
  border-bottom: 0;
}

.page-hero {
  padding-top: 84px;
}

.dml-catalog-hero h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
}

.dml-catalog-hero p {
  max-width: 680px;
  font-size: 1.08rem;
}

.dml-catalog-count {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(221, 193, 111, 0.08);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dml-catalog-section {
  padding-top: 46px;
}

.dml-release-list {
  display: grid;
  gap: 14px;
}

@media (min-width: 980px) {
  .dml-release-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 56px;
    row-gap: 22px;
  }
}

.dml-release-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 124px;
  padding: 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  box-shadow: none;
}

.dml-release-thumb {
  width: 92px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
}

.dml-release-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dml-release-copy {
  min-width: 0;
}

.dml-release-date {
  margin-bottom: 6px;
  color: var(--text-faint);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dml-release-title {
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(1.24rem, 3vw, 1.75rem);
  letter-spacing: 0;
}

.dml-release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dml-release-meta .genre-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(221, 193, 111, 0.08);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.track-card-static {
  cursor: default;
}

.track-card-static:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}

.available-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gradient-gold);
  color: #1a1305;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

@media (max-width: 640px) {
  .dml-catalog-hero {
    padding-top: 58px;
    padding-bottom: 36px;
  }

  .dml-catalog-section {
    padding-top: 32px;
  }

  .dml-release-row {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    min-height: 104px;
    padding: 12px;
  }

  .dml-release-thumb {
    width: 74px;
    border-radius: 10px;
  }

  .dml-release-title {
    margin-bottom: 8px;
    font-size: 1.15rem;
  }

  .dml-release-date {
    font-size: 0.76rem;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 76px;
  }

  body.home .hero {
    padding-top: 74px;
  }

  .page-hero {
    padding-top: 74px;
  }
}
