/* Tariff cards: real fleet photos */

.tariff-card__image-wrap {
  height: 280px;
  background: #f0f0f0 !important;
  overflow: hidden;
  flex-shrink: 0;
}

.tariff-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tariff-card__bottom {
  padding-top: 16px;
}

.tariffs-grid {
  align-items: start;
}

/* Desktop: bottom row same width */
@media (min-width: 961px) {
  .tariffs-grid .tariff-card:nth-child(4),
  .tariffs-grid .tariff-card:nth-child(5) {
    flex: 0 0 calc(33.333% - 16px);
  }
}

/* Tablet + Mobile: all cards full width, single column */
@media (max-width: 960px) {
  .tariffs-grid .tariff-card,
  .tariffs-grid .tariff-card:nth-child(4),
  .tariffs-grid .tariff-card:nth-child(5) {
    flex: 0 0 100% !important;
  }
  .tariff-card__image-wrap {
    height: 260px;
  }
}
