/* Coming Soon countdown bar (component: .cs-bar)
   Markup lives right after <body>; js/coming-soon-bar.js drives the digits.
   --cs-bar-h is kept in sync with the real bar height by the script. */
:root { --cs-bar-h: 40px; }

.cs-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: 40px;
  background: #0b1f3a;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  -webkit-text-size-adjust: 100%;
}
.cs-bar *, .cs-bar *::before, .cs-bar *::after { box-sizing: border-box; }

.cs-bar .cs-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  min-height: 40px;
  padding: 4px 12px;
}

/* logo: silver + gold mark layers and ZEAL wordmark */
.cs-bar .cs-logo { display: flex; align-items: center; gap: 8px; }
.cs-bar .cs-mark { position: relative; display: block; width: 36px; height: 27px; flex: none; }
.cs-bar .cs-mark img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
.cs-bar .cs-word {
  width: 60px;
  height: 15px;
  fill: none;
  stroke: #e2c27a;
  stroke-width: 2.3;
  stroke-linecap: square;
  flex: none;
}

.cs-bar .cs-label {
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.cs-bar .cs-msg { opacity: .9; }

.cs-bar .cs-timer { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cs-bar .cs-unit { display: flex; align-items: baseline; gap: 3px; margin: 0; padding: 0; }
.cs-bar .cs-unit b {
  min-width: 28px;
  padding: 4px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .15);
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.cs-bar .cs-unit small { font-size: 11px; opacity: .8; }

.cs-bar .cs-link {
  color: #ffd54a;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
.cs-bar .cs-link:hover,
.cs-bar .cs-link:focus { color: #fff; }
.cs-bar [hidden] { display: none !important; }

/* push the existing header below the bar */
body.has-cs-bar .top-panel { margin-top: var(--cs-bar-h); }
body.has-cs-bar .top-panel.sticky { top: var(--cs-bar-h); margin-top: 0 !important; }
/* phones only: the theme pins .logo, the menu button and its dropdown with
   position:fixed, so offset them below the bar (dl-menu.css: 17px / 70px) */
@media (max-width: 767px) {
  body.has-cs-bar .top-panel .logo { top: var(--cs-bar-h); }
  body.has-cs-bar .top-panel .dl-menuwrapper button { top: calc(17px + var(--cs-bar-h)); }
  body.has-cs-bar .top-panel .dl-menuwrapper .dl-menu { top: calc(70px + var(--cs-bar-h)); }
}

/* phones / small tablets: drop the long sentence and the wordmark */
@media (max-width: 767px) {
  .cs-bar { font-size: 12px; }
  .cs-bar .cs-inner { gap: 4px 10px; }
  .cs-bar .cs-msg,
  .cs-bar .cs-word { display: none; }
  .cs-bar .cs-mark { width: 30px; height: 23px; }
  .cs-bar .cs-timer { gap: 4px; }
  .cs-bar .cs-unit b { min-width: 24px; padding: 3px 4px; }
}
/* very narrow phones */
@media (max-width: 400px) {
  .cs-bar .cs-inner { gap: 4px 8px; padding: 4px 8px; }
  .cs-bar .cs-label { letter-spacing: .5px; font-size: 11px; }
  .cs-bar .cs-unit small { display: none; }
  .cs-bar .cs-unit b { min-width: 22px; }
}

@media print { .cs-bar { display: none; } body.has-cs-bar .top-panel { margin-top: 0; } }
