.section-posts {
  width: 100%;
  display: flex;
  align-items: stretch;
}
.section-posts .section__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3.6rem;
  align-items: stretch;
}
.section-posts .section__heading {
  width: 100%;
  padding: 0 2.8rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
@media (width >= 1200px) {
  .section-posts .section__heading {
    padding: 0 8rem;
  }
}
.section-posts .section__title {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-h2);
  line-height: var(--line-height-tight);
}
.section-posts .section__subtitle {
  margin-top: 1.2rem;
  font-size: var(--font-size-md);
  max-width: var(--text-width);
}
.section-posts .section__content {
  width: 100%;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0.6rem;
}

.section-posts .section__content .empty-text {
  padding: 0 2.8rem;
}

/*  */

.section-posts .posts-grid {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0 0.6rem;
}
@media (width >= 1200px) {
  .section-posts .posts-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 0 8rem;
  }
}

/*  */

.section-posts .posts-list {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  padding: 0 0.6rem;
}
@media (width >= 1200px) {
  .section-posts .posts-list {
    padding: 0 8rem;
  }
}

/*  */

.section-posts--slider .swiper--main {
  width: 100%;
  padding: 0 0.6rem;
}
@media (width >= 1200px) {
  .section-posts .swiper--main {
    padding: 0 8rem;
  }
}
.section-posts--slider .swiper--main > .swiper-wrapper {
}
.section-posts--slider .swiper--main > .swiper-wrapper > .swiper-slide {
  display: flex;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  position: relative;
  height: unset;
}

.section-posts--slider .swiper-pagination--main.swiper-pagination-progressbar {
  width: calc(100% - 3.2rem);
  height: 0.2rem;
  position: relative;
  overflow: hidden;
  background-color: rgb(var(--color-surface-inverse-rgb) / 0.12);
  display: block;
  margin: 0 auto 1.6rem;
}
@media (width >= 1200px) {
  .section-posts--slider
    .swiper-pagination--main.swiper-pagination-progressbar {
    width: 100%;
  }
}
.section-posts--slider
  .swiper-pagination--main.swiper-pagination-progressbar.swiper-pagination-lock {
  display: none;
}
.section-posts--slider
  .swiper-pagination--main.swiper-pagination-progressbar
  .swiper-pagination-progressbar-fill {
  position: absolute;
  background-color: var(--color-primary);
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  transform: scale(0);
  transform-origin: left top;
}

/*  */

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

/*  */

.posts-pagination {
  width: 100%;
  display: flex;
  padding: 0 0.6rem;
  justify-content: center;
  align-items: center;
}
.posts-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  width: 100%;
  gap: 0.6rem;
  padding: 1.2rem;
  border-radius: 1.8rem;
  background-color: var(--color-surface-muted);
}
.posts-pagination .nav-links .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  height: 4rem;
  background-color: var(--color-surface);
  border-radius: 50%;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  font-size: var(--font-size-sm);
}
.posts-pagination .nav-links .page-numbers .icon {
  width: 1.4rem;
  height: 1.4rem;
}
/* .posts-pagination .nav-links .page-numbers.prev {
}
.posts-pagination .nav-links .page-numbers.next {
} */
.posts-pagination .nav-links .page-numbers.current {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

/*  */
