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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #222;
    background: #fff;
}

.container {
    max-width: 740px;
    margin: 0 auto;
    padding: 48px 24px;
}

a {
    color: #1a0dab;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.hl {
    font-weight: 600;
}

/* Header */

header {
    margin-bottom: 32px;
}

.header-content {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.header-text {
    flex: 1;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
}

.links {
    font-size: 15px;
}

.header-photo img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
}

/* Sections */

section {
    margin-bottom: 32px;
}

h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e0e0e0;
}

#about p {
    margin-bottom: 10px;
}

/* News */

.news-list {
    list-style: none;
}

.news-list li {
    margin-bottom: 8px;
    padding-left: 0;
}

.date {
    display: inline-block;
    min-width: 80px;
    font-size: 14px;
    color: #777;
    font-weight: 500;
}

/* Achievements */

section#achievements ul {
    padding-left: 20px;
}

section#achievements li {
    margin-bottom: 6px;
}

/* Publications */

.publication {
    margin-bottom: 16px;
}

.pub-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.pub-authors {
    font-size: 15px;
    color: #444;
}

.pub-venue {
    font-size: 14px;
    color: #777;
}

/* Experience */

.experience-item {
    margin-bottom: 18px;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1px;
}

.exp-company {
    font-weight: 700;
    font-size: 16px;
    color: #222;
}

.exp-company:hover {
    color: #1a0dab;
}

.exp-role {
    font-size: 15px;
    color: #555;
    margin-bottom: 4px;
}

.exp-date {
    font-size: 14px;
    color: #777;
    white-space: nowrap;
}

.experience-item p {
    font-size: 15px;
    color: #444;
}

/* Featured In */

.featured-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.featured-scroll::-webkit-scrollbar {
    height: 4px;
}

.featured-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.featured-card {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #222;
    scroll-snap-align: start;
    transition: border-color 0.15s, box-shadow 0.15s;
    overflow: hidden;
}

.featured-card:hover {
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.featured-preview {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-icon {
    width: 32px;
    height: 32px;
    opacity: 0.9;
}

.featured-body {
    padding: 10px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.featured-source {
    font-size: 11px;
    font-weight: 500;
    color: #999;
    letter-spacing: 0.2px;
}

.featured-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #222;
}

.featured-desc {
    font-size: 12px;
    color: #777;
    line-height: 1.3;
}

/* Education */

#education p {
    line-height: 1.6;
}

/* Footer */

footer {
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #777;
}

/* Responsive */

@media (max-width: 600px) {
    .header-content {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

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

    .exp-header {
        flex-direction: column;
        gap: 0;
    }

    .featured-card {
        flex: 0 0 200px;
    }

    .featured-preview {
        height: 64px;
    }

    h1 {
        font-size: 24px;
    }
}
