/* bw西汉姆联中国官网 · 荣誉资质列表页样式 */

:root{--hd-h:152px}
@media (max-width:1024px){:root{--hd-h:88px}}
@media (max-width:768px){:root{--hd-h:74px}}

.hs{background:#fff;padding:44px 0 64px}
.hs-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hs-lead{margin:0 auto 46px;max-width:1040px;text-align:center;font-size:15.5px;line-height:1.85;color:var(--gray)}
.hs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:38px 26px}

.hs-card{display:block;min-width:0;padding:16px 16px 20px;background:#fff;
  border:1px solid var(--line);border-radius:8px;transition:border-color .3s,box-shadow .3s,transform .3s}
.hs-card[hidden]{display:none}
.hs-pic{aspect-ratio:4/3;overflow:hidden;border-radius:4px;background:var(--bg-alt);display:flex;align-items:center;justify-content:center}
.hs-pic img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;
  transition:transform .6s cubic-bezier(.22,.61,.36,1)}
.hs-card:hover .hs-pic img{transform:scale(1.05)}
.hs-card:hover{border-color:var(--brand);box-shadow:0 14px 32px rgba(13,27,42,.12);transform:translateY(-3px)}

.hs-tit{margin-top:14px;font-size:16px;line-height:1.6;font-weight:600;color:var(--ink);text-align:center;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .3s}
.hs-card:hover .hs-tit{color:var(--brand)}

.hs-lb{position:fixed;inset:0;z-index:900;display:flex;align-items:center;justify-content:center;
  background:rgba(8,18,32,.9);padding:56px 72px}
.hs-lb[hidden]{display:none}
.hs-lb-in{margin:0;max-width:100%;display:flex;flex-direction:column;align-items:center;gap:18px}
.hs-lb-in img{max-width:84vw;max-height:76vh;width:auto;height:auto;object-fit:contain;background:#fff;
  border-radius:4px;box-shadow:0 24px 60px rgba(0,0,0,.45)}
.hs-lb-cap{font-size:15.5px;line-height:1.6;color:rgba(255,255,255,.92);text-align:center;max-width:720px}
.hs-lb-x,.hs-lb-nav{position:absolute;display:flex;align-items:center;justify-content:center;
  border:0;cursor:pointer;background:rgba(255,255,255,.14);color:#fff;transition:background .2s}
.hs-lb-x:hover,.hs-lb-nav:hover{background:rgba(255,255,255,.28)}
.hs-lb-x{top:20px;right:24px;width:44px;height:44px;border-radius:50%;font-size:24px;line-height:1}
.hs-lb-nav{top:50%;transform:translateY(-50%);width:46px;height:60px;border-radius:6px;font-size:26px;line-height:1}
.hs-lb-nav.prev{left:16px}
.hs-lb-nav.next{right:16px}
.hs-lb-count{margin-top:-6px;font-size:13px;color:rgba(255,255,255,.6)}

@media (max-width:1500px){
  .hs-grid{gap:34px 22px}
}
@media (max-width:1200px){
  .hs-grid{grid-template-columns:repeat(3,1fr);gap:32px 20px}
}
@media (max-width:1024px){
  .hs{padding:34px 0 46px}
  .hs-grid{grid-template-columns:repeat(2,1fr);gap:28px 18px}
}
@media (max-width:768px){
  .hs{padding:28px 0 38px}
  .hs-lead{margin-bottom:34px;font-size:14.5px;line-height:1.8}
  .hs-grid{gap:24px 14px}
  .hs-card{padding:12px 12px 16px}
  .hs-tit{margin-top:11px;font-size:14.5px}
  .hs-lb{padding:64px 14px}
  .hs-lb-in img{max-width:92vw;max-height:64vh}
  .hs-lb-cap{font-size:14px}
  .hs-lb-nav{width:38px;height:52px;font-size:22px}
  .hs-lb-nav.prev{left:4px}
  .hs-lb-nav.next{right:4px}
  .hs-lb-x{top:12px;right:12px;width:38px;height:38px;font-size:20px}
}
@media (max-width:420px){
  .hs-grid{grid-template-columns:1fr}
}
