.category-ad-banners {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  width: 100%;
  margin: 30px 0;
  box-sizing: border-box;
}

.category-ad-banner {
  flex: 1 1 calc(50% - 9px); 
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  background: #f6f6f6;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.category-ad-banner:hover {
  transform: translateY(-3px);
}

.category-ad-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .category-ad-banner {
    flex: 1 1 100%;
  }
}