/***** Page Hero ******/
.sub-page-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
}
.sub-page-hero--img {
    position: absolute;
    top: 0; 
    bottom:0;
    left:0;
    right:0;
    width: 100%;
    height: 100% !important; 
    object-fit: cover;
    object-position: center;
}
.sub-page-hero--container {
    padding-top: 0;
    padding-bottom: 0;
}
.sub-page-hero--content-wrapper {
    position: relative;
    max-width: 33%;
    height: 100%;
    z-index: 1;
    padding: 90px 20px 90px 0px;
    color: var(--e-global-color-primary);
}
.sub-page-hero--content-inner {
    content: '';
    position: absolute;
    top: -25%;
    left: -10%;
    z-index: 1;
    width: 120%;
    aspect-ratio: 1;
    background-color: var(--e-global-color-secondary);
    transform: rotate(-6deg);
}

@media screen and (max-width: 1200px) {
    .sub-page-hero--content-wrapper {
        max-width: 60%;
    }
    .sub-page-hero--content-inner {
        top: -20%;
        left: -20%;
        width: 120%;
        transform: rotate(10deg);
    }
}

@media screen and (max-width: 768px) {
    .sub-page-hero--content-wrapper {
        max-width: 100%;
        padding: 50px 0px 80px;
    }
    
}

.sub-page-hero--title, .sub-page-hero--content{
    position: relative;
    z-index: 2;
}

h1.sub-page-hero--title {
    font-size: 48px;
    margin-bottom:0px;
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: var(--e-global-typography-primary-font-weight);
} 

.sub-page-hero--content {
    font-family: var(--e-global-typography-text-font-family);
    font-weight: var(--e-global-typography-text-font-weight);
    font-size: 28px;
}

@media screen and (max-width: 1550px){

    h1.sub-page-hero--title{
        line-height:55px;
    }
}
@media screen and (max-width: 1550px){
    h1.sub-page-hero--title{
        line-height:50px;
        font-size: 40px;
        margin-bottom: 15px;
    }
}
@media screen and (max-width: 767px){
    h1.sub-page-hero--title{
        line-height:45px;
        font-size: 35px;
    }
}
@media screen and (max-width: 768px){
    .sub-page-hero--content-inner{
        top: -40%;
        left: -20%;
        width: 200%;
        height: 200%;
        transform: rotate(0deg);
    }
}