/* 全站公共补充样式 */

/* 页面高度铺满，短内容时页脚自然沉底（不是悬浮 fixed） */
html {
    height: 100%;
}
body.bg-light {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

/* 顶部导航固定在页面顶部 */
.home-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin-top: 0 !important;
    z-index: 999;
    width: 100%;
    background: #333;
    flex-shrink: 0;
}
.home-header .top .wrap {
    min-height: 52px;
    line-height: 52px;
}
.home-header .right {
    padding: 0 10px !important;
    line-height: 52px;
}

/* 占位条：给固定导航留出高度，内容不被挡住 */
.video-wrapper {
    display: block !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    visibility: hidden;
}
.video-wrapper .video-container,
.video-wrapper .mask {
    display: none !important;
}

/* 中间内容撑开，把页脚顶到可视区域底部 */
body.bg-light > .container {
    flex: 1 0 auto;
    width: 100%;
}

.nav a.logo {
    font-size: 16px !important;
    font-weight: bold;
    padding-left: 0 !important;
    margin-right: 10px;
}
.nav a {
    font-size: 15px !important;
    padding-left: 14px !important;
}
.site-banner {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    padding: 36px 20px;
    text-align: center;
}
.site-banner h2 {
    color: #2e7d32;
    margin: 0 0 8px;
    font-size: 24px;
}
.site-banner p {
    color: #555;
    margin: 0;
    font-size: 14px;
}
.page_footer {
    background: #444;
    color: #fff;
    text-align: center;
    line-height: 1.8;
    font-size: 13px;
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
}
.page_footer a {
    color: #fff;
    text-decoration: underline;
}
.page_footer .footer-links a {
    margin: 0 6px;
}
.biz-declare {
    background: #fafafa;
    border: 1px solid #eee;
    padding: 12px 15px;
    margin: 10px 0 20px;
    color: #666;
    font-size: 13px;
    line-height: 1.8;
}
.agree-box {
    font-size: 12px;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 8px;
}
.agree-box a {
    color: #4e6ef2;
}
.btn-submit-disabled {
    background: #ccc !important;
    border-color: #ccc !important;
    cursor: not-allowed;
}
.static-page {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px 24px;
    margin: 20px 0 30px;
    min-height: 360px;
}
.static-page h1 {
    font-size: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.static-page h2 {
    font-size: 16px;
    margin: 18px 0 8px;
}
.static-page p, .static-page li {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}
.post-card {
    border: 1px solid #eee;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: #fff;
}
.post-card .title {
    font-size: 16px;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.post-card .meta {
    color: #999;
    font-size: 12px;
    margin-bottom: 6px;
    word-break: break-all;
}
.post-card .summary {
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    overflow: hidden;
    word-break: break-all;
}
.list-title-cell {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.list-date-cell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: #999;
}
.post-card .actions {
    margin-top: 8px;
}
.tip-bar {
    background: #fff8e6;
    border: 1px solid #ffe0a3;
    color: #886600;
    padding: 10px 12px;
    margin-bottom: 15px;
    font-size: 13px;
}
.publish-notice {
    background: #fff8e6;
    border: 1px solid #ffe0a3;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.8;
    color: #664400;
}
.form-page {
    max-width: 720px;
    margin: 20px auto 40px;
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
}
.form-page .form-group {
    margin-bottom: 12px;
}
.form-page label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}
.form-page input[type="text"],
.form-page input[type="password"],
.form-page input[type="tel"],
.form-page select,
.form-page textarea {
    width: 100%;
    border: 1px solid #ccc;
    padding: 8px;
    box-sizing: border-box;
    font-size: 14px;
}
.auth-tip {
    color: #c00;
    font-size: 13px;
    margin-bottom: 12px;
}
@media (max-width: 767px) {
    .nav a {
        font-size: 13px !important;
        padding-left: 8px !important;
    }
    .nav a.logo {
        display: block;
        margin-bottom: 6px;
    }
    .home-header .top .wrap {
        min-height: auto;
        line-height: 1.6;
        padding: 8px 0;
    }
    .home-header .right {
        float: none !important;
        padding: 4px 0 !important;
        line-height: 1.6;
    }
    .video-wrapper {
        height: 110px !important;
    }
    .page_footer {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }
}
