/* ============================================================
   Site-wide NEWS UPDATE ticker + BREAKING news bar
   Matches Figma: blue ticker + orange breaking stack
   Width: constrained to site .container (same as nav/content)
   ============================================================ */

.gv-site-alerts {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: transparent; /* page background outside the content column */
}

.gv-site-alerts__inner {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.gv-site-alerts *,
.gv-site-alerts *::before,
.gv-site-alerts *::after {
  box-sizing: border-box;
}

/* ---------- NEWS UPDATE ticker ---------- */
.gv-news-ticker {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 42px;
  background: #35557E;
  overflow: hidden;
  font-family: 'Anek Devanagari', sans-serif;
}

.gv-news-ticker__label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  background: #5D99D6;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
  z-index: 2;
}

.gv-news-ticker__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

.gv-news-ticker__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  align-items: center;
  will-change: transform;
  animation: gv-ticker-scroll 45s linear infinite;
}

.gv-news-ticker:hover .gv-news-ticker__track {
  animation-play-state: paused;
}

.gv-news-ticker__group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
}

.gv-news-ticker__item {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  /* text-decoration: underline; */
  text-underline-offset: 3px;
  white-space: nowrap;
  padding: 10px 28px 10px 8px;
  font-family: 'Anek Devanagari', sans-serif;
}

.gv-news-ticker__item:hover,
.gv-news-ticker__item:focus {
  color: #ffffff;
  opacity: 0.9;
}

.gv-news-ticker__bullet {
  display: inline-block;
  margin-right: 8px;
  text-decoration: none;
  font-weight: 700;
}

@keyframes gv-ticker-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ---------- BREAKING news ---------- */
.gv-breaking-news {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Anek Devanagari', sans-serif;
}

.gv-breaking-news__badge {
  display: block;
  width: 100%;
  background: #B87D50;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 5px 12px;
}

.gv-breaking-news__headline {
  display: block;
  width: 100%;
  background: #FBAE6B;
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 14px 20px;
}

.gv-breaking-news__headline a,
.gv-breaking-news__headline span {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Anek Devanagari', sans-serif;
}

.gv-breaking-news__headline a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 767px) {
  /*
   * Mobile only: sit flush under the fixed header.
   * Previous gap came from .mob-ad padding-top (65px) + an extra
   * alerts margin-top (72px). Use a single offset equal to the
   * header height, and neutralize .mob-ad top padding after alerts.
   */
  .gv-site-alerts {
    margin-top: 58px !important; /* clears fixed mobile header only */
  }

  /* Avoid double offset: ad block no longer needs header clearance */
  .gv-site-alerts + .mob-ad {
    padding-top: 0 !important;
  }

  /* Alerts handle header clearance — keep content tight below them */
  #news-block {
    margin-top: 10px !important;
  }

  .gv-news-ticker {
    min-height: 38px;
  }

  .gv-news-ticker__label {
    padding: 0 12px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .gv-news-ticker__item {
    font-size: 13px;
    padding: 9px 20px 9px 6px;
  }

  .gv-news-ticker__track {
    animation-duration: 55s;
  }

  .gv-breaking-news__badge {
    font-size: 11px;
    padding: 4px 10px;
  }

  .gv-breaking-news__headline {
    font-size: 15px;
    line-height: 1.4;
    padding: 12px 14px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gv-news-ticker__track {
    animation: none;
    transform: none;
  }

  .gv-news-ticker__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
