/* ===== JOB SLIDER ===== */
.js-outer {
    position: relative;
    width: 100%;
}

.js-wrap {
    position: relative;
    width: 100%;
    padding: 40px 0 60px;
    box-sizing: border-box;
    overflow: visible; /* ← ΑΠΟ hidden ΣΕ visible */
}

.js-main-title {
    text-align: center; /* ← centered */
    font-family: 'Abrade', sans-serif;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 40px 0;
    padding: 60px 60px 0; /* ← padding-top 60px */
}

/* ── Slider track: αυτό κόβει τα άκρα, ΟΧΙ το js-wrap ── */
.js-slider-track {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

/* ΚΡΙΣΙΜΟ: visible για peek */
.js-wrap .slick-list {
    overflow: visible !important;
}

.js-wrap .slick-track {
    display: flex !important;
    align-items: center;
}

/* ── Slides ── */
.js-slide {
    outline: none;
    padding: 20px 12px;
    box-sizing: border-box;
    /* Αυτό κάνει το περιεχόμενο να φαίνεται centered */
    display: flex !important;
    justify-content: center;
}

/* Active slide */
.js-wrap .slick-current .js-slide__inner {
    filter: none;
    opacity: 1;
    transform: scale(1);
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

/* Non-active slides */
.js-wrap .slick-slide:not(.slick-current) .js-slide__inner {
    filter: none !important;
    opacity: 1 !important;
    transform: scale(0.95);
    transition: transform 0.4s ease;
    pointer-events: none;
    justify-content: center;
}

/* Κρύψε το banner στα πλαϊνά slides */
.js-wrap .slick-slide:not(.slick-current) .js-slide__banner {
    display: none;
}

/* Μικρότερη εικόνα για τα peek slides */
.js-wrap .slick-slide:not(.slick-current) .js-slide__img {
    flex: 0 0 380px;
    height: 280px;
    margin-right: 0;
    border-radius: 16px;
    overflow: hidden;
    filter: none;        /* ← αφαίρεσε το blur από εδώ */
    opacity: 1;
    transition: opacity 0.4s ease;
    position: relative;
    isolation: isolate;  /* ← δημιουργεί νέο stacking context */
}

.js-wrap .slick-current .js-slide__img img {
    filter: none;
    opacity: 1;
}

.js-wrap .slick-slide:not(.slick-current) .js-slide__img img {
    filter: blur(1px);
    /*opacity: 0.85;*/
    transition: filter 0.4s ease, opacity 0.4s ease;
}

/* ── Inner layout ── */
.js-slide__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    width: 820px;       /* ← fixed width, όχι 100% */
    max-width: 820px;
    flex-shrink: 0;
}

/* ── Εικόνα (active) ── */
.js-slide__img {
    flex: 0 0 420px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-right: -60px;
    transition: flex 0.4s ease, height 0.4s ease;
}

.js-slide__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Label πάνω στην εικόνα — μόνο για peek slides */
.js-slide__img-label {
    position: absolute;
    top: 50%;                    /* ← από bottom σε center */
    left: 50%;
    transform: translate(-50%, -50%);  /* ← κεντράρισμα */
    text-align: center;
    font-family: 'Abrade', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 0 12px;
    white-space: nowrap;
}

.js-wrap .slick-slide:not(.slick-current) .js-slide__img-label {
    opacity: 1;
}

/* ── Banner (active only) ── */
.js-slide__banner {
    flex: 1;
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    max-width: 460px;
    position: relative;
    z-index: 2;
}

.js-slide__title {
    font-family: 'Abrade', sans-serif;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #35414F;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 14px 0;
}

.js-slide__desc {
    font-family: 'Abrade', sans-serif;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    color: #35414F;
    margin: 0 0 28px 0;
}

/* Κουμπί pill outline */
/*.js-slide__btn {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    background: transparent;*/
/*    border: 2px solid #1e2a3a;*/
/*    border-radius: 50px;*/
/*    padding: 10px 36px;*/
/*    font-family: 'Abrade', sans-serif;*/
/*    font-size: 13px;*/
/*    letter-spacing: 0.1em;*/
/*    color: #1e2a3a;*/
/*    cursor: pointer;*/
/*    transition: background 0.2s, color 0.2s;*/
/*    max-width: 180px;*/
/*}*/

/*.js-slide__btn:hover {*/
/*    background: #1e2a3a;*/
/*    color: #fff;*/
/*}*/


.vc_btn3.vc_btn3-shape-rounded.vc_btn3-o-empty:hover .label {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}
/* ── Arrows ── */



/* ── Popup ── */
.js-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.js-popup--open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.js-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    cursor: pointer;
}

