.open-positions {
    display: flex;
    flex-direction: column;
    padding-inline: 24px;
}

.open-positions .position {
    padding: 8px 0 27px;
    border-top: 1px solid var(--color-black);
}

.open-positions .position:last-child {
    border-bottom: 1px solid var(--color-black);
    margin-bottom: 40px;
}

.open-positions .position .heading-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.open-positions .position .heading-container span {
    font-size: 12px;
    line-height: 21.6px;
    font-family: Obviously Light;
    text-transform: uppercase;
}

.open-positions .position .heading-container p {
    font-size: 18px;
    line-height: 21.78px;
    font-family: Obviously Wide Medium;
}

.open-positions .position.open .heading-container p {
    color: var(--color-red);
}

.open-positions .position .heading-container .title-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.open-positions .position .heading-container img {
    width: 26px;
    height: 13px;
}

.open-positions .position.open .heading-container img {
    content: url("../../assets/img/navItemMobileOpened.svg");
}

.open-positions .position .content {
    display: none;
    font-size: 12px;
    line-height: 21.6px;
    font-family: Obviously Light;
    margin-top: 21px;
}

.open-positions .position .content button {
    margin-top: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100vw;
    border: 1px solid var(--color-red);
    color: var(--color-red);
    font-size: 12px;
    line-height: 14.52px;
    font-family: Obviously Wide Medium;
    margin: 29px auto 7px;
    height: 30px;
    width: 132px;
}
.open-positions .position .content button:visited {
    color: var(--color-red);
}

.open-positions .position .content button:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    cursor: url("../../assets/img/careers-cursor-black.svg") 29 29, auto;
}

.open-positions .position .content.visible {
    display: block;
}

@media (min-width: 768px) {
    .open-positions .position {
        padding: 23px 0 30;
    }

    .open-positions .position:last-child {
        margin-bottom: 99px;
    }

    .open-positions .position .heading-container p {
        font-size: 28px;
        line-height: 36.12px;
    }

    .open-positions .position .heading-container span {
        font-size: 16px;
        line-height: 25.52px;
    }

    .open-positions .position .content {
        margin-top: 68px;
        font-size: 16px;
        line-height: 25.52px;
    }

    .open-positions .position .content button {
        margin-top: 55px;
        line-height: 19.36px;
        font-size: 16px;
        margin-bottom: 10px;
        margin-inline: unset;
        height: 47px;
        width: 294px;
    }

    .open-positions .position .heading-container img {
        width: 36px;
        height: 18px;
    }
}

@media (min-width: 1194px) {
    .open-positions {
        padding-inline: 60px;
    }

    .open-positions .position {
        padding-bottom: 40px;
    }

    .open-positions .position:last-child {
        margin-bottom: 120px;
    }

    .open-positions .position .heading-container p {
        font-size: 38px;
        line-height: 49.02px;
    }

    .open-positions .position .heading-container img {
        width: 48px;
        height: 24px;
    }

    .open-positions .position .content {
        margin-top: 50px;
    }
    

    .open-positions .position .content button {
        margin-bottom: unset;
        margin-top: 107px;
    }
}

@media (min-width: 1500px) {
    .open-positions {
        padding-inline: 121px;
    }

    .open-positions .position .heading-container {
        gap: unset;
    }

    .open-positions .position {
        padding-bottom: 48px;
    }

    .open-positions .position:last-child {
        margin-bottom: 155px;
    }

    .open-positions .position .heading-container span {
        font-size: 20px;
        line-height: 31.9px;
    }

    .open-positions .position .heading-container p {
        font-size: 48px;
        line-height: 61.92px;
    }

    .open-positions .position .heading-container img {
        height: 41px;
        width: 82px;
    }

    .open-positions .position .content {
        width: 1150px;
        font-size: 20px;
        line-height: 31.9px;
    }

    .open-positions .position .content button {
        font-size: 22px;
        line-height: 26.62px;
        margin-top: 50px;
        height: 61px;
        width: 276px;
    }
}


@media (min-width: 1920px) {
    .open-positions {
        max-width: 1920px;
        margin-inline: auto;
    }
}
