/* Advertisement / announcement slots (getAdWords). Editor content is an <img> (often
   inside <p><a>) with style="width:100%": make every slot span its full width. */
.ad-band { padding-block: var(--space-6) 0; background: transparent; }
.ad-band + .section, .ad-band + .contentView { padding-top: var(--space-6); }

.ad-band .adTextStatic, .ad-slot .adTextStatic,
.topBarAddWord .adTextStatic, .titleBarAddWord .adTextStatic {
  margin: 0; padding: 0; background: none; text-align: center;
}
.ad-band .adTextStatic + .adTextStatic, .ad-slot .adTextStatic + .adTextStatic { margin-top: var(--space-4); }

/* never inherit the reading width of content paragraphs */
.adTextStatic p, .adTextStatic a { display: block; max-width: none !important; margin: 0; }
.ad-band img, .ad-slot img, .adTextStatic img {
  display: block; width: 100% !important; max-width: 100%; height: auto;
  border-radius: var(--radius);
}
.ad-band iframe, .ad-band video { width: 100%; border-radius: var(--radius); }
.ad-band .adTextStatic:hover img { box-shadow: var(--shadow); }
/* video ads (was a script that set height = width * 0.65) */
.ad-video { display: block; }
.ad-video video { display: block; width: 100%; aspect-ratio: 100 / 65; object-fit: cover; border-radius: var(--radius); }
