/* Edison update. Scoped to new creative classes; existing campaigns keep their styles. */
#nas-tc-main > .nas-sc-home-display-slot{display:flow-root;width:100%;max-width:100%;min-width:0;clear:both}
body .nas-ep-display{border:0;background:transparent;margin:20px auto;max-width:1100px}
body .nas-ep-card,body .nas-ep-card *{box-sizing:border-box}
body .nas-ep-card{--ep-bg:#f5f4ec;--ep-ink:#183d36;--ep-muted:#425e56;--ep-line:#d9ded2;--ep-button:#214c3e;--ep-button-ink:#fff;display:grid;grid-template-columns:126px minmax(0,1fr) auto;align-items:center;gap:20px;padding:23px 26px;width:100%;min-width:0;border:1px solid var(--ep-line);border-radius:12px;background:var(--ep-bg);color:var(--ep-ink)!important;text-decoration:none!important;text-align:left;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.4;box-shadow:0 3px 14px #13382b08}
body .nas-ep-card .nas-ep-brand{display:flex;flex:initial;max-width:none;padding:0;margin:0;flex-direction:column;align-items:center;gap:7px;min-width:0}
body .nas-ep-brand img{display:block;width:126px;height:49px;max-width:100%;object-fit:contain;margin:0;padding:0}
body .nas-ep-brand>small{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--ep-muted);text-align:center}
body .nas-ep-copy{display:flex;flex-direction:column;min-width:0;gap:7px}
body .nas-ep-copy>strong{font-size:clamp(20px,2vw,26px);font-weight:750;line-height:1.14;color:var(--ep-ink)!important;letter-spacing:-.025em}
body .nas-ep-description{display:block;font-size:14px;line-height:1.45;color:var(--ep-muted)!important;max-width:58ch}
body .nas-ep-card .nas-ep-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:0;min-height:44px;padding:12px 16px;border:1px solid transparent;border-radius:7px;max-width:100%;background:var(--ep-button)!important;color:var(--ep-button-ink)!important;font-size:13px;font-weight:750;line-height:1.3;white-space:normal;text-align:center;flex:none}
body .nas-ep-card:hover{border-color:#6c8b75;box-shadow:0 3px 16px #13382b16}
body .nas-ep-card:focus-visible{outline:3px solid #a56513;outline-offset:4px}
body .nas-ep-card--diagnostic{--ep-bg:#eef5ee;--ep-line:#c9dbcb;--ep-button:#285c44}
body .nas-ep-card--classes{--ep-bg:#f5f2ea;--ep-ink:#353b2b;--ep-button:#465c35}
body .nas-ep-card--closing{--ep-bg:#edf3f2}
/* The containing slot, not the viewport, decides whether the button wraps. */
.nas-sc-track:has(>.nas-ep-card){container-type:inline-size}
@container(max-width:720px){body .nas-ep-card{grid-template-columns:90px minmax(0,1fr);gap:14px;padding:20px}body .nas-ep-brand img{width:90px;height:42px}body .nas-ep-card .nas-ep-button{grid-column:2;justify-self:start}body .nas-ep-copy>strong{font-size:22px}}
@container(max-width:440px){body .nas-ep-card{grid-template-columns:minmax(0,1fr);gap:12px;padding:18px}body .nas-ep-brand{flex-direction:row;justify-content:space-between;gap:12px}body .nas-ep-brand img{width:97px;height:36px}body .nas-ep-card .nas-ep-button{grid-column:1;width:100%;justify-self:stretch}body .nas-ep-copy>strong{font-size:22px}body .nas-ep-description{font-size:14px}}
@media(max-width:520px){body .nas-ep-card{grid-template-columns:minmax(0,1fr);gap:12px;padding:18px}body .nas-ep-brand{flex-direction:row;justify-content:space-between}body .nas-ep-brand img{width:97px;height:36px}body .nas-ep-card .nas-ep-button{grid-column:1;width:100%}body .nas-ep-copy>strong{font-size:22px}}
html[data-nas-theme="dark"] body .nas-ep-card{--ep-bg:#142c28;--ep-ink:#edf5eb;--ep-muted:#c2d1c8;--ep-line:#436057;--ep-button:#d9e6b5;--ep-button-ink:#19362b;color-scheme:dark;box-shadow:none}
html[data-nas-theme="dark"] body .nas-ep-brand img{background:#f5f3e9;border-radius:5px;padding:4px}
html[data-nas-theme="dark"] body .nas-ep-card--diagnostic{--ep-bg:#193126}
html[data-nas-theme="dark"] body .nas-ep-card--classes{--ep-bg:#282e23}
html[data-nas-theme="dark"] body .nas-ep-card:focus-visible{outline-color:#edc77f}
html[data-nas-theme="dark"] body [data-nas-sc-appearance="auto"] .nas-ep-card .nas-ep-button{background:var(--ep-button)!important;color:var(--ep-button-ink)!important}
/* Remove inherited white frames without overriding the viewer's appearance setting. */
body .nas-exclusive-sponsor-creative:has(.nas-ep-card){border:0;background:transparent}
body .nas-exclusive-sponsor-display:has(.nas-ep-card){min-height:0}
body .nas-exclusive-sponsor-message:has(.nas-ep-card){margin:24px 0}
@media(prefers-reduced-motion:no-preference){body .nas-ep-card{transition:border-color .15s,box-shadow .15s}}

body .nas-ep-card .nas-ep-brand{width:auto!important;padding:0!important;flex:none!important;gap:7px!important}body .nas-ep-card .nas-ep-brand small{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--ep-muted)!important}
@container(max-width:440px){body .nas-ep-card .nas-ep-brand{flex-direction:row;justify-content:space-between;align-items:center}}
@media(max-width:520px){body .nas-ep-card .nas-ep-brand{flex-direction:row;justify-content:space-between;align-items:center}}
/* The existing voucher remains the offer. Compact only this campaign's closing card. */
body [data-nas-sc-creative="ep_opt_cta_reader_offer"] .nlo.nlo-connected{grid-template-columns:minmax(0,1fr);gap:0;padding:22px;margin:0;border-radius:12px}
body [data-nas-sc-creative="ep_opt_cta_reader_offer"] .nlo-connected-art{display:none}
body [data-nas-sc-creative="ep_opt_cta_reader_offer"] .nlo h2{font:750 23px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.02em;margin:9px 0}
body [data-nas-sc-creative="ep_opt_cta_reader_offer"] .nlo p{font-size:14px;margin-bottom:14px}
@media(max-width:520px){body [data-nas-sc-creative="ep_opt_cta_reader_offer"] .nlo-button{width:100%}}
