/* ytbyajtj：home_00024 红色顶栏传统工业站首页。
   参考站多个外部 CSS（客服浮层样式、jQuery 增强动画、字体颜色）已剥离，
   保留主样式和 reset 并加 .tpl-ytbyajtj 隔离，远程视频/统计/客服样式不输出。
*/

.tpl-ytbyajtj {
    color: #2d251b;
    font-size: 14px;
    width: 100%;
    font-family: 微软雅黑, "Open Sans", Arial, sans-serif;
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

.tpl-ytbyajtj * {
    margin: 0;
    padding: 0;
}

.tpl-ytbyajtj a {
    text-decoration: none;
    color: #333;
    border: 0;
}

.tpl-ytbyajtj a:hover {
    text-decoration: none;
}

.tpl-ytbyajtj ul,
.tpl-ytbyajtj li {
    list-style: none;
}

.tpl-ytbyajtj img {
    max-width: 100%;
    border: 0;
    display: block;
}

.tpl-ytbyajtj input {
    font-family: 微软雅黑, "Open Sans", Arial, sans-serif;
    font-size: 1em;
    -webkit-appearance: none;
}

.tpl-ytbyajtj .wrap {
    max-width: 1200px;
    padding: 0 10px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.tpl-ytbyajtj .flt {
    float: left;
}

.tpl-ytbyajtj .frt {
    float: right;
}

.tpl-ytbyajtj .clear {
    clear: both;
}

.tpl-ytbyajtj .clear::after,
.tpl-ytbyajtj .clear::before {
    content: "";
    clear: both;
    display: table;
}

/* 顶部 header：固定 60px 红色高亮 */
.tpl-ytbyajtj .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 10000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-top: 3px solid #ddd;
    height: 60px;
    line-height: 60px;
}

.tpl-ytbyajtj .header .logo {
    margin-right: 2em;
    float: left;
}

.tpl-ytbyajtj .header .logo img {
    max-height: 60px;
    max-width: 360px;
    display: inline-block;
    vertical-align: middle;
}

.tpl-ytbyajtj .header .menu {
    float: right;
}

.tpl-ytbyajtj .header .menu ul li {
    float: left;
    margin-left: 0;
    position: relative;
}

.tpl-ytbyajtj .header .menu ul li * {
    display: block;
    text-align: center;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.tpl-ytbyajtj .header .menu ul li a {
    color: #626b72;
}

.tpl-ytbyajtj .header .menu ul li span {
    font-size: 15px;
    padding: 0 5px;
    color: #626b72;
}

.tpl-ytbyajtj .header .menu ul li.on {
    background: #a92225;
}

.tpl-ytbyajtj .header .menu ul li.on a {
    color: #fff;
}

.tpl-ytbyajtj .header .menu ul li.on span,
.tpl-ytbyajtj .header .menu ul li a:hover span {
    color: #fff;
}

.tpl-ytbyajtj .header .menu ul li:hover span {
    background: #a92225;
}

.tpl-ytbyajtj .header .menu_wrap {
    clear: both;
}

/* banner 区域：固定 65px 顶距 */
.tpl-ytbyajtj .mainer {
    padding-top: 0;
}

.tpl-ytbyajtj .banner_owl {
    padding-top: 65px;
    width: 100%;
    background: #fff;
}

.tpl-ytbyajtj .banner_owl .owl {
    position: relative;
}

.tpl-ytbyajtj .banner_owl .owl_cur {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    z-index: 5;
    pointer-events: none;
}

.tpl-ytbyajtj .banner_owl .owl_cur .prev,
.tpl-ytbyajtj .banner_owl .owl_cur .next {
    position: absolute;
    top: -25px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3) center center no-repeat;
    border-radius: 50%;
    pointer-events: auto;
    cursor: pointer;
}

.tpl-ytbyajtj .banner_owl .owl_cur .prev {
    left: 20px;
}

.tpl-ytbyajtj .banner_owl .owl_cur .next {
    right: 20px;
}

.tpl-ytbyajtj .banner_owl .banner .item {
    width: 100%;
}

.tpl-ytbyajtj .banner_owl .banner .item .img1 {
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.tpl-ytbyajtj .banner_owl .banner .item .img1 img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: cover;
}

.tpl-ytbyajtj .banner_owl .owl-dots {
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.tpl-ytbyajtj .banner_owl .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
}

.tpl-ytbyajtj .banner_owl .owl-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}

