.wpms-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

@media (max-width: 640px) {
  .wpms-slider {
    height: 100svh;
    min-height: 100svh;
  }
}

.wpms-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.wpms-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wpms-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.wpms-media,
.wpms-media img,
.wpms-media video {
  width: 100%;
  height: 100%;
}

.wpms-media {
  position: absolute;
  top: 0;
  left: 0;
}

.wpms-media img,
.wpms-media video {
  object-fit: cover;
  display: block;
}

.wpms-caption {
  position: absolute;
  max-width: 80%;
  padding: var(--wpms-caption-padding, 1rem 1.5rem);
  border-radius: 4px;
  color: #fff;
  background: var(--wpms-caption-background, rgba(0, 0, 0, 0.5));
  text-align: left;
  z-index: 4;
  transform: none;
  animation-duration: 0.9s;
  animation-fill-mode: both;
}

.wpms-caption--custom {
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
}

.wpms-caption--top-left,
.wpms-caption--desktop-top-left {
  top: 5%;
  left: 5%;
}

.wpms-caption--top-center,
.wpms-caption--desktop-top-center {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.wpms-caption--top-right,
.wpms-caption--desktop-top-right {
  top: 5%;
  right: 5%;
  text-align: right;
}

.wpms-caption--middle-left,
.wpms-caption--desktop-middle-left {
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
}

.wpms-caption--middle-center,
.wpms-caption--desktop-middle-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.wpms-caption--middle-right,
.wpms-caption--desktop-middle-right {
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  text-align: right;
}

.wpms-caption--bottom-left,
.wpms-caption--desktop-bottom-left {
  bottom: 5%;
  left: 5%;
}

.wpms-caption--bottom-center,
.wpms-caption--desktop-bottom-center {
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.wpms-caption--bottom-right,
.wpms-caption--desktop-bottom-right {
  bottom: 5%;
  right: 5%;
  text-align: right;
}

.wpms-caption--desktop-custom {
  top: var(--wpms-caption-desktop-top, auto);
  right: var(--wpms-caption-desktop-right, auto);
  bottom: var(--wpms-caption-desktop-bottom, auto);
  left: var(--wpms-caption-desktop-left, auto);
}

@media (max-width: 1024px) {
  .wpms-caption--tablet-top-left {
    top: 5%;
    left: 5%;
    right: auto;
    bottom: auto;
    transform: none;
  }

  .wpms-caption--tablet-top-center {
    top: 5%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
    text-align: center;
  }

  .wpms-caption--tablet-top-right {
    top: 5%;
    right: 5%;
    left: auto;
    bottom: auto;
    transform: none;
    text-align: right;
  }

  .wpms-caption--tablet-middle-left {
    top: 50%;
    left: 5%;
    right: auto;
    bottom: auto;
    transform: translateY(-50%);
  }

  .wpms-caption--tablet-middle-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .wpms-caption--tablet-middle-right {
    top: 50%;
    right: 5%;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
    text-align: right;
  }

  .wpms-caption--tablet-bottom-left {
    bottom: 5%;
    left: 5%;
    top: auto;
  }

  .wpms-caption--tablet-bottom-center {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .wpms-caption--tablet-bottom-right {
    bottom: 5%;
    right: 5%;
    left: auto;
    text-align: right;
  }

  .wpms-caption--tablet-custom {
    top: var(--wpms-caption-tablet-top, auto);
    right: var(--wpms-caption-tablet-right, auto);
    bottom: var(--wpms-caption-tablet-bottom, auto);
    left: var(--wpms-caption-tablet-left, auto);
  }
}

.wpms-caption p {
  font-size: var(--wpms-caption-font-size, inherit) !important;
  font-size: var(--wpms-caption-line-height, inherit) !important;
}

@media (max-width: 640px) {
  .wpms-caption {
    padding: var(--wpms-caption-mobile-padding, var(--wpms-caption-padding, 1rem 1.5rem));
    background: var(--wpms-caption-mobile-background, var(--wpms-caption-background, rgba(0, 0, 0, 0.5)));
    width: auto;
    max-width: 80%;
  }

  .wpms-caption,
  .wpms-caption p,
  .wpms-caption span,
  .wpms-caption div {
    font-size: var(--wpms-caption-mobile-font-size, inherit) !important;
    font-weight: var(--wpms-caption-mobile-font-weight, inherit) !important;
    font-family: var(--wpms-caption-mobile-font-family, inherit) !important;
    line-height: var(--wpms-caption-mobile-line-height, inherit) !important;
    text-align: var(--wpms-caption-mobile-text-align, inherit) !important;
  }

  .wpms-caption--mobile-full {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0;
    top: auto ;
    bottom: var(--wpms-caption-mobile-force-bottom, 0) !important;
    transform: none !important;
  }

  .wpms-caption--mobile-top-left {
    top: 5%;
    left: 5%;
    right: auto;
    bottom: auto;
    transform: none;
  }

  .wpms-caption--mobile-top-center {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .wpms-caption--mobile-top-right {
    top: 5%;
    right: 5%;
    left: auto;
    text-align: right;
  }

  .wpms-caption--mobile-middle-left {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
  }

  .wpms-caption--mobile-middle-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .wpms-caption--mobile-middle-right {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    text-align: right;
  }

  .wpms-caption--mobile-bottom-left {
    bottom: 5%;
    left: 5%;
    top: auto;
  }

  .wpms-caption--mobile-bottom-center {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .wpms-caption--mobile-bottom-right {
    bottom: 5%;
    right: 5%;
    left: auto;
    text-align: right;
  }

  .wpms-caption--mobile-custom {
    top: var(--wpms-caption-mobile-top, auto);
    right: var(--wpms-caption-mobile-right, auto);
    bottom: var(--wpms-caption-mobile-bottom, auto);
    left: var(--wpms-caption-mobile-left, auto);
  }
}

.wpms-slide.wpms-transition-slide {
  transform: translateX(30px);
}

.wpms-slide.is-active.wpms-transition-slide {
  transform: translateX(0);
}

.wpms-slide.wpms-transition-slide-right {
  transform: translateX(-30px);
}

.wpms-slide.is-active.wpms-transition-slide-right {
  transform: translateX(0);
}

.wpms-slide.wpms-transition-slide-up {
  transform: translateY(30px);
}

.wpms-slide.is-active.wpms-transition-slide-up {
  transform: translateY(0);
}

.wpms-slide.wpms-transition-slide-down {
  transform: translateY(-30px);
}

.wpms-slide.is-active.wpms-transition-slide-down {
  transform: translateY(0);
}

.wpms-slide.wpms-transition-zoom {
  transform: scale(1.1);
}

.wpms-slide.is-active.wpms-transition-zoom {
  transform: scale(1);
}

.wpms-slide.wpms-transition-zoom-out {
  transform: scale(0.9);
}

.wpms-slide.is-active.wpms-transition-zoom-out {
  transform: scale(1);
}

.wpms-slide.wpms-transition-scale {
  transform: scale(1.2);
  opacity: 0.7;
}

.wpms-slide.is-active.wpms-transition-scale {
  transform: scale(1);
  opacity: 1;
}

.wpms-slide.wpms-transition-rotate {
  transform: rotate(-4deg);
}

.wpms-slide.is-active.wpms-transition-rotate {
  transform: rotate(0deg);
}

.wpms-slide.wpms-transition-flip {
  transform: rotateY(-25deg);
  opacity: 0;
}

.wpms-slide.is-active.wpms-transition-flip {
  transform: rotateY(0deg);
  opacity: 1;
}

.wpms-slide.wpms-transition-blur {
  filter: blur(12px);
  transform: scale(1.05);
}

.wpms-slide.is-active.wpms-transition-blur {
  filter: blur(0);
  transform: scale(1);
}

.wpms-slide.wpms-transition-zoom-rotate {
  transform: scale(0.8) rotate(-10deg);
  opacity: 0;
}

.wpms-slide.is-active.wpms-transition-zoom-rotate {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

.wpms-slide.wpms-transition-bounce {
  transform: translateY(60px);
}

.wpms-slide.is-active.wpms-transition-bounce {
  animation: wpms-bounce-in 0.8s ease forwards;
}

.wpms-slide.wpms-transition-skew {
  transform: skewX(-10deg);
  opacity: 0;
}

.wpms-slide.is-active.wpms-transition-skew {
  transform: skewX(0deg);
  opacity: 1;
}

.wpms-slide.wpms-transition-hinge {
  transform-origin: top left;
  transform: rotate(10deg);
  opacity: 0;
}

.wpms-slide.is-active.wpms-transition-hinge {
  animation: wpms-hinge-in 1s ease forwards;
}

.wpms-slide.wpms-transition-flash {
  opacity: 0;
}

.wpms-slide.is-active.wpms-transition-flash {
  animation: wpms-flash 1s ease forwards;
}

.wpms-slide.wpms-transition-pulse {
  transform: scale(0.95);
  opacity: 0;
}

.wpms-slide.is-active.wpms-transition-pulse {
  animation: wpms-pulse-in 0.9s ease forwards;
}

.wpms-slide.wpms-transition-zoom-flip {
  transform: scale(0.7) rotateY(90deg);
  opacity: 0;
}

.wpms-slide.is-active.wpms-transition-zoom-flip {
  transform: scale(1) rotateY(0deg);
  opacity: 1;
}

.wpms-slide.wpms-transition-blur-zoom {
  filter: blur(15px);
  transform: scale(1.2);
  opacity: 0;
}

.wpms-slide.is-active.wpms-transition-blur-zoom {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
}

.wpms-slide.wpms-transition-pan {
  transform: translate3d(-50px, 0, 0) scale(1.1);
}

.wpms-slide.is-active.wpms-transition-pan {
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes wpms-bounce-in {
  0% {
    transform: translateY(60px);
    opacity: 0;
  }
  60% {
    transform: translateY(-20px);
    opacity: 0.9;
  }
  80% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes wpms-hinge-in {
  0% {
    transform-origin: top left;
    transform: rotate(15deg);
    opacity: 0;
  }
  40% {
    transform: rotate(-3deg);
    opacity: 0.8;
  }
  70% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(0deg);
    opacity: 1;
  }
}

@keyframes wpms-flash {
  0%,
  50%,
  100% {
    opacity: 0;
  }
  25%,
  75% {
    opacity: 1;
  }
}

@keyframes wpms-pulse-in {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.wpms-slide.wpms-transition-fade {
  transform: none;
}

.wpms-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.3s ease, border-color 0.3s ease;
  z-index: 5;
}

.wpms-nav:focus,
.wpms-nav:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: #fff;
  outline: none;
}

.wpms-nav--prev {
  left: 20px;
}

.wpms-nav--next {
  right: 20px;
}

.wpms-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.wpms-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.wpms-dot.is-active {
  background: #fff;
  transform: scale(1.1);
}

.wpms-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.wpms-caption-anim--fade-in {
  animation-name: wpms-caption-fade-in;
}

.wpms-caption-anim--fade-up {
  animation-name: wpms-caption-fade-up;
}

.wpms-caption-anim--fade-down {
  animation-name: wpms-caption-fade-down;
}

.wpms-caption-anim--slide-left {
  animation-name: wpms-caption-slide-left;
}

.wpms-caption-anim--slide-right {
  animation-name: wpms-caption-slide-right;
}

.wpms-caption-anim--zoom-in {
  animation-name: wpms-caption-zoom-in;
}

.wpms-caption-anim--zoom-out {
  animation-name: wpms-caption-zoom-out;
}

.wpms-caption-anim--rotate-in {
  animation-name: wpms-caption-rotate-in;
}

.wpms-caption-anim--bounce {
  animation-name: wpms-caption-bounce-in;
}

.wpms-caption-anim--pulse {
  animation-name: wpms-caption-pulse;
}

@keyframes wpms-caption-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes wpms-caption-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wpms-caption-fade-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wpms-caption-slide-left {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes wpms-caption-slide-right {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes wpms-caption-zoom-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes wpms-caption-zoom-out {
  from {
    opacity: 0;
    transform: scale(1.2);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes wpms-caption-rotate-in {
  from {
    opacity: 0;
    transform: rotateX(-60deg);
  }
  to {
    opacity: 1;
    transform: rotateX(0deg);
  }
}

@keyframes wpms-caption-bounce-in {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  60% {
    opacity: 1;
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes wpms-caption-pulse {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
