.downloads-main {
    width: 100%;
    margin: calc(var(--nav-height)) auto 20px;
    padding: 0 5%;
    flex: 1; /* 撑满剩余空间 */
    transition: margin-top 0.3s ease;
}

/* 默认的 :root 变量 */
@media (min-width: 769px) {
    :root {
      --nav-height: 70px;
      --footer-height: 60px;
    }
  }

.category-container {
  margin-top: 6rem;
}

.download-category {
  margin-bottom: 4rem;
}

.category-title {
  font-size: 1.8rem;
  color: #2c3e50;
  border-left: 4px solid #3498db;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.pdf-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pdf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.pdf-icon {
  font-size: 3rem;
  color: #e74c3c;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.pdf-card:hover .pdf-icon {
  transform: scale(1.1);
}

.model-name {
  color: #34495e;
  font-size: 0.95rem;
  word-break: break-word;
}

@media (max-width: 768px) {
  .pdf-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
  
  .pdf-card {
    padding: 1rem;
  }
}

/* 基础模板样式 - 请勿直接修改此文件 */
/* 新页面使用规范：
   1. 在HTML头部通过 <link rel="stylesheet" href="styles/sample.css"> 引用
   2. 创建新CSS文件（如：about.css）编写页面专属样式
   3. 使用 :where() 选择器避免样式冲突
   4. 遵循 BEM 命名规范扩展类名（如：.contact-main__subtitle）
   5. 媒体查询建议使用 rem 单位：@media (max-width: 48rem)
*/