.resource-articles{display:flex;flex-direction:column;gap:14px;max-width:1500px;margin:22px auto 0}
.resource-articles>button{display:grid;grid-template-columns:minmax(240px,330px) minmax(0,1fr) 110px;gap:30px;align-items:center;min-height:200px;padding:24px 18px;color:inherit;text-align:left;border:0;border-radius:12px;background:#fff;box-shadow:0 1px 4px rgba(14,61,125,.06);transition:background .25s ease,transform .25s ease,box-shadow .25s ease}
/* 隔一篇浅灰背景：偶数项用灰色，与白色交错，视觉上不挨在一起 */
.resource-articles>button:nth-child(even){background:rgb(128,128,128)}
.resource-articles>button:nth-child(even).no-cover{background:rgb(128,128,128)}
.resource-articles>button:nth-child(even) h3,
.resource-articles>button:nth-child(even) p{color:#fff}
.resource-articles>button:nth-child(even) .article-number{color:#cfe0f4}
.resource-articles>button:hover{z-index:1;background:#eaf1f8;transform:translateX(6px);box-shadow:0 6px 18px rgba(14,61,125,.1)}
.resource-cover{height:168px;overflow:hidden;border-radius:8px;background:#e8f0f8}
.resource-cover img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.resource-articles>button:hover .resource-cover img{transform:scale(1.035)}
.resource-cover--edge-crop img{transform:scale(1.16) translateX(-6%)}
.resource-articles>button:hover .resource-cover--edge-crop img{transform:scale(1.2) translateX(-6%)}
.resource-copy{min-width:0}
.resource-copy h3{margin:0 0 20px;color:#16283b;font-size:clamp(18px,1.35vw,25px);line-height:1.4}
.article-number{color:var(--cyan);font-variant-numeric:tabular-nums}
.resource-copy p{display:-webkit-box;max-width:820px;margin:0 0 22px;overflow:hidden;color:var(--muted);line-height:1.8;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.resource-copy b{color:var(--cyan);font-size:12px}
.resource-articles time{align-self:start;padding-top:3px;color:#5d7387;font-size:13px;text-align:right;white-space:nowrap}
.resource-articles>button:nth-child(even) time{color:#fff}
.resource-articles>button.no-cover{grid-template-columns:minmax(0,1fr) 110px;padding-left:30px}
#resources .heading{text-align:center;max-width:820px;margin-left:auto;margin-right:auto}
#resources .heading h2{font-size:clamp(26px,2.8vw,32px)}
#resources .heading>p:last-child{max-width:680px;margin:10px auto 0;font-size:18px;line-height:1.7;color:#4a5e73}
/* 技术文章分页器 */
.resource-pager{display:flex;justify-content:center;align-items:center;gap:18px;margin:26px 0 10px}
.resource-pager button{min-width:96px;height:38px;padding:0 16px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#1668d8;font-size:12px;font-weight:700;cursor:pointer;transition:.15s}
.resource-pager button:hover:not(:disabled){background:#eef3f8;border-color:var(--cyan)}
.resource-pager button:disabled{opacity:.35;cursor:default}
.resource-pager span{color:#5d7387;font-size:13px;font-weight:700}
.product i{width:100%;height:76px;overflow:hidden;border:0;border-radius:6px;background:#f0f5fa}
.product i img{width:100%;height:100%;object-fit:cover}
.product i span{display:grid;width:100%;height:100%;place-items:center;color:#1668d8;font-size:9px;font-style:normal}
.product{min-height:140px;padding:8px}
.product b{display:block;padding:5px 0}
@media(max-width:800px){.resource-articles>button,.resource-articles>button.no-cover{grid-template-columns:1fr;gap:16px;padding:20px 16px}.resource-cover{height:200px}.resource-articles time{grid-row:1;text-align:left}.resource-articles>button:not(.no-cover) time{grid-row:auto}.product i{height:92px}}
