/* Shared artwork for the public site and editing previews. */
.wt-banner, .sponsor-grid .wt-banner {
    --ad-accent: #d6336c;
    position: relative; isolation: isolate; display: flex; align-items: center;
    box-sizing: border-box; width: 100%; min-width: 0; min-height: 76px;
    overflow: hidden; padding: 12px 16px; border-radius: 10px;
    color: #1f2937; text-align: left; text-decoration: none;
    border: 1px solid rgba(120, 130, 145, .16); background: rgba(255, 255, 255, .74);
    box-shadow: 0 5px 20px rgba(20, 35, 50, .05); font-family: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.wt-banner::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--ad-accent); }
.wt-banner-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; width: 100%; min-width: 0; }
.wt-banner-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.wt-banner-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 650; line-height: 1.4; }
.wt-banner-description { display: block; min-height: 18px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .8; font-size: 12px; line-height: 1.5; }
.wt-banner-cta { flex-shrink: 0; font-size: 11px; line-height: 1.4; opacity: .75; }
.wt-banner-art { position: absolute; pointer-events: none; right: -35px; top: 50%; width: 130px; height: 150px; transform: translateY(-50%) scale(.65); color: var(--ad-accent); opacity: .12; }
.wt-banner-art::before, .wt-banner-art::after { content: ''; position: absolute; width: 98px; height: 98px; border: 1px solid currentColor; transform: rotate(35deg); left: 27px; top: 24px; }
.wt-banner-art::after { width: 64px; height: 64px; top: 42px; left: 44px; }
.wt-banner-art i { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: currentColor; top: 23px; left: 44px; }
.wt-banner-art i:nth-child(2) { width: 9px; height: 9px; top: 105px; left: 20px; }
.wt-banner-art i:nth-child(3) { width: 7px; height: 7px; top: 70px; left: 84px; }
.wt-banner-footer .wt-banner-art { display: none; }
.footer-advertising { margin-top: 24px; margin-bottom: 32px; }
.footer-advertising h2 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.footer-advertising-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 960px) { .footer-advertising-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .footer-advertising-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.wt-banner:hover, .sponsor-grid .wt-banner:hover { transform: none; color: #1f2937; border-color: var(--ad-accent); box-shadow: 0 6px 24px rgba(20,35,50,.1); }
.wt-banner:focus-visible { outline: 3px solid var(--ad-accent); outline-offset: 3px; }
[data-theme="dark"] .wt-banner, [data-theme="dark"] .sponsor-grid .wt-banner { color: #f8f9fa; background: rgba(30,39,46,.84); border-color: rgba(255,255,255,.15); }
[data-theme="dark"] .wt-banner-art { opacity: .18; }
.wt-ad-preview { width: 100%; max-width: 480px; min-width: 0; }
.wt-ad-preview [hidden] { display: none; }
.wt-text-ad { padding: 16px; overflow-wrap: anywhere; border: 1px solid rgba(120,130,145,.2); border-radius: 10px; font-size: 14px; }
.sponsors { padding-top: 24px; margin-bottom: 24px; }
.sponsors h2 { margin-bottom: 16px; }
.sponsors .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 960px) { .sponsors .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sponsors .sponsor-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .wt-banner, .sponsor-grid .wt-banner { transition: none; } }
