@media (min-width: 991px) and (max-width: 1300px) {

    .gallery__photo {
        width: 28.875rem;
    }

}

@media (max-width: 991px) {

    :root {
        --heading1_size: 4.0rem;
        --heading1_lineheight: 1;

        --heading2_size: 2.75rem;
        --heading2_lineheight: 1;

        --heading3_size: 2.0rem;
        --heading3_lineheight: 1.05;
    }

    .container,
    .container-fluid,
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .page-template-studio-template .steps {
        padding: 3rem 1.5rem;
    }
    .single-expertise .hero, .post-type-archive-expertise .hero {
        padding-left: 0;
    }
    .single-expertise .hero .container, .post-type-archive-expertise .hero .container {
        padding-left: 2.5rem;
    }
    footer.footer .justify-content-end {
        justify-content: flex-start !important;
    }
    footer.footer a.button {
        line-height: 2.5;
        margin-right: 15px;
    }
    .page-template-contact-template .contact__title {
        padding-left: 0;
    }
    .page-template-contact-template .contact__form {
        padding-left: 0;
    }
    .single-expertise .impressions__container, .post-type-archive-expertise .impressions__container {
        margin-top: 3rem;
    }
    .single-expertise .faq, .post-type-archive-expertise .faq {
        padding-top: 0;
    }
    .gallery__photo {
        height: 45.5rem;
    }

}

@media (max-width: 768px) {

    :root {
        --heading1_size: 2.4rem;
        --heading1_lineheight: 1;

        --heading2_size: 2.0rem;
        --heading2_lineheight: 1;

        --heading3_size: 1.75rem;
        --heading3_lineheight: 1.05;
    }

    .container,
    .container-fluid,
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .header {
        padding: 1.5rem;
    }
    .page-template-studio-template .content__text {
        font-size: 1.1rem;
        line-height: 1.9rem;
        margin-bottom: 1rem;
    }
    .gfield_consent_label {
        white-space: normal;
    }
    .single-expertise .impressions__container, .post-type-archive-expertise .impressions__container {
        min-height: inherit;
        margin-top: 0;
    }
    .single-expertise .impressions__titles, .post-type-archive-expertise .impressions__titles {
        margin-left: 1.5rem;
    }
    .gallery {
        padding: 1.5rem;
    }
    html.home .section--content .lh-90 {
        line-height: 1.2;
    }
    .gallery figure {
        padding-bottom: 0;
    }
    .footer__copyright {
        display: block;
        width: 100%;
        margin-top: 35px;
    }
    .footer__copyright-text {
        display: block;
        width: 100%;
        line-height: 1;
    }
    .page-template-home-template .hero__title {
        margin-left: 1.5rem;
    }
    .page-template-home-template .links {
        padding: 3rem 0 0;
    }
    .page-template-home-template .links__image {
        width: 100%;
    }
    .page-template-studio-template .content {
        margin-bottom: 3rem;
    }
    .page-template-home-template .links__list {
        margin-bottom: 40px;
    }
    .page-template-execution-template .hero__intro {
        font-size: 1.1rem;
        line-height: 1.9rem;
    }
    .gallery__titles {
        margin-left: 1.5rem;
    }
    .gfield_consent_label {
        white-space: normal!important;
    }
    .gallery figure img {
        height: 250px;
    }
    .single-expertise .hero__image, .post-type-archive-expertise .hero__image {
        height: 22.625rem;
    }
    .single-expertise .hero, .post-type-archive-expertise .hero {
        padding: 3rem 0 2rem;
    }
    .single-expertise .hero__intro, .post-type-archive-expertise .hero__intro {
        font-size: 1rem;
        line-height: 1.8rem;
        margin-bottom: 3rem;
    }
    .accordion-button {
        font-size: 1.2rem;
        line-height: 2rem;
        &:after {
            width: 1rem;
            height: 1rem;
        }
    }
    .single-expertise .faq, .post-type-archive-expertise .faq {
        padding: 2rem 0 4rem;
    }
    .single-expertise .expertise__subtitle, .post-type-archive-expertise .expertise__subtitle {
        margin-bottom: 3rem;
    }
    .footer {
        padding: 3.25rem 0 1rem;
    }
    .single-expertise .expertise, .post-type-archive-expertise .expertise {
        padding: 3rem 1.5rem!important;
    }
    .single-expertise .hero .container, .post-type-archive-expertise .hero .container {
        padding-left: 1.5rem;
    }
    .gallery__content {
        padding: 0 1.5rem;
        font-size: 1.1rem;
    }
    .gallery__photo {
        height: 25.5rem;
    }
    .page-template-studio-template .hero__title {
        margin-left: 1.5rem;
        margin-bottom: 4rem;
    }
    .page-template-studio-template .hero__image {
        height: 16.625rem;
    }
    .page-template-studio-template .steps {
        padding: 3rem 0.5rem
    }
    .page-template-studio-template .steps__title {
        padding-left: 0;
    }
    .page-template-execution-template .steps__title {
        margin-left: 1.5rem;
        font-size: var(--heading2_size);
        line-height: var(--heading2_lineheight);
        max-width: inherit;
    }
    .page-template-execution-template .steps .step__title {
        max-width: inherit;
        padding-left: 1rem;
    }
    .page-template-execution-template .steps .step__content {
        margin-left: 2.0rem;
    }

}