/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Aug 19 2026 | 08:13:40 */
/* =========================
   KF Global Inquiry Popup
   Screenshot Style Version
   ========================= */

.kf-popup {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .55);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.kf-popup.is-active {
    display: flex;
}

body.kf-popup-open {
    overflow: hidden;
}

/* 弹窗主体：四角圆角 */
.kf-popup-box {
    position: relative;
    width: 500px;
    max-width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 34px 32px 24px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
    box-sizing: border-box;
    animation: kfShow .25s ease;
}

/* 让滚动条不破坏圆角视觉 */
.kf-popup-box::-webkit-scrollbar {
    width: 6px;
}

.kf-popup-box::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, .45);
    border-radius: 999px;
}

@keyframes kfShow {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 右上角关闭按钮 */
.kf-close {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #b8bfcc;
    color: #ffffff;
    border: none;
    padding: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    transition: all .25s ease;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    touch-action: manipulation;
}

.kf-close:hover {
    background: #dd6b20;
    color: #ffffff;
}

/* 标题 */
.kf-popup-title {
    font-size: 29px;
    line-height: 1.2;
    font-weight: 800;
    color: #050816;
    margin: 0 0 12px;
    padding-right: 55px;
    letter-spacing: -.4px;
}

/* 表单整体 */
.kf-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

/* 输入框和文本框 */
.kf-form input,
.kf-form textarea {
    width: 100%;
    border: none;
    outline: none;
    background: #f3f6fb;
    border-radius: 12px;
    color: #111827;
    font-size: 21px;
    box-sizing: border-box;
}

.kf-form input {
    height: 53px;
    padding: 0 24px;
}

.kf-form textarea {
    height: 121px;
    padding: 17px 24px;
    resize: vertical;
}

.kf-form input::placeholder,
.kf-form textarea::placeholder {
    color: #a8adb6;
    opacity: 1;
}

.kf-form input:focus,
.kf-form textarea:focus {
    background: #f8faff;
    box-shadow: 0 0 0 2px rgba(221, 107, 32, .18);
}

/* 上传区域 */
.kf-upload {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 11px;
    margin-bottom: 6px;
}

.kf-upload input {
    display: none;
}

/* Upload 按钮 */
.kf-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 154px;
    height: 55px;
    padding: 0 28px;
    border: 1.5px solid #dd6b20;
    border-radius: 999px;
    background: #ffffff;
    color: #000000;
    font-size: 20px;
    cursor: pointer;
    transition: all .25s ease;
}

.kf-upload-btn:hover {
    background: #dd6b20;
    color: #ffffff;
}

#kfFileName {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-all;
}

/* Submit 按钮 */
.kf-submit {
    width: 100%;
    height: 64px;
    border: none;
    border-radius: 10px;
    background: #dd6b20;
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease;
}

.kf-submit:hover {
    background: #c85a14;
}

/* =====================================================
   Tablet + Mobile
===================================================== */
@media(max-width:768px){
    .kf-popup{
        align-items:flex-start;
        padding:18px;
    }

    .kf-popup-box{
        width:100%;
        max-height: calc(100vh - 36px);
        margin-top:10px;
        padding: 26px 20px 22px;
        border-radius:16px;
    }

    .kf-close{
        right:14px;
        top:14px;
        width:34px;
        height:34px;
        font-size:18px;
    }

    .kf-popup-title{
        font-size:22px;
        padding-right:48px;
        margin-bottom:12px;
    }

    .kf-form{
        gap:12px;
    }

    .kf-form input{
        height:55px;
        font-size:18px;
    }

    .kf-form textarea{
        height:120px;
        font-size:18px;
    }

    .kf-submit{
        height:58px;
        font-size:19px;
    }
}

/* =====================================================
   Small Mobile
===================================================== */
@media(max-width:480px){
    .kf-popup{
        padding:24px;
    }

    .kf-popup-box{
        padding: 20px 18px;
        border-radius:18px;
        overflow:visible;
    }

    .kf-close{
        top:12px;
        right:12px;
        width:36px;
        height:36px;
        font-size:18px;
    }

    .kf-popup-title{
        font-size:16px;
        line-height:1.35;
        padding-right:55px;
        margin-bottom:14px;
        white-space:normal;
        word-break:break-word;
    }

    .kf-form input{
        height:40px;
        padding:0 16px;
        font-size:16px;
        border-radius:14px;
    }

    .kf-form textarea{
        height:110px;
        padding:10px 16px;
        font-size:16px;
        border-radius:14px;
    }

    .kf-upload-btn{
        height:42px;
        min-width:120px;
        font-size:17px;
    }

    .kf-submit{
        height:52px;
        font-size:18px;
        border-radius:14px;
    }
}

/* 仅文章页面 移动端强制头部纯白，锁定移动端真实class */
@media (max-width: 921px) {
html body.single-post.ast-theme-site .ast-mobile-header-builder,
html body.single-post.ast-theme-site .ast-mobile-header-builder .ast-header-container,
html body.single-post.ast-theme-site .ast-sticky-header-wrap .ast-header-container,
html body.single-post.ast-theme-site.ast-transparent-header-enabled .ast-header-container {
background-color: #ffffff !important;
}
/* 移动端汉堡菜单svg图标纯黑 */
html body.single-post.ast-theme-site .ast-hamburger-menu .menu-toggle-icon svg {
    fill: #111111 !important;
}
/* 清除底部分割线 */
html body.single-post.ast-theme-site .ast-header-container {
    border-bottom: 1px solid #eeeeee !important;
}
/* 页面底层兜底纯白，防止页面灰色透上来 */
html body.single-post {
    background: #ffffff !important;
}
}

/* 隐藏所有文章页底部的前后导航，按你找到的类名替换即可 */
.post-navigation,
.nav-previous,
.nav-next,
.post-nav,
.single-post-navigation {
    display: none !important;
}
