/* Homepage banners (Website → Bannere). Semantic tokens only: Light/Dark/Auto and the published design theme apply automatically.
   Presentation templates: hero (large), promo (campaign) and info (slim strip) share one structure. Presets, never free CSS. */
.atcx-banner-band{padding-block:clamp(16px,2.5vw,32px)}
.page-home .hp-regions>section.atcx-banner-band,.page-home .hp-banner-region>section.atcx-banner-band{padding-block:clamp(16px,2.5vw,32px)}
.atcx-banner{--bn-r:var(--radius-card,12px);--bn-pad:clamp(20px,3vw,40px);--bn-bg:var(--surface);--bn-fg:var(--text);position:relative;display:grid;isolation:isolate;overflow:hidden;box-sizing:border-box;width:100%;max-width:1200px;margin-inline:auto;
 color:var(--bn-fg);}
.atcx-banner[data-theme=brand]{--bn-bg:var(--brand);--bn-fg:var(--on-brand);}
.atcx-banner[data-theme=dark]{--bn-bg:var(--hero);--bn-fg:var(--hero-text);}
.atcx-banner[data-theme=light]{--bn-bg:#fff;--bn-fg:#1a1d24;}
.atcx-banner[data-theme=soft]{--bn-bg:var(--surface);--bn-fg:var(--text)}

.atcx-banner[data-radius=none]{--bn-r:0}.atcx-banner[data-radius=lg]{--bn-r:24px}
.atcx-banner[data-size=compact]{--bn-pad:clamp(12px,1.6vw,20px)}.atcx-banner[data-size=large]{--bn-pad:clamp(28px,5vw,72px);min-height:clamp(280px,36vw,420px)}
.atcx-banner[data-type=hero]{min-height:clamp(260px,32vw,400px);align-content:center}
.atcx-banner-media{position:absolute;inset:0;z-index:-2;display:block}
.atcx-banner-media img{width:100%;height:100%;display:block;object-fit:cover}
.atcx-banner[data-fit=contain] .atcx-banner-media img{object-fit:contain}
.atcx-banner[data-focus=top] img{object-position:50% 0}.atcx-banner[data-focus=bottom] img{object-position:50% 100%}.atcx-banner[data-focus=left] img{object-position:0 50%}.atcx-banner[data-focus=right] img{object-position:100% 50%}
.atcx-banner:has(.atcx-banner-media):before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:transparent}
.atcx-banner[data-overlay=dark]:has(.atcx-banner-media):before{background:rgb(8 10 14/var(--bn-ov))}
.atcx-banner[data-overlay=light]:has(.atcx-banner-media):before{background:rgb(255 255 255/var(--bn-ov))}
.atcx-banner[data-overlay=brand]:has(.atcx-banner-media):before{background:color-mix(in srgb,var(--brand) calc(var(--bn-ov)*100%),transparent)}
.atcx-banner[data-overlay=dark]:has(.atcx-banner-media){--bn-fg:#fff}
.atcx-banner[data-overlay=light]:has(.atcx-banner-media){--bn-fg:#14171d}
.atcx-banner[data-overlay=brand]:has(.atcx-banner-media){--bn-fg:var(--on-brand)}
.atcx-banner-copy{display:grid;gap:10px;padding:var(--bn-pad);max-width:720px;justify-items:start;text-align:left}
.atcx-banner[data-align=center] .atcx-banner-copy{margin-inline:auto;justify-items:center;text-align:center}
.atcx-banner-icon{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:12px;background:color-mix(in srgb,currentColor 12%,transparent)}
.atcx-banner-tags{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.atcx-banner-badge {display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:color-mix(in srgb,currentColor 14%,transparent)} .atcx-banner-promo{display:inline-block;padding:4px 10px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;}
.atcx-banner-promo{color:var(--on-brand)}
.atcx-banner[data-theme=brand] .atcx-banner-promo{color:var(--brand)}
.atcx-banner-title{margin:0;font-size:clamp(22px,2.8vw,36px);line-height:1.15;letter-spacing:-.02em;color:inherit}
.atcx-banner[data-type=info] .atcx-banner-title{font-size:clamp(18px,2vw,24px)}
.atcx-banner-subtitle{margin:0;font-size:clamp(16px,1.6vw,20px);opacity:.92}
.atcx-banner-body p{margin:0 0 8px;max-width:62ch}.atcx-banner-body p:last-child{margin:0}
.atcx-banner-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.atcx-banner[data-type=info][data-size=compact] .atcx-banner-copy,.atcx-banner[data-type=info]:not(:has(.atcx-banner-media)) .atcx-banner-copy{max-width:none;grid-auto-flow:row}
.atcx-banner[data-theme=brand] .button.primary{color:var(--brand)}
.atcx-banner[data-custom=true] .button.primary{color:var(--bn-bg)}
.atcx-banner .button.hp-ghost{color:inherit;border-color:color-mix(in srgb,currentColor 55%,transparent);background:transparent}
@media(max-width:640px){.atcx-banner[data-type=hero],.atcx-banner[data-size=large]{min-height:240px}.atcx-banner-copy{padding:20px;max-width:none}.atcx-banner-actions{width:100%}.atcx-banner-actions .button{flex:1 1 100%;text-align:center}}
