* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #edf2f7;
    color: #111827;
    line-height: 1.5;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ===== NAV ===== */
nav {
    background: #1e3a5f;
    border-bottom: 1px solid #29476d;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: #dbeafe;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #6bb6ff;
}

/* ===== HERO ===== */
.hero {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 80px 0;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-text h2 {
    font-size: 1.2rem;
    color: #374151;
    margin-bottom: 25px;
    font-weight: normal;
}

.hero-text p {
    margin-bottom: 18px;
    color: #374151;
}

.hero-image img {
    width: 260px;
    border-radius: 14px;
    border: 3px solid #333;
}

/* ===== SECTION ===== */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 35px;
    color: #2563eb;
}

/* ===== CARD (GENERAL) ===== */
.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #d1d9e6;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-3px);
    border-color: #6bb6ff;
}

.card h3 {
    margin-bottom: 10px;
    color: #111827;
}

.card p {
    color: #4b5563;
    margin-bottom: 10px;
}

/* ===== TAG (YEAR) ===== */
.tag {
    display: inline-block;
    padding: 4px 10px;
    background: #e0f2fe;
    color: #0369a1;
    border-left: 3px solid #2563eb;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* ===== LINKS ===== */
.links a {
    display: inline-block;
    margin-right: 12px;
    color: #2563eb;
    text-decoration: none;
    font-size: 0.9rem;
}

.links a:hover {
    text-decoration: underline;
}

/* ===== SKILLS ===== */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill {
    background: #d9edf7;
    color: #1f2937;
    padding: 10px 16px;
    border-radius: 8px;
}

/* ===== FOOTER ===== */
footer {
    padding: 40px 0;
    text-align: center;
    color: #5b6b7a;
    border-top: 1px solid #cbd5e1;
    margin-top: 60px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .nav-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
}

/* =============================== */
/* ===== COMPACT PUBLICATIONS ===== */
/* =============================== */

.pub-card {
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid #d1d9e6;
    transition: 0.2s;
}

.pub-card:hover {
    border-color: #6bb6ff;
}

/* TITLE: 2 lines max */
.pub-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 1.3;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* AUTHORS + JOURNAL in 1 block */
.pub-meta {
    font-size: 0.88rem;
    color: #4b5563;
    margin-bottom: 2px;
    line-height: 1.3;
}

/* CONFERENCE / EXTRA INFO */
.pub-conf {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 4px;
}

/* LINKS INLINE SMALL */
.pub-links a {
    font-size: 0.85rem;
    color: #2563eb;
    margin-right: 10px;
    text-decoration: none;
}

.pub-links a:hover {
    text-decoration: underline;
}

/* YEAR TAG SMALL */
.pub-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 6px;
    background: #e0f2fe;
    color: #0369a1;
    margin-bottom: 6px;
}

/* ===== Journal Highlight ===== */

.pub-journal {
    color: #1d4ed8;
    font-weight: 600;
}

.pub-doi a {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 8px;
}

.pub-doi a:hover {
    text-decoration: underline;
}

/* ===== Highlight journal names ===== */

.journal {
    color: #0f766e;
    font-weight: 600;
}


/* ===== Contact info on homepage ===== */

.contact-info {
    margin-top: 28px;
}

.contact-info p {
    margin-bottom: 8px;
    color: #374151;
}

.contact-info a {
    color: #2563eb;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ===== Mini contact links ===== */
.mini-links {
    margin-top: 22px;
    font-size: 0.92rem;
    color: #6b7280;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    align-items: center;
}

.mini-links a {
    color: #4b5563;
    text-decoration: none;
    transition: 0.2s;
}

.mini-links a:hover {
    color: #0f766e;
}

.mini-links span {
    color: #9ca3af;
}

/* ===== for figure ===== */
.research-figure {
    width: 50%;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}

.figure-caption {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
}
