:root {
    --bayes-red: #c8102e;
    --light-red: #faf3f4;
    --soft-red: #f1d5da;
    --text-dark: #222222;
}

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-dark);
    background: #ffffff;
    line-height: 1.75;
}

/* Top Navigation */

.top-nav {
    border-top: 6px solid var(--bayes-red);
    border-bottom: 1px solid #e5e5e5;
    padding: 18px 0;
    background: #ffffff;
}

.top-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 52px;
    margin: 0;
    padding: 0;
}

.top-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.4px;
}

.top-nav a:hover {
    color: var(--bayes-red);
}

/* Page Layout */

.container {
    display: grid;
    grid-template-columns: 330px minmax(0, 850px);
    justify-content: center;
    max-width: 1180px;
    margin: 0 auto;
    min-height: calc(100vh - 67px);
}

/* Left Sidebar */

.sidebar {
    padding: 32px 28px;
    border-right: 1px solid #eeeeee;
    text-align: center;
    background: #ffffff;
}

.logo {
    width: 230px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 32px;
}

.profile-photo {
    width: 215px;
    height: 215px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bayes-red);
    margin-bottom: 26px;
}

.position-box {
    background: var(--light-red);
    border-left: 5px solid var(--bayes-red);
    border-right: 5px solid var(--bayes-red);
    padding: 18px 16px;
    border-radius: 8px;
    margin-bottom: 26px;
}

.position-box h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    line-height: 1.25;
    color: var(--text-dark);
}

.position-box p {
    margin: 5px 0;
    color: #555555;
    font-size: 0.98rem;
}

/* Contact Icons */

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.contact-icons img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    transition: 0.25s;
}

.contact-icons img:hover {
    transform: scale(1.08);
}

/* Right Content */

.content {
    padding: 52px 60px 80px;
    width: 100%;
    max-width: 850px;
}

.home h1 {
    color: var(--bayes-red);
    font-size: 2.1rem;
    margin-top: 0;
    margin-bottom: 28px;
    border-bottom: 2px solid var(--soft-red);
    padding-bottom: 10px;
}

.home p {
    text-align: justify;
    margin-bottom: 22px;
    font-size: 1rem;
}

/* News Box */

.news {
    background: var(--light-red);
    border-left: 5px solid var(--bayes-red);
    border-radius: 6px;
    padding: 16px 18px;
    margin-top: 34px;
    color: #6d0017;
}

/* Mobile */

@media (max-width: 900px) {
    .top-nav ul {
        gap: 30px;
    }

    .container {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .sidebar {
        border-right: none;
        border-bottom: 1px solid #eeeeee;
    }

    .content {
        max-width: 100%;
        padding: 32px 28px 60px;
    }
}
.research h1 {
    color: var(--bayes-red);
    font-size: 2.1rem;
    margin-top: 0;
    margin-bottom: 35px;
    border-bottom: 2px solid var(--soft-red);
    padding-bottom: 10px;
}

.research-section {
    margin-bottom: 42px;
}

.research-section h2 {
    color: var(--bayes-red);
    margin-bottom: 18px;
}

.research-section ul {
    padding-left: 22px;
}

.research-section li {
    margin-bottom: 22px;
    line-height: 1.7;
}

.research-section a {
    color: var(--text-dark);
    text-decoration: none;
}

.research-section a:hover {
    color: var(--bayes-red);
}

.research-section em {
    color: #666666;
}
