/* 顶部 banner */
.firmware-hero {
  width: 100%;
  height: 300px;
  background-image: url("./images/firmware-banner.jpg"); /* 替换成你的横向背景图 */
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 标题覆盖图层 */
.firmware-hero-overlay {
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.4); /* 半透明遮罩，增强可读性 */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.firmware-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.firmware-subtitle {
  font-size: 16px;
  opacity: 0.9;
}

/* 主体容器 */
.firmware-center {
  padding: 60px 20px;
  background-color: #fff;
}

/* 三栏宫格 */
.firmware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* 卡片 */
.firmware-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease;
}

.firmware-card:hover {
  transform: translateY(-4px);
}

.firmware-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.firmware-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
}

.firmware-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.firmware-links li {
  margin: 6px 0;
}

.firmware-links a {
  color: #0073e6;
  text-decoration: none;
  font-size: 14px;
}

.firmware-links a:hover {
  color: #005ec4;
}
