/* =========================================================
   MERLE MARLOW BAND — MUSIC MODULE
   ========================================================= */

.mmb-music-page,
.mmb-music-page .site-content {
  background: #010101;
}

.mmb-music-page .site-content > .ast-container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.mmb-music-page #primary,
.mmb-music-page .site-main,
.mmb-music-page .ast-article-single,
.mmb-music-page .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
  background: #010101 !important;
}

.mmb-music-page .entry-header {
  display: none;
}

.mmbm {
  --mmbm-black: #010101;
  --mmbm-panel: #0c0d0e;
  --mmbm-panel-light: #151719;
  --mmbm-red: #e0003c;
  --mmbm-red-dark: #b90032;
  --mmbm-white: #ffffff;
  --mmbm-muted: #a6a9aa;
  --mmbm-line: rgba(255, 255, 255, 0.14);
  width: 100%;
  overflow: hidden;
  background: var(--mmbm-black);
  color: var(--mmbm-white);
  font-family: "Noto Sans", Arial, sans-serif;
  line-height: 1.5;
}

.mmbm *,
.mmbm *::before,
.mmbm *::after {
  box-sizing: border-box;
}

.mmbm img {
  max-width: 100%;
  height: auto;
}

.mmbm a {
  color: inherit;
  text-decoration: none;
}

.mmbm button,
.mmbm iframe {
  font: inherit;
}

.mmbm h1,
.mmbm h2,
.mmbm h3,
.mmbm p {
  margin-top: 0;
}

.mmbm-eyebrow {
  margin: 0 0 15px !important;
  color: var(--mmbm-red) !important;
  font-size: 11px !important;
  font-weight: 900;
  line-height: 1.35 !important;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.mmbm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.mmbm-button {
  min-height: 48px;
  padding: 14px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mmbm-button:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
}

.mmbm-button-primary {
  background: var(--mmbm-red);
  box-shadow: 0 12px 30px rgba(224, 0, 60, 0.18);
}

.mmbm-button-primary:hover {
  background: var(--mmbm-red-dark);
}

.mmbm-button-ghost {
  border-color: var(--mmbm-line);
  background: rgba(0, 0, 0, 0.24);
}

.mmbm-button-ghost:hover {
  border-color: var(--mmbm-red);
  background: var(--mmbm-red);
}

/* Shared sections */
.mmbm-section {
  padding: clamp(82px, 9vw, 140px) clamp(24px, 6vw, 92px);
  border-bottom: 1px solid var(--mmbm-line);
}

.mmbm-section-heading {
  margin-bottom: 58px;
  padding-bottom: 31px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--mmbm-line);
}

.mmbm-section-heading h2,
.mmbm-stream h2,
.mmbm-shop-cta h2 {
  margin: 0 !important;
  color: #ffffff !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(44px, 5.5vw, 78px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.mmbm-section-heading > span {
  color: #55595b;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

/* Latest release */
.mmbm-latest {
  background: var(--mmbm-black);
}

.mmbm-latest-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.83fr) minmax(390px, 1.17fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}

.mmbm-latest-art {
  position: relative;
}

.mmbm-latest-art::before {
  content: "";
  width: 72%;
  height: 72%;
  position: absolute;
  right: -8%;
  bottom: -8%;
  z-index: 0;
  background: var(--mmbm-red);
  opacity: 0.18;
  filter: blur(60px);
}

.mmbm-latest-art img {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  z-index: 1;
  display: block;
  object-fit: cover;
  border: 1px solid var(--mmbm-line);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.55);
}

.mmbm-kicker {
  margin: 0 0 15px !important;
  color: var(--mmbm-red) !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mmbm-latest-copy h3 {
  max-width: 750px;
  margin: 0 0 15px !important;
  color: #ffffff !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(40px, 5.2vw, 76px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.mmbm-credit {
  margin: 0 0 31px !important;
  color: #d7d8d9 !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mmbm-description {
  max-width: 620px;
  margin: 0 0 31px !important;
  color: var(--mmbm-muted) !important;
  font-size: 16px;
  line-height: 1.75;
}

.mmbm-latest-player {
  width: 100%;
  margin-top: 31px;
  display: block;
  border: 0;
  border-radius: 12px;
  background: #171717;
}

/* Discography */
.mmbm-discography {
  background: #060606;
}

.mmbm-release-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(13px, 1.8vw, 25px);
}

.mmbm-release-card {
  min-width: 0;
  display: block;
  overflow: hidden;
  border: 1px solid var(--mmbm-line);
  background: var(--mmbm-panel);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mmbm-release-card:hover {
  border-color: rgba(224, 0, 60, 0.65);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.44);
  transform: translateY(-6px);
}

.mmbm-release-art {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--mmbm-line);
  background: #151719;
}

.mmbm-release-art img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
}

.mmbm-release-card:hover .mmbm-release-art img {
  filter: brightness(1.06);
  transform: scale(1.035);
}

.mmbm-release-info {
  min-height: 188px;
  padding: 21px 18px;
  display: flex;
  flex-direction: column;
}

