@charset "utf-8";

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/roboto-light.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/roboto-regular.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/roboto-condensed-bold.woff2") format("woff2");
}

:root {
    font-size: 16px;
}

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

body {
    color: #53616b;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 300;
    background: #fff;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
}

.job-ad {
    container-type: inline-size;
}

.brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.875cqw;
    padding-top: 2.125cqw;
}

.brand-logo {
    width: 21.28%;
}

.brand-banner {
    width: 82.75%;
}

.text-section {
    padding: 4.625cqw 6.25% 4.875cqw;
    border-bottom: 1px solid #d9dfe2;
    font-size: clamp(0.75rem, 1.6cqw, 0.8rem);
    line-height: 1.333333;
}

h2 {
    margin-bottom: 0.875cqw;
    color: #ff0024;
    font-size: clamp(0.875rem, 2cqw, 1rem);
    font-weight: 400;
    line-height: 1.3;
}

.introduction {
    border-bottom: 0;
    padding-bottom: 4.75cqw;
}

.benefits {
    padding-bottom: 4.675cqw;
}

.tasks {
    padding-bottom: 5.075cqw;
}

.contact {
    padding-bottom: 4.625cqw;
}

.text-section ul {
    padding-left: 2cqw;
    list-style-type: disc;
}

.job-heading {
    padding: 3.125cqw 4% 4.05cqw;
    color: #fff;
    background: #53616b;
    text-align: center;
}

h1 {
    margin-bottom: 1.375cqw;
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: clamp(1.25rem, 3.275cqw, 1.6375rem);
    font-weight: 700;
    line-height: 1.2;
}

.job-details {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1cqw 2.375cqw;
    font-size: clamp(0.75rem, 1.625cqw, 0.8125rem);
    font-weight: 400;
    line-height: 1.333333;
    list-style: none;
}

.job-details li {
    display: flex;
    align-items: center;
    gap: 0.625cqw;
}

.employment-type {
    padding: 0.25cqw 0.375cqw;
    border-radius: 1px;
    color: #53616b;
    background: #fff;
    font-size: 0.875cqw;
    line-height: 1.3;
}

.detail-icon {
    flex-shrink: 0;
    width: 1.5cqw;
    height: 1.5cqw;
    fill: currentColor;
}

.location-icon {
    width: 1.25cqw;
    height: 1.625cqw;
}

.experience-icon {
    width: 1.125cqw;
    height: 1.5cqw;
}

.contact p + p {
    margin-top: 1.625cqw;
}

.contact .application-note {
    margin-top: 5.25cqw;
}

.application-footer {
    padding: 4.125cqw 6.25% 4cqw;
    text-align: center;
}

.apply-button {
    display: inline-block;
    width: 26cqw;
    min-width: 12.1875rem;
    padding: 1cqw 0;
    border: 0;
    border-radius: 2px;
    color: #fff;
    background: #d20b2e;
    font-family: Arial, sans-serif;
    font-size: clamp(0.75rem, 1.625cqw, 0.8125rem);
    font-weight: 400;
    line-height: 1.1;
    cursor: pointer;
}

.apply-button:focus-visible {
    outline: 2px solid #53616b;
    outline-offset: 3px;
}

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

@media only screen and (max-width: 30rem) {
    .brand-logo {
        width: 32%;
    }

    .text-section {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    h2 {
        margin-bottom: 0.5rem;
    }

    .text-section ul {
        padding-left: 1rem;
    }

    .job-heading {
        padding: 1.5rem 6.25%;
    }

    h1 {
        margin-bottom: 0.875rem;
    }

    .job-details {
        gap: 0.5rem 1rem;
    }

    .job-details li {
        gap: 0.25rem;
    }

    .employment-type {
        padding: 2px 3px;
        font-size: 7px;
    }

    .detail-icon {
        width: 10px;
        height: 12px;
    }

    .contact p + p {
        margin-top: 1rem;
    }

    .contact .application-note {
        margin-top: 2rem;
    }

    .application-footer {
        padding: 1.5rem 6.25%;
    }

    .apply-button {
        padding: 0.625rem 0;
    }
}
