.block-event-posts {
  background-color: var(--color-secondary); 
  color: var(--color-white);
  padding: 100px 0;

  .splide {
    button {
      width: unset;
      height: unset;

      svg {
        width: unset;
        height: unset;
      }
    }

    .splide__arrow--prev {
      @media (min-width: 992px) {
        left: -20px;
      }
    }

    .splide__arrow--next {
      @media (min-width: 992px) {
        right: calc(50% - var(--lg-container) / 2);
      }

      @media (min-width: 1200px) {
        right: calc(50% - 1140px / 2 + 1.5rem / 2 + 20px);
      }

      @media (min-width: 1400px) {
        right: calc(50% - 1320px / 2 + 1.5rem / 2 + 20px);
      }

      @media (min-width: 1600px) {
        right: calc(50% - 1320px / 2 + 1.5rem / 2 + 20px);
      }
    }
  }
}

.block-event-posts-header {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 45px 0;
}

.block-event-posts-title {
  font-family: var(--font-family-serif);
  font-size: var(--font-size-huge);
  font-weight: var(--font-weight-book);
  margin: 0;
}

.block-event-posts-button {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  background-color: var(--color-white);
  color: var(--color-secondary);
  padding: 10px 20px 10px 20px;
  position: relative;
  display: flex;
  gap: 5px;
  align-items: center;
  font-weight: var(--font-weight-medium);

  &:hover, &:focus {
    background-color: var(--color-primary);
  }

  svg {
    path {
      fill: var(--color-secondary);
    }
  }
}
