/* .test-meta {
  color: #d81d69 !important;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
} */


#post_filter {
    padding-top: 10px;
}

.test-blog .nav-tabs .nav-link {
    padding-bottom: 10px !important;
}

#author_filter,
#category_filter
{
    display: none !important;
}

#posts_search input {
  overflow: visible;
  color: #000000;
  background-color: #c9c9c9;
  padding: 5px 20px;
  border: none;
  border-radius: 14px;
  text-transform: uppercase;
  font-weight: bold;
}
.pagi_nav {
  display: flex;
  justify-content: space-between;
  margin: 20px 0px;
  width: 100%;
  max-width: 1360px;
}
.posts_pagination span,
.posts_pagination li {
  color: grey;
  font-size: 24px;
  cursor: pointer;
  font-weight: 600;
}

.posts_pagination li {
  margin: 0px 5px;
}

.posts_pagination li:hover {
  color: #d81d69 !important;
}

.posts_pagination,
.posts_pagination ul {
  display: flex;
  flex-direction: row;
}

#posts_wrapper {
  width: 1360px;
  opacity: 0;
  transition: 0.5s;
}

.test-blog {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1800px;
  margin: 0 auto;
}
#post_filter span {
  display: inline-block;
  margin-right: 10px;
  color: grey;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
}
.post-grid-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr 50px;
  margin-bottom: 40px;
  column-gap: 20px;
  height: 300px;
}
.post-grid-item img {
  grid-row: 1 / span 4;
  grid-column: 1;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border: 2px solid #00000063;
}

.post-grid-item .title {
  grid-row: 1;
  grid-column: 2;
  font-weight: bold;
  line-height: 32px;
  font-size: 32px;
  overflow: hidden;
  height: min-content;
}

.post-grid-item p {
  grid-row: 2;
  grid-column: 2;
  margin-top: 10px;
  height: 75px;
}
.post-grid-item p:after {
  content: "...";
}
.post-grid-item a {
  grid-row: 3;
  grid-column: 2;
  color: #fff !important;
  background-color: #d90368 !important;
  max-width: 150px;
  height: 50px;
  border-radius: 25px;
  border: none;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

#post_filter span:not(:first-of-type):hover {
  color: #d90368 !important;
}
#post_filter span i {
  margin: 0px 5px;
  position: relative;
  top: -3px;
  transform-origin: center;
}
#post_filter span:first-of-type {
  color: #000;
  font-weight: 700;
  margin-right: 30px;
  cursor: auto;
}
.nav-tabs {
  font-size: 14px;
  text-transform: uppercase;
}
.nav-tabs a {
  padding: 0px;
  color: grey !important;
  opacity: 1;
}

.nav-tabs a:not(:last-of-type) {
  margin-right: 20px;
}
a.blog_btn {
  background-color: #d81d69;
  color: #fff;
  width: 140px;
  height: 40px;
  letter-spacing: 1px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  margin-top: 20px;
}

a.blog_btn:hover {
  display: flex !important;
  opacity: 0.5;
}

#blog_header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#top_post img {
  width: 500px;
  height: 300px;
  object-fit: cover;
}

.test-blog section {
  margin: 60px 0px;
  width: 80%;
}

#top_post {
  display: grid;
  grid-template-columns: 500px 500px;
  grid-template-rows: auto auto auto;
  column-gap: 40px;
  row-gap: 10px;
}

#top_post_title {
  grid-column: 2;
  grid-row: 1;
}
#top_post_image {
  grid-column: 1;
  grid-row: 1 / span 3;
}
#top_post_excerpt {
  grid-column: 2;
  grid-row: 2;
}
#top_post_link {
  grid-column: 2;
  grid-row: 3;
}

#top_posts {
  display: flex;
  justify-content: space-between;
}
#top_posts > div {
  margin: 0 20px;
  text-transform: uppercase;
  max-width: 300px;
}
#top_posts img {
  margin-bottom: 20px;
  width: 300px;
  height: 150px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 2px solid #00000063;
}

#content_posts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 50%;
}

@media (max-width: 1024px) {
  #top_post {
    grid-template-columns: 1fr 1fr;
    margin: 40px;
  }
  .nav-link {
    min-width: unset !important;
  }
  #posts_wrapper {
    width: 90vw;
  }
  #posts_wrapper .title {
    height: 65px;
  }
  .pagi_nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  #posts_wrapper > div > img {
    grid-row: 1;
    grid-column: 1;
    border: none;
    aspect-ratio: unset;
    object-fit: unset;
    margin-bottom: 20px;
  }
  #posts_wrapper > div > div:nth-of-type(1) {
    grid-row: 2;
    grid-column: 1;
  }
  #posts_wrapper > div > p {
    grid-row: 3;
    grid-column: 1;
  }
  #posts_wrapper > div > div:nth-of-type(2) {
    grid-row: 4;
    grid-column: 1;
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .posts_pagination span,
  .posts_pagination li {
    font-size: 12px;
  }
  #top_post {
    grid-template-columns: 1fr;
  }
  #top_post > * {
    grid-column: unset;
    grid-row: unset;
  }

  #top_post img {
    height: unset !important;
  }

  #top_posts {
    flex-direction: column;
  }
  #top_posts img {
    margin-bottom: 20px;
    width: 300px;
    height: unset !important;
    aspect-ratio: unset !important;
    object-fit: unset !important;
    border: none !important;
  }

  #top_posts > div {
    margin-bottom: 40px;
  }

  .post-grid-item {
    grid-template-columns: 1fr !important;
    grid-column: unset !important;
    height: unset !important;
    grid-template-rows: auto auto auto auto !important;
  }
  .post-grid-item > * {
    height: unset !important;
  }

  .title {
    font-size: 22px !important;
    line-height: 22px !important;
  }
  .nav-tabs {
    flex-direction: column;
  }
  #tab_menu * {
    font-size: 24px !important;
  }
  .nav-tabs a.nav-link,
  #post_filter span {
    margin-right: 0px !important;
  }

  a.nav-link {
    margin: none !important;
  }

  #post_filter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.newsroom {
  display: flex !important;
}
.newsroom a {
  display: block !important;
}
