
.section-blog {
    padding-top: 40px;
    padding-bottom: 40px;
}

.section-blog h2,
.section-blog .h2 {
    margin-bottom: 32px;
}

.blog-preview {
    background: #FFF;
    border-radius: 16px;
    padding: 8px;
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-preview__recommend {
    background: #F1F4FE;
}
.blog-preview__img {
    height: 252px;
    border-radius: 12px;
    overflow: hidden;
}
.blog-preview__img img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}
.blog-preview__info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-preview__title {
color: #121318;
margin-bottom: 16px;
text-decoration: none;
}
.blog-preview__title:hover {
    color: #121318;
    text-decoration: underline;
}
.blog-preview__date {
    margin-top: auto;
}

@media (max-width: 1199px) {
.blog-info .btn {
    margin-top: 16px;
} 
.blog-info .h3 {
    margin-bottom: 8px;
}
.blog-img {
    margin-bottom: 16px;
}

 
    .row-blog {
     display: flex;
      flex-wrap: nowrap;
      overflow: hidden;
      overflow-x: auto;
      justify-content: left;
      padding-left: 24px;
      padding-right: 24px;
    }
    .row-blog > * {
        flex: 0 0 auto;
    }


}

@media (max-width: 767px) {
    .blog-preview__img {
        height: 208px;
    }
    .blog-preview__title {
        margin-bottom: 12px;
    }
    .row-blog > * {
        width: 288px;
    }
    .row-blog .blog-preview__img {
        height: 180px;
    }

}