:root {
  --sidebar-width: 31rem;
  --layout-gap: 4rem;
  --wp--style--block-gap: clamp(3.5rem, 2.737rem + 1.404vw, 4rem);
}

@media (min-width: 1300px) {
  :root {
    --sidebar-width: 34rem;
    --layout-gap: 6rem;
  }
}
/*
@mixin button {
    display: inline-flex;
    align-items: center;
    font-family: $ff-body;
    font-size: $font-17;
    font-weight: 500;
    line-height: 1.05;
    text-align: center;
    text-decoration: none;
    padding: 1.2rem 2rem;
    color: $dark-green;
    background: transparent;
    border: 1px solid $dark-green;
    border-radius: 3.2rem;
    cursor: pointer;
    transition: color $speed $cb, background $speed $cb;

    &:after {
        content: '';
        background-color: currentColor;
        mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.0247 9.55859C15.2669 9.80078 15.2669 10.1992 15.0247 10.4414L7.52472 17.9414C7.28253 18.1836 6.88409 18.1836 6.64191 17.9414C6.39972 17.6992 6.39972 17.3008 6.64191 17.0586L13.7005 10L6.64191 2.94141C6.39972 2.69922 6.39972 2.30078 6.64191 2.05859C6.88409 1.81641 7.28253 1.81641 7.52472 2.05859L15.0247 9.55859Z' fill='%23000000'/%3E%3C/svg%3E");        
        width: 20px;
        height: 20px;
        margin-left: 8px;
    }

    &:hover,
    &:active,
    &:focus {
        color: #fff;
        background: $dark-green;
    }

    &[href^="http"]:not([href*="origin-framework.luminated.co.uk"]):not([href*="originenterprises.com"]),
    &[target="_blank"] {
        &:after {
            margin-top: -3px;
            mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.4213 9.38932V14.6834C14.4213 15.1515 14.2354 15.6003 13.9045 15.9313C13.5735 16.2622 13.1247 16.4481 12.6566 16.4481H2.95074C2.48271 16.4481 2.03385 16.2622 1.70291 15.9313C1.37196 15.6003 1.18604 15.1515 1.18604 14.6834V4.97755C1.18604 4.50952 1.37196 4.06066 1.70291 3.72972C2.03385 3.39877 2.48271 3.21284 2.95074 3.21284H8.24486' stroke='%23006450' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10.8916 1.44814H16.1857V6.74225' stroke='%23006450' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.50619 9.12796L16.1862 1.44814' stroke='%23006450' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
            background-size: cover;
        }
    }

    &[href*="wp-origin-resources-2024"] {
        &:after {
            mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.0247 9.55859C15.2669 9.80078 15.2669 10.1992 15.0247 10.4414L7.52472 17.9414C7.28253 18.1836 6.88409 18.1836 6.64191 17.9414C6.39972 17.6992 6.39972 17.3008 6.64191 17.0586L13.7005 10L6.64191 2.94141C6.39972 2.69922 6.39972 2.30078 6.64191 2.05859C6.88409 1.81641 7.28253 1.81641 7.52472 2.05859L15.0247 9.55859Z' fill='%23000000'/%3E%3C/svg%3E")!important;
            background-size: cover;
        }
    }
}
*/
.operations-carousel {
  margin-bottom: 0 !important;
}
@media (min-width: 1024px) {
  .operations-carousel {
    overflow: visible !important;
  }
}
.operations-carousel .swiper-slide {
  display: block;
  color: inherit;
  line-height: 0;
  text-decoration: none;
  position: relative;
  transition: opacity 0.25s ease-in-out, visibility 0s;
}
@media (min-width: 1024px) {
  .operations-carousel .swiper-slide.is-before-active {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease-in-out, visibility 0s 0.25s;
  }
}
.operations-carousel .feat {
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 4px;
}
@media (max-width: 599px) {
  .operations-carousel .feat {
    aspect-ratio: 1/0.7;
  }
}
.operations-carousel .slide-content {
  margin-top: 2rem;
}
.operations-carousel h3 {
  font-size: 2.4rem;
  margin-bottom: 0;
}
.operations-carousel .slide-label {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
  padding: 0.8rem 1.2rem;
  color: var(--wp--preset--color--primary);
  background: var(--wp--preset--color--secondary);
  border-radius: 2px;
  position: absolute;
  top: 3rem;
  left: 3rem;
}
.operations-carousel .slide-location {
  display: block;
  font-size: 1.6rem;
  line-height: 1.35;
  margin: 1ch 0 0 0;
  padding-left: 25px;
  position: relative;
}
.operations-carousel .slide-location:before {
  content: "";
  dispaly: block;
  width: 17px;
  height: 20px;
  background: #1B462D;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='20' fill='none'%3E%3Cg fill='%23fdd97c' clip-path='url(%23a)'%3E%3Cpath d='M0 7.887c0-2.095.866-4.102 2.403-5.58l.036-.035A8.36 8.36 0 0 1 8.19 0c2.169 0 4.251.828 5.788 2.306s2.403 3.486 2.403 5.581c0 2.704-1.213 5.113-2.606 6.996-1.398 1.89-3.039 3.334-4.038 4.13-.233.185-.54.45-.992.574a2.23 2.23 0 0 1-1.11 0c-.45-.124-.76-.391-.99-.575l-.096-.076c-1.007-.81-2.589-2.222-3.943-4.053C1.213 13 0 10.59 0 7.887m2.048 0c0 2.126.96 4.13 2.22 5.833 1.216 1.644 2.656 2.934 3.585 3.681l.088.071.25.192.08-.059.169-.133c.924-.736 2.417-2.054 3.673-3.751 1.26-1.704 2.22-3.708 2.22-5.834 0-1.56-.644-3.059-1.795-4.165A6.28 6.28 0 0 0 8.19 1.99a6.28 6.28 0 0 0-4.347 1.73 5.78 5.78 0 0 0-1.795 4.166'/%3E%3Cpath d='M9.1 7.098a.91.91 0 1 0-1.82 0 .91.91 0 0 0 1.82 0m1.82 0a2.73 2.73 0 1 1-5.46 0 2.73 2.73 0 0 1 5.46 0'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h16.381v19.657H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  position: absolute;
  top: 0;
  left: 0;
}
@media (min-width: 600px) {
  .operations-carousel .swiper-slide {
    height: calc(200px + 25vw);
    max-height: 440px;
    border-radius: 4px;
    position: relative;
  }
  .operations-carousel .swiper-slide .feat {
    position: absolute;
    inset: 0;
  }
  .operations-carousel .swiper-slide .feat:after {
    content: "";
    display: block;
    background: linear-gradient(17deg, #000 4.93%, rgba(102, 102, 102, 0) 84.7%);
    border-radius: 4px;
    position: absolute;
    inset: 0;
  }
  .operations-carousel .swiper-slide .slide-details {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    right: 3rem;
  }
  .operations-carousel .swiper-slide h3 {
    color: #fff;
  }
  .operations-carousel .swiper-slide .slide-location {
    color: #fff;
  }
  .operations-carousel .swiper-slide .slide-location:before {
    background: #FDD97C;
  }
}
.operations-carousel .slider-controls {
  height: 55px;
  margin-top: 30px;
  position: relative;
}
.operations-carousel .slider-controls .swiper-button-next,
.operations-carousel .slider-controls .swiper-button-prev {
  width: 55px;
  height: 55px;
  margin-top: 0;
  top: 0;
}
.operations-carousel .slider-controls .swiper-button-next:after,
.operations-carousel .slider-controls .swiper-button-prev:after {
  display: none;
}
.operations-carousel .slider-controls .swiper-button-next path,
.operations-carousel .slider-controls .swiper-button-prev path {
  transition: fill 0.25s ease-in-out;
}
.operations-carousel .slider-controls .swiper-button-next:hover path:nth-child(1),
.operations-carousel .slider-controls .swiper-button-prev:hover path:nth-child(1) {
  fill: #FDD97C;
}
.operations-carousel .slider-controls .swiper-button-next:hover path:nth-child(1),
.operations-carousel .slider-controls .swiper-button-prev:hover path:nth-child(1) {
  fill: #000;
}
.operations-carousel .slider-controls .swiper-button-next {
  left: 65px;
}
.operations-carousel .slider-controls .swiper-button-prev {
  left: 0;
}
.operations-carousel .slider-controls .swiper-pagination {
  width: auto;
  top: 12px;
  left: unset;
  right: 0;
}
.operations-carousel .slider-controls .swiper-pagination .swiper-pagination-bullet {
  width: 20px;
  height: 3px;
  border-radius: 0;
  transition: background 0.25s ease-in-out;
}
.operations-carousel .slider-controls .swiper-pagination .swiper-pagination-bullet-active {
  background: #1B462D;
}
