/* ad-slot.css — Premium Sponsorship Layout */

/* ============================================================
   ADSENSE PRE-APPROVAL: Hide all ad slots until approved.
   Once Google AdSense approves the site, REMOVE this rule
   to let the real ads show.
   ============================================================ */
.ad-slot {
  display: none !important;
}

.ad-slot.adsense-approved {
  background-color: var(--color-surface);
  border: 1px solid var(--color-khaki);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-block: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ad-slot:hover {
  border-color: var(--color-amber);
  box-shadow: var(--shadow-paper-lifted);
}

.ad-label {
  display: block;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  width: 100%;
  background-color: var(--color-surface-sunken);
  border-bottom: 1px solid var(--color-khaki);
  font-weight: 600;
}

.ad-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-family: var(--font-family-base, sans-serif);
  
  /* High-end warm parchment shimmer gradient */
  background: linear-gradient(
    90deg,
    var(--color-surface) 25%,
    rgba(232, 224, 208, 0.4) 37%,
    var(--color-surface) 63%
  );
  background-size: 400% 100%;
  animation: adShimmer 2s ease-in-out infinite;
  
  width: 100%;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .ad-placeholder {
  background: linear-gradient(
    90deg,
    #1A1A2E 25%,
    rgba(232, 224, 208, 0.08) 37%,
    #1A1A2E 63%
  );
  background-size: 400% 100%;
}

@keyframes adShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.ad-slot:hover .ad-placeholder {
  color: var(--color-amber);
}

/* Specific Sizes */
.ad-slot--horizontal {
  width: 100%;
  max-width: 728px;
  margin-inline: auto;
}

.ad-slot--horizontal .ad-placeholder {
  height: 90px;
}

@media (max-width: 768px) {
  .ad-slot--horizontal .ad-placeholder {
    height: 100px;
  }
}

.ad-slot--rectangle {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
}

.ad-slot--rectangle .ad-placeholder {
  height: 250px;
}

.ad-slot--sidebar {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
}

.ad-slot--sidebar .ad-placeholder {
  height: 600px;
}

@media (max-width: 1024px) {
  .ad-slot--sidebar {
    display: none; /* Hide sidebar ad on smaller screens */
  }
}

