.hardware-gallery {
  margin: 32px 0 8px;
  padding: 22px;
  border: 1px solid rgba(51, 255, 184, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(8,27,24,0.85), rgba(4,14,13,0.88));
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.hardware-gallery h2 {
  margin-top: 0;
}
.hardware-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.hardware-gallery-card {
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.hardware-gallery-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #091313;
}
.hardware-gallery-caption {
  padding: 12px 12px 14px;
  font-size: 0.95rem;
  color: #dffcf4;
  line-height: 1.35;
}

.hardware-gallery {
  padding: 10px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin: 18px 0 0;
}

.hardware-gallery-grid {
  margin-top: 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.hardware-gallery-card {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8,27,24,0.9), rgba(4,14,13,0.96));
  border: 1px solid rgba(51, 255, 184, 0.12);
  box-shadow: 0 18px 48px rgba(0,0,0,0.22);
}

.hardware-gallery-image {
  aspect-ratio: 16 / 10;
}

.hardware-gallery-caption {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f3fff9;
}


.hardware-gallery-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hardware-gallery-description {
  margin: 10px 0 0;
  font-size: .95rem;
  font-weight: 400;
  color: rgba(225,245,238,.82);
}

.hardware-story-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hardware-story-card {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  background: linear-gradient(180deg, rgba(8,27,24,0.94), rgba(4,14,13,0.98));
  border: 1px solid rgba(51, 255, 184, 0.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,0.22);
}

.hardware-story-media {
  display: block;
  min-height: 100%;
}

.hardware-story-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.hardware-story-copy {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hardware-story-copy h3 {
  margin: 0 0 10px;
  font-size: 1.75rem;
  line-height: 1.2;
}

.hardware-story-copy p {
  margin: 0;
  color: rgba(225,245,238,.84);
  line-height: 1.7;
}

.hardware-story-link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #f4fff9;
  font-weight: 700;
  border: 1px solid rgba(51, 255, 184, 0.18);
  background: rgba(51, 255, 184, 0.08);
}

.hardware-explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hardware-explainer-card {
  background: linear-gradient(180deg, rgba(8,27,24,0.94), rgba(4,14,13,0.98));
  border: 1px solid rgba(51, 255, 184, 0.12);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.18);
}

.hardware-explainer-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.hardware-explainer-card p {
  margin: 0 0 16px;
  color: rgba(225,245,238,.84);
  line-height: 1.7;
}

.hardware-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hardware-link-list a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #f4fff9;
  font-weight: 700;
  border: 1px solid rgba(51, 255, 184, 0.16);
  background: rgba(255,255,255,0.04);
}

@media (max-width: 980px) {
  .hardware-explainer-grid {
    grid-template-columns: 1fr;
  }

  .hardware-story-card {
    grid-template-columns: 1fr;
  }

  .hardware-story-media img {
    min-height: 240px;
  }
}
