.careers-page {
    background: #f1f1f1;
    color: #292929;
}

.careers-hero {
    min-height: 310px;
    background-color: #333;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.careers-hero__overlay {
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: rgba(0, 0, 0, 0.24);
    text-align: center;
}

.careers-hero h1 {
    margin: 0;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(36px, 4.2vw, 64px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}

.careers-breadcrumbs {
    background: #fff;
}

.careers-container {
    width: min(100% - 48px, 1420px);
    margin: 0 auto;
    padding: 36px 0;
    font-size: 14px;
}

.careers-container a,
.careers-container span {
    margin-right: 6px;
    color: #333;
}

.careers-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1680px;
    margin: 0 auto;
}

.careers-panel {
    min-width: 0;
}

.careers-panel--text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 540px;
    padding: clamp(54px, 6vw, 110px);
}

.careers-panel--centred {
    align-items: center;
    text-align: center;
}

.careers-panel h2 {
    margin: 0 0 34px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 400;
    line-height: 1.2;
}

.careers-copy {
    width: 100%;
    font-size: 18px;
    line-height: 1.65;
}

.careers-copy p {
    margin: 0 0 24px;
}

.careers-copy p:last-child {
    margin-bottom: 0;
}

.careers-panel--image {
    min-height: 540px;
    overflow: hidden;
}

.careers-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
}

.careers-button {
    display: inline-block;
    margin-top: 34px;
    padding: 14px 28px;
    background: #e5ad00;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.careers-button:hover,
.careers-button:focus {
    background: #c89600;
    color: #fff;
}

@media (max-width: 767px) {
    .careers-hero {
        min-height: 230px;
    }

    .careers-container {
        width: min(100% - 32px, 1420px);
        padding: 24px 0;
    }

    .careers-row {
        grid-template-columns: 1fr;
    }

    .careers-row--vacancy .careers-panel--image {
        order: 1;
    }

    .careers-row--vacancy .careers-panel--text {
        order: 2;
    }

    .careers-panel--text {
        min-height: 0;
        padding: 48px 28px;
    }

    .careers-panel--image,
    .careers-image {
        min-height: 360px;
    }

    .careers-copy {
        font-size: 16px;
    }
}
