.xy-news-page {
  background: #f5f7fa;
  color: #172033;
}

.xy-news-main {
  min-height: 70vh;
}

.xy-news-hero {
  padding: 78px 0 70px;
  border-bottom: 1px solid #e5eaf0;
  background: #fff;
}

.xy-news-hero-copy {
  max-width: 760px;
}

.xy-news-eyebrow,
.xy-news-section-eyebrow,
.xy-news-box-kicker {
  display: block;
  margin-bottom: 12px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.xy-news-hero h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.2;
}

.xy-news-hero p {
  max-width: 650px;
  margin: 20px 0 0;
  color: #5d687a;
  font-size: 17px;
  line-height: 1.8;
}

.xy-news-hero-actions,
.xy-news-service-actions,
.xy-news-empty-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.xy-news-primary,
.xy-news-secondary,
.xy-news-service-actions a,
.xy-news-empty-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid #d6dde8;
  border-radius: 4px;
  background: #fff;
  color: #263247;
  font-weight: 600;
}

.xy-news-primary,
.xy-news-service-actions .is-primary,
.xy-news-empty-actions .is-primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.xy-news-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
  color: #6f7a8d;
  font-size: 14px;
}

.xy-news-hero-tags span::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: #ef6c3e;
}

.xy-news-content-section {
  padding: 64px 0 76px;
}

.xy-news-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.xy-news-section-head h2,
.xy-news-service-inner h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
}

.xy-news-section-head p,
.xy-news-service-inner p,
.xy-news-empty p {
  margin: 10px 0 0;
  color: #6b7688;
  line-height: 1.7;
}

.xy-news-category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  max-width: 560px;
}

.xy-news-category-nav a {
  color: #4e5a6d;
  font-size: 14px;
}

.xy-news-category-nav a:hover,
.xy-news-more:hover {
  color: #2563eb;
}

.xy-news-results {
  display: block;
}

.xy-news-results[hidden],
.xy-news-empty[hidden],
.xy-news-loading[hidden],
.xy-news-category-nav[hidden] {
  display: none !important;
}

.news-index {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, .78fr);
  gap: 28px;
  margin-bottom: 30px;
}

.xy-news-featured {
  display: block;
  min-width: 0;
}

.news-index-banner {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 6px;
  background-color: #303a4b;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 14px 34px rgba(28, 41, 61, .12);
}

.news-index-banner::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(10, 35, 69, 0) 0%, rgba(10, 35, 69, .3) 34%, rgba(10, 35, 69, .84) 100%);
}

.news-index-banner.is-without-image {
  background: #414b5d;
}

.news-banner-cont {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 32px;
  color: #fff;
}

.news-featured-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffb27e;
  font-size: 13px;
  font-weight: 700;
}

.news-banner-cont h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.5;
}

.news-banner-cont time {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
}

.news-box {
  min-width: 0;
  border: 1px solid #e3e8ef;
  border-radius: 6px;
  background: #fff;
}

.news-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 86px;
  padding: 18px 22px;
  border-bottom: 1px solid #edf0f4;
}

.xy-news-box-kicker {
  margin-bottom: 5px;
  color: #ef6c3e;
  font-size: 10px;
}

.news-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.xy-news-more {
  flex: 0 0 auto;
  color: #7a8494;
  font-size: 13px;
}

.xy-news-more span {
  margin-left: 6px;
}

.news-list {
  padding: 0 22px;
}

.news-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 57px;
  border-bottom: 1px solid #edf0f4;
}

.news-item:last-child {
  border-bottom: 0;
}

.news-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background: #fff0e9;
  color: #e85828;
  font-size: 12px;
  font-weight: 700;
}

.news-item-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #273247;
}

.news-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-time {
  color: #8b94a3;
  font-size: 12px;
}

.news-list-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bottom-news {
  min-height: 285px;
}

.xy-news-category-empty {
  margin: 36px 0;
  color: #929aa7;
  text-align: center;
}

