
.container-home {
    display: flex;
    align-items: stretch;
    margin: 20px auto;
    gap: 20px;
    overflow: hidden;
}


/* 左侧公司简介区域 */
.company-intro {
    flex: 3;
    padding: 24px;
    background-color: #fff;
    border-radius: 16px 16px 16px 16px;
}

.intro-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 8px;
}

.company-intro .intro-title {
    margin-bottom: 0;
}

.intro-content {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;
}

.intro-content.expand {
    display: block;
}

.more-btn {
    text-align: right;
    margin-top: 8px;
}

.more-btn a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.more-btn a:hover {
    text-decoration: underline;
}

/* 右侧企业宣传册区域 */
.brochure {
    flex: 1;
    background-color: #fff;
    border-left: 1px solid #eee;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 16px 16px 16px 16px;
    width: 285px;
}

.brochure-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    position: relative;
}

.brochure-card {
    flex: 1;

    position: relative;
    background-color: #fff;
}

.brochure-card .swiper-backface-hidden .swiper-slide {
    background: #F5F6FA;
}

.brochure-card .swiper-backface-hidden .swiper-slide img {
    /* padding: 20px 40px; */
    height: 289px;
    border-bottom: 2px solid #DCDCDC;
}

.brochure-card .swiper-backface-hidden .swiper-slide a {
    position: relative;
    display: block;
    height: 100%;
    padding: 20px 40px;
}

.brochure-card .swiper-backface-hidden .swiper-slide a:before {
    content: '';
    position: absolute;
    width: calc(100% - 80px);
    height: calc(100% - 40px);
    background-image: url(../../imgs/company/shujiaozz.png);
    background-size: cover;
    background-position: 6px;
    background-repeat: no-repeat;
    z-index: 9;
    margin: 0;
    /* border-bottom: 2px solid #DCDCDC; */
}

.brochure-card .swiper-backface-hidden .swiper-slide .pdfname {
    position: absolute;
    bottom: 20px;
    width: calc(100% - 120px);
    left: 40px;
    text-align: center;
    margin: 20px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, #FFFFFF 100%);
}

.brochure-img {
    width: 100%;
    height: 180px;
    background: url("https://p26-flow-imagex-download-sign.byteimg.com/tos-cn-i-a9rns2rl98/46073cc8fadb45668dc6273aa00c0dba.png~tplv-a9rns2rl98-24:720:720.png?rcl=202512261517020E3E41C11FC069C7078A&rk3s=8e244e95&rrcfp=8a172a1a&x-expires=1767338222&x-signature=5XROwSZXrYDnrctxjYK5H0kPJcw%3D") center/cover no-repeat;
}

.brochure-desc {
    padding: 12px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

.page-indicator {
    position: absolute;
    top: 0;
    height: 28px;
    right: 0;
    color: #333;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.arrow-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.arrow-btn:hover {
    background-color: #f0f0f0;
}


/*资讯样式*/

.news-box {
    margin-bottom: 20px;
    display: flex;
    background: #FFFFFF;
    border-radius: 16px 16px 16px 16px;
    padding: 0px;
    gap: 15px;
}

.news-box ._main-img {
    position: relative;
    width: 195px;
    height: 110px;
}

.news-box ._main-img ._tag {
    position: absolute;
    height: 21px;
    object-fit: contain;
    top: 0;
    left: -2px;
}

.news-box ._main-img ._img {
    width: 100%;
    height: 100%;
    border-radius: 8px 8px 8px 8px;
    object-fit: cover;
}

.news-box ._right {
    flex: 1;
}

.news-box ._right ._name {
    font-size: 16px;
    color: #333333;
    margin-bottom: 6px;
    line-height: 22px;
    font-weight: bold;
}

.news-box ._right ._types {
    display: flex;
    gap: 10px;
    margin-bottom: 6px;
}

.news-box ._right ._types div {
    background: #FFFFFF;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #F5F6FA;
    line-height: 19px;
    font-size: 12px;
    color: #333333;
    padding: 0 4px;
}

.news-box ._right ._desc {
    font-size: 12px;
    color: #999999;
    line-height: 17px;
    height: 34px;
    margin-bottom: 6px;
}

.news-box ._right ._time {
    font-size: 12px;
    color: #666666;
    line-height: 17px;
}

.news-box.no-img ._right {
    border-left: 2px solid var(--base-color);
    padding-left: 15px;
}

.news-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    color: #333333;
    font-weight: bold;
    line-height: 22px;
    margin-bottom: 20px;
}

