/* Full artwork stays uncropped. Decorative backgrounds have controlled opacity; text and the fictional-ad stamp remain fully opaque. */
.sponsor-strip .sponsor-art-teaser{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 60px;grid-template-rows:auto auto;align-items:center;column-gap:10px;row-gap:4px;width:100%;min-height:70px;margin:0 0 3px;padding:6px 8px;border:0;background:var(--sponsor-bg,#f7eee3)!important;text-align:left;color:var(--sponsor-ink,#183b56)!important;border-radius:5px}
.sponsor-art-copy{position:relative;z-index:1;grid-column:1;grid-row:1/3;min-width:0;display:block;padding:0}
.sponsor-art-copy strong{font-size:17px;font-weight:800;line-height:1.15;overflow-wrap:anywhere}
.sponsor-art-copy .sponsor-strip-description{display:block;font-size:13px;line-height:1.35;color:inherit;margin-top:4px;overflow-wrap:anywhere}
.sponsor-art-stamp{flex:none;border:2px solid #e76f51;border-radius:3px;padding:3px 4px;color:#183b56;background:#fff7f0;font:900 10px/1.1 Arial,sans-serif;text-align:center;white-space:nowrap}
.sponsor-art-stamp{position:relative;z-index:1;grid-column:2;grid-row:1/3;justify-self:center;align-self:center}
.sponsor-banner-photo{position:absolute;inset:0;z-index:0;width:auto;height:auto;border-radius:inherit;background-repeat:no-repeat;background-size:cover;background-position:center;opacity:.26;pointer-events:none}
.sponsor-brand-nutriva-lab{--sponsor-bg:#f5eddf;--sponsor-ink:#273f22}.sponsor-brand-nutriva-lab strong{font-family:Georgia,serif}.sponsor-brand-nutriva-lab .sponsor-banner-photo{background-image:url('assets/sponsors/nutriva-lab-background.webp')}
.sponsor-brand-passo-ativo{--sponsor-bg:#191919;--sponsor-ink:#fff}.sponsor-brand-passo-ativo strong{font-style:italic}.sponsor-brand-passo-ativo .sponsor-banner-photo{background-image:url('assets/sponsors/passo-ativo-background.webp');background-position:center 78%}
.sponsor-brand-orbital-equip{--sponsor-bg:#07191e;--sponsor-ink:#e5ffff}.sponsor-brand-orbital-equip .sponsor-banner-photo{background-image:url('assets/sponsors/orbital-equip-background.webp')}
.sponsor-brand-renova-maquinas{--sponsor-bg:#151515;--sponsor-ink:#ffd13a}.sponsor-brand-renova-maquinas .sponsor-banner-photo{background-image:url('assets/sponsors/renova-maquinas-background.webp')}
.sponsor-brand-rota-viva{--sponsor-bg:#e8f7ef;--sponsor-ink:#00474b}.sponsor-brand-rota-viva strong{font-family:Georgia,serif;font-style:italic}.sponsor-brand-rota-viva .sponsor-banner-photo{background-image:url('assets/sponsors/rota-viva-background.webp')}
.sponsor-brand-movia-pass{--sponsor-bg:#f1ecff;--sponsor-ink:#2114bb}.sponsor-brand-movia-pass .sponsor-banner-photo{background-image:url('assets/sponsors/movia-pass-background.webp');background-position:center 30%}
.sponsor-art-teaser:focus-visible{outline:2px solid #183b56;outline-offset:-2px}
.hero-master .sponsor-master-artwork{display:block;position:relative;inset:auto;border:0;padding:0;cursor:pointer;width:100%;height:auto;min-width:0;min-height:0;background:#000;z-index:2}
.sponsor-master-artwork>img{display:block;width:100%;height:auto;min-width:0;min-height:0;object-fit:contain;object-position:center}
.hero-master .sponsor-master-artwork .sponsor-master-badge{position:static;display:block;text-align:right;inset:auto;width:auto;height:auto;transform:none;border:0;border-radius:0;background:#183b56;color:#fff;padding:6px 8px;font-size:10px;font-weight:700}
.hero-master .sponsor-master-copy,.hero-master>.hero-tag{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;padding:0!important;white-space:nowrap!important;pointer-events:none!important}
.sponsor-master-copy .hero-actions{display:none!important}
.sponsor-art-dialog{width:min(920px,calc(100vw - 24px));max-width:920px;max-height:calc(100dvh - 32px);padding:14px;border:1px solid #d7e1e8;border-radius:14px;background:#fff;color:#183b56;overflow:auto}
.sponsor-art-dialog::backdrop{background:#102437b8}
.sponsor-art-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.sponsor-art-head h2{margin:0;font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.sponsor-art-head button{flex:none;border:1px solid #c8d3da;background:#fff;color:#183b56;border-radius:7px;padding:10px;min-height:44px}
.sponsor-art-dialog>img{display:block;width:100%;height:auto;border-radius:8px}
.sponsor-art-dialog>p{font-size:12px;line-height:1.6;margin:10px 0 0;color:#405b70}
.store-search-entry{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--white);font-weight:700;font-size:14px;min-height:48px}
html[data-theme="dark"] .sponsor-art-dialog{background:#192632;color:#e3ecf3;border-color:#526879}
html[data-theme="dark"] .sponsor-art-head button{background:#202f3d;color:#e3ecf3;border-color:#526879}
html[data-theme="dark"] .sponsor-art-dialog>p{color:#b8c7d2}
html[data-theme="dark"] .store-search-entry{background:#202f3d;border-color:#526879}
@media(max-width:650px){.sponsor-art-copy strong{font-size:16px}.sponsor-strip .sponsor-art-teaser{column-gap:8px}.sponsor-art-stamp{padding:3px}}
@media(max-width:360px){.sponsor-strip .sponsor-art-teaser{grid-template-columns:minmax(0,1fr) 54px;padding:6px}.sponsor-art-copy strong{font-size:15px}.sponsor-art-head h2{font-size:14px}}

/* The active Master slide follows its artwork's natural ratio instead of shrinking it into a fixed-height letterbox. */
.hero-carousel-wide .hero-stage:has(.hero-master[aria-hidden="false"]){height:auto}
.hero-carousel-wide .hero-stage:has(.hero-master[aria-hidden="false"]) .hero-master{position:relative;inset:auto;height:auto;min-height:0;display:block}
/* Desktop keeps the banner compact; black side space extends the artwork without cropping it. */
@media(min-width:768px){.hero-master .sponsor-master-artwork>img{height:320px;max-height:320px;object-fit:contain;background:#000}}
