.news-wrapper .right-side {
    margin-right: calc((-100vw + 100%) / 2);
    height: 60rem;
    margin-top: -25rem;
    background-image: url(/wp-content/themes/oceanwp-child/assets/image/news-image.jpg);
}

.news-pattern-bg {
    position: relative;
    padding: 8rem 0 12.5rem;
}

.news-pattern-bg:after {
    content: "";
    background-image: url("/wp-content/themes/oceanwp-child/assets/image/lines-pattern2.svg");
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0;
    margin-left: calc((-100vw + 100%) / 2);
    z-index: -1;
}

.news-post {
    padding: 5rem 0 3rem 3rem;
    border: solid 1px #858585;
}

.news-post-image {
    max-width: 30rem;
    width: 100%;
    max-height: 45rem;
    height: 45rem;
    position: relative;
}

.news-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-details {
    max-width: 46rem;
    margin-right: 8rem;
}

.news-post-image:before {
    content: "";
    background: #A45627;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    opacity: 0;
    transition: ease .3s;
}

.post-info {
    position: absolute;
    margin: 0 3rem 3rem;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
}

.news-post-image:after {
    content: "";
    background: linear-gradient(180deg, #16151400 0%, #161514 100%);
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    right: 0;
    left: 0;
    transition: ease .3s;
}

.news-post-date.common-text-lg {
    font-weight: 200;
    margin-bottom: 0;
    color: white;
}

.news-post-title.common-text-lg {
    font-weight: 700;
    max-width: 24rem;
    color: white;
    margin-bottom: 0;
}

.news-post:hover .news-post-image:before {
    opacity: 0.8;
}


.news-display {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 45px;
}

.single-post .menu-item-21 a {
    border-bottom: solid 5px var(--primary);
    margin-bottom: 0;
}

.single-post-container {
    max-width: 70rem;
    margin: 0 auto 8rem;
}

.single-post-title h3 {
    font-size: 40px;
    line-height: 40px;
    font-weight: 900;
    text-align: center;
    color: var(--primary);
    margin-bottom: 3rem;
}

.single-post-container .learn-more {
    margin-left: auto;
    width: fit-content;
    margin-top: 4rem;
}


@media screen and (max-width: 991px) {
    .news-details {
        margin-right: 2rem;
    }

    .news-wrapper .right-side {
        background-position: bottom;
    }

    .news-display {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: 56px;
    }
}


@media screen and (max-width: 767px) {
    .news-wrapper .right-side {
        height: 22rem;
    }

    .services-details {
        margin-right: 0rem;
    }

    .news-post {
        margin: 0 auto;
    }

    .news-display {
        grid-template-columns: auto;
        grid-gap: 3rem;
    }

    .news-pattern-bg {
        position: relative;
        padding: 3rem 0 10rem;
    }

    .news-details h3 {
        margin-bottom: 1rem;
    }

    .news-details p {
        margin-bottom: 3rem;
    }

    .single-wrapper.common-wrapper {
        padding-top: 11rem;
    }

}

@media screen and (max-width: 576px ) {
    .single-post-title h3 {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 2rem;
    }
}

