/* 校招干货模块专用样式 */

.xiaohongshu-section {
    padding: 80px 0;
    background-color: #f5f5f7;
}

.xiaohongshu-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.xiaohongshu-header {
    text-align: center;
    margin-bottom: 50px;
}

.xiaohongshu-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 15px;
}

.xiaohongshu-header p {
    font-size: 1.1rem;
    color: #86868b;
    max-width: 700px;
    margin: 0 auto;
}

/* 校招干货账号卡片 */
.xiaohongshu-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
}

.xiaohongshu-banner {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    padding: 30px;
    color: white;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.xiaohongshu-logo {
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    overflow: hidden;
}

.xiaohongshu-logo svg,
.xiaohongshu-logo .xhs-icon-placeholder {
    width: 40px;
    height: 40px;
    color: #8B5CF6;
}

.xiaohongshu-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.xiaohongshu-profile {
    flex: 1;
}

.xiaohongshu-profile h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.xiaohongshu-profile p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.xiaohongshu-follow {
    background-color: white;
    color: #8B5CF6;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: auto;
}

.xiaohongshu-follow:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.xiaohongshu-follow i,
.xiaohongshu-follow svg {
    margin-right: 8px;
}

.xiaohongshu-content {
    padding: 30px;
}

/* 分类导航 */
.xiaohongshu-categories {
    display: flex;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: #d1d1d6 transparent;
}

.xiaohongshu-categories::-webkit-scrollbar {
    height: 4px;
}

.xiaohongshu-categories::-webkit-scrollbar-track {
    background: transparent;
}

.xiaohongshu-categories::-webkit-scrollbar-thumb {
    background-color: #d1d1d6;
    border-radius: 20px;
}

.xiaohongshu-category {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    margin-right: 15px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    color: #86868b;
    border: 1px solid transparent;
}

.xiaohongshu-category:hover {
    color: #1d1d1f;
}

.xiaohongshu-category.active {
    background-color: #8B5CF6;
    color: white;
    border-color: #8B5CF6;
}

.xiaohongshu-category i,
.xiaohongshu-category svg {
    margin-right: 6px;
    font-size: 1rem;
}

/* 文章内容 */
.xiaohongshu-articles {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.xiaohongshu-articles.active {
    display: grid;
}

.xiaohongshu-article {
    background-color: #f5f5f7;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.xiaohongshu-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    background-color: #fff;
}

.article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.article-tag {
    background-color: #8B5CF6;
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 10px;
}

.article-date {
    font-size: 0.8rem;
    color: #86868b;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #1d1d1f;
}

.article-excerpt {
    font-size: 0.9rem;
    color: #86868b;
    margin-bottom: 15px;
    line-height: 1.5;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #86868b;
}

.article-stats {
    display: flex;
}

.article-stat {
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.article-stat i,
.article-stat svg {
    margin-right: 4px;
}

.read-more {
    color: #8B5CF6;
    font-weight: 500;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* 查看更多按钮 */
.xiaohongshu-more {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-more {
    padding: 12px 30px;
    background-color: transparent;
    color: #1d1d1f;
    border: 1px solid #d1d1d6;
    border-radius: 50px;
    display: flex;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background-color: #f5f5f7;
    border-color: #a1a1a6;
    transform: translateY(-2px);
}

.btn-more i,
.btn-more svg {
    margin-left: 8px;
    transition: all 0.3s ease;
    color: #8B5CF6;
}

.btn-more:hover i,
.btn-more:hover svg {
    transform: translateX(3px);
    color: #7c4ef4;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .xiaohongshu-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .xiaohongshu-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .xiaohongshu-profile {
        margin-bottom: 20px;
    }
    
    .xiaohongshu-follow {
        margin-left: 0;
    }
    
    .xiaohongshu-articles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .xiaohongshu-header h2 {
        font-size: 2rem;
    }
    
    .xiaohongshu-content {
        padding: 20px;
    }
    
    .xiaohongshu-category {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* 校招干货图标 - 内联SVG备用 */
.xhs-icon-placeholder {
    width: 40px;
    height: 40px;
    color: #8B5CF6;
} 