/* Clean Academic Homepage Styles - Inspired by samlai.me */

:root {
    --primary-color: #336699;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #ddd;
    --bg-light: #f9f9f9;
    --link-color: #336699;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fff;
    font-size: 15px;
}

/* Header */
#page_header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header_wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog_title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
}

.blog_title:hover {
    color: var(--primary-color);
}

.menus_items {
    display: flex;
    list-style: none;
    gap: 25px;
}

.menus_item a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
}

.menus_item a:hover {
    color: var(--primary-color);
}

/* Main Layout */
#page_main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
}

/* Sidebar */
.side-card {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.card-wrap {
    text-align: center;
}

.author-avatar {
    margin-bottom: 20px;
}

.avatar-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
}

.author-discrip h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.author-bio {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
    margin: 4px 0;
}

.btn.m-social-links {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    margin-top: 15px;
    width: 100%;
}

.btn.m-social-links:hover {
    opacity: 0.9;
}

.social-links {
    list-style: none;
    margin-top: 12px;
}

.social-links li {
    margin: 6px 0;
}

.e-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
}

.e-social-link:hover {
    color: var(--primary-color);
}

/* Hero Section - Simplified */
.hero-section {
    background: var(--bg-light);
    padding: 30px;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 40px;
}

.hero-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Section Styles */
.section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

.title-decoration {
    display: none;
}

/* Biography */
.highlight-text {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.bio-card {
    background: #fff;
}

.bio-card h3 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.bio-card ul {
    list-style: none;
}

.bio-card li {
    padding: 4px 0;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
}

.bio-card li::before {
    content: '•';
    color: var(--primary-color);
    margin-right: 8px;
}

.credentials {
    font-size: 14px;
    color: var(--text-light);
    padding: 15px;
    background: var(--bg-light);
    border-radius: 4px;
}

/* News Timeline - Simple List */
.news-timeline {
    padding-left: 0;
}

.news-timeline::before {
    display: none;
}

.news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    padding: 8px 0;
}

.news-item::before {
    display: none;
}

.news-date {
    font-weight: 600;
    color: #bd6c8d;
    min-width: 90px;
    font-size: 13px;
}

.news-content {
    flex: 1;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
}

.news-badge {
    display: inline;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 6px;
}

.news-badge.nature {
    background: #e8f5e9;
    color: #2e7d32;
}

.news-badge.conference {
    background: #e3f2fd;
    color: #1565c0;
}

/* Publications - List Style */
.publications-grid {
    display: block;
}

.pub-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

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

.pub-image {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    position: relative;
}

.pub-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.pub-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(51, 102, 153, 0.9);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

.pub-content {
    flex: 1;
}

.pub-title {
    font-size: 15px;
    color: var(--link-color);
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 600;
}

.pub-title:hover {
    text-decoration: underline;
}

.pub-authors {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 10px;
}

.pub-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    border: 1px solid #e0e0e0;
}

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

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 12px;
}

.pub-link:hover {
    opacity: 0.9;
}

/* CTA Section - Simplified */
.cta-section {
    background: var(--bg-light);
    padding: 30px;
    border-left: 3px solid var(--primary-color);
    text-align: left;
    margin-top: 40px;
}

.cta-content h2 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.cta-content p {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.cta-button:hover {
    opacity: 0.9;
}

/* Footer */
#page_footer {
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.footer_wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.theme-info {
    color: var(--text-light);
    font-size: 12px;
}

.theme-info a {
    color: var(--link-color);
    text-decoration: none;
}

.last-update {
    text-align: center;
    color: var(--text-light);
    font-size: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Back to Top Button */
.nav-wrap {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 90;
}

.cd-top {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cd-top:hover {
    opacity: 0.9;
}

/* Mobile Menu */
.menus_icon,
.site-nav {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 900px) {
    #page_main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .side-card {
        position: relative;
        top: 0;
    }

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

    .pub-card {
        flex-direction: column;
    }

    .pub-image {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 600px) {
    .header_wrap {
        padding: 12px 15px;
    }

    #page_main {
        padding: 20px 15px;
    }

    .menus_items {
        display: none;
    }

    .menus_icon {
        display: block;
    }

    .hero-section {
        padding: 20px;
    }

    .hero-title {
        font-size: 18px;
    }

    .section-title {
        font-size: 18px;
    }

    .news-item {
        flex-direction: column;
        gap: 5px;
    }

    .news-date {
        min-width: auto;
    }

    .pub-image {
        height: 150px;
    }
}

/* Remove fancy effects */
* {
    transition: none !important;
    animation: none !important;
}

a {
    transition: color 0.2s ease !important;
}

.pub-link,
.cta-button,
.btn {
    transition: opacity 0.2s ease !important;
}
