.banner-editor{max-width:850px}.banner-preview{width:100%;max-height:240px;object-fit:contain;background:#edf4ff;border-radius:12px}.banner-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}.banner-card{padding:16px;border:1px solid #dae5f5;border-radius:12px}.banner-image>img{display:block;width:100%;height:130px;object-fit:contain;background:#edf4ff;margin-bottom:12px}.banner-card button{margin-right:8px}.banner-status{margin:16px 0;color:#16477c}

/* Website banner overview: what is scrolling on the homepage now, and what is not. */
.banner-gallery{display:block}.banner-group{margin-top:22px}.banner-group h3{margin:0 0 12px;font-size:17px;color:var(--ink)}.banner-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}.banner-card{display:flex;flex-direction:column;gap:6px}.banner-card>strong{line-height:1.35}.banner-card>p{margin:0 0 6px;color:var(--muted);font-size:13px}.banner-card>button{align-self:flex-start}.banner-badge{align-self:flex-start;padding:3px 10px;border-radius:999px;background:#eef3fa;color:#16477c;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.banner-badge.is-uploaded{background:#e7f7ee;color:#11713c}

/* Show the existing homepage images before the upload editor. */
[data-view="ads"] .banner-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
[data-view="ads"] .banner-image>img{height:150px}
[data-view="ads"] .banner-gallery{margin-bottom:28px}
@media(max-width:1000px){[data-view="ads"] .banner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){[data-view="ads"] .banner-grid{grid-template-columns:minmax(0,1fr)}}

.banner-image{position:relative;min-height:150px}.banner-image>img{display:block;width:100%;object-fit:contain;background:#edf4ff}.banner-image-status{font-size:12px}.banner-image [hidden]{display:none!important}

.banner-image>video{display:block;width:100%;height:150px;object-fit:contain;background:#edf4ff;margin-bottom:12px}.banner-preview:is(video){width:100%;height:240px;object-fit:contain}
