/* ═══════════════════════════════════════════════════════════
   AD ZONE SYSTEM — FreeCalendarMaker
   - Containers hug exact IAB banner dimensions (zero waste)
   - Right rail: 160×600 skyscraper, absolutely positioned
   - Sidebar: 2× 300×250 MREC stacked, above print button
   - Everything hidden in print — always
   ═══════════════════════════════════════════════════════════ */

/* ── Shared unit base ────────────────────────────────────── */
.ad-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.ad-unit-label {
  font-size: 0.45rem;
  color: rgba(255,255,255,0.18);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
  font-family: inherit;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

/* ── Right rail — 160×600 Wide Skyscraper ────────────────── */
#ad-rail {
  position: absolute;
  top: 20px;
  right: 0;
  width: 160px;
  pointer-events: none;
  z-index: 10;
}
#ad-rail .ad-unit { pointer-events: all; }
@media (max-width: 1280px) { #ad-rail { display: none; } }

/* ── Placeholder tiles ───────────────────────────────────── */
.ad-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-family: inherit;
  letter-spacing: 0.04em;
  border-radius: 3px;
  box-sizing: border-box;
  color: rgba(255,255,255,0.15);
  border: 1px dashed rgba(255,255,255,0.08);
}

.ad-placeholder--skyscraper {
  width: 160px;
  height: 600px;
}

/* ── Print — hide all ad zones ───────────────────────────── */
@media print {
  #ad-rail,
  #ad-sidebar,
  .ad-unit,
  .ad-placeholder { display: none !important; }
}