.js-popup__box {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 16px;
    padding: 48px 40px 40px;
    max-width: 560px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.js-popup__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    line-height: 1;
}

.js-popup__close:hover { color: #1e2a3a; }

.js-popup__title {
    font-family: 'Abrade', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1e2a3a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 24px 0;
}

.js-body-lock { overflow: hidden; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .js-main-title {
        padding: 40px 40px 0;
        font-size: clamp(24px, 3.5vw, 40px);
        margin-bottom: 32px;
    }
    .js-slide__inner {
        width: 680px;
        max-width: 680px;
    }
    .js-slide__img {
        flex: 0 0 300px;
        height: 260px;
    }
    .js-slide__banner {
        max-width: 360px;
        padding: 28px 32px;
    }
    .js-wrap .slick-slide:not(.slick-current) .js-slide__img {
        flex: 0 0 260px;
        height: 240px;
    }
}

@media (max-width: 768px) {
    /* Τίτλος */
    .js-main-title {
        padding: 32px 20px 0;
        font-size: clamp(20px, 6vw, 28px);
        margin-bottom: 20px;
        text-align: center;
    }

    /* Slide padding */
    .js-slide {
        padding: 12px 6px;
    }

    /* Inner — κάθετο layout */
    .js-slide__inner {
        flex-direction: column;
        align-items: center;
        width: 85vw;
        max-width: 85vw;
        gap: 0;
    }

    /* Εικόνα active */
    .js-slide__img {
        flex: none !important;
        width: 100% !important;
        height: 200px !important;
        margin-right: 0 !important;
        margin-bottom: -20px;
        border-radius: 16px 16px 0 0;
        z-index: 1;
    }

    /* Banner */
    .js-slide__banner {
        width: 100%;
        max-width: 100%;
        padding: 28px 20px 20px;
        border-radius: 0 0 16px 16px;
        z-index: 2;
    }

    /* Peek slides στο mobile */
    .js-wrap .slick-slide:not(.slick-current) .js-slide__inner {
        width: 85vw;
        max-width: 85vw;
    }

    .js-wrap .slick-slide:not(.slick-current) .js-slide__img {
        flex: none !important;
        width: 100% !important;
        height: 180px !important;
        margin-right: 0 !important;
        border-radius: 16px;
    }

    /* Arrows */
    .js-arrows {
        margin-top: 20px;
        padding-bottom: 32px;
        gap: 12px;
    }

    .js-arrow {
        width: 44px;
        height: 44px;
    }

    /* Button */
    .js-slide__btn {
        margin: 0 auto;
    }

    /* Popup */
    .js-popup__box {
        padding: 36px 20px 24px;
        width: 95%;
    }

    .js-popup__title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .js-main-title {
        font-size: 20px;
        padding: 24px 16px 0;
    }

    .js-slide__inner {
        width: 88vw;
        max-width: 88vw;
    }

    .js-slide__img {
        height: 180px !important;
    }

    .js-slide__banner {
        padding: 20px 16px 16px;
    }

    .js-slide__title {
        font-size: 16px;
    }

    .js-slide__desc {
        font-size: 13px;
        margin-bottom: 16px;
    }
}

/*New Arrows*/
.js-arrow {
    width: 52px;
    height: 52px;       /* ← ίσο width/height για κύκλο */
    border-radius: 50%;
    border: 2px solid #1e2a3a;
    background: #ffffff;
    color: #1e2a3a;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 0;
    flex-shrink: 0;
    line-height: 1;
}

.js-arrow svg {
    display: block;
    flex-shrink: 0;
}

.js-arrow:hover {
    background: #1e2a3a;
    color: #fff;
}

.js-arrow:hover svg path {
    stroke: #ffffff;
}

.js-arrows {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    padding-bottom: 48px;
    position: relative;
    z-index: 10;
    width: 100%;
}

@media (max-width: 768px) {
    h2.js-main-title {
        padding-top: 170px !important;
    }
}

/*ΒUΤΤΟΝ*/
.js-slide__btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: none !important;
    outline: none !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 28px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: #fff !important;
    border: 1.5px solid #d0ccc8 !important;
    color: #2c2c2c !important;
    font-family: inherit !important;
    font-size: 13px !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition:
        width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        padding 0.35s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease !important;
}

.js-slide__btn .label {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-6px) !important;
    transition:
        opacity 0.25s ease 0.15s,
        transform 0.30s ease 0.15s,
        visibility 0s ease 0.15s !important;
    pointer-events: none !important;
}

.js-slide__btn:hover {
    width: 210px !important;
    padding: 0 18px !important;
    border-color: #9a9490 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
}

.js-slide__btn:hover .label {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}