/*
 * Plain HTML-style resume: Times, left aligned, minimal styling.
 * Bulleted lists replaced with paragraphs in the markup.
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Times New Roman", Times, serif;
    color: #000;
    line-height: 1.45;
    font-size: 16px;
    text-align: left;
}

.resume {
    max-width: 850px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

/* --- heading ------------------------------------------------------ */
/* top bar: back link on the left, last-updated note on the right */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.85rem;
    margin-bottom: 1.4rem;
}

.topbar .updated {
    color: #555;
}

.resume header {
    text-align: center;
    margin-bottom: 1.4rem;
}

.resume header h1 {
    font-size: 1.8rem;
}

.contact {
    margin-top: 0.3rem;
}

.contact a {
    color: #000;
}

/* --- sections ----------------------------------------------------- */
.resume section {
    margin-bottom: 1.6rem;
}

.resume h2 {
    font-size: 1.2rem;
    text-align: center;
    border: 1px solid #000;
    padding: 0.4rem;
    margin-bottom: 0.75rem;
}

.item {
    margin: 0.9rem 0;
}

/* single rule between entries within a section */
.item + .item {
    border-top: 1px solid #999;
    padding-top: 0.9rem;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.row .left {
    font-weight: bold;
}

.row.sub .left {
    font-weight: normal;
    font-style: italic;
}

.row .right {
    white-space: nowrap;
}

.row.sub .right {
    font-style: italic;
}

.item p {
    margin: 0.5rem 0 0 0;
    text-align: justify;
}

/* relevant coursework as three side-by-side columns */
.coursework {
    column-count: 3;
    column-gap: 1.5rem;
    margin-top: 0.4rem;
}

.coursework span {
    display: block;
    break-inside: avoid;
}

.caption {
    text-align: center;
    font-style: italic;
    font-size: 0.85rem;
    color: #555;
}

.skills p {
    margin-bottom: 0.5rem;
    text-align: justify;
}

a {
    color: #000;
}
