/* ===========================
   Video post hero
   =========================== */

.video-hero {
  padding-top: 24px;
  padding-bottom: 48px;
}

.video-hero__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: var(--wp--style--global--content-size, 1200px);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.video-hero__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-hero__title-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-hero__tag {
  display: inline-block;
  padding: 4px 10px;
  background: #2e2d2b;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
  align-self: flex-start;
  margin: 0;
}

.video-hero__title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: bold;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #2e2d2b;
}

.video-hero__description {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  color: #374151;
}

/* ===========================
   Embed iframe
   =========================== */

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-embed__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  height: 100%;
}

/* ===========================
   2-column body with sticky right
   =========================== */

.video-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 64px;
}

@media (min-width: 1024px) {
  .video-body {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 64px;
  }
}

.video-body__main {
  min-width: 0;
}

.video-body__main > :first-child {
  margin-top: 0;
}

.video-body__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .video-body__sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }
}
