#case-studies {
    position: relative;
    margin-top: 50px;
    margin-bottom: 80px;
}
#top-content:before {
    height: 68%
}

@media (min-width: 768px) {
    #case-studies {
        position: relative;
        /*margin-top: 0px;        */
    }
}
#case-studies:before {
    content: "";
    background-image: url(/wp-content/themes/maxcanvas_child/images/case-studies/top.jpg);
    position: absolute;
    width: 100%;
    height: 100%;
    top: -130px;
    right: -70px;
    background-position: top center;
    background-size: calc(92%);
    background-repeat: no-repeat;
    z-index: -1;
}

#case-studies:after {
    content: "";
    background-image: url(/wp-content/themes/maxcanvas_child/images/case-studies/bottom.png);
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -70px;
    right: 0;
    background-position: bottom center;
    background-size: calc(95%);
    background-repeat: no-repeat;
    z-index: -1;
}

#case-studies .archive-logo {
    max-height: 90px;
    width: auto !important;
    max-width: auto !important;
    margin: 0 auto;
    text-align: center;
    display: block;
}


#case-studies .article-item {
	box-shadow:  none;
	background-color: rgba(255, 255, 255, .6);
}

#case-studies .article-item .blog-image {
    width: 100%;
    padding-bottom: 64%;
    background-position: center;
    background-size: cover;
    max-height: 350px;
    /*margin-bottom: 15px;*/
}

#case-studies .article-item .entry-content {
    position: static;
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.71;
    /*margin-top: 10px;*/
    /*padding: 0 15px;*/
    padding: 15px 0;
    margin: 0 0 10px 0;
    text-align: left;
    letter-spacing: normal;
    color: #000;
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    background-color: transparent;
}

#case-studies  .article-item .title {
    font-size: 24px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 33px;
    margin: 0 0 10px;
    text-align: left;
    letter-spacing: normal;
    display: block;
}

.article-item p{
	margin: 0;
}

.entry-content .logo {
    text-align: center;
    margin: 0 auto 30px;
    max-height: 150px;
    display: block;
}

.case-studies-header {
    margin-bottom: 20px;
    width: 100%;
}

.case-studies-header img {
    max-height: 100px;
    width: auto;
    max-width: fit-content;
}

.single-case-studies #top-content .content h1 {
    margin-bottom: 10px
}

.single-case-studies #top-content .content p {
    font-weight: 600;
    line-height: 1.5em;
    margin: 0 0 30px;
    font-size: 18px;
}

.case-studies-tag {
    color: #000;
    font-size: 14px;
    margin-top: 5px;
    display: inline-block;
}

.addtoany_list a {
    background: rgb(125 196 86 / 20%);
    border: none !important;
}
.addtoany_list a svg{
    fill: #7DC456;
}

.recent-posts-row .article-item .image {
    margin-bottom: 0;
    min-height: 222px;
    max-height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.recent-posts-row .article-item .image:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 50%);
    z-index: 0;
}

.recent-posts-row .post-nav-link {
    font-size: 27px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 2;
    display: block;
    transition: .2s;
    text-align: left;
    letter-spacing: normal;
    color: #fff;
    position: relative;
}

.recent-posts-row .article-item .title {
    font-size: 22px;
    font-weight: 500;
}
.recent-posts-row .article-item .entry-meta {
    font-size: 16px;
}

.modal-content {
    background: transparent;
    box-shadow: none;
    border: none;
    text-align: center;
}

.modal-header {
    border: none;
}