.video-trast {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background-color: #ff5300;
  border-radius: 24px;
  max-width: 1080px;
}

@media screen and (max-width: 450px) {
  .video-trast {
    padding: 12px;
  }
}

.video-trast-content {
  display: flex;
  align-items: center;
  margin: auto;
  font-family: "Arial", sans-serif;
  color: white;
  text-align: center;
}
.video-trast-content p {
  margin: 0;
  padding: 0;
}

/* Responsive 16:9 wrapper (modern browsers) */
.video-wrap {
  max-width: 1000px;
  margin: 1rem auto;
  margin-bottom: 58px;
  aspect-ratio: 16 / 9; /* keeps 16:9 ratio */
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
  .video-wrap {
    margin-bottom: 16px;
  }
}

/* Make the <video> fill the wrapper and preserve aspect */
.video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain; /* use 'cover' if you want cropping */
  background: black;
}

/* Small accessible fallback */
.fallback {
  padding: 1rem;
  color: #fff;
  background: #222;
  text-align: center;
}
