/* ===== FEATURED ADS - CENTRAL CSS FOR ALL PAGES ===== */

/* Uniform Featured Ad Container Styles - BOTH SAME SIZE */
.featured-ad-container {
  width: 289px !important;
  height: 204px !important;
  background: #f8f9fa;
  border-radius: 13.6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #dee2e6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
}

/* Force both containers to be exactly the same size */
#featuredCarouselLeft,
#featuredCarouselRight {
  width: 289px !important;
  height: 204px !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
}

.featured-ad-container span {
  color: #6c757d;
  font-size: 1.02rem;
  text-align: center;
  display: block;
}

.featured-ad-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 13.6px;
}

.featured-ad-container a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
  border-radius: 13.6px;
  overflow: hidden;
}

/* Ad Overlay Styles */
.ad-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 8px;
  border-radius: 0 0 13.6px 13.6px;
  text-align: center;
}

.ad-title {
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 2px;
}

.ad-description {
  font-size: 10px;
  opacity: 0.9;
  text-align: center;
}

.ad-price {
  font-size: 11px;
  color: #ffd700;
  font-weight: bold;
  text-align: center;
}

/* Header Row Layout */
.header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 61px;
  max-width: 1190px;
  margin: 1.7rem auto 1.02rem auto;
}

/* Logo Styles */
.logo {
  margin: 0;
  text-align: center;
}

.logo img {
  max-width: 255px;
}

/* Mobile Responsive for Featured Ads */
@media (max-width: 768px) {
  .header-row {
    flex-direction: column !important;
    gap: 15px !important;
    margin: 0.8rem auto !important;
  }
  
  /* Hide left ad on mobile - show only right ad centered */
  #featuredCarouselLeft {
    display: none !important;
  }
  
  /* Right ad on mobile - much smaller size */
  #featuredCarouselRight {
    width: 200px !important;
    height: 120px !important;
    margin: 0 auto !important;
  }
  
  .logo img {
    max-width: 160px !important;
  }
}

@media (max-width: 480px) {
  .header-row {
    margin: 0.4rem auto !important;
  }
  
  /* Even smaller on very small screens */
  #featuredCarouselRight {
    width: 160px !important;
    height: 100px !important;
  }
  
  .logo img {
    max-width: 140px !important;
  }
}

/* ===== END FEATURED ADS CSS ===== */ 