/* 
 * 365健康网 - 统一样式表
 * 风格：清新、现代、温暖、医疗生活化
 * 配色：#00a8ff (宁静蓝), #ff7f50 (暖心珊瑚), #2ed573 (健康绿), #f1f2f6 (背景)
 */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 15px; color: #2f3542; line-height: 1.6; background-color: #f1f2f6; }
a { text-decoration: none; color: #2f3542; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
a:hover { color: #00a8ff; }
ul { list-style: none; }
img { max-width: 100%; border-radius: 12px; vertical-align: middle; }

.container { width: 1200px; margin: 0 auto; }
.clearfix::after { content: ""; display: block; clear: both; }

/* 头部样式 - 悬浮卡片风格 */
.header-top { background: #00a8ff; color: #fff; padding: 8px 0; font-size: 13px; }
.header-top .container { display: flex; justify-content: space-between; }
.header-top a { color: #fff; opacity: 0.9; }

.header-main { background: #fff; padding: 25px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.header-main .container { display: flex; justify-content: space-between; align-items: center; }
.logo h1 { font-size: 32px; font-weight: 800; color: #00a8ff; display: flex; align-items: center; letter-spacing: -1px; }
.logo h1 span { color: #ff7f50; }
.logo p { font-size: 13px; color: #a4b0be; margin-top: 5px; font-weight: 500; }

.search-box { background: #f1f2f6; border-radius: 30px; padding: 5px 5px 5px 20px; display: flex; align-items: center; width: 380px; }
.search-box input { background: transparent; border: none; outline: none; flex: 1; padding: 8px 0; font-size: 14px; }
.search-box button { background: #00a8ff; color: #fff; border: none; padding: 10px 25px; border-radius: 25px; cursor: pointer; font-weight: 600; box-shadow: 0 4px 10px rgba(0,168,255,0.3); }

/* 导航栏 - 极简风格 */
.nav-wrap { background: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.nav { display: flex; justify-content: center; }
.nav li a { display: block; padding: 18px 25px; font-size: 16px; font-weight: 600; color: #57606f; position: relative; }
.nav li a::after { content: ""; position: absolute; bottom: 12px; left: 50%; width: 0; height: 3px; background: #00a8ff; transition: 0.3s; transform: translateX(-50%); border-radius: 2px; }
.nav li a:hover::after, .nav li.active a::after { width: 20px; }
.nav li a:hover, .nav li.active a { color: #00a8ff; }

/* 首页布局 - 特色栅格 */
.home-hero { margin-top: 30px; display: grid; grid-template-columns: 300px 1fr 300px; gap: 20px; }

.card { background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.02); margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.5); }
.card-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.card-title h3 { font-size: 20px; font-weight: 800; color: #2f3542; display: flex; align-items: center; }
.card-title h3::before { content: ""; width: 6px; height: 20px; background: #ff7f50; margin-right: 12px; border-radius: 10px; }
.card-title .more { font-size: 13px; color: #a4b0be; font-weight: 600; }

/* 焦点图区域 */
.focus-wrap { height: 420px; border-radius: 20px; overflow: hidden; position: relative; }
.focus-wrap img { width: 100%; height: 100%; object-fit: cover; }
.focus-info { position: absolute; bottom: 30px; left: 30px; right: 30px; padding: 25px; background: rgba(255,255,255,0.95); border-radius: 15px; backdrop-filter: blur(10px); }
.focus-info h2 { font-size: 24px; margin-bottom: 10px; color: #2f3542; }

/* 资讯列表 - 软卡片 */
.news-item-soft { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid #f1f2f6; }
.news-item-soft:last-child { border: none; }
.news-thumb { width: 100px; height: 70px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.news-info h4 { font-size: 16px; font-weight: 600; height: 48px; overflow: hidden; }

/* 专家/贴士区域 */
.tips-box { background: linear-gradient(135deg, #00a8ff, #0097e6); color: #fff; border-radius: 20px; padding: 25px; }
.tips-box h4 { font-size: 18px; margin-bottom: 15px; display: flex; align-items: center; }
.tips-box p { font-size: 14px; opacity: 0.9; line-height: 1.8; }

/* 列表页样式 */
.list-main { margin-top: 30px; display: grid; grid-template-columns: 1fr 320px; gap: 30px; }
.breadcrumb { margin-bottom: 25px; font-size: 14px; color: #a4b0be; font-weight: 500; }
.article-item-large { display: flex; gap: 25px; padding: 30px; background: #fff; border-radius: 20px; margin-bottom: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.02); transition: 0.3s; }
.article-item-large:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.05); }
.article-img-large { width: 260px; height: 170px; border-radius: 15px; overflow: hidden; flex-shrink: 0; }
.article-info-large { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.article-info-large h2 { font-size: 22px; margin-bottom: 15px; color: #2f3542; }
.article-info-large p { color: #747d8c; font-size: 15px; margin-bottom: 20px; height: 45px; overflow: hidden; }
.article-meta { font-size: 13px; color: #ced6e0; display: flex; gap: 20px; }

/* 分页 */
.pagination { text-align: center; margin: 40px 0; }
.pagination li { display: inline-block; margin: 0 5px; }
.pagination a, .pagination span { padding: 10px 20px; background: #fff; border-radius: 12px; color: #57606f; font-weight: 600; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.pagination .thisclass { background: #00a8ff; color: #fff; }

/* 内容页 */
.article-wrap { background: #fff; border-radius: 30px; padding: 50px; box-shadow: 0 20px 50px rgba(0,0,0,0.03); }
.article-header { text-align: center; margin-bottom: 40px; }
.article-header h1 { font-size: 34px; font-weight: 800; color: #2f3542; margin-bottom: 20px; line-height: 1.4; }
.article-header .meta { font-size: 14px; color: #a4b0be; }
.article-header .meta span { margin: 0 15px; }

.article-content { font-size: 18px; line-height: 2; color: #2f3542; }
.article-content p { margin-bottom: 30px; }
.article-content img { display: block; margin: 40px auto; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* 底部 */
.footer { background: #2f3542; color: #ced6e0; padding: 80px 0 40px; margin-top: 60px; border-radius: 50px 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-logo h2 { color: #fff; margin-bottom: 15px; }
.footer-logo h2 span { color: #ff7f50; }
.footer-nav h4 { color: #fff; font-size: 18px; margin-bottom: 20px; }
.footer-nav a { display: block; color: #ced6e0; margin-bottom: 12px; font-size: 14px; }
.copyright { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; text-align: center; font-size: 13px; color: #747d8c; }
