/* ============================================================
   site.css —— 重构版新增的全局样式（老版散落在 App.vue 里的全局规则 + 新组件样式）
   模板原有样式在 style.css，本文件只做补充，不覆盖模板
   ============================================================ */

/* 设计 token：主题色集中管理 */
:root {
  --color-primary: #ff9902;   /* 主题橙（菜单激活、强调） */
  --color-dark: #232126;      /* 深色底（首页卡片区） */
  --color-gold: #d3aa5b;      /* 金色（公司介绍横幅） */
  --color-blue: #43577b;      /* 蓝灰（关于我们页文字/装饰条） */
}

/* 内容区最小高度（老版 App.vue） */
.conent_box {
  min-height: 100vh;
}

/* 详情页富文本（老版 App.vue 全局规则 + detail 页规则的合并） */
.detail_brief span {
  white-space: normal !important;
}
@media (max-width: 765px) {
  .detail_brief img {
    width: 100% !important;
  }
}

/* ---------- 空状态（替代 el-empty） ---------- */
.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: #909399;
}
.empty-state__icon {
  font-size: 56px;
  color: #d3d6db;
}
.empty-state__text {
  margin-top: 12px;
  font-size: 14px;
}

/* ---------- 分页（替代 el-pagination） ---------- */
.pager {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pager__btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: none;
  border-radius: 3px;
  background: #f4f4f5;
  color: #606266;
  font-size: 13px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}
.pager__btn:hover:not(:disabled):not(.is-active) {
  color: var(--color-primary);
}
.pager__btn.is-active {
  background: var(--color-primary);
  color: #fff;
}
.pager__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---------- 页脚响应式（老版 App.vue scoped 规则平移） ---------- */
@media (min-width: 280px) and (max-width: 820px) {
  .mb-5 {
    margin-bottom: 1rem !important;
  }
  .zuoyou {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .zuoyou > h3 {
    font-size: 2.5vh;
  }
  .daohang > ul {
    display: flex;
    flex-wrap: wrap;
    font-size: 2vh;
  }
  .daohang > h3 {
    font-size: 2.5vh;
  }
  .lianix > h3 {
    font-size: 2.5vh;
  }
  .lianix > ul > li {
    font-size: 2vh;
  }
  .daohang > ul > li {
    text-align: center;
    width: 50%;
  }
  .chengxu > h3 {
    text-align: center;
    font-size: 3vh;
  }
  .chengxu > div {
    width: 20vh;
    margin: auto;
  }
  .chengxu > div > img {
    width: 100%;
    height: auto;
  }
}
@media (min-width: 1200px) {
  .daohang > h3 {
    font-size: 2vh;
  }
  .zuoyou > h3 {
    font-size: 2vh;
  }
  .lianix > h3 {
    font-size: 2vh;
  }
  .chengxu > h3 {
    text-align: center;
    font-size: 2vh;
  }
  .chengxu > div {
    width: 10vh;
    background: #fff;
    margin: auto;
  }
  .chengxu > div > img {
    width: 100%;
    height: auto;
  }
}
