/* All device tests share a single photographic grid. */
.device-channel .tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.35vw, 20px);
}
.device-channel .tool-grid .tool-card { min-width: 0; border-radius: 12px; }
.device-channel .tool-grid .card-art { padding: 8px 8px 0; }
.device-channel .tool-grid .card-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 7px; }
.device-channel .tool-grid .card-copy { padding: clamp(.75rem, 1.2vw, 1.05rem); }
.device-channel .tool-grid .card-copy h2,
.device-channel .tool-grid .card-copy h3 {
  margin: 0 0 .4rem;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.22;
  overflow-wrap: break-word;
}
.device-channel .tool-grid .card-copy p { font-size: .94rem; line-height: 1.45; }
.device-channel .tool-grid .card-go { margin-top: .65rem; font-size: .875rem; line-height: 1.32; }
#hardware-checks { scroll-margin-top: 6rem; }
.device-channel .hardware-card:nth-child(6n+2) { background: #f4eff9; border-color: #cdbfdf; }
.device-channel .hardware-card:nth-child(6n+3) { background: #fff3de; border-color: #d9c7a8; }
.device-channel .hardware-card:nth-child(6n+4) { background: #edf4fc; border-color: #b7cadf; }
.device-channel .hardware-card:nth-child(6n+5) { background: #fcefeb; border-color: #ddc4bc; }
.device-channel .hardware-card:nth-child(6n) { background: #edf7f5; border-color: #bbd7d0; }
.hardware-jump { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .85rem; border: 1px solid #a1afa3; border-radius: .6rem; color: #205c40; background: white; font-weight: 700; text-decoration: none; }
.device-channel .tool-card:focus-visible, .hardware-jump:focus-visible { outline: 3px solid #925017; outline-offset: 3px; }
@media (max-width: 1023px) { .device-channel .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 649px) { .device-channel .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 349px) { .device-channel .tool-grid { grid-template-columns: minmax(0, 1fr); } }
