/* index.html 页面布局、图文列表、侧栏及响应式样式。
   无图稿件省略 .article-image 链接即可；空图片容器由 CSS 隐藏，.article-copy 使用 flex: 1 自然铺满。 */
/* 仅首页：正文底部与页脚顶部分隔线保持 80px 间距。 */
#site-footer .site-footer {
  margin-top: 80px;
}
.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;
}
.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%);
}
.sidebar-report {
  padding: 17px 30px 30px;
}
.sidebar-report>h3 {
  margin-bottom: 19px;
  color: #21517d;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}
.report-selector {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.report-years {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 0 0 101px;
}
.report-years a {
  display: block;
  text-align: center;
  line-height: 35px;
  height: 37px;
  border: 1px solid #d8d8d8;
  background: #fff;
  font-size: 18px;
}
.report-years a.active {
  border-color: #aaa;
  background: #aaa;
  color: #fff;
}
.report-panels {
  min-width: 0;
  flex: 1;
}
.report-cover {
  display: none;
}
.report-cover.active {
  display: block;
}
.report-cover img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #fff;
}
.report-cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 230px;
  padding: 40px 5px 20px;
  background: #fff;
  color: #222;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
}
.report-cover-placeholder strong {
  font-size: 9px;
  line-height: 15px;
}
.report-cover-placeholder small {
  font-size: 5px;
  line-height: 10px;
}
.article-item {
  display: flex;
  gap: 24px;
  align-items: stretch;
  position: relative;
  min-width: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.article-image {
  display: block;
  flex: 0 0 256px;
  width: 256px;
  align-self: flex-start;
  overflow: hidden;
}
.article-image:empty, .article-image:not(:has(> img[src]:not([src=""]))) {
  display: none;
}
.article-image img {
  width: 100%;
  aspect-ratio: 256/170;
  object-fit: cover;
}
.article-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.article-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
  overflow-wrap: break-word;
}
.article-summary {
  margin-top: 12px;
  font-size: 16px;
  line-height: 25px;
  overflow-wrap: break-word;
}
.home-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.home-article {
  padding: 0;
  border: 0;
  gap: 0;
  background: var(--panel);
}
.home-article .article-image {
  width: 345px;
  flex-basis: 345px;
}
.home-article .article-image img {
  aspect-ratio: 345/228;
}
.home-article .article-copy {
  padding: 14px 28px 22px;
  min-height: 0;
}
.home-article .article-title {
  color: var(--blue);
  font-size: 24px;
  line-height: 30px;
}
.home-article .article-summary {
  margin-top: 15px;
  line-height: 30px;
}
.home-article:not(:has(> .article-image > img[src]:not([src=""]))) .article-copy {
  padding: 22px 28px;
}
@media(max-width:1279px) {
  .page-layout {
    gap: 30px;
    grid-template-columns: minmax(0,1fr) 280px;
  }
  .about-links, .sidebar-report {
    padding-inline: 20px;
  }
  .sidebar-heading {
    padding-inline: 20px;
  }
  .about-link {
    padding-left: 26px;
  }
  .about-link img {
    right: 25px;
  }
  .report-years {
    flex-basis: 80px;
  }
  .home-article .article-image {
    width: 36%;
    flex-basis: 36%;
  }
  .home-article .article-image img {
    aspect-ratio: 345/228;
    min-height: 210px;
    object-fit: cover;
  }
  .home-article .article-copy {
    padding: 14px 20px;
  }
  .home-article .article-title {
    font-size: 22px;
    line-height: 28px;
  }
  .home-article .article-summary {
    line-height: 26px;
    margin-top: 10px;
  }
  .article-image {
    width: 32%;
    flex-basis: 32%;
  }
  .article-item {
    gap: 20px;
  }
}
@media(max-width:959px) {
  .page-layout {
    grid-template-columns: minmax(0,1fr) 230px;
    gap: 24px;
    margin-top: 32px;
  }
  .sidebar-heading {
    font-size: 20px;
  }
  .about-links, .sidebar-report {
    padding-inline: 14px;
  }
  .about-link {
    padding-left: 20px;
    font-size: 16px;
  }
  .about-link img {
    right: 20px;
  }
  .report-years {
    flex-basis: 66px;
  }
  .report-years a {
    font-size: 16px;
  }
  .report-cover img {
    height: 230px;
  }
  .home-article .article-image {
    width: 35%;
    flex-basis: 35%;
  }
  .home-article .article-title {
    font-size: 20px;
    line-height: 26px;
  }
  .home-article .article-summary {
    font-size: 15px;
    line-height: 24px;
  }
  .home-article .article-copy {
    padding: 12px 16px;
  }
  .article-title {
    font-size: 18px;
    line-height: 24px;
  }
  .article-summary {
    font-size: 15px;
    line-height: 25px;
  }
}
@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%;
  }
  .home-list {
    gap: 22px;
  }
  .home-article .article-image {
    width: 34%;
    flex-basis: 34%;
  }
  .home-article .article-image img {
    min-height: 160px;
    height: 100%;
    aspect-ratio: 4/5;
  }
  .home-article .article-title {
    font-size: 18px;
    line-height: 24px;
  }
  .home-article .article-copy {
    padding: 12px 14px 14px;
  }
  .home-article .article-summary {
    font-size: 14px;
    line-height: 23px;
    margin-top: 8px;
  }
  .home-article:not(:has(> .article-image > img[src]:not([src=""]))) .article-copy {
    padding: 18px;
  }
  .article-item {
    gap: 15px;
    padding-block: 18px;
  }
  .article-image {
    width: 30%;
    flex-basis: 30%;
  }
  .article-image img {
    height: auto;
    aspect-ratio: 4/3;
  }
  .article-title {
    font-size: 18px;
    line-height: 25px;
  }
  .article-summary {
    font-size: 14px;
    line-height: 24px;
    margin-top: 9px;
  }
  .article-item:has(> .article-image > img[src]:not([src=""])) .article-copy {
    min-height: 0;
  }
  .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;
  }
  .sidebar-report {
    padding: 18px 20px 24px;
  }
  .sidebar-report>h3 {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 14px;
  }
  .report-selector {
    max-width: 300px;
    gap: 16px;
  }
  .report-years {
    flex-basis: 100px;
  }
  .report-years a {
    height: 37px;
  }
  .report-cover img {
    height: 230px;
  }
}
@media(max-width:379px) {
  .home-article .article-image {
    width: 31%;
    flex-basis: 31%;
  }
  .home-article .article-copy {
    padding-inline: 12px;
  }
  .home-article .article-title {
    font-size: 17px;
    line-height: 23px;
  }
  .article-item {
    gap: 12px;
  }
}
@media(max-width:767px) {
  .article-item {
    display: block;
  }
  .article-image, .home-article .article-image {
    width: 100%;
    margin-bottom: 14px;
  }
  .article-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
  }
  .article-copy {
    width: 100%;
  }
  .home-article .article-image {
    margin-bottom: 0;
  }
  .home-article .article-image img {
    height: auto;
    min-height: 0;
    aspect-ratio: 345/228;
  }
  .home-article .article-copy {
    padding: 18px;
  }
  .home-article .article-title {
    font-size: 20px;
    line-height: 27px;
  }
  .home-article .article-summary {
    font-size: 15px;
    line-height: 25px;
  }
  .home-list {
    gap: 24px;
  }
}
/* PC 端行高由右栏决定，三条稿件平分剩余高度，长标题和摘要省略。 */
@media(min-width:768px) {
  .home-list {
    display: grid;
    grid-template-rows: repeat(3,minmax(0,1fr));
    align-self: stretch;
    contain: size;
    min-height: 0;
  }
  .home-article {
    min-height: 0;
    overflow: hidden;
    gap: 0;
  }
  .home-article .article-image {
    align-self: stretch;
    height: 100%;
    max-width: 42%;
  }
  .home-article .article-image img {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
  }
  .home-article .article-copy {
    overflow: hidden;
  }
  .home-article .article-title, .home-article .article-summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .home-article .article-title {
    flex-shrink: 0;
    -webkit-line-clamp: 2;
  }
  .home-article .article-summary {
    -webkit-line-clamp: 3;
  }
}
@media(max-width:767px) {
  .home-article {
    padding: 0;
  }
  .home-article .article-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}
