/* Ortak site chrome: desktop-nav tüm sayfalarda aynı.
   Sayfa CSS'lerinden sonra yüklenir; body.*-page-body menü override'larını yener. */

html body[class] > .desktop-nav,
html body > .desktop-nav {
  display: block !important;
  background: #fff !important;
  border-bottom: 1px solid #e5e7eb !important;
  font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

html body[class] > .desktop-nav > .container.nav-inner,
html body > .desktop-nav > .container.nav-inner {
  width: 100% !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  overflow: visible !important;
}

html body[class] > .desktop-nav > .container.nav-inner > a,
html body > .desktop-nav > .container.nav-inner > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  color: #111827 !important;
  position: relative !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body[class] > .desktop-nav > .container.nav-inner > a::after,
html body[class] > .desktop-nav > .container.nav-inner > a:after,
html body > .desktop-nav > .container.nav-inner > a::after,
html body > .desktop-nav > .container.nav-inner > a:after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

html body[class] > .desktop-nav > .container.nav-inner > a:hover,
html body[class] > .desktop-nav > .container.nav-inner > a.active,
html body > .desktop-nav > .container.nav-inner > a:hover,
html body > .desktop-nav > .container.nav-inner > a.active {
  color: #e60012 !important;
}

html body[class] > .desktop-nav > .container.nav-inner > a > i,
html body > .desktop-nav > .container.nav-inner > a > i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #e60012 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

html body[class] > .desktop-nav > .container.nav-inner > a > span,
html body > .desktop-nav > .container.nav-inner > a > span {
  display: inline !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  line-height: inherit !important;
}

html body[class] > .desktop-nav > .container.nav-inner > button#openMenuDesktop,
html body > .desktop-nav > .container.nav-inner > button#openMenuDesktop {
  margin-left: auto !important;
  border: 0 !important;
  background: #fff !important;
  font-size: 25px !important;
  line-height: 1 !important;
  color: #111827 !important;
  cursor: pointer !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  box-shadow: none !important;
}

html body.header-icons-off[class] > .desktop-nav > .container.nav-inner > a > i,
html body.header-icons-off > .desktop-nav > .container.nav-inner > a > i {
  display: none !important;
}

html body.header-icons-off[class] > .desktop-nav > .container.nav-inner > a,
html body.header-icons-off > .desktop-nav > .container.nav-inner > a {
  gap: 0 !important;
}

@media (max-width: 900px) {
  html body[class] > .desktop-nav > .container.nav-inner > a,
  html body > .desktop-nav > .container.nav-inner > a {
    font-size: 15px !important;
  }
}

@media (max-width: 768px) {
  html body[class] > .desktop-nav,
  html body > .desktop-nav {
    display: none !important;
  }
}

/* Header altı şerit (ticker / hn-breaking): height + font aynı; renk sayfa CSS'inde kalır */
html body[class] > .ticker,
html body[class] > .hn-breaking,
html body > .ticker,
html body > .hn-breaking {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #fff !important;
  font-family: Poppins, Inter, system-ui, sans-serif !important;
  position: relative !important;
  z-index: 40 !important;
}

html body[class] > .ticker > .container.ticker-inner,
html body[class] > .hn-breaking > .container.hn-breaking-inner,
html body > .ticker > .container.ticker-inner,
html body > .hn-breaking > .container.hn-breaking-inner {
  width: 100% !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  overflow: hidden !important;
}

html body[class] > .ticker > .container.ticker-inner > span,
html body[class] > .hn-breaking .hn-breaking-label,
html body > .ticker > .container.ticker-inner > span,
html body > .hn-breaking .hn-breaking-label {
  flex: 0 0 auto !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 0 15px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  color: #fff !important;
}

html body[class] > .ticker > .container.ticker-inner > b,
html body[class] > .hn-breaking .hn-breaking-time,
html body > .ticker > .container.ticker-inner > b,
html body > .hn-breaking .hn-breaking-time {
  flex: 0 0 auto !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  padding: 0 8px !important;
  white-space: nowrap !important;
  color: #fff !important;
}

html body[class] > .ticker > .container.ticker-inner > p,
html body[class] > .hn-breaking .hn-breaking-current,
html body > .ticker > .container.ticker-inner > p,
html body > .hn-breaking .hn-breaking-current {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 42px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: #fff !important;
}

html body[class] > .ticker > .container.ticker-inner > button,
html body[class] > .hn-breaking .hn-breaking-prev,
html body[class] > .hn-breaking .hn-breaking-next,
html body > .ticker > .container.ticker-inner > button,
html body > .hn-breaking .hn-breaking-prev,
html body > .hn-breaking .hn-breaking-next {
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  cursor: pointer !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

html body[class] > .hn-breaking .hn-breaking-window,
html body > .hn-breaking .hn-breaking-window {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 768px) {
  html body[class] > .ticker > .container.ticker-inner,
  html body[class] > .hn-breaking > .container.hn-breaking-inner,
  html body > .ticker > .container.ticker-inner,
  html body > .hn-breaking > .container.hn-breaking-inner {
    height: 38px !important;
    gap: 8px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  html body[class] > .ticker > .container.ticker-inner > span,
  html body[class] > .hn-breaking .hn-breaking-label,
  html body > .ticker > .container.ticker-inner > span,
  html body > .hn-breaking .hn-breaking-label {
    height: 38px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  html body[class] > .hn-breaking .hn-breaking-label,
  html body > .hn-breaking .hn-breaking-label {
    display: none !important;
  }

  html body[class] > .ticker > .container.ticker-inner > b,
  html body[class] > .hn-breaking .hn-breaking-time,
  html body > .ticker > .container.ticker-inner > b,
  html body > .hn-breaking .hn-breaking-time {
    font-size: 14px !important;
    padding: 0 4px !important;
  }

  html body[class] > .ticker > .container.ticker-inner > p,
  html body[class] > .hn-breaking .hn-breaking-current,
  html body > .ticker > .container.ticker-inner > p,
  html body > .hn-breaking .hn-breaking-current {
    font-size: 14px !important;
    line-height: 38px !important;
  }

  html body[class] > .ticker > .container.ticker-inner > button,
  html body[class] > .hn-breaking .hn-breaking-prev,
  html body[class] > .hn-breaking .hn-breaking-next,
  html body > .ticker > .container.ticker-inner > button,
  html body > .hn-breaking .hn-breaking-prev,
  html body > .hn-breaking .hn-breaking-next {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
  }
}
