/* Container for multiple ad placeholders */
.ad-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
  width: 100%;
  height: 100%;
}

/* Individual ad placeholder - smaller for multiple ads */
.ad-placeholder {
  width: 100%;
  max-width: 300px;
  height: 350px; /* Reduced height for multiple ads */
  background: linear-gradient(135deg, #2d3142 0%, #4f4f4f 50%, #2d3142 100%);
  border: 2px dashed #4ecdc4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5rem auto; /* Remove the large margin */
  position: relative;
  overflow: hidden;
}

.ad-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(78, 205, 196, 0.1) 10px,
    rgba(78, 205, 196, 0.1) 20px
  );
  pointer-events: none;
}

.ad-content {
  text-align: center;
  padding: 1.5rem 1rem; /* Reduced padding */
  color: #fffdd0;
  position: relative;
  z-index: 1;
}

.ad-icon {
  font-size: 2.5rem; /* Smaller icon */
  margin-bottom: 0.8rem;
  display: block;
  animation: pulse 2s infinite;
}

.ad-title {
  font-size: 1.3rem; /* Smaller title */
  font-weight: bold;
  margin-bottom: 0.8rem;
  color: #4ecdc4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ad-text {
  font-size: 0.9rem; /* Smaller text */
  margin-bottom: 1rem;
  opacity: 0.9;
}

.ad-contact {
  font-size: 0.8rem; /* Smaller contact text */
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.ad-email {
  display: inline-block;
  color: #4ecdc4;
  text-decoration: none;
  font-weight: bold;
  padding: 0.4rem 0.8rem; /* Smaller padding */
  border: 1px solid #4ecdc4;
  border-radius: 5px;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
  font-size: 0.8rem; /* Smaller font */
}

.ad-email:hover {
  background-color: #4ecdc4;
  color: #2d3142;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(78, 205, 196, 0.3);
}

.ad-dimensions {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 0.6rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 4px;
  border-radius: 3px;
  opacity: 0.6;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .ad-placeholder {
    max-width: 250px;
    height: 300px;
  }

  .ad-column {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .ad-placeholder {
    max-width: 200px;
    height: 250px;
  }

  .ad-column {
    gap: 1rem;
    padding: 0.5rem;
  }

  .ad-content {
    padding: 1rem 0.5rem;
  }

  .ad-icon {
    font-size: 2rem;
  }

  .ad-title {
    font-size: 1.1rem;
  }
}

/* Hide ads on very small screens */
@media (max-width: 480px) {
  .ad-column {
    display: none;
  }
}
