.jp-discography {
    margin-bottom: clamp(2rem, 5vw, 5rem);
}

#arrangements .jp-discography,
#original-songs .jp-discography,
#books .jp-discography,
.page-id-520 #videos .jp-videos,
.page-id-520 #discography .jp-discography {
    padding: 0;
}

.home #music .jp-bio__header.jp-music__header,
.home #teaching .jp-bio__header.jp-teaching__header {
    padding-bottom: 0;
}
  
  .jp-discography__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: clamp(1.2rem, 2.2vw, 1.9rem);
  }
  
  .jp-discography__title {
    margin: 0 0 0.2rem 0;
    font-weight: 500;
    font-size: clamp(2.1rem, 3.6vw, 3rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: #222;
  }
  
  .jp-discography__subtitle {
    margin: 0;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(1.05rem, 1.6vw, 1.45rem);
    line-height: 1.15;
    color: rgba(34, 34, 34, 0.72);
  }
  
  .jp-discography__view-all {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1f6fa9;
    text-decoration: none;
    font-weight: 500;
    width: 33%;
    text-align: end;
  }
  
  .jp-discography__view-all:hover,
  .jp-discography__view-all:focus-visible {
    text-decoration: underline;
  }
  
  .jp-discography__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.45rem, 2.5vw, 2rem);
  }
  
  .jp-discography--full .jp-discography__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .jp-discography__card {
    background: transparent;
  }
  
  .jp-discography__cover {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    text-decoration: none;
    background: #d8d8d8;
    isolation: isolate;
    border: 2px solid #265F87;
  }
  
  .jp-discography__cover img,
  .jp-discography__cover-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: filter 360ms ease, transform 360ms ease;
  }

  /* Books: remove smoky white overlay (override .jp-discography__cover::after) */
  .jp-discography--books .jp-discography__cover::after,
  .jp-discography__card.product_cat-books .jp-discography__cover::after {
    display: none !important;
    content: none !important;
  }

  /* Books: remove PREVIEW watermark */
  .jp-discography--books .jp-discography__cover::before,
  .jp-discography__card.product_cat-books .jp-discography__cover::before {
    display: none !important;
    content: none !important;
  }

  .jp-discography__cover-fallback {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.08)),
      #c9c9c9;
  }
  
  .jp-discography__info {
    padding: 0.72rem 0 0;
    position: relative;
  }
  
  .jp-discography__album-title {
    margin: 0 0 0.28rem 0;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(1.35rem, 1.75vw, 1.75rem);
    line-height: 1.12;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #222;
  }
  
  .jp-discography__year {
    margin: 0;
    font-size: clamp(0.92rem, 1.2vw, 1.03rem);
    line-height: 1.25;
    color: rgba(34, 34, 34, 0.62);
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }
  
  .jp-discography__year::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #c6a853;
    flex-shrink: 0;
  }

  .jp-discography__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
  }

  .jp-discography__cta.is-commerce {
    color: #1f6fa9;
  }

  .jp-discography__cta.is-stream {
    color: #222;
  }

  .jp-discography__cta:hover,
  .jp-discography__cta:focus-visible {
    text-decoration: underline;
  }
  
  .jp-discography__info::after {
    content: "";
    display: block;
    width: 6.1rem;
    max-width: 44%;
    height: 2px;
    margin-top: 0.6rem;
    background: linear-gradient(
      90deg,
      rgba(198, 168, 83, 0.95) 0%,
      rgba(198, 168, 83, 0.3) 100%
    );
  }
  
  .jp-discography__empty {
    margin: 0;
    color: rgba(34, 34, 34, 0.72);
  }

  @media (min-width: 1025px) {
    .jp-discography__cover img {
      filter: grayscale(100%) saturate(0.2) brightness(0.88);
    }

    .jp-discography__card:hover .jp-discography__cover img,
    .jp-discography__card.is-hovered .jp-discography__cover img {
      filter: grayscale(0%) saturate(1) brightness(1);
    }

    .jp-discography__grid:hover .jp-discography__card.is-hovered .jp-discography__cover img {
      filter: grayscale(100%) saturate(0.2) brightness(0.88);
    }

    .jp-discography__grid:hover .jp-discography__card.is-hovered:hover .jp-discography__cover img {
      filter: grayscale(0%) saturate(1) brightness(1);
    }
  }

  @media (max-width: 1024px) {
    .jp-discography__cover img {
      filter: none !important;
    }
  }
  
  @media (max-width: 964px) {
    .jp-discography__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .jp-discography__title {
      font-size: clamp(1.85rem, 5vw, 2.25rem);
    }
  
    .jp-discography__subtitle {
      font-size: clamp(0.98rem, 2.9vw, 1.2rem);
    }
  
    .jp-discography__album-title {
      font-size: clamp(1.2rem, 3.4vw, 1.5rem);
    }
  
    .jp-discography__year {
      font-size: clamp(0.88rem, 2.4vw, 1rem);
    }
  }
  
  @media (max-width: 640px) {
    .jp-discography__grid {
      grid-template-columns: 1fr;
    }
  
    .jp-discography--full .jp-discography__grid {
      grid-template-columns: 1fr;
    }
  }
  