/* WOW TV: date GG | MM before Smart TV. Only header layout is affected. */
.site-header .wow-header-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
  height: 40px;
  min-height: 40px;
  box-sizing: border-box;
  padding: 0 10px;
  margin: 0;
  border: 1px solid #1e4769;
  border-radius: 8px;
  background: #091a2b;
  color: #e7f6ff;
  font-size: 12px; font-weight: 700; line-height: 1.1; font-family: inherit;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: .04em;
  user-select: none;
}
.site-header .wow-header-date-separator { color: #4bc8ff; font-weight: 400; }
/* Original header uses flex order: brand(0), caption(1), Smart TV(3),
   YouTube(4), menu(5). Date must be #2 AND own the right-hand spacer.
   If Smart TV keeps margin-left:auto the date stays beside the logo. */
.site-header .header-inner > .wow-header-date {
  order: 2;
  margin-left: auto;
}
.site-header .header-inner > .tv-link {
  order: 3;
  margin-left: 0 !important;
}
.site-header .header-inner > .youtube-header-link {
  order: 4;
}
.site-header .header-inner > .menu-toggle {
  order: 5;
}
@media (max-width: 767px) {
  /* Smart TV is hidden on small screens; keep the date aligned to the
     right-side controls instead of drifting towards the brand. */
  .site-header .header-inner > .youtube-header-link {
    margin-left: 0 !important;
  }
}
@media (max-width: 560px) {
  .site-header .wow-header-date { height: 34px; min-height: 34px; padding: 0 6px; gap: 4px; font-size: 10px; }
}
@media (max-width: 390px) {
  .site-header .wow-header-date { padding: 0 4px; gap: 3px; font-size: 9px; }
}
