/* Classic Bakery v8 — Featured In slim marquee (v8.1.13 optical balance) */
#top.cb-v8-brand .cb-design .cb-recognition{
  --band-h:160px;
  --logo-h:50px;
  --badge-h:58px;
  --marquee-gap:48px;
  --marquee-dur:44s;
  height:var(--band-h);
  max-height:var(--band-h);
  padding:0 clamp(20px,4vw,56px);
  background:#FFFDF8;
  border-top:1px solid #452C2518;
  border-bottom:1px solid #452C2518;
  display:flex;
  align-items:center;
  gap:clamp(16px,2.5vw,28px);
  overflow:hidden;
}
#top.cb-v8-brand .cb-design .cb-recognition .eyebrow{
  flex:0 0 auto;
  margin:0;
  font-size:clamp(10px,0.85vw,12px);
  line-height:1.3;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:#765A49;
  white-space:nowrap;
}
#top.cb-v8-brand .cb-design .cb-marquee{
  position:relative;
  flex:1 1 auto;
  min-width:0;
  height:100%;
  display:flex;
  align-items:center;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 48px,#000 calc(100% - 48px),transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 48px,#000 calc(100% - 48px),transparent 100%);
}
#top.cb-v8-brand .cb-design .cb-marquee-track{
  display:flex;
  align-items:center;
  width:max-content;
  gap:0;
  will-change:transform;
  animation:cb-marquee-scroll var(--marquee-dur) linear infinite;
}
#top.cb-v8-brand .cb-design .cb-marquee-track.is-paused{animation-play-state:paused}
#top.cb-v8-brand .cb-design .cb-marquee-set{
  display:flex;
  align-items:center;
  gap:var(--marquee-gap);
  padding-right:var(--marquee-gap);
  flex:0 0 auto;
}
/* Reset Enfold/v8 .logo width+position so marquee logos sit in a real flex row */
#top.cb-v8-brand .cb-design .cb-marquee-set .logo{
  position:relative !important;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:auto !important;
  max-width:none !important;
  height:var(--logo-h) !important;
  max-height:var(--logo-h) !important;
  min-height:0 !important;
  overflow:visible;
  object-fit:unset;
}
#top.cb-v8-brand .cb-design .cb-marquee-set .logo img,
#top.cb-v8-brand .cb-design .cb-marquee-set .logo svg{
  display:block;
  position:static !important;
  height:100% !important;
  width:auto !important;
  max-height:100% !important;
  max-width:none !important;
  object-fit:contain;
}
/* Optical balance: dense script slightly smaller */
#top.cb-v8-brand .cb-design .cb-marquee-set .logo.is-knot{
  height:calc(var(--logo-h) * 0.84) !important;
  max-height:calc(var(--logo-h) * 0.84) !important;
}
/* Compact circular / square marks */
#top.cb-v8-brand .cb-design .cb-marquee-set .logo.is-mark{
  height:calc(var(--logo-h) * 1.02) !important;
  max-height:calc(var(--logo-h) * 1.02) !important;
}
/* Wide/thin wordmarks get more visual area */
#top.cb-v8-brand .cb-design .cb-marquee-set .logo.is-boost{
  height:calc(var(--logo-h) * 1.18) !important;
  max-height:calc(var(--logo-h) * 1.18) !important;
}
/* Bethesda Magazine needs the most lift so MAGAZINE stays legible */
#top.cb-v8-brand .cb-design .cb-marquee-set .logo.is-boost-lg{
  height:calc(var(--logo-h) * 1.28) !important;
  max-height:calc(var(--logo-h) * 1.28) !important;
}
#top.cb-v8-brand .cb-design .cb-marquee-set .logo.is-badge{
  height:var(--badge-h) !important;
  max-height:var(--badge-h) !important;
}
@keyframes cb-marquee-scroll{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}
@media (prefers-reduced-motion:reduce){
  #top.cb-v8-brand .cb-design .cb-recognition{
    height:auto;max-height:none;min-height:120px;
    padding:18px clamp(20px,4vw,56px);flex-wrap:wrap;align-items:flex-start;
  }
  #top.cb-v8-brand .cb-design .cb-recognition .eyebrow{width:100%;margin-bottom:12px}
  #top.cb-v8-brand .cb-design .cb-marquee{-webkit-mask-image:none;mask-image:none;overflow:visible;height:auto}
  #top.cb-v8-brand .cb-design .cb-marquee-track{animation:none;transform:none;width:100%;flex-wrap:wrap;justify-content:center;gap:18px 28px}
  #top.cb-v8-brand .cb-design .cb-marquee-set{flex-wrap:wrap;justify-content:center;padding-right:0;gap:18px 28px}
  #top.cb-v8-brand .cb-design .cb-marquee-set[aria-hidden="true"]{display:none}
}
@media (max-width:700px){
  #top.cb-v8-brand .cb-design .cb-recognition{
    --band-h:120px;
    --logo-h:36px;
    --badge-h:42px;
    --marquee-gap:28px;
    height:var(--band-h);
    max-height:var(--band-h);
    padding:0 16px;
    flex-direction:column;
    justify-content:center;
    align-items:stretch;
    gap:8px;
  }
  #top.cb-v8-brand .cb-design .cb-recognition .eyebrow{font-size:10px;letter-spacing:1.4px}
  #top.cb-v8-brand .cb-design .cb-marquee{
    flex:0 0 auto;
    height:calc(var(--badge-h) + 14px) !important;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%);
  }
  #top.cb-v8-brand .cb-design .cb-marquee-set{gap:28px;padding-right:28px}
  /* Extra mobile lift for thin sub-lines */
  #top.cb-v8-brand .cb-design .cb-marquee-set .logo.is-boost{
    height:calc(var(--logo-h) * 1.22) !important;
    max-height:calc(var(--logo-h) * 1.22) !important;
  }
  #top.cb-v8-brand .cb-design .cb-marquee-set .logo.is-boost-lg{
    height:calc(var(--logo-h) * 1.36) !important;
    max-height:calc(var(--logo-h) * 1.36) !important;
  }
}
