.banner-row {

  --banner-bg: #fff;
  --banner-fg: #000;
  --banner-border: #000;
  --banner-brand-color: var(--banner-fg);
  --banner-item-gap: 33px;
  --banner-track-offset: 30rem;
  background: var(--banner-bg);
  color: var(--banner-fg);
  font-family: "Inter", "Segoe UI", "Roboto", sans-serif;
  width: 100vw;
  margin: 0;
  padding: 9pxa 20px 9px 0;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  border-top: 1px solid var(--banner-border);
  border-bottom: 1px solid var(--banner-border);

}

.banner-row--finance {

  --banner-bg: #fff;
  --banner-fg: #000;
  --banner-border: #000;
  --banner-brand-color: #000;
  --banner-track-offset: 12rem;
  margin-top: 0;

}

.banner-row--news {

  --banner-bg: #d52b26;
  --banner-fg: #fff;
  --banner-border: #8e1411;
  --banner-brand-color: #000;
  --banner-track-offset: 10rem;
  --banner-item-gap: 12px;

}

.banner-row__inner {

  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: 100%;
  max-width: 100%;

}

.banner-row__scroller {

  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;

}

.banner-row__items {

  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: max-content;
  animation: bannerScroll var(--banner-speed-seconds, 150s) linear infinite;
  animation-delay: var(--banner-animation-delay, 0ms);

}

.banner-row__items-track {

  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--banner-item-gap, 33px);
  padding-left: var(--banner-track-offset, 30rem);
  flex: 0 0 auto;
  width: max-content;

}

.banner-row__inner {

  min-height: 24px;
  overflow: hidden;
  position: relative;

}

.banner-row__scroller {

  flex: 0 0 auto;
  min-width: max-content;
  will-change: transform;

}

.banner-row__brand {

  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--banner-brand-color);
  background: var(--banner-bg);
  font-family: "Segoe UI", "Roboto", "Helvetica", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  padding: 3px 10px 3px 12px;
  margin: 0;
  z-index: 1;
  user-select: none;
  white-space: nowrap;

}

.banner-row__brand:visited {

  color: var(--banner-brand-color);
  text-decoration: none;

}

.banner-row__brand:hover {

  color: var(--banner-brand-color);
  text-decoration: none;

}

.banner-row__brand:focus {

  color: var(--banner-brand-color);
  text-decoration: none;

}

.banner-row__brand:active {

  color: var(--banner-brand-color);
  text-decoration: none;

}

.banner-row__items {

  flex: 0 0 auto;
  min-width: max-content;
  gap: var(--banner-item-gap);
  padding-left: var(--banner-track-offset);
  width: max-content;
  animation: bannerScroll var(--banner-speed-seconds, 150s) linear infinite;
  animation-delay: var(--banner-animation-delay, 0ms);

}

.banner-row:hover .banner-row__items,
.banner-row:focus-within .banner-row__items {

  animation-play-state: paused;

}

@keyframes bannerScroll {

  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }

}

.banner-row__item {

  display: inline-flex;
  align-items: center;
  line-height: 1.1;
  white-space: nowrap;
  flex: none;

}

.banner-row__item-link {

  display: inline-flex;
  align-items: center;
  line-height: 1.1;
  white-space: nowrap;
  flex: none;

}

.banner-row__item {

  font-weight: 600;

}

.banner-row__item-main {

  color: inherit;

}

.banner-row__item-change.up,
.banner-row__item-change[data-tone="up"],
.banner-row__item-change[data-tone="bullish"] {

  color: #137333 !important;

}

.banner-row__item-change.down,
.banner-row__item-change[data-tone="down"],
.banner-row__item-change[data-tone="bearish"] {

  color: #b42318 !important;

}

.banner-row__item-change {

  margin-left: 6px;

}

.banner-row--news .banner-row__item-link {

  color: #fff;
  font-weight: 700;
  text-decoration: none;

}

.banner-row--news .banner-row__item-link:visited {

  color: #fff;
  text-decoration: none;

}

.banner-row--news .banner-row__item-link:hover {

  color: #fff;
  text-decoration: none;

}

.banner-row--news .banner-row__item-link:focus {

  color: #fff;
  text-decoration: none;

}

.banner-row--news .banner-row__item-link:active {

  color: #fff;
  text-decoration: none;

}

#global-banner-stack {
  position: fixed;
  /* allow a small visual gap below the header so the finance (LCM) row
     doesn't sit too high — consumers may override --banner-stack-offset */
  top: calc(var(--header-height, 0px) + var(--banner-stack-offset, 0px));
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: transparent;
  transform: translateZ(0) translateY(var(--header-offset, 0px));
  transition: transform 220ms cubic-bezier(.2, .9, .2, 1);

}

#global-banner-stack>section {

  width: 100%;

}

#global-banner-stack>section:first-child.banner-row,
#finance-banner.banner-row--finance {

  border-top: none;

}

.main-banner {
  margin-top: 0;
  background-color: purple;
  color: white;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 0;
  width: 100vw;
}

.main-banner h3 {
  margin: 0;
  text-decoration: none
}

.main-banner a {
  color: white;
  text-decoration: none;
  text-align: center;
  font-weight: 600
}

/* Centralized Banner Layout Resets */
#finance-bar {
  width: 100%;
}

#finance-banner-placeholder {
  width: 100%;
}

#finance-banner {
  flex: 0 0 auto;
}

body #finance-banner {
  border: 1px solid #000;
  box-sizing: border-box;
}

#finance-banner-scroller {
  min-height: 1rem;
}

#finance-banner-items {
  min-height: 1rem;
}

#finance-banner-items-clone {
  min-height: 1rem;
}

#global-banner-stack {
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
}

#global-banner-stack>section {
  width: 100%;
  box-sizing: border-box;
}

.cta-banner-container {
  /* full-bleed container: background stretches edge-to-edge while
     inner `.cta-banner` remains centered and constrained */
  width: 100vw;
  box-sizing: border-box;
  text-align: center;
  padding: 18px 0;
  /* vertical spacing for the full-width band */
  position: relative;
  z-index: 1;
}

.cta-banner-container a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  width: auto;
}

.cta-banner {
  /* inner content constrained so text/buttons remain centered */
  width: 100vw;
  padding: 20px 22px;
  background: var(--dusty-blue);
  color: #ffffff;
  box-sizing: border-box;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
}