/* =========================================
   Academic Portfolio - Custom Styles
   ========================================= */

/* Typography */
body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    color: #222;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #004499;
    text-decoration: underline;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.75rem;
    color: #222 !important;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: #0066cc !important;
}

/* Profile Photo */
.profile-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 4px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Sidebar */
.sidebar h1 {
    font-size: 1.5rem;
}

.contact-info {
    color: #666;
}

.contact-info a {
    color: #666;
}

.contact-info a:hover {
    color: #0066cc;
}

/* Social Links */
.social-links a {
    color: #555;
    font-size: 1.25rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #0066cc;
    text-decoration: none;
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #0066cc;
}

/* News Section */
.news-section {
    margin-top: 3rem;
}

.news-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-weight: 600;
    color: #0066cc;
    min-width: 140px;
    display: inline-block;
}

.news-content {
    color: #555;
}

/* Experience Section */
.experience-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.experience-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #222;
}

.experience-date {
    color: #666;
    font-size: 0.95rem;
    white-space: nowrap;
}

.experience-org {
    color: #0066cc;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.experience-desc {
    color: #555;
    margin-bottom: 0;
}

/* Publications Section */
.publication-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.publication-item:last-child {
    border-bottom: none;
}

.publication-title {
    font-weight: 600;
    color: #222;
    margin-bottom: 0.25rem;
}

.publication-authors {
    color: #555;
    margin-bottom: 0.25rem;
}

.publication-venue {
    font-style: italic;
    color: #666;
    margin-bottom: 0.5rem;
}

.publication-links a {
    font-size: 0.875rem;
    margin-right: 1rem;
}

/* Research Section */
.research-project {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.research-project:last-child {
    border-bottom: none;
}

.research-project h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Awards List */
.awards-list {
    list-style: none;
    padding: 0;
}

.awards-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.awards-list li:last-child {
    border-bottom: none;
}

.award-year {
    font-weight: 600;
    color: #0066cc;
    min-width: 60px;
    display: inline-block;
}

/* Footer */
.footer {
    background-color: #fafafa;
}

.footer a {
    color: #666;
}

.footer a:hover {
    color: #0066cc;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .profile-photo {
        width: 150px;
        height: 150px;
    }
    
    .sidebar {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid #e9ecef;
    }
    
    .news-date {
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .experience-header {
        flex-direction: column;
    }
    
    .experience-date {
        color: #888;
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.text-accent {
    color: #0066cc;
}

.bg-light-custom {
    background-color: #fafafa;
}
