@font-face {
  font-family: 'icomoon-glidejs';
  src:  url('../fonts/icomoon.eot?5x7u1j');
  src:  url('../fonts/icomoon.eot?5x7u1j#iefix') format('embedded-opentype'),
  url('../fonts/icomoon.ttf?5x7u1j') format('truetype'),
  url('../fonts/icomoon.woff?5x7u1j') format('woff'),
  url('../fonts/icomoon.svg?5x7u1j#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.icon-chevron-thin-left:before {
  font-family: icomoon-glidejs !important;
  content: "\e902" !important;
}

.icon-chevron-thin-right:before {
  font-family: icomoon-glidejs !important;
  content: "\e904" !important;
}

.glide .embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.glide .embed-responsive .embed-responsive-item,
.glide .embed-responsive embed,
.glide .embed-responsive iframe,
.glide .embed-responsive object,
.glide .embed-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  border: 0;
}

.glide .embed-responsive-16by9 {
  padding-bottom: calc(48% - 2px);
  margin-top: -3%;
}

.glide .embed-responsive-16by9 img {
  margin-top: 3%;
}

.glide .embed-responsive-1by1 {
  padding-bottom: 100%;
  margin-top: 0;
}

.glide .embed-responsive-1by1 img {
  margin-top: 0;
}

/* glide bullets */

.glide__bullets {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  bottom: 25px;
  position: absolute;
  z-index: 10;
}

.glide__bullet {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.glide__bullet:focus {
  outline: none;
  background: transparent;
  box-shadow: none;
  border: 1px solid #fff;
}

.glide__bullet--active {
  background-color: transparent;
  border-color: #fff;
  opacity: 1;
  transform: scale(1.33);
}

/*slides*/

.glide .glide__slides .item {
  position: relative;
  overflow: hidden;
}

.glide.not-initialized .glide__slides .item{
  display: none;
}

.glide.not-initialized .glide__slides .item:first-child {
  display: block;
}

.glide .glide__slides .item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* glide controlls */

.glide.glide-mobile .glide__arrows {
  display: none;
}

.glide__arrows {
  font-family: icomoon-glidejs !important;
  top: 50%;
  left: 50%;
  color: #fff;
  font-size: 85px;
  position: absolute;
  width: calc(100% - 60px);
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%)
}

.glide__arrows [class*=" icon-"],.glide__arrows [class^=icon-] {
  margin: 0;
  width: auto;
  height: auto;
  background: 0 0
}

.glide__arrows button {
  color: #fff;
  border: none;
  width: 0;
  height: 0
}

.glide__arrows button.b-prev {
  position: absolute;
  cursor: pointer;
  left: 0;
  font-size: 50px
}

.glide__arrows button.b-next {
  position: absolute;
  cursor: pointer;
  right: 0;
  font-size: 50px;
}

/* =======================
   Caption container
======================= */
.glide.glide-mobile .glide__slides .item .w-caption {
  display: none;
}

.glide .glide__slides .item .w-caption {
  position: absolute;
  color: #fff;
  max-width: 700px;
  padding: 15px 20px;
  border-radius: 8px;
  z-index: 2;
  text-align: center;
  font-size: 13px;
  width: 100%;
}

/* Positioning */
.glide .glide__slides .item .w-caption.center {
  left: 50%;
  transform: translateX(-50%);
  /*transform: translate(0, -50%);*/
  text-align: center;
  bottom: 10%;
}

.glide .glide__slides .item .w-caption.top-right {
  top: 20%;
  right: 2%;
}

.glide .glide__slides .item .w-caption.top-left {
  top: 20%;
  left: 2%;
}

.glide .glide__slides .item .w-caption.bottom-left {
  left: 5%;
  bottom: 5%;
  text-align: center;
}

.glide .glide__slides .item .w-caption.bottom-right {
  right: 5%;
  bottom: 5%;
  text-align: center;
}

/* =======================
   Caption text
======================= */
.glide .glide__slides .item .w-caption .caption {
  font-size: 20px;
  font-family: titillium_webregular;
  text-transform: initial;
  padding: 10px;
  line-height: 1.4;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.5);
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}

/* 700–1600px */
@media (max-width: 1600px) and (min-width: 700px) {
  .glide .glide__slides .item .w-caption .caption {
    margin-bottom: 10px;
    max-width: 500px;
  }
}

/* caption container 700–1600px */
@media (max-width: 1600px) and (min-width: 700px) {
  .glide .glide__slides .item .w-caption {
    width: 35%;
  }
}

/* button */
.glide .glide__slides .item .w-caption .b-btn__bone {
  display: inline-block;
  text-align: center;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border: none;
  font-size: 15px;
  padding: 1px 6px;
  position: relative;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.glide .glide__slides .item .w-caption .b-btn__bone:hover {
  color: #fff;
}

/* =======================
   Mobile styles
======================= */

.glide.glide-mobile .glide__slides .item .w-caption {
  max-width: 90%;
  padding: 10px 15px;
}

.glide.glide-mobile .glide__slides .item .w-caption .caption {
  font-size: 16px;
  margin-bottom: 15px;
}


.glide .video-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10
}

.glide .b-btn__mute {
  z-index: 10;
  right: 60px;
  padding: 20px;
  color: #fff;
  bottom: 85px;
  border: none;
  font-size: 25px;
  border-radius: 50%;
  position: absolute;
  background: rgba(0, 0, 0, 0.3);
}

