/* ===== 铭辉官网首页 FAQ 区块样式（sec7） =====
   部署位置：/template/pc/skin/css/faq.css
   模板引入：<head> 内 {eyou:static file="skin/css/faq.css" /}
   主题色变量见 :root；想换参考图绿色把 --faq-main / --faq-deep 改为 #10B981 / #065F46 即可 */

/* 仅作用于 FAQ 区块，避免全局重置影响整站（旧版本地预览用的 *{} / body{} 全局重置已移除） */
.sec7, .sec7 * { box-sizing: border-box; }
.sec7 { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }

:root {
  --faq-main: #1166DD;   /* 主题色（图标/按钮/展开高亮） */
  --faq-deep: #0a2a66;   /* 标题深色 */
  --faq-text: #7a8798;   /* 描述/答案灰 */
  --faq-line: #eef1f5;   /* 卡片描边 */
}

.w1400 { width: 1400px; max-width: 92%; margin: 0 auto; }

/* ===== FAQ 区块（sec7）：左标题 + 右手风琴 双栏 ===== */
.sec7 { padding: 10px 0; background: #fff; }
.faqWrap { display: grid; grid-template-columns: 380px 1fr; gap: 70px; align-items: start; }

/* 左侧标题区：复刻全站 .indTitle 标题组件（与新闻资讯 NEWS 同款），主题原样式作用域在 .indTitleBox 下，FAQ 区需自带一份 */
.faqHead .indTitle { margin-bottom: 18px; }
.faqHead .indTitle .atit { font-family: Mont, "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 60px; font-weight: bold; text-transform: uppercase; line-height: 1; margin-bottom: 8px; color: #333; }
.faqHead .indTitle .atit em { color: #056DB6; font-style: normal; }
.faqHead .indTitle .btit { font-size: 16px; color: #999999; line-height: 1.2; }
.faqHead .indTitle .btit em { font-size: 26px; color: #333333; font-style: normal; margin-right: 15px; }
.faqHead .desc { color: var(--faq-text); font-size: 14px; line-height: 1.9; margin: 0 0 30px; }
.faqBtn { display: inline-flex; align-items: center; gap: 10px; background: #2a69b3; color: #fff; padding: 14px 30px; border: none; border-radius: 40px; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 22px rgba(17,102,221,.28); transition: .3s; font-family: inherit; cursor: pointer; }
.faqBtn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17,102,221,.38); }
.faqBtn .arr { width: 8px; height: 8px; border-right: 2px solid #fff; border-top: 2px solid #fff; transform: rotate(45deg); margin-left: 2px; }

/* 防主题/layui 全局按钮样式干扰 */
.faqBtn, .faqQ { -webkit-appearance: none; appearance: none; outline: none; }

/* 右侧手风琴 */
.faqList { }
.faqItem { background: #fff; border: 1px solid var(--faq-line); border-radius: 12px; margin-bottom: 16px; transition: box-shadow .3s, border-color .3s; }
.faqItem:last-child { margin-bottom: 0; }
.faqItem:hover { border-color: #d7e3f5; box-shadow: 0 6px 18px rgba(10,42,102,.06); }
.faqItem.open { border-color: rgba(17,102,221,.35); box-shadow: 0 10px 26px rgba(10,42,102,.08); }
.faqQ { display: flex; align-items: center; gap: 16px; width: 100%; padding: 22px 24px; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; }
.qIcon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--faq-main); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.qtext { flex: 1; font-size: 16px; font-weight: 600; color: #22303f; transition: color .3s; }
.qChev { flex: 0 0 auto; width: 9px; height: 9px; border-right: 2px solid #9aa7b8; border-bottom: 2px solid #9aa7b8; transform: rotate(45deg); transition: transform .3s, border-color .3s; margin-right: 4px; }
.faqItem.open .qtext { color: var(--faq-main); }
.faqItem.open .qChev { transform: rotate(-135deg); border-color: var(--faq-main); }
.faqA { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faqA .inner { display: flex; gap: 16px; align-items: flex-start; padding: 4px 24px 22px; color: #566; line-height: 2; font-size: 14.5px; }
.aIcon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: rgba(17,102,221,.10); color: var(--faq-main); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.faqA .inner p { flex: 1; margin: 0; }
/* 关键词高亮：用 <span class="hl">关键词</span> 标注即可 */
.faqA .inner .hl { color: var(--faq-main); font-weight: 700; background: rgba(17,102,221,.10); padding: 1px 6px; border-radius: 4px; }

/* ===== 自适应（平板/手机） ===== */
@media (max-width: 992px) {
  .sec7 { padding: 50px 0; }
  .faqWrap { grid-template-columns: 1fr; gap: 32px; }
  .faqHead .indTitle .atit { font-size: 48px; }
  .faqHead .indTitle .btit em { font-size: 26px; }
  .faqHead .desc { margin-bottom: 20px; }
}
@media (max-width: 768px) {
  .faqHead .indTitle .atit { font-size: 36px; }
  .faqHead .indTitle .btit { font-size: 12px; }
  .faqHead .indTitle .btit em { font-size: 20px; margin-right: 10px; }
  .faqQ { padding: 16px 14px; gap: 12px; }
  .qIcon { flex-basis: 28px; width: 28px; height: 28px; font-size: 13px; }
  .qtext { font-size: 15px; }
  .faqA .inner { padding: 2px 16px 16px; gap: 12px; }
  .aIcon { flex-basis: 28px; width: 28px; height: 28px; font-size: 13px; }
}
