/* Alex's property-site player: 30% narrower, centered, original frame ratio. */
#video-section > .section-heading,
#video-player,
#video-section > .web-video-note,
#video-section > .web-video-note + div {
  width: 70%;
  margin-inline: auto;
}
/* The generated note has an inline margin shorthand; keep it aligned too. */
#video-section > .web-video-note {
  margin-inline: auto !important;
}
#video-player > video,
#video-player > iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
#video-player > video:fullscreen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
}

.property-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.property-video-url {
  flex-basis: 100%;
  overflow-wrap: anywhere;
  font-size: 13px;
}
@media (max-width: 700px) {
  #video-section > .section-heading,
  #video-player,
  #video-section > .web-video-note,
  #video-section > .web-video-note + div {
    width: 100%;
  }
  #video-section > .property-video-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .property-video-actions > .pill {
    min-width: 0;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    font-size: 12px;
    line-height: 1.5;
  }
  .property-video-actions > .property-video-url,
  .property-video-actions > [data-film-status] {
    grid-column: 1 / -1;
  }
  .property-video-actions > [data-film-status]:empty {
    display: none;
  }
}
