

/*
section#blog-section {
    margin: 0 12%;
    margin-top: 0px;
    font-family: "Gills", sans-serif;
    font-style: normal;
    font-weight: normal;

}

section#blog-posts-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px,70%), 1fr));
    grid-template-rows: 365px repeat(1, 4fr);
    width: 100%;
}*/

section#blog-section {
  margin: 0;
  font-style: normal;
  font-weight: 400;
  font-family: "Gills", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

}


section#blog-posts-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-items: center;
  margin-top: 30px;
  gap: 40px;
  max-width: 1840px;

}


div.pagination {
    display: flex;
    justify-content: center;
    width: 100%;
}

div.pagination ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    cursor: pointer;
}

div.pagination button {
    width: 100px;
}

div.pagination button.home-bt {
    margin: 0 5px 0 5px;
}


article.card figure.post {
    display: flex;
    flex-direction: column;
    margin: 0;
}

article.card figure.post img {
    max-height: 700px;
    max-height: 700px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}



article.card figure.post ul.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    list-style: none;
    padding-left: 0px;
    
}

article.card figure.post ul.tags li {
    margin-right: 10px;
    
}
article.card figure.post ul.tags a {
    font-family: "Gills", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    color: #9333EA;
    text-decoration: none;
}

article.card figure p h1.title {
    font-family: "Gills", sans-serif;
    font-style: normal;
    font-weight: 400px;
    font-size: 20px;
}

article.card figure p.resume {
    font-family: "Gills", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    color: #9C9C9C;
}

article.card .post div.statement  h1 {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #9c172f;
}
.card figure.post div.author-date {
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.card figure.post div.author-date a {
    display: flex;
    align-items: baseline;

    

    font-family: "Gills", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
    
    text-decoration: none;
    color: black;
}

.card figure.post div.author-date a img {
    width: 31px;
    height: 33px;
    object-fit: contain;
}

.card figure.post div.author-date p {
    color: #9c9c9c;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    margin-top: 10px;
    margin-left: 10px;
    align-self: center;
}


.card figure.post div.author-date .created-date {
    font-family: "Gills", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    color: #9C9C9C;
}



article.card,
article.main-card,
article.second-card,
article.third-card {
  display: flex;
  align-self: center;
  justify-self: center;
  width: 100%;
  height: 100%;
  margin-left: 0;
  margin-top: 0px;
  justify-content: center;
  max-width: 650px;
}

article.main-card figure.post {
    align-items: center;
    display: flex;
    flex-direction: unset;
    padding-right: 77px;
    gap: 15px;
}

article.main-card figure.post a img.main-img {
    width: 100%;
    height: auto;
}


.main-card figure.post div.author-date a {
    width: 26%;
    justify-content: space-between;
    align-items: baseline;
}



article.second-card figure,
article.third-card figure {
  margin: 0;
}


article.main-card figure.post {
  padding-right: 0px;         
}




article.main-card figure.post,
article.second-card figure.post,
article.third-card figure.post,
article.card figure.post
 {
  width: 90%;
  margin: 0;
  flex-direction: column;
  max-width: 443px;
}

article.card .post div.statement {
  margin-left: 0;
}


.main-card a#img-container {
  max-width: 602px;
}



/* * * * * * * * *
* Blog pagination*
* * * * * * * *  */

.blog-pagination {
    display: block;
    margin-bottom: 20px;
    text-align: center;
}
.blog-pagination > div {
    display: inline-block;
}
.blog-pagination a {
    color: #000; 
    text-decoration: none;
}
.blog-pagination-left {
    text-align: right;
}
.blog-pagination-right {
    text-align: left;
}
.blog-pagination a {
    border-radius: 4px;
    display: inline-block;
    padding: 5px 10px;
    text-align: center;
}
.blog-pagination a:hover,
.blog-pagination a:focus {
    background-color: #8914235e;
    text-decoration: none;
}
.blog-pagination a.elipses {
    border: 0;
}
.blog-pagination a.active {
    background-color: #9c172f;
    color: white;
    pointer-events: none;
    cursor: default;
}
.blog-pagination a.next-link,
.blog-pagination a.prev-link,
.blog-pagination a.last-link, 
.blog-pagination a.first-link{
    background-color: #9c172f;
    color: #fff;
}
.blog-pagination a.next-link:hover,
.blog-pagination a.prev-link:hover,
.blog-pagination a.last-link:hover, 
.blog-pagination a.first-link:hover{
    background-color: #ececec;
    border: solid 2px #9c172f;
    color: #c12d40;
}




@media screen and (width >= 750px) {
  section#blog-section {
    padding: 50px 100px;
  }
  
  section#blog-posts-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 30px;
    width: 100%;
  }
  
  
  article.card.main-card {
    grid-column: 1 / -1;
    width: 100%;
    max-width: unset;
  }
  
  article.main-card figure.post {
    width: 90%;
    display: flex;
    justify-content: center;
    flex-direction: row;
  }
  
  article.main-card figure.post,
  article.second-card figure.post,
  article.third-card figure.post,
  article.card figure.post {
    width: 100%;
    max-width: unset;
  }
  .card figure.post div.author-date .created-date {
    margin-right: 100px;
  }
  
  article.main-card div.statement {
    margin-left: 15px !important;
  }
}

/* * * * * * * * * * * * * * * *
 * Css  responsive for 1200px  *
 * * * * * * * * * * * * * * * */

@media screen and (width >= 1100px) {
  
  section#blog-posts-section {
    grid-template-columns: repeat(3, 1fr);
  }
}


@media screen and (width >= 1500px) {
  article.main-card div.statement {
      margin-left: 0px !important;
  }
  
  .blog-pagination {
    margin: 100px auto 0px;
  }


  }
}