/* RESET */
#page_dossier {
  max-width: 100%;
}

/* TITLE */
.subTitle2 .title {
    font-size: 48px;
    line-height: 1.2;
    color: #E20000;
    text-decoration: underline;
    margin: 80px 0 40px;
    text-align: left;
    width: calc(100% - clamp(30px, 5vw, 6vw));
    padding-left: clamp(30px, 5vw, 6vw);
    font-weight: 600;
}

/* SLIDER CONTAINER */
#SILDES_CATG_SLD_Slider {
    display: flex;
    gap: 20px;
    width: calc(100% - clamp(30px, 5vw, 6vw));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    margin: 0 0 0 auto;
}

/* GRAB EFFECT */
#SILDES_CATG_SLD_Slider:active {
  cursor: grabbing;
}

/* HIDE SCROLLBAR */
#SILDES_CATG_SLD_Slider::-webkit-scrollbar {
  display: none;
}

/* ITEM */
#SILDES_CATG_SLD_Slider .blcitem {
  position: relative;
  flex: 0 0 calc((100% - 20px) / 3.2); /* 🔥 3.5 items */
  scroll-snap-align: start;
  cursor: pointer;
}

/* IMAGE */
#SILDES_CATG_SLD_Slider picture,
#SILDES_CATG_SLD_Slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* TEXT POSITION */
#SILDES_CATG_SLD_Slider .blocTxt {
  position: absolute;
  bottom: 15%;
  width: 100%;
  text-align: center;
}

/* TITLE TEXT */
#SILDES_CATG_SLD_Slider h4 {
  font-size: 18px;
    line-height: 1;
    font-weight: 600;
    color: #ffffff;
    background-color: #E20000;
    display: inline;
    padding: 20px;
    height: 45px;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* SUBTEXT */
#SILDES_CATG_SLD_Slider h4 span {
  font-size: 14px;
  font-weight: 400;
}

/* SPECIAL COLOR */
#SILDES_CATG_SLD_Slider .blue h4 {
  color: #82C7D3;
}

/* HOVER */
#SILDES_CATG_SLD_Slider h4:hover {
  text-decoration: underline;
}

/* DESKTOP ADAPT */
@media (min-width:1200px) {
  #SILDES_CATG_SLD_Slider h4 {
    font-size: 1.4vw;
    height: 65px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  #SILDES_CATG_SLD_Slider h4 span {
    font-size: 1.4vw;
  }
}
@media screen and (max-width: 1500px) {
    .subTitle2 .title{
        font-size: 40px;
        margin-top: 50px;
        margin-bottom: 30px;
    }
}

/* TABLET */
@media (max-width:1024px) {
  #SILDES_CATG_SLD_Slider .blcitem {
    flex: 0 0 calc((100% - 40px) / 2.5);
  }
}

/* MOBILE */
@media (max-width:767px) {

  #SILDES_CATG_SLD_Slider {
    gap: 16px;
  }

  #SILDES_CATG_SLD_Slider .blcitem {
    flex: 0 0 70%;
  }

  .subTitle2 .title {
    font-size: 28px;
    margin: 40px 0 20px;
  }

    #SILDES_CATG_SLD_Slider h4 {
    font-size: 16px;
    width: 120px;
    height: 30px;
    padding: 20px;
    }

  #SILDES_CATG_SLD_Slider h4 span {
    font-size: 16px;
  }
}

/* ARROWS */
.slider-arrows {
  width: 90%;
  margin: 15px auto 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* arrows */
.slider-arrows button {
  width: 50px;
  height: 50px;
  font-size: 26px;
  line-height: 1;
  padding-bottom: 3px;
  border-radius: 50%;
  border: none;
  background: #E5E5E5;
  color: #999;
  cursor: pointer;
  transition: .2s ease;
}

/* ACTIVE */
.slider-arrows button.active {
  background: #E20000;
  color: #fff;
}
.slider-arrows button:hover {
  transform: scale(1.1);
}
@media screen and (max-width: 480px) {
    .subTitle2 .title{
        font-size: 14px;
        margin-top: 25px;
        margin-bottom:10px;
    }
}
