.alf-project-title {
  max-width: 12ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.alf-project-richtext {
  margin-bottom: var(--md-space) !important;
}
.alf-project-richtext:last-child, .alf-project-section figure:last-child, .alf-project-section h2:last-child, .alf-project-section h3:last-child {
  margin-bottom: 0 !important;
}
.alf-project-logo {
  text-align: center;
  margin-bottom: var(--md-space);
}
.alf-project-logo img {
  display: inline-block;
  width: 320px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.alf-project-intro .row > div > :last-child {
  margin-bottom: 0 !important;
}
@media(max-width:991px) {
  .alf-project-intro .row > div + div {
    margin-top: var(--md-space);
  }
}
.alf-project-logo-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.alf-project-logo-column > .alf-project-logo {
  width: 100%;
}
.alf-project-logo-column > :last-child {
  margin-bottom: 0 !important;
}
.alf-project-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--black-color);
  overflow: hidden;
}
.alf-project-video-frame.is-vertical {
  aspect-ratio: 9 / 16;
}
.alf-project-video-frame iframe, .alf-project-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}
.alf-project-video figcaption {
  margin-top: var(--xs-space);
}
.dett-progetto span.text-yellow {
  display: block;
  margin-bottom: 7px !important;
}
@media(max-width:991px) {
  .dett-progetto .row > .col-lg-6 {
    margin-bottom: 1.5rem;
  }
  .dett-progetto .row > .col-lg-6:last-of-type {
    margin-bottom: 0;
  }
  .dett-progetto .row > .col-lg-5 {
    margin-bottom: 1.5rem;
  }
  .dett-progetto .row > .col-lg-5:last-of-type {
    margin-bottom: 0;
  }
  .dett-progetto .row .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
}
@media(max-width:767px) {
  .dett-progetto h3.xl-text {
    font-size: var(--lg-text);
  }
}