/* 适用材料页：复用检测项目页的类目/卡片骨架，换成材料实拍图 */
.v2-page.v2-materials .v2-cat-hero h1 { max-width: 26ch; }
.v2-page.v2-materials .v2-cat-hero {
  background:
    linear-gradient(102deg, rgba(8, 47, 82, .94), rgba(0, 121, 195, .58)),
    url("page-materials-wide.webp") center / cover no-repeat;
}

.v2-mat-visual { aspect-ratio: 4 / 3; overflow: hidden; background: var(--v2-blue-soft); }
.v2-mat-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.v2-cat-card:hover .v2-mat-visual img { transform: scale(1.04); }
.v2-mat-code { display: flex; align-items: center; justify-content: center; height: 100%; background: linear-gradient(135deg, #082f52, #0a5f9e 55%, #35a7e0); color: #fff; font-family: var(--mono); font-size: 28px; letter-spacing: .12em; }

.v2-cat-card.is-wide { grid-column: span 2; }
.v2-cat-card.is-wide .v2-mat-visual { aspect-ratio: 16 / 7; }

@media (max-width: 1080px) {
  .v2-cat-card.is-wide { grid-column: span 2; }
}

@media (max-width: 720px) {
  .v2-cat-card.is-wide { grid-column: auto; }
  .v2-cat-card.is-wide .v2-mat-visual { aspect-ratio: 4 / 3; }
}