.mmbm-release-meta {
  margin-bottom: 11px;
  color: var(--mmbm-red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mmbm-release-info strong {
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}

.mmbm-release-link {
  margin-top: auto;
  padding-top: 19px;
  color: var(--mmbm-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.mmbm-release-card:hover .mmbm-release-link {
  color: var(--mmbm-red);
}

/* Spotify catalogue */
.mmbm-stream {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(440px, 1.35fr);
  gap: clamp(45px, 8vw, 125px);
  align-items: center;
  background: var(--mmbm-black);
}

.mmbm-stream-copy > p:not(.mmbm-eyebrow) {
  max-width: 430px;
  margin: 25px 0 23px !important;
  color: var(--mmbm-muted) !important;
  font-size: 15px;
  line-height: 1.75;
}

.mmbm-text-link {
  color: var(--mmbm-red) !important;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mmbm-text-link:hover {
  color: #ffffff !important;
}

.mmbm-spotify-wrap {
  padding: 10px;
  border: 1px solid var(--mmbm-line);
  border-radius: 18px;
  background: var(--mmbm-panel);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.mmbm-spotify-wrap iframe {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 12px;
}

/* Videos */
.mmbm-videos {
  background: #060606;
}

.mmbm-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 31px);
}

.mmbm-video-card {
  overflow: hidden;
  border: 1px solid var(--mmbm-line);
  background: var(--mmbm-panel);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.mmbm-video-card:hover {
  border-color: rgba(224, 0, 60, 0.65);
  transform: translateY(-4px);
}

.mmbm-video-button,
.mmbm-video-card > iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  display: block;
  border: 0;
  border-radius: 0;
  background: #111;
}

.mmbm-video-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.mmbm-video-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 55%);
  transition: background 0.25s ease;
}

.mmbm-video-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
}

.mmbm-video-button:hover img {
  filter: brightness(0.82);
  transform: scale(1.035);
}

.mmbm-play {
  width: 66px;
  height: 66px;
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  color: var(--mmbm-red);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.mmbm-video-button:hover .mmbm-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.mmbm-play svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 9px 20px rgba(0, 0, 0, 0.5));
}

.mmbm-play circle {
  fill: var(--mmbm-red);
  stroke: rgba(255, 255, 255, 0.32);
}

.mmbm-play path {
  fill: #ffffff;
}

.mmbm-video-info {
  min-height: 120px;
  padding: 20px;
}

.mmbm-video-info span {
  display: block;
  margin-bottom: 8px;
  color: var(--mmbm-red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mmbm-video-info h3 {
  margin: 0 !important;
  color: #ffffff !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}

.mmbm-youtube-channel {
  margin-top: 35px;
}

/* Shop CTA */
.mmbm-shop-cta {
  min-height: 350px;
  padding: 78px clamp(24px, 6vw, 92px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--mmbm-line);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.86) 50%, rgba(0, 0, 0, 0.28) 100%),
    url("https://merlemarlowband.com/wp-content/uploads/2026/03/Big-Dreams-Gasoline.png") center / cover;
}

.mmbm-shop-cta > div,
.mmbm-shop-cta > a {
  position: relative;
  z-index: 1;
}

.mmbm-shop-cta > div {
  max-width: 720px;
}

.mmbm-shop-cta > div > p:last-child {
  max-width: 570px;
  margin: 21px 0 0 !important;
  color: #b9bbbc !important;
  font-size: 15px;
  line-height: 1.7;
}

/* Tablet */
@media (max-width: 1080px) {
  .mmbm-release-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mmbm-release-card:last-child:nth-child(3n + 2) {
    grid-column: span 2;
  }

}

@media (max-width: 860px) {
  .mmbm-latest-grid,
  .mmbm-stream {
    grid-template-columns: 1fr;
  }

  .mmbm-latest-art {
    width: min(620px, 100%);
  }

  .mmbm-stream-copy {
    max-width: 620px;
  }

  .mmbm-video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mmbm-video-card:first-child {
    grid-column: 1 / -1;
  }

  .mmbm-video-card:first-child .mmbm-video-button,
  .mmbm-video-card:first-child > iframe {
    max-height: 590px;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .mmbm-section {
    padding: 68px 18px;
  }

  .mmbm-section-heading {
    margin-bottom: 38px;
    padding-bottom: 23px;
    align-items: flex-start;
  }

  .mmbm-section-heading h2,
  .mmbm-stream h2,
  .mmbm-shop-cta h2 {
    font-size: 42px;
  }

  .mmbm-section-heading > span {
    padding-top: 5px;
  }

  .mmbm-latest-grid {
    gap: 44px;
  }

  .mmbm-latest-copy h3 {
    font-size: 39px;
  }

  .mmbm-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mmbm-actions .mmbm-button {
    width: 100%;
  }

  .mmbm-release-grid,
  .mmbm-video-grid {
    grid-template-columns: 1fr;
  }

  .mmbm-release-card:last-child:nth-child(3n + 2),
  .mmbm-video-card:first-child {
    grid-column: auto;
  }

  .mmbm-release-info {
    min-height: 150px;
  }

  .mmbm-spotify-wrap {
    padding: 6px;
  }

  .mmbm-spotify-wrap iframe {
    height: 460px;
  }

  .mmbm-youtube-channel {
    width: 100%;
  }

  .mmbm-shop-cta {
    min-height: 430px;
    padding: 65px 20px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.67) 100%),
      url("https://merlemarlowband.com/wp-content/uploads/2026/03/Big-Dreams-Gasoline.png") center / cover;
  }

  .mmbm-shop-cta > a {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .mmbm-section-heading h2,
  .mmbm-stream h2,
  .mmbm-shop-cta h2,
  .mmbm-latest-copy h3 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mmbm *,
  .mmbm *::before,
  .mmbm *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
