/* News uses the homepage's dark surface, white reading panels and logo palette. */
.news-page { background: #010204; color: #e5e7ef; }
.news-page a { color: #b4c1ff; }
.news-page a:hover { color: #fff; }
.news-page .skip-link { color: #252938; }
.news-banner { padding: 28px 0 34px; background: #010204 url("/public/index/images/world-map-background.png") center top / 1920px 580px no-repeat; }
.news-banner .breadcrumbs { margin-bottom: 24px; }
.news-page .site-main { padding: 12px 0 64px; }
.news-page .features { display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: 30px; align-items: start; }
.news-page .left { position: sticky; top: 24px; }
.news-page .left ul { padding: 0; list-style: none; }
.news-page .left a {
  display: block;
  padding: 12px 16px;
  border: 1px solid #6681d4;
  border-radius: 24px;
  background: #17233d;
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.news-page .left a:hover { background: #243664; border-color: #a5b7ff; }
.news-page .right { min-width: 0; }
.news-page .news-heading { margin-bottom: 32px; text-align: center; }
.news-page .news-heading h1 { font-size: 38px; line-height: 1.4; color: #fff; }
.news-page .news-heading h1::after {
  content: ""; display: block; width: 64px; height: 4px; margin: 18px auto 0; border-radius: 2px;
  background: var(--download-brand-gradient, linear-gradient(135deg, #ae87fe, #5396ed, #133ee2));
}
.news-page .news-heading p { max-width: 650px; margin: 22px auto 0; color: #babec8; font-size: 15px; line-height: 1.9; }
.news-page .news-server-list { padding: 0; list-style: none; }
.news-page .news-empty { padding: 30px 24px; border: 1px solid #252c3c; border-radius: 14px; color: #babec8; background: #0b0f19; text-align: center; }
.news-page .news-entry {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 24px;
  border: 1px solid #252c3c; border-radius: 14px; background: #0b0f19;
}
.news-page .news-entry + .news-entry { margin-top: 20px; }
.news-page .news-thumbnail {
  display: flex; align-items: center; justify-content: center; align-self: start;
  min-width: 0; height: 164px; overflow: hidden; border-radius: 8px;
  background: #111726 url("/public/index/images/world-map-background.png") center / 700px auto no-repeat;
}
.news-page .news-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.news-page .news-summary { display: flex; flex-direction: column; min-width: 0; }
.news-page .news-summary h2 { margin-bottom: 12px; font-size: 21px; line-height: 1.55; overflow-wrap: anywhere; }
.news-page .news-summary h2 a { color: #f3f4f7; text-decoration: none; }
.news-page .news-summary h2 a:hover { color: #b4c1ff; text-decoration: underline; }
.news-page .news-summary p { margin: 0; color: #b4bac8; font-size: 14px; line-height: 1.85; }
.news-page .news-read { margin-left: 8px; white-space: nowrap; }
.news-page .news-date { display: block; align-self: flex-end; margin-top: auto; padding-top: 16px; color: #979eae; font-size: 13px; }
.news-page .pages { margin-top: 30px; text-align: center; }
.news-page .pages:empty { display: none; }
.news-page .pages ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; list-style: none; }
.news-page .pages li { margin: 0; }
.news-page .pages a, .news-page .pages li > span, .news-page .pages > span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px;
  padding: 6px 13px; border: 1px solid #3c4967; border-radius: 9px; color: #dce3ff; background: #111726; text-decoration: none;
}
.news-page .pages a:hover { border-color: #a5b7ff; background: #233151; color: #fff; }
.news-page .pages .active > span, .news-page .pages .active > a, .news-page .pages .current, .news-page .pages [aria-current="page"] { background: #315ae2; border-color: #315ae2; color: #fff; }
.news-page .pages .disabled > span, .news-page .pages .disabled > a { color: #939bad; background: #11151e; cursor: default; }
.news-page .pages [aria-disabled="true"] { color: #939bad; background: #11151e; cursor: default; }
.news-page .article-detail { padding: 36px; border-radius: 16px; background: #fff; color: #252938; }
.news-page .article-detail .title { margin: 0; color: #252938; font-size: 34px; line-height: 1.5; overflow-wrap: anywhere; }
.news-page .post-time { margin: 18px 0 28px; padding-bottom: 22px; border-bottom: 1px solid #e4e6ec; color: #747b88; font-size: 14px; }
.news-page .content { overflow-wrap: anywhere; overflow-x: auto; font-size: 16px; line-height: 1.95; }
.news-page .content > * + * { margin-top: 20px; }
.news-page .content :is(h2,h3,h4) { margin-top: 28px; color: #252938; line-height: 1.6; }
.news-page .content h2 { font-size: 25px; }
.news-page .content h3 { font-size: 21px; }
.news-page .content :is(ul,ol) { padding-left: 1.5em; }
.news-page .content img, .news-page .content video { max-width: 100% !important; height: auto !important; }
.news-page .content iframe { max-width: 100%; }
.news-page .content table { border-collapse: collapse; max-width: 100%; font-size: 14px; }
.news-page .content th, .news-page .content td { border: 1px solid #dfe3ec; padding: 10px 12px; }
.news-page .content pre { overflow-x: auto; padding: 18px; background: #f3f5fa; border-radius: 8px; }
.news-page .content blockquote { margin-inline: 0; padding: 12px 20px; border-left: 4px solid #7c91ec; background: #f3f5fa; }
.news-page .article-detail a { color: #315ae2; }
.news-page .article-detail a:hover { color: #213fab; }
.news-page .article-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; padding-top: 24px; border-top: 1px solid #e4e6ec; }
.news-page .article-nav > div { min-width: 0; padding: 16px; border: 1px solid #e4e6ec; border-radius: 10px; background: #f7f8fc; font-size: 14px; overflow-wrap: anywhere; }
.news-page .article-nav-label { display: block; margin-bottom: 7px; color: #777f8f; font-size: 12px; }
.news-page .article-nav a { display: inline-block; padding-block: 4px; }
.news-page .blog-detail-back { display: inline-block; margin-top: 24px; padding: 8px 0; font-weight: 700; }
.news-page .news-noscript { padding: 22px 0; font-size: 14px; color: #babec8; }
/* Raw server placeholders never become visible in a static HTML preview. */
.news-page[data-article-id^="{$"] .article-detail,
.news-page[data-article-id^="{$"] .news-server-list,
.news-page[data-article-id^="{$"] .pages { display: none; }
.news-page[data-static-news] .news-server-list { display: block; }
@media (max-width: 1000px) {
  .news-page .features { grid-template-columns: 1fr; gap: 26px; }
  .news-page .left { position: static; }
  .news-page .left a { display: inline-block; min-width: 140px; }
}
@media (max-width: 650px) {
  .news-banner { padding: 22px 0; background-size: 1100px auto; }
  .news-page .site-main { padding-bottom: 42px; }
  .news-page .news-heading h1 { font-size: 28px; }
  .news-page .news-heading p { font-size: 14px; }
  .news-page .news-entry { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .news-page .news-thumbnail { width: 100%; height: 190px; }
  .news-page .news-summary h2 { font-size: 20px; }
  .news-page .article-detail { padding: 24px 20px; }
  .news-page .article-detail .title { font-size: 26px; }
  .news-page .content { font-size: 15px; }
  .news-page .article-nav { grid-template-columns: 1fr; gap: 12px; }
}
