.blogs-section {
    width: 100%;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blogs-section-container {
    width: 90%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blogs-section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blogs-section-title h1 {
    font-size: 25px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.blogs-title p {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
}

.blogs-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

article {
    padding: 15px;
    width: 33%;
}

.blog-card {
    width: 100%;
    padding: 15px;
    border-radius: 12.5px;
    border: 1px solid var(--border-light-color);
    box-shadow: 0 0 20px var(--shadow-color);
    display: flex;
    flex-direction: column;
    transition: all 250ms ease-out;
    -webkit-transition: all 250ms ease-out;
}

.blog-card:hover {
    transform: translateY(-12.5px);
    box-shadow: 0 10px 35px var(--shadow-dark-color);
}

.blog-card a {
    width: 100%;
    text-decoration: none;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    border-radius: 7.5px;
    object-fit: cover;
    object-position: top;
}

.blog-card-info {
    width: 100%;
    padding-top: 15px;
}

.blog-card-title {
    font-size: 21px;
    font-weight: bold;
    color:  var(--title-color);
    text-transform: capitalize;
}

.blog-card:hover .blog-card-title {
    color: var(--primary-color);
}

.blog-card-date {
    font-size: 12px;
    color: var(--text-light-color);
    margin: 10px 0px;
}

.blog-card-description {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.75;
}

@media screen and (max-width: 900px) {
    article {
        width: 49%;
    }
}

@media screen and (max-width: 678px) {
    .blogs-section-container {
        width: 100%;
    }
    .blogs-grid {
        flex-direction: column;
        align-items: center;
    }
    article {
        width: 100%;
    }
}