/* Slider */

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.slick-list:focus {
    outline: none;
}
.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}
.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after {
    display: table;
    content: '';
}
.slick-track:after {
    clear: both;
}
.slick-loading .slick-track {
    visibility: hidden;
}
.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide {
    float: right;
}
.slick-slide img {
    display: block;
}
.slick-slide.slick-loading img {
    display: none;
}
.slick-slide.dragging img {
    pointer-events: none;
}
.slick-initialized .slick-slide {
    display: block;
}
.slick-loading .slick-slide {
    visibility: hidden;
}
.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}
.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    margin-top: 5px;
    top: 50%;
    display: block;
    width: 50px;
    height: 50px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: 2px solid rgba(0, 143, 255, 0.4);
    outline: none;
    background: linear-gradient(135deg, 
        rgba(0, 82, 163, 0.3) 0%, 
        rgba(0, 143, 255, 0.2) 100%);
    border-radius: 50%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 143, 255, 0.3),
                inset 0 0 15px rgba(0, 212, 255, 0.2);
    z-index: 10;
}
.slick-prev:before {
    content: "\f104";
    font-family: "FontAwesome";
    font-size: 20px;
    color: #00d4ff;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 46px;
    text-align: center;
    filter: drop-shadow(0 0 3px rgba(0, 212, 255, 0.5));
    position: absolute;
    top: 0;
    left: 0;
}
.slick-next:before {
    content: "\f105";
    font-family: "FontAwesome";
    font-size: 20px;
    color: #00d4ff;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 46px;
    text-align: center;
    filter: drop-shadow(0 0 3px rgba(0, 212, 255, 0.5));
    position: absolute;
    top: 0;
    left: 0;
}
.slick-prev:hover,
.slick-next:hover {
    background: linear-gradient(135deg, 
        rgba(0, 143, 255, 0.5) 0%, 
        rgba(0, 212, 255, 0.4) 100%);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5),
                inset 0 0 20px rgba(0, 212, 255, 0.3);
    transform: translate(0, -50%) scale(1.1);
}
.slick-prev:hover:before,
.slick-next:hover:before {
    color: #00f0ff;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.8));
}
.slick-prev {
    left: -25px;
}
.slick-next {
    right: -25px;
}
.slick-slide img {
    opacity: 0.7;
    transition: 0.2s ease-in-out all;
}
.slick-slide img:hover {
    opacity: 1;
}

/* Ukrycie slidera partnerów do momentu załadowania JavaScript */
header .partners:not(.js-loaded) {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    display: none;
}

header .partners.js-loaded {
    display: block;
    visibility: visible;
    opacity: 1;
}

/* Style specyficzne dla strzałek w kontenerze partners */
header .partners .slick-prev,
header .partners .slick-next {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, 
        rgba(0, 82, 163, 0.4) 0%, 
        rgba(0, 143, 255, 0.3) 100%);
    border: 2px solid rgba(0, 143, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 143, 255, 0.4),
                inset 0 0 15px rgba(0, 212, 255, 0.25);
}

header .partners .slick-prev {
    left: -60px;
}

header .partners .slick-next {
    right: -60px;
}

/* Wyśrodkowanie logów między strzałkami i ukrycie częściowo widocznego 7. logo */
header .partners .slick-list {
    padding-left: 35px;
    padding-right: 35px;
    overflow: hidden;
    width: 100%;
    position: relative;
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
    mask-image: linear-gradient(to right, black calc(100% - 35px - 1px), transparent calc(100% - 35px));
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 35px - 1px), transparent calc(100% - 35px));
}

/* Upewnienie się, że kontener ma odpowiednią szerokość - overflow visible dla przycisków */
header .partners .partners-container {
    overflow: visible;
    width: 100%;
    position: relative;
}

header .partners .slick-slider {
    overflow: visible;
    position: relative;
    width: 100%;
}

/* Ukrycie częściowo widocznych slajdów poza widocznym obszarem */
header .partners .slick-slide {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Ograniczenie rozmiaru grafik do referencyjnego obrazu (124px x 27px) */
header .partners .slick-slide img {
    max-width: 150px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Dodatkowe ukrycie częściowo widocznych elementów na track */
header .partners .slick-track {
    overflow: hidden;
}

/* Upewnienie się, że przyciski są widoczne i nie są ukryte przez overflow */
header .partners .slick-prev,
header .partners .slick-next {
    display: block;
    visibility: visible;
    opacity: 1;
    z-index: 100;
    position: absolute;
}

/* Upewnienie się, że ikony w przyciskach są widoczne */
header .partners .slick-prev:before,
header .partners .slick-next:before {
    display: block;
    visibility: visible;
    opacity: 1;
    font-size: 20px;
    line-height: 46px;
}

header .partners .slick-prev:hover,
header .partners .slick-next:hover {
    background: linear-gradient(135deg, 
        rgba(0, 143, 255, 0.6) 0%, 
        rgba(0, 212, 255, 0.5) 100%);
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6),
                inset 0 0 20px rgba(0, 212, 255, 0.4);
}

/* Style dla urządzeń mobilnych */
@media (max-width: 768px) {
    /* Dostosowanie przycisków do mobile */
    header .partners .slick-prev,
    header .partners .slick-next {
        width: 40px;
        height: 40px;
        z-index: 100;
    }

    header .partners .slick-prev {
        left: -20px;
    }

    header .partners .slick-next {
        right: -20px;
    }

    header .partners .slick-prev:before,
    header .partners .slick-next:before {
        font-size: 16px;
        line-height: 36px;
    }

    /* Dostosowanie paddingu listy na mobile */
    header .partners .slick-list {
        padding-left: 20px;
        padding-right: 20px;
        mask-image: linear-gradient(to right, black calc(100% - 20px - 1px), transparent calc(100% - 20px));
        -webkit-mask-image: linear-gradient(to right, black calc(100% - 20px - 1px), transparent calc(100% - 20px));
    }
}

@media (max-width: 480px) {
    /* Jeszcze mniejsze przyciski na małych ekranach */
    header .partners .slick-prev,
    header .partners .slick-next {
        width: 35px;
        height: 35px;
    }

    header .partners .slick-prev {
        left: -15px;
    }

    header .partners .slick-next {
        right: -15px;
    }

    header .partners .slick-prev:before,
    header .partners .slick-next:before {
        font-size: 14px;
        line-height: 31px;
    }

    header .partners .slick-list {
        padding-left: 15px;
        padding-right: 15px;
        mask-image: linear-gradient(to right, black calc(100% - 15px - 1px), transparent calc(100% - 15px));
        -webkit-mask-image: linear-gradient(to right, black calc(100% - 15px - 1px), transparent calc(100% - 15px));
    }
}
		
		
		