.posts-section {
  width: 100%;
  display: flex;
  align-items: stretch;
}
.posts-section .section__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
  align-items: stretch;
}
.posts-section .section__content {
  width: 100%;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0.2rem;
}

/*  */

.posts-section .posts-grid {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem;
}

/*  */

.posts-section .posts-list {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 0.2rem;
}

/*  */

.posts-section--slider .swiper--main {
  width: 100%;
}
.posts-section--slider .swiper--main > .swiper-wrapper {
}
.posts-section--slider .swiper--main > .swiper-wrapper > .swiper-slide {
  display: flex;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.posts-section--slider .swiper-pagination--main.swiper-pagination-progressbar {
  width: calc(100% - 4.8rem);
  height: 0.2rem;
  position: relative;
  overflow: hidden;
  background-color: rgb(var(--color-bg-contrast-muted-rgb) / 0.2);
  display: block;
  margin: 0 auto 1.6rem;
}
.posts-section--slider
  .swiper-pagination--main.swiper-pagination-progressbar.swiper-pagination-lock {
  display: none;
}
.posts-section--slider
  .swiper-pagination--main.swiper-pagination-progressbar
  .swiper-pagination-progressbar-fill {
  position: absolute;
  background-color: var(--color-accent);
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  transform: scale(0);
  transform-origin: left top;
}

/*  */

.posts-section .section__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 0.2rem;
}
.posts-section .section__action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  /* background-color: rgb(var(--color-bg-contrast-muted-rgb) / 0.08); */
  background-color: var(--color-bg-muted);
  height: 7.2rem;
  padding: 0 2.8rem;
}
.posts-section .section__action .button__text {
  display: block;
}
.posts-section .section__action .button__label {
  display: block;
}
.posts-section .section__action .button__icon {
  display: flex;
  flex-shrink: 0;
}
.posts-section .section__action .button__icon .icon {
  width: 2rem;
  height: 2rem;
}

/*  */

.posts-pagination {
  width: 100%;
  display: flex;
  background-color: rgb(var(--color-bg-contrast-muted-rgb) / 0.08);
  height: 7.2rem;
  padding: 0 2.8rem;
  justify-content: center;
  align-items: center;
}
.posts-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  justify-content: space-between;
  width: 100%;
  padding: 1.2rem 0;
}
.posts-pagination .nav-links .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border: 0.1rem solid rgb(var(--color-bg-contrast-muted-rgb) / 0);
  border-radius: 1.2rem;
  aspect-ratio: 1/1;
}
.posts-pagination .nav-links .page-numbers .icon {
  width: 2rem;
  height: 2rem;
}
/* .posts-pagination .nav-links .page-numbers.prev {
}
.posts-pagination .nav-links .page-numbers.next {
} */
.posts-pagination .nav-links .page-numbers.current {
  border: 0.1rem solid rgb(var(--color-bg-contrast-muted-rgb) / 0.2);
}

/*  */

@media (width >= 1200px) {
  .posts-section .section__heading {
    padding: 0 8rem;
    width: min(100%, 90rem);
  }
  .posts-section .section__title {
    font-size: 6rem;
  }

  /*  */

  .posts-section .posts-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /*  */

  .posts-section--slider
    .swiper-pagination--main.swiper-pagination-progressbar {
    width: calc(100% - 7.2rem);
    margin: 0 auto 1.6rem;
  }

  /*  */

  .posts-section .section__action {
    padding: 0 3.6rem;
  }
}