.xy-news-loading {
  display: grid;
  grid-template-columns: 1.22fr .78fr;
  gap: 28px;
}

.xy-news-skeleton {
  min-height: 390px;
  border-radius: 6px;
  background: #e7ebf0;
  animation: xy-news-pulse 1.4s ease-in-out infinite alternate;
}

.xy-news-skeleton-list {
  min-height: 390px;
}

@keyframes xy-news-pulse {
  from { opacity: .55; }
  to { opacity: 1; }
}

.xy-news-empty {
  padding: 72px 24px;
  border: 1px solid #e3e8ef;
  background: #fff;
  text-align: center;
}

.xy-news-empty-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #9eb8e8;
  border-radius: 50%;
  color: #2563eb;
  font-weight: 700;
}

.xy-news-empty h2 {
  margin: 18px 0 0;
  font-size: 22px;
}

.xy-news-empty-actions {
  justify-content: center;
}

.xy-news-service-band {
  padding: 48px 0;
  border-top: 1px solid #e0e5eb;
  background: #fff;
}

.xy-news-service-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.xy-news-service-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.xy-news-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .news-index {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  }

  .news-list-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .xy-news-hero {
    padding: 44px 0 40px;
  }

  .xy-news-hero h1 {
    font-size: 34px;
  }

  .xy-news-hero p {
    font-size: 15px;
  }

  .xy-news-content-section {
    padding: 42px 0 52px;
  }

  .xy-news-section-head,
  .xy-news-service-inner {
    display: block;
  }

  .xy-news-category-nav {
    justify-content: flex-start;
    max-width: none;
    margin-top: 22px;
  }

  .news-index,
  .xy-news-loading,
  .news-list-index {
    grid-template-columns: 1fr;
  }

  .news-index-banner,
  .xy-news-skeleton {
    min-height: 250px;
  }

  .news-banner-cont {
    padding: 22px;
  }

  .news-banner-cont h2 {
    font-size: 20px;
  }

  .news-box-head,
  .news-list {
    padding-right: 16px;
    padding-left: 16px;
  }

  .news-item-link {
    display: block;
    padding: 12px 0;
  }

  .news-text,
  .news-time {
    display: block;
  }

  .news-text {
    white-space: normal;
    line-height: 1.55;
  }

  .news-time {
    margin-top: 5px;
  }

  .xy-news-service-actions {
    margin-top: 24px;
  }
}

/* v1254: strengthen the featured headline and simplify the category panel. */
.xy-news-page .news-index-banner::after {
  height: 48%;
  background: linear-gradient(180deg, rgba(8, 31, 65, 0) 0%, rgba(8, 31, 65, .24) 34%, rgba(8, 31, 65, .84) 100%);
}

.xy-news-page .news-banner-cont {
  width: min(92%, 570px);
  padding: 26px;
  text-shadow: 0 2px 10px rgba(3, 22, 48, .82);
}

.xy-news-page .news-banner-cont h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.38;
}

.xy-news-page .news-featured-label {
  color: #e5f3ff;
  font-weight: 700;
}

.xy-news-page .news-banner-cont time {
  color: #f2f7fc;
  font-weight: 500;
}

.xy-news-page .xy-news-topics {
  border: 1px solid #d8e5f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 64, 103, .05);
}

.xy-news-page .xy-news-topics-head {
  min-height: 70px;
  align-items: center;
  margin-bottom: 0;
  padding: 14px 20px;
  border-bottom: 1px solid #e6edf6;
}

