.banner-wrapper {
    aspect-ratio: 320 / 560;
    margin-bottom: 5em;
}

.banner-title {
    max-width: 40em;
    left: 0;
    transform: translateY(-50%);
    top: 90%;
}

.banner-title>h1 {
    text-wrap: auto;
    word-break: break-word;
}

.banner-title>h1>span {
    display: block;
    text-wrap: inherit;
    word-break: inherit;
}

.banner-media {
    padding-bottom: clamp(150px, 55vw, 350px);
}

.img-wrapper {
    display: flex;
    height: 100%;
    overflow: hidden;
    position: relative;
    --_cover-angle: 23deg;
}

.img-wrapper>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1921 / 685;
}

.img-wrapper>img.smaller {
    width: 70%;
    margin-left: auto;
}

.img-wrapper>img.mb {
    display: block;
}

.img-wrapper>img.pc {
    display: none;
}

.img-wrapper>.cover {
    background-color: white;
    position: absolute;
    width: 100%;
    height: 200%;
    transform: rotate(var(--_cover-angle));
}

.img-wrapper>.line {
    background-color: white;
    position: absolute;
    width: 2%;
    height: 200%;
    transform: rotate(var(--_cover-angle));
}

.cover:nth-child(3) {
    top: -100%;
    left: -68%;
}

.line:nth-child(4) {
    top: -50%;
    left: 43%;
}

.line:nth-child(5) {
    top: -70%;
    left: 95%;
}

.cover:nth-child(6) {
    bottom: -100%;
    right: -97%;
}

/* SECTIONS */

section {
    font-size: 1rem;
    margin-bottom: 5em;
}

.section-title {
    width: fit-content;
    min-width: 9ch;
    text-align: start;
    margin: 0;
    margin-right: auto;
    font-size: 2em;
}

.underlined {
    --_underline-gap: 0.5em;
    position: relative;
    margin-bottom: var(--_underline-gap);
}

.underlined::after {
    content: "";
    border-bottom: 3px solid var(--company-color3);

    position: absolute;
    bottom: calc(var(--_underline-gap) * -1);
    left: 0;
    right: 0;
}

/* ABOUT THIS ROLE SECTION */

.about-this-role {
    padding: 2em var(--main-padding);
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 3em;
}

.about-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

/* BLOCK 1 */

.block-1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
}

.go-back {
    width: fit-content;
    font-size: 1.1em;
    color: #606060;
    transition: margin 0.1s ease-in;
}

.go-back:is(:hover, :focus) {
    color: var(--company-color3);
    margin-left: -1em;
}

#copy-button {
    width: 12ch;
    height: 1ch;
    font-size: 1.1em;
    color: #606060;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75ch;
}

#copy-button::after {
    --_icon-size: 1.5em;
    content: "";
    mask-image: url(/res/imgs/media/career-development/hyperlink-icon.svg);
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    background-color: #606060;

    display: block;
    width: var(--_icon-size);
    height: var(--_icon-size);
}

#copy-button:is(:hover, :focus) {
    color: var(--company-color3);
}

#copy-button:is(:hover, :focus)::after {
    background-color: var(--company-color3);
}

#copy-button:is(:focus) {
    gap: 1.2ch;
}

#copy-button:is(:focus)::after {
    content: "✔";
    mask-image: none;
    background-color: unset;
    color: var(--company-color3);

    font-size: 1.4em;
    width: fit-content;
    height: 0;
    line-height: 0;
}

/* BLOCK 2 */

.block-2 {
    display: flex;
    justify-content: start;
}

#role-description {
    white-space: pre;
    text-wrap: auto;
    word-break: break-word;
    color: #606060;
}

/* BLOCK 3 */

.block-3 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 3em;
}

.side-panel-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 3em;
}

#requirement-list {
    padding: 0;
    margin: 0;
    list-style: square;
    padding-left: 2ch;
    color: #606060;
}

#remuneration {
    margin: 0;
    font-size: 1.45rem;
    color: #606060;
}

#keyword-list {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 0.5em;
}

#keyword-list>li {
    min-height: 45px;
    padding: 0.15em 1.5em;
    display: flex;
    align-items: center;
    user-select: none;

    text-align: center;
    border: 1px solid var(--company-color3);
    color: var(--company-color3);
    transition: background-color 0.1s ease-in, color 0.1s ease-in;
}

#keyword-list>li:is(:hover, :focus) {
    background-color: var(--company-color3);
    color: var(--company-color2);
}

/* BLOCK 4 */

.block-4 {
    display: flex;
    justify-content: start;
}

#responsability-list {
    padding: 0;
    margin: 0;
    list-style: square;
    padding-left: 2ch;
    color: #606060;
}

/* APPLY NOW */

.apply-now {}

.apply-now>h2,
.apply-now-text,
#apply-form {
    padding: 0 var(--main-padding);
    max-width: 70ch;
}

.apply-now>h2 {
    margin: 0 auto;
    width: auto;
    text-align: center;
    font-family: var(--bold-font);
}

.apply-now-text {
    margin: 1em auto;
    text-align: center;
    color: #606060;
}

.mandatory-ic {
    color: var(--red-font-color);
}

#apply-form {
    margin: 3em auto 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;

    position: relative;
}

.form-group>h3 {
    margin: 0.5em 0;
    font-size: 1.15em;
}

.form-group:nth-child(2)>h3,
.form-group:nth-child(3)>h3 {
    padding-left: 1rem;
    margin: 0;
}

