.story-carousel {
  position: relative;
}

.story-carousel img {
  aspect-ratio: 170 / 200;
  object-fit: cover;
}

.story-carousel-content-title {
  margin: 16px 0 8px;
  font-weight: 400;
  color: rgb(var(--dark-rgb));
  font-size: 18px;
}

.story-carousel-content-text p {
  font-size: 16px;
  font-weight: 300;
  line-height: 125%;
}

.glide__arrows {
  position: absolute;
  top: -66px;
  right: 0;
  z-index: 9;
  display: flex;
  gap: 20px;
}

.glide__arrows svg {
  display: block;
}

.glide__arrows button svg rect,
.glide__arrows button svg path {
  transition: fill 0.3s, stroke 0.3s;
}

.glide__arrows button:hover svg rect {
  fill: rgb(var(--grey-bg-rbg));
  stroke: rgb(var(--dark-rgb));
  stroke-width: 1;
}

.glide__arrows button:hover svg path {
  stroke: rgb(var(--dark-rgb));
}

.glide__arrows button {
  padding: 0;
}

@media (min-width: 1024px) {
  .wp-block-group:has(.story-carousel) {
    overflow: hidden;    
  }
  .story-carousel .glide__track {
    overflow: visible;    
  }
  .story-carousel .glide__slide  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 32px;
  }
}