/* 视频推荐 dpspbox：左侧大视频 + 右侧 6 缩略图 */
.tpl-ytbyajtj .dpspbox {
    margin: 15px auto;
    overflow: hidden;
    width: 1200px;
    background: #fff;
    max-width: 100%;
}

.tpl-ytbyajtj .dpspcpimgvideo {
    position: relative;
    width: 850px;
    float: left;
}

.tpl-ytbyajtj .dpspcpimgvideo .videobox2024 {
    max-height: 600px;
    position: relative;
    overflow: hidden;
    justify-content: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    background: #000;
    border-radius: 15px;
}

.tpl-ytbyajtj .dpspcpimgvideo .videobox2024 img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 15px;
}

.tpl-ytbyajtj .dpspcpimgvideo .playvideo2024 {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -35px;
    z-index: 10;
    margin-top: -35px;
    cursor: pointer;
}

.tpl-ytbyajtj .dpspcpimgvideo .playvideo2024 img {
    width: 70px;
    height: 70px;
    border-radius: 0;
}

.tpl-ytbyajtj .dpspycbox {
    width: 330px;
    float: right;
    color: #333;
}

.tpl-ytbyajtj .dpspycbox .moreimglist2024 {
    margin-top: 0;
}

.tpl-ytbyajtj .dpspycbox .moreimglist2024 li {
    margin-bottom: 10px;
    height: 80px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.tpl-ytbyajtj .dpspycbox .moreimglist2024 .tuijianimgbox2024 {
    width: 80px;
    height: 80px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: #f5f5f5;
}

.tpl-ytbyajtj .dpspycbox .moreimglist2024 .tuijianimgbox2024 img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    min-height: 100%;
    display: block;
    transition: all 0.5s;
    object-fit: cover;
}

