/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.blog-card {
    min-width: 394px;
    max-width: 394px;
    border-radius: 28px;
    overflow: hidden;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.blog-card:hover {
    -webkit-transform: scale(1.02);
        -ms-transform: scale(1.02);
            transform: scale(1.02);
}

.blog-card__img-container {
    height: 228px;
    overflow: hidden;
}
.blog-card__img-container img {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
       object-fit: cover;
}

.blog-card__content {
    background-color: white;
    padding: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}

.blog-card__category {
    background-color: #EEEFF5;
    color: #2A2243;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
    font-family: "Urbanist-SemiBold";
    margin-bottom: 16px;
    display: inline-block;
    -ms-flex-item-align: start;
        align-self: flex-start;
}

.blog-card-title {
    font-size: 20px;
    width: 100%;
    line-height: 1.4;
    font-family: "Urbanist-SemiBold";
    color: #2A2243;
    margin-bottom: 32px;
}

.blog-card-excerpt {
    font-size: 16px;
    line-height: 1.6;
    font-family: "Urbanist-Regular";
    color: #2A2243;
    margin-bottom: 16px;
}

.blog-card-link {
    margin-top: auto;
    display: inline-block;
    text-align: right;
    font-size: 16px;
    color: #4A8AF3;
    font-family: "Urbanist-Medium";
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: 1px;
}

.blog-card-link:hover {
    border-bottom: 2px solid #4A8AF3;
    color: #4A8AF3;
}

@media (max-width: 550px) {
    
    .blog-card {
        min-width: inherit;
        max-width: inherit;
        width: 100%;
    }

}