.xy-news-page .xy-news-topics-heading {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.xy-news-page .xy-news-topics-heading .xy-news-section-eyebrow {
  padding: 4px 7px;
  border-radius: 4px;
  background: #eaf4ff;
  font-size: 10px;
}

.xy-news-page .xy-news-topics-heading h2 {
  margin: 0;
  font-size: 20px;
}

.xy-news-page .xy-news-category-tab.is-active {
  border-color: #0878f9;
  background: #0878f9;
  color: #fff;
  box-shadow: none;
}

.xy-news-page .xy-news-category-panel-host {
  min-height: 0;
}

.xy-news-page .xy-news-category-panel {
  border: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
}

.xy-news-page .xy-news-category-meta {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border-bottom: 1px solid #eef3f8;
  background: #f8fbff;
}

.xy-news-page .xy-news-category-current {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 10px;
}

.xy-news-page .xy-news-category-current .news-title {
  margin: 0;
  color: #162b49;
  font-size: 16px;
  font-weight: 700;
}

.xy-news-page .xy-news-category-current > span {
  color: #7d90a8;
  font-size: 12px;
}

.xy-news-page .xy-news-category-list {
  padding: 0 20px 8px;
}

.xy-news-page .xy-news-category-empty {
  min-height: 0;
  padding: 18px 20px 20px;
  background: #fff;
}

.xy-news-page .xy-news-category-empty strong {
  display: block;
  margin-bottom: 4px;
  color: #314967;
  font-size: 14px;
}

.xy-news-page .xy-news-category-empty p {
  color: #7d90a8;
  font-size: 13px;
}

@media (max-width: 767px) {
  .xy-news-page .news-index-banner::after {
    height: 55%;
  }

  .xy-news-page .news-banner-cont {
    width: 100%;
    padding: 20px;
  }

  .xy-news-page .news-banner-cont h2 {
    font-size: 21px;
    line-height: 1.38;
  }

  .xy-news-page .xy-news-topics-head {
    min-height: 0;
    margin-bottom: 0;
    padding: 15px 12px 12px;
  }

  .xy-news-page .xy-news-topics-heading {
    gap: 9px;
  }

  .xy-news-page .xy-news-topics-heading h2 {
    font-size: 18px;
  }

  .xy-news-page .xy-news-category-controls {
    margin-top: 12px;
  }

  .xy-news-page .xy-news-category-meta {
    min-height: 48px;
    padding: 0 12px;
  }

  .xy-news-page .xy-news-category-list {
    padding: 0 12px 6px;
  }

  .xy-news-page .xy-news-category-empty {
    min-height: 0;
    gap: 12px;
    padding: 18px 12px;
  }
}

/* v1253: compact category browser for the Xiaoyue news center. */
.xy-news-page .xy-news-main .section-content {
  width: min(1200px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
  padding: 0;
}

.xy-news-page .xy-news-hero {
  position: relative;
  display: flex;
  box-sizing: border-box;
  min-height: 420px;
  align-items: center;
  overflow: hidden;
  padding: 64px 0;
  background-color: #f4f9ff;
  background-image: url('/web/xiaoyue/assets/img/theme-console/hero/v873/background-announce.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
}

.xy-news-page .xy-news-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 34%, rgba(255, 255, 255, .45) 60%, rgba(255, 255, 255, 0) 78%);
  pointer-events: none;
}

.xy-news-page .xy-news-hero.xy-theme-light-hero {
  background-color: #f4f9ff !important;
  background-position: right center !important;
  background-size: auto 100% !important;
}

.xy-news-page .xy-news-hero .section-content {
  position: relative;
  z-index: 1;
}

.xy-news-page .xy-news-hero-copy {
  width: min(600px, 53%);
}

.xy-news-page .xy-news-eyebrow {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 0;
  padding: 0 11px;
  border: 1px solid #cfe2fb;
  border-radius: 4px;
  background: rgba(244, 249, 255, .92);
  color: #0969da;
}

.xy-news-page .xy-news-hero h1 {
  margin-top: 18px;
  color: #101b33;
}

.xy-news-page .xy-news-hero p {
  margin-top: 14px;
  color: #40516c;
}

.xy-news-page .xy-news-hero-actions {
  margin-top: 24px;
}

.xy-news-page .xy-news-primary,
.xy-news-page .xy-news-secondary,
.xy-news-page .xy-news-service-actions a,
.xy-news-page .xy-news-empty-actions a {
  min-width: 116px;
  min-height: 44px;
  border-color: #bfd4ef;
  color: #1264c6;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.xy-news-page .xy-news-primary,
.xy-news-page .xy-news-service-actions .is-primary,
.xy-news-page .xy-news-empty-actions .is-primary {
  border-color: #0878f9;
  background: #0878f9;
  color: #fff;
  box-shadow: 0 8px 22px rgba(8, 120, 249, .2);
}

.xy-news-page .xy-news-primary:hover,
.xy-news-page .xy-news-secondary:hover,
.xy-news-page .xy-news-service-actions a:hover,
.xy-news-page .xy-news-empty-actions a:hover {
  transform: translateY(-1px);
}

.xy-news-page .xy-news-hero-tags {
  gap: 8px;
  margin-top: 18px;
}

.xy-news-page .xy-news-hero-tags span,
.xy-news-page .xy-news-hero-tags a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #cfe1f7;
  border-radius: 4px;
  background: rgba(255, 255, 255, .76);
  color: #1264c6;
  font-size: 13px;
}

.xy-news-page .xy-news-hero-tags span::before,
.xy-news-page .xy-news-hero-tags a::before {
  display: none;
}

.xy-news-page .xy-news-content-section {
  padding: 56px 0 64px;
  background: #f5f8fc;
}

.xy-news-page .xy-news-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin-bottom: 24px;
}

