.custom-header-block {
    margin-bottom: 0px !important;
    position: relative;
    overflow: hidden;
}
.custom-header-block.background_darker{
    padding-top: 50px;
    padding-bottom: 0px;
}

.custom-header-block-content{
    margin-top: 50px;
}
.custom-header-block .main_title_section .main-title .custom_heading_proper{
    display: block;
    font-weight: 500;
}

.main-title::before {
    background: var(--primary-color);
    content: '';
    height: 8px;
    width: 100px;
    position: absolute;
    top: -30px;
    z-index: 1;
}

.align_title_left {
    text-align: left;
    justify-content: flex-start;
}

.align_title_left .custom_heading_proper {
    text-align: left;
}
.main-title.align_title_left::before {
    left: 0;
    transform: translateX(0%);
}

.align_title_center {
    text-align: center;
    justify-content: center;
}    
.align_title_center .custom_heading_proper {
    text-align: center !important;
}

.main-title.align_title_center::before {
    left: 50%;
    transform: translateX(-50%);
}

.align_title_right {
    text-align: right !important;
    justify-content: flex-end;
}

.align_title_right .custom_heading_proper  {
    text-align: end;
}
.main-title.align_title_right::before {
    right: 0;
    transform: translateX(0%);
}

.main_title_section {
    width: 100%;
    position: relative;
}

.main-title {
    position: relative; 
    display: flex;
    font-size: 28px;
    margin: 0 0 1.4rem;
}

.main-title.center_title {
    text-align: center;
}

.main-title:not(.center_title) .custom_heading_proper {
    display: block;
    text-align: left;
}

@media(min-width: 768px){
    .main-title{
        font-size: 2.4rem;
    }
}