/* General page styling */
body {
    font-family: "Georgia", "Times New Roman", serif;
    line-height: 1.7;
    color: #2b2b2b;
    background-color: #f9f9f7;
    margin: 0;
    padding: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Headings */
h1 {
    font-size: 2.6em;
    margin-bottom: 0.1em;
    color: #1f3a4d;
}

h2 {
    font-size: 1.4em;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 1.5em;
    color: #555;
}

/* Paragraphs */
p {
    font-size: 1.05em;
    margin-bottom: 1.2em;
}

/* Lists */
ul {
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

li {
    margin-bottom: 0.6em;
}

/* Emphasis */
em {
    font-style: italic;
    color: #1f3a4d;
}

/* Optional subtle divider */
hr {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 2em 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    body {
        padding: 20px;
        font-size: 0.95em;
    }

    h1 {
        font-size: 2.1em;
    }

    h2 {
        font-size: 1.2em;
    }
}
/* Profile section with image */
.profile {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 2em;
}

/* Image container */
.profile-image img {
    width: 400px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Text next to image */
.profile-text {
    flex: 1;
}

/* Stack image above text on small screens */
@media (max-width: 700px) {
    .profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image img {
        width: 180px;
    }
}
/* Navigation */
.site-nav {
    margin-bottom: 2em;
}

.site-nav a {
    margin-right: 20px;
    text-decoration: none;
    font-weight: bold;
    color: #1f3a4d;
}

.site-nav a:hover {
    text-decoration: underline;
}
/* Publication layout */
.publication {
    display: flex;
    gap: 25px;
    margin-bottom: 2em;
    align-items: flex-start;
}

.publication img {
    width: 140px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.publication-text {
    flex: 1;
}

/* Stack on small screens */
@media (max-width: 600px) {
    .publication {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}