        /* Import Google Font "Lora" */
        @import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');

        body {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
            background-color: white;
            display: flex;
            flex-direction: column;
            height: 100vh;
            justify-content: center; /* Center align body content vertically */
            text-align: center; /* Center align text within body */
        }
        header {
            position: fixed; /* Fix the header to the top */
            top: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px; /* Adjusted padding */
            background-color: white;
            width: 100%;
            box-sizing: border-box; /* Ensure padding is included in width */
            z-index: 1000; /* Ensure header is on top */
        }
        .logo {
            display: flex;
            align-items: center;
        }
        .logo img {
            height: 40px; /* Adjust the size of the GIF as needed */
        }
        .content {
            padding: 20px;
            margin-top: 80px; /* Space for fixed header */
            max-width: 800px; /* Adjust as needed */
            margin-left: auto; /* Center content horizontally */
            margin-right: auto; /* Center content horizontally */
            text-align: left; /* Left-align text within centered content */
        }
        .description {
            font-family: 'Lora', serif;
            font-size: 18px;
            color: #003366; /* Dark blue color */
        }
        .content a, .description a {
            font-weight: bold;
            color: #000000;
            text-decoration: none; 
        }
        .description h1 {
            font-family: 'Lora', serif; /* Consistent font */
            font-size: 36px; /* Adjusted size */
            font-weight: 300; /* Same font weight as Experience */
            color: #003366; /* Dark blue color */
            margin: 0;
            margin-bottom: 20px; /* Space below the heading */
        }
        .section {
            border-top: 1px solid #e0e0e0; /* Subtle gray line */
            padding: 20px 0; /* White vertical space between sections */
            margin-top: 40px; /* Space above the section */
        }
        .section h2 {
            font-family: 'Lora', serif;
            font-size: 28px; /* Same font size as name */
            font-weight: 300; /* Less bolding */
            color: #003366; /* Dark blue color */
            margin: 0;
            margin-bottom: 20px; /* Space below the heading */
        }
        .experience-entry, .education-entry {
            display: flex;
            align-items: center;
            margin-bottom: 20px; /* Space between entries */
        }
        .experience-entry img, .education-entry img {
            width: 80px; /* Width of image */
            height: 80px; /* Height of image */
            object-fit: scale-down; /* Ensure image covers the area */
            /* image-rendering: crisp-edges; Improve image rendering */
            margin-right: 20px; /* Space between image and text */
        }
        .experience-entry div, .education-entry div {
            display: flex;
            flex-direction: column;
        }
        .experience-entry .job-title, .education-entry .degree-title {
            font-weight: bold; /* Bold job title or degree title */
        }
        .experience-entry .description, .education-entry .description {
            margin: 5px 0; /* Space between lines of text */
        }
        .experience-entry .date, .education-entry .date {
            font-style: italic; /* Italicize date */
        }
        .job-title-main {
            font-weight: bold;
        }
        .job-title {
          display: flex;
          flex-wrap: nowrap; 
          white-space: nowrap;
          align-items: baseline; 
        }
        .job-title > a {
          font-weight: bold;
          color: #000000;
          margin-right: 8px;
          text-decoration: none; 
        }
        

/* Shared navigation and publication layout. */
body { height: auto; min-height: 100vh; }
header { gap: 16px; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; margin-right: 24px; }
.site-nav a { padding: 10px 0; color: #003366; font-family: 'Lora', serif; font-size: 16px; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a[aria-current="page"], .site-nav a:hover { border-bottom-color: #003366; }
a:focus-visible { outline: 2px solid #003366; outline-offset: 5px; }
/* Keep the original content width, padding, typography, and centering.
   Remove trailing experience spacing so both section dividers have the
   same 40px gap from the preceding content. */
.experience { padding-bottom: 0; }
.experience-entry:last-of-type { margin-bottom: 0; }
body:has(.cv-document) { justify-content: flex-start; }
body:has(.cv-document) .content { width: calc(100% - 40px); }
.publication-entry { display: flex; align-items: center; gap: 24px; }
.publication-details { flex: 1; min-width: 0; }
.publication-title { margin: 0 0 8px; font-size: 17px; line-height: 1.5; font-weight: 500; }
.content .publication-title a { font-weight: 500; }
.publication-title a:hover { color: #003366; text-decoration: underline; }
.publication-authors { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: #757575; }
.publication-authors strong { color: #555; font-weight: 600; }
.publication-venue { display: inline-block; border: 1px solid #d7d7d7; border-radius: 20px; padding: 3px 12px; font-size: 13px; color: #292828; }
.publication-image { width: 132px; height: 112px; object-fit: contain; border-radius: 8px; }
.page-title { font-family: 'Lora', serif; font-weight: 400; font-size: 36px; color: #003366; margin: 0 0 28px; }
.publication-year { font-family: 'Lora', serif; font-size: 22px; font-weight: 400; color: #003366; margin: 0 0 24px; }
.cv-document { display: block; width: 100%; height: auto; aspect-ratio: 612 / 792; border: 0; background: white; }
.profile-links { display: flex; gap: 10px; margin-top: 20px; }
.content .profile-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 34px; border-radius: 18px; background: #f3f5f7; color: #003366; font-size: 20px; text-decoration: none; transition: background-color 0.2s; }
.content .profile-links a:hover { background: #e5ecf3; }
@media (max-width: 600px) {
    header { padding: 10px 16px; gap: 12px; flex-wrap: wrap; }
    .site-nav { gap: 20px; margin: 0 0 0 auto; }
    .content { margin-top: 80px; }
    .job-title { white-space: normal; }
    .experience-entry > div { min-width: 0; }
    .publication-entry { gap: 14px; align-items: flex-start; }
    .publication-image { width: 96px; height: 96px; }
}
@media (max-width: 360px) {
    .site-nav { gap: 14px; }
    .publication-entry { flex-direction: column; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
