/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 15px;
    color: #222;
    background-color: #f9f9f9;
    line-height: 1.6;
    padding: 40px;
    max-width: 900px;
    margin: auto;
}

/* === Headings === */
h1,
h2,
h3 {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4em;
}

h1 {
    font-size: 2rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.2em;
    margin-bottom: 1.2em;
}

h2 {
    font-size: 1.4rem;
    margin-top: 2.2em;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.2em;
}

h3 {
    font-size: 1.1rem;
    color: #555;
}

/* === Paragraphs & Lists === */
p {
    margin-bottom: 1em;
}

ul {
    margin-left: 1.4em;
    margin-bottom: 1.2em;
}

li {
    margin-bottom: 0.4em;
}

/* === Contact Links === */
a {
    color: #0073e6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* === Job Titles & Dates === */
em {
    color: #777;
    font-style: normal;
    display: block;
    margin-top: -0.3em;
    margin-bottom: 0.8em;
}

/* === Horizontal Rules === */
hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em 0;
}

/* === Code blocks & inline === */
code,
pre {
    font-family: 'Courier New', monospace;
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
}

/* === Blockquote === */
blockquote {
    border-left: 4px solid #ccc;
    padding-left: 1em;
    color: #666;
    margin: 1em 0;
    background-color: #f3f3f3;
}

/* === Table Style (if used) === */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}

th,
td {
    padding: 0.6em;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

/* === Responsive & Print === */
@media print {
    body {
        background: white;
        color: black;
        padding: 0;
    }

    a {
        color: black;
        text-decoration: none;
    }
}

/* === Extra: Signature Touches === */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    border: none;
    font-size: 2.2rem;
    margin: 0;
}

.contact-info {
    margin-top: 1em;
    font-size: 0.95rem;
}

.contact-info li {
    list-style: none;
    margin-bottom: 0.3em;
}