/*===============BLOG PAGE===================*/


/*Hero*/
.hero-blog {
    width: 100%;
    height: 350px;
    background-image: url("../img/hero-blog.jpg"); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}



/*Main*/
section.blog {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 100px;
    padding-top: 50px;
}

.blog .container {
    width: 100%;
    max-width: 1140px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.post {
    width: 80%;
    height: auto;
    margin: 20px;
    padding: 50px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.post .img-container {
    width: 60%;
    display: flex;
    margin: 0 auto;
}

.blog-img {
    display: block;
    max-width: 100%;
    max-height: 300px;
    height: 100%;
    margin: 0 auto;
    margin-bottom: 40px;
}

.blog-title {
    margin-bottom: 15px;
}

.post p {
    margin-bottom: 20px;
}

.post a {
    text-decoration: none;
}

.post a:hover h3 {
    text-decoration: none;
    color: var(--blue-md);
}




/*Media Queries*/

@media (max-width: 1200px) {
    .post {
        width: 80%;
        height: auto;
    }
}


@media (max-width: 992px){

    .hero-blog {
        height: 200px;
        padding: 20px;
    }
}



@media (max-width: 768px) {
    section.blog {
        padding: 50px 1%;
    }

    .post {
        width: 450px;
        height: auto;
    }

    .post .img-container {
        width: 100%;
    }

    .blog-img {
        max-width: 100%;
        max-height: 300px;
        height: 100%;
    }
}


@media (max-width: 450px) {
    .post {
        width: 100%;
        height: auto;
    }
}












/*======================Individual Post Page===============================*/

.post-section {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 100px;
    padding-top: 50px;
}

.post-container {
    width: 100%;
    max-width: 1140px;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 50px 100px;
}

.post-container .img-container {
    width: 80%;
    display: flex;
    margin: 0 auto;
}

.img-container .post-img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 300px;
    height: 100%;
}

.post-container .post-title {
    margin-top: 45px;
    margin-bottom: 25px;
    text-align: center;
}

.post-date {
    font-weight: 400;
    margin-bottom: 15px;
}

.post-container p {
    margin-bottom: 15px;
}






/*Media Queries*/

@media (max-width: 992px) {
    .post-container {
        padding: 50px ;
    }
}

@media (max-width: 768px) {
    section.post-section {
        padding: 50px 5%;
    }

    .post-container {
        background: none;
        box-shadow: none;
        padding: 0;
    }

}