/* Container */
.kerne-offres-emploi-container {
    position: relative;
    width: 100%;
}

/* Swiper */
.kerne-offres-swiper {
    overflow:visible;
    padding: 2rem 0;
}

.kerne-offres-swiper .swiper-slide {
    height: auto;
}

/* Card */
.kerne-offres-swiper .card {
    background-color: #fff;;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1.5rem;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 20px 24px -4px rgb(16 24 40 / .08),0 8px 8px -4px rgb(16 24 40 / .03);
  border-radius: 10px;
  color:var(--wp--preset--color--text-default);
  border-bottom:5px solid transparent;
}

.kerne-offres-swiper .card:hover {
    transform: translateY(-4px);
    border-bottom:5px solid #7EA58C;
}

.kerne-offres-swiper .card h3 {
    padding: 0;
    margin: 0;
}

.gap-2 {
    gap: 1rem;
}

.badge.greenkerne {
    background: #D8E4DC;
    color: #486753;
  }
  .badge {
    text-transform: uppercase;
    font-size: 11px;
    line-height: 12px;
    padding: 2px 8px;
    border-radius: 16px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    white-space: nowrap;
  }

/* Navigation */
.kerne-offres-swiper .swiper-button-prev,
.kerne-offres-swiper .swiper-button-next {
    color: var(--wp--preset--color--primary, #000);
}

.kerne-offres-swiper .swiper-pagination-bullet-active {
    background: var(--wp--preset--color--primary, #000);
}

@media (max-width: 768px) {
    .kerne-offres-swiper .swiper-button-prev,
    .kerne-offres-swiper .swiper-button-next {
        display: none;
    }
}

/* Éditeur */
.kerne-offres-emploi-editor {
    min-height: 200px;
}

.mt-minus-140 {
    margin-top: -140px;
}

.swiper-job-prev {
    margin-right: 1rem!important;
}

.swiper-job-next,.swiper-job-prev {
    width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--wp--preset--color--text-default) 5%, transparent);
  transition: all ease-in 250ms;
}
.swiper-job-next .wp-element-button,
.swiper-job-prev .wp-element-button { 
    background-color: transparent;
    font-size: 0; 
    line-height: 0; 
    width: 18px;
    height: 14px;
    position: relative; 
    border: none;
    padding: 0;
}


.swiper-job-prev .wp-element-button::after {
    content: "";
    position: relative; 
    display: block;
    top: 0;
    left: 0;
    width: 18px;
    height: 14px;
    background-color: var(--wp--preset--color--text-default);
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='18' height='14' viewBox='0 0 18 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7H17M17 7L11 1M17 7L11 13' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask: url("data:image/svg+xml,%3Csvg width='18' height='14' viewBox='0 0 18 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7H17M17 7L11 1M17 7L11 13' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transform: rotate(180deg);
}

.swiper-job-next .wp-element-button::after {
    content: "";
    position: relative; 
    display: block;
    top: 0;
    left: 0;
    width: 18px;
    height: 14px;
    background-color: var(--wp--preset--color--text-default);
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='18' height='14' viewBox='0 0 18 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7H17M17 7L11 1M17 7L11 13' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask: url("data:image/svg+xml,%3Csvg width='18' height='14' viewBox='0 0 18 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7H17M17 7L11 1M17 7L11 13' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}




.swiper-job-next:hover, .swiper-job-prev:hover {
background-color: var(--wp--preset--color--accent);
}

.swiper-job-next:hover .wp-element-button::after,
.swiper-job-prev:hover .wp-element-button::after {
background-color: var(--wp--preset--color--white);
}