.single-team-members {
   & .image_with_text {
        & .image_with_text_inner {
          & .content {
            & h1 {
               font-size: 40px;
            }
            & p b {
                display: block;
                font-size: 24px;
                font-weight: 400;
                color: #1E1E1E;
                padding-bottom: 2rem;
             }
          }
        }
      }
}



.image_with_text {
    & .reverse_section {
        grid-template-columns: repeat(2, 1fr)!important;
        gap: 60px;
        flex-direction: column-reverse!important;
        & .content {
            order: 2!important;
        }
        & .image {
            order: 1!important;
            width: 100%;
            height: 100%;
        }
    }
    & .image_with_text_inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 80px;
        align-items: center;
        border-radius: 32px;
        padding: 60px 80px;
        &.remove_padding {
            padding: 0 !important;
            background: none !important;
        }
        & .content {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            &.content--gradient-bg {
                background: linear-gradient(90deg, #1E1E1E 0%, #3E3E3E 100%);
                padding: 7rem;
                border-radius: 3rem;
                height: 100%;
                h2, 
                h3,
                h4,
                h5,
                h6 {
                   margin-bottom: 24px;
                   margin-top: 0;
                   font-size: 40px;
                   line-height: 1.1;
                   font-weight: 400;
                   color: #fff;
                }
                & p {
                    font-weight: 400;
                    line-height: 1.5;
                    color: #fff;
                }
                & a {
                    color: #fff;
                }
                @media (max-width: 1509px) {
                    padding: 3rem;
                }
            }
            h2, 
            h3,
            h4,
            h5,
            h6 {
               margin-bottom: 24px;
               margin-top: 0;
               font-size: 40px;
               line-height: 1.1;
               font-weight: 400;
               color: #1E1E1E;
            }


            & p {
                font-weight: 400;
                line-height: 1.5;
                color: #3A3A3A;
            }
            a {
                color: #1E1E1E;
            }
            .btn_primary{
                color: #fff;
                &.btn_primary--transparent {
                    color: #1E1E1E;
                }
            }
            & .btn_wrapper {
                margin-top: 40px;
                display: flex;
                flex-wrap: wrap;
                gap: 16px;
                align-items: center;
            }
        }
        & .image img {
            width: 100%;
            height: 100%;
            border-radius: 24px;
            object-fit: cover;
            display: block;
        }
    }
    @media (max-width: 992px) {
        & .image_with_text_inner {
            display: flex!important;
            flex-direction: column;
            margin: 0;
            padding: 44px 16px 16px;
            gap: 4rem;
            & .content {
                text-align: center;
                align-items: center;
            }
        }
        & h2 {
            margin-bottom: 20px!important;
            font-size: 34px;
        }
        & h3 {
            font-size: 10px!important;
        }
        & h4 {
            font-size: 10px!important;
        }
        & br {
            display: none!important;
        }
    }
}

@media (max-width: 991px) {
    .image_with_text .image_with_text_inner .content {
        top: unset;
        text-align: center;
        align-items: center;
    }
}

