/* ============================================================
   ED Announcement Bar Plugin — CSS v1.0.13
   ============================================================ */

.ann-bar {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  box-sizing: border-box;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  transform: none !important;
  padding: 6px 44px 6px 16px; /* right padding reserves space for the absolute close button */
  border-radius: 0;
  z-index: 100000 !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: none !important; /* prevent header's downward shadow bleeding through */
}

/* Hide on scroll */
.ann-bar--hidden {
  transform: translateY(-100%) !important;
  opacity: 0;
  pointer-events: none;
}

/* Inner: text + timer centred together as one group in the bar */
.ann-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.ann-bar__content {
  /* inline, no flex-grow — stays natural width so the group centres correctly */
}

.ann-bar__text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}

.ann-bar a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ann-bar a:hover { opacity: .85; }

/* Right side: timer + close button */
.ann-bar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Close button — pinned to the far right edge of the bar */
.ann-bar__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: currentColor;
  opacity: .7;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s, background .2s;
  line-height: 0;
  flex-shrink: 0;
}
.ann-bar__close:hover {
  opacity: 1;
  background: rgba(128,128,128,.2);
}

/* Countdown / Clock */
.ann-bar-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ann-bar-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,.15);
  border-radius: 4px;
  padding: 3px 8px;
  min-width: 44px;
}

.ann-bar-countdown__num {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.ann-bar-countdown__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
  line-height: 1;
}

.ann-bar-countdown__sep {
  font-size: 18px;
  font-weight: 900;
  opacity: .6;
  margin-bottom: 8px;
}

.ann-bar-countdown__tz {
  font-size: 9px;
  font-weight: 700;
  opacity: .7;
  margin-left: 4px;
  text-transform: uppercase;
}

/* Mobile */
@media (max-width: 600px) {
  .ann-bar { padding: 6px 44px 6px 12px; }
  .ann-bar__inner { flex-wrap: wrap; gap: 6px; }
  .ann-bar__content { flex: 1 1 100%; text-align: center; }
  .ann-bar__right { justify-content: center; width: 100%; }
  .ann-bar__close { top: 8px; transform: none; }
  .ann-bar-countdown__unit { min-width: 36px; padding: 2px 6px; }
  .ann-bar-countdown__num  { font-size: 14px; }
  .ann-bar-countdown__sep  { font-size: 14px; margin-bottom: 6px; }
}
