body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 12pt;
    background-color: #e8e8e8;
    margin: 0;
}

.main-container {
    width: 1000px;
    max-width: 100%;
    margin: 20px auto;
    background-color: #fffefe;
    padding: 30px;
    box-sizing: border-box;
}

.header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.profile-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.content-container {
    display: flex;
    gap: 40px;
}

.left-column {
    flex: 1;
}

.right-column {
    flex: 3;
}

.contacts-list {
    list-style: none;
    padding-left: 0;
    line-height: 1.8em;
}

.languages, .skills, .experience {
    margin-top: 15px;
}

.language-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.language-list li {
    margin-bottom: 8px;
}

.skills {
    line-height: 1.8em;
}

.skills-category {
    margin-bottom: 10px;
}

.skills-category:last-child {
    margin-bottom: 0;
}

.skills h6 {
    margin-top: 0;
    margin-bottom: 0;
}

.skill {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 0 4px;
    white-space: nowrap;
    display: inline-block;
    box-sizing: content-box;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: .9rem;
    line-height: 1.2rem;
}

.skill-param {
    border-left: 1px solid #000;
    display: inline-block;
    box-sizing: border-box;
    padding-left: 4px;
    font-weight: normal;
    font-size: 0.9rem;
}

.experience-entity {
    padding: 10px 0;
}

.experience-entity:not(:last-of-type) {
    border-bottom: 1px dotted;
}

.experience-dates {
    color: #666;
    font-size: .9rem;
    margin-bottom: 5px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

h3 {
    font-size: 2.2rem;
    font-weight: bold;
}

h4 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-top: 15px;
}

h5 {
    font-size: 1.3rem;
    font-weight: bold;
}

h6 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
}



.tool-notes {
    margin-top: 10px;
}

.tool-notes ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.tool-notes li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.experience-achievements {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 0;
}

.experience-achievements li {
    margin-bottom: 8px;
}

.hobbies {
    margin-top: 15px;
}

.hobby-item {
    margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
    .main-container {
        padding: 20px;
    }
    .content-container {
        flex-direction: column;
        gap: 20px;
    }
}

@media print {
    body, .main-container {
        margin: 0;
        padding: 0;
        background-color: #fff;
        box-shadow: none;
    }

    .main-container {
        width: 100%;
        border: none;
        padding-left: 10mm;
    }

    .content-container {
        gap: 20px;
    }

    .left-column {
        flex: 1;
    }

    .right-column {
        flex: 3;
    }

    a {
        text-decoration: none;
        color: #000;
    }

    .linkedin-link .link-text {
        display: none;
    }

    .linkedin-link::after {
        content: attr(data-print-url);
    }

    h3 { font-size: 1.8rem; }
    h4 { font-size: 1.4rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }

    .skills, .experience, .tool-notes {
        margin-top: 10px;
    }

    .experience {
        page-break-before: always;
    }

    .skill {
        border-width: 1.5px;
    }

    .skill-param {
        border-left-width: 1.5px;
    }

    .print-instructions {
        display: none;
    }
}
