.liste_item {
  align-items: center;
  .item {
    .head {
      overflow: hidden;
    }
    img {
      transition: all 0.5s ease-out;
    }
    &:hover {
      img {
        transform: scale(1.05);
      }
    }
    @screen md {
      &:nth-child(6n + 1),
      &:nth-child(6n + 4) {
        img {
          aspect-ratio: 3/4;
          object-fit: cover;
        }
      }
      &:nth-child(6n + 2),
      &:nth-child(6n + 3),
      &:nth-child(6n + 5),
      &:nth-child(6n + 6) {
        img {
          aspect-ratio: 4/3;
          object-fit: cover;
        }
      }
    }
  }
}

.wp-block-group,
.wp-block-columns {
  @apply w-full max-w-3xl px-5 mx-auto;
  &.alignwide {
    @apply max-w-7xl px-5;
  }
  &.alignfull {
    @apply max-w-none px-0;
  }
}

.page-gutenberg .gutemberg-container,
body.wp-admin.post-type-guide .editor-styles-wrapper {
  .guide-meta {
    @apply text-[0.8125rem] mt-2 italic tracking-[0.04063rem];
  }

  .yoast-table-of-contents {
    @apply p-12 pt-6 flex flex-col space-y-6 border border-gold;
    h2 {
      @apply font-heading text-base tracking-[0.15938rem] uppercase mb-0;
    }
    a {
      @apply text-black hover:underline;
    }
    ul {
      list-style-type: decimal;
      padding-left: 1.2rem;
      > li > ul {
        list-style-type: lower-alpha;
        padding-left: 1.2rem;
      }
    }
  }

  a {
    @apply text-gold hover:underline;
  }
  h1 {
    @apply font-heading text-3xl lg:text-4xl font-normal uppercase leading-tight text-center tracking-wide text-pretty;
  }
  h2 {
    @apply font-heading text-2xl tracking-[0.21563rem] uppercase  text-pretty;
  }
  h3 {
    @apply text-[1.375rem] font-semibold tracking-[0.06875rem];
  }

  strong {
    @apply font-bold;
  }

  .wp-block-table {
    table {
      border: none;
      // border-spacing: 10px;
      // border-collapse: separate;

      thead {
        border: none;
        tr {
          gap: 5px;
        }
        th {
          border: none;
          border-right: 5px solid #ffffff;
          background-color: #f7f7f7;
          &:last-child {
            border-right: none;
          }
        }
      }
      tbody {
        border: none;
        tr {
        }
        td {
          border: none;
          border-bottom: 1px solid #ccc;
          padding: 1.5rem 0;
          font-size: 0.9375rem;
          font-weight: 400;
          letter-spacing: 0.04688rem;
          vertical-align: middle;
          &:first-child {
            font-weight: 700;
            text-transform: uppercase;
          }
        }
      }
    }
  }
}
