/* 业务组件：首页模块、列表、图集、详情、表单、分页 */

/* ===== 首页 ===== */
/* 与原站一致：980 内容宽 + 左右 11px 内边距 = 1002，视频 376 + 新闻 396 + 推广位 208 */
.hometop {
    width: 980px;
    height: 207px;
    padding: 0 11px;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
}
.hometop .pic { flex: 0 0 208px; width: 208px; }
.box2 {
    width: 376px;
    height: 207px;
    overflow: hidden;
    flex: 0 0 376px;
}
.box2 .title {
    width: 376px;
    height: 35px;
    text-indent: 14px;
    font-weight: bold;
    font-size: 14px;
    line-height: 34px;
    color: #fff;
    background: url(/images/t2.gif) no-repeat;
}
.box2 .main {
    width: 376px;
    height: 165px;
    padding-top: 7px;
    overflow: hidden;
}
/* 旧站 style.css： #flash_show1{ width:376px; height:165px; overflow:hidden;} */
.box2 .main video,
.box2 .main img { width: 376px; height: 165px; display: block; }
#flash_show1 { width: 376px; height: 165px; overflow: hidden; }

.box1 {
    width: 376px;
    height: 207px;
    padding: 0 10px;
    overflow: hidden;
    /* content-box 下 flex-basis 指内容宽，故 376（含左右内边距共 396） */
    flex: 0 0 376px;
}
.box1 .title {
    width: 376px;
    height: 28px;
    padding: 7px 0 0 10px;
    background: url(/images/t1.gif) no-repeat;
    display: flex;
    align-items: flex-start;
}
.box1 .title a {
    display: inline-block;
    width: 75px;
    height: 21px;
    margin-right: 3px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    line-height: 22px;
    color: #fff;
    overflow: hidden;
}
.box1 .title a:hover { text-decoration: none; }
.box1 .title a.highlight { color: #4e73d1; background: url(/images/t_a.gif) no-repeat; }
.box1 .main {
    clear: both;
    width: 376px;
    height: 165px;
    padding-top: 7px;
    overflow: hidden;
}
/* 图片与文本块同样是旧站 content-box 尺寸（图 94×69 + 内边距 2 + 边框 1） */
.box1 .main .img {
    float: left;
    flex: none;
    box-sizing: content-box;
    width: 94px;
    height: 69px;
    padding: 2px;
    border: 1px solid #cfcfcf;
    overflow: hidden;
}
.box1 .main .img img { width: 94px; height: 69px; object-fit: cover; }
.box1 .main .txt {
    float: left;
    flex: none;
    box-sizing: content-box;
    width: 266px;
    height: 80px;
    padding: 0 0 3px 10px;
    font-size: 12px;
    line-height: 20px;
    color: var(--c-text-gray);
    overflow: hidden;
}
.box1 .main .txt h4 {
    width: 100%;
    height: 20px;
    font-weight: bold;
    font-size: 13px;
    line-height: 20px;
    color: var(--c-text-gray);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.box1 .main .txt p { max-height: 60px; overflow: hidden; }
.box1 .main .list { clear: both; width: 376px; overflow: hidden; }
.box1 .main .list li {
    height: 22px;
    padding-left: 14px;
    font-size: 12px;
    line-height: 22px;
    background: url(/images/li_a.gif) no-repeat 0 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.box1 .main .list li span { float: right; padding-right: 5px; color: var(--c-text-light); }
.box1 .tab-pane { display: none; }
.box1 .tab-pane.active { display: block; }

/* ===== 首页焦点图（严格按旧站 #focus 复刻）
   旧站规则：
   #focus { width:980px; height:350px; text-align:center; background:url(focus.gif) no-repeat 40px 333px; position:relative; }
   #focus .btn { height:26px; padding:0 15px; background:#fff; }
   #focus .btn span { width:10px; height:10px; padding:8px 4px; background:url(no2.gif) no-repeat 2px #fff; }
   #focus .preNext { width:45px; height:100px; top:90px; background:url(sprite.png) no-repeat 0 0; }
   #focus .pre { left:-30px; }  #focus .next { right:-30px; }
   ===== */
#focus {
    width: 980px;
    height: 350px;
    text-align: center;
    background: url(/images/focus.gif) no-repeat 40px 333px;
    position: relative;
}
#focus .carousel-inner { width: 980px; height: 321px; }
#focus .carousel-item img { width: 980px; height: 321px; display: block; }

/* 圆点条（26px 白底，居中） */
#focus .carousel-indicators {
    position: static;
    display: inline-block;
    width: auto;
    height: 26px;
    margin: 0;
    padding: 0 15px;
    background: #fff;
    overflow: hidden;
    z-index: auto;
    white-space: nowrap;
    /* 去掉模板换行产生的 inline-block 间隙，保证圆点间距与原站一致（每个 18px） */
    font-size: 0;
}
#focus .carousel-indicators [data-bs-target] {
    display: inline-block;
    box-sizing: content-box;
    width: 10px;
    height: 10px;
    padding: 8px 4px;
    margin: 0;
    border: 0;
    border-radius: 0;
    text-indent: 0;
    background: url(/images/no2.gif) no-repeat 2px #fff;
    opacity: 1;
    cursor: pointer;
}
#focus .carousel-indicators .active { background: url(/images/no1.gif) no-repeat 2px #fff; }

