/** Shopify CDN: Minification failed

Line 209:24 Expected ":"

**/
/* ***** CSS POUR L'ARTICLE TUTO ***** */




.tuto-wrapper{
    margin-top:3vh;
    margin-bottom:3vh;
    padding-right:10vw;
    padding-left:10vw;
}

.h2tuto{
    font-size:3.1rem;
    color:#333333;
}

.texttuto{
    margin-bottom:10rem;
}

.texttuto p{
    font-size:1.6rem;
}



.lienbacktuto{
  position:relative;
  text-decoration:none;
  color:inherit;
  font-size:1.6rem;
  color:#333333;
}

/* ligne */
.lienbacktuto::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px; /* distance sous le texte */
  width:100%;
  height:2px;
  background:#7c5a48;

   transform:scaleX(0) scaleY(.5);
  transform-origin:left;
  transition:transform .35s ease;
}

/* animation hover */
.lienbacktuto:hover::after{
  transform:scaleX(1) scaleY(.5);
}

.lienbacktuto:hover{
    color: #7c5a48 !important;
}

@media screen and (max-width:1024px){
.tuto-wrapper{
    margin-top:3vh;
    padding-right:2rem;
    padding-left:2rem;
}

}









/* ***** CSS POUR LA PAGE REPERTORIANT TOUT LES TUTOS ***** */


.tuto-index-title{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
  width:55%;
  text-align:center;
}

.tuto-index-title p{
  font-size:1.4rem;
}



/* Grille */
.tuto-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top:3vh;
  margin-bottom:5vh;


  align-items:stretch; /* IMPORTANT */
}

/* Card */
.tuto-card{
  display:block;
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);


  display:flex;
  flex-direction:column;
  height:100%;

    min-height:480px;
}

/* Zone image */
.tuto-card__media{
  width:100%;
  aspect-ratio: 16 / 9; /* ajuste si tu veux un rendu plus “ciné” */
  overflow:hidden;
}

/* Image plein cadre (important) */
.tuto-card__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Contenu */
.tuto-card__content{


    padding:22px 22px 26px;
  display:flex;
  flex-direction:column;
  flex:1; /* prend toute la hauteur restante */
}

/* Badge */
.tuto-card__badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 12px 16px;
  border-radius:12px;
  background:#f1d9bf; /* à ajuster */
  font-size:16px;
  margin-bottom: 18px;
}

.tuto-card__title{
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.15;


    display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}


.tuto-card__text{
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  opacity: .85;

    display:-webkit-box;
  -webkit-line-clamp:5;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.tuto-card__h3{
  text-decoration:none
}


.tuto-card__cta{
display:inline-block;
  text-decoration: underline;
  text-underline-offset: 6px;
  font-size:1.4rem;
  margin-top:auto;
  width:fit-content;   
  position:relative;
  text-decoration:none;
  color:inherit;
  font-size:1.6rem;
  color:#333333;
  display:inline-block;s
  width:fit-content;     
}

/* ligne */
.tuto-card__cta::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px; /* distance sous le texte */
  width:100%;
  height:2px;
  background:#7c5a48;

   transform:scaleX(0) scaleY(.5);
  transform-origin:left;
  transition:transform .35s ease;
}

/* animation hover */
.tuto-card__cta:hover::after{
  transform:scaleX(1) scaleY(.5);
}

.tuto-card__cta:hover{
    color: #7c5a48 !important;
}





@media screen and (max-width:1440px){
.tuto-grid{
  grid-template-columns: repeat(3, 1fr);

}

.tuto-index-title{
  width:75%;
}
}



@media screen and (max-width:768px){
.tuto-grid{
  grid-template-columns: repeat(2, 1fr);

}


.tuto-index-title{
  width:95%;
}
}



@media screen and (max-width:500px){
.tuto-grid{
  grid-template-columns: repeat(1, 1fr);

}
}