/*
 * Owl Carousel compatibility layer
 * --------------------------------
 * The old theme used Owl Carousel markup (.owl-carousel + .item) and the
 * navigation styles below (incl. the custom icon font "kultur").
 *
 * The "Next" theme ships without Owl Carousel. Instead we emulate the
 * basic layout + navigation with a tiny vanilla JS implementation
 * (assets/js/owl-compat.js).
 */

.owl-carousel {
  position: relative;
}

.owl-carousel.owl-loaded {
  display: block;
}

.owl-carousel .owl-stage-outer {
  overflow: hidden;
  width: 100%;
}

.owl-carousel .owl-stage {
  display: flex;
  align-items: stretch;
  will-change: transform;
  transition: transform 320ms ease;
}

.owl-carousel .owl-item {
  flex: 0 0 auto;
}

.owl-carousel .owl-item .item {
  height: 100%;
}

/* Keep images responsive inside the slides */
.owl-carousel .owl-item img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Legacy nav styling (provided by Felix) */
.owl-nav {
  position: absolute;
  top: 30%;
  width: 100%;
  pointer-events: none; /* allow clicks only on buttons */
}

.owl-nav .owl-next,
.owl-nav .owl-prev {
  pointer-events: auto;
  background: transparent;
  border: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  text-indent: -999px;
  position: relative;
}

.owl-nav .owl-next { float: right; }
.owl-nav .owl-prev { float: left; }

.owl-nav .owl-prev::after {
  content: '\e800';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  left: -30px;
  top: 0;
  text-indent: 0;
  font-family: "kultur";
  color: #ccc;
  font-size: 24px;
  line-height: 44px;
}

.owl-nav .owl-next::after {
  content: '\e801';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  right: -30px;
  top: 0;
  text-indent: 0;
  font-family: "kultur";
  color: #ccc;
  font-size: 24px;
  line-height: 44px;
}

/* Disabled state */
.owl-nav .is-disabled {
  opacity: 0.35;
  cursor: default;
}

/* Minor: remove float side effects */
.owl-nav::after {
  content: "";
  display: table;
  clear: both;
}

/* Touch friendly spacing on small screens */
@media (max-width: 767.98px) {
  .owl-nav { top: 35%; }
  .owl-nav .owl-prev::after { left: -12px; }
  .owl-nav .owl-next::after { right: -12px; }
}
