/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-break: break-all;
}
 /* 基础样式 */
 .greenPaperWarp h1,.greenPaperWarp h2,.greenPaperWarp h3,.greenPaperWarp h4,.greenPaperWarp h5,.greenPaperWarp b,.greenPaperWarp strong{

    font-weight: bold;
}
/* 透明遮罩 */
dialog::backdrop {
    background: rgba(0, 0, 0, 0);
}

/* 缩放控制按钮容器 */
.zoom-controls {
    margin-top: 10px;
    display: flex;
    gap: 15px; /* 按钮间距 */
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 30px;
    width: 200px;
    margin:10px auto;
    display: flex
;
    justify-content: center;
}

/* 缩放按钮样式 */
.zoom-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    user-select: none;
}

.zoom-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    transform: scale(1.1);
}

/* 图片预览容器样式 */
#image-container {
    transition: cursor 0.2s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

/* 自定义滚动条样式 */
#image-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

#image-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

#image-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

#image-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 拖动状态样式 */
#image-container.grabbing {
    cursor: grabbing !important;
}

/* 图片样式 */
#dialog-image {
    transition: transform 0.3s ease;
    max-width: none !important;
    max-height: none !important;
}

dialog {
    background: transparent;
    border: none;
    padding: 0;
    margin: auto;
    width: auto;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    /* transform: translate(-50%, -50%); */
    overflow: hidden; /* 关键修改 */
    /* display: none; */
    /* height: 80vh; */
    max-height: calc(80vh + 90px);
    max-width: 50vw;
}

/* 图片容器样式修改 */
#image-container {
    position: relative;
    max-width: 50vw;
    height: 80vh;
    transform-origin: center center;
    transition: transform 0.2s ease;
    cursor: grab;
    overflow: auto; /* 关键修改：添加滚动条 */
    overscroll-behavior: contain; /* 阻止滚动链 */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    background:  rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    border-radius: 10px;
    min-width: 500px;
}



/* 图片样式 */
#dialog-image {
    display: block;
    /* width: 100%; */
    height: 100%;
    max-width: none;
    max-height: none;
    user-select: none;
    -webkit-user-drag: none;
    object-fit: contain;
    transition: transform 0.2s ease;
}

/* 禁用状态的缩小按钮 */
.zoom-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.close-btn {
    position: absolute;
    top: 20px;
    right:0px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(0,0,0,0.8);
}
.close-btn:focus {
    outline: none;
    box-shadow: none;
}
/* 确保弹窗内容不被关闭按钮遮挡 */
#image-container {
    margin-top: 20px;
}


.warp{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-width: 790px;
    padding-top: 120px;
}
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

img {
    vertical-align: top;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.df {
    display: flex;
}

.fdc {
    flex-direction: column;
}

.fdrw {
    flex-direction: row-reverse;

}

.jcc {
    justify-content: center;
}

.jcsb {
    justify-content: space-between;
}

.fg1 {
    flex-grow: 1;
}

.w20 {
    width: 20%;
}

.aic {
    align-items: center;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    /* background-color: #f9f9f9; */
}

.mr20 {
    margin-right: 20px;
}

.mb10 {
    margin-bottom: 10px;
}

.mt20 {
    margin-top: 20px;
}

.w7 {
    width: 70%;
}

.container {
    /* width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-width: 780px; */
    padding: 0;
}

/* 头部样式 */
.header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*.logo img {*/
/*    height: 50px;*/
/*}*/

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: #B89A71;
}

/* 横幅样式 */

/*.greenPaper-banner  .container img {
    width: 70%;
    height: auto;
    display: block;
} */
.greenPaper-banner {
    width: 100%;
    min-height: 200px;
    overflow: hidden;
}

.greenPaper-banner .container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: row-reverse;
    padding-bottom: 120px;
}

.banner-image {
    width: 70%;
    /* height: 70%; */
    object-fit: contain;
    /* position: absolute; */
    /* top: 0; */
    /* right: 0; */
}

