/* 中科校园页面样式 */

/* 页面标题区域 */
.page-title {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 200px 0 100px;
    color: white;
    text-align: center;
}

.page-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.page-title h1 {
    position: relative;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-title .breadcrumb {
    position: relative;
    background: transparent;
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.page-title .breadcrumb-item, 
.page-title .breadcrumb-item a {
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
}

.page-title .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* 内容区域通用样式 */
.section-padding {
    padding: 80px 0;
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.content-wrapper section:nth-child(odd) {
    background-color: white;
}

.content-wrapper section:nth-child(even) {
    background-color: var(--light-color);
}

/* 活动卡片样式 */
.activity-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.activity-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.activity-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-img-container img {
    transform: scale(1.1);
}

.activity-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.activity-content {
    padding: 20px;
}

.activity-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.activity-text {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.activity-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 0.85rem;
}

/* 社团卡片样式 */
.club-card {
    background-color: white;
    border-radius: 5px;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.club-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.club-img-container {
    height: auto;
    max-height: 200px;
    overflow: hidden;
    position: relative;
    display: block;
}

.club-img-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.club-logo {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 15px;
    box-shadow: none;
    margin: 0;
}

.club-logo i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.club-content {
    padding: 15px;
    text-align: left;
}

.club-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.club-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.club-stats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
    width: 100%;
}

.club-stat {
    text-align: center;
    flex: 1;
    padding: 0 5px;
}

.club-stat-number {
    font-weight: 700;
    color: #444;
    font-size: 1rem;
    display: block;
    margin-bottom: 3px;
}

.club-stat-label {
    font-size: 0.75rem;
    color: #999;
    display: block;
}

.club-card .btn-outline-primary {
    border-radius: 3px;
    font-size: 0.8rem;
    padding: 0.25rem 1rem;
    border-width: 1px;
    margin-top: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.club-card .btn-outline-primary:hover {
    background-color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 学生作品卡片样式 */
.work-card {
    background-color: white;
    border-radius: 5px;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.work-img-container {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.work-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.work-card:hover .work-img-container img {
    transform: scale(1.05);
}

.work-content {
    padding: 15px;
}

.work-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.3;
}

.work-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.work-info {
    display: flex;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 5px;
    align-items: center;
}

.work-info i {
    margin-right: 5px;
    color: #666;
    font-size: 0.9rem;
}

.work-info span {
    font-weight: 500;
    color: #555;
}

.work-footer {
    padding: 10px 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.work-date {
    font-size: 0.8rem;
    color: #999;
}

.work-views {
    font-size: 0.8rem;
    color: #999;
}

.work-views i {
    margin-right: 3px;
}

/* 校园管理样式 */
.management-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.management-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.management-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    margin-bottom: 20px;
}

.management-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.management-content {
    padding: 25px;
}

.management-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.management-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .page-title {
        padding: 180px 0 80px;
    }
    
    .page-title h1 {
        font-size: 2.5rem;
    }

    .activity-img-container {
        height: 200px;
    }
    
    .student-work-card {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .page-title {
        padding: 150px 0 60px;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .page-title .breadcrumb-item, 
    .page-title .breadcrumb-item a {
        font-size: 0.9rem;
    }
    
    .activity-img-container {
        height: 180px;
    }
    
    .activity-title {
        font-size: 1.1rem;
    }
    
    .club-logo {
        width: 50px;
        height: 50px;
        top: 15px;
        margin: 0;
    }
    
    .club-logo i {
        font-size: 1.5rem;
    }
    
    .student-work-card {
        height: 250px;
    }
    
    .student-work-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .page-title {
        padding: 140px 0 50px;
    }
    
    .page-title h1 {
        font-size: 1.7rem;
    }
    
    .club-stat-number {
        font-size: 1rem;
    }
    
    .club-stat-label {
        font-size: 0.7rem;
    }
} 