.form-group:nth-child(3)>h3 {
    max-width: calc(100% - 4ch);
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-label {
    padding-left: 1rem;
}

.input-group>input {
    border: 1px solid #333333;
    padding: 0.25rem 1.5rem;
    text-overflow: ellipsis;
}

.input-group>input.disabled {
    color: #a7a9ac !important;
    background-color: #c7ccd3 !important;
}

.add-button {
    color: var(--company-color3);
    transition: all 0.1s ease-out;

    position: absolute;
    right: 0;
    top: 0.5rem;
}

.add-button:is(:hover, :focus) {
    transform: scale(1.1);
}

.add-button.disabled {
    display: none;
}

#resume-input,
#supporting-documents-input {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.uploaded-files {
    margin: 0;
    padding: 0.25rem 1.5rem;
    border: 1px solid #333333;

    min-height: 30px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.uploaded-files.disabled {
    color: #a7a9ac !important;
    background-color: #c7ccd3 !important;
}

.uploaded-files.disabled .remove-file-button {
    display: none;
}

.uploaded-files>li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.uploaded-files>li>span {
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}

.remove-file-button {
    color: var(--red-font-color);
    font-family: var(--bold-font);
    background-color: unset;
    border: none;

    transition: all 0.1s ease-out;
}

.remove-file-button:is(:hover, :focus) {
    transform: scale(1.25);
}

.apply-now-button {
    margin-top: 1em;
    padding-bottom: 0.5rem;
    font-family: var(--bold-font);
    font-size: 1em;
    background-color: unset;
    border: none;

    position: relative;

    align-self: center;
    transition: all 0.1s ease-out;
}

.apply-now-button>hr {
    margin: 0;
    border: 1px solid black;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.apply-now-button:is(:hover, :focus) {
    transform: scale(1.05);
}

.apply-now-button.disabled {
    color: black !important;
    cursor: default;
    pointer-events: none;
}

.apply-now-button.disabled>hr {
    border-color: white !important;
}

/* Stay tuned for the most recent updates in the industry! */

.stay-tuned {
    display: flex;
    flex-direction: column;
    padding-bottom: 0 !important;
}

.stay-tuned-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem calc(var(--main-padding) * 2);
    flex: 1;
}

.stay-tuned-text-wrapper>h2 {
    margin: 0.5em 0;
}

.stay-tuned-text-wrapper>* {
    margin: 0;
}

.stay-tuned-text {
    color: #626262;
    text-align: start;
}

.stay-tuned-button {
    width: fit-content;
    font-size: 1.2em;
    color: black;
    border-bottom: 2px solid black;
    text-decoration: none;
    margin: 1em 0;
}

.stay-tuned-button:is(:hover, :focus) {
    color: var(--company-color3);
    border-color: var(--company-color3);
}

.stay-tuned-img-wrapper {
    position: relative;
    /* padding: 2.5rem calc(var(--main-padding) * 2); */
    padding-top: 2.5rem;
}

.stay-tuned-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: left;
}

.stay-tuned-img:is(.green) {
    display: block;
}

.stay-tuned-img:not(.green) {
    display: none;
}

.stay-tuned-img-wrapper:hover>:is(.green) {
    display: none;
}

.stay-tuned-img-wrapper:hover>:not(.green) {
    display: block;
}

@media (width>=768px) {
    section {
        font-size: 1rem;
    }

    .banner-wrapper {
        aspect-ratio: 1920 / 690;
    }

    .banner-title {
        max-width: 39em;
        left: 1em;
        top: 45%;
        transform: translateY(-50%);
    }

    .banner-media {
        padding-bottom: 0;
    }

    .img-wrapper {
        width: 70%;
        margin-left: auto;
        --_cover-angle: 35.5deg;
    }

    .img-wrapper>img.mb {
        display: none;
    }

    .img-wrapper>img.pc {
        display: block;
    }

    .img-wrapper>.line {
        width: 0.75%;
    }

    .cover:nth-child(3) {
        --_pos: -70.9%;
        top: -100%;
        left: var(--_pos);
    }

    .line:nth-child(4) {
        --_pos: 49.5%;
        top: -50%;
        left: var(--_pos);
    }

    .line:nth-child(5) {
        --_pos: 84.5%;
        top: -70%;
        left: var(--_pos);
    }

    .cover:nth-child(6) {
        --_pos: -97%;
        bottom: -100%;
        right: var(--_pos);
    }

    .cover:nth-child(3).smaller {
        left: calc(var(--_pos) + 26%);
    }

    .line:nth-child(4).smaller {
        left: calc(var(--_pos) + 15%);
    }

    .line:nth-child(5).smaller {
        left: calc(var(--_pos) + 10%);
    }

    .cover:nth-child(6).smaller {
        right: calc(var(--_pos) - 5%);
    }

    /*  */

    .block-1 {
        display: flex;
        flex-direction: row;
        gap: 1em;
    }
}

@media (width>=1024px) {
    section {
        font-size: 1.1rem;
    }

    .block-3 {
        flex-direction: row;
    }

    .block-3>.about-wrapper {
        width: 60%;
    }

    .block-3>.side-panel-wrapper {
        width: 40%;
    }

    .stay-tuned {
        flex-direction: row-reverse;
    }

    .stay-tuned-text-wrapper {
        align-items: flex-start;
        max-width: 100ch;
        margin-right: auto;
    }

    .stay-tuned-img-wrapper {
        width: 50%;
        padding: 2.5rem calc(var(--main-padding) * 2) 0 0;
    }

    .stay-tuned-img-wrapper::after {
        bottom: clamp(-190px, -9vw, -90px);
    }

    .stay-tuned-button {
        align-self: end;
    }
}

@media (width>=1440px) {
    section {
        font-size: 1.2rem;
    }

    .block-3>.about-wrapper {
        width: 70%;
    }

    .block-3>.side-panel-wrapper {
        width: 30%;
    }
}