/* article.html 页面布局、图文列表、侧栏及响应式样式。
   无图稿件省略 .article-image 链接即可；空图片容器由 CSS 隐藏，.article-copy 使用 flex: 1 自然铺满。 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0,1002fr) minmax(260px,322fr);
  gap: 58px;
  align-items: start;
  margin-top: 48px;
}
.page-layout>* {
  min-width: 0;
}
.panel {
  padding: 20px 30px 44px;
  background: var(--panel);
}
.panel+.panel {
  margin-top: 42px;
}
.sidebar {
  background: var(--panel);
  align-self: start;
}
.sidebar-heading {
  padding: 5px 30px;
  background: var(--blue);
  color: #fff;
  font-size: 22px;
  line-height: 33px;
}
.sidebar-heading a:hover {
  color: #fff;
}
.about-links {
  padding: 23px 30px 28px;
}
.about-item+.about-item {
  margin-top: 11px;
}
.about-link {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 36px 0 48px;
  position: relative;
  border: 1px solid #ddd;
  border-radius: 22px;
  background: white;
  box-shadow: inset 0 0 0 2px #fafafa;
  font-size: 18px;
  line-height: 30px;
  white-space: nowrap;
}
.about-link img {
  position: absolute;
  right: 32px;
  top: 50%;
  width: 8px;
  height: 11px;
  transform: translateY(-50%);
}

/* 展开状态由 active 控制，移出鼠标后仍保留当前项。 */
.about-description {
  display: grid;
  grid-template-rows: 0fr;
  padding-inline: 10px;
  font-size: 14px;
  line-height: 24px;
  overflow-wrap: break-word;
  transition: grid-template-rows .25s ease;
}
.about-description>p {
  min-height: 0;
  overflow: hidden;
}
.about-description>p::before, .about-description>p::after {
  content: "";
  display: block;
  height: 6px;
}
.about-item.active>.about-description {
  grid-template-rows: 1fr;
}
.about-item.active>.about-link img {
  transform: translateY(-50%) rotate(90deg);
}

.article-detail {
  padding-bottom: 30px;
}
.detail-title {
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 26px;
  line-height: 32px;
}
.article-meta {
  margin-bottom: 14px;
  color: #555;
  font-size: 14px;
  line-height: 20px;
}
.share-bar {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}
.share-bar a, .share-bar button {
  display: grid;
  min-width: 18px;
  height: 22px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}
.share-bar img {
  width: auto;
  max-width: 20px;
  height: 16px;
}
/* 微信二维码由 HTML 提供；悬停或键盘聚焦时展示。 */
.share-wechat {
  position: relative;
}
.wechat-qrcode {
  display: none;
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 166px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 14px #0002;
  color: var(--ink);
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  cursor: default;
}
.share-wechat:hover>.wechat-qrcode,
.share-wechat:focus-within>.wechat-qrcode {
  display: block;
}
.wechat-qrcode-placeholder {
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  border: 1px dashed #ccc;
  background: var(--panel);
  color: var(--muted);
}
.share-bar .wechat-qrcode img {
  width: 140px;
  max-width: 100%;
  height: auto;
}
.share-bar-bottom .wechat-qrcode {
  left: auto;
  right: 0;
  transform: none;
}
.share-bar-bottom {
  justify-content: flex-end;
  margin-top: 26px;
  padding-bottom: 9px;
}
.article-body {
  padding-top: 22px;
  font-size: 16px;
  line-height: 28px;
  overflow-wrap: break-word;
}
.article-body img{
height:auto!important;
}
.article-body p {
  margin-bottom: 20px;
}
.article-body p:last-child {
  margin-bottom: 0;
}
.report-cover-text {
  text-align: center;
}
.report-cover-text p {
  margin-bottom: 20px;
}
.report-cover-text strong {
  font-weight: 700;
}
.report-rule {
  width: 62%;
  margin: 40px auto 26px;
  border: 0;
  border-top: 1px solid #555;
}
.report-contents p {
  margin-bottom: 20px;
}
.report-signature {
  text-align: right;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 28px 0 32px;
}
.pagination a {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: #e0e0e0;
  font-size: 14px;
  line-height: 1;
}
.pagination a[aria-current=page] {
  background: var(--blue);
  color: white;
}
.report-page-section {
  scroll-margin-top: 20px;
}
.report-page-section h2 {
  margin-bottom: 20px;
  font-size: 18px;
}
.report-contents p {
  line-height: 28px;
}
.report-page-section {
  scroll-margin-top: 25px;
}
@media(max-width:1279px) {
  .page-layout {
    gap: 30px;
    grid-template-columns: minmax(0,1fr) 280px;
  }
  .about-links {
    padding-inline: 20px;
  }
  .sidebar-heading {
    padding-inline: 20px;
  }
  .about-link {
    padding-left: 26px;
  }
  .about-link img {
    right: 25px;
  }
}
@media(max-width:959px) {
  .page-layout {
    grid-template-columns: minmax(0,1fr) 230px;
    gap: 24px;
    margin-top: 32px;
  }
  .panel {
    padding-inline: 22px;
  }
  .sidebar-heading {
    font-size: 20px;
  }
  .about-links {
    padding-inline: 14px;
  }
  .about-link {
    padding-left: 20px;
    font-size: 16px;
  }
  .about-link img {
    right: 20px;
  }
}
@media(max-width:767px) {
  .page-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 24px;
  }
  .page-layout>section, .page-layout>article, .sidebar {
    width: 100%;
  }
  .panel {
    padding: 20px 18px 28px;
  }
  .panel+.panel {
    margin-top: 26px;
  }
  .sidebar-heading {
    padding: 5px 20px;
    font-size: 20px;
    line-height: 30px;
  }
  .about-links {
    padding: 20px;
  }
  .about-link {
    padding-left: 30px;
    font-size: 16px;
    line-height: 32px;
    min-height: 34px;
  }
  .about-link img {
    right: 30px;
  }
  .detail-title {
    font-size: 23px;
    line-height: 30px;
    margin-bottom: 18px;
  }
  .article-meta {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 12px;
  }
  .article-body {
    font-size: 15px;
    line-height: 27px;
    padding-top: 20px;
  }
  .article-body p {
    margin-bottom: 18px;
  }
  .article-body img{
height:auto!important;
}
  .report-rule {
    width: 80%;
    margin-block: 28px 20px;
  }
  .report-contents p {
    margin-bottom: 18px;
  }
  .pagination {
    gap: 9px;
    margin: 26px 0;
  }
  .pagination a {
    min-width: 28px;
  }
  .share-bar-bottom {
    margin-top: 24px;
  }
}
@media(max-width:379px) {
  .panel {
    padding-inline: 14px;
  }
}
