/**
* ## Glide Carousel style
* --------------------------- */

.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;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
  transition: transform 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.glide__slides--dragging {
  user-select: none;
}
.glide__slide {
  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;
}
.glide__bullets {
  -webkit-touch-callout: none;
  user-select: none;
}
.glide--rtl {
  direction: rtl;
}

/*# sourceMappingURL=glide.core.css.map */

.glide__arrow {
  position: absolute;
  display: block;
  top: 50%;
  z-index: 2;
  color: white;
  text-transform: uppercase;
  padding: 9px 12px;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  opacity: 1;
  cursor: pointer;
  transition: opacity 150ms ease, border 300ms ease-in-out;
  transform: translateY(-50%);
  line-height: 1;
}
.glide__arrow:focus {
  outline: none;
}
.glide__arrow:hover {
  border-color: white;
}
.glide__arrow--left {
  left: -1em;
}
.glide__arrow--right {
  right: -1em;
}
.glide__arrow--disabled {
  opacity: 0.33;
}
.glide__bullets {
  position: absolute;
  z-index: 2;
  bottom: -1em;
  left: 50%;
  display: inline-flex;
  list-style: none;
  transform: translateX(-50%);
  gap: 5px;
}
.glide__bullet {
  background-color: rgba(255, 255, 255, 0.5);
  width: 13px;
  height: 13px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 300ms ease-in-out;
  cursor: pointer;
  line-height: 0;
  margin: 0;
}
.glide__bullet:focus {
  outline: none;
}
.glide__bullet:hover, .glide__bullet:focus {
  border: 2px solid white;
  background-color: rgba(255, 255, 255, 0.5);
}
.glide__bullet--active {
  background-color: white;
}
.glide--swipeable {
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
.glide--dragging {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}
.glide__arrows--bottom .glide__arrow {
    top: calc(100% + 25px);
    left: 0;
}
.glide__arrows--bottom .glide__arrow--right {
    left: 50px;
    right: unset;
}
/* Arrows position top/side - spans full container width */
.glide__arrows--top {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 10;
	pointer-events: none;
	transform: translateY(-50%);
}
.glide__arrows--top .glide__arrow {
	pointer-events: all;
}
.glide__arrows--top .glide__arrow--left {
	left: 2em;
}
.glide__arrows--top .glide__arrow--right {
	right: 2em;
}
/* Responsive */
@media only screen and (max-width: 768px) {
	.glide__arrow--left {
		left: 0;
	}
	.glide__arrow--right {
		right: 0;
	}
}

/*# sourceMappingURL=glide.theme.css.map */

/**
 * Override native Gutenberg Grid styles when carousel is active
 */
.wp-block-group.frontblocks-carousel,
.wp-block-group.frontblocks-carousel.is-layout-grid {
	display: block;
	grid-template-columns: none;
	gap: 0;
}

.wp-block-group.frontblocks-carousel > * {
	width: 100%;
}

/* Ensure inner container doesn't interfere with carousel */
.wp-block-group.frontblocks-carousel > .wp-block-group__inner-container {
	display: block;
	grid-template-columns: none;
	gap: 0;
	width: 100%;
}

/* Override grid styles for direct children in carousel mode */
.glide__slides.wp-block-group,
.glide__slides.wp-block-group.is-layout-grid {
	display: flex;
	grid-template-columns: none;
	gap: 0;
	column-gap: 0;
	row-gap: 0;
}

/* Ensure slides have proper width */
.glide__slides > .glide__slide {
	min-width: 0;
	flex-shrink: 0;
}

/* Force full width for single slide view */
.frontblocks-carousel[data-view="1"] .glide__slide {
	margin-left: 0;
	margin-right: 0;
}

/* Remove gaps when showing one slide */
.frontblocks-carousel[data-view="1"].glide__slides {
	gap: 0;
}

/* Responsive single slide view */
@media only screen and (max-width: 768px) {
	.frontblocks-carousel[data-mobile-view="1"] .glide__slide {
		width: 100%;
		flex: 0 0 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
	.frontblocks-carousel[data-tablet-view="1"] .glide__slide {
		width: 100%;
		flex: 0 0 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

@media only screen and (min-width: 1025px) and (max-width: 1440px) {
	.frontblocks-carousel[data-laptop-view="1"] .glide__slide {
		width: 100%;
		flex: 0 0 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

/* Handle alignfull content within carousel slides */
.glide__slide > .wp-block-cover.alignfull,
.glide__slide > .alignfull {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

/* Ensure cover blocks maintain minimum height */
.glide__slide .wp-block-cover {
	min-height: 430px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Prevent carousel from overflowing viewport */
.glide {
	position: relative;
	overflow: visible;
	min-height: 430px;
}

.glide__track {
	overflow: hidden;
	width: 100%;
	position: relative;
	z-index: 1;
}

.glide__slides {
	position: relative;
	z-index: 1;
	height: auto;
	min-height: 430px;
}

.glide__slide {
	position: relative;
	z-index: 1;
	height: auto;
	opacity: 1;
	visibility: visible;
}
