/*------------------------------------*\
    Swiper
\*------------------------------------*/

:root {
    /* Theme */
    --swiper-theme-color: var(--fx-color-crimson);

    /* Pagination */
    --swiper-pagination-progressbar-bg-color: var(--fx-color-light-sky-dark);
    --swiper-pagination-progressbar-size: 0.625rem;
    
    /* Navigation */
    --swiper-navigation-size: 3rem;
    --swiper-navigation-color: var(--fx-color-white);
}

.bg-dark-blue {
    /* Pagination */
    --swiper-pagination-progressbar-bg-color: var(--fx-color-sky-blue-dark);

    /* Navigation */
    --swiper-navigation-color: var(--fx-color-sky-blue);
}

.swiper {
    margin: -2rem;
    padding: 2rem;
    overflow: visible;
}

.swiper-initialized .swiper-wrapper {
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.swiper-initialized.swiper-watch-progress .swiper-slide {
    opacity: 1;
    transition: opacity 0.3s;
}

.swiper-initialized.swiper-watch-progress .swiper-slide:not(.swiper-slide-visible) {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.swiper-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.625rem;
    position: relative;
}

.swiper-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.swiper-buttons .swiper-button {
    display: flex;
    margin: 0;
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 50%;
    background-color: var(--fx-color-sky-blue);
    transition-property: background-color, color;
    transition-duration: 0.3s;
}

.swiper-buttons .swiper-button-lock:not(:disabled) {
    display: flex;
    opacity: 0.6;
    pointer-events: none;
}

.swiper-buttons .swiper-button:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    border-width: 0.1875rem 0;
    border-style: solid;
    border-color: var(--fx-color-sky-blue-dark);
    transition-property: border-color, color;
    transition-duration: 0.3s;
}

.bg-dark-blue .swiper-buttons .swiper-button:before {
    border-color: var(--fx-color-light-sky-dark);
}

.swiper-buttons .swiper-button-prev:before {
    transform: translate(0, 0) rotate(-27.5deg);
}

.swiper-buttons .swiper-button-next:before {
    transform: translate(0, 0) rotate(27.5deg);
}

.touch-disabled .swiper-buttons .swiper-button:hover,
.swiper-buttons .swiper-button:focus-visible {
    background-color: var(--swiper-theme-color);
    color: var(--fx-color-white);
}

.touch-disabled .swiper-buttons .swiper-button:hover:before,
.swiper-buttons .swiper-button:focus-visible:before {
    border-color: var(--fx-color-crimson-dark);
}

.bg-dark-blue .swiper-buttons .swiper-button {
    background-color: var(--fx-color-white);
}

.touch-disabled .bg-dark-blue .swiper-buttons .swiper-button:hover,
.bg-dark-blue .swiper-buttons .swiper-button:focus-visible {
    background-color: var(--swiper-theme-color);
    color: var(--fx-color-white);
}

.swiper-buttons .swiper-button i {
    font-size: 1.25rem;
}

.swiper-progress {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: var(--swiper-pagination-progressbar-size);
    border-radius: 100px;
    background-color: var(--swiper-pagination-progressbar-bg-color);
}

.swiper-progress-fake-fill {
    height: 0.625rem;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 100px;
    background-color: var(--swiper-theme-color);
    transition: width 0.3s;
}

.swiper-pagination-progressbar-fill {
    opacity: 0;
    /* opacity: 0.5; */
}