@media (min-width: 600px) {
  .card-grid,
  .dash-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .controls {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .search-box {
    flex: 2 1 260px;
  }

  .filter-group {
    flex: 1 1 160px;
    width: auto;
  }
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .nav-menu {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .nav-list {
    flex-direction: row;
    gap: 8px;
    padding: 0;
  }

  .nav-link {
    padding: 10px 14px;
  }
}

@media (min-width: 992px) {
  .card-grid,
  .dash-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .card-grid,
  .dash-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 420px) {
  .hero {
    padding: 68px 0 80px;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .section {
    padding: 54px 0;
  }
}
