/* ==========================================================================
   OpenPress — Ad Slots (AdSense-ready containers)
   Each slot reserves space to avoid layout shift (good for CLS / AdSense
   policy compliance). Replace the .ad-slot__inner contents with your
   AdSense <ins> tag — see /js/ads.js for where units are injected.
   ========================================================================== */

.ad-slot {
  width: 100%;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ad-slot__label {
  font-size: 0.68rem;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 8px;
}

.ad-slot__inner {
  width: 100%;
  background: var(--color-surface);
  border: 1px dashed var(--color-divider-strong);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-tertiary);
  font-size: 0.78rem;
  overflow: hidden;
}

/* Reserved heights per slot type to prevent CLS */
.ad-slot--leaderboard .ad-slot__inner { min-height: 90px; }
.ad-slot--in-feed .ad-slot__inner     { min-height: 120px; }
.ad-slot--in-article .ad-slot__inner  { min-height: 280px; }
.ad-slot--sidebar .ad-slot__inner     { min-height: 250px; }

.ad-slot--in-feed { grid-column: 1 / -1; }

@media (max-width: 620px) {
  .ad-slot--in-article .ad-slot__inner { min-height: 250px; }
}
