/* 详情页全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #f8f9fa 100%);
    min-height: 100vh;
    color: #333;
}

/* 头部样式（与首页相同） */
header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    box-shadow: 0 1px 3px rgba(102, 126, 234, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo-text h1 {
    font-size: 20px;
    color: #667eea;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #667eea;
}

/* 详情页主要内容 */
.detail-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* 面包屑导航 */
.breadcrumb {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(102, 126, 234, 0.08);
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #764ba2;
}

.breadcrumb i {
    color: #ccc;
    font-size: 12px;
}

.breadcrumb span {
    color: #666;
}

/* 详情卡片 */
.detail-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
    margin-bottom: 20px;
}

.detail-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #fafbff 100%);
    color: #333;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e8e8e8;
}

.school-name {
    font-size: 28px;
    font-weight: 700;
}

.province-badge-large {
    padding: 8px 20px;
    background: linear-gradient(135deg, #e8e8e8 0%, #f0f0f0 100%);
    color: #666;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.detail-content {
    padding: 30px;
}

.detail-row {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.detail-label {
    width: 150px;
    font-weight: 600;
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.detail-label i {
    width: 20px;
    text-align: center;
}

.detail-value {
    flex: 1;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.detail-footer {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fafbff 100%);
    display: flex;
    gap: 15px;
    justify-content: center;
    border-top: 1px solid #e8e8e8;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #7c83f0 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
}

.download-btn:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6b74e8 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #667eea;
    text-decoration: none;
    border: 1px solid #667eea;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
}

.back-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #7c83f0 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.2);
}

/* 说明板块 */
.notice-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.1);
}



.notice-icon i {
    color: white;
    font-size: 22px;
}

.notice-content h4 {
    color: #667eea;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.notice-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.notice-content p i {
    color: #667eea;
    font-size: 14px;
}

/* 人工服务板块 */
.service-section {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    border-left: 4px solid #ff9800;
    box-shadow: 0 2px 12px rgba(255, 152, 0, 0.15);
}

.service-section .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-section .service-icon i {
    color: white;
    font-size: 24px;
}

.service-section .service-content {
    flex: 1;
}

.service-section .service-content h4 {
    color: #e65100;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-section .service-content p {
    color: #5d4037;
    line-height: 1.6;
    margin-bottom: 10px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.service-features li {
    color: #5d4037;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-features li i {
    color: #4caf50;
}

.service-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    white-space: nowrap;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
    color: white;
}

/* 相关学校 */
.related-schools {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
}

.related-schools h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-schools h3 i {
    color: #667eea;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.related-item {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fafbff 100%);
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 1px solid #e8e8e8;
}

.related-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.15);
}

.related-name {
    font-weight: 600;
    font-size: 16px;
    color: #667eea;
    margin-bottom: 8px;
}

.related-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.no-related {
    color: #999;
    text-align: center;
    padding: 30px;
    grid-column: 1 / -1;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    margin-top: 40px;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #e8e8e8;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    color: #666;
}

.footer-content p {
    margin: 8px 0;
}

.footer-content a {
    color: #667eea;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .notice-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .notice-icon {
        margin: 0 auto 10px;
    }

    .notice-content p {
        justify-content: center;
    }

    .service-section {
        flex-direction: column;
        text-align: center;
    }

    .service-features {
        justify-content: center;
    }

    .service-features li {
        justify-content: center;
    }

    nav ul {
        gap: 15px;
    }

    .detail-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .school-name {
        font-size: 22px;
    }

    .detail-row {
        flex-direction: column;
        gap: 8px;
    }

    .detail-label {
        width: 100%;
    }

    .detail-footer {
        flex-direction: column;
    }

    .download-btn,
    .back-btn {
        width: 100%;
        justify-content: center;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
