/* Advertisement Section Styles */
.advertisements-section {
  background-color: #f8f9fa;
  padding: 40px 0;
  position: relative;
}

.advertisements-section .section-title {
  margin-bottom: 30px;
}

.advertisements-container {
  position: relative;
  margin-bottom: 20px;
}

.ad-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ad-item {
  flex: 1;
  min-width: 300px;
}

.ad-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ad-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ad-card:hover img {
  transform: scale(1.05);
}

.ad-video-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.ad-content {
  padding: 15px;
}

.ad-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #2c3e50;
}

.ad-description {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 0;
}

.ad-placeholder {
  background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
  border-radius: 10px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #cbd5e0;
}

.ad-placeholder-content {
  text-align: center;
  color: #4b5563;
}

.ad-placeholder-content i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #6b7280;
}

.ad-placeholder-content p {
  font-size: 16px;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ad-item {
    min-width: 100%;
  }

  .ad-carousel {
    flex-direction: column;
  }
}