.banner-text {
    position: absolute;
    bottom: 0;
    left: 0px;
    /* transform: translateY(-50%); */
    color: #000;
    font-size: 24px;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
}

.banner-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 24px;
}

/* 内容区域通用样式 */
.upper-content
 {
    padding: 30px 0;
}

.upper-content {
    background-color: #fff;
    padding-bottom: 0px;

}

.lower-content {
    /* background-color: #f5f5f5; */
    padding-top: 0px;
}

.lower-content-tit {
    font-size: 50px;
    margin: 70px 0;
}

.lower-content-tit img {
    width: 49px;
    height: 49px;
    margin-left: 20px;
}

.faq {
    background-color: #fff;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #B89A71;
    font-size: 28px;
    position: relative;
    padding-bottom: 15px;
    font-weight: bold;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #B89A71;
}

/* 两列布局 - 上部内容区 */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 10px;
}

.content-card {
    background-color: #fff;
    /* border-radius: 4px; */
    padding: 18px 44px 32px;
    background: #f7f7f7;
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-card:hover {
    /* transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); */
}

.content-card img {
    width: 100%;
    /* height: 200px; */
    object-fit: contain;
}

.content-card h3 {
    padding: 0px 0px 10px;
    color: #B89A71;
    font-size: 26px;
    text-decoration: underline;
    text-underline-offset: 6px;
    font-weight: bold;
}

.content-card p {
    padding: 0 30px 30px 0;
    color: #000;
    font-size: 14px;
    text-align: justify;
}
.cerfinicate{
    cursor: pointer;
}
.content-card .l1-2-warp {
    width: 100%;
}

.content-card .l1-2-warp img {
    object-fit: contain;

}
.content-card .l1-2-warp .cerfinicate{
    object-fit: cover;

}
.content-card .l1-2-warp img:nth-child(1) {
    width: 40%;

}

.content-card .l1-2-warp img:nth-child(2) {
    width: 60%;

}

.content-card .cerfinicate {
    border: 2px solid #aaa;
    border-radius: 3px;
}

.content-card.l2c {
    border: 5px solid transparent;
    padding: 10px 40px 10px 35px;
    /* align-items: center; */

}

.content-card.l2c>div:nth-child(1) {
    margin-top: 40px;

}

.content-card.l2c .cerfinicate {
    width: 122px;
    height: 173px;
    border: 2px solid #b3986d;
    /* align-self: center; */
    object-fit: cover;
}

.content-card.l2c .rw {
    width: 74px;
    height: 58px;
    position: absolute;
    /* float: left; */
    left: 130px;
    bottom: 10px;
    left: 50%;
}

.content-card.l2c .nob {
    border: none;
    width: 30%;
    align-self: center;
}

.content-card.l2c .w20 {
    width: 20%;
}

.content-card.bgfff {
    background: #fff;
    border: 5px solid #f7f7f7;
}

.content-card.bbw0 {
    border-bottom-width: 0px;
}

.content-card.btw0 {
    border-top-width: 0px;
}

.content-card.l2c p {
    padding-bottom: 0px;
}

.dlb.content-card {
    padding: 20px 25px 16px 45px;
    margin-top: 10px;
}

.dlb.content-card>img {
    width: 20%;
    object-fit: contain;
}
.dlbTxt-warp{
    width: 50%;

}
.dlbTxt-warp> img{
width: 30%;
}
.dlb-txt {
    margin: 0 20px 0 60px

}
.dlb-txt p{
    padding-bottom: 0px;
}
.vertificata-group{
    width: 50%;
}
.vertificata-group img {
  /*width: 132px;*/
    /*height: 181px;*/
    float: left;
    margin-right: 16px;
    border: 2px solid #b3986d;
    width: 30%;
}

.vertificata-group img:last-child {

    margin-right: 0px;
}

.sisbro.content-card {
    /* padding: 9px 6px 7px; */
    padding: 8px;
}

.sisbro.content-card>div {
    width: 50%;

}

.sisbro-img img {
    width: 70%;
}

.sisbro-txt {
    min-height: 195px;
    background: #fff;
    padding: 0 63px 0 41px;
    border-radius: 4px;
}

.sisbro-txt p {

    padding: 0;

}

.sisbro-txt>img {
    width: 80px;
    height: 94px;
    margin-left: 40px;
}
.sisbro-potato-txt.sisbro-txt{
    background-color: transparent;padding-top: 20px;padding-bottom: 20px
}
.mt10 {
    /* margin-top: 10px; */
}

.mt30 {
    margin-top: 30px;
}

.mb10 {
    margin-bottom: 10px;
}

/* 三列布局 - 下部内容区 */
.three-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.three-column-grid .content-card {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.three-column-grid .content-card h3 {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.three-column-grid .content-card p {
    padding: 0px;
}

.three-column-grid .content-card>img {
    align-self: center;
    margin: 20px 0;
}

.three-column-grid .content-card .line {
    width: 20px;
    height: 20px;
    margin: 10px 0 20px 0;
}

/* 1:2比例两列布局 */
.special-two-column {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* 左侧1份，右侧2份，比例1:2 */
    gap: 30px;
    /* height: 280px; */
    margin: 40px 0 60px 0;
}

.special-two-column .content-card {
    border-radius: 150px 0 0 150px;
    margin: 20px 0 0 0;
}

.special-two-column .content-card>img {
    width: 20%;
    object-fit: contain;
    margin: 0 10%;
}

.special-two-column .content-card>div:nth-child(2) {
    max-width: 340px;
}

.special-two-column .content-card p {
    padding: 0;
}

.special-two-column .content-card .line {
    width: 20px;
    height: 20px;
    margin: 10px 0 20px 0;
}

.special-two-column .content-card h3 {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.special-two-column .content-card .line {
    width: 20px;
    height: 20px;
    margin: 10px 0 20px 0;
}

.pt45.three-column-grid .content-card {
    /* padding-top: 45px;
    padding-bottom: 34px; */
    padding: 45px 25px 34px;
}

/* 底部样式 */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 30px;
}

.footer p {
    margin-bottom: 10px;
    font-size: 14px;
}

@media (max-width: 996px) {
    .banner-text h1 {
        font-size: 30px;
    }

    .greenPaper-banner .container {
        padding-bottom: 80px;
    }

    .dlb.content-card {
        flex-direction: column;
        align-items: center;
    }

    .dlb-txt {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 20px 60px;
    }
    .dlb.content-card>img{
        width: 30%;
    }
    .three-column-grid{
        gap: 10px;
    }
    .pt45.three-column-grid .content-card{
        padding: 45px 15px 34px;
    }
    .sisbro-txt{
        padding: 0 20px;
    }
    .special-two-column .content-card{
        padding: 18px 24px 32px;
    }
    .three-column-grid .content-card{
        padding: 22px 15px;
    }
    .content-card.l2c .rw {
        width: 50px;
        height: 50px;
        position: absolute;
        /* float: left; */
        left: 85px;
        bottom: 10px;
    }
}

/* 响应式设计 - 移动端适配 */
@media (max-width: 768px) {

    /* 移动端菜单 */
    .mobile-menu-btn {
        display: block;
    }

    .nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 100;
    }

    .nav ul.active {
        display: flex;
    }

    .nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    /* 所有布局在移动端均调整为单列 */
    /* .two-column-grid,
    .three-column-grid,
    .special-two-column {
        grid-template-columns: 1fr;
    }
 */
    /* 调整内边距和字体大小 */


    section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .content-card img {
        height: 160px;
    }
    .content-card.l2c .nob{
        width:35%;
    }
    .content-card .cerfinicate,.vertificata-group img{
        height:auto;

    }
    .banner-text h1 {
        font-size: 24px;
    }

}
@media (min-width: 768px) {
    .warp .container {
        min-width: 680px;
        max-width: 1120px;
    }
}
