/* ==================== 主体内容区 ==================== */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.main-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    /* background-color: #fff; */
    /* border-radius: 8px;
    padding: 24px; */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); */
}

/* ==================== 左侧文章区 ==================== */
.article-section {
    flex: 1;
    min-width: 0;
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
}

.article-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #222;
    line-height: 1.5;
    margin-bottom: 17px;
    margin-top: 0;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 16px;
    font-size: 13px;
    color: #999;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.article-meta .meta-item {
    color: #a7a7a7;
}

.article-meta .date {
    color: #a7a7a7;
}

.article-meta .source {
    color: #a7a7a7;
}

.article-meta .author {
    color: #a7a7a7;
}

/* ==================== 信息卡片 ==================== */
.info-card {
    background-color: #f5f8fc;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.info-card-left {
    flex-shrink: 0;
    display: block;
}

.info-card-img {
    display: block;
}

.info-card-right {
    flex: 1;
    min-width: 280px;
}

.info-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.info-feature-list li {
    color: #393F4A;
    position: relative;
    padding-left: 16px;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
}

.info-feature-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 6px;
    height: 6px;
    background-color: #2a7de1;
    transform: rotate(45deg);
}

/* 底部CTA图片链接 */
.cta-banner {
    display: block;
    margin: 24px 0;
    border-radius: 8px;
    overflow: hidden;
}

.cta-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

/* 免责声明 */
.disclaimer {
    background-color: #FAFAFA;
    border: none;
    border-radius: 4px;
    padding: 16px;
    margin-top: 24px;
    font-size: 14px;
    color: #949698;
    line-height: 1.8;
    position: relative;
}

.disclaimer-title {
    font-size: 15px;
    font-weight: 600;
    color: #E61313;
    margin-bottom: 10px;
    padding: 0;
    position: static;
    display: block;
}

.disclaimer-title::before {
    display: none;
}

.disclaimer p {
    text-indent: 0 !important;
    margin-bottom: 8px;
}

.disclaimer p:last-child {
    margin-bottom: 0;
}

/* ==================== 右侧边栏 ==================== */
.sidebar {
    width: 334px;
    flex-shrink: 0;
}

/* 侧边栏查询图片链接 */
.sidebar-query-banner {
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-query-img {
    display: block;
    width: 100%;
    height: auto;
}

/* 考试日历 */
.exam-calendar {
    background-color: #fff8f0;
    background-image: url('../img/exam-calendar-badge.jpg');
    background-repeat: no-repeat;
    background-position: right 12px top -16px;
    background-size: 64px auto;
    border-radius: 8px;
    padding: 16px 20px 20px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #ffe8d0;
}

.exam-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ffd9b3;
}

.exam-calendar-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.exam-calendar-more {
    font-size: 13px;
    color: #999;
    text-decoration: none;
}

.exam-calendar-more:hover {
    color: #ff8c00;
}

.exam-calendar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exam-calendar-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

.exam-calendar-list li:last-child {
    margin-bottom: 0;
}

.exam-calendar-list li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 7px;
    width: 6px;
    height: 6px;
    background-color: #ff7f24;
    border-radius: 50%;
    z-index: 2;
}

.exam-calendar-list li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 13px;
    bottom: -10px;
    width: 2px;
    background-color: #ffd9b3;
    z-index: 1;
}

.exam-calendar-list li:last-child::after {
    display: none;
}

.calendar-label {
    color: #ff7f24;
    font-weight: 500;
}

.calendar-value {
    color: #555;
}

