.cream-gallery .gallery-water-art .gallery-cover-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 34px #53344024;
}

.cream-gallery .gallery-water-art .gallery-cover-frame video {
  object-fit: cover;
}

.cream-gallery .gallery-water-art .gallery-cover-frame img {
  box-shadow: none;
}

.cream-gallery .gallery-section + .gallery-section {
  margin-top: clamp(44px, 7vw, 84px);
}

.cream-gallery .gallery-section > h2 {
  margin: 0 0 clamp(18px, 3vw, 32px);
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.cream-gallery .gallery-section .sample-grid {
  display: grid;
  gap: 24px clamp(22px, 4vw, 40px);
}

.cream-gallery .animated-covers-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cream-gallery .standard-samples-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cream-gallery .gallery-section .sample-card {
  padding: 0 0 22px;
}

.cream-gallery .animated-covers-grid .sample-card {
  display: grid;
  grid-template-columns: minmax(88px, 0.76fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(12px, 2.2vw, 25px);
}

.cream-gallery .animated-covers-grid .gallery-cover-frame,
.cream-gallery .standard-samples-grid .sample-card > a:first-child {
  display: block;
  width: 100%;
}

.cream-gallery .animated-covers-grid .gallery-cover-frame img {
  width: 100%;
  max-height: none;
}

.cream-gallery .standard-samples-grid .sample-card > a:first-child img {
  width: auto;
  max-width: 100%;
  height: clamp(142px, 20vw, 200px);
  object-fit: contain;
  object-position: left center;
}

.cream-gallery .gallery-section .sample-card h3 {
  margin: 0.42em 0 0.35em;
  font-size: clamp(1.18rem, 2vw, 1.58rem);
  line-height: 1.25;
}

.cream-site.cream-gallery main a.sample-link {
  display: inline-flex;
  align-items: center;
  gap: 0.36em;
  min-height: 38px;
  margin: 6px 0 0;
  padding: 7px 12px;
  border: 1px solid #dab6c2;
  border-radius: 6px;
  background: #f7e9ee;
  color: #71364c;
  text-decoration: none;
  font: 650 0.85rem/1.25 system-ui, sans-serif;
  white-space: nowrap;
}

.cream-site.cream-gallery main a.sample-link:is(:hover, :focus-visible) {
  background: #f1dbe3;
  border-color: #b7738c;
}

.cream-gallery .gallery-section .gallery-cover-toggle {
  margin-top: 6px;
}

@media (max-width: 800px) {
  .cream-gallery .animated-covers-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cream-gallery .standard-samples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 450px) {
  .cream-gallery .standard-samples-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