.news-title ._more {
    font-weight: normal;
    font-size: 14px;
    color: #999999;
    display: flex;
    align-items: center;
    gap: 3px;
}

.news-title ._more i {
    font-size: 12px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    gap: 15px;
}

.news-item img {
    width: 119px;
    height: 67px;
    border-radius: 8px 8px 8px 8px;
    object-fit: cover;
}

.news-item ._right {
    flex: 1;
    width: calc(100% - 134px);
    font-weight: bold;
}

.news-item ._right .limit {
    font-size: 12px;
    color: #666666;
    line-height: 17px;
    margin-top: 10px;
    font-weight: normal;
}

.news-item.no-img {
    border-left: 2px solid var(--base-color);
    padding-left: 15px;
}

.list {
    margin-top: 30px;
    overflow: hidden;
}

.list .more {
    float: right;
}

.list .hd {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.list .hd .item {
    width: 33.3%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F6FA;
    border-radius: 8px 8px 8px 8px;
    font-size: 16px;
    color: #333333;
    height: 40px;
    cursor: pointer;
}

.list .hd .item.on {
    background: #FCF4F4;
    font-size: 16px;
    color: #CA252D;
}


/* 工商信息容器 */
.business-info-container {
    margin: 0 auto;
    background-color: #fff;
    padding: 24px;
    border-radius: 16px 16px 16px 16px;
    margin-bottom: 20px;
}

/* 标题栏 */
.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.info-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.info-source {
    font-size: 14px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.info-source img {

    height: 16px;
}

/* 信息内容网格布局 */
.info-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

/* 单个信息项 */
.info-item {
    display: flex;
    padding: 5px 0;
}


.info-label {
    color: #666;
    font-size: 14px;
    flex-shrink: 0;
}

.info-value {
    color: #333;
    font-size: 14px;
    flex: 1;
}

/* 整体容器 */
.info-box {
    display: flex;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    height: 420px;
}

.info-box .item {
    display: flex;

}

.info-box .item.on {
    flex: 1;
}

.info-box .item.on .basic-info {
    display: block;
    transition: all 0.3s;
    height: 100%;
    overflow: hidden;
}

.info-box .item.on .nav-list {
    display: none;
    transition: all 0.3s;
}

.info-box .item:nth-child(4) .nav-list {
    background: rgba(202, 37, 45, 0.9);
}

.info-box .nav-list {
    width: 100px;
    height: 420px;
    background: rgba(202, 37, 45, 1);
    border-radius: 0px 0px 0px 0px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.info-box .morejt i {
    width: 34px;
    left: calc(50% - 17px);
    height: 34px;
    background: #FFFFFF;
    font-size: 10px;
    color: #CA252D;
    border-radius: 23px 23px 23px 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 40px;
}

/* 左侧基本信息区域 */
.basic-info {
    flex: 1;
    padding: 24px;
    position: relative;
    display: none;
}

.basic-info.on {
    display: flex;
}

/* 基本信息标题 */
.info-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 24px;
}


/* 信息行样式 */
.info-row {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
    display: flex;
}

.info-label {
    color: #999;
    margin-bottom: 0px;
    display: block;
}

.info-value {
    color: #333;
    margin-left: 15px;
}

/* 多列信息容器 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px dashed #eee; /* 虚线分隔 */
}

/* 右侧导航栏 */
.side-nav {
    width: 80px;
    background: linear-gradient(to bottom, #d92137, #b8182c); /* 红色渐变背景 */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
}

/* 导航标签 */
.nav-item {
    color: #fff;
    font-size: 20px;
    writing-mode: vertical-rl; /* 文字竖排 */
    margin: 40px auto;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s;
    position: relative;
}

.nav-item.active {
    opacity: 1;
    font-weight: 600;
}

/* 切换按钮 */
.nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    color: #c9192e;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background-color: #f0f0f0;
}

/* 按钮占位（把按钮推到下方） */
.btn-placeholder {
    flex: 1;
}


.factory-container {
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px;
    margin-top: 30px;
}

/* 标题样式 */
.factory-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* 图片轮播容器 */
.carousel-container {
    position: relative;
    width: 100%;
    height: 250px;

    margin-bottom: 24px;
}

.carousel-images {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease; /* 平滑切换动画 */

}

.carousel-item {
    width: 100%;
    flex-shrink: 0; /* 禁止收缩，保证单张占满宽度 */
    padding: 0 8px;
    height: 250px;
}

.carousel-item img {
    width: 100%;
    height: 214px;
    object-fit: cover;
    border-radius: 8px;
    background: #eee;
}

.carousel-label {
    text-align: center;
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    display: block;
    width: 100%;
}

/* 轮播箭头按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* 工厂信息列表 */
.factory-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 基础两列布局 */
    font-size: 14px;
    border-radius: 8px;
    margin: 0 auto; /* 可选：居中显示 */
    overflow: hidden;
}

