/*style sheet*/
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');


.blog-section {
    margin: 20px 0 40px 0;
}

.blog-section h2{
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 30px;
}

.blog-section .container-blog{
    margin: 0 auto; 
    width: 95%;
}

.container-blog .article {
    height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.container-blog .recent {
    background-image: url(../images/b1.png);
}

.container-blog .recent2 {
    background-image: url(../images/b2.png);
}

.container-blog .recent3 {
    background-image: url(../images/b3.png);
}

.container-blog .recent, .recent2, .recent3 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    border: #000;
}


.article .recent-date .recent-text .recent-text a {
    display: flex;
    flex-direction: column;
    line-height: 1.5;    
}

.article .recent-date{
    width: 67px;
    height: 67px;
    top: 1988px;
    left: 46px;
    text-align: center;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04); /*Creates a border around the calendar*/
}

/*Gives the effect of inside padding*/
.article .recent-date-border {
    padding: 5px;
    background: rgba(255, 255, 255, 0.83);
    position: absolute;
}

.recent-date{
    font-family: 'Inter';
   }

.container-blog .increase {
    font-size: 25px;
}

.recent-text {
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
    position: absolute;
    bottom: 60px;
}
.recent-text a {
    font-family: 'Dosis', sans-serif;
    font-weight: 600;
    position: inherit;
    bottom: -30px;
    border-bottom: 1px solid #000;
}
.recent-text span {
    display: inline-block;
    width: 25px;
    height: 1px;
    border-top: 2px solid #000;/* Adjust the size to control the thickness of the line */
    position: inherit; /* Ancestor is on position absolute*/
    bottom: -20px;
    left: 85px;

}

.recent-text a:hover {
    color: #c59400;
    border: none;
}


/*=== MOBILE VIEW ===*/
@media (max-width:599px){
    .blog-section .container-blog {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

/*=== TABLET VIEW ===*/
@media (max-width:899px) and (min-width:600px) {
    .blog-section .container-blog {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

/*=== DESKTOP VIEW ===*/
@media (min-width:900px){
    .blog-section .container-blog {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
}