/* ─── Reset ─────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333333;
    background: #f7f7f7;
    line-height: 1.6;
}

/* ─── Layout ─────────────────────────────────────────── */
.wrapper {
    display: flex;
    min-height: 100vh;
}

/* ─── Sidebar ────────────────────────────────────────── */
.sidebar {
    width: 260px;
    min-width: 260px;
    background: #2b2b2b;
    border-right: 1px solid #373737;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px 20px;
    flex: 1;
}

.profile-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 50%;

    margin-bottom: 16px;
    display: block;
}

.sidebar-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 6px;
}

.sidebar-title {
    font-size: 0.82rem;
    color: #aaaaaa;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 24px;
}

/* Sidebar Nav */
.sidebar nav {
    width: 100%;
    margin-bottom: 16px;
}

.sidebar nav ul {
    list-style: none;
    width: 100%;
}

.sidebar nav ul li {
    width: 100%;
}

.sidebar nav ul li a {
    display: block;
    padding: 10px 16px;
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: #303030;
    border-top: 1px solid #373737;
    border-bottom: 1px solid #2b2b2b;
    transition: background 0.2s, color 0.2s;
}

.sidebar nav ul li a i {
    width: 18px;
    text-align: center;
    margin-right: 8px;
    color: #e29734;
}

.sidebar nav ul li a:hover,
.sidebar nav ul li a.active {
    background: #363636;
    color: #e29734;
}


/* Sidebar Social */
.sidebar-social {
    display: flex;
    gap: 14px;
    margin-top: auto;
    margin-bottom: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.sidebar-social a {
    color: #999999;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-social a:hover {
    color: #e29734;
}

.sidebar-copyright {
    font-size: 0.75rem;
    color: #666666;
    text-align: center;
    padding: 10px 0;
    width: 100%;
}

/* ─── Main Content ───────────────────────────────────── */
.main-content {
    margin-left: 260px;
    flex: 1;
    background: #f7f7f7;
}

/* ─── Sections ───────────────────────────────────────── */
.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 40px;
}

.bg-light {
    background-color: #fcfcfc;
}

h2 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-bottom: 25px;
    border-bottom: 3px solid #e29734;
    display: inline-block;
    padding-bottom: 5px;
}

h3.pub-category {
    color: #2c3e50;
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-left: 4px solid #e29734;
    padding-left: 10px;
}

h3.subsection-title {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    font-size: 1.02rem;
}

/* ─── Timeline ───────────────────────────────────────── */
.timeline {
    border-left: 3px solid #e29734;
    padding-left: 25px;
    margin-left: 10px;
}

.timeline-item {
    margin-bottom: 28px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #e29734;
    border-radius: 50%;
    left: -32px;
    top: 5px;
}

.timeline-item strong {
    color: #e29734;
    display: block;
    margin-bottom: 3px;
    font-size: 0.92rem;
}

.timeline-item h4 {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 2px;
}

.timeline-item p {
    margin-bottom: 4px;
    font-size: 0.97rem;
    color: #555;
}

.timeline-item p.detail {
    font-size: 0.92rem;
    color: #666;
    margin-top: 4px;
}

/* ─── Publications ───────────────────────────────────── */
.pub-list {
    padding-left: 30px;
    margin-bottom: 10px;
}

.pub-list li {
    margin-bottom: 14px;
    font-size: 0.97rem;
    line-height: 1.6;
    color: #444;
}

.pub-list li em {
    color: #2c3e50;
    font-style: italic;
}

.pub-list li a {
    color: #1a6fbc;
    text-decoration: none;
    font-weight: 600;
}

.pub-list li a em {
    color: #1a6fbc;
}

.pub-list li a:hover em {
    color: #e29734;
    text-decoration: underline;
}

.pub-list.plain-list {
    list-style: disc;
}

.pub-link {
    color: #e29734;
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 4px;
}

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

.badge {
    display: inline-block;
    background-color: #e29734;
    color: white;
    font-size: 0.75rem;
    font-style: normal;
    padding: 1px 7px;
    border-radius: 3px;
    margin-right: 4px;
    vertical-align: middle;
    font-weight: 600;
}

/* ─── Lists ──────────────────────────────────────────── */
.list-items {
    padding-left: 20px;
}

.list-items li {
    margin-bottom: 10px;
    list-style-type: square;
    font-size: 0.97rem;
    line-height: 1.6;
}

.list-items.compact li {
    margin-bottom: 5px;
    font-size: 0.93rem;
}

/* ─── Reviewer Grid ──────────────────────────────────── */
.reviewer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 8px;
}

/* ─── Mobile hamburger ───────────────────────────────── */
.menu-toggle {
    display: none;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1100;
    background: #e29734;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 11px;
    font-size: 1.1rem;
    cursor: pointer;
}

/* ─── Mobile ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding-top: 55px;
    }

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

    .pub-list {
        padding-left: 18px;
    }

    .container {
        padding: 40px 20px;
    }
}
