.jp-videos,
.jp-discography {
    padding: 2rem;
    margin: 0 auto;
}

#post-610 .jp-videos {
    padding: 0;
}

.jp-videos__inner,
.jp-discography__inner {
    background: #fff;
    padding: 6rem;
}

.jp-videos-block,
.jp-discography-block {
    max-width: 1100px;
    margin: auto;
}

.secondary-subtitle-block {
    width: 100%;
    display: flex;
    align-content: center;
    align-items: flex-start;
    justify-content: space-between;
}

.jp-videos__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-videos__title {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 500;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  letter-spacing: 0.02em;
  margin: 0 0 0.2rem 0;
  color: #222;
  line-height: 1.05;
}

.jp-videos__subtitle {
  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);
  margin: 0;
}

.jp-videos__view-all {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1f6fa9;
  text-decoration: none;
  font-weight: 500;
}

.jp-videos__view-all:hover,
.jp-videos__view-all:focus-visible {
  text-decoration: underline;
}

.jp-videos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.45rem, 2.5vw, 2rem);
}

.jp-videos--preview .jp-videos__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jp-videos__card {
  background: transparent;
}

.jp-videos__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  text-decoration: none;
  background: #d8d8d8;
  isolation: isolate;
}

.jp-videos__thumb img,
.jp-videos__thumb-fallback {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: filter 360ms ease, transform 360ms ease;
}

.jp-videos__thumb-fallback {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.08)),
    #c9c9c9;
}

.jp-videos__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(3.2rem, 4.8vw, 3.8rem);
  height: clamp(3.2rem, 4.8vw, 3.8rem);
  border-radius: 50%;
  background: rgba(33, 39, 49, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 320ms ease;
}

.jp-videos__play::after {
  content: "";
  margin-left: 0.2rem;
  border: 0.5rem solid transparent;
  border-left-color: rgba(255, 255, 255, 0.92);
  border-left-width: 0.78rem;
  border-right-width: 0;
}

.jp-videos__info {
  padding: 0.7rem 0 0;
  position: relative;
}

.jp-videos__video-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-videos__category {
  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-videos__category::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #c6a853;
  flex-shrink: 0;
}

.jp-videos__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-videos__empty {
  margin: 0;
  color: rgba(34, 34, 34, 0.72);
}

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

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

  .jp-videos__card:hover .jp-videos__play,
  .jp-videos__card.is-hovered .jp-videos__play {
    background: rgba(33, 39, 49, 0.58);
  }

  .jp-videos__grid:hover .jp-videos__card.is-hovered .jp-videos__thumb img {
    filter: grayscale(100%) saturate(0.2) brightness(0.88);
  }

  .jp-videos__grid:hover .jp-videos__card.is-hovered:hover .jp-videos__thumb img {
    filter: grayscale(0%) saturate(1) brightness(1);
  }
}

@media (max-width: 1024px) {
  .jp-videos__thumb img {
    filter: none !important;
  }
}

@media (max-width: 964px) {
  .jp-videos--preview .jp-videos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jp-videos__title {
    font-size: clamp(1.85rem, 5vw, 2.25rem);
  }

  .jp-videos__subtitle {
    font-size: clamp(0.98rem, 2.9vw, 1.2rem);
  }

  .jp-videos__video-title {
    font-size: clamp(1.2rem, 3.4vw, 1.5rem);
  }

  .jp-videos__category {
    font-size: clamp(0.88rem, 2.4vw, 1rem);
  }
}

@media (max-width: 768px) {
  .jp-videos__grid {
    grid-template-columns: 1fr;
  }

  .jp-videos--preview .jp-videos__grid {
    grid-template-columns: 1fr;
  }
}
