/* JW Slider — self-contained styles */
.jwslider-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.jwslider {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: var(--jwslider-aspect, 1170 / 510);
    background: #000;
}

.jwslider__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.jwslider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 600ms ease;
    z-index: 1;
}
.jwslider__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide animation variant: horizontal translate */
.jwslider--slide .jwslider__slide {
    transform: translateX(100%);
    opacity: 1;
    visibility: visible;
    transition: transform 600ms ease;
}
.jwslider--slide .jwslider__slide.is-active {
    transform: translateX(0);
}

.jwslider__link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.jwslider__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jwslider__content {
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 8%;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    max-width: 50%;
}

.jwslider__title {
    font-size: 2em;
    margin: 0 0 0.25em;
    line-height: 1.1;
    color: #fff;
}

.jwslider__description {
    margin: 0 0 1em;
    font-size: 1em;
    line-height: 1.4;
}

.jwslider__button {
    display: inline-block;
    padding: 0.6em 1.2em;
    background: #fff;
    color: #222;
    font-weight: 600;
    border-radius: 2px;
    text-decoration: none;
}

/* Nav arrows */
.jwslider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: 0;
    width: 40px;
    height: 40px;
    font-size: 18px;
    line-height: 40px;
    cursor: pointer;
    z-index: 3;
    padding: 0;
    border-radius: 50%;
}
.jwslider__nav:hover { background: rgba(0, 0, 0, 0.7); }
.jwslider__nav--prev { left: 12px; }
.jwslider__nav--next { right: 12px; }

/* Dots */
.jwslider__dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 3;
}
.jwslider__dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background 200ms ease;
}
.jwslider__dot.is-active,
.jwslider__dot:hover { background: #fff; }

@media (max-width: 600px) {
    .jwslider__content { max-width: 90%; }
    .jwslider__title { font-size: 1.2em; }
    .jwslider__description { display: none; }
}
