@charset "utf-8";
/* 医疗资讯门户模板 zuoy —— 版式对齐参考站：红色 #fe0000 主调、1200px 容器、三列卡片 */

*{margin:0;padding:0;border:0;-webkit-tap-highlight-color:rgba(0,0,0,0);}
li{list-style:none;}
i{font-style:normal;}
img{max-width:100%;height:auto;}
a:link,a:visited{color:#222;text-decoration:none;transition:color .15s;}
a:hover{color:#FE0000;text-decoration:none;}

body{
    font-size:16px;
    font-family:"Microsoft YaHei",SimSun;
    color:#000;
    -webkit-text-size-adjust:none;
    background:#f7f8fa url(../images/bg-tile.svg) left top repeat;
    background-attachment:fixed;
}

.fl{float:left;}
.fr{float:right;}

.main{max-width:1176px;margin:0 auto;overflow:hidden;padding:0;box-sizing:border-box;}

/* ===== 顶部红条 ===== */
.top-bar{background:#FE0000;line-height:36px;height:36px;}
.top-bar a{color:#fff;font-size:14px;margin-right:14px;}
.top-bar .tb-right a{margin-right:0;margin-left:14px;}

/* ===== Logo 区（城市剪影背景） ===== */
.logo{
    height:150px;
    background:url(../images/logo-bg.svg) center top no-repeat;
    background-size:min(1176px,100%) 150px;
}
.logo .logo-link{display:inline-block;margin-top:42px;text-decoration:none;}
.logo .logo-badge{
    display:inline-block;vertical-align:middle;
    width:58px;height:58px;line-height:58px;text-align:center;
    background:#FE0000;border-radius:12px;color:#fff;
    font-size:38px;font-weight:bold;margin-right:12px;
}
.logo .logo-txt{
    display:inline-block;vertical-align:middle;
    font-size:40px;font-weight:bold;color:#FE0000;letter-spacing:2px;
}
.logo .logo-txt em{display:block;font-size:12px;font-weight:normal;color:#999;letter-spacing:6px;line-height:18px;}
.logo .head-search{float:right;margin-top:58px;}
.logo .head-search input{
    width:240px;height:36px;line-height:36px;border:2px solid #FE0000;
    padding:0 10px;font-size:14px;outline:none;float:left;box-sizing:border-box;
}
.logo .head-search button{
    height:36px;line-height:36px;padding:0 22px;border:none;cursor:pointer;
    background:#FE0000;color:#fff;font-size:14px;
}
.mob-menu{
    background:#FE0000;color:#fff;width:40px;height:40px;line-height:40px;
    text-align:center;font-size:14px;display:none;margin-top:22px;cursor:pointer;
    float:right;border-radius:4px;
}

/* ===== 导航（24 项，每项 8.3%，自动两行） ===== */
.nav-bg{
    padding:10px;background:#fff;border-radius:0 0 8px 8px;position:relative;z-index:5;
    box-shadow:0 1px 2px rgba(255,255,255,.85), 0 6px 16px rgba(255,255,255,.85);
}
.nav{border-bottom:#FE0000 solid 2px;position:relative;overflow:hidden;}
.nav li a{line-height:38px;width:8.3%;float:left;text-align:center;font-size:15px;}
.nav li a.on,.nav li a.red-a{background:#FE0000;color:#fff;}

/* ===== 广告横幅 ===== */
.banner-strip{margin-top:4px;}
.banner-strip img{display:block;width:100%;max-width:100%;border-radius:6px;box-shadow:0 2px 6px rgba(255,255,255,.85), 0 10px 24px rgba(254,0,0,.12);}
.banner-bg{margin-top:20px;overflow:hidden;}
.banner-bg img{display:block;float:left;max-width:100%;border-radius:6px;box-shadow:0 2px 6px rgba(255,255,255,.85), 0 10px 22px rgba(254,0,0,.12);}

/* ===== 今日头条 ===== */
.top-news{
    overflow:hidden;margin:30px auto 40px;max-width:1176px;box-sizing:border-box;
    background:#fff;border-radius:10px;padding:18px 16px 8px;
    box-shadow:0 1px 2px rgba(255,255,255,.85), 0 8px 20px rgba(254,0,0,.12), 0 20px 46px rgba(255,255,255,.85);
}
.time,.vote{width:172px;}
.time{background:#f0f0f0;float:left;border-radius:4px;overflow:hidden;box-shadow:0 3px 10px rgba(254,0,0,.12);}
.time dt{background:#FE0000;color:#fff;font-size:22px;font-weight:bold;line-height:48px;text-align:center;width:100%;}
.time dd{text-align:center;line-height:28px;padding:10px 0;font-size:14px;}
.time dd i{display:inline-block;}
.hot-news{width:65%;margin:0 auto;padding-left:20px;box-sizing:border-box;float:left;}
.hot-news dt a{
    display:block;font-size:26px;font-weight:bold;line-height:48px;height:62px;
    white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;color:#FE0000;width:100%;
}
.hot-news dd{overflow:hidden;}
.hot-news dd a{
    float:left;display:block;width:48%;line-height:30px;height:30px;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;
    margin-bottom:6px;
}
.vote{width:170px;float:right;overflow:hidden;}
.vote li{margin-bottom:10px;
    background:linear-gradient(to top,#e6c693 0%,#f0ddb2 100%);
    border-radius:4px;
    box-shadow:0 2px 4px rgba(122,74,8,.16), 0 8px 18px rgba(122,74,8,.22);
    transition:box-shadow .2s, transform .2s;
}
.vote li:hover{transform:translateY(-2px);box-shadow:0 3px 6px rgba(122,74,8,.2), 0 12px 26px rgba(122,74,8,.3);}
.vote li a{height:58px;width:100%;display:block;text-align:center;line-height:58px;color:#7a4a08;font-size:18px;font-weight:bold;letter-spacing:4px;}

/* ===== 轮播 + 动态新闻（左右等高） ===== */
.scroll-bg{display:flex;align-items:stretch;}
.scroll{width:48%;margin:0 auto;box-sizing:border-box;position:relative;float:left;display:flex;flex-direction:column;}
.items{width:100%;overflow:hidden;position:relative;border-radius:8px;flex:1;display:flex;flex-direction:column;
    box-shadow:0 2px 6px rgba(254,0,0,.12), 0 10px 26px rgba(254,0,0,.12);}
.items li{position:relative;width:100%;display:none;flex:1;}
.items li.on{display:flex;}
.items img{width:100%;height:100%;display:block;object-fit:cover;}
.items h3{
    position:absolute;bottom:0;left:0;background:rgba(0,0,0,.7);width:100%;
    color:#fff;font-size:14px;font-weight:normal;padding:0 3.5%;height:2.4rem;
    line-height:2.4rem;box-sizing:border-box;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;
    box-shadow:0 -6px 18px rgba(0,0,0,.3);
}
.items h3 a{color:#fff;}
.ctrl{overflow:hidden;position:absolute;right:.6rem;bottom:.8rem;}
.ctrl p{float:left;width:.625rem;height:.625rem;border-radius:50%;background:#ccc;margin:0 .15rem;cursor:pointer;}
.ctrl .red-p{background:#de0402;}

.ongoing-news{
    width:50%;border:solid 1px #ddd;border-top:solid 3px #FE0000;
    overflow:hidden;box-sizing:border-box;float:right;border-radius:8px;background:#fff;
    box-shadow:0 1px 2px rgba(255,255,255,.85), 0 8px 20px rgba(254,0,0,.12), 0 18px 40px rgba(254,0,0,.10);
}
.ongoing-news h1,.ongoing-news dl,.ongoing-news ul{width:93%;margin:0 auto;}
.ongoing-news h1{border-bottom:solid 1px #ddd;text-align:center;color:#FE0000;font-size:26px;padding:12px 0;}
.ongoing-news dt{
    font-size:18px;padding:12px 0 8px;text-align:center;color:#FE0000;font-weight:bold;margin-top:6px;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ongoing-news dd{
    color:#7d7d7d;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    overflow:hidden;text-indent:32px;
}
.ongoing-news ul{margin-top:10px;padding-bottom:10px;}
.ongoing-news ul li{
    border-bottom:dashed 1px #ddd;height:20px;padding:10px 0;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ongoing-news ul li:last-child{border-bottom:none;}

/* ===== 通知公告 ===== */
.notice{
    max-width:1176px;padding:10px 10px 10px 130px;margin:20px auto;box-sizing:border-box;
    background:#fff;overflow:hidden;position:relative;border-radius:8px;
    border:1px solid #eee;
    box-shadow:0 1px 2px rgba(255,255,255,.85), 0 8px 22px rgba(254,0,0,.12);
}
.notice .notice-tag{
    position:absolute;left:0;top:0;bottom:0;width:120px;
    background:linear-gradient(135deg,#FE0000,#c40000);
    color:#fff;font-size:22px;font-weight:bold;text-align:center;
    display:flex;align-items:center;justify-content:center;letter-spacing:2px;
    box-shadow:6px 0 18px rgba(196,0,0,.28);
}
.notice ul{width:100%;overflow:hidden;}
.notice ul li{
    width:50%;float:left;padding:8px 4px 8px 18px;box-sizing:border-box;position:relative;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.notice ul li::before{
    content:'';position:absolute;left:4px;top:50%;margin-top:-3px;
    width:6px;height:6px;border-radius:50%;background:#FE0000;opacity:.6;
}

/* ===== 栏目卡片（list1~list5 三列） ===== */
.list1,.list2,.list3,.list4,.list5{
    width:31.3%;float:left;margin:24px 1% 0;
    background:#fff;border-radius:8px;padding:10px 14px 14px;
    box-shadow:0 1px 2px rgba(255,255,255,.85), 0 5px 14px rgba(255,255,255,.85), 0 14px 34px rgba(254,0,0,.10);
    box-sizing:border-box;overflow:hidden;height:400px;
    transition:box-shadow .22s, transform .22s;
}
.list1:hover,.list2:hover,.list3:hover,.list4:hover,.list5:hover{
    box-shadow:0 2px 4px rgba(254,0,0,.10), 0 10px 24px rgba(254,0,0,.12), 0 22px 48px rgba(254,0,0,.12);
    transform:translateY(-3px);
}
.block-group{padding-bottom:8px;}

.title{
    width:100%;border-bottom:2px solid #FE0000;color:#FE0000;
    font-size:20px;line-height:20px;overflow:hidden;
    border-left:4px solid #FE0000;padding-left:8px;
    padding-bottom:10px;box-sizing:border-box;margin-top:6px;margin-bottom:12px;font-weight:bold;
}
.title a{float:right;font-size:14px;color:#999;font-weight:normal;}
.title a:hover{color:#FE0000;}

/* list1 / list2 纯文字列表 */
.list1 ul li,.list2 ul li{
    border-bottom:dashed 1px #ddd;height:20px;padding:9px 0;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.list1 ul li:last-child,.list2 ul li:last-child{border-bottom:none;padding-bottom:6px;}

/* list2 图文头条 */
.list2 dl{overflow:hidden;margin-bottom:5px;display:block;color:#222;}
.list2 dl dt{width:34%;float:left;}
.list2 dl dt img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;border-radius:4px;box-shadow:0 3px 10px rgba(254,0,0,.12);}
.list2 dl dd{width:63%;float:right;}
.list2 dl dd h3,.list4 dl dd h3{
    font-size:16px;color:#FE0000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:2px 0;
}
.list2 dl dd p,.list4 dl dd p{
    font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    overflow:hidden;color:#7d7d7d;line-height:24px;text-indent:28px;padding-top:2px;
}

/* list3 直播台 */
.list3 video{width:100%;display:block;background:#000;aspect-ratio:4/3;}
.list3 dl,.list3 dt{width:100%;}
.list3 dd{
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    overflow:hidden;line-height:26px;margin-top:10px;font-size:14px;
}
.list3 dd i{color:#FE0000;}

/* list4 轮换图文（roll） */
.list4 dl{display:none;}
.list4 dl:first-of-type{display:block;}
.list4 dl dt img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;border-radius:4px;box-shadow:0 3px 10px rgba(254,0,0,.12);}
.list4 dl dd h3{text-align:center;padding:8px 0 6px;}
.list4 dl dd p{line-height:20px;}

/* list5 图集切换（change） */
.list5 dl{width:100%;position:relative;display:none;}
.list5 dl:first-of-type{display:block;}
.list5 dt{width:100%;}
.list5 dt img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;}
.list5 dd{
    position:absolute;bottom:0;left:0;width:100%;
    background:rgba(0,0,0,.7);padding:10px 14px;box-sizing:border-box;
    box-shadow:0 -6px 18px rgba(0,0,0,.3);
}
.list5 dd p{
    font-size:14px;color:#fff;display:-webkit-box;-webkit-box-orient:vertical;
    -webkit-line-clamp:2;overflow:hidden;text-indent:28px;line-height:22px;
}
.list5 ul{width:100%;display:flex;justify-content:space-between;margin-top:12px;}
.list5 ul li{width:32%;flex:none;cursor:pointer;}
.list5 ul li img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;border-radius:3px;box-shadow:0 2px 8px rgba(255,255,255,.18);}

/* ===== 友情链接 ===== */
.link{
    width:100%;background:#fff;margin:24px auto 20px;border-radius:8px;
    padding:10px 14px 14px;
    box-shadow:0 1px 2px rgba(255,255,255,.85), 0 8px 20px rgba(254,0,0,.12), 0 18px 40px rgba(254,0,0,.10);
    box-sizing:border-box;overflow:hidden;clear:both;
}
.link a{float:left;margin:8px 20px 8px 0;max-width:100%;overflow-wrap:break-word;}

/* ===== 页脚 ===== */
footer{
    margin-top:20px;padding:20px 0;background:#282828;position:relative;
    box-shadow:0 -8px 24px rgba(254,0,0,.12);
}
footer a{color:#fff !important;font-size:14px;}
footer a:hover{color:#FE0000 !important;}
footer .main{box-sizing:border-box;padding:0 24px;}
footer p{margin:12px 0;color:#aaa;font-size:13px;}
footer .ft2{display:none;}
footer .ft2 a{display:block;}

/* ===== 内页（列表/详情/搜索） ===== */
.crumb{margin:16px auto 0;font-size:14px;color:#999;}
.crumb a{color:#666;}
.crumb a:hover{color:#FE0000;}
.page-wrap{overflow:hidden;margin-top:14px;}
.page-main{width:66%;float:left;}
.page-side{width:31.3%;float:right;}
.page-main .block,.page-side .block{
    background:#fff;border-radius:8px;padding:10px 14px 14px;
    box-shadow:0 1px 2px rgba(255,255,255,.85), 0 6px 16px rgba(255,255,255,.85), 0 16px 36px rgba(254,0,0,.10);
    box-sizing:border-box;margin-bottom:20px;overflow:hidden;
}

.news-list li{overflow:hidden;padding:12px 0;border-bottom:dashed 1px #ddd;}
.news-list li:last-child{border-bottom:none;}
.news-list .thumb{float:left;width:160px;margin-right:14px;}
.news-list .thumb img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;border-radius:4px;box-shadow:0 3px 10px rgba(254,0,0,.12);}
.news-list .body{overflow:hidden;}
.news-list h3{font-size:17px;line-height:26px;margin-bottom:6px;}
.news-list h3 a:hover{color:#FE0000;}
.news-list p{font-size:14px;color:#7d7d7d;line-height:22px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
.news-list .meta{margin-top:6px;font-size:12px;color:#aaa;}
.news-list .meta span{margin-right:14px;}

.rank-list li{border-bottom:dashed 1px #ddd;height:20px;padding:9px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rank-list li:last-child{border-bottom:none;}
.rank-list em{
    font-style:normal;display:inline-block;width:18px;height:18px;line-height:18px;
    text-align:center;background:#eee;color:#666;font-size:12px;margin-right:8px;border-radius:2px;
}
.rank-list em.top{background:#FE0000;color:#fff;}
.chan-links{overflow:hidden;}
.chan-links a{float:left;width:25%;font-size:13px;line-height:28px;color:#555;}
.chan-links a:hover{color:#FE0000;}

.article h1{font-size:24px;line-height:36px;color:#222;margin:8px 0;overflow-wrap:break-word;word-wrap:break-word;}
.article .meta{font-size:13px;color:#999;border-bottom:1px solid #eee;padding-bottom:10px;margin-bottom:14px;}
.article .content{font-size:16px;line-height:30px;color:#333;overflow:hidden;overflow-wrap:break-word;word-wrap:break-word;}
.article .content img{max-width:100% !important;height:auto !important;border-radius:6px;box-shadow:0 4px 16px rgba(254,0,0,.12);}
.article .content table{display:block;max-width:100%;overflow-x:auto;}
.article .content iframe,.article .content video,.article .content embed{max-width:100%;}
.article .content p{margin:10px 0;}
.article .content h3{margin:16px 0 8px;color:#FE0000;font-size:18px;}
.article .statement{
    margin-top:20px;padding:10px 14px;background:#fff5f5;border-left:3px solid #FE0000;
    font-size:13px;color:#999;border-radius:0 4px 4px 0;
}

/* ===== 上一篇 / 下一篇 ===== */
.prev-next{padding:14px 18px;}
.prev-next .pn-item{font-size:14px;line-height:28px;color:#666;margin:4px 0;overflow-wrap:break-word;word-wrap:break-word;}
.prev-next b{color:#999;font-weight:normal;}
.prev-next a{color:#333;overflow-wrap:break-word;}
.prev-next a:hover{color:#FE0000;}
.prev-next .pn-none{color:#bbb;}

/* ===== 侧栏广告位 ===== */
.ad-side{padding:6px;}
.ad-side img{display:block;width:100%;max-width:100%;border-radius:6px;}

.big-search{display:flex;margin:10px 0 16px;}
.big-search input{
    flex:1;height:40px;border:2px solid #FE0000;border-right:none;border-radius:4px 0 0 4px;
    padding:0 12px;font-size:14px;outline:none;box-sizing:border-box;
}
.big-search button{
    height:40px;padding:0 26px;border:none;background:#FE0000;color:#fff;
    font-size:15px;cursor:pointer;border-radius:0 4px 4px 0;
}
.result-tip{color:#666;margin-bottom:10px;font-size:14px;}
.result-tip b{color:#FE0000;}
.empty{background:#f7f7f7;border:1px dashed #ddd;border-radius:6px;padding:36px;text-align:center;color:#999;font-size:14px;}

/* ===== 分页 ===== */
.pagelist{margin-top:14px;text-align:center;}
.pagelist a{
    border:1px solid #C9C9C9;background:#fff;color:#555;display:inline-block;height:30px;line-height:30px;
    padding:0 10px;font-size:12px;margin:0 3px;border-radius:2px;cursor:pointer;box-sizing:border-box;
}
.pagelist a.active,.pagelist a:hover{background:#FE0000;color:#fff;border-color:#FE0000;}

/* ===== 响应式 ===== */
@media screen and (max-width:1024px){
    .main{padding:0 10px;}
    .top-news,.notice{margin-left:10px;margin-right:10px;}
    .logo{background-size:min(1156px,100%) 120px;height:110px;}
    .logo .logo-link{margin-top:25px;}
    .logo .logo-txt{font-size:30px;}
    .nav li a{width:12.5%;}
    .top-news{margin-top:0;}
    .time{width:100%;overflow:hidden;}
    .time dt{width:140px;float:left;font-size:18px;}
    .time dd{float:right;text-align:right;font-size:14px;padding-right:10px;}
    .hot-news{width:100%;text-align:left;padding:0;float:none;}
    .hot-news dt a{padding:0 10px;margin:10px auto;box-sizing:border-box;font-size:20px;height:44px;}
    .hot-news dd{width:100%;margin-bottom:12px;}
    .hot-news dd a{margin-bottom:8px;}
    .vote{width:100%;float:none;}
    .vote li{float:left;margin:0;width:49%;}
    .vote li:first-child{margin-right:2%;}
    .list1,.list2,.list3,.list4,.list5{width:48%;height:auto;min-height:300px;}
    .page-main{width:100%;float:none;}
    .page-side{width:100%;float:none;}
}
@media screen and (max-width:768px){
    .top-bar .tb-left{display:none;}
    .mob-menu{display:block;}
    .head-search{display:none;}
    .nav{display:none;border-bottom:0;}
    .nav-bg{position:fixed;top:116px;left:0;z-index:10;width:100%;box-sizing:border-box;background:rgba(0,0,0,.85);}
    .nav.open{display:block;}
    .nav li a{width:25%;color:#fff !important;}
    .logo{background-position:left top;background-size:100% 80px;height:80px;}
    .logo .logo-link{margin-top:20px;}
    .logo .logo-badge{width:36px;height:36px;line-height:36px;font-size:24px;}
    .logo .logo-txt{font-size:24px;}
    .logo .logo-txt em{display:none;}
    .scroll,.ongoing-news{width:100%;float:none;}
    .scroll{margin-bottom:14px;}
    .scroll-bg{display:block;overflow:hidden;}
    .items{flex:none;}
    .items li.on{display:block;}
    .items img{height:auto;aspect-ratio:3/2;}
    .list1,.list2,.list3,.list4,.list5{width:100%;float:none;margin:14px 0 0;height:auto;}
    .banner-strip,.banner-bg{display:none;}
    .notice{padding-left:10px;padding-top:50px;}
    .notice .notice-tag{width:auto;height:40px;right:0;padding:0 14px;}
    .notice ul{margin-top:4px;}
    .notice ul li{width:100%;float:none;}
}
@media screen and (max-width:420px){
    .nav li a{width:33.3%;}
}
