/* Case article layout. Site header, banner, footer and recommendations reuse shared styles. */
.article-background { padding: 22px 0 28px; }
.article-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; background: #d4d4d4; color: #4f5558; padding: 10px 14px; margin-bottom: 12px; font-size: 12px; line-height: 1.5; }
.article-breadcrumb a:hover { color: #008fca; }
.article-layout { display: grid; grid-template-columns: minmax(0, 3.15fr) minmax(205px, 1fr); gap: 18px; align-items: start; }
.article-main { background: #fff; padding: 22px 18px 18px; min-width: 0; }
.news-article-main { min-height: 450px; }
.article-header { text-align: center; border-bottom: 1px solid #e8e8e8; padding-bottom: 16px; margin-bottom: 12px; }
.article-header h1 { color: #333; font-size: clamp(23px, 2.3vw, 29px); line-height: 1.45; margin: 0 0 12px; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; color: #9a9fa2; font-size: 12px; }
.article-figure { margin: 0; }
.article-figure img { display: block; width: 100%; height: auto; max-height: 850px; object-fit: cover; background: #edf1f3; }
.article-figure figcaption { color: #929aa0; font-size: 12px; text-align: center; margin-top: 7px; }
.article-content { padding: 20px 8px 14px; color: #596771; font-size: 15px; line-height: 2; }
.article-content p { margin: 0 0 15px; text-indent: 2em; }
.article-content .article-lead { font-weight: 600; color: #46545e; }
.article-neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #f5f5f5; padding: 9px 16px; font-size: 13px; color: #69747b; }
.article-neighbors a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.article-neighbors a:hover { color: #008fca; }
.article-side { background: #fff; min-width: 0; }
.article-side h2 { margin: 0; padding: 10px 12px; background: #e2e2e2; color: #333; font-size: 15px; }
.article-side ol { list-style: none; margin: 0; padding: 8px 12px 16px; counter-reset: article-rank; }
.article-side li { counter-increment: article-rank; display: grid; grid-template-columns: 17px minmax(0,1fr); gap: 6px; align-items: baseline; padding: 5px 0; color: #707a80; font-size: 12px; line-height: 1.35; }
.article-side li::before { content: counter(article-rank); background: #a9a9a9; color: #fff; text-align: center; line-height: 16px; font-size: 10px; }
.article-side li:nth-child(-n+3)::before { background: #a12b36; }
.article-side li a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.article-side li a:hover { color: #008fca; }
.article-recommend { width: calc((100% - 18px) * .759); background: #fff; padding: 0 14px 18px; margin-top: 12px; }
.article-recommend h2 { margin: 0 -14px 12px; background: #009bd6; color: #fff; font-size: 15px; padding: 9px 13px; }
.article-recommend .case-recommend-card img { aspect-ratio: 1.15; }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 190px; gap: 12px; }
  .article-main { padding-inline: 14px; }
  .article-recommend { width: calc(100% - 202px); }
}
@media (max-width: 680px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-side { order: 2; }
  .article-side ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
  .article-recommend { width: 100%; }
}
@media (max-width: 480px) {
  .article-background { padding-top: 14px; }
  .article-main { padding: 17px 12px 13px; }
  .article-header h1 { font-size: 23px; }
  .article-content { padding-inline: 2px; font-size: 14px; }
  .article-neighbors { grid-template-columns: 1fr; gap: 7px; }
  .article-side ol { grid-template-columns: 1fr; }
  .article-recommend .case-recommend-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