.xy-news-page .xy-news-category-nav {
  max-width: none;
  justify-content: flex-start;
  gap: 8px;
}

.xy-news-page .xy-news-category-nav a,
.xy-news-page .xy-news-category-tab,
.xy-news-page .xy-news-category-more summary {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #d4dfed;
  border-radius: 4px;
  background: #fff;
  color: #3f5877;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.xy-news-page .xy-news-category-nav a:hover,
.xy-news-page .xy-news-category-tab:hover,
.xy-news-page .xy-news-category-tab.is-active,
.xy-news-page .xy-news-category-more summary:hover,
.xy-news-page .xy-news-category-more.is-active summary {
  border-color: #82b7f5;
  background: #edf6ff;
  color: #0878f9;
}

.xy-news-page .xy-news-category-tab.is-active {
  border-color: #0878f9;
  box-shadow: inset 0 0 0 1px #0878f9;
}

.xy-news-page .xy-news-topics {
  margin-top: 0;
}

.xy-news-page .xy-news-topics-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.xy-news-page .xy-news-topics-heading h2 {
  margin: 4px 0 0;
  color: #162b49;
  font-size: 22px;
  line-height: 1.35;
}

.xy-news-page .xy-news-category-controls {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.xy-news-page .xy-news-category-nav {
  min-width: 0;
}

.xy-news-page .xy-news-category-more {
  position: relative;
  flex: 0 0 auto;
}

.xy-news-page .xy-news-category-more[hidden] {
  display: none !important;
}

.xy-news-page .xy-news-category-more summary {
  gap: 7px;
  list-style: none;
  user-select: none;
}

.xy-news-page .xy-news-category-more summary::-webkit-details-marker {
  display: none;
}

.xy-news-page .xy-news-category-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 8px);
  right: 0;
  min-width: 196px;
  overflow: hidden;
  padding: 6px;
  border: 1px solid #d8e5f3;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(29, 64, 104, .14);
}

.xy-news-page .xy-news-category-menu button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  padding: 0 11px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #3f5877;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.xy-news-page .xy-news-category-menu button:hover,
.xy-news-page .xy-news-category-menu button.is-active {
  background: #edf6ff;
  color: #0878f9;
}

.xy-news-page .xy-news-category-panel-host {
  min-height: 231px;
}

.xy-news-page .xy-news-category-panel {
  width: 100%;
}

.xy-news-page .xy-news-category-panel .news-box-head {
  min-height: 66px;
}

.xy-news-page .xy-news-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
}

.xy-news-page .xy-news-category-list .news-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.xy-news-page .xy-news-category-empty {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 20px;
  color: #6f8299;
}

.xy-news-page .xy-news-category-empty p {
  margin: 0;
}

