/* P10-SITE-1053: hard mobile guard for homepage hero image geometry */

@media (max-width: 720px) {
  .hero-media {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .hero-media::before {
    display: none !important;
  }

  .hero-media > .hero-main {
    display: block !important;
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    aspect-ratio: 3 / 2 !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .hero-media > .hero-float {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 8px;
  }

  .hero-stats div {
    min-width: 0;
    padding: 12px 10px !important;
  }

  .hero-stats dd {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 359px) {
  .hero-stats {
    gap: 6px;
  }

  .hero-stats div {
    padding: 10px 7px !important;
  }

  .hero-stats dd {
    font-size: 10px;
  }
}
