/* MTGRA Responsive Slider */
.mtgra-rs {
    --mtgra-rs-transition: 500ms;
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    line-height: 0;
}

.mtgra-rs-track {
    position: relative;
    width: 100%;
}

.mtgra-rs-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity var(--mtgra-rs-transition) ease,
        visibility var(--mtgra-rs-transition) ease;
}

.mtgra-rs-slide:first-child {
    position: relative;
}

.mtgra-rs-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.mtgra-rs-slide img {
    display: block;
    width: 100%;
    height: 500px;
    max-width: 100%;
    object-fit: cover;
}

.mtgra-rs-link {
    display: block;
    width: 100%;
    height: 100%;
}

.mtgra-rs-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 32px;
    line-height: 40px;
    cursor: pointer;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .2s ease;
}

.mtgra-rs-arrow:hover {
    background: rgba(0, 0, 0, .55);
}

.mtgra-rs-prev {
    right: 18px;
}

.mtgra-rs-next {
    left: 18px;
}

.mtgra-rs-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 5;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
    direction: ltr;
}

.mtgra-rs-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.65);
    cursor: pointer;
    transition: all .25s ease;
}

.mtgra-rs-dot.is-active {
    width: 25px;
    border-radius: 10px;
    background: #fff;
}

.mtgra-rs-empty {
    padding: 30px;
    border: 1px dashed #bbb;
    border-radius: 12px;
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .mtgra-rs-slide img {
        height: 420px;
    }
}

@media (max-width: 767px) {
    .mtgra-rs-slide img {
        height: 520px;
    }

    .mtgra-rs-arrow {
        width: 38px;
        height: 38px;
        font-size: 27px;
    }

    .mtgra-rs-prev {
        right: 10px;
    }

    .mtgra-rs-next {
        left: 10px;
    }

    .mtgra-rs-dots {
        bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mtgra-rs-slide {
        transition: none;
    }
}