/* 左右箭头：45×100、top:90px，各向两侧外移 30px（原站位置） */
#focus .carousel-control-prev,
#focus .carousel-control-next {
    width: 45px;
    height: 100px;
    top: 90px;
    bottom: auto;
    opacity: 1;
}
#focus .carousel-control-prev { left: -30px; }
#focus .carousel-control-next { right: -30px; }
#focus .carousel-control-prev-icon,
#focus .carousel-control-next-icon {
    display: block;
    width: 45px;
    height: 100px;
    background: url(/images/sprite.png) no-repeat 0 0;
}
#focus .carousel-control-next-icon { background-position: right top; }

/* ===== 项目列表 ===== */
.project_list { padding: 0 25px 30px; background: #fff; }
.project_list .project {
    display: flex;
    gap: 18px;
    padding-top: 22px;
    border-bottom: 1px dashed #e6e6e6;
    padding-bottom: 22px;
}
.project_list .project:last-child { border-bottom: 0; }
.project_list .project .img {
    flex: 0 0 254px;
    box-sizing: content-box;
    width: 254px;
    height: 190px;
    padding: 8px;
    background: url(/images/project_bg.gif) no-repeat;
    overflow: hidden;
}
.project_list .project .img img { width: 254px; height: 190px; object-fit: cover; }
.project .info { flex: 1 1 auto; min-width: 0; height: auto; }
.project .info h3 { font-weight: bold; font-size: 16px; line-height: 30px; color: var(--c-blue); }
.project .info p { font-size: 12px; line-height: 22px; color: var(--c-blue); overflow: hidden; }
.project .info .introduction { max-height: 110px; overflow: hidden; margin-bottom: 5px; }
.project .info .more { margin-top: 8px; }
.project .info .more a { color: var(--c-orange); }

/* ===== 图集 / 商家列表 ===== */
.Pictures_list,
.Logo_list {
    padding: 10px 0 10px 20px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}
.Pictures_list li,
.Logo_list li {
    width: 230px;
    padding: 0 15px 20px 0;
}
.Pictures_list li a,
.Logo_list li a {
    display: block;
    box-sizing: content-box;
    width: 224px;
    height: 168px;
    padding: 2px;
    border: 1px solid var(--c-blue-light);
    overflow: hidden;
    background: #fff;
}
.Logo_list li a { height: 80px; }
.Pictures_list li img { width: 224px; height: 168px; object-fit: cover; }
.Logo_list li img { width: 224px; height: 80px; object-fit: contain; }
.Pictures_list li p a,
.Logo_list li p a {
    width: 230px;
    height: 30px;
    padding: 0;
    border: 0;
    font-weight: bold;
    font-size: 13px;
    line-height: 30px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.Pictures_list li p,
.Logo_list li p { height: 30px; overflow: hidden; }

/* 分类 tab（旧站 .type） */
.type { padding: 10px 20px; display: flex; flex-wrap: wrap; gap: 5px; }
.type a {
    display: inline-block;
    padding: 0 11px;
    font-weight: bold;
    font-size: 13px;
    line-height: 28px;
    color: #fff;
    background: url(/images/but_bg.gif) repeat-x 0 0;
}
.type a.type2 { background-position: 0 -28px; }
.type a:hover { text-decoration: none; filter: brightness(1.05); }

/* ===== 新闻/内容详情 ===== */
.NewsSview { padding: 30px 25px; text-align: center; }
.NewsSview h2 { font-size: 20px; line-height: 30px; color: var(--c-text); font-family: var(--font-family); }
.text_info {
    height: 25px;
    line-height: 25px;
    color: var(--c-text-gray);
    text-align: center;
    margin: 15px 0;
    border: 1px solid #f5f8fc;
    background: #f5f8fc;
}
.text_info span { margin: 0 10px; }
.text_box {
    padding: 0 10px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 22px;
    color: var(--c-text-gray);
    text-align: left;
    overflow: hidden;
}
.text_box img { max-width: 100%; height: auto; }
.text_box p { margin-bottom: 10px; }
.sxp { clear: both; padding-top: 10px; text-align: left; }
.sxp li {
    height: 22px;
    font-size: 12px;
    line-height: 22px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.share-bar { margin-top: 18px; padding-top: 12px; border-top: 1px dashed #ddd; display: flex; gap: 10px; align-items: center; color: #999; }
.share-bar button { border: 1px solid #ddd; background: #fff; color: #666; font-size: 12px; line-height: 24px; padding: 0 10px; cursor: pointer; }
.share-bar button:hover { color: var(--c-orange); border-color: var(--c-orange); }

/* 项目详情 */
.project-head { display: flex; gap: 20px; padding: 25px; border-bottom: 1px dashed #e6e6e6; }
.project-head .img { flex: 0 0 254px; }
.project-head .img img { width: 254px; height: 190px; object-fit: cover; border: 4px solid #f2f2f2; }
.project-head dl { flex: 1 1 auto; margin: 0; font-size: 13px; line-height: 22px; color: #555; }
.project-head dt { float: left; width: 74px; color: #999; font-weight: normal; }
.project-head dd { margin-left: 74px; }

/* ===== 分页 ===== */
.pagelist { clear: both; box-sizing: content-box; height: 30px; padding: 0 0 15px 20px; }
.pagelist ul { width: 100%; display: flex; flex-wrap: wrap; height: 30px; gap: 2px; }
.pagelist li { height: 24px; }
.pagelist a {
    display: inline-block;
    height: 22px;
    padding: 0 10px;
    line-height: 22px;
    border: 1px solid #e3e3e3;
    background: #fff;
    color: var(--c-link);
}
.pagelist a:hover,
.pagelist .current a {
    border: 1px solid var(--c-orange-2);
    background: var(--c-orange-light);
    color: #fff;
    text-decoration: none;
}

/* ===== 表单（旧站 input01-04 / button01-02：客户咨询、积分查询、活动报名共用） ===== */
.input01,
.input02,
.input03,
.input04 {
    box-sizing: content-box;
    width: 468px;
    height: 22px;
    line-height: 22px;
    text-indent: 5px;
    color: #666;
    border: 1px solid #d8d8d8;
}
.input02 { width: 203px; }
.input03 { width: 60px; }
.input04 { width: 500px; height: 60px; }
.button01,
.button02 {
    box-sizing: content-box;
    width: 66px;
    height: 26px;
    font: 12px/26px "宋体";
    color: #666;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}
.captcha-img { height: 30px; border: 1px solid #d8d8d8; cursor: pointer; }
.alert-site { padding: 8px 12px; font-size: 12px; margin-bottom: 12px; border: 1px solid; }
.alert-site.error { color: #b30000; border-color: #f3c2c2; background: #fff5f5; }
.alert-site.success { color: #0b6b2c; border-color: #bfe5cb; background: #f2fbf5; }

/* ===== 客户咨询（旧站 GuestbookMain） ===== */
.GuestbookMain { padding: 20px 0; }
.GuestbookMain td { padding: 5px 0; color: #666; }
#guestBook_box { padding: 0 36px; }
.GuestbookMain .pagination { color: #666; }

/* ===== 留言列表（旧站 reply_list） ===== */
.reply_list { box-sizing: content-box; width: 688px; height: auto; padding: 15px 36px; background: #fff; }
.reply_list .reply_list_t { box-sizing: content-box; width: 673px; height: 38px; padding-left: 15px; font: bold 14px/38px "宋体"; color: #fff; background: #9bbbe5; }
.reply_list .reply_list_m { box-sizing: content-box; width: 668px; height: auto; padding: 0 10px; background: #f5f9fb; }
.reply_list .reply { box-sizing: content-box; width: 628px; height: auto; padding: 10px 5px; border-bottom: 1px dashed #c2c2c2; overflow: hidden; }
.reply .tt { box-sizing: content-box; width: 628px; height: 30px; line-height: 30px; }
.reply .tt h3 { float: left; width: 450px; height: 30px; font-size: 14px; line-height: 30px; color: #000; overflow: hidden; }
.reply .tt span { float: right; color: #666; }
.reply .tt i { float: right; padding-left: 10px; color: #999; }
.reply .mm { box-sizing: content-box; width: 628px; height: auto; line-height: 22px; color: #666; overflow: hidden; }
.reply .m1 { box-sizing: content-box; width: 606px; height: auto; padding: 10px; line-height: 22px; color: #7589a3; border: 1px solid #cdcdcd; background: #fff; }
.reply .m1 i { float: left; padding-right: 5px; color: #999; }
.reply_list .pagelist { margin-top: 20px; }

/* ===== 会员活动 ===== */
.activity-list { padding: 15px 20px; }
.activity-item { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px dashed #e0e0e0; }
.activity-item:last-child { border-bottom: 0; }
.activity-item .img { flex: 0 0 200px; box-sizing: content-box; height: 140px; overflow: hidden; border: 1px solid #e6e6e6; }
.activity-item .img img { width: 200px; height: 140px; object-fit: cover; }
.activity-item .info { flex: 1 1 auto; min-width: 0; }
.activity-item .info h3 { font-size: 15px; font-weight: bold; line-height: 28px; color: #333; }
.activity-item .info .time { color: #999; line-height: 24px; }
.activity-item .info .desc { color: #666; line-height: 22px; max-height: 66px; overflow: hidden; }
.activity-item .info .ops { margin-top: 8px; display: flex; gap: 10px; align-items: center; }
.activity-item .info .ops img { height: 24px; }
.badge-site { display: inline-block; padding: 0 6px; font-size: 12px; line-height: 20px; color: #fff; background: var(--c-orange); }

/* ===== 积分查询结果 ===== */
.result-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.result-table th,
.result-table td { border: 1px solid #e6e6e6; padding: 8px 10px; text-align: left; }
.result-table th { width: 110px; background: #fafafa; color: #666; font-weight: normal; }

/* ===== 图集大图查看：恢复旧站 fresco（见 /css/fresco.css、/js/fresco.js） ===== */

/* 侧栏推广图 */
.side-pics li a { display: block; }
.side-pics li img { width: 208px; height: 65px; object-fit: cover; display: block; }
