/* 无忧试药 — 公司形象优化 CSS */
/* 覆盖原有样式，保持内容不变 */

/* 全局 */
body { font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif; color: #333; }

/* 顶部导航 — 纯白一体风格 */
.navbar { background: #fff !important; border: none; border-bottom: 1px solid #eee; border-radius: 0; min-height: 70px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.navbar-brand { padding: 10px 15px; height: 70px; }
.navbar-brand img { max-height: 50px; }
.navbar-nav > li > a { color: #333 !important; padding: 25px 15px; font-size: 15px; transition: all 0.3s; }
.navbar-nav > li > a:hover, .navbar-nav > li.active > a { background: #f5f5f5 !important; color: #1a5276 !important; }
.navbar-nav > li > a:focus { background: transparent; }

/* 导航下拉 */
.dropdown-menu { background: #fff; border: none; box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.dropdown-menu > li > a { color: #333; padding: 10px 20px; font-size: 14px; transition: all 0.2s; }
.dropdown-menu > li > a:hover { background: #2980b9; color: #fff; padding-left: 25px; }

/* Banner */
.banner { margin-top: 70px; }
.carousel { max-height: 500px; overflow: hidden; }
.carousel .item img { width: 100%; }

/* 关于我们 / 公司介绍 */
.inner { padding: 60px 0; }
.inner h1 { color: #1a5276; font-size: 32px; margin-bottom: 30px; position: relative; }
.inner h1:after { content: ''; display: block; width: 60px; height: 3px; background: #2980b9; margin: 15px auto 0; }
.inner p { font-size: 16px; line-height: 1.8; color: #555; }

/* 特色卡片服务 */
.row.service-cards { margin: 40px 0; }
.service-card { text-align: center; padding: 40px 20px; background: #fff; border-radius: 8px; box-shadow: 0 3px 15px rgba(0,0,0,0.08); transition: all 0.3s; margin-bottom: 30px; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.service-card .icon { font-size: 48px; color: #2980b9; margin-bottom: 20px; }
.service-card h4 { color: #1a5276; font-weight: 600; }
.service-card p { color: #666; font-size: 14px; }

/* 文章列表 */
.col-md-3.col-sm-6 { margin-bottom: 30px; }
.col-md-3.col-sm-6 .thumbnail { border: none; border-radius: 8px; box-shadow: 0 3px 15px rgba(0,0,0,0.08); padding: 0; overflow: hidden; transition: all 0.3s; }
.col-md-3.col-sm-6 .thumbnail:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.col-md-3.col-sm-6 .thumbnail img { width: 100%; height: 200px; object-fit: cover; }
.col-md-3.col-sm-6 .caption { padding: 20px; }
.col-md-3.col-sm-6 .caption h3 { font-size: 16px; color: #1a5276; line-height: 1.4; height: 45px; overflow: hidden; }
.col-md-3.col-sm-6 .caption p { color: #888; font-size: 13px; }

/* 页脚 */
.foot { background: #1a2a3a; color: #ccc; padding: 40px 0; }
.foot h4 { color: #fff; margin-bottom: 20px; }
.foot a { color: #aaa; transition: color 0.2s; }
.foot a:hover { color: #2980b9; text-decoration: none; }
.foot .copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 20px; text-align: center; color: #888; }

/* 按钮 */
.btn-primary { background: #2980b9; border-color: #2980b9; border-radius: 4px; padding: 10px 30px; font-size: 16px; transition: all 0.3s; }
.btn-primary:hover { background: #1a5276; border-color: #1a5276; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(41,128,185,0.4); }

/* 响应式修正 */
@media (max-width: 768px) {
    .navbar { min-height: 50px; }
    .navbar-nav > li > a { padding: 10px 15px; }
    .inner { padding: 30px 0; }
    .col-md-3.col-sm-6 .thumbnail img { height: 150px; }
}

/* 面包屑 */
.breadcrumb { background: #f8f9fa; padding: 15px 0; margin-top: 70px; }
.breadcrumb a { color: #2980b9; }

/* 公司简介/内部页面通用 */
/* 页面头部标题 */
.page-header h2 { color: #1a5276; margin: 0; }

/* Banner2 (内页横幅) */
#banner2 { margin-top: 70px; width: 100%; height: 200px; overflow: hidden; position: relative; }
.por_img { width: 100%; height: 100%; background-size: cover; background-position: 50% bottom; }

/* box2 内容区 (列表/详情页统一) */
.box2 { padding: 40px 0; background: #f5f6f8; }
.box2-left { width: 260px; float: left; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.box2-left .left1-title { background: #1a5276; color: #fff; padding: 25px 20px; }
.box2-left .left1-title h4 { margin: 0; font-size: 20px; font-weight: 600; }
.box2-left .left1-title p { margin: 5px 0 0; font-size: 12px; opacity: 0.7; }
.box2-left ul { list-style: none; padding: 0; margin: 0; }
.box2-left ul li { border-bottom: 1px solid #eee; }
.box2-left ul li a { display: block; padding: 14px 20px; color: #333; font-size: 14px; transition: all 0.2s; }
.box2-left ul li a:hover, .box2-left ul li a.active { background: #2980b9; color: #fff; padding-left: 25px; text-decoration: none; }

/* 列表样式 */
.list-text10 { background: #fff; margin-bottom: 15px; padding: 20px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all 0.3s; }
.list-text10:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.1); transform: translateY(-2px); }
.list-text10 h4 { margin: 0 0 8px; font-size: 16px; }
.list-text10 h4 a { color: #1a5276; font-weight: 600; }
.list-text10 h4 a:hover { color: #2980b9; text-decoration: none; }
.list-text10 p { color: #666; font-size: 14px; line-height: 1.6; margin: 0; }
.list-text10-date { float: right; color: #999; font-size: 12px; }

/* 详情页内容 */
.show-content { padding: 40px 60px; background: #fff; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.show-content h1 { color: #1a5276; font-size: 26px; margin-bottom: 20px; }
.show-content p { color: #333; font-size: 15px; line-height: 1.8; }

/* 分页 */
.pagination { margin: 30px 0; }
.pagination li a { color: #666; border: 1px solid #ddd; margin: 0 3px; border-radius: 3px; padding: 8px 14px; }
.pagination li.active a { background: #2980b9; border-color: #2980b9; color: #fff; }
.pagination li a:hover { background: #f0f0f0; text-decoration: none; }
