.video-security-page .service-fit > .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.video-security-page .service-fit > .shell > .section-heading {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 2.8vw, 38px);
  width: min(52%, 620px);
  min-width: 0;
  margin: 0;
  padding: clamp(34px, 4.5vw, 64px);
}

.video-security-page .service-fit > .shell > .section-heading h2 {
  max-width: 540px;
  color: #fff;
  font-size: clamp(2.1rem, 3.25vw, 3.55rem);
  hyphens: none;
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
}

.video-security-page .service-fit > .shell > .section-heading > p {
  max-width: 470px;
  color: var(--text-on-dark-muted);
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  line-height: 1.65;
}

.video-security-page .video-security-feature {
  position: relative;
  isolation: isolate;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--navy);
}

.video-security-page .video-security-feature::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgb(7 22 37 / 96%) 0%,
    rgb(7 22 37 / 84%) 37%,
    rgb(7 22 37 / 24%) 68%,
    rgb(7 22 37 / 0%) 84%
  );
  content: "";
  pointer-events: none;
}

.video-security-page .video-security-feature picture {
  display: block;
  width: 100%;
  aspect-ratio: 1440 / 670;
  overflow: hidden;
  background: var(--navy);
}

.video-security-page .video-security-feature img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-security-page .service-fit > .shell > .video-use-grid {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.video-security-page .service-fit .video-use-grid > article:first-child {
  border-radius: 0 0 0 var(--radius-sm);
}

.video-security-page .service-fit .video-use-grid > article:last-child {
  border-radius: 0 0 var(--radius-sm) 0;
}

.video-security-page .video-use-grid__media {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3;
  margin: clamp(22px, 2.4vw, 30px) 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-blue);
}

.video-security-page .video-use-grid__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-security-page .video-use-grid__media + h3 {
  position: relative;
  z-index: 2;
  margin-top: clamp(22px, 2vw, 28px);
}

@media (max-width: 980px) {
  .video-security-page .service-fit > .shell > .section-heading {
    grid-row: 1;
    align-self: stretch;
    justify-self: stretch;
    gap: clamp(22px, 4vw, 30px);
    width: auto;
    padding: clamp(32px, 6vw, 52px);
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: var(--navy);
  }

  .video-security-page .service-fit > .shell > .section-heading h2,
  .video-security-page .service-fit > .shell > .section-heading > p {
    max-width: 720px;
  }

  .video-security-page .video-security-feature {
    grid-row: 2;
    border-top: 0;
    border-radius: 0;
  }

  .video-security-page .video-security-feature::after {
    display: none;
  }

  .video-security-page .service-fit > .shell > .video-use-grid {
    grid-row: 3;
  }

  .video-security-page .service-fit .video-use-grid > article:first-child {
    border-radius: 0;
  }

  .video-security-page .service-fit .video-use-grid > article:last-child {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }
}

@media (max-width: 720px) {
  .video-security-page .service-fit > .shell > .section-heading {
    gap: 22px;
    padding: 28px 24px 30px;
  }

  .video-security-page .service-fit > .shell > .section-heading h2 {
    font-size: clamp(2rem, 8.8vw, 2.75rem);
    line-height: 1.04;
  }

  .video-security-page .video-security-feature picture {
    aspect-ratio: 4 / 3;
  }

  .video-security-page .video-use-grid__media {
    max-width: none;
    margin-top: 22px;
  }

  .video-security-page .video-use-grid__media + h3 {
    margin-top: 24px;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .video-security-page .video-security-feature img {
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: 68% 50%;
    transition: transform var(--motion-slow) var(--ease-standard);
  }

  .video-security-page .video-security-feature:hover img {
    transform: translate3d(-0.55%, -0.15%, 0) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-security-page .video-security-feature img {
    transform: none !important;
    transition: none !important;
  }
}
