body {
    background-color: #fefefe;
}

/* blog banner */
.blog-banner {
    display: flex;
    padding: 70px 0;
    background: url('../images/page-title-inner.jpg');
    background-position: center center;
    background-size: cover;
    min-height: 460px;
    position: relative;
}

.blog-banner .row {
    height: 100%;
}

/* blog section */
.blog-section {
    display: flex;
    padding: 100px 0;
}

.blog-col {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 15px 0 76px rgba(0, 0, 0, 0.05);
}

.blog-img {
    height: 277px;
    overflow: hidden;
}

.blog-img a {
    display: block;
    height: 100%;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.3s;
}

.blog-col:hover .blog-img img {
    transform: scale(1.05);
}

.blog-detail {
    padding: 35px 30px;
    position: relative;
}

.blog-category {
    background-color: var(--color-secondary);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    margin: 0 5px 5px 0;
    position: absolute;
    left: 30px;
    top: -17px;
    transition: 0.3s;
}

.blog-category:hover {
    background-color: var(--third-color);
}

.blog-category a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--primary-font);
}

.blog-info {
    margin-bottom: 10px;
}

.blog-info .blog-info-text {
    color: #a9b5c9;
    font-family: var(--primary-font);
    font-size: 14px;
}

.blog-info .blog-info-dot {
    color: var(--color-secondary);
    font-size: 24px;
    vertical-align: middle;
}

.blog-heading {
    margin-bottom: 15px;
    line-height: 0.9;
}

.blog-heading a {
    font-size: 20px;
    font-weight: 600;
    font-family: var(--primary-font);
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.blog-heading a:hover {
    color: var(--third-color);
}

.blog-btn a {
    font-family: var(--primary-font);
    font-size: 14px;
    color: var(--third-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.blog-btn a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 80%;
    height: 1.5px;
    background-color: var(--third-color);
    transition: 0.1s;
  }

.blog-btn-arrow {
    margin-left: 7px;
    opacity: 0;
    transition: 0.1s;
}

.blog-btn a:hover::after {
    background-color: rgba(0, 187, 238, 0);
}

.blog-btn a:hover .blog-btn-arrow {
    opacity: 1;
}

/* media query for responsiveness */
@media screen and (max-width: 992px) {
    .blog-banner {
        min-height: 330px;
    }

}

@media screen and (max-width: 768px) {
    .blog-banner {
        min-height: 250px;
    }
}

@media screen and (max-width: 576px) {
    .blog-section {
        padding: 70px 0;
    }

    .blog-heading a {
        font-size: 22px;
    }

    .blog-detail {
        padding: 30px 20px;
    }

    .blog-category {
        left: 20px;
    }
}