/* Erthiox ads — premium, quiet slots. Uses theme variables so dark / high-contrast
   themes keep working. A slot stays hidden until its ad script actually loads,
   so a failed ad never leaves an empty "Sponsored" card on the page. */
.erthiox-ad {
  display: none;
  margin: 48px auto;
  padding: 20px 16px 16px;
  background: var(--color-surface, #ffffff);
  border: 1px solid var(--color-border, #e8e5df);
  border-radius: 16px;
  box-shadow: var(--shadow-1, 0 4px 20px 0 rgba(17, 22, 34, 0.02));
  text-align: center;
  box-sizing: border-box;
}
.erthiox-ad[data-ad-loaded="true"] { display: block; }
.erthiox-ad--wide { max-width: 768px; }
.erthiox-ad--card { max-width: 340px; }
.erthiox-ad--native { max-width: 720px; }
.erthiox-ad-label {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-secondary, #5a606c);
}
.erthiox-ad iframe {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  border: 0;
}
@media (max-width: 480px) {
  .erthiox-ad { margin: 32px auto; padding: 16px 12px 12px; }
}
