@import "/css/style-8ef46f7507b941a889441360afe90634.css";

.pub-frm{
    width: var(--frame-width);
    margin:0 auto;
}
button{
    cursor: pointer;
}
header,.header{
    box-sizing: border-box;
    position: fixed;z-index: 99;
    top: 0;left: 0; right: 0; height:70px;
    background: white;
    padding:10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-container{
    box-sizing: border-box;
    max-width:1340px;
    margin:0 auto;
    display: flex; justify-content: space-between;
    align-items: center;
}
.header-container .logo{
    width:240px; height:50px;
    text-indent: 55px; line-height:50px;
    flex:none;
    background:url("/images/yuzhi-4c3a4b654947d046b5a7ad37ff6365b0.svg") left center no-repeat;
    background-size: contain;
    font-size:22px;font-weight: bold;
    white-space: nowrap;
}
.nav{
    flex:1;
    display: flex; justify-content: center; gap:40px;
    align-items: center;
    font-size:15px;
}
.nav .nav-item{
    display : inline-block;
    position : relative;
    line-height : 50px;
}
.nav .nav-item .subNav-panel{
    position: absolute;
    background-color: var(--color-white);
    border-radius: 15px;
    display:none;
    padding:15px 25px;
    overflow-y: auto;
    box-shadow: 0 3px 10px 5px rgba(0,0,0,0.05);
}
.nav .nav-item:hover > a,
.nav .nav-item.active > a{
    color:var(--color-hover);
}
.nav .nav-item:hover .product-panel.subNav-panel{
    display:block;
    width:900px;height:400px;
    left:50%;margin-left:0;
    transform:translateX(-50%);
}
.nav .nav-item .subNav-body{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 30px;
    align-items: flex-start;
}
.nav .nav-item .subNav-body .subNav-body-item{
    line-height:30px;
    min-width: 0;
}
.subNav-body-item-header{
    border-bottom: 1px solid var(--color-light);
    padding-bottom:5px;margin-bottom:10px;
}
.subNav-body-item-header b{
    color:var(--color-black);
}
.subNav-body-item-body a{
    color: #62748e;
}
.subNav-body-item-body a:hover{
    color: var(--color-hover);
    font-weight: 600;
    text-decoration: underline;
}
.subNav-body-item-body a::before{
    content: "●";
    display: inline-block;
    padding-right:5px;
    color: #d2dff1;
    font-size:12px;
}

.header-container .login-panel{
    flex:none;
    text-align: right;
    display: flex;gap:15px;
}
.login-panel button{
    box-sizing: border-box; cursor: pointer;
    font-size:14px;
    border-radius: var(--border-radius-9);
    padding:10px 25px;
}
.login-panel button.plain{
    padding:9px 25px;
}

footer,.footer{
    background-color:#0f172b;
    padding:80px 40px 40px 40px;
    color: var(--color-light);
}
.footer-container{
    margin:0 auto;
    max-width:var(--frame-width);
    border-bottom:1px solid #333333;
    display: flex; justify-content: space-between;
    align-items: flex-start;
    font-size:13px;line-height:180%;
}
.footer-container h2{
    font-size:18px;
    font-weight: normal;
    padding-bottom:10px;
}
.wx-box{
    width:120px;
    background:#ffffff url("/images/wx-a4de14881c92e454774dc4323eb5ba97.jpg") top center no-repeat;
    background-size: 120px 120px;
    padding:120px 0 5px 0;
    text-align: center;font-size:12px;
    color: var(--color-base);
}
.copyright{
    text-align: center;
    font-size:14px;
    padding-top:25px;
}
.btn-back-to-top{
    background: var(--bg-linear);
    position: fixed;
    width:48px;height:48px;
    bottom:30px;right:30px;
    border-radius: 50%;
    font-size:20px;font-weight:bold;
    color:var(--color-white);
    text-align: center;
    line-height:50px;
    cursor: pointer;
    transition: opacity 0.3s, bottom 0.3s;
    box-shadow: 0 2px 10px 3px rgba(0,0,0,0.2);
    opacity:0;
    pointer-events:none;
    z-index:1000;
}
.btn-back-to-top.show{
    opacity:1;
    pointer-events:auto;
}
.btn-back-to-top:hover{
    bottom:35px;
}

.page-container{
    margin-top: 70px;
}

.page-hero {
    background: var(--bg-linear);
    color: white;
    padding: 80px 40px;
    text-align: center;
}

.page-hero-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.page-content-bg {
    padding: 80px 40px;
    background: #f8f9ff;
}

.channel-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.channel-tab {
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 15px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
    box-sizing: border-box;
}

.channel-tab:hover {
    border-color: #667eea;
    color: #667eea;
}

.channel-tab.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.mask{
    position: fixed;
    z-index:99;
    top:0;left:0;right:0;bottom:0;
    background-color: rgba(0,0,0,0.5);
    display:none;
}
.mask-body{
    width:100%;height:100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.float-dlg{
    width:60px;
    min-width:800px;
    border-radius: 15px;
    background-color:#fff;
    box-shadow: 0 0 20px 5px rgba(0,0,0,0.1);
}
.float-dlg .dlg-header{
    display: flex;
    padding:20px;
    justify-content: space-between;
    align-items: flex-start;
}
.float-dlg .dlg-btn-close{
    width:16px;
    height:16px;
    color:var(--color-black);
    background: url("/images/ico/close-c8ccb8c293b8068b0f100bf9e86433c8.svg") center center no-repeat;
    background-size: cover;
}
.float-dlg .dlg-header .dlg-title{
    font-size:18px;font-weight: bold;
    color: var(--color-black);display: block;
}
.float-dlg .dlg-header .dlg-message{
    font-size: 12px;
    color:#63758d;
}

/* .float-dlg .dlg-body{

} */
.gbook-form{
    padding:30px;
}
.gbook-form-row{
    display:flex; gap:30px;
}
.gbook-form-col{
    width:50%;
}
.gbook-form-item{
    height:44px;
    border: 1px solid #d9e1ec;
    border-radius: 10px;
    width:100%;
    padding:0 14px;
    font-size:14px;
    color:#333;
    background: #fafbfc;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}
.gbook-form-item:focus{
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.15);
}
.gbook-form-item:hover:not(:focus):not([disabled]){
    border-color: #b8c5d6;
    background: #fff;
}
.gbook-form textarea.gbook-form-item{
    height:370px;
    resize: none;
    padding: 12px 14px;
    line-height: 1.6;
}
.gbook-form label span {
    display:block;
    padding:10px 0 6px;
    font-size:14px;
    font-weight: 500;
    color:#444;
}
.gbook-form label span  b{
    color:#e74c3c;
}
.gbook-form .btnSubmit{
    margin-top:20px;
    height:50px;
    color:#fff !important;
    font-size:16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0s !important;
    letter-spacing: 2px;
}
.gbook-form .btnSubmit:hover:not([disabled]){
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}
.gbook-form .btnSubmit:active:not([disabled]){
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}
.gbook-form .btnSubmit[disabled]{
    color:#aaa;
    cursor: not-allowed;
    background: #d0d5dd;
    box-shadow: none;
    transform: none;
}
.gbook-form .btn-disabled[disabled]{
    cursor: not-allowed;
    opacity: 0.6;
}
.gbook-form .btn-captcha{
    height:44px;
    border: 1px solid #d9e1ec;
    border-radius: 10px;
    width:100%;
    font-size:13px;
    color:#667eea;
    background: #f0f4ff;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    padding:0 8px;
    box-sizing: border-box;
}
.gbook-form .btn-captcha:hover:not([disabled]){
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}
.gbook-form .btn-captcha[disabled]{
    color:#999;
    background: #eee;
    border-color: #ddd;
    cursor: not-allowed;
}
.pagebar{
    font-size:14px;padding:60px 0 20px;text-align: center;
    display: flex; justify-content: center;
    align-items: center;gap:10px;
}
.pagebar a{
    display:inline-block;
    padding:8px 15px;
    line-height:20px;
    border-radius: 5px;
    background: var(--bg-linear-1);
    color: var(--color-white);
    transition: all 0.3s;
}
.pagebar a:hover{
    transform: translateY(-3px);
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.2);
}

.ellipsis-multi {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
#loading{
    text-align: center;
    padding:60px;
    margin: 0 auto;
    font-size:20px;
    color:#666;
    display:none;
}

/* ================= 气泡提示 Toast ================= */
#toast-msg{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(0.8);
    background: rgba(0,0,0,0.78);
    color: #fff;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    max-width: 80vw;
    text-align: center;
}
#toast-msg.toast-show{
    opacity: 1;
    transform: translate(-50%,-50%) scale(1);
}

