@charset "utf-8";

:root {
    font-size: 1rem;
}

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

body {
    color: #000;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .9375rem;
    font-weight: 400;
    line-height: 1.333333;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

.advertisement {
    container-type: inline-size;
}

.document-page {
    padding: 8.57cqw 11.13cqw 8.57cqw 11.58cqw;
    font-size: 1.88cqw;
    text-align: justify;
}

.first-page {
    min-height: 141.955cqw;
}

.employer {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 2.55cqw;
    height: 13.38cqw;
    padding-right: 5.85cqw;
}

.employer-name {
    padding-top: .8cqw;
    font-size: 2.707cqw;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.coat-of-arms {
    display: block;
    width: 10.5cqw;
    height: 12.48cqw;
    object-fit: contain;
}

strong,
h2,
address {
    font-weight: 700;
}

.introduction {
    margin-bottom: 2.5cqw;
    text-align: left;
}

h1 {
    margin-bottom: 2.55cqw;
    font-size: 2.4cqw;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.appointment {
    margin-bottom: 2.4cqw;
}

.remuneration {
    margin-bottom: 2.4cqw;
    line-height: 1.5;
}

h2 {
    font-size: 2cqw;
    line-height: 1.253333;
    text-align: left;
}

ul {
    padding-left: 4.8cqw;
    list-style-type: disc;
}

li {
    padding: 0;
}

.benefits {
    margin-bottom: 2.45cqw;
}

.duties {
    margin-bottom: 2.6cqw;
}

.duties ul {
    padding-left: 6.05cqw;
}

.requirements {
    margin-bottom: 4cqw;
}

.requirements ul {
    padding-left: 6.05cqw;
    line-height: 1.18;
}

.equal-opportunities {
    line-height: 1.5;
}

.second-page {
    padding-top: 11.65cqw;
    padding-bottom: 5.5cqw;
}

.contact {
    margin-bottom: 2.65cqw;
    line-height: 1.28;
}

.application-introduction {
    margin-bottom: 2cqw;
    text-align: left;
}

address {
    margin-bottom: 2.5cqw;
    font-size: 2cqw;
    font-style: normal;
    line-height: 1.2;
    text-align: center;
}

.confirmation {
    margin-bottom: 3.55cqw;
    text-align: left;
}

.return-policy,
.email-application,
.privacy {
    line-height: 1.5;
}

.return-policy {
    margin-bottom: .85cqw;
}

a:link,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 35rem) {
    .document-page {
        padding: 2rem 1.25rem;
        font-size: .875rem;
    }

    .first-page {
        min-height: 0;
    }

    .employer {
        height: auto;
        min-height: 6rem;
        gap: 1rem;
        padding-right: 0;
    }

    .employer-name {
        padding-top: .5rem;
        font-size: 1rem;
        white-space: normal;
        text-align: right;
    }

    .coat-of-arms {
        flex-shrink: 0;
        width: 3.75rem;
        height: 4.5rem;
    }

    .introduction br {
        display: none;
    }

    .introduction {
        margin-bottom: 1.25rem;
    }

    h1 {
        margin-bottom: 1.25rem;
        font-size: 1.125rem;
    }

    h2 {
        font-size: .9375rem;
    }

    ul,
    .duties ul,
    .requirements ul {
        padding-left: 1.5rem;
    }

    .requirements ul {
        line-height: 1.333333;
    }

    .appointment,
    .remuneration,
    .benefits,
    .duties,
    .requirements,
    .contact,
    .application-introduction,
    address,
    .confirmation {
        margin-bottom: 1.25rem;
    }

    .second-page {
        padding-top: 1rem;
    }

    address {
        font-size: .9375rem;
    }

    a {
        overflow-wrap: anywhere;
    }
}
