:root {
  --photo-standard: 4cm;
  --photo-feature: 6.5cm;
  --photo-corner: 4px;
}
.simple-hero>img,
.product-content .simple-media>figure:not(.video),
.product-content .dolma-feature figure {
  width: min(100%, var(--photo-feature));
  margin-inline: auto;
}
.simple-hero>img,
.product-content .simple-media>figure:not(.video)>img,
.product-content .dolma-feature figure>img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 58%;
  border-radius: var(--photo-corner);
}
.simple-tile {
  width: min(100%, calc(var(--photo-standard) + 28px));
  justify-self: center;
  border-radius: var(--photo-corner);
}
.simple-tile a>img,
.simple-tile .baklava-frame {
  display: block;
  width: min(100%, var(--photo-standard));
  height: auto;
  aspect-ratio: 1;
  margin: 12px auto 0;
  object-fit: cover;
  border-radius: var(--photo-corner);
}
.simple-tile .baklava-frame img {
  left: 80%;
  width: 192%;
}
.simple-tile h3 { font-size: clamp(17px, 2vw, 21px); }
.simple-tile a>div { padding: 12px 10px; }
.simple-tile-text a>div { padding: 14px 10px; }
.gallery>figure,
.product-photo-stories .product-photos figure {
  width: min(100%, var(--photo-standard));
  margin-inline: auto;
}
.gallery>figure:not(.video)>img,
.gallery>figure:not(.video)>a>img,
.product-photo-stories .product-photos figure>img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 57%;
  border-radius: var(--photo-corner);
}
.gallery figcaption,
.product-photo-stories .product-photos figcaption {
  text-align: center;
  overflow-wrap: anywhere;
}
.gallery .product-photo-horizontal,
.product-photo-stories .product-photo-horizontal {
  width: 100%;
  max-height: none;
  aspect-ratio: 1;
  border-radius: var(--photo-corner);
}
.gallery .product-photo-horizontal img,
.product-photo-stories .product-photo-horizontal img {
  width: 100%;
  height: 100%;
}
.gallery.kofte-media { max-width: calc(2 * var(--photo-standard) + 24px); }
.gallery.kofte-media>.video { width: min(100%,250px); }
.dessert-feature>figure:not(.video)>div {
  width: 100% !important;
  aspect-ratio: 1 !important;
  border-radius: var(--photo-corner);
}
.dessert-feature>figure:not(.video)>div img { top: -29.6% !important; }
.tatli-halka-duzen .halka-close>div,
.tatli-halka-duzen .halka-tray>div { aspect-ratio: 1 !important; }
.tatli-halka-duzen .halka-close>div { border-radius: var(--photo-corner) !important; }
.event-media>div,.event-media>.catering-video { --buffet-height: var(--photo-feature); }
.event-media>div>img {
  width: min(100%,var(--photo-feature));
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: var(--photo-corner);
}
.event-media>.catering-video {
  width: min(100%,calc(var(--photo-feature) * .5625));
  justify-self: center;
}
.event-detail-link,.contact-page { text-align: center; }
.contact-page p { margin-inline: auto; }
@media(max-width: 620px) {
  :root { --photo-standard: clamp(100px,38vw,4cm); }
  .header .nav { flex-wrap: wrap; justify-content: center; }
  .gallery.event-gallery,.product-photo-stories .product-photos ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery.kofte-media { max-width: min(100%,calc(2 * var(--photo-standard) + 18px)); }
}
@media(max-width: 330px) {
  .gallery.event-gallery,.product-photo-stories .product-photos ol { gap: 8px; }
}
