/* Market bar under the masthead. Checked against CoinDesk: their price row is
   light, low-contrast and sits in the content column, not a dark full-bleed
   band. A dark bar under a white nav reads as a heavy stripe across the page,
   so this is a light ground with a hairline rule: present, but chrome. */
.ccs-topbar {
  background: #f7f8fa;
  /* No border: the grey fill already separates the bar, and a border here put
     a second horizontal line ~34px above the section rule below it. */
  border-bottom: 0;
  width: 100%;
}
.ccs-topbar__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.ccs-topbar .ccs2t-strip {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.ccs-topbar .ccs2t-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ccs-topbar .ccs2t-scroll::-webkit-scrollbar { display: none; }
.ccs-topbar .ccs2t-inner { align-items: center; }
.ccs-topbar .ccs2t-coin {
  border-color: #e6e9f0 !important;
  background: transparent !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  min-width: 0 !important;
}
/* Values in the body colour, labels quiet; the change keeps red/green. */
.ccs-topbar .ccs2t-coin { color: #1a2744 !important; }
.ccs-topbar .ccs2t-coin [class*=label], .ccs-topbar .ccs2t-coin small { color: #98a2b3 !important; }

/* The old in-page copy, placed as a Themify text module on the front page. */
.module-plain-text:has(.ccs2t-strip) { display: none !important; }

@media screen and (max-width: 780px) {
  .ccs-topbar__inner { padding: 0 12px; }
}
/* The header had padding on its top only (16px 0 0), so the logo sat below the
   header's centre with 16px of air above and 6px below, running almost straight
   into the ticker, and the nav's active underline met the bar with zero
   clearance. Symmetric padding centres both and gives the bar room. */
@media screen and (min-width: 1201px) {
  #headerwrap #header { padding: 14px 0 14px !important; }
  #headerwrap .nav { padding-bottom: 0 !important; }
}
/* The faint theme border sat immediately above the bar's grey fill, giving a
   hairline followed by a tone change. The fill is the edge. */
#headerwrap { border-bottom: 0 !important; }

/* The logo block floats left at its natural 41px while the nav block next to it
   is 47px, so the logo sat at the top of the row and the 6px difference all
   landed underneath it (14px above, 20px below). Matching the logo block to the
   nav's height and centring inside it evens that to 17/17, and adapts if the
   nav height ever changes rather than hard-coding a nudge. */
@media screen and (min-width: 1201px) {
  #headerwrap #header .header-bar {
    min-height: 47px !important;
    display: flex !important;
    align-items: center !important;
  }
}

/* The logo wrapper is a block with a 32.6px line-height around an inline image,
   so it rendered 47px tall around a 41px logo with all the slack underneath.
   Collapsing that lets the centring on .header-bar above actually take effect. */
@media screen and (min-width: 1201px) {
  #headerwrap #header #site-logo,
  #headerwrap #header #site-logo a {
    display: flex !important;
    align-items: center !important;
    line-height: 0 !important;
  }
  #headerwrap #header .site-logo-image { display: block !important; }
}