.factory-info .info-item {
    display: flex;
    padding: 0;
    border-bottom: 1px solid #f9f9f9;
}

/* 关键：添加撑满整行的类 */
.factory-info .info-item.full-width {
    grid-column: 1 / -1; /* 跨所有列（这里是2列），撑满整行 */
}

.factory-info .info-label {
    width: 140px;
    color: #999;
    flex-shrink: 0;
    margin: 0;
    padding: 8px 15px;
    background: #F9F9F9;
}

.factory-info .info-value {
    color: #333;
    flex: 1;
    padding: 8px;
    word-break: break-all; /* 可选：长文本自动换行，避免溢出 */
}


.brochure-card .btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #FFFFFF;
    font-size: 12px;
    text-align: center;
    background: #fff;
    line-height: 46px;
    color: #999999;
    align-items: center;
    display: flex;
    z-index: 2;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1);
    padding: 0;
    justify-content: center;
}

.brochure-card .btn.icon-fanye-zuo {
    left: -10px;
}

.brochure-card .btn.icon-fanye-you {
    right: -20px;
}

.brochure-card .btn:hover {
    color: #CA252D;
}


.carousel-container .btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #FFFFFF;
    font-size: 12px;
    text-align: center;
    background: #fff;
    line-height: 46px;
    color: #999999;
    align-items: center;
    display: flex;
    z-index: 2;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1);
    padding: 0;
    justify-content: center;
}

.carousel-container .btn.icon-fanye-zuo {
    left: -10px;
}

.carousel-container .btn.icon-fanye-you {
    right: -20px;
}

.ydy {
    display: flex;
    gap: 3px;
    margin-top: 12px;
}

.ydy .y1 {
    width: 8px;
    height: 3px;
    background: #CA252D;
    border-radius: 19px 19px 19px 19px;
}

.ydy .y2 {
    width: 4px;
    height: 4px;
    background: #CA252D;
    border-radius: 23px 23px 23px 23px;
}

.ydy .y3 {
    width: 62px;
    height: 3px;
    background: #CA252D;
    border-radius: 17px 17px 17px 17px;
}

.tab-nav {
    display: none;
}

.tab-content {
    display: none;
}

@media (max-width: 992px) {
    .factory-info {
        grid-template-columns: auto;
    }
}

@media (max-width: 767px) {
    .info-header {
        display: block;
    }

    .info-content {
        grid-template-columns:initial
    }

    .info-title {
        margin: 0;
    }

    /* 隐藏原有左侧导航结构 */
    .info-box .item {
        display: none !important;
    }

    /* 移动端Tab导航容器 */
    .tab-nav {
        display: flex;
        border-bottom: 1px solid #eee;
        margin-bottom: 15px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .tab-nav::-webkit-scrollbar {
        display: none;
    }

    /* Tab项样式 */
    .tab-item {
        flex: 0 0 auto;
        padding: 10px 15px;
        font-size: 14px;
        color: #666;
        cursor: pointer;
        border-bottom: 2px solid transparent;
        transition: all 0.3s;
    }

    /* Tab激活状态 */
    .tab-item.active {
        color: #CA252D;
        border-bottom-color: #CA252D;
        font-weight: 600;
    }

    /* Tab内容区域 */
    .tab-content {
        padding: 10px 0;
        display: block;
    }

    /* Tab面板样式 */
    .tab-panel {
        display: none;
    }

    .tab-panel.active {
        display: block;
    }

    /* 移动端隐藏morejt按钮 */
    .morejt {
        display: none;
    }

    /* 移动端通用信息样式适配 */
    .tab-content .info-title {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
        color: #333;
    }

    .tab-content .info-row {
        display: flex;
        margin-bottom: 10px;
    }

    .tab-content .info-label {
        flex: 0 0 90px;
        color: #666;
        font-size: 14px;
    }

    .info-box {
        flex-wrap: wrap;
        height: auto;
        padding: 20px;
    }

    .tab-content .info-value {
        flex: 1;
        color: #333;
        font-size: 14px;
        word-break: break-all;
    }

    .tab-content .info-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 10px;
    }
    .container-home{
        flex-wrap: wrap;
    }
    .brochure{
        flex: none;
        width: 100%;
    }
}
