.is-secteur .wp-block-column:first-child {
  background: var(--wp--preset--color--gray);
  max-width: 340px;
  z-index: 100;
}

.is-secteur .wp-block-column:first-child .wp-block-group {
  position: relative;
  z-index: 10;
}

@media screen and (min-width: 768px) {
  .is-secteur .wp-block-column:last-child:after {
    content: '';
    position: absolute;
    background: var(--wp--preset--color--gray);
    width: 50%;
    height: 120%;
    top: 50%;
    left: auto;
    transform: translateX(-100%) translateY(-50%);
    z-index: 1;
  }
}

.wp-block-list-secteurs {
  overflow: visible !important;
}

.wp-block-list-secteurs .swiper-slide {
  /* min-width: 310px; */
  /* width: 310px; */
  height: auto;
}

@media screen and (min-width: 1440px) {
  .wp-block-list-secteurs .swiper-slide {
    width: 310px;
  }
}

.wp-block-list-secteurs a {
  text-decoration: none;
  height: 100%;
  display: flex;
}

.wp-block-list-secteurs .wp-block-list-secteurs-item {
  border-top: 8px solid var(--wp--preset--color--secondary);
  background: var(--wp--preset--color--white);
  border-bottom-right-radius: var(--wp--custom--radius--m);
  border-bottom-left-radius: var(--wp--custom--radius--m);
  padding: var(--wp--preset--spacing--l) var(--wp--preset--spacing--m);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s ease-in-out;
}

.wp-block-list-secteurs .wp-block-list-secteurs-item:hover {
  box-shadow: var(--wp--preset--shadow--blue);
}

.wp-block-list-secteurs .wp-block-list-secteurs-item-image {
  margin-bottom: var(--wp--preset--spacing--xxs);
}

.wp-block-list-secteurs .wp-block-list-secteurs-item-image img {
  height: 64px;
}

.wp-block-list-secteurs .wp-block-content {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--xxxs);
}

.wp-block-list-secteurs .wp-block-heading {
  font-size: clamp(1.125rem, 0.813rem + 0.833vw, 1.563rem);
  margin-bottom: 0;
}

.wp-block-list-secteurs .wp-block-list-secteurs-item-excerpt {
  color: var(--wp--preset--color--dark);
}

.wp-block-list-secteurs .wp-block-read-more {
  visibility: hidden;
  position: relative;
  height: 48px;
  width: 100%;
}

.wp-block-list-secteurs .wp-block-read-more:after {
  content: '';
  visibility: visible;
  position: absolute;
  right: 0;
  width: 48px;
  height: 48px;
  background-color: var(--wp--preset--color--secondary);
  background-image: url('../../assets/svg/arrow-right.svg');
  background-size: 20px 18px;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

.swiper-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--wp--preset--spacing--xs);
}

.swiper-nav .swiper-nav-next,
.swiper-nav .swiper-nav-prev {
  cursor: pointer;
  width: 48px;
  height: 48px;
  background-color: var(--wp--preset--color--secondary);
  background-image: url('../../assets/svg/arrow-right.svg');
  background-size: 17px 15px;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
}

.swiper-nav .swiper-nav-prev {
  transform: rotate(180deg);
}

.swiper-nav .swiper-button-disabled {
  opacity: 0.35;
} 