/* OnRoadWeather video section. All selectors stay inside this component. */
.video-showcase {
  padding: 30px 0 20px;
  color: var(--m-white, #f7fdff);
  background: linear-gradient(180deg, transparent, rgba(4, 31, 50, .38), transparent);
}

.video-showcase *,
.video-showcase *::before,
.video-showcase *::after {
  box-sizing: border-box;
}

.video-showcase .video-showcase__heading {
  max-width: 780px;
  margin: 0 auto 18px;
  text-align: center;
}

.video-showcase .video-showcase__heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  font-style: italic;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.video-showcase .video-showcase__heading h2 em {
  display: inline-block;
  margin-inline-start: .18em;
  color: var(--m-cyan, #20e9f3);
}

.video-showcase .video-showcase__heading > p {
  margin: 8px 0 0;
  color: var(--m-muted, #d9e9f1);
  font-size: 13px;
  line-height: 1.5;
}

.video-showcase .video-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-showcase .video-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(48, 215, 255, .48);
  border-radius: 14px;
  background: linear-gradient(145deg, #062b43, #031827);
  box-shadow: 0 9px 25px rgba(0, 5, 13, .36), inset 0 0 20px rgba(0, 198, 237, .045);
}

.video-showcase .video-card__media {
  position: relative;
  width: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000b17;
}

.video-showcase .video-card__poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: #000b17;
  color: #fff;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.video-showcase .video-card__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 9, 20, .02) 55%, rgba(0, 9, 20, .82));
  pointer-events: none;
}

.video-showcase .video-card__poster > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000b17;
}

.video-showcase .video-card__poster > img.is-fallback {
  object-fit: contain;
}

.video-showcase .video-card__play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding-left: 3px;
  border: 1px solid rgba(200, 255, 255, .95);
  border-radius: 50%;
  background: linear-gradient(160deg, #79ffff, #04c8df);
  color: #001420;
  font-size: 23px;
  line-height: 1;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 7px rgba(0, 18, 34, .38), 0 3px 22px rgba(0, 0, 0, .5);
  transition: box-shadow .18s ease, background .18s ease;
}

.video-showcase .video-card__poster:hover .video-card__play,
.video-showcase .video-card__poster:focus-visible .video-card__play {
  background: #a4ffff;
  box-shadow: 0 0 0 7px rgba(0, 18, 34, .48), 0 0 28px rgba(32, 233, 243, .4);
}

.video-showcase .video-card__poster:focus-visible {
  outline: 3px solid #a4ffff;
  outline-offset: -5px;
}

.video-showcase .video-card__watch {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-shadow: 0 1px 5px #000;
}

.video-showcase .video-card__duration {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  padding: 4px 7px;
  border: 1px solid rgba(223, 248, 255, .25);
  border-radius: 5px;
  background: rgba(0, 11, 23, .84);
  color: #f7fdff;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
}

.video-showcase .video-card__media > iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.video-showcase .video-card__media > iframe:focus-visible {
  outline: 3px solid #a4ffff;
  outline-offset: -3px;
}

.video-showcase .video-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px 19px 19px;
  border-top: 1px solid rgba(48, 215, 255, .25);
}

.video-showcase .video-card__eyebrow {
  margin: 0 0 7px;
  color: #ffc17b;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.video-showcase .video-card__body h3 {
  margin: 0 0 7px;
  color: #f7fdff;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.video-showcase .video-card__description {
  margin: 0 0 14px;
  color: #d9e9f1;
  font-size: 13px;
  line-height: 1.55;
}

.video-showcase .video-card__external {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: auto;
  color: #75faff;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: rgba(117, 250, 255, .5);
  text-underline-offset: 4px;
}

.video-showcase .video-card__external:hover {
  color: #b1ffff;
}

.video-showcase .video-card__external:focus-visible,
.video-showcase .video-showcase__footer a:focus-visible {
  outline: 2px solid #a4ffff;
  outline-offset: 4px;
}

.video-showcase .video-showcase__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}

.video-showcase .video-showcase__note {
  max-width: 690px;
  margin: 0;
  color: #c7dfeb;
  font-size: 11px;
  line-height: 1.55;
}

.video-showcase .video-showcase__note a {
  color: #75faff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video-showcase .video-showcase__footer > .m-button {
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .video-showcase {
    padding: 27px 0 12px;
  }

  .video-showcase .video-showcase__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }

  .video-showcase .video-showcase__heading > p {
    font-size: 12px;
  }

  .video-showcase .video-showcase__footer {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .video-showcase .video-card__external {
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-showcase .video-card__play {
    transition: none;
  }
}
