/* Galleria centrata */
.optif-masonry-test {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 50px;

  width: min(1250px, calc(100% - 40px));
  margin: 40px auto 50px !important;
  box-sizing: border-box;
}

/* Colonne indipendenti: puoi assegnare ogni immagine a sinistra,
   al centro o a destra spostando il suo article nel contenitore scelto */
.optif-masonry-test__column {
  display: flex;
  flex-direction: column;
  gap: 50px;
  min-width: 0;
}

.optif-masonry-test__item {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
}

/* L’altezza deriva dal rapporto --ratio impostato nell’HTML */
.optif-masonry-test__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--ratio, 1 / 1);
  overflow: hidden;
}

/* Riserva lo spazio dell’immagine e impedisce sovrapposizioni */
.optif-masonry-test__image img,
.optif-masonry-test__image media-item,
.optif-masonry-test__image figure {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

.optif-masonry-test__caption {
  display: block;
  margin: 7px 0 0;
  font-family: "NHaasGroteskTXPro-65Md", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 10px;
  line-height: 11.5px;
}

/* Tablet */
@media (max-width: 900px) {
  .optif-masonry-test {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
  }

  .optif-masonry-test__column {
    gap: 40px;
  }
}

/* Cellulare */
@media (max-width: 700px) {
  .optif-masonry-test {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    margin: 30px auto 40px !important;
  }

  .optif-masonry-test__column {
    gap: 32px;
    margin-bottom: 32px;
  }
}


:root {
  --optif-font: Helvetica, Arial, "Hiragino Mincho Pro", serif;
}

:root {
  --optif-font: Helvetica, Arial, "Hiragino Mincho Pro", serif;
}

/* Stessa famiglia tipografica in tutto il sito */
body,
bodycopy,
bodycopy *,
h1,
h2,
h3,
h4,
p,
a,
nav,
button {
  font-family: var(--optif-font);
}

/* Testo della pagina */
.optif-body-text {
  font-family: "Neue Haas Grotesk", Icons;
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0;
	font-style: normal;
}

.optif-body-text p {
  margin: 18px 0;
}

/* Titoli: stessa famiglia, dimensioni modificabili */
.optif-body-text h1 {
  font-family: "Neue Haas Grotesk", Icons;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
	font-style: normal;
}

.optif-body-text h2 {
  font-family: var(--optif-font);
  font-size: 13px;
  font-weight: 380;
  line-height: 1.2;
  margin: 18px 0 8px;
}

.optif-body-text {
  --optif-link-line: #ff1010;
}

.optif-body-text a,
.optif-body-text a:visited,
.optif-body-text a:hover,
.optif-body-text a:active {
  color: #000000 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--optif-link-line) !important;
}
a,
a:link,
a:visited,
a:hover,
a:active {
  color: inherit !important;
  text-decoration: none !important;
}



w .inner-color {
   stroke: #fff;
    stroke-width: 2px;
}

.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 3px;
}


/**
 * Feed
 */

.feed .content_container .page {
    border-top: 0px dashed rgba(0, 0, 0, 0.2);
}

.feed .content_container .page_container:first-child .page {
	border-top: 0;
}
/*
 * Audio Player
 */

.audio-player {
    max-width: 36rem;
    height: 3.3rem;
    outline: 1px solid rgba(0,0,0,0.15);
    color: rgba(0, 0, 0, 0.6);
    background: #fff;
    font-size: 1.4rem;
    line-height: 1.3;
	font-family: "Monument Grotesk Mono", Icons;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin: 1px 1px 1em 1px;
}

body.mobile .audio-player {
    max-width: 100%;
}

.audio-player .separator {
    width: 1px;
    background-color: rgba(0,0,0,0.15);
}

.audio-player .button {
    background: transparent;
    cursor: pointer;
    fill: rgba(0, 0, 0, 0.85);
}

.audio-player .icon {
    fill: rgba(0, 0, 0, 0.85);
    padding: 30%;
    width: 100%;
    margin: auto;
}

.audio-player .buffer {
    background: rgba(0,0,0,0.03);
}

.audio-player .progress {
    background: rgba(0,0,0,0.1);
}

.audio-player .progress-indicator {
    border: 1px solid rgba(0, 0, 0, 0.7);
    width: 1px;
    height: 100%;
    right: 0;
    position: absolute;
    cursor: ew-resize;
}

.audio-player .note-icon {
    height: 100%;
    width: 3.8rem;
    padding: 1rem;
    fill: rgba(0, 0, 0, 0.5);
}

.audio-player .current-time {
    padding-left: 1rem;
}

.audio-player .total-time {
    padding-right: 1rem;
}
