/*********
 Section "Cover" --> Main Banner
**********/

.wp-block-cover {
    min-height: 800px;
}

.wp-block-cover .wp-block-cover__inner-container h1,
.wp-block-cover .wp-block-cover__inner-container h2 {
    font-family: 'AvenirLTStd-Medium';
    color: #949494;
    text-shadow: 2px 2px 4px black;
}


/*********
Section "Media & Text" --> 2 sections with image and text
**********/

.wp-block-media-text {
    margin-top: 40px;
    grid-template-columns: 40% 1fr;
}

.wp-block-media-text .wp-block-media-text__content h4 {
    margin-bottom: 30px;
    font-size: 30px !important;
}

.wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr 40%;
}

.wp-block-media-text__media img {
    height: auto;
}


/*********
Section "Talents" --> Last banner in bottom
**********/

.url-container {
    margin-top: 40px;
}

.sections-talents {
    margin-top: 150px;
}

.sections-talents h3 {
    font-weight: inherit;
    background: rgba(0, 0, 0, .01);
}

.sections-talents p {
    font-size: 21.5px;
    text-shadow: 2px 2px 0 black;
    color: #767676;
}

.sections-talents a {
    font-family: 'AvenirLTStd-Light';
    color: var(--white);
    border-bottom: 1px solid var(--linkbottomborder);
    font-size: 16px;
    letter-spacing: 4px;
    background: rgba(0, 0, 0, .01);
}

.url-job-openings {
    float: left;
}

.url-spontaneous-applications {
    float: right;
}

.url-job-openings,
.url-spontaneous-applications {
    outline: none;
    border-bottom: 2px solid var(--linkbottomborder);

}


/*********
RESPONSIVE
**********/

@media screen and (min-width: 1700px) {
    /** Section "Cover" **/
    .wp-block-cover {
        min-height: 1080px;
    }
    /** Section "Talents" **/
    .sections-talents {
        padding: 1em 31%;
    }
}

@media screen and (max-width: 1699px) {
    /** Section "Cover" **/
    .wp-block-cover {
        background-size: contain !important;
    }
    /** Section "Talents" **/
    .sections-talents {
        padding: 1em 31%;
    }
    .sections-talents.sections-talents-ita {
        padding: 1em 29%;
    }
}

@media screen and (max-width: 1500px) {
    /** Section "Talents" **/
    .sections-talents {
        padding: 1em 29%;
    }
    .sections-talents.sections-talents-ita {
        padding: 1em 27%;
    }
}

@media screen and (max-width: 1400px) {
    /** Section "Talents" **/
    .sections-talents {
        padding: 1em 27%;
    }
    .sections-talents.sections-talents-ita {
        padding: 1em 25%;
    }
}

@media screen and (max-width: 1250px) {
    /** Section "Talents" **/
    .sections-talents.sections-talents-ita {
        padding: 1em 20%;
    }
}

@media screen and (min-width: 1201px) {
    .container-sections {
        padding: 50px 150px;
    }
}

@media screen and (max-width: 1200px) {
    .container-sections {
        padding: 50px 80px;
    }
    /** Section "Talents" **/
    .sections-talents {
        padding: 50px 23%;
    }
}

@media screen and (max-width: 1100px) {
    /** Section "Talents" **/
    .sections-talents {
        padding: 50px 20%;
    }
    .sections-talents.sections-talents-ita {
        padding: 1em 17%;
    }
}

@media screen and (min-width: 992px) {
    /** Section "Talents" **/
    .sections-talents br {
        display: none;
    }
}

@media screen and (max-width: 991px) {
    /** Section "Talents" **/
    .sections-talents,
    .sections-talents.sections-talents-ita {
        margin-top: 100px;
        padding: 50px 18%;
    }
    .container-url-job-openings {
        margin-bottom: 25px;
    }
    .sections-talents p {
        font-size: 20px !important;
    }
    .url-container {
        width: 100%;
        margin-top: 25px;
    }
    .url-container-mobile {
        display: inline;
        margin: 0 auto;
    }
    .sections-talents a {
        float: none;
    }
}

@media screen and (max-width: 767px) {
    /** Section "Cover" **/
    .wp-block-cover {
        min-height: auto;
        height: 513px;
        background-size: cover !important;
    }
    h1.has-text-align-center,
    h2.has-text-align-center,
    h3.has-text-align-center {
        font-size: 35px !important;
    }
    /** Section "Talents" **/
    .sections-talents,
    .sections-talents.sections-talents-ita {
        min-height: 513px !important;
        margin-top: 30px;
    }
    .sections-talents p {
        font-size: 16px !important;
    }
    .sections-talents a {
        font-size: 16px;
    }
}

@media screen and (max-width: 600px) {
    /** Section "Media & Text" **/
    .container-sections {
        padding: 0;
    }
    .container-sections div {
        padding: 0 15px 30px 15px;
    }
    .container-sections .wp-block-media-text {
        box-shadow: 0 4px 2px -2px #f1f1f1;
    }
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
        grid-row: 2;
        margin-top: 10px;
    }
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        grid-row: 1;
    }
    .wp-block-media-text .wp-block-media-text__content {
        padding: 0;
        text-align: center;
    }
    .wp-block-media-text .wp-block-media-text__content h4 {
        margin-bottom: 15px;
        font-size: 23px !important;
    }
    .wp-block-media-text__media img {
        max-width: 382px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 576px) {
    /** Section "Cover" **/
    .wp-block-cover {
        min-height: 380px !important;
        height: 380px;
    }
    h1.has-text-align-center,
    h2.has-text-align-center,
    h3.has-text-align-center {
        font-size: 30px !important;
    }
    /** Section "Talents" **/
    .sections-talents img {
        object-position: 75% center;
    }
}

@media screen and (max-width: 500px) {
    /** Section "Talents" **/
    .sections-talents,
    .sections-talents.sections-talents-ita {
        padding: 50px 5%;
    }
    .sections-talents img {
        object-position: 60% center;
    }
}

@media screen and (max-width: 366px) {
    .sections-talents,
    .sections-talents.sections-talents-ita {
        padding: 50px 3%;
    }
}