/* ====================== */
/* section header */
/* ====================== */

.menu-header{
    padding-top: 1rem;
}

#main-home {
    display: flex;
    flex-direction: row;
    gap: 5%;
}

#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: 25px;
    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;
    display: none;
}

#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: 0rem;
    background-color: transparent;
    border:none;
    width: 70%;
}


aside h2 {
    margin-bottom: 3rem;
    color: black;
}

.surround {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.surround .surrounded {
  padding: 16px 16px;
  border: none;
  background: none;
  outline: none;
  color: black;
  text-decoration: none;
}

.surround svg {
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

#svg-news {
  width: 100%;
}

.surround path {
  stroke: #02326c;
  stroke-width: 3px;
  stroke-dasharray: 0 1500;
}

.surround:hover path {
  animation: draw 1s forwards;
}

@keyframes draw {
  from {
    stroke-dasharray: 0 1500;
  }

  to {
    stroke-dasharray: 1500 1500;
  }
}

aside .card img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#main-home aside .card .post-meta .post-author  {
    font-weight: bolder;
    margin-top: 0.5rem;
}

#main-home aside .card .post-meta .post-date {
    display:none;
}

#main-home aside .card .post-title a  {
    text-decoration: none;
    color: black;
} 

#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;
    }
}
  