.xy-news-page .xy-news-category-empty a {
  flex: 0 0 auto;
  color: #0878f9;
}

@media (min-width: 768px) {
  .xy-news-page .xy-news-category-tab:nth-child(n + 5) {
    display: none;
  }
}

.xy-news-page .news-index-banner {
  min-height: 340px;
  border: 1px solid #d8e4f1;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(30, 64, 103, .09);
}

.xy-news-page .news-index {
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  gap: 24px;
  margin-bottom: 24px;
}

.xy-news-page .news-banner-cont {
  padding: 26px;
}

.xy-news-page .news-banner-cont h2 {
  font-size: 23px;
  line-height: 1.45;
}

.xy-news-page .news-featured-label {
  margin-bottom: 9px;
  color: #c7e4ff;
}

.xy-news-page .news-box {
  width: auto;
  border-color: #d8e5f3;
  border-radius: 8px;
}

.xy-news-page .news-box-head {
  min-height: 72px;
  padding: 14px 20px;
  border-bottom-color: #e6edf6;
}

.xy-news-page .xy-news-box-kicker {
  margin-bottom: 3px;
  color: #0878f9;
  font-size: 11px;
}

.xy-news-page .news-title {
  color: #162b49;
  font-size: 18px;
}

.xy-news-page .xy-news-more {
  color: #527091;
}

.xy-news-page .news-list {
  padding: 0 20px;
}

.xy-news-page .news-item {
  min-height: 53px;
  border-bottom-color: #e8eef6;
}

.xy-news-page .news-number {
  background: #eaf4ff;
  color: #0878f9;
}

.xy-news-page .news-item-link {
  color: #263b57;
}

.xy-news-page .news-item-link:hover .news-text {
  color: #0878f9;
}

.xy-news-page .news-time {
  color: #7d90a8;
}

.xy-news-page .news-number {
  border-radius: 4px;
}

.xy-news-page .news-list-index {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.xy-news-page .bottom-news {
  min-height: 0;
}

@media (max-width: 991px) {
  .xy-news-page .xy-news-hero,
  .xy-news-page .xy-news-hero.xy-theme-light-hero {
    background-position: 64% center !important;
    background-size: cover !important;
  }

  .xy-news-page .xy-news-hero-copy {
    width: 62%;
  }

  .xy-news-page .news-index,
  .xy-news-page .xy-news-loading {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .xy-news-page .xy-news-main .section-content {
    width: min(1200px, calc(100% - 30px));
  }

  .xy-news-page .xy-news-hero,
  .xy-news-page .xy-news-hero.xy-theme-light-hero {
    min-height: 500px;
    align-items: flex-end;
    padding: 48px 0 34px;
    background-position: 66% top !important;
    background-size: auto 62% !important;
  }

  .xy-news-page .xy-news-hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .38) 36%, rgba(255, 255, 255, .98) 61%, #fff 100%);
  }

  .xy-news-page .xy-news-hero-copy {
    width: 100%;
  }

  .xy-news-page .xy-news-hero-actions a {
    min-width: 0;
    flex: 1 1 0;
    padding: 0 12px;
  }

  .xy-news-page .xy-news-content-section {
    padding: 44px 0 52px;
  }

  .xy-news-page .xy-news-category-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .xy-news-page .xy-news-category-nav::-webkit-scrollbar {
    display: none;
  }

  .xy-news-page .xy-news-category-nav a,
  .xy-news-page .xy-news-category-tab {
    flex: 0 0 auto;
  }

  .xy-news-page .xy-news-topics-head {
    display: block;
    margin-bottom: 12px;
  }

  .xy-news-page .xy-news-category-controls {
    display: block;
    margin-top: 14px;
  }

  .xy-news-page .xy-news-category-more {
    display: none !important;
  }

  .xy-news-page .xy-news-category-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .xy-news-page .xy-news-category-list .news-item:nth-last-child(2) {
    border-bottom: 1px solid #e8eef6;
  }

  .xy-news-page .xy-news-category-empty {
    min-height: 150px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .xy-news-page .news-index-banner,
  .xy-news-page .xy-news-skeleton {
    min-height: 270px;
  }

  .xy-news-page .news-banner-cont {
    padding: 20px;
  }

  .xy-news-page .news-banner-cont h2 {
    font-size: 20px;
  }

  .xy-news-page .news-list-index {
    grid-template-columns: 1fr;
  }
}

/* v1254 final cascade: compact topics panel and stronger featured headline. */
.xy-news-page .news-banner-cont h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.38;
  text-shadow: 0 2px 10px rgba(3, 22, 48, .9);
}

