/* Seasonal sweets, shared by the Italian, English and German pages. */
.dolci-gallery {
  padding: clamp(48px, 6vw, 88px) 0;
  background: var(--atelier-ivory);
  scroll-margin-top: 120px;
}

.dolci-gallery__header {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.dolci-gallery__eyebrow {
  margin: 0 0 12px;
  color: var(--atelier-raspberry);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dolci-gallery__header h2 {
  margin: 0;
  color: var(--atelier-espresso);
  font-family: var(--atelier-display);
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.15;
  text-wrap: balance;
}

.dolci-gallery__header > p:last-child {
  margin: 18px 0 0;
  color: var(--atelier-muted);
  line-height: 1.7;
}

.dolci-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.dolci-gallery__card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--atelier-paper);
  border: 1px solid var(--atelier-line);
  border-radius: 14px;
}

.dolci-gallery__image {
  position: relative;
  display: block;
  overflow: hidden;
  color: white;
}

.dolci-gallery__image:focus-visible {
  outline: 3px solid var(--atelier-raspberry);
  outline-offset: -4px;
}

.dolci-gallery__image picture,
.dolci-gallery__image img {
  display: block;
  width: 100%;
}

.dolci-gallery__image img {
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .3s ease;
}

.dolci-gallery__card--portrait .dolci-gallery__image img {
  aspect-ratio: 4 / 5;
}

.dolci-gallery__image:hover img {
  transform: scale(1.025);
}

.dolci-gallery__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: white;
  background: var(--atelier-raspberry);
  border-radius: 50%;
  font-size: 23px;
}

.dolci-gallery__card figcaption {
  padding: 16px 20px;
  color: var(--atelier-espresso);
  font-family: var(--atelier-display);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.35;
}

.dolci-gallery__actions {
  margin-top: 30px;
  text-align: center;
}

.dolci-gallery__actions a {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 15px 24px;
  color: white;
  background: var(--atelier-raspberry);
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.5;
}

.dolci-gallery__actions a:hover,
.dolci-gallery__actions a:focus-visible {
  color: white;
  background: var(--atelier-raspberry-dark);
}

.dolci-gallery--preview .dolci-gallery__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dolci-gallery--preview .dolci-gallery__image img {
  aspect-ratio: 4 / 3;
}

@media (max-width: 767px) {
  .dolci-gallery__grid,
  .dolci-gallery--preview .dolci-gallery__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

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