/* ===== HOME PAGE ===== */

.hero {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.hero-image {
    flex-shrink: 0;
}

.profile-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.hero-text h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.hero-text .title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.1rem;
}

.hero-text .tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-bottom: 0.75rem;
}

/* Office Info */
.office-info {
    margin-bottom: 0.75rem;
}

.office-item {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0.15rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.office-icon {
    flex-shrink: 0;
}

/* About */
.about-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.about-text a {
    color: var(--link);
}

.about-text a:hover {
    color: var(--link-hover);
}

/* Research Interests */
.interests-list {
    list-style: none;
    padding: 0;
}

.interests-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 0.2rem 0;
}

.interests-list li::before {
    content: "- ";
    color: var(--text-muted);
}

/* News */
.news-list {
    list-style: none;
    padding: 0;
}

.news-item {
    display: flex;
    gap: 1rem;
    padding: 0.4rem 0;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
}

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

.news-date {
    flex-shrink: 0;
    width: 75px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding-top: 0.05rem;
}

.news-text {
    color: var(--text-secondary);
}

.news-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== EXPERIENCE PAGE ===== */
.skills-section {
    margin-top: 2rem;
}

/* ===== RESEARCH PAGE ===== */
.research-overview {
    margin-bottom: 2rem;
}

.research-overview h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.overview-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== PROFESSIONAL TIMELINE ===== */
.prof-timeline {
    position: relative;
    padding-left: 1.25rem;
}

.prof-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.prof-timeline-item {
    position: relative;
    padding-bottom: 1.75rem;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.prof-timeline-item.visible {
    opacity: 1;
    transform: none;
}

.prof-timeline-item::before {
    content: '';
    position: absolute;
    left: -1.45rem;
    top: 0.35rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    border: 1px solid var(--border);
}

.prof-timeline-date {
    font-size: 0.76rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.prof-timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.9rem 1.1rem;
}

.prof-timeline-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.prof-timeline-title {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.prof-timeline-cat {
    font-size: 0.72rem;
    padding: 0.1rem 0.5rem;
    background: var(--tag-bg);
    color: var(--tag-text);
    border-radius: 3px;
    border: 1px solid var(--border);
    white-space: nowrap;
    flex-shrink: 0;
}

.prof-timeline-desc {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 0.4rem;
}

.prof-timeline-location {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.prof-timeline-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 3px;
    margin-top: 0.85rem;
    cursor: pointer;
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.prof-timeline-img:hover {
    opacity: 0.85;
    transform: scale(1.005);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-photo {
        width: 130px;
        height: 130px;
    }

    .social-links {
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 1.3rem;
    }

    .stats-grid {
        gap: 1.5rem;
    }

    .news-item {
        flex-direction: column;
        gap: 0.15rem;
    }

    .news-date {
        width: auto;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}
