@charset "utf-8";
/* ==========================================================================
   本站定制样式（在 style.css 基础上叠加，不破坏原模板外观）
   对应站点：传奇私服网站 / 首页关键词：传奇私服、新开传奇私服、传奇私服网站、传奇sf网站
   ========================================================================== */

/* ---------- 顶部横幅（用真实 img，方便移动端自适应 + 给首页加 alt） ---------- */
.top{ width:1000px; height:230px; }
.logo{ width:1000px; height:230px; float:none; overflow:hidden; display:block; }
.logo img{ display:block; width:1000px; height:230px; border:0; margin:0; }

/* ---------- 顶部导航：4 个栏目均分 ---------- */
.menus ul{ display:flex; }
.menus ul li{ flex:1; float:none; padding:0; text-align:center; }
.menus ul li a{ display:block; font-size:18px; }

/* ---------- 版块标题用 h2，保留原 strong 的视觉效果 ---------- */
.box_title h2{
	display:block; height:40px; line-height:40px; float:left;
	padding:0 20px; font-family:"微软雅黑"; font-weight:400;
	background-color:#B32136; color:#FFFFFF; font-size:20px;
}
.box_title h1{
	display:block; height:40px; line-height:40px; float:left;
	padding:0 20px; font-family:"微软雅黑"; font-weight:400;
	background-color:#B32136; color:#FFFFFF; font-size:20px;
}
.box_title a{ color:#ffffff; }

/* ---------- 栏目页 / 标签页 头部 ---------- */
.listhead{ background-color:#FFFFFF; border-bottom:solid 3px #B32136; padding:12px 14px 10px; overflow:hidden; }
.listhead h1{ font-size:22px; line-height:34px; color:#B32136; font-family:"微软雅黑"; font-weight:700; float:left; }
.listhead .lh-more{ float:right; line-height:34px; font-size:13px; color:#999999; }
.listhead p{ clear:both; padding-top:6px; font-size:13px; line-height:180%; color:#666666; }

/* ---------- 首页头条 ---------- */
.cqtt_box_right h1 a{ color:#1a1a1a; }
.cqtt_box_right h1 a:hover{ color:#B32136; }

/* ---------- 列表条目 ---------- */
ul.list_item li{ padding:10px 0 10px; }
.list_title{ height:auto; line-height:26px; }
.list_title h3{ font-size:16px; line-height:26px; font-weight:400; }
.list_title h3 a{ color:#B32136; font-size:16px; }
.list_title h3 a:hover{ color:#FF0000; }
.list_text{ height:auto; max-height:52px; line-height:26px; color:#666666; font-size:13px; margin-top:4px; overflow:hidden; }
.list_time{ border-top:none; padding-top:4px; height:24px; line-height:24px; color:#999999; font-size:12px; }
.list_time .time{ float:left; color:#999999; }
.list_time .ltags{ float:left; margin-left:12px; }
.list_time .ltags a{ color:#8A6A34; margin-right:8px; }
.list_time .ltags a:hover{ color:#FF0000; }
.pagelist .pagebar{ padding-top:8px; }
.pagebar a, .pagebar strong, .pagebar span{ display:inline-block; padding:0 8px; border:1px solid #E5E5E5; background:#FFFFFF; line-height:28px; height:28px; margin-right:5px; }
.pagebar span.cur{ background:#B32136; border-color:#B32136; color:#FFFFFF; }
.pagebar a:hover{ border-color:#B32136; color:#B32136; }

/* ---------- 文章页 ---------- */
.article .title{ height:auto; line-height:36px; padding:8px 10px; }
.article .title h1{ font-size:26px; line-height:38px; font-family:"微软雅黑"; color:#222222; font-weight:700; }
.article_prop{ width:auto; background:#F7F7F7; border-top:1px solid #EEEEEE; border-bottom:1px solid #EEEEEE; padding:6px 0; }
.article_prop span{ margin:0 8px; color:#888888; }
.article_prop a{ color:#B32136; }
.content{ line-height:210%; font-size:15px; color:#333333; }
.content p{ text-indent:2em; }
.content p.imgp{ text-indent:0; text-align:center; margin:14px 0; }
.content img.artimg{ display:block; max-width:100%; height:auto; margin:0 auto; border:1px solid #E5E5E5; padding:3px; background:#FFFFFF; }
.content .arttags{ text-indent:0; margin:16px 0 6px; padding:10px 12px; background:#FAF7F2; border:1px dashed #E3D9C8; font-size:13px; line-height:200%; }
.content .arttags a{ display:inline-block; margin-right:10px; color:#8A6A34; }
.content .arttags a:hover{ color:#FF0000; }
.nexpage{ line-height:26px; font-size:13px; color:#666666; }
.nexpage a{ color:#B32136; }
.nexpage p{ text-indent:0; margin:0; }

/* ---------- 侧栏 ---------- */
.right_list ul li a{ color:#555555; }
.right_list ul li a:hover{ color:#FF0000; }
.right_list ul li.photo a{ font-size:12px; line-height:18px; color:#666; }
.right_list ul li.photo img{ object-fit:cover; }
.side-tags{ padding:8px; background:#FFFFFF; border:1px solid #E5E5E5; overflow:hidden; margin-bottom:8px; }
.side-tags a{ display:inline-block; margin:4px 6px 4px 0; padding:3px 8px; background:#FFF6E8; border:1px solid #EBDDC2; color:#8A6A34; font-size:13px; }
.side-tags a:hover{ background:#B32136; border-color:#B32136; color:#FFFFFF; }

/* ---------- 标签云 ---------- */
.tagcloud{ padding:12px 10px 4px; background:#FFFFFF; overflow:hidden; }
.tagcloud a{ display:inline-block; margin:0 7px 9px 0; padding:5px 11px; background:#FFF9EF; border:1px solid #E3D9C8; color:#8A6A34; font-size:14px; line-height:20px; }
.tagcloud a:hover{ background:#B32136; border-color:#B32136; color:#FFFFFF; text-decoration:none; }
.tagcloud a.hot{ background:#FDECEC; border-color:#E9B9B9; color:#B32136; }
.tagcloud em{ font-style:normal; font-size:12px; color:#B09070; margin-left:3px; }

/* ---------- 首页图文 ---------- */
.pic_box_item img{ display:block; width:235px; height:170px; object-fit:cover; }
.pic_box_item p{ font-size:13px; line-height:180%; color:#666666; height:92px; overflow:hidden; }
.pic_box_item p a{ color:#B32136; }

/* ---------- 首页五个彩色推荐位（网格化，替代原站负 margin 拼图） ---------- */
.uLink{ display:grid; grid-template-columns:242px 261px 493px; grid-auto-rows:132px; gap:4px; width:1000px; box-sizing:border-box; padding:0; }
.uLink p{ float:none; margin:0!important; width:auto!important; height:auto!important; padding:14px 18px!important; box-sizing:border-box; overflow:hidden; font-size:20px!important; line-height:1.45!important; }
.uLink p a{ display:block; }
.uLink #xc1{ grid-column:1; grid-row:1; }
.uLink #xc2{ grid-column:2; grid-row:1 / span 2; font-size:24px!important; }
.uLink #xc3{ grid-column:3; grid-row:1; font-size:22px!important; }
.uLink #xc4{ grid-column:3; grid-row:2; font-size:22px!important; }
.uLink #xc5{ grid-column:1; grid-row:2; }

/* ---------- 文章页两栏（左 650 / 右 330，顶部红条对齐、侧栏四块等宽等距） ---------- */
.artbox .pageleft{ width:650px; }
.artbox .pageright{ width:330px; }
.artbox .article{ width:100%; }
.artbox .box_title{ margin-bottom:0; }
.arthead .more{ line-height:40px; }
.arthead .more a{ color:#888888; font-size:13px; }
.artbox .crumb{ background:#FFFFFF; border-bottom:1px dashed #EEEEEE; padding:7px 10px; margin-bottom:8px; }
.artbox .title{ height:auto; padding:16px 8px 4px; }
.artbox .title h1{ font-size:25px; line-height:1.5; }
.artbox .article_prop{ margin-bottom:10px; }
.artbox .article{ border:1px solid #EEEEEE; background:#FFFFFF; }
.artbox .content{ padding:14px 18px 16px; }
.artbox .nexpage{ margin-top:14px; padding:10px 12px 0; background:#FAFAFA; border-top:1px solid #EEEEEE; }
.artbox .nexpage p{ line-height:24px; }
.artbox .page_bottom, .artbox .right_list, .artbox .side-tags{ margin-bottom:10px; }
.artbox .side-tags{ padding:10px; }

/* 侧栏版块标题统一为红色下划线，和正文栏保持一致 */
.box_title + .right_list, .box_title + .side-tags{ border-top:0; }
.box_title{ margin-bottom:0; }
.right_list, .side-tags{ box-sizing:border-box; }

/* ---------- 侧栏浮动清理 ---------- */
.page_bottom, .listright .page_bottom, .pageright .page_bottom{ float:none; width:100%; margin:0 0 8px; }
.right_list{ clear:both; }
.right_list ul li{ white-space:nowrap; text-overflow:ellipsis; }
.right_list ul li.photo{ width:47%; box-sizing:border-box; height:auto; min-height:0; white-space:normal; padding:2px 4px 6px; margin:0 4% 8px 0; }
.right_list ul li.photo:nth-child(2n){ margin-right:0; }
.right_list ul li.photo img{ display:block; margin:0 auto 3px; }
.right_list ul li.photo p{ height:36px; line-height:18px; overflow:hidden; text-align:center; font-size:12px;
	display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; text-overflow:ellipsis; }
.right_list ul li.photo p a{ display:block; }
.right_list ul li.photo p a{ color:#666666; }
.right_list ul li.photo img{ object-position:center 30%; }

/* ---------- 页脚 ---------- */
.footer .flinks{ line-height:200%; }
.footer .flinks a{ margin:0 6px; color:#666666; }
.footer .flinks a:hover{ color:#FF0000; }
.footer .fnav{ padding-top:6px; }

/* ---------- 网站地图页 ---------- */
.mapbox{ background:#FFFFFF; padding:14px; overflow:hidden; }
.mapbox h2{ font-size:18px; color:#B32136; font-family:"微软雅黑"; margin:10px 0 8px; border-left:4px solid #B32136; padding-left:8px; line-height:26px; }
.mapbox ul{ overflow:hidden; }
.mapbox ul li{ float:left; width:230px; height:28px; line-height:28px; overflow:hidden; list-style:none; font-size:13px; white-space:nowrap; text-overflow:ellipsis; }
.mapbox ul li a{ color:#555555; }
.mapbox ul li a:hover{ color:#FF0000; }
.mapbox .count{ color:#999999; font-size:12px; }

/* ---------- 404 ---------- */
.errbox{ width:1000px; margin:0 auto; background:#FFFFFF; padding:60px 20px; text-align:center; }
.errbox h1{ font-size:60px; color:#B32136; font-family:"微软雅黑"; line-height:80px; }
.errbox p{ font-size:15px; color:#666; line-height:200%; }

/* ---------- 文章页相关推荐盒子 ---------- */
.relbox{ background:#FFFFFF; overflow:hidden; margin-top:10px; }
.relbox .pagelist{ background:#FFFFFF; }

/* ---------- 面包屑 ---------- */
.crumb{ padding:8px 10px; background:#FFFFFF; border-bottom:1px dashed #EEEEEE; font-size:12px; color:#999999; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.crumb a{ color:#8A6A34; }
.crumb span{ color:#BBBBBB; }

/* ---------- 首页站点简介 ---------- */
.siteintro{ background:#FFFFFF; padding:14px 16px; line-height:200%; font-size:13px; color:#555555; overflow:hidden; }
.siteintro h2{ font-size:17px; color:#B32136; font-family:"微软雅黑"; margin-bottom:8px; line-height:26px; }
.siteintro p{ text-indent:2em; margin-bottom:6px; }

/* ---------- 标签索引卡片 ---------- */
.tagwrap{ background:#FFFFFF; padding:10px; overflow:hidden; }
.tagcard{ float:left; width:48%; box-sizing:border-box; margin:6px 1% 6px 0; padding:10px 12px; border:1px solid #EEEEEE; background:#FCFCFC; overflow:hidden; }
.tagcard h3{ font-size:15px; line-height:24px; font-family:"微软雅黑"; font-weight:400; color:#B32136; }
.tagcard h3 a{ color:#B32136; }
.tagcard h3 .count{ float:right; font-size:12px; color:#999999; font-weight:400; }
.tagcard ul{ margin-top:4px; }
.tagcard ul li{ list-style:none; line-height:24px; font-size:13px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.tagcard ul li a{ color:#666666; }
.tagcard ul li a:hover{ color:#FF0000; }

/* 侧栏宽度自适应（栏目页右栏比文章页窄） */
.listright .page_bottom, .pageright .page_bottom{ width:100%; }
.listright .right_list, .pageright .right_list{ width:auto; box-sizing:border-box; }

/* ---------- 移动端适配（桌面端外观不变） ---------- */
@media (max-width:1040px){
	body{ background-size:cover; overflow-x:hidden; }
	.top{ width:100%; height:auto; }
	.logo,.logo img{ width:100%; height:auto; }
	.menusbg{ height:auto; }
	.menusbg,.menus,.pbox,.index_box,.index_box_bg,.pagebox,.footer,.cqtt,.wrap_game,.errbox{ width:100%; box-sizing:border-box; }
	.menus{ height:auto; }
	.menus ul{ flex-wrap:wrap; }
	.menus ul li{ flex:none; width:50%; height:42px; line-height:42px; }
	.menus ul li a{ font-size:16px; }
	.pinbox,.pleft,.pright,.index_lef,.index_rig,.index_left_item,.pageleft,.pageright,.listleft,.listright,
	.tjlistbox,.tjlistbox2,.cqtt_box_left,.cqtt_box_right,.pic_box_item,.uLink,.top_box,.pageright .page_bottom,.right_list,.side-tags{ width:100%; box-sizing:border-box; float:none; }
	.pleft,.pright{ height:auto; }
	.pleft .bfimg img{ width:100%; height:auto; }
	.pic_box_item{ height:auto; margin-right:0; }
	.pic_box_item img{ width:100%; height:auto; }
	.cqtt_box_left{ width:100%; height:auto; border-right:none; border-bottom:1px solid #DDDDDD; font-size:22px; line-height:32px; padding:6px 0; }
	.cqtt_box_right h1{ font-size:20px!important; line-height:30px; }
	.cqtt_box_right p{ text-align:left; }
	.uLink{ grid-template-columns:1fr 1fr; grid-auto-rows:auto; }
	.uLink p{ min-height:0; padding:10px 12px!important; }
	.uLink #xc1,.uLink #xc2,.uLink #xc3,.uLink #xc4,.uLink #xc5{ grid-column:auto; grid-row:auto; font-size:17px!important; }
	.uLink #xc5{ grid-column:1 / span 2; }
	.index_photo{ text-align:center; }
	.tjlistbox{ margin-right:0; }
	.listleft,.listright{ margin-bottom:10px; }
	ul.list_item li{ width:100%; box-sizing:border-box; }
	.listhead h1{ float:none; }
	.listhead .lh-more{ float:none; display:block; line-height:24px; }
	.article_prop{ width:auto!important; }
	.article .title h1{ font-size:20px; line-height:30px; }
	.content{ padding:10px; font-size:15px; }
	.content img.artimg{ width:100%; }
	/* 文章页两栏在移动端堆叠（选择器权重与桌面端保持一致） */
	.artbox .pageleft, .artbox .pageright, .artbox .article{ width:100%; box-sizing:border-box; float:none; }
	.artbox .content{ padding:0 10px 12px; }
	.artbox .title{ padding:12px 6px 4px; }
	.artbox .pageright{ margin-top:10px; }
	.right_list ul li.photo{ width:47%; margin:0 4% 8px 0; }
	.mapbox ul li{ width:50%; }
	.errbox h1{ font-size:40px; }
}
