/* Floating Ad Spaces Styles */
.floating-ad {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  height: 600px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.floating-ad-left {
  left: 0;
}

.floating-ad-right {
  right: 0;
}

.ad-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.ad-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  color: #333;
  font-size: 14px;
  text-align: center;
  padding: 10px;
}

.ad-close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .floating-ad {
    width: 120px;
    height: 600px;
  }
}

@media (max-width: 1200px) {
  .floating-ad {
    width: 120px;
    height: 400px;
  }
}

@media (max-width: 992px) {
  .floating-ad {
    display: none;
  }
}

/* Alternative ad placement for mobile */
.mobile-ad {
  display: none;
  width: 100%;
  height: 100px;
  background-color: #f0f0f0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin: 20px 0;
  padding: 10px;
  text-align: center;
}

@media (max-width: 992px) {
  .mobile-ad {
    display: block;
  }
}
