@media (max-width: 900px) {
    .rtd-content ul,
    .rtd-content .responsive-item {
        list-style-position: outside !important;
    }
}
/* Prevent awkward line breaks around bolded author name in publications */
/* Force <em> elements in Education and Industry Employment to their own line */
/* Ensure each line in expand-details is on its own line with no extra space */
/* Education and Employment: each item on its own line, no extra space */
/* Bullet styles for employment tasks */
.emp-tasks-list {
    margin: 0 0 0 1.2em;
    padding: 0;
    list-style-type: disc;
}
.emp-tasks-list li {
    margin: 0;
    padding: 0 0 0 0.2em;
    font-style: italic;
    display: list-item;
}
/* Standardize bullet formatting for all lists */
/* Standardize bullet formatting for all lists and force bullets to show in Education */
.rtd-content ul,
.rtd-content ol,
ul,
ol {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 24px;
    margin-left: 0;
}
.rtd-content li,
li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #444;
    padding-left: 0;
    margin-left: 0;
}
.rtd-content .responsive-item {
    position: relative;
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
}
/* If bullets still do not show, add a manual bullet for .responsive-item */
.rtd-content .responsive-item::marker {
    color: #444;
    font-size: 1em;
}
.emp-tasks-list {
    margin: 0 0 0 1.2em;
    padding: 0;
}
.emp-tasks-list li {
    margin: 0;
    padding: 0 0 0 0.2em;
    font-style: italic;
    display: list-item;
}
.rtd-content #education .responsive-item > span > .edu-year,
.rtd-content #employment .responsive-item > span > .emp-year {
    display: block;
    margin: 0;
    padding: 0;
}
.rtd-content #education .responsive-item > span > .edu-employer,
.rtd-content #employment .responsive-item > span > .emp-employer {
    display: block;
    font-style: italic;
    margin: 0;
    padding: 0;
}
.rtd-content #education .responsive-item > span > .edu-title,
.rtd-content #employment .responsive-item > span > .emp-title {
    display: block;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
.rtd-content #education .expand-details > .edu-advisor,
.rtd-content #employment .expand-details > .emp-advisor {
    display: block;
    margin: 0;
    padding: 0;
}
.rtd-content #education .expand-details > .edu-program {
    display: block;
    margin: 0;
    padding: 0;
}
.rtd-content #education .expand-details > .edu-tasks em,
.rtd-content #employment .expand-details > .emp-tasks {
    display: block;
    font-style: italic;
    margin: 0;
    padding: 0;
}
/* Restore standard bullet alignment for Education and Training */
/* Hide expand-toggle in Teaching section for all screen sizes */
.rtd-content #teaching .expand-toggle {
    display: none !important;
}
@media (max-width: 900px) {
    .responsive-item > span {
        display: block;
        white-space: normal;
    }
    .responsive-item > span br {
        display: none;
    }
}
/* Force expand/collapse icon to blue regardless of parent, at end of CSS for max specificity */
.expand-toggle .bi {
    color: #1a4e8a !important;
    font-weight: 800 !important;
    font-size: 1.28em !important;
    text-shadow: 0 0 0.8px #1a4e8a, 0 0 0.8px #1a4e8a;
}
/* Force expand/collapse icon to blue regardless of parent */
.expand-toggle .bi {
    color: #1a4e8a !important;
}
/* Ensure expand/collapse icon is always the same blue as nav icon highlight */
 .expand-toggle {
    color: #1a4e8a !important;
    fill: #1a4e8a !important;
}
.rtd-nav-list a.active,
.rtd-nav-list a:focus-visible {
    border: 2px solid #1a4e8a;
    border-radius: 8px;
    box-sizing: border-box;
}
.rtd-nav-list a:hover .bi,
.rtd-nav-list a:focus-visible .bi,
.rtd-nav-list a.active .bi {
    color: #1a4e8a !important;
}
.rtd-nav-list a .bi {
    color: #222;
    pointer-events: auto;
}
.rtd-nav-list a {
    pointer-events: auto;
}

