/* ================================
   Simple Academic Homepage Template 6
   ================================
   
   Classic academic layout.
   Traditional header with photo.
   
   HOW TO CUSTOMIZE:
   - Adjust header layout
   - Change colors
   - Modify spacing
   ================================ */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    padding: 0;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 30px;
}

/* Header */
.page-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.header-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.header-left {
    flex: 1;
}

.name {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.title {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 12px;
    font-weight: 500;
}

.affiliation {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.header-right {
    flex-shrink: 0;
}

.header-photo {
    width: 150px;
    height: 150px;
    border-radius: 4px;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #555;
    flex-wrap: wrap;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.social-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.social-icon:hover {
    opacity: 0.75;
}

/* Sections */
.section {
    margin-bottom: 45px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #1a1a1a;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e0e0;
}

.section-text {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Interests list */
.interests-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.interests-list li {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 0;
}

.interests-list strong {
    color: #1a1a1a;
}

/* Education blocks */
.edu-block {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.edu-block:last-child {
    border-bottom: none;
}

.edu-year {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    min-width: 100px;
    flex-shrink: 0;
}

.edu-info {
    flex: 1;
}

.edu-degree {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.edu-school {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 3px;
}

.edu-details {
    font-size: 0.9rem;
    color: #888;
}

/* Publication blocks */
.pub-block {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.pub-block:last-child {
    border-bottom: none;
}

.pub-title {
    font-size: 1.05rem;
    color: #1a1a1a;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.5;
}

.pub-authors {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 3px;
}

.pub-venue {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin-bottom: 8px;
}

.pub-links {
    display: flex;
    gap: 10px;
}

.pub-links a {
    font-size: 0.85rem;
    color: #0066cc;
    text-decoration: none;
}

.pub-links a:hover {
    text-decoration: underline;
}

/* Experience blocks */
.exp-block {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.exp-block:last-child {
    border-bottom: none;
}

.exp-period {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    min-width: 120px;
    flex-shrink: 0;
}

.exp-info {
    flex: 1;
}

.exp-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.exp-company {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
}

.exp-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Footer */
.page-footer {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 0.85rem;
    color: #999;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }

    .header-content {
        flex-direction: column-reverse;
        gap: 25px;
    }

    .header-photo {
        width: 120px;
        height: 120px;
    }

    .name {
        font-size: 1.8rem;
    }

    .header-contact {
        gap: 10px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .edu-block,
    .exp-block {
        flex-direction: column;
        gap: 10px;
    }

    .edu-year,
    .exp-period {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 1.6rem;
    }

    .header-photo {
        width: 100px;
        height: 100px;
    }

    .section-title {
        font-size: 1.2rem;
    }
}

