/* ==========================================================================
   赤峰市中小微企业金融服务信用信息共享平台 —— expert-db.jsp 专属样式
   说明：已从页面内联 <style> 中抽出，并剔除与 website.css 重复的规则。
         website.css 需先加载，本文件在其后加载（同选择器时以本文件为准）。
   ========================================================================== */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6; color: #333; background: #f0f2f5; min-height: 100vh; font-size: 14px;
}

.top-bar .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; }

.nav-bar .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; width: 100%; }

.page-header .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* 筛选栏 */
.filter-bar { background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); padding: 16px 20px; margin-bottom: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.filter-group { display: flex; align-items: center; gap: 8px; }

.filter-label { font-size: 13px; color: #666; font-weight: 600; white-space: nowrap; }

.filter-options { display: flex; gap: 6px; flex-wrap: wrap; }

/* 领域筛选项：兼容 <button> 与 <a>（领域切换为链接实现） */
.filter-btn { display: inline-block; padding: 5px 14px; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 12px; color: #666; background: white; cursor: pointer; transition: all 0.2s; text-decoration: none; line-height: 1.6; }

.filter-btn:hover { border-color: #4a8ac8; color: #4a8ac8; text-decoration: none; }

.filter-btn.active { background: #2d6098; color: white; border-color: #2d6098; }

.filter-search { margin-left: auto; display: flex; gap: 8px; }

.filter-search input { width: 200px; padding: 6px 12px; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 13px; outline: none; }

.filter-search input:focus { border-color: #4a8ac8; }

.filter-search button { padding: 6px 16px; background: #2d6098; color: white; border: none; border-radius: 4px; font-size: 13px; cursor: pointer; }

.filter-search button:hover { background: #2560a0; }

/* 专家卡片网格 */
.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.expert-card { background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); overflow: hidden; transition: all 0.2s; border: 1px solid transparent; }

.expert-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); border-color: #4a8ac8; transform: translateY(-2px); }

.expert-card-top { background: linear-gradient(135deg, #2d6098, #3a72a8); padding: 18px 16px 14px; display: flex; align-items: center; gap: 12px; }

.expert-avatar { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.4); }

.expert-name { font-size: 15px; font-weight: 600; color: white; margin-bottom: 2px; }

.expert-title { font-size: 11px; color: rgba(255,255,255,0.8); }

.expert-card-body { padding: 14px 16px; }

.expert-field { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #666; margin-bottom: 8px; }

.expert-field-icon { font-size: 13px; flex-shrink: 0; width: 16px; text-align: center; }

.expert-field-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.expert-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 10px; }

.expert-tag { display: inline-block; background: #e8f4fd; color: #2d6098; padding: 2px 8px; border-radius: 3px; font-size: 11px; }

.expert-card-footer { padding: 0 16px 14px; display: flex; justify-content: space-between; align-items: center; }

.expert-projects { font-size: 11px; color: #999; }

.expert-link { font-size: 12px; color: #4a8ac8; font-weight: 600; }

.expert-link:hover { text-decoration: underline; }

/* 无结果提示 */
.no-results { display: none; text-align: center; padding: 60px 20px; background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

.no-results-icon { font-size: 48px; margin-bottom: 16px; }

.no-results-text { font-size: 15px; color: #999; }

.no-results-text em { color: #4a8ac8; font-style: normal; font-weight: 600; }

.result-count { font-size: 13px; color: #999; margin-bottom: 16px; }

.result-count em { color: #4a8ac8; font-style: normal; font-weight: 600; }

/* 分页 */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 28px 20px; background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); margin-top: 20px; }

.footer .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

@media (max-width: 1240px) { .nav-logo-text { font-size: 0.95rem; } .nav-links { gap: 0; } .nav-link { padding: 23px 10px; font-size: 13px; } .expert-grid { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 1080px) { .nav-content { gap: 20px; } .nav-logo-text { font-size: 0.9rem; } .nav-logo { max-width: 200px; } .nav-link { padding: 23px 5px; font-size: 12px; } .nav-search input { width: 100px; } .expert-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 900px) { .nav-content { flex-wrap: wrap; gap: 10px; height: auto; padding: 10px 0; } .nav-logo { justify-content: center; } .nav-links { justify-content: center; flex-wrap: wrap; } .nav-search { justify-content: center; } .filter-bar { flex-direction: column; align-items: flex-start; } .filter-search { margin-left: 0; width: 100%; } .filter-search input { flex: 1; } }

@media (max-width: 600px) { .expert-grid { grid-template-columns: 1fr; } .footer-content { flex-direction: column; gap: 15px; text-align: center; } .footer-links { flex-wrap: wrap; justify-content: center; gap: 15px; } }
