/* Caption sizing follows the title and body of La mia storia. */
:is(#gallery, #shop-photo-rail) figcaption h3 {
  font-family: "ORIJINZ Editorial", Nimbus, "Arial Narrow", Arial, sans-serif;
  font-size: clamp(50px, 6.3vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: none;
  overflow-wrap: normal;
  margin: 0 0 14px;
}
:is(#gallery, #shop-photo-rail) .photo-falling-word {
  display: inline-block;
  white-space: nowrap;
}
:is(#gallery, #shop-photo-rail) figcaption p {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 800px) {
  :is(#gallery, #shop-photo-rail) figcaption h3 { font-size: clamp(44px, 6vw, 64px); }
}
@media (max-width: 650px) {
  :is(#gallery, #shop-photo-rail) figcaption h3 { font-size: clamp(48px, 12vw, 68px); }
  :is(#gallery, #shop-photo-rail) figcaption p { font-size: 16px; line-height: 1.6; }
}
html:is(:lang(ja), :lang(zh), :lang(ko)) :is(#gallery, #shop-photo-rail) figcaption h3 {
  font-family: system-ui, sans-serif;
  font-size: clamp(36px, 5vw, 66px);
  letter-spacing: 0;
}
