/* Fit the brand, navigation and date without collisions. */
.dk-hero-sidebar .dark-timeline-scrollbox {
  height: auto;
  min-height: 0;
  max-height: var(--timeline-visible-height, 330px) !important;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #888 #ffffff12;
}
@media (max-width: 767.98px) {
  .dk-hero-sidebar .dark-timeline-scrollbox {
    height: auto;
    max-height: var(--timeline-visible-height, 230px) !important;
  }
}
#siteHeader {
  position: sticky;
  top: 0;
  z-index: 1041;
  background: #fff;
  box-shadow: 0 3px 6px #0002;
}
#siteHeader > div:first-child.bg-white {
  background-color: #fff !important;
  color: #111 !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}
#siteHeader .dk-header-brand .header-logo { padding-top: 0; padding-bottom: 0; }
#siteHeader > div:first-child .main-menu > ul > li > a,
#siteHeader > div:first-child .today-date {
  color: #111 !important;
}
/* Temporarily hide the news slider; retain it for later use. */
#siteHeader .top-10-news { display: none !important; }
img[src*="assets/image/tennews24-logo.png"] {
  background: #fff;
  padding: 6px 8px;
  border-radius: 4px;
  object-fit: contain;
}
.dk-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; }
.dk-header-brand { flex: 0 0 auto; display: block; }
#siteHeader .dk-header-brand .header-logo { display: block; width: 240px; height: auto; max-width: 100%; }
#siteHeader .main-menu { min-width: 0; flex: 1 1 auto; }
#siteHeader .main-menu > ul { padding: 0; flex-wrap: wrap; row-gap: 8px; }
#siteHeader .main-menu > ul > li > a { display: block; padding: 8px 7px; white-space: nowrap; line-height: 1.5; font-size: 17px; }
#siteHeader .today-date { flex: 0 0 auto; font-size: 14px; }
#siteHeader .news-ticker-container, #siteHeader .ticker-viewport { min-width: 0; }
#siteHeader .top-10-news { height: 108px; overflow: hidden; }
#siteHeader .topNewsSlider { height: 92px; }
#siteHeader .top-10-news .top-featured-img { height: 80px; object-fit: cover; border-radius: 8px; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .dk-header-row { gap: 16px; flex-wrap: wrap; }
  #siteHeader .main-menu { order: 3; flex-basis: 100%; width: 100%; }
  #siteHeader .main-menu > ul > li > a { padding-left: 5px; padding-right: 5px; font-size: 16px; }
}
@media (max-width: 991.98px) {
  .dk-header-row { gap: 12px; }
  #siteHeader .dk-header-brand .header-logo { width: 210px; }
}
@media (max-width: 575.98px) {
  #siteHeader .tt-creative-ticker > .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  #siteHeader .news-ticker-container,
  #siteHeader .ticker-viewport li { height: 32px; }
  #siteHeader .tt-creative-label {
    padding: 2px 10px;
    margin-right: 8px;
    gap: 6px;
    font-size: 13px;
    line-height: 20px;
  }
  #siteHeader .ticker-viewport li a { font-size: 15px; line-height: 24px; }
  #siteHeader .tt-ticker-icons a {
    display: flex;
    width: 28px;
    height: 28px;
    line-height: 1;
  }
  #siteHeader .tt-ticker-icons a i { font-size: 14px !important; }
  #siteHeader .dk-header-brand .header-logo { width: 175px; }
  #siteHeader .today-date { font-size: 11px; line-height: 1.6; }
  #siteHeader .tt-ticker-icons { padding-left: 8px !important; gap: 4px !important; }
}
