/*blog page styles*/
.blog-wrapper {
    color: #fff;
}

.blog-wrapper .float-block {
    background: white;
    margin-bottom: 50px;
    box-shadow: 3px 5px 25px rgba(0, 0, 0, 0.2);
}

.blog-wrapper .item-title {
    position: relative;
    color: #f5c650;
    font: 18px 'Roboto', sans-serif;
    margin: 0 0 20px 0;
    display: block;
}

.blog-wrapper .item-title:hover:before {
    top: 100%;
    width: 80%;
    height: 1px;
}

.blog-wrapper h1,
.blog-wrapper h2,
.blog-wrapper h3,
.blog-wrapper h4,
.blog-wrapper h5,
.blog-wrapper h6 {
    position: relative;
    color: #111;
    font-weight: 600;
    margin-bottom: 20px;
}

.blog-wrapper h1 {
    font-size: 24px;
}

.blog-wrapper h2 {
    font-size: 22px;
}

.blog-wrapper h3 {
    font-size: 18px;
}

.blog-wrapper p {
    margin-bottom: 15px;
}

.blog-wrapper .img-preview-wrapper {
    padding: 30px 30px;
    flex: 0 0 40%;
}

@media (max-width: 768px) {
    .blog-wrapper .img-preview-wrapper {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .img-preview-wrapper {
        padding: 30px 15px !important;
    }
}

.blog-wrapper .img-preview img {
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.blog-wrapper .img-preview {
    position: relative;
    overflow: hidden;
    display: block;
    transition: all 350ms;
}

.blog-wrapper .img-preview::before {
    content: "";
    display: block;
    padding-top: 80%;
}

.blog-wrapper .blog-item-preview {
    padding: 0;
}


.blog-wrapper .read-link {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
}

.read-link .date {
    font: 12px 'Roboto', sans-serif;
    color: #fff;
}

.blog-wrapper .read-link a {
    font: 12px 'Roboto', sans-serif;
    color: #fff;
    display: inline-block;
}

.blog-wrapper .read-link a:hover {
    color: var(--theme-color);
}

.grid-box {
    display: flex;
    margin: 0 0px 35px;
}

@media (max-width: 768px) {
    .grid-box {
        flex-wrap: wrap;
    }
}

.item-text {
    overflow: hidden;
    -webkit-box-orient: vertical;
    font: 12px/1.4em 'Roboto', sans-serif;
    color: #fff;
}

.inner-blog {
    background-color: white;
}

a.img-preview:hover:after {
    content: '';
    display: block;
    background: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.blog-block {
    background-color: transparent;
}

.blog-block + .pagination {
    justify-content: center;
    margin-top: 60px;
}

.responsive-image-block {
    position: relative;
}

.responsive-image-block:before {
    content: '';
    display: block;
    padding-top: 65%;
}

img.responsive-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.blog-block .grid-box {
    margin-bottom: 10px;
    margin-top: 10px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 40px rgb(8 4 109 / 15%);
    max-width: 49%;
    margin-right: 0.5%;
	margin-left: 0.5%;
}
.blog-block {
    display: flex;
    flex-wrap: wrap;
}
.blog-block .grid-box a.item-title {
    color: #333;
    font-weight: 700;
}
.blog-block .grid-box .item-text {
    color: #888;
    font-size: 13px;
}
.blog-wrapper .read-link .date {
    display: none!important;
    color: #999;
}
.blog-wrapper .read-link a:hover {
    color: #857fff;
}
.blog-wrapper a.btn-read_more {
    color: #857fff;
    font-weight: 600;
    font-size: 14px;
}
.blog-block + .pagination {
    justify-content: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

@media (max-width: 992px){
	.blog-block .grid-box {
    max-width: 99%;
}
section._secondary-pages.open-post .owl-background-box {
    padding-top: 0;
}
}