﻿.npl-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.985);
  border-bottom: 1px solid var(--npl-line);
  box-shadow: 0 6px 20px rgba(16, 20, 24, 0.045);
  backdrop-filter: blur(14px);
}

.npl-header__inner {
  min-height: 68px;
}

.npl-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  letter-spacing: 0;
}

.npl-brand__mark {
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 32px solid var(--npl-red);
  transform: rotate(2deg);
}

.npl-brand__live,
.npl-live-pill,
.npl-pill--red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--npl-red);
  color: #fff;
  font-weight: 800;
  line-height: 1;
}

.npl-brand__live {
  padding: 7px 8px;
  font-size: 0.8em;
}

.npl-header__tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.npl-icon-link,
.npl-menu-toggle,
.npl-search-toggle,
.npl-slider-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--npl-line);
  border-radius: 999px;
  background: #fff;
  color: var(--npl-ink);
  cursor: pointer;
}

.npl-menu-toggle {
  display: none;
}

.npl-live-pill {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  gap: 8px;
}

.npl-mainnav {
  border-top: 1px solid var(--npl-line);
  background: #fff;
}

.npl-mainnav__inner {
  min-height: 50px;
}

.npl-mainnav__menu {
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.npl-mainnav__menu::-webkit-scrollbar {
  display: none;
}

.npl-mainnav__menu a {
  display: block;
  padding: 15px 17px;
  border-bottom: 3px solid transparent;
  font-size: 0.95rem;
  font-weight: 850;
  white-space: nowrap;
}

.npl-mainnav__menu .current-menu-item > a,
.npl-mainnav__menu a:hover {
  border-color: var(--npl-red);
  color: var(--npl-red);
}

.npl-search-form {
  display: flex;
  width: min(360px, 100%);
}

.npl-search-form input {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--npl-line);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  padding: 11px 18px;
  outline: none;
}

.npl-search-form button {
  border: 1px solid var(--npl-red);
  border-radius: 0 999px 999px 0;
  background: var(--npl-red);
  color: #fff;
  padding: 0 20px;
  font-weight: 850;
  cursor: pointer;
}

.npl-breaking {
  background: linear-gradient(90deg, var(--npl-red), var(--npl-red-dark));
  color: #fff;
}

.npl-breaking__inner {
  min-height: 42px;
  overflow: hidden;
}

.npl-breaking__label {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 4px;
  background: #fff;
  color: var(--npl-red);
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.npl-breaking__text {
  min-width: 0;
  flex: 1;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.npl-hero-card a,
.npl-hero-card a:hover,
.npl-story-card a,
.npl-story-card a:hover,
.npl-live-pill,
.npl-button {
  color: inherit;
}
