* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.5;
    background-color: #F5F7FA;
}

.container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding-bottom: 60px;
    background-color: #FFFFFF;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.top-nav {
    width: 100%;
    height: 49px;
    background-color: #4A8DDC;
    position: fixed;
    top: 0;
    z-index: 999;
}

@media (min-width: 769px) {
    body {
        background-color: #f5f7fa;
        padding-bottom: 40px;
    }
    
    .container {
        max-width: 450px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
        position: relative;
    }
    
    /* 添加装饰元素 */
    .container::before,
    .container::after {
        content: "";
        position: absolute;
        width: 100px;
        height: 100px;
        z-index: -1;
        opacity: 0.4;
    }
    
    .container::before {
        background-color: #4A8DDC;
        border-radius: 50%;
        top: -30px;
        left: -50px;
    }
    
    .container::after {
        background-color: #77A9E8;
        border-radius: 50%;
        bottom: -40px;
        right: -60px;
        width: 150px;
        height: 150px;
    }

    .top-nav {
        height: 49px;
        max-width: 450px;
        margin: 0 auto;
        border-radius: 12px 12px 0 0;
        position: relative;
        top: auto;
    }
    
    .top-nav::before {
        content: none;
    }

    .nav-list {
        max-width: 450px;
        margin: 0 auto;
        padding: 0;
        justify-content: center;
    }

    .nav-item {
        flex: 0 1 auto;
        padding: 0 20px;
        font-size: 16px;
        transition: transform 0.3s ease, color 0.3s ease;
    }
    
    .nav-item:hover {
        opacity: 0.8;
        transform: translateY(-2px);
        color: #FFE066;
    }

    .banner {
        margin-top: 0;
        padding-top: 0;
        background-size: auto 100%;
        background-position: center;
    }

    .banner-content {
        max-width: 420px;
        margin: 0 auto;
    }

    .banner-btn button {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .banner-btn button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(51, 112, 184, 0.3);
    }

    .school-types {
        padding: 25px 15px 30px;
        margin: 10px auto;
        max-width: 450px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .school-type-item {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .school-type-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .enrollment-guide,
    .hot-questions {
        padding: 25px 15px;
        max-width: 450px;
        margin: 15px auto;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .guide-buttons {
        max-width: 420px;
        margin: 0 auto;
    }

    .guide-button {
        width: 85%;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .guide-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(74, 141, 220, 0.1);
        opacity: 1;
    }

    .questions-list {
        max-width: 420px;
        margin: 0 auto;
    }

    .more-questions-btn {
        width: 280px;
        max-width: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .more-questions-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(51, 112, 184, 0.3);
        opacity: 1;
    }
    
    /* 滚动到顶部平滑效果 */
    html {
        scroll-behavior: smooth;
    }
    
    /* 美化滚动条 */
    ::-webkit-scrollbar {
        width: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #4A8DDC;
        border-radius: 4px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #3370B8;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }
    
    .top-nav {
        position: fixed;
        top: 0;
    }

    .nav-logo {
        font-size: 16px;
        padding: 0 10px;
    }

    .nav-item {
        font-size: 14px;
    }
    .banner-btn button {
        width: 90%;
    }

    .school-type-item {
        flex-direction: row;
    }

    .school-type-item img {
        width: 137.5px;
        height: 80px;
    }

    .school-type-info {
        padding: 10px 12.5px 10px 20px;
        text-align: left;
    }
    
    .school-type-tags {
        justify-content: flex-start;
    }

    .guide-button {
        width: 85%;
    }
}

.top-nav {
    display: flex;
    align-items: center;
}

.nav-logo {
    padding: 0 15px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    flex: 1;
}

.nav-item {
    flex: 1;
    text-align: center;
    font-size: 16px;
    color: #fff;
    position: relative;
    cursor: pointer;
}

.nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background-color: #fff;
}

/* banner start */
.banner {
    text-align: center;
    background-image: url('../images/3.jpg');
    background-repeat: repeat-x;
    background-size: auto 100%;
    padding: 80px 12.5px 12.5px;
}

.banner-content {
    /* 减小整体内边距 */
    padding: 10px 0;
}

.banner-title {
    font-size: 30px;
    color: #fefefe;
    font-family: "微软雅黑";
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 2.5px;
}

.banner-subtitle {
    font-size: 15px;
    color: #C0DDF5;
    margin-bottom: 3px;
}

.banner-line {
    width: 275px;
    margin: 15.5px auto 8px;
    border-top: solid #3A6BA8 1px;
    border-bottom: solid 1px #5A8BC8;
    position: relative;
    box-shadow: 0 1px 3px rgba(58, 107, 168, 0.3), 0 -1px 3px rgba(90, 139, 200, 0.3);
}

.banner-text-wrapper {
    margin-top: 5px;
    margin-bottom: 10px;
}

.banner-text {
    font-size: 15px;
    font-family: "宋体";
    font-weight: 400;
    color: #fff;
    margin: 2.5px 0;
}

.banner-time {
    margin-top: 15.5px;
    font-size: 15px;
    color: #fff;
}

.banner-time span {
    display: inline-block;
    font-size: 28px;
    width: 62.5px;
    height: 62.5px;
    background-color: white;
    text-align: center;
    border-radius: 4px;
    border: solid 1px #000;
    line-height: 62.5px;
    margin: 0 2.5px;
    color: #333;
}

.banner-triangle div {
    margin: 18.5px auto 12.5px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12.5px solid #cccccc;
}

.banner-btn {
    margin: 0 auto;
    margin-top: 15px;  /* 添加默认上边距 */
}

.banner-btn:first-child {
    margin-top: 10px;  /* 第一个按钮的上边距更小 */
}

.banner-btn button {
    width: 300px;
    height: 45px;
    background: linear-gradient(90deg, #3370B8, #387BCC);
    border-radius: 12px;
    font-size: 15px;
    color: #fff;
    border: none;
    box-shadow: 0 0 2.5px #fff;
    font-weight: normal;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 auto;
}

.fffc40 {
    color: #fffc40;
}

.notice-text {
    font-size: 13px;
    color: #E75316;
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

/* 统一标题样式 */
.school-types-title .title-main,
.guide-title,
.hot-questions-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    color: #333333;
    text-align: center;
}

.title-highlight,
.gold-text {
    color: #DDC373;
}

.title-sub,
.guide-gold-subtitle,
.hot-questions-subtitle {
    font-size: 15px;
    text-align: center;
    margin-top: 5px;
    color: #4A8DDC;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-divider,
.hot-questions-subtitle .line,
.title-sub {
    color: #999999;
}

.divider-text {
    margin: 0 5px;
}

.divider-line {
    margin: 0 5px;
}

/* 院校类型部分 */
.school-types {
    width: 100%;
    padding: 15px 10px 25px;
    box-sizing: border-box;
    background-color: #FFFFFF;
    margin-bottom: 10px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.school-types-title {
    text-align: center;
    margin-bottom: 15px;
    padding: 10px 10px 5px;
}

.school-types-list {
    display: flex;
    flex-direction: column;
    gap: 12.5px;
    margin-top: 15px;
    padding: 0 7.5px;
}

.school-type-item {
    background-color: #EAF3FC;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: none;
    display: flex;
    align-items: center;
    padding: 8px;
    transition: all 0.3s ease;
    min-height: 80px;
    cursor: pointer;
}

.school-type-item:hover {
    transform: scale(0.98);
    box-shadow: none;
}

.school-type-item img {
    width: 137.5px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.school-type-info {
    flex: 1;
    padding: 10px 12.5px 10px 20px;
}

.school-type-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.school-type-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 11px;
    color: #fff;
    background-color: #4A8DDC;
    padding: 2px 8px;
    border-radius: 15px;
}

/* 报考须知部分 */
.enrollment-guide {
    background-color: #FFFFFF;
    padding: 10px 10px 20px;
    margin: 5px 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.guide-header {
    text-align: center;
    margin-bottom: 5px;
    padding: 5px 10px;
}

.guide-content {
    padding: 0 7.5px;
}

.guide-section {
    margin-bottom: 20px;
}

.guide-section-title {
    font-size: 15px;
    color: #7a7979;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12.5px;
}

.guide-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.guide-button {
    width: 85%;
    height: 45px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.guide-button:hover {
    transform: scale(0.98);
    box-shadow: none;
    opacity: 0.8;
}

.white-button {
    color: #4A8DDC;
    background-color: #FFFFFF;
    border: 1px solid #DEE4F0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.white-button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(90deg, #3370B8, #387BCC);
}

.white-button:hover {
    background-color: #F5F8FF;
    border-color: #C0D0E8;
    transform: translateY(1px);
}

.blue-button {
    background: linear-gradient(90deg, #3370B8, #387BCC);
    color: #FFFFFF;
    border: none;
}

/* 热门问题部分 */
.hot-questions {
    margin: 5px;
    padding: 10px;
    background-color: #ffffff;
    margin-bottom: 10px;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.hot-questions-header {
    text-align: center;
    margin-bottom: 5px;
    padding: 5px 10px;
}

.questions-list {
    background-color: #FFFFFF;
    border-radius: 4px;
    padding: 5px 10px;
    box-shadow: none;
    border-top: 1px solid #F5F5F5;
    border-bottom: 1px solid #F5F5F5;
}

.question-row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #F2F2F2;
}

.question-row:last-child {
    border-bottom: none;
}

.question-number {
    width: 20px;
    height: 20px;
    background: #F2F2F2;
    color: #999999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 7.5px;
}

.question-row:nth-child(1) .question-number,
.question-row:nth-child(2) .question-number,
.question-row:nth-child(3) .question-number {
    color: #E05E57;
}

.question-row:nth-child(4) .question-number,
.question-row:nth-child(5) .question-number,
.question-row:nth-child(7) .question-number {
    color: #D3B468;
}

.question-row:nth-child(6) .question-number,
.question-row:nth-child(8) .question-number,
.question-row:nth-child(9) .question-number {
    color: #E089A2;
}

.question-content {
    flex: 1;
    font-size: 14px;
}

.question-tag {
    padding: 2px 5px;
    font-size: 10px;
    border-radius: 3px;
    color: #FFFFFF;
    margin: 0 12.5px 0 7.5px;
}

.hot-tag {
    background-color: #F39D76;
}

.warm-tag {
    background-color: #F0CA73;
}

.new-tag {
    background-color: #F084A6;
}

.question-btn {
    font-size: 13px;
    color: #4A8DDC;
    border: 1px solid #4A8DDC;
    border-radius: 15px;
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.question-btn:hover {
    opacity: 0.8;
    transform: scale(0.98);
}

.blue-button,
.more-questions-btn {
    background: linear-gradient(90deg, #3370B8, #387BCC);
}

.more-questions-btn {
    width: auto;
    max-width: 65%;
    height: 45px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    border-radius: 22.5px;
    margin: 15px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.more-questions-btn:hover {
    opacity: 0.8;
    transform: scale(0.98);
}

.section-divider {
    height: 10px;
    background-color: #F8F8F8;
    width: 100%;
    margin: 0;
}

.copyright {
    text-align: center;
    padding: 15px 0;
    color: #666;
    font-size: 12px;
    background-color: #f8f8f8;
    margin-top: 10px;
}