/* ====================== */
/* section header */
/* ====================== */

.menu-header{
    padding-top: 1rem;
}

#main-home {
    display: flex;
    flex-direction: row;
}

#main-home section {
    /* border: 1px solid black; */
    width: 60vw;
    margin-left: 2rem;
    margin-right: 2rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

#main-home section img {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    background-color: transparent;
}

.wp-block-heading {
    margin-left: 1rem;
}

#main-home section p {
    margin-left: 1rem;
    margin-right: 1rem;
}

#main-home section .post-title {
    margin-top: 1rem;
    font-weight: bolder;
    margin-left: 1rem;
    margin-right: 1rem;
}

#main-home section .post-meta {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    border-bottom: 0.5px solid black;
}

#main-home section .post-meta .post-author {
    margin-left: 1rem;
}

#main-home section .post-meta .post-date {
    margin-right: 1rem;
}


#main-home aside {
    /* border: 1px solid black; */
    width: 35vw;
    margin-top: 2vw;
    margin-bottom: 2vw;
    padding-left: 1.5vw;
    padding-right: 1.5vw;
}

#main-home aside .card {
    padding: 2vh;
    margin-bottom: 3vh;
    background-color: black;
}

aside .card img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#main-home aside .card .post-meta .post-author  {
    font-weight: bolder;
    color: white;
}

#main-home aside .card .post-meta .post-date {
    color: white;
}

#main-home aside .card .post-title a  {
    text-decoration: none;
    color: white;
}

#main-home aside .card .post-title a:hover  {
    text-decoration: underline;
}

#main-home aside .card p {
    color: white;
}

@media (max-width: 1150px) {
    .menu-header{
        display: none;
    }

    #main-home {
        display:block;
    }

    #main-home section {
        width: 100vw;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    #main-home section img {
        width: 95%;
    }

    #main-home section .post-title { 
        width: 80vw;
    }

    .wp-block-heading {
        width: 60vw;
    }
    
    #main-home section p {
        width: 85vw;
    }

    #main-home aside {
        width: 100%;
    }

    #main-home section .post-meta {
        display: flex;
        flex-direction: column;
        width: 90%;
    }
    #main-home section .post-meta .post-date {
        margin-left: 1rem;
    }
}

@media (max-width: 1150px) {
    #main-home section {
        width: 90vw;
    }
}
  