 body {
  font-family: sans-serif;
  background-color: #ffffff;
  padding: 2rem;
}
  a.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  max-width: 320px;
  min-width: 280px;              /* ✅ Prevent shrinking too much */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background-color: #000;
  margin: 0 auto;
}

    .card {
      display: flex;
      flex-direction: column;
      height: 360px;
    }

    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .card-content {
      padding: 0.8rem 1rem 1rem;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      background: linear-gradient(to bottom, #444, #000);
    }

    .card-content h2 {
      margin: 0 0 0.4rem;
      font-size: 1.15rem;
      color: white;
    }

    .card-content p {
      margin: 0 0 0.5rem;
      font-size: 0.9rem;
      color: #dddddd;
    }

    .badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 0.4rem; /* slightly smaller than before */
      margin-top: 0;
    }

    .badge {
   background-color: rgba(255, 255, 255, 0.1) !important;
  padding: 0.2rem 0.5rem !important;
  border-radius: 999px !important;
  font-size: 0.65rem !important;
  color: #cccccc !important;
  display: inline-block !important;
  line-height: 1 !important;
}

    img.hidden {
      display: none;
    }

   .latest-offers-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

#latest-offers-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* ✅ auto-fit ensures responsive flow */
  gap: 2rem;
  padding: 2rem;
}

 @media (max-width: 768px) {
  #latest-offers-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }
}

html { font-size: 16px !important; }

