.single-blog-style {
    padding-bottom: 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    border-bottom: 2px solid #f3f3f3;
}

.single-blog-style .image-block {
    position: relative;
    width: 370px;
    height: auto;
    overflow: hidden;
}

.single-blog-style .image-block:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 20, 20, 0.6);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    transition: .5s ease;
    z-index: 1;
}

.single-blog-style .image-block>img {
    height: 100%;
    width: 100%;
    object-position: center;
    object-fit: contain;
}

.single-blog-style .image-block .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 900ms ease;
    transition-delay: .1s;
    -webkit-transform: scale(0);
    transform: scale(0);
    z-index: 2;
}

.single-blog-style .image-block .overlay .box {
    display: table;
    height: 100%;
    width: 100%;
}

.single-blog-style .image-block .overlay .box .content {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.single-blog-style .image-block .overlay .box .content .dotted {
    position: relative;
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
}

.single-blog-style .image-block .overlay .box .content .dotted:before {
    content: '';
    position: absolute;
    top: 0px;
    left: -15px;
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
}

.single-blog-style .image-block .overlay .box .content .dotted:after {
    content: '';
    position: absolute;
    top: 0px;
    right: -15px;
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
}

.single-blog-style .text-block {
    margin-left: 30px;
}

.single-blog-style .text-block .meta-info span {
    font-weight: 600;
    color: var(--main-color);
    transition: all .4s ease;
}

.single-blog-style .text-block h3,
.single-blog-style .text-block p {
    margin: 0;
}

.single-blog-style .text-block h3 {
    margin: 0;
    margin-top: 6px;
    margin-bottom: 45px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
}

.single-blog-style .text-block p {
    margin: 0;
    margin-bottom: 44px;
}

.single-blog-style:hover .image-block:before {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    transition: .5s ease;
}

.single-blog-style:hover .image-block .overlay {
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: all 900ms ease;
    transition-delay: .5s;
}

.single-blog-style .thm-btn {
    padding: 10px 40px;
    color: #fff;
    background-color: var(--main-color);
}

.single-blog-style .thm-btn:hover {
    background-color: var(--main-color-dark);
}

@media (max-width: 991px) {
    .single-blog-style .image-block {
        width: 300px;
    }
}

@media (max-width: 767px) {
    .sec-pad {
        padding: 60px 0;
    }

    .single-blog-style {
        padding-bottom: 35px;
        margin-bottom: 35px;
        align-items: center;
        flex-direction: column;
    }

    .single-blog-style .image-block {
        width: 100%;
    }

    .single-blog-style .text-block {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    .single-blog-style .text-block h3 {
        margin-bottom: 30px;
    }

    .event .blog-post-pagination {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .sec-pad {
        padding: 40px 0;
    }
}
