/*
 Theme Name: Destination Motivation Child
 Theme URI: https://destinationmotivationportal.com/
 Description: Child theme for Destination Motivation
 Author: Your Name
 Template: hicrm
 Version: 1.0.0
*/


.page.page-id-940
{
    padding: 30px;
}

.upload-errors .upload-error {
    color: #000;
    font-weight: bold;
}

.hero{
    position: relative;
    padding: 120px 0;
}

.hero .featured-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title__wrapper{
    position: relative;
    z-index: 2;
    background-color: #00142C;
    padding: 30px 16px;
}

.hero-title{
    text-align: center;
    color: white;
    font-size: 70px;
    margin: 0 auto;
    max-width: 1000px;
}

@media screen and (max-width: 992px) {
    .hero-title{
        font-size: 50px;
    }
}

@media screen and (max-width: 768px) {
    .hero-title{
        font-size: 46px;
    }
}



.container{
    max-width: 1440px;
    padding: 0 16px;
    margin: 0 auto;
}

.content-box__wrapper{
    display: flex;
    flex-wrap: wrap;
}

.left-part__wrapper,
.right-part__wrapper{
    width: 50%;
    padding: 40px 20px;
    letter-spacing: 0.9px;
    color: #00142C;
    box-sizing: border-box;

    p{
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 45px;
    }

    ul{
        margin: 0 0 45px 0;
        font-size: 18px;
        line-height: 1.3;
    }
}

.right-part__wrapper{
    border-left: 6px solid #FF8F00;
}

@media screen and (max-width: 768px) {

    .left-part__wrapper,
    .right-part__wrapper{
        width: 100%;
        padding: 20px 0;
    }

    .right-part__wrapper{
        border-left: unset;
        border-top: 6px solid #FF8F00;
    }

}

.right-part__content p:has(img) {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    gap: 45px;

    img{
        width: 100%;
    }
}

.right-part-image{
    width: fit-content;
    margin: 0 auto;
    display: block;
}