.glide .icon-mute::before,
.glide .icon-volume::before {
  position: absolute;
  top: 20%;
  right: 15%;
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  -webkit-filter: invert(1);
  filter: invert(1);
  content: "";
}

.glide .icon-mute::before {
  background-image: url('../images/volume-mute2.png');
}

.glide .icon-volume::before {
  background-image: url('../images/volume-medium.png');
}

.glide.glide-mobile .b-btn__mute {
  right: 20px;
  bottom: 20px;
}

.glide.glide-mobile .b-btn__mute {
  padding: 14px;
  font-size: 18px;
}

.glide.glide-mobile .icon-mute::before,
.glide.glide-mobile .icon-volume::before {
  /* original: 24px -> ~70% = 16.8px, round to 17px */
  width: 17px;
  height: 17px;
  /* small visual shift so the smaller icon stays visually centered */
  top: 22%;
  right: 13%;
}


.glide .b-btn__mute input[type=checkbox]{
  top: 0;
  left: 0;
  opacity: 0;
  position: absolute;
}

.glide [class^="icon-"], .glide [class*=" icon-"] {
  font-family: 'icomoon-glidejs' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =======================
   YouTube Video Cover Effect
======================= */
.glide .ytplayer-container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  bottom: auto !important;
}

.glide .ytplayer-container iframe,
.glide .w-video__slide iframe,
.glide .embed-responsive iframe.ytplayer-container,
.glide .item .video-container{
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 100vw !important;
  height: 56.25vw !important; /* 16:9 aspect ratio */
  min-height: 100vh !important;
  min-width: 177.77vh !important; /* 16:9 aspect ratio */
  transform: translate(-50%, -50%) !important;
  bottom: auto !important;
}

.glide .item .video-container {
  padding: 0;
  margin: 0;
}

.glide.glide-mobile .ytplayer-container,
.glide.glide-mobile .w-video__slide {
  overflow: hidden !important;
}

.glide.glide-mobile .ytplayer-container iframe,
.glide.glide-mobile .w-video__slide iframe,
.glide.glide-mobile .embed-responsive iframe.ytplayer-container,
.glide .item .video-container {
  width: 100vw !important;
  height: 56.25vw !important;
  min-width: unset !important;
  min-height: unset !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  max-width: 100vw !important;
  max-height: 100vw !important;
}

.glide.glide-mobile .soundcontrol {
  width: 35px;
  height: 35px;
  right: 30px;
  bottom: 45px;
}

.mobile-body-content .glide.glide-mobile {
  padding: 15px;
}


.mobile-body-content .glide.glide-mobile .glide__arrows {
  display: block !important;
  width: 100%;
  top: 40%;
}

.mobile-body-content .glide.glide-mobile .glide__arrows .b-prev {
  font-size: 40px;
  font-weight: 700;
  left: 15px;
}

.mobile-body-content .glide.glide-mobile .glide__arrows .b-next {
  font-size: 40px;
  font-weight: 700;
  right: 15px;
}

.glide .embed-responsive-1by1 .w-video__slide iframe,
.glide .embed-responsive-1by1 .ytplayer-container iframe,
.glide .embed-responsive-1by1 iframe {
  height: 100% !important;
  width: 100% !important;
}

/* =======================
   Mobile Image Caption & Animated Text (ported from owl carousel)
======================= */

.glide__slides .item .mobile-image-caption {
  position: absolute;
  bottom: 7%;
  color: #fff;
  text-align: center;
  font-size: 30px;
  line-height: 1.0;
  padding: 0 20px;
  left: 0;
  right: 0;
  z-index: 5;
}

.glide__slides .item .mobile-image-caption .invisible {
  visibility: hidden;
}

.glide__slides .item .mobile-image-caption .visible {
  visibility: visible !important;
}

.glide__slides .item .mobile-image-caption .title {
  font-size: 34px;
  font-weight: bold;
}

/* Prevent the title from overflowing on narrow viewports: allow wrapping and
   reduce font-size slightly on very small screens. */
.glide__slides .item .mobile-image-caption .title {
  display: block;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
  margin-bottom: 15px;
}

@media (max-width: 360px) {
  .glide__slides .item .mobile-image-caption .title {
    font-size: 26px; /* slightly smaller to improve fit on very small phones */
  }
}

.glide__slides .item .mobile-image-caption .subtitle {
  font-size: 20px;
  font-weight: bold;
  margin-top: 5px;
}

.glide__slides .item .mobile-image-caption i,
.glide__slides .item .mobile-image-caption .itm {
  font-size: 16px;
  /* ensure long caption lines wrap and cannot overflow the slide */
  display: block;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
  line-height: 25px;
}

.glide__slides .item .mobile-image-caption .animated {
  height: 50px;
  margin-top: 10px;
  position: relative;
}

.glide__slides .item .mobile-image-caption .animated .itm {
  position: absolute;
  left: 1000px;
  display: none;
  width: 100%;
  line-height: 1.8;
  bottom: 0;
  animation: slideTextOut 0.6s ease-in-out forwards;
}

/* Show/animate first visible .itm */
.glide__slides .item .mobile-image-caption .animated .itm.show {
  display: block;
  animation: slideTextIn 0.6s ease-in-out forwards;
}

/* =======================
   Text Slide Animations
======================= */

@keyframes slideTextIn {
  from {
    left: 1000px;
    opacity: 0;
  }
  to {
    left: 0;
    opacity: 1;
  }
}

@keyframes slideTextOut {
  from {
    left: 0;
    opacity: 1;
  }
  to {
    left: -1000px;
    opacity: 0;
  }
}