.news-header,
.news-header * {
  box-sizing: border-box;
}

.news-header {
  position: relative;
  z-index: 80;
  width: 100%;
  color: #fff;
  background: #071a37;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.news-header__top {
  height: 70px;
  background:
    radial-gradient(circle at 62% -80%, rgba(35, 85, 154, 0.35), transparent 48%),
    linear-gradient(108deg, #061731 0%, #0a2244 54%, #06162f 100%);
}

.news-header__inner {
  display: flex;
  width: min(100%, 1480px);
  height: 100%;
  min-width: 0;
  gap: clamp(16px, 1.6vw, 28px);
  align-items: center;
  margin-inline: auto;
  padding-inline: clamp(22px, 2.4vw, 38px);
}

.news-header__brand {
  position: relative;
  display: grid;
  min-width: 220px;
  flex: 0 0 auto;
  gap: 1px;
  color: #fff;
}

.news-header__brand-name {
  font-size: clamp(22px, 1.75vw, 27px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.news-header__brand-tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.news-header__live {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
  border: 0;
  background: transparent;
  color: #ff4a48;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.035em;
  cursor: pointer;
}

.news-header__live::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(255, 74, 72, 0.08);
  content: "";
  animation: header-live-pulse 1.8s ease-in-out infinite;
}

.news-header__nav {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  gap: clamp(13px, 1.8vw, 29px);
  align-items: center;
  justify-content: center;
}

.news-header__nav-button,
.news-header__action,
.news-header__weather,
.news-header__topic,
.news-header__mobile-topic,
.news-header__drawer-link {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.news-header__nav-button {
  position: relative;
  min-height: 40px;
  padding: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.news-header__nav-button::after {
  position: absolute;
  right: 50%;
  bottom: 2px;
  left: 50%;
  height: 2px;
  border-radius: 999px;
  background: #f13b43;
  content: "";
  transition: right 0.18s ease, left 0.18s ease;
}

.news-header__nav-button:hover::after,
.news-header__nav-button.is-active::after {
  right: 0;
  left: 0;
}

.news-header__actions {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(14px, 1.5vw, 24px);
  align-items: center;
}

.news-header__action,
.news-header__weather {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  gap: 7px;
  align-items: center;
  padding: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.news-header__action svg,
.news-header__weather-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.news-header__action:hover,
.news-header__weather:hover,
.news-header__nav-button:hover {
  color: #dce9fb;
}

.news-header__push-badge {
  position: absolute;
  top: 1px;
  left: 14px;
  display: none;
  min-width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
  border: 2px solid #071a37;
  border-radius: 999px;
  background: #ef343d;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.news-header__push.has-notification .news-header__push-badge {
  display: inline-flex;
}

.news-header__weather {
  cursor: default;
}

.news-header__weather-icon {
  position: relative;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: #f6cf59;
}

.news-header__temperature {
  font-variant-numeric: tabular-nums;
}

.news-header__topics {
  height: 43px;
  overflow: hidden;
  background: #fbfcff;
  color: #14233d;
  box-shadow: 0 1px 5px rgba(5, 18, 40, 0.08);
}

.news-header__topics-inner {
  display: flex;
  width: min(100%, 1410px);
  height: 100%;
  min-width: max-content;
  gap: clamp(23px, 2.8vw, 45px);
  align-items: center;
  margin-inline: auto;
  padding-inline: clamp(22px, 3.7vw, 58px);
}

.news-header__topics-label {
  color: #0b489a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.news-header__topic {
  position: relative;
  height: 100%;
  padding: 0;
  color: #35435b;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.news-header__topic:hover,
.news-header__topic.is-active {
  color: #0b489a;
}

.news-header__mobile-top,
.news-header__mobile-strip,
.news-header__drawer,
.news-header__drawer-backdrop {
  display: none;
}

.header-loader {
  position: fixed;
  z-index: 1200;
  top: max(18px, env(safe-area-inset-top));
  left: 50%;
  display: flex;
  width: max-content;
  max-width: calc(100vw - 28px);
  min-height: 45px;
  gap: 10px;
  align-items: center;
  padding: 9px 16px 9px 10px;
  border: 1px solid rgba(11, 40, 79, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 42px rgba(3, 18, 42, 0.25);
  color: #112844;
  font-size: 13px;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -14px) scale(0.96);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.header-loader.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.header-loader__spinner {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 3px solid #dbe5f1;
  border-top-color: #e4313d;
  border-radius: 50%;
  animation: header-loader-spin 0.62s linear infinite;
}

.news-header button:focus-visible,
.news-header a:focus-visible {
  outline: 2px solid #9bc4ff;
  outline-offset: 3px;
}

@keyframes header-loader-spin {
  to { transform: rotate(360deg); }
}

@keyframes header-live-pulse {
  50% { opacity: 0.45; }
}

@media (max-width: 1280px) {
  .news-header__inner {
    gap: 15px;
    padding-inline: 22px;
  }

  .news-header__brand {
    min-width: 185px;
  }

  .news-header__brand-name {
    font-size: 22px;
  }

  .news-header__nav {
    gap: 15px;
  }

  .news-header__actions {
    gap: 15px;
  }
}

@media (max-width: 1100px) {
  .news-header__top,
  .news-header__nav,
  .news-header__actions,
  .news-header__topics {
    display: none;
  }

  .news-header__mobile-top {
    display: grid;
    width: 100%;
    height: 53px;
    min-width: 0;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    padding-right: max(13px, env(safe-area-inset-right));
    padding-left: max(7px, env(safe-area-inset-left));
    background: linear-gradient(105deg, #06172f, #0a2447 62%, #06162f);
  }

  .news-header__menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .news-header__menu-button svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }

  .news-header__mobile-brand {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin-left: 2px;
    padding-bottom: 5px;
    overflow: hidden;
    color: #fff;
    font-size: clamp(14px, 4.5vw, 18px);
    font-weight: 900;
    letter-spacing: -0.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .news-header__mobile-brand::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: #ef3340;
    content: "";
  }

  .news-header__mobile-weather {
    display: inline-flex;
    min-width: 56px;
    gap: 5px;
    align-items: center;
    justify-content: flex-end;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
  }

  .news-header__mobile-weather .news-header__weather-icon {
    width: 25px;
    height: 25px;
  }

  .news-header__mobile-weather svg {
    width: 22px;
    height: 22px;
  }

  .news-header__mobile-strip {
    position: relative;
    display: flex;
    width: 100%;
    height: 33px;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    color: #14233d;
    box-shadow: 0 2px 7px rgba(4, 17, 38, 0.12);
  }

  .news-header__mobile-scroll {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 4px;
    align-items: center;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 39px 4px 7px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .news-header__mobile-scroll::-webkit-scrollbar {
    display: none;
  }

  .news-header__mobile-topic {
    min-height: 25px;
    flex: 0 0 auto;
    padding: 0 8px;
    border-radius: 5px;
    color: #1f2c40;
    font-size: 9px;
    font-weight: 650;
    white-space: nowrap;
  }

  .news-header__mobile-topic.is-lead,
  .news-header__mobile-topic.is-active {
    background: #0b1b34;
    color: #fff;
  }

  .news-header__mobile-next {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    width: 38px;
    height: 100%;
    place-items: center;
    border: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 48%);
    color: #23354f;
    cursor: pointer;
  }

  .news-header__mobile-next svg {
    width: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .news-header__drawer-backdrop {
    position: fixed;
    z-index: 88;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(1, 9, 21, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .news-header__drawer {
    position: fixed;
    z-index: 89;
    top: 0;
    left: 0;
    display: flex;
    width: min(84vw, 340px);
    height: 100dvh;
    flex-direction: column;
    overflow: hidden;
    background: #091b37;
    box-shadow: 20px 0 55px rgba(0, 0, 0, 0.4);
    transform: translateX(-103%);
    transition: transform 0.22s ease;
  }

  .news-header__drawer.is-open {
    transform: translateX(0);
  }

  .news-header__drawer.is-open + .news-header__drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .news-header__drawer-head {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 13px 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    font-weight: 900;
  }

  .news-header__drawer-close {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    cursor: pointer;
  }

  .news-header__drawer-close svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }

  .news-header__drawer-links {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    padding: 13px;
  }

  .news-header__drawer-link {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
  }

  .news-header__drawer-link:hover,
  .news-header__drawer-link.is-active {
    background: rgba(255, 255, 255, 0.1);
  }

  .news-header__drawer-push {
    gap: 10px;
    justify-content: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .news-header__drawer-push svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.header-drawer-open {
    overflow: hidden;
  }

  body.header-drawer-open .push-news-trigger {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(18px, 8px, 0) scale(0.75);
  }

  .header-loader {
    top: max(10px, env(safe-area-inset-top));
    min-height: 39px;
    padding: 7px 13px 7px 8px;
    font-size: 11px;
  }

  .header-loader__spinner {
    width: 23px;
    height: 23px;
  }
}

@media (max-width: 355px) {
  .news-header__mobile-top {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    padding-right: 9px;
    padding-left: 3px;
  }

  .news-header__mobile-brand {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-header__live::before,
  .header-loader__spinner {
    animation: none;
  }
}
