header {
    max-width: 78.125rem;
    margin: 0 auto;
    margin-bottom: 2.1875rem;
}

.blog-header__container {
    position: relative;
    width: 100%;
    padding-top: 20.8%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.blog-header__container .blog-header__holder {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 991.98px) {

    .blog-header__container {
        padding-top: 25%;
    }
}

@media (max-width: 767.98px) {

    .blog-header__container {
        padding-top: 75%;
    }
}

.blog-header__wrapper {
    padding: 4.0625rem 5.125rem;
    color: #fff;
    height: 100%;
    background-color: var(--background-color-hex);
    background-image: var(--background-image-url);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-header__title {
    padding: 0.9375rem;
    margin-bottom: 0.625rem;
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.2);
}

.blog-header__title h1 {
    font-size: 2rem;
    margin-bottom: 0;
    color: #fff;
}

.blog-header__subtitle {
    padding: 0.75rem 0.9375rem;
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.2);
}

.blog-header__subtitle p {
    margin-bottom: 0;
}

@media (max-width: 1199.98px) {

    header {
        margin-top: 1.4375rem;
        margin-left: 1.4375rem;
        margin-right: 1.4375rem;
    }

    .blog-header__wrapper {
        padding: 3.0625rem 2.125rem;
    }

    .blog-header__title h1 {
        font-size: 1.5rem;
    }

    .blog-header__subtitle p {
        font-size: 0.875rem;
    }
}

@media (max-width: 767.98px) {
    header {
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .blog-header__wrapper {
        padding: 2.0625rem 0.9375rem;
    }

    .blog-header__title h1 {
        font-size: 1.5rem;
    }
}
