.purr_meme_gallery {
  position: relative;
  box-sizing: border-box;
  min-height: 0;
  overflow: hidden;
  padding: clamp(8rem, 11vw, 10rem) clamp(1.25rem, 4vw, 4.5rem) clamp(5rem, 7vw, 7rem);
  color: #f8fff4;
  background: #101410 !important;
}

.purr_meme_content {
  width: min(100%, 75rem);
  margin: 0 auto;
}

.purr_meme_header {
  display: flex;
  justify-content: flex-start;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 3.5vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 2vw, 2.25rem);
  border-bottom: 2px solid rgb(162 244 4 / 0.42);
}

.purr_meme_kicker {
  align-self: end;
  margin: 0;
  font-family: "Die Grotesk B", Arial, sans-serif;
  font-size: clamp(0.78rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #a2f404;
}

.purr_meme_title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  padding-inline: 0.04em;
  margin: 0;
  font-family: "Die Grotesk B", Arial, sans-serif;
  font-size: clamp(3.5rem, 6vw, 5.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  word-spacing: 0.16em;
  line-height: 0.94;
  text-align: left;
  text-transform: uppercase;
  color: #f8fff4;
}

.purr_meme_title span:last-child {
  color: #a2f404;
}

.purr_meme_grid {
  columns: 3;
  gap: clamp(0.75rem, 1.15vw, 1.15rem);
}

.purr_meme_card {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0 0 clamp(0.75rem, 1.15vw, 1.15rem);
  break-inside: avoid;
  overflow: hidden;
  border: 1px solid rgb(162 244 4 / 0.34);
  border-radius: clamp(1rem, 1.6vw, 1.5rem);
  background: #202720;
  box-shadow: 0 1.4rem 4rem rgb(0 0 0 / 0.25);
}

.purr_meme_card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 500ms cubic-bezier(.22, 1, .36, 1), filter 500ms ease;
}

.purr_meme_card:hover img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

@media (max-width: 850px) {
  .purr_meme_grid {
    columns: 2;
  }
}

@media (max-width: 599px) {
  .purr_meme_gallery {
    padding-block: 5rem;
  }

  .purr_meme_header {
    justify-content: flex-start;
    align-items: start;
  }

  .purr_meme_title {
    align-items: flex-start;
    font-size: clamp(3rem, 16vw, 4.5rem);
    text-align: left;
  }

  .purr_meme_grid {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .purr_meme_card img {
    transition: none;
  }
}
