* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

body {
    background: #f1f5f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 全宽导航条 */
.nav-wrapper {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #d9e5f0;
}

.nav-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.site-logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(145deg, #0f2b4b, #1e4a6f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 1.2rem;
}

    .nav-links a {
        text-decoration: none;
        color: #1f4a73;
        font-weight: 500;
        font-size: 1rem;
        padding: 0.3rem 0;
        border-bottom: 2px solid transparent;
        transition: 0.1s;
    }

        .nav-links a:hover {
            border-bottom-color: #1f4a73;
            color: #0a2b44;
        }

.nav-right {
    display: flex;
    gap: 1.2rem;
}

    .nav-right a {
        text-decoration: none;
        color: #1f4a73;
        font-weight: 500;
        font-size: 1rem;
        padding: 0.3rem 0.6rem;
        border-radius: 30px;
        transition: 0.1s;
    }

        .nav-right a:hover {
            background: #dbeafe;
        }

/* 主内容容器 */
.main-wrapper {
    max-width: 1300px;
    width: 100%;
    padding: 0 1rem 2rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 搜索行 */
.search-row {
    display: flex;
    align-items: center;
    max-width: 800px;
    width: 100%;
    margin: 1.5rem auto 2rem auto;
    background: #ffffff;
    border-radius: 60px;
    border: 1px solid #d4e2f0;
    box-shadow: 0 4px 10px rgba(0, 20, 30, 0.04);
    transition: 0.15s;
}

    .search-row:focus-within {
        border-color: #7ca9d9;
        box-shadow: 0 0 0 3px rgba(46, 115, 182, 0.15);
    }

    .search-row input {
        flex: 1;
        background: transparent;
        border: none;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        color: #1f3d5c;
        outline: none;
    }

        .search-row input::placeholder {
            color: #7f9bb9;
            font-weight: 400;
        }

    .search-row button {
        background: transparent;
        border: none;
        padding: 0 1.8rem 0 0.8rem;
        font-size: 1.1rem;
        font-weight: 500;
        color: #336699;
        cursor: pointer;
        transition: color 0.1s;
        white-space: nowrap;
    }

        .search-row button:hover {
            color: #0a2d4e;
        }

/* 试卷详情卡片 */
.paper-detail-card {
    background: white;
    border-radius: 32px;
    padding: 2rem 2.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    border: 1px solid #e2edf7;
    margin-bottom: 2rem;
}

.paper-header {
    border-bottom: 2px dashed #d4e2f0;
    padding-bottom: 1.5rem;
    margin-bottom: 1.8rem;
}

.paper-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #103a5c;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.paper-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    color: #4f6f8f;
    font-size: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-info {
    background: #e6f0fa;
    padding: 0.2rem 1rem;
    border-radius: 40px;
    font-size: 0.9rem;
    color: #1e4e7a;
}

.paper-content {
    color: #1f3b59;
    line-height: 1.7;
}

.question-section {
    margin-top: 2rem;
}
    .question-section img {
        /* 核心：横向集中（水平居中） */
        display: block;
        margin: 0 auto; /* 左右auto实现水平居中，上下间距设为0（可按需调整） */
        /* 核心：超宽时等比例缩小 */
        max-width: 100%; /* 图片宽度不超过父容器的100% */
        height: auto; /* 高度自动按比例缩放，保证不变形 */
    }

    /* 可选：给图片加少量上下间距，避免和文字紧贴（如需可保留，不需要则删除） */
    .question-section img {
        margin: 10px auto;
    }

.question-item {
    background: #f9fcff;
    border-radius: 24px;
    padding: 1.3rem 1.8rem;
    margin-bottom: 1.2rem;
    border: 1px solid #e2edf7;
}

.question-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #1f4a73;
}

.question-options {
    list-style: none;
    margin-left: 1rem;
}

    .question-options li {
        margin-bottom: 0.4rem;
        color: #2c577d;
    }

.action-buttons {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.btn {
    background: #e6f0fa;
    border: none;
    padding: 0.8rem 2.2rem;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 500;
    color: #0a3e66;
    cursor: pointer;
    transition: 0.1s;
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #1d4e7c;
    color: white;
}

    .btn-primary:hover {
        background: #0f3a5c;
    }

.btn:hover {
    background: #c6dfff;
    border-color: #7ea6cc;
}

/* 底部 */
.footer-wrapper {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #d9e5f0;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    text-align: center;
    color: #5e6f88;
    font-size: 0.9rem;
}

    .footer-inner a {
        color: #1f4a73;
        text-decoration: none;
    }

        .footer-inner a:hover {
            text-decoration: underline;
        }

@media (max-width: 700px) {
    .nav-left {
        gap: 1rem;
    }

    .site-logo {
        font-size: 1.6rem;
    }

    .nav-links {
        gap: 0.8rem;
    }
}

@media (max-width: 600px) {
    .nav-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .paper-detail-card {
        padding: 0.8rem;
    }

    .paper-title {
        font-size: 1.8rem;
    }
    .main-wrapper{
        padding:0;
    }
}

/*按钮样式start*/
.lqwvjeButton {
    background-color: #fbfbfb;
    padding: 10px;
    position: relative;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    text-decoration: none;
    color: #000;
    border: solid 1px #dce0e5;
    background-image: linear-gradient(bottom, rgb(171,27,27) 0%, rgb(212,51,51) 100%);
    border-radius: 5px;
    cursor: pointer;
    box-shadow: darkgrey 2px 2px 6px 1px;
    -moz-user-select: none; /*火狐*/
    -webkit-user-select: none; /*webkit浏览器*/
    -ms-user-select: none; /*IE10*/
    -khtml-user-select: none; /*早期浏览器*/
    user-select: none;
    font-weight: 900;
    border-radius: 10px;
}

    .lqwvjeButton:hover {
        background-color: #f5f5f5;
        text-decoration: none;
    }

button:focus {
    outline: none;
}

.lqwvjeButton:active {
    padding-bottom: 9px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 11px;
    top: 1px;
    background-image: linear-gradient(bottom, rgb(171,27,27) 100%, rgb(212,51,51) 0%);
}

.lqwvjeButton::before {
    background-color: #ccd0d5;
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 8px;
    left: -8px;
    top: -8px;
    z-index: -1;
    border-radius: 5px;
    box-shadow: inset 0px 1px 1px #909193, 0px 1px 0px #fff;
}
/*按钮样式End*/



/**微信支付弹窗start*/
.bg {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .6);
    display: none;
    z-index: 9999;
}

.popup {
    width: 260px;
    height: 320px;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* border-radius: 15px; */
}

    .popup .close {
        width: 30px;
        height: 30px;
        line-height: 25px;
        text-align: center;
        position: absolute;
        top: 0px;
        right: 0px;
        border: 1px solid #999;
        /* border-radius: 50%; */
        color: #999;
    }

.container1 {
    display: flex;
    /* 垂直居中 */
    align-items: center;
    /* 水平居中，如需要 */
    justify-content: center;
}
/**微信支付弹窗end*/