/* 22Media Premium Pro v6.14 — header legibility polish */

/* Latest newsroom card: stronger hierarchy in both themes. */
.m22-header-v66 .m22-latest-signal{
  min-width:186px!important;
  min-height:50px!important;
  padding:8px 13px 8px 9px!important;
  border-radius:16px!important;
}
.m22-header-v66 .m22-latest-signal .m22-signal-icon{
  width:34px!important;
  height:34px!important;
  flex:0 0 34px!important;
  font-size:13px!important;
}
.m22-header-v66 .m22-latest-signal>span:last-child{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  line-height:1.15!important;
}
.m22-header-v66 .m22-latest-signal b{
  display:block!important;
  font-size:12.5px!important;
  line-height:1.2!important;
  font-weight:850!important;
  letter-spacing:-.01em!important;
  color:#17233a!important;
  opacity:1!important;
}
.m22-header-v66 .m22-latest-signal small{
  display:block!important;
  margin-top:3px!important;
  font-size:9px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:.005em!important;
  color:#71809a!important;
  opacity:1!important;
}

/* Explicit dark-mode descendants prevent old explicit text colors from winning. */
.m22-dark .m22-header-v66 .m22-latest-signal,
body.m22-dark .m22-header-v66 .m22-latest-signal{
  background:linear-gradient(145deg,#111c30,#0d1728)!important;
  border-color:#31425d!important;
  box-shadow:0 9px 25px rgba(0,0,0,.18)!important;
}
.m22-dark .m22-header-v66 .m22-latest-signal .m22-signal-icon,
body.m22-dark .m22-header-v66 .m22-latest-signal .m22-signal-icon{
  background:#e8f1ff!important;
  color:#0b65eb!important;
}
.m22-dark .m22-header-v66 .m22-latest-signal b,
body.m22-dark .m22-header-v66 .m22-latest-signal b{
  color:#f5f8ff!important;
  opacity:1!important;
}
.m22-dark .m22-header-v66 .m22-latest-signal small,
body.m22-dark .m22-header-v66 .m22-latest-signal small{
  color:#aebdd4!important;
  opacity:1!important;
}

/* Desktop utility bar: weather/date/social/language were too fine at 9px. */
@media (min-width:761px){
  .m22-topbar-v6{min-height:38px!important;height:auto!important}
  .m22-topbar-v6 .m22-topbar-inner{min-height:38px!important;height:auto!important;gap:14px!important}
  .m22-topbar-v6,
  .m22-topbar-v6 a,
  .m22-topbar-v6 span,
  .m22-topbar-v6 b,
  .m22-topbar-v6 small{
    font-size:11px!important;
    line-height:1.25!important;
  }
  .m22-topbar-v6 .m22-topbar-left,
  .m22-topbar-v6 .m22-topbar-right{gap:13px!important}
  .m22-topbar-v6 .m22-edition,
  .m22-topbar-v6 .m22-live-dot,
  .m22-topbar-v6 .m22-topbar-left>a{font-weight:750!important}
  .m22-topbar-v6 .m22-weather-compact{
    min-height:28px!important;
    padding:5px 10px!important;
    gap:7px!important;
  }
  .m22-topbar-v6 .m22-weather-compact span{font-size:10.5px!important;font-weight:800!important}
  .m22-topbar-v6 .m22-weather-compact b{font-size:11.5px!important;font-weight:850!important}
  .m22-topbar-v6 .m22-weather-compact small{font-size:9.5px!important;font-weight:650!important}
  .m22-topbar-v6 .m22-social-mini a{width:26px!important;height:26px!important;font-size:11px!important}
  .m22-topbar-v6 .m22-language-switch{min-height:28px!important;align-items:center!important}
  .m22-topbar-v6 .m22-language-title{font-size:10.5px!important;font-weight:800!important}
  .m22-topbar-v6 .m22-lang-pill{min-height:26px!important;padding:4px 10px!important;font-size:10.5px!important;font-weight:850!important}
  .m22-topbar-v6 .m22-lang-pill:last-child{font-size:12px!important}
}

/* Keep the compact tablet behavior without making the latest card unreadable. */
@media (min-width:981px) and (max-width:1180px){
  .m22-header-v66 .m22-latest-signal{min-width:150px!important}
  .m22-header-v66 .m22-latest-signal b{font-size:11.5px!important}
  .m22-header-v66 .m22-latest-signal small{font-size:8.5px!important}
}
