.wrap__list-posts {
  position: relative;
  padding: 13.1rem 8.61% 0 24.44%;
}

.wrap__list-posts .title-with-sep-left.wp-block-query-title {
  font-size: 0;
  gap: 0;
}

.wrap__list-posts .title-with-sep-left.wp-block-query-title span {
  display: block;
  font-size: 2.8rem;
  padding-left: 2.4rem;
}

.list__posts {
  position: relative;
  margin-top: 9.4rem;
}

.list__posts .item__post {
  position: relative;
  padding-top: 4rem;
  border-bottom: 1px solid #D6D6D6;
}

/* .list__posts .item__post:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.1rem;
  width: 0;
  height: 3px;
  background: var(--color-yellow);
  transition: all .8s ease-in-out;
}

.list__posts .item__post:hover:before {
  width: 100%;
} */

.list__posts li:first-child .item__post {
  padding-top: 0;
}

.list__posts .item__post .item__post-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.list__posts .item__post .item__post-meta time {
  display: inline-block;
  font-size: 1.4rem;
  line-height: 1.7rem;
  font-weight: 330;
  letter-spacing: 0.02em;
}

.list__posts .item__post .item__post-meta time a {
  color: black;
}

.list__posts .item__post .item__post-meta .wp-block-post-terms {
  display: inline-flex;
  gap: 0.8rem;
  margin-top: 0;
}

.list__posts .item__post .item__post-meta .wp-block-post-terms a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
  background-color: #ffd500;
  font-size: 1.2rem;
  line-height: 1.4rem;
  font-weight: 330;
  letter-spacing: 0.05em;
  padding: 0 0.7rem;
  min-height: 1.8rem;
  /* border: 1px solid #333; */
  border-radius: 100em;
  overflow: hidden;
  opacity: 1;
}

/* .list__posts .item__post .item__post-meta .wp-block-post-terms a::before {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  background-color: #ffd500;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
  z-index: -1;
}

 .list__posts .item__post .item__post-meta .wp-block-post-terms a:hover {
  border-color: #ffd500;
} 

.list__posts .item__post .item__post-meta .wp-block-post-terms a:hover::before {
  animation: animation-button 1.2s;
} */

@keyframes animation-button {
  0% {
    transform: scaleX(0);
  }

  33.33% {
    transform: scaleX(1);
  }

  66.67% {
    transform: scaleX(1) translateX(0);
  }

  100% {
    transform: scaleX(1) translateX(100%);
  }
}

.list__posts .item__post .item__post-meta .wp-block-post-terms .wp-block-post-terms__separator {
  display: none;
}

.list__posts .item__post h3 {
  font-size: 1.6rem;
  line-height: 1.9rem;
  font-weight: 330;
  color: #333;
}

.list__posts .item__post h3 a {
  display: inline-block;
  min-width: 50%;
  opacity: 1;
  padding-bottom: 3.8rem;
}

.layout-footer {
  margin-top: 11.7rem;
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .wrap__list-posts {
    padding-right: 5.6rem;
  }
}

@media screen and (max-width: 1023px) {
  .wrap__list-posts {
    padding-inline: 3.6rem;
  }

  .list__posts {
    margin-top: 5rem;
  }

  .list__posts .item__post .item__post-meta .wp-block-post-terms a {
    background-color: var(--color-yellow);
  }

  .layout-footer {
    margin-top: 0;
  }
}

@media screen and (max-width: 767px) {
  .wrap__list-posts {
    padding: 2.2rem;
  }

  .list__posts {
    margin-top: 3.1rem;
  }

  .list__posts .item__post {
    padding-top: 2.6rem;
  }

  .list__posts .item__post .item__post-meta time {
    font-size: 1.3rem;
  }

  .list__posts .item__post h3 {
    font-size: 1.3rem;
    line-height: 1.8rem;
  }

  .list__posts .item__post h3 a {
    padding-bottom: 2.6rem;
  }

  .list__posts .item__post .item__post-meta .wp-block-post-terms a {
    font-size: 1rem;
  }
}