/* Video Feature -- explainer copy beside a video card with a floating callout. */

.videofeature-block {
  background: var(--bellco-bg);
  border-top: 1px solid var(--bellco-divider);
  padding: 128px 0;
}

.videofeature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 96px;
  align-items: center;
}

.videofeature-block--media-left .videofeature-media {
  order: -1;
}

.videofeature-block .videofeature-head {
  margin-bottom: 0;
}

.videofeature-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--bellco-mint);
  margin: 24px 0;
}

.videofeature-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.videofeature-point-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bellco-mint);
  margin: 0 0 8px;
}

.videofeature-point-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--bellco-muted);
  margin: 0;
}

/* ── Video card ── */

.videofeature-media {
  position: relative;
}

.videofeature-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  border-radius: var(--bellco-radius);
  overflow: hidden;
  background: var(--bellco-bg-card);
  border: 1px solid rgba(139, 217, 186, 0.12);
  text-decoration: none;
}

.videofeature-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

/* No video means no play button and no label over the poster, so the 0.35 and
   the scrim are dimming a photo for the benefit of nothing that is there.
   Jon's note of 2026-09-07 on /vibratory-bowl-feeders/: show it straight. The
   card keeps its radius, border and crop -- only the wash comes off. */
.videofeature-card--poster .videofeature-poster {
  opacity: 1;
}

.videofeature-cardscrim {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(to top, rgba(8, 14, 24, 0.7) 0%, rgba(8, 14, 24, 0.3) 100%);
}

.videofeature-play {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.videofeature-playbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bellco-mint);
  transition: transform 0.2s;
}

/* The play triangle is drawn with borders -- no asset, no icon font. */
.videofeature-playbtn::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid var(--bellco-bg);
}

.videofeature-card:hover .videofeature-playbtn {
  transform: scale(1.1);
}

.videofeature-playlabel {
  font-family: var(--font1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 242, 240, 0.6);
}

.videofeature-duration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: var(--font1);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(242, 242, 240, 0.6);
  background: rgba(8, 14, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 9px;
}

.videofeature-callout {
  position: absolute;
  right: -24px;
  bottom: -24px;
  max-width: 260px;
  padding: 24px 32px;
  border-radius: var(--bellco-radius);
  background: var(--bellco-bg-card);
  border: 1px solid rgba(139, 217, 186, 0.15);
}

.videofeature-callout-value {
  display: block;
  font-family: var(--font1);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bellco-mint);
}

.videofeature-callout-label {
  display: block;
  font-family: var(--font1);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bellco-muted);
  margin-top: 6px;
}

@media (max-width: 1199px) {
  .videofeature-block {
    padding: 88px 0;
  }

  .videofeature-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  /* Copy always leads on a stacked layout. */
  .videofeature-block--media-left .videofeature-media {
    order: 0;
  }

  .videofeature-callout {
    right: 0;
    bottom: -20px;
  }
}

@media (max-width: 767px) {
  .videofeature-block {
    padding: 64px 0;
  }

  .videofeature-card {
    height: 280px;
  }

  .videofeature-playbtn {
    width: 60px;
    height: 60px;
  }

  .videofeature-callout {
    position: static;
    max-width: none;
    margin-top: 16px;
    padding: 20px 24px;
  }

  .videofeature-callout-value {
    font-size: 32px;
  }
}
