/* news01 静态母版修复层：保留原视觉，只修响应式、可访问性和资源表现。 */
:root {
  color-scheme: light;
}

html,
body {
  min-width: 0;
  overflow-x: hidden;
}

body {
  color: #2b2b2b;
  background: #fff;
  font-family: Verdana, Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

a:focus-visible {
  outline: 2px solid #2f83c5;
  outline-offset: 2px;
}

.w960,
.header {
  width: min(960px, calc(100% - 24px));
}

.header_top .w960 {
  width: 100%;
}

.header .logo h1,
.header .logo .brand-title {
  display: block;
  margin: 0;
  padding: 12px 0 0 10px;
  color: #1f5f91;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
}

.header .nav {
  max-width: calc(100% - 220px);
}

.header .nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.header .nav-col,
.header .nav-col .nowrap {
  box-sizing: border-box;
  width: auto;
}

.header .nav-col a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-row {
  margin-top: 5px;
  margin-bottom: 5px;
}

.content-row .indexl {
  float: left;
  width: 640px;
}

.content-row .indexr {
  float: right;
  width: 310px;
}

.home-image-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.home-image-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.home-image-item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.content-row .main {
  margin-top: 0;
}

.content-row .ml {
  float: left;
  width: 315px;
}

.content-row .mr {
  float: right;
  width: 315px;
}

.tbox dd {
  min-height: 0;
}

.d1 li a,
.c1 li a,
.r1 li a,
.d5 li a {
  overflow-wrap: anywhere;
}

.section-title {
  margin: 0 12px 12px;
  color: #1f5f91;
  font-size: 22px;
  line-height: 1.4;
}

.viewbox .title h1 {
  padding-top: 16px;
  color: #000;
  font-size: 24px;
  line-height: 1.45;
  text-align: center;
}

.viewbox .content {
  overflow-wrap: anywhere;
}

.viewbox .content img {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 12px auto;
}

.article-relations {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-top: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
  line-height: 1.9;
}

.article-relations a {
  display: block;
}

.empty-state {
  padding: 28px 16px;
  color: #666;
  line-height: 1.8;
  text-align: center;
}

.footer .copyright {
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .content-row .indexl {
    width: 66.4%;
  }

  .content-row .indexr {
    width: 32.2%;
  }

  .content-row .ml,
  .content-row .mr {
    width: 49.2%;
  }

  .pleft {
    width: calc(100% - 252px);
  }

  .pright {
    width: 244px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
    line-height: 1.65;
  }

  .w960,
  .header {
    width: min(100% - 20px, 960px);
  }

  .header {
    overflow: visible;
  }

  .header_top {
    height: auto !important;
    min-height: 34px;
    line-height: 34px;
  }

  .header_top .time {
    float: none;
    display: block;
    padding: 0 8px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .header_top .toplinks {
    display: none;
  }

  .header .logo {
    float: none;
    width: 100%;
    height: auto;
    margin: 0;
    text-align: center;
  }

  .header .logo h1,
  .header .logo .brand-title {
    padding: 14px 0 10px;
    font-size: 28px;
  }

  .header .nav {
    float: none;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 0 8px;
    padding: 0;
  }

  .header .nav-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #dcdddd;
    border-left: 1px solid #dcdddd;
  }

  .header .nav-col {
    display: contents;
  }

  .header .nav-col .nowrap {
    display: contents;
  }

  .header .nav-col a {
    box-sizing: border-box;
    width: auto;
    min-height: 44px;
    margin: 0;
    padding: 10px 5px;
    border-right: 1px solid #dcdddd;
    border-bottom: 1px solid #dcdddd;
    line-height: 24px;
    text-align: center;
  }

  .content-row .indexl,
  .content-row .indexr,
  .content-row .ml,
  .content-row .mr,
  .pleft,
  .pright {
    float: none;
    width: 100%;
  }

  .content-row .ml,
  .content-row .mr,
  .content-row .indexr,
  .pright {
    margin-top: 8px;
  }

  .home-image-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .viewbox .content .endmore {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 41px;
    overflow-wrap: anywhere;
  }

  .tbox dt {
    min-height: 34px;
    height: auto;
    line-height: 34px;
  }

  .d1 li,
  .c1 li,
  .r1 li {
    min-height: 34px;
    height: auto;
    line-height: 1.55;
  }

  .d1 li a,
  .c1 li a,
  .r1 li a {
    display: block;
    padding: 7px 2px;
  }

  .d5 li {
    height: auto;
    min-height: 48px;
    padding: 7px 10px;
    line-height: 1.55;
  }

  .d5 li span {
    float: none;
    display: block;
    color: #777;
  }

  .place {
    box-sizing: border-box;
    height: auto;
    min-height: 34px;
    padding: 7px 10px;
    line-height: 1.55;
  }

  .listbox,
  .viewbox {
    box-sizing: border-box;
    width: 100%;
  }

  .viewbox .title h1 {
    padding: 14px 12px 4px;
    font-size: 22px;
  }

  .viewbox .info {
    height: auto;
    padding: 8px 12px;
    line-height: 1.6;
  }

  .viewbox .content {
    padding: 14px;
    font-size: 17px;
    line-height: 1.85;
  }

  .e9 li {
    box-sizing: border-box;
    width: 50%;
  }

  .footer {
    box-sizing: border-box;
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (max-width: 420px) {
  .header .nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .e9 li {
    width: 100%;
  }
}

/* 第9站首页无图模式：仅阻止首页已有皮肤/列表图标触发图片请求；内页同篇图不受影响。 */
.index .header_top,
.index .tbox,
.index .c1 li,
.index .c2 li,
.index .ico1 li,
.index .ico2 li,
.index .ico3 li {
  background-image: none !important;
}
