.ad-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 1.25rem auto;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
  background: var(--color-bg-subtle, #eef0f4);
  overflow: hidden;
}

.ad-slot--banner {
  min-height: 60px;
  max-height: 90px;
}

.ad-slot--native {
  min-height: 280px;
}

.ad-slot__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  color: var(--color-text-muted, #6b7280);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}

.ad-slot__marker {
  width: 100%;
  pointer-events: none;
}

.ad-slot__unit {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: inherit;
  display: block;
}

.ad-slot--filled .ad-slot__label {
  display: none;
}

.ad-slot--apk .ad-slot__marker {
  margin: 0;
  border: 0;
  background: transparent;
}

.page--apk {
  padding-bottom: 60px;
}

.page--apk .site-footer {
  margin-bottom: 0;
}

.page--premium .ad-slot {
  display: none;
}

@media (min-width: 769px) {
  .ad-slot {
    max-width: 728px;
  }
}
