.ressources{
  display: flex;
  align-items: flex-start;
  gap: 30px;
  align-self: stretch;
  flex-direction: column;
}

.ressources h3{
  display: flex;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;

  color: #FFF;
  font-family: hurme_bold, sans-serif;
  text-align: right;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 64px; /* 100% */
}
@media (max-width:600px){
  .ressources h3{
    font-size: 24px;
    font-weight: 700;
    line-height: 46px; /* 191.667% */
  }
}

.ressources .list{
  display: flex;
  /* max-width: 1312px; */
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
}

.ressources .list .content{
  display: flex;
  padding: 1.25rem .9375rem .9375rem .9375rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  align-self: stretch;
  background: #FFF;
}

.ressources .list .content p,
.ressources .list .content h4{
  margin: 0;
}
.ressources .list .content .cat{
  color: #222;
  font-size: 19.2px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; 
  text-transform: uppercase;
  align-self: stretch;
}

.ressources .list .content .title{
  color: #222;
  font-size: 24.64px;
  font-style: normal;
  font-weight: 700;
  line-height: 34.496px; /* 140% */
  align-self: stretch;
}

.ressources .list .content .compositeur{
  color: #222;
  font-size: 17.6px;
  font-style: normal;
  font-weight: 400;
  line-height: 24.64px; /* 140% */
  align-self: stretch;
}

.ressources .list .content .button{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: .1875rem;
  border: 2px solid var(--primary-color);
}

.ressources .list .content .button.inversed{
  padding: 0.5rem;
}

.ressourceItem.ouvert:hover .button,
.ressourceItem.externe:hover .button,
.ressources .list .content .button:hover{
  text-decoration: none;
  background-color: transparent;
  color: var(--primary-color);
}

.ressources .link{
  display: flex;
  width: 100%;
  justify-content: center;
}
.ressources .link a{
  display: flex;
  padding: 14px 180px;
  align-items: flex-start;
  gap: 10px;

  border-radius: 3px;

  color: #222;
  font-family: hurme_bold, sans-serif;
  text-align: center;
  font-size: 17.6px;
  font-style: normal;
  font-weight: 700;
  line-height: 24.64px; /* 140% */
}

.ressourceItem{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
  max-width: calc(33.33% - 20px);
}
.ressourceItem.externe:hover,
.ressourceItem.ouvert:hover{
  cursor: pointer;
}

.ressourceItem .visuel,
.ressourceItem picture,
.ressourceItem img{
  width: 100%;
}

.ressourceItem picture{
  overflow: hidden;
}

.ressourceItem img{
  max-width: 100%;
  transition: all .5s ease;
}

.ressourceItem:hover img{
  transform: scale(1.2);
}

.ressourceItem .itemContent{
  display: flex;
  padding: 20px 15px 15px 15px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  background: #fff;
  font-family: hurme_bold, sans-serif;
}

.ressourceItem .itemContent .itemCat{
  color: #222;
  font-size: 19.2px;
  font-style: normal;
  font-weight: 400;
  line-height: 26.88px; /* 140% */
  text-transform: uppercase;
  align-self: stretch;
}

.ressourceItem .itemContent .itemTitle{
  color: #222;
  font-size: 24.64px;
  font-style: normal;
  font-weight: 700;
  line-height: 34.496px; /* 140% */
  align-self: stretch;
}

.ressourceItem.ouvert:hover .itemContent .itemTitle{
  color: var(--primary-color);
}

.ressourceItem .itemContent .itemCompo{
  color: #222;
  font-size: 17.6px;
  font-style: normal;
  font-weight: 400;
  line-height: 24.64px; /* 140% */
  align-self: stretch;
}

.ressourceItem svg path{
  fill: #fff;
}

.ressourceItem:hover svg path,
.ressourceItem .button:hover svg path{
  fill: var(--primary-color);
}

@media (max-width:900px){
  .ressources .list{
    display: block;
  }

  /* .ressources .list a{
    flex: 1 1 calc(50% - 20px);
  } */

  .ressources .list .flickity-slider .ressourceItem{
    min-height: 250px;
    width: calc(100% - 40px);
    margin-right: 20px;
  }

  .ressources .link a{
    padding: 1rem;
  }
}


@media (max-width: 600px) {

  .ressources .list{
    display: block;
  }
  .ressources .list .ressourceItem{
    width: calc(100% - 40px);
    margin-right: 20px;
    max-width: 100%;
    flex: initial
  }
  .ficheRessource .contentWrapper{
    padding-top:0;
  }
}