/* 资源中心页面特有样式 */

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
}

.breadcrumb li {
    margin: 0 0.5rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 资源分类 */
.resources-categories {
    background: white;
    padding: 2rem 0;
    margin-bottom: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.categories-list {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-item a {
    padding: 1rem 2rem;
    background: #f8f9fa;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
}

.category-item a:hover,
.category-item a.active {
    background: #0066cc;
    color: white;
}

/* 资源列表 */
.resources-list {
    margin-bottom: 4rem;
}

.resource-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-3px);
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
    color: #0066cc;
}

.resource-content {
    flex: 1;
}

.resource-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.resource-meta {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.resource-meta span {
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.resource-meta span:before {
    margin-right: 0.5rem;
}

.resource-type:before {
    content: "📄";
}

.resource-size:before {
    content: "💾";
}

.resource-date:before {
    content: "📅";
}

.resource-download {
    margin-left: 1rem;
}

/* 资质展示 */
.certificates-section {
    background: #f0f7ff;
    padding: 4rem 0;
    margin-top: 4rem;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.certificate-item {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
}

.certificate-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #0066cc;
}

.certificate-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.certificate-item p {
    color: #666;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .categories-list {
        flex-direction: column;
        align-items: center;
    }

    .category-item {
        width: 100%;
        text-align: center;
    }

    .category-item a {
        border-radius: 5px;
    }

    .resource-item {
        flex-direction: column;
        text-align: center;
    }

    .resource-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .resource-meta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .resource-download {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }

    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}