/* 侧边栏卡片 */
.sidebar-card {
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.blue-card {
    background-color: #2a7de1;
    color: #fff;
}

.sidebar-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.sidebar-card-desc {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.sidebar-card-btn {
    background-color: #fff;
    color: #2a7de1;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* 侧边栏区块 */
.sidebar-section {
    margin-bottom: 16px;
    border-bottom: 1px dashed #eee;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px 20px 24px;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #101010;
}

.more-link {
    font-size: 15px;
    color: #666;
}

.more-link:hover {
    color: #2a7de1;
}

/* 新闻列表 */
.news-list li {
    position: relative;
    padding-left: 14px !important;
    margin-bottom: 16px;
}

.news-list li::before {
    content: "●";
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 6px;
    line-height: 1;
}


.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    display: block;
    font-size: 14px;
    color: #666666;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-list a:hover {
    color: #2a7de1;
}

.news-tag {
    display: inline-block;
    padding: 1px 6px;
    background-color: #eaf2fd;
    color: #2a7de1;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
}

/* 下载列表 */
.download-list li {
    padding: 16px 0;
    border-bottom: 1px dotted #eee;
}

.download-list li:last-child {
    border-bottom: none;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

.download-item:hover {
    color: #2a7de1;
}

.download-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
}

.download-icon.pdf {
    background-color: #e74c3c;
}

.download-icon.doc {
    background-color: #3498db;
}

.download-icon.xls {
    background-color: #27ae60;
}

.download-icon.txt {
    background-color: #95a5a6;
}

.download-icon.pintuan {
    background-color: #95a5a6;
}

.download-icon.default {
    background-color: #95a5a6;
}

.download-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.download-btn {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #2a7de1;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
}

/* 真题列表 */
.exam-list li {
    padding: 12px 0;
    border-bottom: 1px dotted #eee;
}

.exam-list li:last-child {
    border-bottom: none;
}

.exam-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.exam-content {
    flex: 1;
    min-width: 0;
}

.exam-title {
    font-size: 15px;
    color: #393F4A;
    line-height: 1.4;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exam-item:hover .exam-title {
    color: #2D6CDE;
}

.exam-meta {
    font-size: 12px;
    color: #949698;
    line-height: 1.4;
}

.exam-item:hover .exam-btn {
    color: #fff;
    background-color: #2D6CDE;
}

.exam-btn {
    flex-shrink: 0;
    display: inline-block;
    padding: 2px 16px;
    border: 1px solid #2D6CDE;
    background-color: #fff;
    color: #2D6CDE;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.4;
}

/* 课程卡片 */
.course-card {
    padding: 12px 12px 16px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background-color: #F4F5F8;
}

.course-img-link {
    display: block;
}

.course-img {
    display: block;
    width: 100px;
    height: auto;
}

.course-info {
    margin-top: 16px;
}

.course-title {
    font-size: 16px;
    color: #393F4A;
    margin-bottom: 18px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card:hover .course-title {
    color: #2a7de1;
}

.course-tag {
    display: inline-block;
    padding: 2px 8px;
    color: #C57412;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.4;
    background-color: #F9EDE1;
}

.course-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-subtitle {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: #949698;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.course-hot {
    flex-shrink: 0;
    font-size: 13px;
    color: #FB7B6D;
    margin-left: 10px;
}

/* ==================== 短信预约提醒 ==================== */
.sms-reminder {
    display: block;
    padding: 24px;
    margin-bottom: 16px;
    background-color: #f7f9fc;
    border-radius: 8px;
}

.sms-reminder-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.sms-reminder-icon {
    font-size: 22px;
    color: #707070;
    flex-shrink: 0;
}

.sms-reminder-content {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 20px;
}

.sms-reminder-title {
    font-size: 16px;
    font-weight: 600;
    color: #101010;
}

.sms-reminder-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.4;
}

.sms-reminder-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.form-item {
    min-width: 0;
}

.form-item-code {
    display: contents;
}

.form-item-code .code-input {
    width: 100%;
}

.form-select,
.form-input {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
    outline: none;
}

.form-select:focus,
.form-input:focus {
    border-color: #2a7de1;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23999'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
    cursor: pointer;
}

.form-input::placeholder {
    color: #bbb;
}

.btn-get-code {
    flex-shrink: 0;
    height: 38px;
    padding: 0 16px;
    border: 1px solid #2a7de1;
    border-radius: 4px;
    background-color: #fff;
    color: #2a7de1;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-get-code:hover {
    background-color: #f0f7ff;
}

.btn-submit {
    flex-shrink: 0;
    height: 38px;
    padding: 0 24px;
    border: none;
    border-radius: 4px;
    background-color: #2a7de1;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.btn-submit:hover {
    background-color: #1a6bc9;
}

.sms-reminder-tip {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}





/* ==================== 响应式 ==================== */
@media (max-width: 900px) {

    .n {
        display: none;
    }

    .download-title {
        font-size: 15px;
        color: #393F4A;
    }

    /* 隐藏元素 */
    .cta-banner {
        display: none;
    }

    .disclaimer {
        display: none;
    }

    .mobile-menu-drawer {
        display: block;
    }

    /* 短信预约提醒 */
    .sms-reminder {
        display: block;
        padding: 16px;
        margin: 0 0 20px 0;
    }

    .sms-reminder-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 12px;
        gap: 6px;
    }

    .sms-reminder-icon {
        font-size: 24px;
    }

    .sms-reminder-title {
        font-size: 15px;
        margin-bottom: 0;
    }

    .sms-reminder-desc {
        font-size: 12px;
    }

    .sms-reminder-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    .sms-reminder-form .form-item {
        width: 100%;
    }

    .sms-reminder-form .form-item-code {
        position: relative;
        display: flex;
    }

    .sms-reminder-form .form-item-code .code-input {
        flex: 1;
        padding-right: 170px;
    }

    .sms-reminder-form .btn-get-code {
        position: absolute;
        right: 70px;
        top: 1px;
        height: 36px;
        padding: 0 10px;
        font-size: 12px;
        border-radius: 0;
        z-index: 2;
        border-top: none;
        border-bottom: none;
        border-right: none;
        border-left: 1px solid #2a7de1;
    }

    .sms-reminder-form .btn-submit {
        position: absolute;
        right: 1px;
        top: 1px;
        height: 36px;
        width: 68px;
        padding: 0;
        margin: 0;
        font-size: 13px;
        border-radius: 0 3px 3px 0;
        z-index: 2;
    }

    .sms-reminder-tip {
        display: block;
        font-size: 12px;
        color: #999;
        text-align: center;
        line-height: 1.5;
    }

    /* 主体调整 */
    body {
        padding-bottom: 20px;
    }

    .main-wrapper {
        padding: 0;
    }

    .main-content {
        flex-direction: column;
        /* padding: 16px; */
        gap: 0;
        box-shadow: none;
    }

    .sidebar {
        width: 100%;
        order: 2;
    }

    .article-section {
        order: 1;
        padding: 20px 16px 20px !important;
    }

    /* 信息卡片 - 移动端隐藏 */
    .info-card {
        display: none;
    }

    /* 文章标题 */
    .article-title {
        font-size: 22px;
        line-height: 1.5;
        margin-bottom: 20px;
        text-align: left;
    }

    .article-meta {
        font-size: 13px;
        padding-bottom: 0;
        border: 0;
        margin-bottom: 20px;
    }

    .meta-left {
        gap: 12px;
        flex-wrap: wrap;
    }

    .share-row {
        display: none;
    }

    /* 侧边栏查询图片 - 移动端隐藏 */
    .sidebar-query-banner {
        display: none;
    }

    /* 侧边栏调整 */
    .sidebar-section {
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .sidebar-title {
        font-size: 18px;
    }

    .course-card {
        display: block;
    }

    .course-img-link {
        width: 200px;
    }

    .course-img {
        width: 200px;
        height: auto;
        object-fit: cover;
    }

    .course-info {
        padding: 10px 12px 12px;
    }

    .course-title {
        font-size: 14px;
        margin-bottom: 8px;
        min-height: auto;
        -webkit-line-clamp: 2;
    }

    .course-tag {
        font-size: 12px;
        padding: 2px 8px;
        margin-bottom: 8px;
    }

    .course-bottom {
        font-size: 12px;
    }

    .course-subtitle {
        font-size: 12px;
    }

    .course-hot {
        font-size: 12px;
    }

    /* 精品课程横向滚动 */
    .course-scroll {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .course-scroll::-webkit-scrollbar {
        display: none;
    }

    .course-scroll .course-card {
        flex-shrink: 0;
        width: 60%;
        margin-bottom: 0;
    }
}

@media (max-width: 1200px) and (min-width: 901px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}