.section-posts {
  width: 100%;
  display: flex;
  align-items: stretch;
}
.section-posts .section__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
  align-items: stretch;
}
.section-posts .section__heading {
  width: 100%;
  padding: 0 2.8rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section-posts .section__title {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-regular);
}
.section-posts .section__title.font-size-h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-tight);
}
.section-posts .section__title.font-size-h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-snug);
}
.section-posts .section__title.font-size-h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-snug);
}
.section-posts .section__title.font-size-h4 {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-dense);
}
.section-posts .section__title.font-size-h5 {
  font-size: var(--font-size-h5);
  line-height: var(--line-height-dense);
}
.section-posts .section__title.font-size-h6 {
  font-size: var(--font-size-h6);
  line-height: var(--line-height-dense);
}
.section-posts .section__subtitle {
  margin-top: 1.2rem;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-dense);
}
.section-posts .section__content {
  width: 100%;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0.6rem;
}

/*  */

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

/*  */

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

/*  */

.section-posts--slider .swiper--main {
  width: 100%;
  padding: 0 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.section-posts--slider .swiper--main > .swiper-wrapper {
  height: auto;
}
.section-posts--slider .swiper--main > .swiper-wrapper > .swiper-slide {
  display: flex;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  position: relative;
  align-self: stretch;
  height: unset;
}
.section-posts--slider .swiper--main > .swiper-wrapper > .swiper-slide * {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.section-posts--slider .swiper-pagination--main.swiper-pagination-progressbar {
  width: calc(100% - 2.8rem);
  height: 0.2rem;
  position: relative;
  overflow: hidden;
  background-color: rgb(var(--color-surface-inverse-rgb) / 0.2);
  display: block;
  align-self: center;
}
.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;
}
.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;
  background-color: var(--color-surface-muted);
  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);
}