.xy-news-page .xy-news-topics-head {
  min-height: 70px;
  align-items: center;
  margin-bottom: 0;
  padding: 14px 20px;
  border-bottom: 1px solid #e6edf6;
}

.xy-news-page .xy-news-topics-heading h2 {
  margin: 0;
  font-size: 20px;
}

.xy-news-page .xy-news-category-tab.is-active {
  border-color: #0878f9;
  background: #0878f9;
  color: #fff;
  box-shadow: none;
}

.xy-news-page .xy-news-category-panel-host,
.xy-news-page .xy-news-category-empty {
  min-height: 0;
}

.xy-news-page .xy-news-category-empty {
  padding: 18px 20px 20px;
}

@media (max-width: 767px) {
  .xy-news-page .news-banner-cont h2 {
    font-size: 21px;
    line-height: 1.38;
  }

  .xy-news-page .xy-news-topics-head {
    min-height: 0;
    margin-bottom: 0;
    padding: 15px 12px 12px;
  }

  .xy-news-page .xy-news-topics-heading h2 {
    font-size: 18px;
  }

  .xy-news-page .xy-news-category-controls {
    margin-top: 12px;
  }

  .xy-news-page .xy-news-category-empty {
    min-height: 0;
    justify-content: center;
    gap: 12px;
    padding: 18px 12px;
  }
}

/* v1267: lighter feature treatment and clearer topic navigation. */
.xy-news-page .news-index-banner {
  min-height: 316px;
}

.xy-news-page .news-index-banner::after {
  inset: 0;
  height: auto;
  background: linear-gradient(180deg, rgba(7, 27, 55, 0) 34%, rgba(7, 27, 55, .12) 56%, rgba(7, 27, 55, .78) 100%);
}

.xy-news-page .news-banner-cont {
  width: min(92%, 570px);
  max-width: 92%;
  padding: 24px 26px;
  text-shadow: none;
}

.xy-news-page .news-banner-cont h2 {
  font-size: 24px;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(3, 22, 48, .72);
}

.xy-news-page .news-box-head {
  min-height: 66px;
}

.xy-news-page .news-item {
  min-height: 49px;
}

.xy-news-page .xy-news-topics {
  overflow: visible;
  border: 1px solid #d8e5f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(30, 64, 103, .05);
}

.xy-news-page .xy-news-topics-head {
  min-height: 64px;
  align-items: center;
  margin-bottom: 0;
  padding: 14px 20px;
  border-bottom: 1px solid #edf2f7;
}

.xy-news-page .xy-news-topics-count {
  color: #7d90a8;
  font-size: 13px;
  white-space: nowrap;
}

.xy-news-page .xy-news-category-controls {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 0;
  padding: 12px 20px;
  border-bottom: 1px solid #edf2f7;
  border-radius: 7px 7px 0 0;
  background: #fbfdff;
}

.xy-news-page .xy-news-category-nav {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow: hidden;
}

.xy-news-page .xy-news-category-tab,
.xy-news-page .xy-news-category-more summary {
  min-height: 36px;
  white-space: nowrap;
}

