.block-posts-grid__heading {
  margin-top: 0px;
  margin-bottom: 1rem;
}

.block-posts-grid__subheading {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.block-posts-grid__wrapper {
  overflow: auto;
  height: -moz-fit-content;
  height: fit-content;
  counter-reset: section;
}

.block-posts-grid__wrapper .swiper-slide {
    display: grid;
    -moz-column-gap: 2rem;
         column-gap: 2rem;
    row-gap: 0px
  }

@media (min-width: 768px) {
    .block-posts-grid__wrapper .swiper-slide {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

.block-posts-grid__wrapper .swiper-slide a {
      border-color: var(--gray-100, #f4f4f5);
      border-top-width: 2px;
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      padding-top: 0.75rem;
      padding-bottom: 0.75rem
    }

@media (min-width: 768px) {
      .block-posts-grid__wrapper .swiper-slide a {
        border-style: none;
        margin-left: 0.75rem;
        margin-right: 0.75rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
      }
    }

.block-posts-grid__wrapper .swiper-slide a.first {
        border-top-width: 0px;
      }

.block-posts-grid__wrapper .swiper-slide a.last {
        border-bottom-width: 0px;
      }

.block-posts-grid__wrapper .swiper-slide a img {
        border-radius: 0.375rem;
        align-self: center;
        height: 6rem;
        margin-right: 0.75rem;
        width: 6rem;
      }

@media (min-width: 768px) {
        .block-posts-grid__wrapper .swiper-slide a img {
          height: 10rem;
          width: 10rem;
        }
      }

.block-posts-grid__wrapper .swiper-slide a .block-posts-grid__content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center
      }

@media (min-width: 768px) {
        .block-posts-grid__wrapper .swiper-slide a .block-posts-grid__content {
          align-items: baseline;
        }
      }

.block-posts-grid__wrapper .swiper-slide a .block-posts-grid__content .block-posts-grid__categories {
          display: flex;
          flex-wrap: wrap;
          margin-bottom: 0.5rem;
          gap: 0.25rem;
        }

.block-posts-grid__wrapper .swiper-slide a .block-posts-grid__content h3 {
          font-weight: 700;
          font-size: 1rem;
          line-height: 1.5rem;
          margin-bottom: 0.125rem;
          color: var(--heading-color, #27272a);
        }

@media (min-width: 768px) {
          .block-posts-grid__wrapper .swiper-slide a .block-posts-grid__content h3 {
            font-size: 1.25rem;
            line-height: 1.75rem;
            margin-bottom: 0.5rem;
          }
        }

.block-posts-grid__wrapper .swiper-slide a .block-posts-grid__content p {
          display: none;
          font-size: 0.875rem;
          line-height: 1.25rem;
          color: var(--heading-color, #27272a);
        }

@media (min-width: 1024px) {
          .block-posts-grid__wrapper .swiper-slide a .block-posts-grid__content p {
            display: block;
          }
        }

.block-posts-grid__wrapper .block-posts-grid__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0.5rem;
    padding-top: 1rem;
    position: relative;
    bottom: 0px;
    width: 100%;
  }

.block-posts-grid__wrapper .block-posts-grid__nav > div:first-of-type, .block-posts-grid__wrapper .block-posts-grid__nav > div:last-of-type {
      display: inline-block;
      font-family: var(--heading-font-family), ui-serif, Georgia, Cambria, Times New Roman, Times, serif;
      font-weight: 700;
      font-size: 0.75rem;
      line-height: 1rem;
      color: var(--primary-700, #2471CB);
      width: auto;
    }

.block-posts-grid__wrapper .block-posts-grid__nav > div:nth-of-type(2) {
      display: inline-block;
      max-width: -moz-max-content;
      max-width: max-content;
    }

.block-posts-grid__wrapper .block-posts-grid__nav .swiper-pagination {
      margin-left: 0.5rem;
      margin-right: 0.5rem;
      position: relative;
    }

.block-posts-grid__wrapper .swiper-button-disabled {
    opacity: 0;
  }

.block-posts-grid__wrapper .swiper-pagination-bullet {
    background-color: transparent;
    border-color: var(--gray-200, #e4e4e7);
    border-width: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.5rem;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    opacity: 1;
    color: var(--primary-700, #2471CB);
    width: 1.5rem;
  }

.block-posts-grid__wrapper .swiper-pagination-bullet::before {
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1rem;
    content: counter(section);
    counter-increment: section;
  }

.block-posts-grid__wrapper .swiper-pagination-bullet-active {
    background-color: var(--primary-700, #2471CB);
    --tw-text-opacity: 1;
    color: rgba(255, 255, 255, var(--tw-text-opacity));
  }

.block-posts-grid__wrapper .swiper-slide-active {
    opacity: 1;
  }

.block-posts-grid__wrapper .simple-category {
    border-radius: 0.125rem;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    background-color: var(--guide-background-color);
    color: var(--guide-color);
  }

.block-posts-grid__wrapper .simple-blog-post-category {
    background-color: var(--basics-background-color);
    color: var(--basics-color);
  }

.block-posts-grid__wrapper .simple-guide-category {
    background-color: var(--guide-background-color);
    color: var(--guide-color);
  }

.block-posts-grid__wrapper .simple-advice-category {
    background-color: var(--advice-background-color);
    color: var(--advice-color);
  }

.view-articles-desktop {
  display: flex;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .view-articles-desktop {
    display: block;
  }
}

.view-articles-desktop {
  border: 1px solid #006ff3;
  color:#006ff3;
}

.view-articles-mobile {
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-top: 1rem;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .view-articles-mobile {
    display: none;
  }
}

.view-articles-mobile {
  border: 1px solid #006ff3;
  color:#006ff3;
}
  
  
