/* ---------- Scrolling Bottom Banner ---------- */
.banner-bottom {
  --banner-bottom-height: 80px;
  overflow: hidden;
  background: #eee;
  padding: 10px 0;
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  flex-shrink: 0;
  width: 100%;
  z-index: 1;
  min-height: 70px; /* reserve space on mobile/desktop */
}

.banner-track {
  display: flex;
  align-items: flex-start;
  gap: 0; /* spacing handled by divider */
  width: max-content;
  animation: scrollBanner 45s linear infinite;
}

/* 🟦 Group container: title above, images below */
.banner-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 280px;
  position: relative;
  padding: 0 20px; /* space for divider */
}

/* Wrapper around image row to allow dynamic divider height */
.image-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  position: relative;
}

/* Divider between groups using a pseudo-element */
.banner-group:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ccc;
}

/* 🟨 Centered title above images */
.group-title {
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 8px;
  white-space: nowrap;
}

/* 🖼️ Images inside row */
.image-row a {
  display: inline-block;
}

.image-row img {
  height: 70px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.image-row img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.banner-duplicate {
  display: flex;
  gap: 0; /* spacing handled by divider padding */
}

@keyframes scrollBanner {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 600px) {
  .image-row img {
    height: 50px;
  }
  .banner-group:not(:last-child)::after {
    display: none; /* hide divider on small screens */
  }
  .group-title {
    font-size: 0.9rem;
  }
}