.wp-block-prospector-video-block.pvb-block-shell {
  --pvb-max-width: 1180px;
  width: 100%;
  max-width: none !important;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-prospector-video-block.pvb-block-shell > .pvb-wrap {
  width: min(100%, var(--pvb-max-width));
  max-width: var(--pvb-max-width);
  margin-left: auto;
  margin-right: auto;
}

.editor-styles-wrapper .wp-block[data-type="prospector/video-block"].pvb-block-shell,
.editor-styles-wrapper .wp-block[data-type="prospector/video-block"] {
  width: 100%;
  max-width: none !important;
}

.editor-styles-wrapper .wp-block[data-type="prospector/video-block"] > .pvb-wrap,
.editor-styles-wrapper .wp-block[data-type="prospector/video-block"] > .pvb-editor-shell,
.editor-styles-wrapper .wp-block[data-type="prospector/video-block"].pvb-block-shell > .pvb-wrap {
  width: min(100%, var(--pvb-max-width));
  max-width: var(--pvb-max-width);
  margin-left: auto;
  margin-right: auto;
}

.pvb-wrap {
  --pvb-border: #5A503A;
  box-sizing: border-box;
  padding-inline: clamp(16px, 2vw, 28px);
}

.pvb-wrap * {
  box-sizing: border-box;
}

.pvb-main {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
}

.pvb-copy {
  min-width: 0;
}

.pvb-title {
  margin: 0 0 clamp(14px, 1.5vw, 20px);
  color: #f0a61f;
}

.pvb-description {
  max-width: 58ch;
}

.pvb-description p {
  margin: 0;
  color: #ffffff;
  line-height: 1.65;
}

.pvb-media {
  min-width: 0;
}

.pvb-video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--pvb-border);
  border-radius: 4px;
  background: rgba(0,0,0,.24);
  box-shadow: 0 18px 42px rgba(0,0,0,.34);
}

.pvb-video-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,.18);
}

.pvb-video-shell {
  overflow: hidden;
}

.pvb-video-shell iframe,
.pvb-video-poster,
.pvb-video-overlay,
.pvb-video-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.pvb-video-trigger {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #050505;
}

.pvb-video-poster {
  object-fit: cover;
  object-position: center;
}

.pvb-video-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.28) 100%);
  pointer-events: none;
  transition: background-color .2s ease;
}

.pvb-play-control {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: clamp(64px, 8vw, 82px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.94);
  border-radius: 50%;
  color: #111;
  background: #ffe200;
  box-shadow: 0 10px 30px rgba(0,0,0,.46);
  transform: translate(-50%, -50%);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.pvb-play-icon {
  width: 0;
  height: 0;
  margin-left: 6%;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid currentColor;
}

.pvb-video-trigger:hover .pvb-play-control,
.pvb-video-trigger:focus-visible .pvb-play-control {
  background: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.55), 0 0 0 5px rgba(255,226,0,.2);
  transform: translate(-50%, -50%) scale(1.07);
}

.pvb-video-trigger:focus-visible {
  outline: 3px solid #ffe200;
  outline-offset: -3px;
}

.pvb-video-placeholder,
.pvb-editor-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 20px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  background: rgba(0,0,0,.18);
}

.pvb-cta-row {
  margin-top: clamp(24px, 3vw, 34px);
  display: flex;
  justify-content: center;
}

.pvb-cta {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--pvb-border);
  background: rgba(0,0,0,.18);
  color: #fff;
  min-height: 52px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  font-family: inherit;
  line-height: 1.2;
  letter-spacing: .03em;
}

.pvb-cta:hover,
.pvb-cta:focus {
  border-color: #a78029;
  color: #fff;
  background: rgba(0,0,0,.18);
  outline: none;
}

.pvb-editor-shell .components-base-control__field textarea {
  min-height: 140px;
}

@media (max-width: 900px) {
  .pvb-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pvb-copy {
    max-width: 720px;
  }

  .pvb-description {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .pvb-wrap {
    padding-inline: 14px;
  }

  .pvb-main {
    gap: 22px;
  }

  .pvb-cta {
    font-size: 18px;
  }
}
