ul {
    padding-left: 1.2em;
    list-style-position: outside;
}
/* Links section: single line on desktop, stacked on mobile */
.links-list a {
    display: inline;
}

@media (max-width: 600px) {
    .links-list a {
        display: block;
        margin-bottom: 8px;
    }
.links-list {
    text-align: center;
}
}
/* Style for summary list in Full Stack Engineer section */
.summary-list {
    margin: 0 0 1.5em 0;
    padding-left: 1.2em;
    font-size: 0.9375em;
    color: #222;
}
.summary-list li {
    margin-bottom: 0.5em;
}
body {
    background: #ececec;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.paper {
    background: #fff;
    box-shadow: 0 10px 36px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.12);
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    margin: 40px 0;
    padding: 48px 56px;
    min-height: 900px;
}
@media (max-width: 900px) {
    .paper {
        max-width: 100vw;
        padding: 24px 8px;
        margin: 16px 0;
        min-height: 0;
    }
}
@media (max-width: 800px) {
    .paper {
        padding: 24px 8px;
        margin: 16px 0;
        min-height: 0;
    }
}
/* Center all headers */
h1, h2, h3, h4 {
    color: #222;
    margin-top: 0;
    text-align: center;
}
h1 {
    font-size: 2.2em;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.contact {
    font-size: 1em;
    color: #444;
    margin-bottom: 18px;
    text-align: center;
}
.section {
    margin-bottom: 32px;
}
.section > p {
    font-size: 0.9375em;
}
.section-title {
    font-size: 1.15em;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.skills, .awards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 1em;
    color: #222;
}
.skills span, .awards span {
    background: #f5f5f5;
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 4px;
}
.exp-job {
    margin-bottom: 18px;
}
.exp-title {
    font-weight: 600;
    color: #222;
}
.exp-company {
    color: #555;
}
.second-page .exp-job {
    margin-bottom: 2em;
}
/* Responsive right-aligned job dates */
.exp-job {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
}
.exp-title, .exp-company {
    display: inline;
}
.exp-dates {
    color: #888;
    font-size: 0.95em;
    text-align: right;
    min-width: 160px;
    margin-left: auto;
}
@media (max-width: 600px) {
    .exp-job {
        flex-direction: column;
        align-items: flex-start;
    }
    .exp-dates {
        text-align: left;
        margin-left: 0;
        margin-top: 4px;
    }
    .links-list {
        text-align: center;
    }
}
.exp-details {
    margin: 8px 0 0 0;
    color: #222;
    font-size: 1em;
}
.links {
    margin-top: 24px;
    font-size: 1em;
}
.links a {
    color: #0077cc;
    text-decoration: none;
    margin-right: 18px;
}
.links a:hover {
    text-decoration: underline;
}
.divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 32px 0;
}
/* Simulate multiple pages */
.paper + .paper {
    margin-top: 0;
}
