/* ------- text + video block */

/* The headline sits in its own row above the columns, so text and video both start below it. */
.text-video {
  margin-top: 2.5rem;  /* 40 */
}

.text-video .text-video__headline {
  margin-top: 0;
}

.text-video .wp-block-columns {
  align-items: flex-start;
}

.text-video .wp-block-columns.text-video__head {
  margin-bottom: 0;
}

.text-video .text-video__video-headline {
  margin: 0 0 0.625rem;  /* 0 0 10 */
  color: inherit;
  font-size: 1.125rem;  /* 18 */
  font-weight: 700;
  line-height: 1.5;
}

.text-video .text-video__video-text {
  margin-top: 1.25rem;  /* 20 */
}

.text-video .text-video__video-text p:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 782px) {
  .text-video--video-left .wp-block-columns {
    flex-direction: row-reverse;
  }

  /* Keep the headline as wide as the text column (right side when the video is on the left). */
  .text-video .wp-block-columns.text-video__head > .wp-block-column {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 781px) {
  .text-video {
    margin-top: 1.25rem;  /* 20 */
  }

  .text-video__media {
    margin-top: 1.25rem;  /* 20 */
  }
}

.text-video__notice {
  margin: 0 1.5rem 1rem;  /* 0 24 16 */
  padding: 0.5rem 0.75rem;  /* 8 12 */
  border-left: 4px solid #d1012d;
  background: #f4f5f6;
  color: #003064;
  font-size: 0.875rem;  /* 14 */
  font-weight: 500;
}
