@charset "utf-8";
/* CSS Document */


/* ===== BLOCK ===== */
.as-video-as {
  max-width: 1200px;
  margin: 0 auto;
  font-family: sans-serif;
}

.as-video-as__wrapper {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Video */
.as-video-as__video {
  flex: 0 0 50%;
  position: relative;
  aspect-ratio: 16 / 9;
}

.as-video-as__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

/* Content */
.as-video-as__content {
  flex: 1;
}

.as-video-as__title {
  margin: 0 0 12px;
}

.as-video-as__text {
  margin: 0 0 16px;
  line-height: 1.6;
}

.as-video-as__image {
  width: 100%;
  display: block;
  border-radius: 8px;
}
	@media (max-width: 1024px) {
  .as-video-as__wrapper {
    gap: 16px;
  }

  .as-video-as__video {
    flex: 0 0 45%;
  }
}
	@media (max-width: 960px) {
  .as-video-as__wrapper {
    flex-direction: column;
  }

  .as-video-as__video,
  .as-video-as__content {
    width: 100%;
  }

  .as-video-as__image {
    margin-top: 16px;
  }
}



/*
</style>




<div class="as-video-as">
  <div class="as-video-as__wrapper">

    <div class="as-video-as__video">
      <iframe
        class="as-video-as__iframe"
        src="https://www.youtube.com/embed/dQw4w9WgXcQ"
        allowfullscreen>
      </iframe>
    </div>

    <div class="as-video-as__content">
      <h2 class="as-video-as__title">Titolo del blocco</h2>

      <p class="as-video-as__text">
        Questo è il testo descrittivo del blocco video.
      </p>

      <img
        class="as-video-as__image"
        src="https://via.placeholder.com/600x300"
        alt="Immagine descrittiva">
    </div>

  </div>
</div>
