/* TFS Rainbow clean slider v4 - no blur, no generated side background, no stretching */
.tfs-rainbow-clean-slider {
    max-width: 940px;
    margin: 0 auto 42px auto;
    background: #ffffff;
    border: 1px solid #e4e7ef;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    border-radius: 6px;
    overflow: hidden;
}

.tfs-rainbow-clean-stage {
    position: relative;
    background: #ffffff !important;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.tfs-rainbow-clean-slide {
    display: none;
    width: 100%;
    min-height: 520px;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    margin: 0;
}

.tfs-rainbow-clean-slide.is-active {
    display: flex;
}

.tfs-rainbow-clean-slide picture {
    display: flex;
    width: 100%;
    min-height: 520px;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
}

.tfs-rainbow-clean-slide img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 620px !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #ffffff !important;
    filter: none !important;
    box-shadow: none !important;
    transform: none !important;
    margin: 0 auto;
}

.tfs-rainbow-clean-prev,
.tfs-rainbow-clean-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(33,63,153,0.88);
    color: #fff;
    font-size: 24px;
    line-height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tfs-rainbow-clean-prev:hover,
.tfs-rainbow-clean-next:hover,
.tfs-rainbow-clean-prev:focus,
.tfs-rainbow-clean-next:focus {
    background: #febc04;
    color: #111;
    outline: 2px solid #213f99;
    outline-offset: 2px;
}

.tfs-rainbow-clean-prev { left: 14px; }
.tfs-rainbow-clean-next { right: 14px; }

.tfs-rainbow-clean-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    padding: 12px 14px 14px 14px;
    background: #ffffff;
    border-top: 1px solid #edf0f6;
}

.tfs-rainbow-clean-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: #b7c2df;
    cursor: pointer;
    padding: 0;
}

.tfs-rainbow-clean-dot.is-active,
.tfs-rainbow-clean-dot:hover,
.tfs-rainbow-clean-dot:focus {
    background: #febc04;
    outline: 2px solid transparent;
}

.tfs-rainbow-clean-caption {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media only screen and (max-width: 959px) {
    .tfs-rainbow-clean-slider { max-width: 100%; }
    .tfs-rainbow-clean-stage,
    .tfs-rainbow-clean-slide,
    .tfs-rainbow-clean-slide picture { min-height: 430px; }
    .tfs-rainbow-clean-slide img { max-height: 520px !important; }
}

@media only screen and (max-width: 767px) {
    .tfs-rainbow-clean-slider {
        margin-bottom: 30px;
        border-radius: 4px;
    }
    .tfs-rainbow-clean-stage,
    .tfs-rainbow-clean-slide,
    .tfs-rainbow-clean-slide picture { min-height: 340px; }
    .tfs-rainbow-clean-slide img { max-height: 420px !important; }
    .tfs-rainbow-clean-prev,
    .tfs-rainbow-clean-next {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 20px;
    }
    .tfs-rainbow-clean-prev { left: 8px; }
    .tfs-rainbow-clean-next { right: 8px; }
    .tfs-rainbow-clean-dots { padding: 10px; gap: 6px; }
}
