/* Common styles shared across team, projects, and publications pages */

body {
    padding-top: 80px;
}

/* Page Header Styles */
.page-header,
.team-header,
.projects-header,
.publications-header {
    text-align: center;
    max-width: 1200px;
    margin: 3rem auto 4rem;
    padding: 0 2rem;
}

.page-header h1,
.team-header h1,
.projects-header h1,
.publications-header h1 {
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-header p,
.team-header p,
.projects-header p,
.publications-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Container Styles */
.page-container,
.team-container,
.projects-container,
.publications-container {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 3rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--accent-gold);
}

.back-link i {
    transition: transform 0.3s;
}

.back-link:hover i {
    transform: translateX(-5px);
}

/* Section/Category Titles */
.section-title,
.category-title,
.year-title {
    font-size: 2rem;
    color: var(--accent-red);
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-red);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title i,
.category-title i,
.year-title i {
    font-size: 1.5rem;
}

/* Section/Category Container */
.team-section,
.project-category,
.year-section {
    margin-bottom: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1,
    .team-header h1,
    .projects-header h1,
    .publications-header h1 {
        font-size: 2rem;
    }

    .page-header p,
    .team-header p,
    .projects-header p,
    .publications-header p {
        font-size: 1rem;
    }

    .section-title,
    .category-title,
    .year-title {
        font-size: 1.5rem;
    }
}
