.ad-slot {
  width: 100%;
  margin: 1rem 0;
}

body.ads-visual-disabled .ad-slot,
body.ads-visual-disabled .ad-slot__chrome,
body.ads-visual-disabled .ad-slot__placeholder,
body.ads-visual-disabled .ad-slot__eyebrow,
body.ads-visual-disabled .ad-slot .adsbygoogle {
  display: none !important;
}

.ad-slot--horizontal,
.ad-slot--inline,
.ad-slot--multiplex {
  max-width: 100%;
}

.ad-slot--sidebar {
  margin: 1rem 0 0;
}

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

.ad-slot__chrome {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 0.6rem 0.8rem;
  border: 1px dashed rgba(47, 86, 120, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: none;
}

.ad-slot__eyebrow {
  display: inline-flex;
  margin-bottom: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.ad-slot .adsbygoogle {
  display: block;
  width: 100%;
  min-height: 0;
}

.ad-slot__placeholder {
  display: none;
  gap: 0.3rem;
  margin-top: 0.2rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.35;
}

.ad-slot__placeholder strong {
  color: var(--heading);
}

.ad-slot--horizontal .ad-slot__chrome,
.ad-slot--inline .ad-slot__chrome,
.ad-slot--multiplex .ad-slot__chrome {
  min-height: 64px;
}

.ad-slot--sidebar .ad-slot__chrome {
  min-height: 84px;
  position: sticky;
  top: 1rem;
}

.ads-mode--debug .ad-slot__chrome {
  border-style: dashed;
  border-color: rgba(47, 86, 120, 0.22);
}

.ads-mode--debug .ad-slot__placeholder {
  display: grid;
}

.ads-mode--debug .ad-slot--pending {
  display: block;
}

.ads-mode--debug .ad-slot--pending .ad-slot__chrome {
  min-height: 0;
  padding: 0.45rem 0.65rem;
  border-color: rgba(47, 86, 120, 0.14);
  background: rgba(255, 255, 255, 0.34);
}

.ads-mode--debug .ad-slot--pending .ad-slot__eyebrow {
  margin-bottom: 0;
}

.ads-mode--debug .ad-slot--pending .ad-slot__placeholder {
  display: none;
}

.ads-mode--live .ad-slot--pending {
  display: none;
}

/* esconde slots ainda não configurados */
.ad-slot[data-slot="SUBSTITUIR_PELO_SLOT_REAL"] {
  display: none !important;
}

@media (max-width: 1023px) {
  .ad-slot {
    margin: 0.85rem 0;
  }

  .ad-slot--sidebar .ad-slot__chrome {
    position: static;
    min-height: 72px;
  }
}

@media (max-width: 767px) {
  .ad-slot {
    margin: 0.75rem 0;
  }

  .ad-slot__chrome {
    min-height: 0;
    padding: 0.55rem 0.7rem;
    border-radius: 16px;
  }

  .ad-slot--horizontal .ad-slot__chrome,
  .ad-slot--inline .ad-slot__chrome,
  .ad-slot--multiplex .ad-slot__chrome,
  .ad-slot--sidebar .ad-slot__chrome {
    min-height: 64px;
  }

  .ad-slot__placeholder {
    font-size: 0.8rem;
  }
}