/* Desktop: show all content (default) */

/* Tablet: 600px–900px */
@media (max-width: 900px) and (min-width: 600px) {
    .expand-details {
        display: none;
    }
    .expand-details.expanded {
        display: block;
    }
    .expand-toggle {
        display: inline-block;
        cursor: pointer;
        margin-left: 8px;
        font-size: 1.2em;
    }
    .responsive-item {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
}

/* Phone: <600px */
@media (max-width: 599px) {
    .expand-details {
        display: none;
    }
    .expand-details.expanded {
        display: block;
    }
    .expand-toggle {
        display: inline-block;
        cursor: pointer;
        margin-left: 8px;
        font-size: 1.2em;
    }
    .responsive-item {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 8px;
        margin-bottom: 8px;
        font-size: 0.95em;
    }
}
.container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 40px 32px;
    border-radius: 10px;
    box-shadow: 0 0px 8px rgba(0,0,0,0.08);
}

nav {
    min-height: 100vh;
    background: #222;
    color: #fff;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 32px;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    margin-bottom: 18px;
    transition: color 0.2s;
}
nav a:hover {
    color: #1a4e8a;
}
body {
    font-family: 'Segoe UI', 'Liberation Sans', Arial, sans-serif;
    background: #f8f9fa;
    margin: 0;
    color: #222;
}
.rtd-container {
    display: flex;
    min-height: 100vh;
}
.rtd-sidebar {
    width: 70px;
    background: #fff;
    color: #222;
    padding: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
}
.rtd-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    color: #fff;
    margin: 0 0 18px 0;
    padding: 0;
}
.rtd-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.rtd-nav-list li {
    margin: 0;
    display: flex;
    justify-content: center;
}
.rtd-nav-list li:first-child {
    margin-top: 40px;
}
.rtd-nav-list a {
    color: #222;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 70px;
    height: 40px;
    text-align: center;
    position: relative;
}

.rtd-sidebar .bi {
    font-size: 1.5em;
    transition: color 0.2s;
    display: inline-block;
    vertical-align: middle;
    color: inherit;
}
.rtd-nav-list a .bi {
    color: #222;
}
.rtd-nav-list a:hover,
.rtd-nav-list a:focus-visible {
    color: #1a4e8a;
}
.rtd-nav-list a:hover .bi,
.rtd-nav-list a:focus-visible .bi {
    color: #1a4e8a;
}
.nav-icon svg, .nav-icon .bi {
    display: block;
    width: 1.5em;
    height: 1.5em;
}
/* Tooltip hover effect for desktop only */
.nav-icon[data-tooltip]:hover:after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #222;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 1em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    z-index: 100;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.2s;
}

@media (max-width: 900px) {
    .nav-icon[data-tooltip]:hover:after {
        display: none !important;
        opacity: 0 !important;
        content: none !important;
    }
}
.rtd-content {
    flex: 1;
    padding: 48px 40px 40px 40px;
    background: #fff;
    min-width: 0;
    box-shadow: 0 0 0 0 #fff;
    margin-left: 70px; /* width of sidebar */
}
.rtd-content h1, .rtd-content h2, .rtd-content h3 {
    color: #2d3a4b;
    margin-top: 1.5em;
}
.rtd-content ul {
    padding-left: 24px;
}
.rtd-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.rtd-content a {
    color: #1a4e8a;
    text-decoration: none;
}
.rtd-content a:hover {
    text-decoration: underline;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 40px 32px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

header {
    text-align: center;
    margin-bottom: 32px;
}

h1 {
    margin: 0 0 8px 0;
    color: #2d3a4b;
    font-size: 2.2em;
}

h2 {
    color: #3a4a5d;
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.3em;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 4px;
}

section {
    margin-bottom: 28px;
}

ul {
    padding-left: 24px;
    margin-top: 0;
    margin-bottom: 0;
}

li {
    margin-bottom: 10px;
    color: #444;
    line-height: 1.6;
}

li ul {
    margin-top: 6px;
    margin-bottom: 6px;
}

a {
    color: #1a4e8a;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