/* ================= 自定义确认弹窗 ================= */
.modal-confirm{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.modal-confirm.modal-show{
    opacity: 1;
    pointer-events: auto;
}
.modal-confirm .modal-box{
    background: #fff;
    border-radius: 16px;
    width: 400px;
    max-width: 90vw;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: transform 0.25s ease;
}
.modal-confirm.modal-show .modal-box{
    transform: scale(1);
}
.modal-confirm .modal-body{
    padding: 40px 30px 30px;
    text-align: center;
}
.modal-confirm .modal-icon{
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-confirm .modal-msg{
    font-size: 15px;
    color: #333;
    line-height: 1.7;
}
.modal-confirm .modal-footer{
    display: flex;
    padding: 0 20px 20px;
    gap: 12px;
}
.modal-confirm .modal-btn{
    flex: 1;
    height: 44px;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}
.modal-confirm .modal-btn-cancel{
    background: #f5f5f5;
    color: #666;
}
.modal-confirm .modal-btn-cancel:hover{
    background: #e8e8e8;
}
.modal-confirm .modal-btn-ok{
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
.modal-confirm .modal-btn-ok:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

/* ================= 移动端响应式 ================= */
/* 汉堡菜单按钮（由 JS 动态追加） */
.menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    border: none;
    background: none;
    color: #333;
    padding: 4px;
    position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    position: absolute;
    left: 4px;
    transition: all 0.3s;
}
.menu-toggle span {
    top: 15px;
}
.menu-toggle span::before {
    content: '';
    top: -7px;
}
.menu-toggle span::after {
    content: '';
    top: 7px;
}
.nav-open .menu-toggle span {
    background: transparent;
}
.nav-open .menu-toggle span::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-open .menu-toggle span::after {
    top: 0;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .pub-frm { width: 100%; padding: 0 16px; }

    .header { padding: 8px 16px; height: 56px; }
    .header-container .logo { width: 200px; height: 40px; text-indent: 45px; line-height: 40px; font-size: 17px; background-size: contain; white-space: nowrap; }
    .page-container { margin-top: 56px; }

    .menu-toggle { display: block; flex: none; }

    .nav {
        display: none;
        position: fixed;
        top: 56px; left: 0; right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 100;
        max-height: calc(100vh - 56px);
        overflow-y: auto;
    }
    .nav.nav-open { display: flex; }
    .nav .nav-item { line-height: 44px; text-align: center; }
    .nav .nav-item .subNav-panel { display: none !important; }

    .login-panel { display: none; }
    .page-hero { padding: 40px 20px; }
    .page-hero-title { font-size: 28px; }
    .page-hero-subtitle { font-size: 16px; }

    .page-content-bg { padding: 40px 0; }

    .channel-tabs { gap: 10px; margin-bottom: 30px; }
    .channel-tab { padding: 8px 18px; font-size: 13px; }

    .footer { padding: 40px 20px; }
    .footer-container { flex-direction: column; gap: 30px; }
    .wx-box { width: 100px; background-size: 100px 100px; padding: 100px 0 5px 0; }

    .pagebar { flex-wrap: wrap; padding: 30px 0 20px; }
    .pagebar a { padding: 6px 12px; font-size: 13px; }

    .news-grid { grid-template-columns: 1fr; gap: 12px; }
    .news-card { flex-direction: row; align-items: stretch; }
    .news-image-wrapper { width: 130px; height: 100px; flex: none; }
    .news-content { padding: 12px 16px; }
    .news-tag { display: none; }
    .news-title { font-size: 14px; }
    .card-tools { padding-top: 8px; flex-direction: column; gap: 4px; align-items: flex-start; }

    .gbook-form-row { flex-direction: column; gap: 0; }
    .gbook-form-col { width: 100%; }
    .float-dlg { min-width: auto; width: 90%; max-height: 90vh; overflow-y: auto; }
    .modal-confirm .modal-box { max-height: 90vh; overflow-y: auto; }
    .gbook-form textarea.gbook-form-item { height: 120px !important; }
}

@media (max-width: 480px) {
    .page-hero-title { font-size: 24px; }
    .page-hero-subtitle { font-size: 14px; }
    .news-grid { grid-template-columns: 1fr; }
}