.xy-news-page .xy-news-category-more summary i {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.xy-news-page .xy-news-category-more[open] summary i {
  transform: rotate(225deg) translate(-1px, -1px);
}

.xy-news-page .xy-news-category-menu {
  top: calc(100% + 7px);
  min-width: 320px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 8px;
}

.xy-news-page .xy-news-category-more[open] .xy-news-category-menu {
  display: grid;
}

.xy-news-page .xy-news-category-menu button {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xy-news-page .xy-news-category-meta {
  min-height: 54px;
  background: #fff;
}

.xy-news-page .xy-news-category-panel {
  border-radius: 0 0 8px 8px;
}

@media (max-width: 767px) {
  .xy-news-page .news-index-banner {
    min-height: 260px;
  }

  .xy-news-page .news-index-banner::after {
    height: auto;
  }

  .xy-news-page .news-banner-cont {
    width: 100%;
    max-width: 100%;
    padding: 18px;
  }

  .xy-news-page .news-banner-cont h2 {
    font-size: 20px;
  }

  .xy-news-page .xy-news-topics-head {
    display: flex;
    min-height: 58px;
    align-items: center;
    padding: 12px;
  }

  .xy-news-page .xy-news-category-controls {
    display: block;
    min-height: 0;
    margin-top: 0;
    padding: 10px 12px;
  }

  .xy-news-page .xy-news-category-nav {
    overflow-x: auto;
  }
}

/* v1275: compact title search and mobile-first viewport refinement. */
.xy-news-page .xy-news-category-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.xy-news-page .xy-news-search {
  position: relative;
  width: 220px;
  height: 36px;
  flex: 0 0 220px;
}

.xy-news-page .xy-news-search input {
  width: 100%;
  height: 100%;
  padding: 0 40px 0 13px;
  border: 1px solid #cfdded;
  border-radius: 4px;
  outline: none;
  background: #fff;
  color: #102a4d;
  font-size: 13px;
  letter-spacing: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.xy-news-page .xy-news-search input::placeholder {
  color: #8a9bb0;
}

.xy-news-page .xy-news-search input:focus,
.xy-news-page .xy-news-search.is-active input {
  border-color: #2580ee;
  box-shadow: 0 0 0 2px rgba(37, 128, 238, .1);
}

.xy-news-page .xy-news-search button {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 36px;
  height: 34px;
  padding: 0;
  border: 0;
  border-left: 1px solid #e6edf6;
  border-radius: 0 3px 3px 0;
  background: transparent;
  color: #3578cf;
  cursor: pointer;
}

.xy-news-page .xy-news-search button:hover {
  background: #f2f7ff;
}

.xy-news-page .xy-news-search button:disabled {
  cursor: wait;
  opacity: .58;
}

.xy-news-page .xy-news-search-icon {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 auto;
  border: 1.8px solid currentColor;
  border-radius: 50%;
}

.xy-news-page .xy-news-search-icon::after {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 6px;
  height: 1.8px;
  border-radius: 1px;
  background: currentColor;
  content: '';
  transform: rotate(45deg);
  transform-origin: left center;
}

.xy-news-page .xy-news-search.is-loading .xy-news-search-icon {
  border-right-color: transparent;
  animation: xy-news-search-spin .7s linear infinite;
}

.xy-news-page .xy-news-search-clear {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #cdddee;
  border-radius: 4px;
  background: #fff;
  color: #176bd4;
  font-size: 13px;
  cursor: pointer;
}

.xy-news-page .xy-news-search-clear:hover {
  border-color: #2580ee;
  background: #f5f9ff;
}

@keyframes xy-news-search-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1199px) {
  .xy-news-page .xy-news-search {
    width: 190px;
    flex-basis: 190px;
  }
}

@media (max-width: 767px) {
  .xy-news-page .xy-news-hero,
  .xy-news-page .xy-news-hero.xy-theme-light-hero {
    min-height: 440px;
    padding: 40px 0 28px;
    background-size: auto 58% !important;
  }

  .xy-news-page .xy-news-category-tools {
    width: 100%;
    margin-top: 10px;
  }

  .xy-news-page .xy-news-search {
    width: 100%;
    flex: 1 1 auto;
  }

  .xy-news-page .xy-news-category-more {
    display: none;
  }

  .xy-news-page .xy-news-search-clear {
    flex: 0 0 auto;
  }
}
