.wp-block-post-template .wp-block-post-excerpt__more-text a {
  display: inline-block;
  background-image: linear-gradient(
    90deg,
    currentColor 33%,
    rgba(0, 0, 0, 0) 33% 66%,
    currentColor 66%
  );
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 300% 2px;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.5s;
}
.wp-block-post-template .wp-block-post-excerpt__more-text a:hover {
  background-position: 0 100%;
}
.wp-block-post-template .wp-block-separator {
  display: none;
}
.wp-block-post-template .wp-block-post-featured-image a {
  height: initial;
}
.wp-block-post-template .wp-block-post-featured-image img {
  aspect-ratio: var(--brandy-post-img-aspect-ratio);
}

/** Posts list slider */
.brandy-block-query-slider {
  position: relative;
}

.brandy-block-query-slider
  .brandy-block-query-slider-navigation
  .brandy-swiper-navigation-button {
  position: absolute;
  top: 40%;
  transform: translateY(calc(-50% - 50px));
  z-index: 2;
}

.brandy-block-query-slider
  .brandy-block-query-slider-navigation
  .brandy-swiper-navigation-button--back {
  left: 10px;
}
.brandy-block-query-slider
  .brandy-block-query-slider-navigation
  .brandy-swiper-navigation-button--next {
  right: 10px;
}

.brandy-block-query-slider .wp-block-post-template {
  margin-block-start: 0;
}

/** Editor */
.block-editor-block-list__block
  .brandy-block-query-slider
  .wp-block-post-template {
  display: flex !important;
  gap: 30px !important;
  overflow: hidden !important;
}

.block-editor-block-list__block
  .brandy-block-query-slider
  .wp-block-post-template
  > * {
  max-width: 340px;
  flex: none;
}
