/* ============================================================================
   Microsoft co-op news ribbon — the orange "Latest news" bar above the shared
   tn header on index.html and coop.html. One stylesheet so the two pages
   cannot drift; the markup is a fixed block (copy it from index.html).

   Brand chrome, deliberately theme-independent like topnav/sitefooter: these
   public pages render under theme-growthguru only.
   ============================================================================ */
.coop-ribbon { display:flex; align-items:stretch; position:relative; z-index:61; overflow:hidden; background:linear-gradient(90deg,#c2410c 0%,#ea580c 45%,#f97316 100%); color:#ffffff; text-decoration:none; font-family:'Figtree',sans-serif; font-size:14.5px; line-height:1.4; }
/* The ribbon is a link, so the theme's link colour reaches it: `.theme-growthguru a`
   and the pages' own `a:hover` both outrank a bare `.coop-ribbon` (0,1,0) and turned
   the whole bar violet on orange. Anchored and state-qualified (0,2,1), as topnav.css
   does for its links, so white wins in every link state. */
a.coop-ribbon:link, a.coop-ribbon:visited,
a.coop-ribbon:hover, a.coop-ribbon:focus-visible { color:#ffffff; }
.coop-ribbon:hover, .coop-ribbon:focus-visible { filter:brightness(1.06); }
.coop-ribbon-tag { position:relative; z-index:2; flex:none; display:flex; align-items:center; padding:0 16px 0 20px; background:#c2410c; box-shadow:14px 0 18px -6px #c2410c; }
.coop-ribbon-pill { display:inline-flex; align-items:center; gap:6px; padding:3px 10px; border-radius:999px; background:rgba(255,255,255,.2); font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; white-space:nowrap; }
.coop-ribbon-dot { width:6px; height:6px; border-radius:50%; background:#ffffff; animation:coopPulse 2.2s ease-in-out infinite; }
.coop-mq { flex:1; min-width:0; overflow:hidden; display:flex; padding:9px 0; }
.coop-mq-track { display:inline-flex; align-items:center; white-space:nowrap; animation:coopMarquee 38s linear infinite; will-change:transform; }
.coop-mq-item { padding:0 4px 0 28px; }
.coop-mq-item b { font-weight:700; }
.coop-mq-item u { font-weight:700; text-underline-offset:3px; }
.coop-mq-gap { display:inline-block; width:max(62vw,300px); }
.coop-ribbon:hover .coop-mq-track, .coop-ribbon:focus-visible .coop-mq-track { animation-play-state:paused; }
@keyframes coopMarquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@keyframes coopPulse { 0%,100% { box-shadow:0 0 0 0 rgba(255,255,255,.7); } 50% { box-shadow:0 0 0 5px rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .coop-mq-track, .coop-ribbon-dot { animation:none !important; } }
