/* 大学夏校卡片样式 */
.university-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.university-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #eee;
}

.university-header {
    background: #2a4b8d;
    color: white;
    padding: 18px 22px;
    text-align: center;
}

.university-name-en {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.university-name-zh {
    font-size: 18px;
    font-weight: 700;
}

.university-badge.high {
    background: #a46a0c;
}

.university-badge.medium {
    background: #39b54a;
}

.university-content {
    padding: 24px;
}

.university-content .detail-row {
    margin-bottom: 14px;
    font-size: 15px;
    color: #222;
    line-height: 1.6;
}

.university-content .detail-row strong {
    color: #222;
}

.university-content .section-title {
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    font-size: 15px;
}

.university-content ul {
    padding-left: 20px;
    margin: 0;
    color: #444;
    font-size: 14px;
    line-height: 1.7;
}

.university-content .section {
    margin-top: 20px;
}

.university-more-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin-top: 16px;
    margin-bottom: 16px;
    background: transparent;
    border: 2px solid #2a4b8d;
    color: #2a4b8d;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.university-more-btn:hover {
    background: #2a4b8d;
    color: white;
}

.university-more-btn.active {
    background: #2a4b8d;
    color: white;
}

.university-detail {
    display: none;
    animation: fadeIn 0.3s ease;
}

.university-detail .section {
    margin-top: 16px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 申请建议卡片 */
.advice-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px 30px;
    margin-top: 50px;
    border-left: 5px solid #2a4b8d;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.advice-card h3 {
    margin-top: 0;
    font-size: 18px;
    color: #222;
}

.advice-card ul {
    padding-left: 22px;
    color: #444;
    line-height: 1.8;
    font-size: 15px;
}

/* CTA 区域 */
.cta-section {
    background: #eef5ff;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.cta-section h3 {
    margin-top: 0;
    font-size: 20px;
    color: #222;
}

.cta-section p {
    color: #444;
    line-height: 1.7;
    font-size: 15px;
}

.cta-section ul {
    padding-left: 0;
    list-style: none;
    color: #333;
    line-height: 1.9;
    font-size: 15px;
    margin: 16px 0 24px;
}

.cta-section .btn {
    display: inline-block;
    background: #2a4b8d;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

/* 页面区域样式 */
.section-summer {
    background-color: #f9f9fb;
    padding: 60px 0;
}

.section-summer .content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.section-summer h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.section-summer .subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

.summer-card,
.summer-card p,
.summer-card strong,
.summer-card li,
.detail-item {
    color: #000000 !important;
}

.footer a {
    color: #eee !important;
    font-weight: 500;
    text-decoration: none;
}

.footer a:hover {
    color: #fff !important;
}

/* 确保底部横幅样式不被覆盖 */
.footer-banner {
    background: linear-gradient(135deg, #dc143c 0%, #c01030 100%) !important;
    padding: 15px 0 !important;
}

.footer-banner .banner-btn {
    background: white !important;
    color: #dc143c !important;
    padding: 10px 25px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
}

.footer-banner .banner-btn:hover {
    background: #f5f5f5 !important;
    color: #dc143c !important;
}

@media (max-width: 768px) {
    .program-grid {
        display: block !important;
    }

    .program-card,
    .program-card.featured {
        margin-bottom: 8px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
        border: 1px solid #eee !important;
        cursor: pointer !important;
    }

    .program-card .program-logo,
    .program-card.featured .program-logo {
        display: none !important;
    }

    .program-card .program-badge,
    .program-card.featured .program-badge {
        display: none !important;
    }

    .program-card h4,
    .program-card.featured h4 {
        padding: 14px 16px !important;
        margin: 0 !important;
        background: linear-gradient(135deg, #2a4b8d, #3b5998) !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
    }

    .program-card h4::after,
    .program-card.featured h4::after {
        content: '▼' !important;
        font-size: 10px !important;
        transition: transform 0.3s ease !important;
        color: rgba(255,255,255,0.8) !important;
    }

    .program-card.expanded h4::after,
    .program-card.featured.expanded h4::after {
        transform: rotate(180deg) !important;
    }

    .program-card .program-details,
    .program-card.featured .program-details {
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
        padding: 0 16px !important;
        background: #fff !important;
    }

    .program-card.expanded .program-details,
    .program-card.featured.expanded .program-details {
        max-height: 500px !important;
        padding: 16px !important;
        border-top: 1px solid #f0f0f0 !important;
    }

    .program-card .program-details p,
    .program-card.featured .program-details p {
        font-size: 13px !important;
        line-height: 1.6 !important;
        color: #444 !important;
        margin: 8px 0 !important;
    }

    .program-card .program-details strong,
    .program-card.featured .program-details strong {
        color: #222 !important;
    }
}