.glide {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.glide * {
  box-sizing: inherit;
}
.glide__track {
  overflow: hidden;
}
.glide__slides {
  position: relative;
  width: 100%;
  list-style: none;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  touch-action: pan-Y;
  overflow: hidden;
  padding: 0;
  white-space: nowrap;
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
}
.glide__slides--dragging {
  user-select: none;
}
.glide__slide {
  cursor: grab;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  white-space: normal;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.glide__slide a {
  user-select: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.glide__arrows {
  -webkit-touch-callout: none;
  user-select: none;
  display: flex;
  justify-content: end;
  width: 100%;
  gap: 0.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  justify-content: space-between;
}
.glide__arrow {
  background-color: transparent;
  padding: 0;
  border: none;
  color: #000;
  cursor: pointer;
  display: flex;
  justify-content: center;
}
.glide__bullets {
  -webkit-touch-callout: none;
  user-select: none;
}
.glide--rtl {
  direction: rtl;
}

/* gallery carousel css */
.glide--carousel {
  display: flex;
  flex-direction: column;
}
.glide__slide figure {
  width: 100% !important;
}

.is-style-is-carousel .glide__arrows {
  max-width: var(--wp--style--global--wide-size);
  left: 50%;
  transform: translate(-50%, -50%);
}
.is-style-is-carousel .glide__arrow {
  background-color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
}
.is-style-is-carousel img {
  border-radius: 0;
}
.wp-block-group.is-style-is-carousel {
  padding-left: calc((100vw - var(--wp--style--global--wide-size)) / 2);
  align-items: stretch;
}
.block-editor-block-list__block.wp-block-group.is-style-is-carousel {
  padding-left: 0;
}
@media screen and (max-width: 1400px) {
  .has-global-padding > .alignfull.is-style-is-carousel {
    margin-left: 0 !important;
  }
}

.wp-block-group.is-style-is-carousel .glide__slide {
  height: auto;
}
.wp-block-group.is-style-is-carousel .glide__slide img {
  width: 100%;
}
.glide__bullets {
  display: flex;
  justify-content: space-between; /* Distribute bullets evenly */
  padding: 0;
  margin-top: var(--wp--preset--spacing--40);
  list-style: none;
  align-items: center;
  background-color: var(--wp--preset--color--gray-50);
  height: 0.25rem;
}
@media screen and (min-width: 1280px) {
  .glide__bullets {
    width: var(--wp--style--global--wide-size);
  }
}

.glide__bullet {
  flex: 1;
  height: 1px;
  border: none;
  background-color: transparent;
  transition: all 0.5s ease;
  cursor: pointer;
}
.glide__bullet.glide__bullet--active {
  height: 0.25rem;
  background-color: #000;
}

.glide__bullet:first-child {
  margin-left: 0;
}

.glide__bullet:last-child {
  margin-right: 0;
}