.tpl-ytbyajtj .dpspycbox .moreimglist2024 .tuijianimgbox2024 .playvideo2 {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.tpl-ytbyajtj .dpspycbox .moreimglist2024 .tuijianimgbox2024 .playvideo2 img {
    position: relative !important;
    width: 50% !important;
    height: auto !important;
    margin: 0 !important;
}

.tpl-ytbyajtj .dpspycbox .moreimglist2024 .cp-title2024 {
    line-height: 30px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    width: 230px;
    max-height: 60px;
    margin-left: 10px;
}

/* 视频介绍文案 */
.tpl-ytbyajtj .video_intro1 {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    font-size: 18px;
    font-weight: bold;
    color: red;
    text-align: center;
    padding: 20px 10px;
}

/* 公司介绍 mainer + about_box */
.tpl-ytbyajtj .mainer .page {
    padding: 60px 0;
}

.tpl-ytbyajtj .about_box {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.tpl-ytbyajtj .about_box .about_img {
    float: right;
    margin-left: 50px;
    width: 480px;
    height: 360px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.tpl-ytbyajtj .about_box .about_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tpl-ytbyajtj .about-hk {
    width: 400px;
    height: 200px;
    position: absolute;
    right: -20px;
    bottom: -20px;
    border: 3px solid #a92225;
    z-index: -1;
}

.tpl-ytbyajtj .about_txt {
    overflow: hidden;
    position: relative;
}

.tpl-ytbyajtj .about_txt h3 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 45px;
    padding-top: 20px;
    position: relative;
}

.tpl-ytbyajtj .about_txt h3::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 4px;
    background: #a92225;
}

.tpl-ytbyajtj .about_txt h5 {
    font-size: 18px;
    color: #999;
    font-weight: normal;
    margin-bottom: 15px;
}

.tpl-ytbyajtj .about_txt .text {
    line-height: 25px;
    max-height: 300px;
    padding: 20px 0;
    overflow: hidden;
    color: #666;
    font-size: 14px;
}

.tpl-ytbyajtj .about_txt .laytxt {
    font-size: 130px;
    color: #f6f5f5;
    position: absolute;
    z-index: -1;
    font-weight: bold;
    line-height: 130px;
    text-indent: 100px;
    top: 30px;
    left: 0;
}

.tpl-ytbyajtj .about_txt .btn {
    margin-top: 20px;
}

.tpl-ytbyajtj .about_txt .btn a {
    display: block;
    width: 138px;
    line-height: 40px;
    border-radius: 40px;
    background: #a92225;
    color: #fff;
    box-shadow: 0 2px 10px rgba(85, 50, 139, 0.2);
    text-align: center;
    font-size: 14px;
}

.tpl-ytbyajtj .about_txt .btn a:hover {
    background: #bc8b43;
}

/* 关键词高亮颜色（参考站 .dpsbm8/.dptygjc8 等） */
.tpl-ytbyajtj .tylxr,
.tpl-ytbyajtj .tydz {
    color: #ff0000;
    font-weight: bold;
}

.tpl-ytbyajtj .dpsbm8 {
    color: #e94744;
    font-weight: bold;
}

.tpl-ytbyajtj .dpsbm10 {
    color: #009960;
    font-weight: bold;
}

.tpl-ytbyajtj .dptygjc8 {
    color: #3897f0;
    font-weight: bold;
}

.tpl-ytbyajtj .dptygjc9 {
    color: #e8423f;
    font-weight: bold;
}

.tpl-ytbyajtj .dptygjc10 {
    color: #ff6600;
    font-weight: bold;
}

.tpl-ytbyajtj .sjys26 {
    color: #228b22;
    font-weight: bold;
}

/* 通用 page 区块 */
.tpl-ytbyajtj .page {
    padding: 60px 0;
}

.tpl-ytbyajtj .page_f9f9f9 {
    background: #f9f9f9;
}

/* 栏目标题 */
.tpl-ytbyajtj .title {
    text-align: center;
    padding: 10px 0;
    margin-bottom: 50px;
    background: rgba(0, 0, 0, 0) url("/static/templates/ytbyajtj/images/0.png") repeat-x left center;
}

.tpl-ytbyajtj .title span {
    font-size: 30px;
    padding-left: 30px;
    padding-right: 30px;
    background: #fff;
}

/* 案例/产品列表 */
.tpl-ytbyajtj .page_list {
    position: relative;
}

.tpl-ytbyajtj .page_list ul {
    border-left: 1px solid #a92225;
    overflow: hidden;
}

.tpl-ytbyajtj .page_list ul li,
.tpl-ytbyajtj .page_list ul li {
    width: 25%;
    text-align: center;
    float: left;
}

.tpl-ytbyajtj .page_list ul li .list {
    border: 1px solid #a92225;
    border-left: 0;
    padding: 10px;
}

.tpl-ytbyajtj .page_list ul li .img {
    position: relative;
    overflow: hidden;
}

.tpl-ytbyajtj .page_list ul li .img img {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: all 0.5s;
}

.tpl-ytbyajtj .page_list ul li:hover .img img {
    transform: scale(1.1);
}

.tpl-ytbyajtj .page_list ul li .img span {
    width: 55px;
    height: 55px;
    background: url("/static/templates/ytbyajtj/images/1.png") no-repeat right center;
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.5s;
    display: block;
}

.tpl-ytbyajtj .page_list ul li:hover .img span {
    left: 50%;
    top: 50%;
    margin-left: -27px;
    margin-top: -27px;
}

.tpl-ytbyajtj .page_list ul li .text {
    line-height: 20px;
    height: 20px;
    overflow: hidden;
    padding: 10px;
    color: #333;
    font-size: 14px;
}

.tpl-ytbyajtj .page_list ul li:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

/* 产品轮播 prev/next 按钮 */
.tpl-ytbyajtj .page_list2 .owl_cur {
    margin-top: 60px;
    text-align: center;
}

.tpl-ytbyajtj .page_list2 .owl_cur span {
    display: inline-block;
    width: 52px;
    height: 52px;
    margin: 0 20px;
    cursor: pointer;
    border-radius: 0;
}

.tpl-ytbyajtj .page_list2 .owl_cur span.prev {
    background: #f5f5f5 url("/static/templates/ytbyajtj/images/2.png") no-repeat center center;
}

.tpl-ytbyajtj .page_list2 .owl_cur span.next {
    background: #f5f5f5 url("/static/templates/ytbyajtj/images/3.png") no-repeat center center;
}

.tpl-ytbyajtj .page_list2 .owl_cur span.prev:hover {
    background: #a92225 url("/static/templates/ytbyajtj/images/4.png") no-repeat center center;
}

.tpl-ytbyajtj .page_list2 .owl_cur span.next:hover {
    background: #a92225 url("/static/templates/ytbyajtj/images/5.png") no-repeat center center;
}

/* 查看更多 */
.tpl-ytbyajtj .more {
    text-align: center;
    margin-top: 40px;
}

.tpl-ytbyajtj .more a {
    display: inline-block;
    line-height: 35px;
    font-size: 15px;
    width: 132px;
    text-align: center;
    border-radius: 30px;
    border: 1px solid #d2d2d2;
    color: #adadad;
}

.tpl-ytbyajtj .more a:hover {
    border-color: #e63b3e;
    color: #e63b3e;
}

/* 新闻列表 */
.tpl-ytbyajtj .page_news .item {
    width: 100%;
}

.tpl-ytbyajtj .page_news ul {
    padding-top: 30px;
    overflow: hidden;
    margin: 0 -10px;
}

.tpl-ytbyajtj .page_news ul li {
    float: left;
    width: 33.333%;
    padding: 0 10px;
    box-sizing: border-box;
    transition: all 0.5s;
    border: 1px solid #eee;
    background: #fff;
    position: relative;
    margin-bottom: 20px;
}

.tpl-ytbyajtj .page_news ul li:hover {
    border-color: #a92225;
    background: url("/static/templates/ytbyajtj/images/6.png") no-repeat right bottom #fff;
}

.tpl-ytbyajtj .page_news ul li .date {
    background: #a92225;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    margin-bottom: 10px;
    transition: all 0.5s;
}

.tpl-ytbyajtj .page_news ul li .date h2 {
    font-size: 28px;
    line-height: 1;
    margin: 0;
    color: #fff;
}

.tpl-ytbyajtj .page_news ul li .text {
    padding: 10px 15px;
}

.tpl-ytbyajtj .page_news ul li .text h3 {
    font-size: 16px;
    color: #333;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 6px;
    transition: all 0.5s;
}

.tpl-ytbyajtj .page_news ul li:hover .text h3 {
    color: #a92225;
}

/* 友情链接 */
.tpl-ytbyajtj .linkbox {
    margin-top: 50px;
}

.tpl-ytbyajtj .linkbox p {
    border-bottom: 1px solid #ddd;
    margin: 0;
    font-size: 18px;
    color: #a92225;
    padding-bottom: 15px;
    font-weight: bold;
    margin-bottom: 15px;
}

.tpl-ytbyajtj .linkbox p span {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: normal;
    color: #999;
    line-height: 25px;
}

.tpl-ytbyajtj .linkbox a {
    color: #333;
    margin-right: 15px;
    line-height: 25px;
    display: inline-block;
}

/* 页脚 */
.tpl-ytbyajtj .footer {
    margin-top: 10px;
    border-top: 1px solid #dedede;
}

.tpl-ytbyajtj .footer .ft_bq {
    text-align: center;
    line-height: 30px;
    padding: 20px 10px;
}

.tpl-ytbyajtj .footer .ft_bq p {
    color: #666;
    max-width: 1200px;
    margin: 0 auto;
}

.tpl-ytbyajtj .footer .ft_bq p a {
    color: #666;
}

/* 内页公共头部覆盖 */
.tpl-ytbyajtj .page-header-banner {
    height: 200px;
    background: #a92225;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 60px;
}

.tpl-ytbyajtj .page-header-banner h1 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
}

.tpl-ytbyajtj .page-header-banner .crumbs {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.tpl-ytbyajtj .page-header-banner .crumbs a {
    color: rgba(255, 255, 255, 0.85);
}

/* 移动端汉堡按钮 */
.tpl-ytbyajtj .header .m_nav {
    display: none;
    width: 40px;
    height: 40px;
    background: url("/static/templates/ytbyajtj/images/9.png") no-repeat center center;
    background-size: 30px auto;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
