.grapely-portfolio-dettagli { margin: 0; }

.grapely-portfolio-dettagli dt, .grapely-portfolio-dettagli dd { margin: 0; }

.grapely-portfolio-dettagli--riga { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 30px; row-gap: 14px; }

.grapely-portfolio-dettagli--riga .grapely-portfolio-dettaglio { display: flex; align-items: baseline; column-gap: 10px; }

.grapely-portfolio-dettagli--elenco .grapely-portfolio-dettaglio { display: flex; justify-content: space-between; column-gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }

.grapely-portfolio-dettagli--elenco .grapely-portfolio-dettaglio:last-child { border-bottom: 0; }

.grapely-portfolio-dettagli dt { opacity: 0.65; }

.grapely-portfolio-video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: inherit; }

.grapely-portfolio-video iframe, .grapely-portfolio-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }

@media (max-width: 1023px) {
  .grapely-portfolio-galleria { grid-template-columns: repeat(var(--env-gallery-columns-tablet, 3), 1fr); }
}

@media (max-width: 767px) {
  .grapely-portfolio-galleria { grid-template-columns: repeat(var(--env-gallery-columns-mobile, 2), 1fr); }
}
