header {
    background-color: #9be1fd;
}

.editorial-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #9be1fd;
}

.editorial-header h1 {
    margin: 3rem 1.5rem 1.75rem;
    color: #153e5c;
    font-weight: 900;
    font-size: 2.5rem;
    text-align: center;
}

.editorial-header__container {
    display: flex;
    align-items: center;
}

.editorial-header__item {
    display: flex;
    align-items: center;
    margin: 0.75rem 1.5rem 4rem;
}

.editorial-header__item__img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 24px 0 #5970911f;
}

.editorial-header__item p {
    max-width: 11.875rem;
    margin-bottom: 0;
    margin-left: 1rem;
    line-height: 1.5;
}

.editorial-header__background-img_mobile {
    display: none;
    margin-top: 1.25rem;
}

.first-background-img {
    margin-right: 2.5rem;
}

.second-background-img {
    margin-left: 2.5rem;
}

.editorial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1rem;
}

.editorial-content__text-container {
    margin-bottom: 1.5rem;
}

.editorial-content__text-container,
.editorial-content__author-list,
.editorial-team-container {
    width: 100%;
    max-width: 64.625rem;
}

.editorial-team-container {
    padding: 0 12px;
}

.editorial-content__text-container h2 {
    color: #153e5c;
    font-weight: bold;
}

.editorial-content__text-container p {
    margin-bottom: 0.5rem;
}

.editorial-content__author-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.editorial-content__author-picture {
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
}

.editorial-content__author-info {
    width: 17.25rem;
}

.editorial-content__author-info :is(h2, h3) {
    color: #153e5c;
    font-weight: bold;
    font-size: 1.5rem;
}

.editorial-content__author-info .author-post {
    margin-bottom: 0.5rem;
    color: #809db0;
    font-weight: bold;
    line-height: 1.125rem;
    text-transform: uppercase;
}

.recruitment-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem;
    background-color: #00b0f4;
}

.recruitment-banner h2 {
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: bold;
    font-size: 2rem;
}

.recruitment-banner a {
    padding: 1rem;
    border-radius: 8px;
    background-color: #ffffff;
    color: #039de0;
    font-weight: 900;
    font-size: 1.25rem;
    text-decoration: none;
}

@media (max-width: 1300px) {
    .editorial-header h1 {
        margin: 1rem 1.5rem 1.25rem 1.5rem;
        font-size: 1.75rem;
    }

    .editorial-header__container {
        flex-direction: column;
    }

    .editorial-header__item {
        margin: 0.75rem 0;
    }

    .editorial-header__item__img-container {
        width: 3.375rem;
        height: 3.375rem;
    }

    .editorial-header__item__img-container img {
        width: 2rem;
        height: 2rem;
    }

    .editorial-header__background-img_desktop {
        display: none;
    }

    .editorial-header__background-img_mobile {
        display: block;
    }

    .editorial-content__text-container {
        margin-bottom: 1rem;
    }

    .recruitment-banner {
        padding: 2.5rem;
    }

    .recruitment-banner h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .recruitment-banner a {
        width: 15.125rem;
        font-weight: bold;
        font-size: 1rem;
    }
}

@media (max-width: 800px) {
    .editorial-content__author-container {
        flex-direction: column;
        padding: 1.5rem;
        gap: 16px;
    }

    .editorial-content__author-picture {
        width: 6.25rem;
        height: 6.25rem;
    }

    .editorial-content__author-info {
        width: auto;
    }

    .editorial-content__author-info :is(h2, h3) {
        margin-bottom: 0.25rem;
        font-size: 1rem;
        line-height: 1.25;
    }

    .editorial-content__author-info .author-post {
        width: 10.875rem;
        margin-bottom: 0.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 365px) {
    .editorial-content__author-picture {
        width: 5.5rem;
        height: 5.5rem;
    }

    .editorial-content__author-info {
        margin-left: 1rem;
    }

    .editorial-content__author-info .author-post {
        width: auto;
    }
}
