/* Circoscritto alla sola figura editoriale COMUNITÀ, marcata dallo script. */
.editorial-row figure.editorial-media.odv-photo-rotator {
  position: relative;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}
.editorial-row figure.editorial-media.odv-photo-rotator > img.odv-photo-rotator-original {
  display: none !important;
}
.editorial-row figure.editorial-media.odv-photo-rotator .odv-photo-rotator-gallery {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #e6eadf;
}
.editorial-row figure.editorial-media.odv-photo-rotator .odv-photo-rotator-image {
  position: absolute !important;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  z-index: 1;
  transition: opacity .9s ease-in-out;
  pointer-events: none;
}
.editorial-row figure.editorial-media.odv-photo-rotator .odv-photo-rotator-image.is-visible {
  opacity: 1;
  z-index: 2;
}
.editorial-row figure.editorial-media.odv-photo-rotator .odv-photo-rotator-control {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  color: #234735;
  background: rgba(255,255,255,.86);
  font-size: 15px;
  line-height: 1;
  font-family: Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(0,0,0,.14);
}
.editorial-row figure.editorial-media.odv-photo-rotator .odv-photo-rotator-control:focus-visible {
  outline: 3px solid #285e41;
  outline-offset: 3px;
}
.editorial-row figure.editorial-media.odv-photo-rotator .odv-photo-rotator-control:hover {
  background: #fff;
}
@media (max-width: 767px) {
  .editorial-row figure.editorial-media.odv-photo-rotator { aspect-ratio: 4 / 5 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-row figure.editorial-media.odv-photo-rotator .odv-photo-rotator-image {
    transition: none;
  }
}
@media print {
  .editorial-row figure.editorial-media.odv-photo-rotator .odv-photo-rotator-control { display: none !important; }
}
