/* Slide 01 (hero), mobile only (<=800px): recomposed so the vehicle front reads as a top visual band,
   followed by the title, message and KPIs. Desktop rules are untouched. */
@media (max-width: 800px) {
  #top.hero {
    position: relative !important;
    overflow: hidden;
    display: block !important;
    height: auto !important;
    min-height: 100svh !important;
    padding: 0 8vw 104px !important;
  }

  #top .hero-image {
    position: absolute !important;
    top: 62px !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 46vh !important;
    background-image:
      linear-gradient(0deg, var(--bg) 0%, rgba(3, 17, 28, 0.25) 42%, transparent 78%),
      url('assets/autocert-heritage-background.png');
    background-position: center, 68% center;
    background-size: cover, cover;
    background-repeat: no-repeat;
  }

  #top .hero-content {
    position: relative;
    z-index: 1;
    width: 100% !important;
    max-width: 100% !important;
    margin: calc(46vh + 58px) 0 0 !important;
  }

  #top .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  #top .hero-metrics > div:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  #top .hero-foot {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 28px;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
  }

  #top .hero-foot span,
  #top .hero-foot span:last-child {
    display: inline;
    max-width: none;
    margin-top: 0;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
  }
}
