/* Smart engineering only: four unchanged highlights beside one portrait video. */
.engineering-highlights-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}
.engineering-highlights-layout .highlight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
}
.engineering-highlights-layout .highlight-grid article { min-width: 0; }
.engineering-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.engineering-video-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy);
  background: #fff;
  text-decoration: none;
}
a.engineering-video-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
a.engineering-video-card:hover, a.engineering-video-card:focus-visible {
  transform: translateY(-6px);
  border-color: #20bfda;
  box-shadow: 0 0 0 1px rgb(32 191 218 / 24%), 0 0 28px rgb(32 191 218 / 32%), 0 18px 32px rgb(7 28 53 / 14%);
}
a.engineering-video-card:focus-visible { outline: 3px solid var(--navy); outline-offset: 5px; }
.engineering-video-poster { position: relative; aspect-ratio: 9 / 16; overflow: hidden; isolation: isolate; }
.engineering-video-poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
a .engineering-video-poster::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgb(7 28 53 / 18%), transparent 22%, transparent 78%, rgb(7 28 53 / 70%)); pointer-events: none; }
.engineering-video-badge, .engineering-video-watch { position: absolute; z-index: 1; color: #fff; font-size: 12px; font-weight: 750; }
.engineering-video-badge { top: 12px; left: 12px; padding: 4px 10px; border: 1px solid rgb(255 255 255 / 30%); border-radius: 20px; background: rgb(7 28 53 / 75%); }
.engineering-video-watch { bottom: 15px; left: 0; right: 0; text-align: center; }
.engineering-video-play { position: absolute; top: 50%; left: 50%; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; transform: translate(-50%, -50%); border: 2px solid rgb(255 255 255 / 85%); border-radius: 50%; background: rgb(7 28 53 / 75%); box-shadow: 0 5px 24px rgb(0 0 0 / 25%); }
.engineering-video-play::before { content: ''; margin-left: 5px; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 17px solid #fff; }
.engineering-video-caption { display: flex; flex-direction: column; gap: 3px; padding: 13px 15px; }
.engineering-video-caption strong { font-size: 15px; font-weight: 800; }
.engineering-video-caption > span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; }

.engineering-video-card { max-width: 279px; }
@media (max-width: 1000px) {
  .engineering-highlights-layout { grid-template-columns: 1fr; gap: 24px; }
  .engineering-videos { width: min(100%, 580px); }
  .engineering-highlights-layout .highlight-grid article { min-height: 180px; }
}
@media (max-width: 600px) {
  .engineering-highlights-layout .highlight-grid { gap: 12px; }
  .engineering-highlights-layout .highlight-grid article { min-height: 0; padding: 18px; }
  .engineering-videos { gap: 12px; }
  .engineering-video-play { width: 52px; height: 52px; }
  .engineering-video-caption { padding: 11px 10px; }
  .engineering-video-caption strong { font-size: 13px; }
  .engineering-video-badge { top: 9px; left: 9px; padding: 3px 8px; font-size: 10px; }
  .engineering-video-watch { bottom: 12px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  a.engineering-video-card { transition: none; }
  a.engineering-video-card:hover, a.engineering-video-card:focus-visible { transform: none; }
}
