/* ============================================================
   section7.css —— 第 7 屏 技术博客
   三篇文章卡 / 深色背景
   ============================================================ */

.insights {background:var(--soft)}
.articles {display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.article {overflow:hidden;border-radius:var(--r);background:#fff}
.article img {width:100%;height:300px;object-fit:cover}
.abody {padding:25px}
.abody small {color:var(--o)}
.abody p {font-size:11px}
.article p {font-size:12px}
.abody small {display:block;line-height:1.4;letter-spacing:.05em}
.abody small {margin-bottom:10px}
.abody h3 {margin-bottom:10px;line-height:1.3}
.abody p {margin-bottom:0;line-height:1.65}
and orange on interaction. */
.insights .article .link {color: var(--ink);
  text-decoration: none;
  vertical-align: bottom;}
.insights .article .link:hover {color: var(--o);}
.insights .article .link:focus-visible {color: var(--o);}
.insights .view-all-articles {text-decoration: none;}
/* Insights section heading */
.insights {position:relative;padding:96px 0;overflow:hidden}
.insights::before {content:"";position:absolute;z-index:1;inset:0;background:rgba(20,18,22,.3);pointer-events:none}
.insights-bg {position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:brightness(.8) contrast(1.06)}
.insights>.shell {position:relative;z-index:2}
.insights .head {grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:48px;margin-bottom:44px}
.insights .head .eye {margin:0 0 14px;color:var(--o);font-size:12px;font-weight:600;line-height:1.45;letter-spacing:.08em;text-transform:uppercase}
.insights .head h2 {margin:0 0 12px;color:#fff;font-size:46px;font-weight:600;line-height:1.08;letter-spacing:0;white-space:nowrap}
.insights .view-all-articles {align-self:end;min-width:188px;min-height:0;height:42px;margin-bottom:0;padding:0 0 10px;justify-content:center;gap:14px;border:0;border-radius:0;background:transparent;color:#fff;font:600 14px/1 var(--font-family);letter-spacing:0;cursor:pointer}
.insights .view-all-articles:hover {transform:none;background:transparent;color:#fff}
.insights .view-all-articles:focus-visible {transform:none;background:transparent;color:#fff}
.insights .article {transition:transform .32s cubic-bezier(.22,.61,.36,1),box-shadow .32s ease}
.insights .article>img {transform:scale(1);transform-origin:center;transition:transform .42s cubic-bezier(.22,.61,.36,1)}
.insights .article:focus-within {transform:translateY(-4px);box-shadow:0 18px 38px rgba(20,18,22,.2)}
.insights .article:focus-within>img {transform:scale(1.025)}
@media(max-width:1180px) {
  .articles {grid-template-columns:1fr 1fr}
  .insights .head {grid-template-columns:1fr;gap:20px}
  .insights .view-all-articles {justify-self:start;align-self:start;margin-bottom:0}
}
@media(max-width:820px) {
  .articles {grid-template-columns:1fr}
  .abody h3 {line-height:1.32}
  .insights .head {gap:18px;margin-bottom:40px}
  .insights .head .eye {margin-bottom:12px}
  .insights .head h2 {font-size:46px;line-height:1.1;margin-bottom:10px;white-space:normal}
}
@media(hover:hover) and (pointer:fine) {
  .insights .article:hover {transform:translateY(-4px);box-shadow:0 18px 38px rgba(20,18,22,.2)}
  .insights .article:hover>img {transform:scale(1.025)}
}
@media(prefers-reduced-motion:reduce) {
  .insights .article {transition:none}
  .insights .article>img {transition:none}
  .insights .article:hover {transform:none}
  .insights .article:focus-within {transform:none}
  .insights .article:hover>img {transform:none}
  .insights .article:focus-within>img {transform:none}
}

/* 首页技术文章卡文本截断（2026-11-14 用户要求）：标题最多 1 行、摘要最多 2 行，超出显示省略号 */
.insights .article h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.insights .article p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
