/* Komani Newsroom 4.2.1: match the simple second nav row in the reference.
   One compact static row: map/flag + Elections 2026 | short headline links.
   No carousel arrows, no ellipses, no extra borders and no header redesign. */
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends {
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:0 !important;
  width:100% !important;
  max-width:100% !important;
  height:54px !important;
  min-height:54px !important;
  max-height:54px !important;
  padding:0 !important;
  margin:0 auto !important;
  transform:none !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  scroll-behavior:auto !important;
  scroll-snap-type:none !important;
  border:0 !important;
  background:white !important;
  font:400 clamp(15px,1.04vw,18px)/1.2 Arial,Helvetica,sans-serif !important;
}
body.single-post nav.news-trends.kn421-news-trends.container-wide {
  --kn-editorial-gutter:clamp(28px,3.5vw,64px);
  width:min(calc(100% - (var(--kn-editorial-gutter) * 2)), var(--kn-editorial-canvas,1650px)) !important;
  max-width:var(--kn-editorial-canvas,1650px) !important;
}
/* The badge remains fixed regardless of publishing activity. */
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends > a.kn-election-link {
  display:inline-flex !important;
  align-items:center !important;
  flex:0 0 auto !important;
  gap:7px !important;
  width:auto !important;
  max-width:none !important;
  height:auto !important;
  padding:0 20px 0 0 !important;
  margin:0 0 0 0 !important;
  border:0 !important;
  border-right:1px solid #b5b5b5 !important;
  background:transparent !important;
  white-space:nowrap !important;
  overflow:visible !important;
  color:#111 !important;
  text-decoration:none !important;
  font:700 clamp(14px,1.04vw,18px)/1.2 Arial,Helvetica,sans-serif !important;
}
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn-election-icon {
  display:block !important;
  width:27px !important;
  height:23px !important;
  flex:0 0 27px !important;
  object-fit:contain !important;
}
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items {
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  height:100% !important;
  padding:0 0 0 0 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  scrollbar-width:none !important;
}
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items > a,
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items > span.kn-breaking-strip-link {
  box-sizing:border-box !important;
  display:inline-flex !important;
  flex:0 0 auto !important;
  align-items:center !important;
  gap:8px !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  height:auto !important;
  padding:0 19px !important;
  margin:0 !important;
  border:0 !important;
  border-right:0 !important;
  color:#111 !important;
  background:transparent !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  font-family:inherit !important; font-size:inherit !important; font-weight:400 !important;
  line-height:1.2 !important;
  scroll-snap-align:none !important;
}
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items > a:last-child,
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items > span.kn-breaking-strip-link:last-child {border-right:0 !important;}
/* Breaking is simply a red text cue in the same row, not an extra banner. */
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items .kn-breaking-strip-tag {
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  color:#c90015 !important;
  font-family:inherit !important; font-size:inherit !important; font-weight:700 !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items .kn-breaking-strip-title {
  color:#111 !important; font-family:inherit !important; font-size:inherit !important; font-weight:inherit !important;
  white-space:nowrap !important; text-overflow:clip !important; overflow:visible !important;
}
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items > a:hover,
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items > a:focus-visible,
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends > a.kn-election-link:hover,
:is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends > a.kn-election-link:focus-visible {
  text-decoration:underline !important;
  text-underline-offset:3px !important;
}
/* Prevent a flash of overflowing headlines before the fit script runs. */
@media (min-width:761px) {
  :is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends:not(.kn-headlines-ready) .kn421-headline-items > :nth-child(n+4) {
    display:none !important;
  }
  :is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items > .kn-last-visible {
    padding-right:0 !important;
  }
}
@media (max-width:760px) {
  body.single-post nav.news-trends.kn421-news-trends.container-wide { width:calc(100% - 32px) !important; max-width:100% !important; }
  :is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends {
    width:100% !important;
    height:50px !important;
    min-height:50px !important;
    max-height:50px !important;
    padding:0 !important;
    font-size:13px !important;
    margin:0 auto !important;
  }
  :is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends > a.kn-election-link {
    font-size:12px !important;
    padding-right:12px !important;
    margin-right:0 !important;
    gap:4px !important;
  }
  :is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn-election-icon {
    width:23px !important;
    height:20px !important;
    flex-basis:23px !important;
  }
  :is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items {
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior-inline:contain;
    touch-action:pan-x pan-y;
  }
  :is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items > a,
  :is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items > span.kn-breaking-strip-link {
    font-size:13px !important;
    padding:0 12px !important;
  }
}
@media (max-width:340px) {
  :is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends > a.kn-election-link {font-size:11px !important;padding-right:9px !important;}
  :is(body.home .homepage, body.blog .homepage, body.single-post) .news-trends.kn421-news-trends .kn421-headline-items > a {padding:0 9px !important;}
}
