/* Announcement banners from Mission Control (banners.js, LOOPSTR-5472), drawn as MC's designs: the top line a dark bar
   above the header on every page, the banner a light card. Cards stack at the top of the home hero, on its sky, under
   the fixed header (which is styled for the sky), as wide as the hero copy. The margins pull the stack up into the
   hero's top padding, so the copy keeps its distance from the header plus the stack's height. Button and badge colours
   come from MC, set by banners.js */
.bns{position:relative;z-index:4;display:flex;flex-direction:column;gap:10px;width:min(74vw,1180px,calc(100% - var(--gut) * 2 - 8vw));
  margin:calc(12px - clamp(48px,5vw,88px)) auto clamp(28px,3.5vw,48px)}
.bns:empty,.bns-top:empty,body[data-view]:not([data-view="home"]) .bns{display:none}
/* the top lines, on every page, sit fixed above the header, full width; --bn-h is their height (banners.js), 0 without them */
.bns-top{position:fixed;z-index:60;top:0;left:0;right:0}
#site-header{top:var(--bn-h,0px)}
body{padding-top:var(--bn-h,0px)}
.bn{position:relative;font:400 14px/1.45 var(--sans,'Inter',system-ui,sans-serif)}
.bn p{margin:0}
.bn-hl{color:#f15a24}
.bn-x{position:absolute;width:28px;height:28px;border:0;border-radius:7px;background:transparent;color:inherit;font-size:20px;line-height:1;
  cursor:pointer;opacity:.55}
.bn-x:hover,.bn-x:focus-visible{opacity:1;background:rgba(127,127,127,.18)}
.bn-btn{flex:none;display:inline-flex;align-items:center;font-weight:600;text-decoration:none;white-space:nowrap}
.bn-left{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}

/* top line (MC's design): a dark full-width bar, badge, title + highlight | countdown, pill button, centred */
.bn-line{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 24px;min-height:50px;padding:8px 56px;
  background:var(--bn-bg,#15171a);color:var(--bn-fg,#fff);font-size:15px}
.bn-line .bn-copy{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 16px}
.bn-line .bn-t{font-weight:500}
.bn-line .bn-badge{padding:3px 9px;border-radius:4px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.bn-line .bn-cd{padding-left:20px;border-left:1px solid rgba(255,255,255,.18);color:rgba(255,255,255,.6);
  border-left-color:color-mix(in srgb,var(--bn-fg,#fff) 18%,transparent);color:color-mix(in srgb,var(--bn-fg,#fff) 60%,transparent)}
.bn-line .bn-left{color:var(--bn-fg,#fff);padding-left:4px}
.bn-line .bn-btn{height:32px;padding:0 16px;border-radius:999px;font-size:14px}
.bn-line .bn-x{top:50%;right:14px;margin-top:-14px}

/* card: image on the left, then badge, headline + highlight, description, countdown, button */
.bn-card{display:flex;gap:16px;padding:12px;border:1px solid #e5e5e5;border-radius:12px;background:#f7f7f6;color:#15171a}
.bn-img{flex:none;width:200px;aspect-ratio:16/9;border-radius:8px;background:#fff;object-fit:cover}
.bn-card .bn-copy{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;padding:2px 32px 2px 0}
.bn-card .bn-badge{padding:2px 7px;border-radius:5px;font-size:12px;font-weight:500}
.bn-card .bn-t{font-size:16px;font-weight:600;line-height:1.3}
.bn-card .bn-d,.bn-card .bn-cd{color:#6b6b6b;font-size:13px}
.bn-card .bn-left{color:#15171a}
.bn-card .bn-btn{margin-top:4px;height:34px;padding:0 14px;border-radius:8px;font-size:13px}
.bn-card .bn-x{top:8px;right:8px;color:#9a9a9a}

@media (max-width:720px){
  .bns{width:calc(100% - var(--gut) * 2);margin:-20px auto 24px}
}
@media (max-width:640px){
  .bn-line{gap:6px 12px;padding:8px 40px 8px 16px;font-size:13px}
  .bn-line .bn-copy{gap:4px 10px}
  .bn-line .bn-cd{padding-left:0;border-left:0}
  .bn-line .bn-btn{height:28px;padding:0 12px;font-size:13px}
  .bn-img{width:104px}
}
