    .tutoriel-detail-main {
      position: relative;
      background: var(--bs-body-bg);
      --tutoriel-detail-max-width: 720px;
    }
    .tutoriel-detail-main .py-xl-9::before,
    .tutoriel-detail-main .py-xl-9::after {
      display: none !important;
    }
    .tutoriel-detail-main::before,
    .tutoriel-detail-main::after {
      display: none !important;
    }
    .tutoriel-detail-wrapper {
      width: 100%;
      max-width: min(100%, var(--tutoriel-detail-max-width, 720px));
      margin: 0 auto;
      padding-inline: 0;
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }
    @media (max-width: 767.98px) {
      .tutoriel-detail-wrapper {
        padding-inline: clamp(1rem, 4vw, 1.5rem);
      }
    }
    .tutoriel-detail-wrapper,
    .tutoriel-detail-wrapper * {
      box-sizing: border-box;
    }
    .tutoriel-detail-section {
      width: 100%;
    }
    .tutoriel-detail-wrapper > * {
      width: 100%;
    }
    .tutoriel-gallery-header,
    .tutoriel-gallery-pane,
    .tutoriel-video-gallery,
    .tutoriel-gallery-tabs,
    .tutoriel-images-gallery .tab-content,
    .tutoriel-images-gallery .carousel {
      width: 100%;
      overflow: visible;
    }
    #tutorielImagesCarousel .carousel-inner,
    #tutorielVideosCarousel .carousel-inner {
      height: 520px;
    }
    #tutorielImagesCarousel .carousel-item,
    #tutorielVideosCarousel .carousel-item {
      height: 520px;
    }
    .tutoriel-gallery-pane,
    .tutoriel-video-gallery {
      padding-inline: 0;
      overflow: visible;
    }
    .tutoriel-gallery-header {
      padding-inline: 0;
    }
    .tutoriel-gallery-tabs {
      flex: 1 1 auto;
    }
    #tutorielImagesCarousel,
    #tutorielVideosCarousel {
      width: 100%;
      overflow: visible;
    }
    [data-bs-theme="dark"] .tutoriel-detail-main,
    [data-bs-theme="dark"] .tutoriel-detail-main .py-xl-9,
    [data-bs-theme="dark"] .tutoriel-detail-main .container,
    [data-bs-theme="dark"] .tutoriel-detail-main .row,
    [data-bs-theme="dark"] .tutoriel-detail-main tutoriel {
      background-color: var(--bs-body-bg) !important;
      box-shadow: none !important;
    }
    .tutoriel-content img,
    .tutoriel-content video,
    .tutoriel-content iframe {
      max-width: 100%;
      height: auto;
      border-radius: 0.75rem;
      margin: 1.5rem 0;
    }
    .tutoriel-cover {
      max-width: 100%;
      width: 100%;
      margin: 0 auto;
      position: relative;
      text-align: center;
      background-color: var(--bs-body-bg);
      box-shadow: none;
    }
    .tutoriel-cover-image {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 0.75rem;
      margin: 0 auto;
      object-fit: contain;
      box-shadow: none;
      filter: none;
      background: transparent;
    }
    .tutoriel-content iframe.ql-video {
      width: 100%;
      aspect-ratio: 16 / 9;
      height: auto;
      border: 0;
    }
    .tutoriel-content .tutoriel-video-embed {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      border-radius: 0.75rem;
      overflow: hidden;
      margin: 1.5rem 0;
    }
    .tutoriel-content .tutoriel-video-embed iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }
    .tutoriel-inline-image-placeholder,
    .tutoriel-inline-video-placeholder {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-style: italic;
      font-weight: 600;
      color: var(--bs-primary);
      text-decoration: none;
      word-wrap: break-word;
      overflow-wrap: break-word;
      word-break: break-word;
      max-width: 100%;
    }
    .tutoriel-inline-image-placeholder:hover,
    .tutoriel-inline-image-placeholder:focus,
    .tutoriel-inline-video-placeholder:hover,
    .tutoriel-inline-video-placeholder:focus {
      color: var(--bs-primary);
      text-decoration: underline;
    }
    .tutoriel-content {
      background-color: var(--bs-tertiary-bg);
      border: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow: 0 12px 38px rgba(15, 23, 42, 0.06);
      word-wrap: break-word;
      overflow-wrap: break-word;
      max-width: 100%;
      overflow-x: hidden;
    }
    [data-bs-theme="light"] .tutoriel-content {
      background-color: rgba(148, 163, 184, 0.22);
      border-color: rgba(100, 116, 139, 0.32);
      box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
    }
    [data-bs-theme="dark"] .tutoriel-content {
      background-color: rgba(15, 23, 42, 0.94);
      border-color: rgba(148, 163, 184, 0.22);
      box-shadow: 0 24px 48px rgba(2, 6, 23, 0.55);
    }
    .tutoriel-stats-box {
      background-color: var(--bs-tertiary-bg);
      border: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow: 0 12px 38px rgba(15, 23, 42, 0.06);
      overflow: hidden;
    }
    [data-bs-theme="light"] .tutoriel-stats-box {
      background-color: rgba(148, 163, 184, 0.22);
      border-color: rgba(100, 116, 139, 0.32);
      box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
    }
    [data-bs-theme="dark"] .tutoriel-stats-box {
      background-color: rgba(15, 23, 42, 0.94);
      border-color: rgba(148, 163, 184, 0.22);
      box-shadow: 0 24px 48px rgba(2, 6, 23, 0.55);
    }
    .tutoriel-stats-box .border-top {
      border-color: rgba(148, 163, 184, 0.2) !important;
    }
    [data-bs-theme="dark"] .tutoriel-stats-box .border-top {
      border-color: rgba(148, 163, 184, 0.15) !important;
    }
    #tutoriel-like-btn.btn-outline-primary {
      color: #0d6efd !important;
      border-color: #0d6efd !important;
    }
    #tutoriel-like-btn.btn-outline-primary:hover {
      background-color: #0d6efd !important;
      border-color: #0d6efd !important;
      color: white !important;
    }
    #tutoriel-like-btn.btn-primary {
      background-color: #0d6efd !important;
      border-color: #0d6efd !important;
      color: white !important;
    }
    #tutoriel-like-btn.btn-primary.active {
      background-color: #0d6efd !important;
      border-color: #0d6efd !important;
      color: white !important;
    }
    .tutoriel-stats-box .border-end {
      border-color: rgba(148, 163, 184, 0.2) !important;
    }
    [data-bs-theme="dark"] .tutoriel-stats-box .border-end {
      border-color: rgba(148, 163, 184, 0.15) !important;
    }
    .tutoriel-stats-row {
      display: flex;
      align-items: stretch;
    }
    .tutoriel-stats-row > [class*="col-"] {
      display: flex;
    }
    .tutoriel-stats-col {
      width: 100%;
      padding: 0.5rem 0.75rem;
      min-height: 38px;
    }
    @media (max-width: 767.98px) {
      .tutoriel-stats-box .border-end {
        border-right: none !important;
        border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
      }
      [data-bs-theme="dark"] .tutoriel-stats-box .border-end {
        border-bottom-color: rgba(148, 163, 184, 0.15) !important;
      }
      .tutoriel-stats-box .col-md-6:last-child .border-end {
        border-bottom: none !important;
      }
    }
    .tutoriel-author-date-box {
      background-color: var(--bs-tertiary-bg);
      border: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow: 0 12px 38px rgba(15, 23, 42, 0.06);
    }
    [data-bs-theme="light"] .tutoriel-author-date-box {
      background-color: rgba(148, 163, 184, 0.22);
      border-color: rgba(100, 116, 139, 0.32);
      box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
    }
    [data-bs-theme="dark"] .tutoriel-author-date-box {
      background-color: rgba(15, 23, 42, 0.94);
      border-color: rgba(148, 163, 184, 0.22);
      box-shadow: 0 24px 48px rgba(2, 6, 23, 0.55);
    }
    .tutoriel-audio-player-box {
      background-color: var(--bs-tertiary-bg);
      border: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow: 0 12px 38px rgba(15, 23, 42, 0.06);
      overflow: hidden !important;
      box-sizing: border-box !important;
      width: 100%;
      max-width: 100%;
    }
    .tutoriel-audio-player-box * {
      box-sizing: border-box !important;
    }
    [data-bs-theme="light"] .tutoriel-audio-player-box {
      background-color: rgba(148, 163, 184, 0.22);
      border-color: rgba(100, 116, 139, 0.32);
      box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
    }
    [data-bs-theme="dark"] .tutoriel-audio-player-box {
      background-color: rgba(15, 23, 42, 0.94);
      border-color: rgba(148, 163, 184, 0.22);
      box-shadow: 0 24px 48px rgba(2, 6, 23, 0.55);
    }
    .tutoriel-audio-player-box h3 {
      color: var(--bs-body-color);
      font-weight: 600;
      font-size: 0.95rem;
    }
    .audio-player-controls .btn {
      min-width: 36px;
      padding: 0.25rem 0.5rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.875rem;
    }
    .audio-control-btn {
      min-width: 36px;
      width: 36px;
      padding: 0.25rem 0.5rem;
      margin: 0;
    }
    /* S'assurer que les icônes sont bien positionnées */
    .audio-control-btn i {
      display: inline-block;
    }
    .audio-control-btn i.d-none {
      display: none !important;
    }
    .audio-player-controls .progress {
      background-color: rgba(148, 163, 184, 0.2);
      border-radius: 999px;
    }
    [data-bs-theme="dark"] .audio-player-controls .progress {
      background-color: rgba(148, 163, 184, 0.15);
    }
    .audio-player-controls .progress-bar {
      background-color: var(--bs-primary);
      transition: width 0.1s linear;
    }
    .audio-player-controls .form-range {
      cursor: pointer;
      height: 0.5rem;
    }
    .audio-player-controls .form-label {
      font-weight: 500;
      color: var(--bs-body-color);
      font-size: 0.8rem;
      margin-bottom: 0.25rem;
    }
    .audio-player-controls .small {
      font-size: 0.75rem;
    }
    /* Assurer que le lecteur audio conserve la même disposition sur mobile et desktop */
    .tutoriel-audio-player-box .audio-player-controls {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
    }
    .tutoriel-audio-player-box .audio-player-controls > div.d-flex,
    .tutoriel-audio-player-box .audio-player-controls > div,
    .audio-player-controls > div.d-flex,
    .audio-player-controls > div {
      flex-direction: row !important;
      flex-wrap: nowrap !important;
      min-width: 0 !important;
      display: flex !important;
      align-items: center !important;
      width: 100% !important;
      max-width: 100% !important;
      overflow: hidden !important;
      box-sizing: border-box !important;
    }
    .tutoriel-audio-player-box .audio-player-controls .flex-grow-1,
    .audio-player-controls .flex-grow-1 {
      min-width: 0 !important;
      overflow: hidden !important;
      flex: 1 1 0% !important;
      margin-left: 0.5rem !important;
      width: 0 !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
    }
    .tutoriel-audio-player-box .audio-player-controls .flex-grow-1 > div,
    .audio-player-controls .flex-grow-1 > div {
      width: 100% !important;
      max-width: 100% !important;
      overflow: hidden !important;
      box-sizing: border-box !important;
      min-width: 0 !important;
    }
    .tutoriel-audio-player-box .audio-player-controls .progress,
    .audio-player-controls .progress {
      width: 100% !important;
      max-width: 100% !important;
      overflow: hidden !important;
      box-sizing: border-box !important;
      min-width: 0;
    }
    .tutoriel-audio-player-box .audio-player-controls .progress-bar,
    .audio-player-controls .progress-bar {
      max-width: 100% !important;
      box-sizing: border-box !important;
    }
    .tutoriel-audio-player-box .audio-player-controls .btn,
    .audio-player-controls .btn {
      flex-shrink: 0 !important;
      flex-grow: 0 !important;
      display: inline-flex !important;
      width: auto !important;
    }
    /* Forcer l'alignement horizontal même sur très petits écrans */
    @media (max-width: 991.98px) {
      .tutoriel-audio-player-box .audio-player-controls > div.d-flex,
      .tutoriel-audio-player-box .audio-player-controls > div,
      .audio-player-controls > div.d-flex,
      .audio-player-controls > div {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
      }
    }
    @media (max-width: 575.98px) {
      .tutoriel-audio-player-box .audio-player-controls > div.d-flex,
      .tutoriel-audio-player-box .audio-player-controls > div,
      .audio-player-controls > div.d-flex,
      .audio-player-controls > div {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
      }
      .tutoriel-audio-player-box .audio-player-controls > div > .btn,
      .tutoriel-audio-player-box .audio-player-controls .btn,
      .audio-player-controls > div > .btn,
      .audio-player-controls .btn {
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        min-width: 32px !important;
        width: auto !important;
        padding: 0.25rem 0.4rem !important;
        display: inline-flex !important;
      }
      .tutoriel-audio-player-box .audio-player-controls .flex-grow-1,
      .audio-player-controls .flex-grow-1 {
        min-width: 0 !important;
        margin-left: 0.5rem !important;
        flex: 1 1 0% !important;
        overflow: hidden !important;
        width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
      }
      .tutoriel-audio-player-box .audio-player-controls .flex-grow-1 > div,
      .audio-player-controls .flex-grow-1 > div {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
      .tutoriel-audio-player-box .audio-player-controls .progress,
      .audio-player-controls .progress {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
      }
      .tutoriel-audio-player-box .audio-player-controls .progress-bar,
      .audio-player-controls .progress-bar {
        max-width: 100% !important;
        box-sizing: border-box !important;
      }
      .tutoriel-audio-player-box .audio-player-controls .small,
      .audio-player-controls .small {
        font-size: 0.7rem !important;
        white-space: nowrap;
      }
    }

.tutoriel-body-block {
      width: 100%;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
      background-color: var(--bs-body-bg);
      box-shadow: none;
      border: 0;
      box-sizing: border-box;
      overflow: hidden;
    }
    .tutoriel-body-block .tutoriel-images-gallery,
    .tutoriel-body-block .tutoriel-gallery-pane {
      overflow: visible;
    }
    .tutoriel-images-gallery {
      margin-top: 3rem;
      background: transparent;
      position: relative;
      overflow: visible;
    }
    .tutoriel-images-gallery .carousel-item img {
      height: 520px;
      width: 100%;
      object-fit: cover;
      background: transparent;
      border-radius: 0.75rem;
    }
    #tutorielImagesCarousel .carousel-indicators {
      position: static;
      margin-top: 1rem;
      margin-bottom: 0;
    }
    #tutorielImagesCarousel .carousel-indicators [data-bs-target] {
      background-color: rgba(0, 0, 0, 0.4);
    }
    #tutorielImagesCarousel .carousel-indicators .active {
      background-color: #000;
    }
    html[data-bs-theme="dark"] #tutorielImagesCarousel .carousel-indicators [data-bs-target] {
      background-color: rgba(255, 255, 255, 0.6);
    }
    html[data-bs-theme="dark"] #tutorielImagesCarousel .carousel-indicators .active {
      background-color: #fff;
    }
    .carousel-captions-wrapper {
      margin-top: 1rem;
      min-height: 2rem;
      max-width: 100%;
      overflow: hidden;
    }
    .carousel-captions-wrapper .carousel-caption {
      position: static;
      color: var(--bs-body-color);
      text-align: center;
      padding: 0;
      margin: 0;
      display: block;
      max-width: 100%;
      overflow: hidden;
    }
    .carousel-captions-wrapper .carousel-caption.d-none {
      display: none !important;
    }
    .carousel-captions-wrapper .carousel-caption p {
      margin-bottom: 0;
      font-weight: bold;
      word-wrap: break-word;
      overflow-wrap: break-word;
      word-break: break-word;
      max-width: 100%;
    }
/* Contrôles desktop - affichés uniquement sur desktop */
#tutorielImagesCarousel .carousel-control-desktop.carousel-control-prev,
#tutorielImagesCarousel .carousel-control-desktop.carousel-control-next {
  opacity: 1 !important;
  width: 3rem;
  height: 3rem;
  background-color: var(--bs-primary) !important;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  filter: none !important;
  backdrop-filter: none !important;
}
#tutorielImagesCarousel .carousel-control-desktop.carousel-control-prev {
  left: -4.5rem;
}
#tutorielImagesCarousel .carousel-control-desktop.carousel-control-next {
  right: -4.5rem;
}
#tutorielImagesCarousel .carousel-control-desktop.carousel-control-prev:hover,
#tutorielImagesCarousel .carousel-control-desktop.carousel-control-next:hover {
  background-color: var(--bs-primary) !important;
  opacity: 0.9 !important;
  filter: none !important;
}
html[data-bs-theme="dark"] #tutorielImagesCarousel .carousel-control-desktop.carousel-control-prev,
html[data-bs-theme="dark"] #tutorielImagesCarousel .carousel-control-desktop.carousel-control-next {
  background-color: var(--bs-primary) !important;
  background: var(--bs-primary) !important;
  opacity: 1 !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-filter: none !important;
}
html[data-bs-theme="dark"] #tutorielImagesCarousel .carousel-control-desktop.carousel-control-prev:hover,
html[data-bs-theme="dark"] #tutorielImagesCarousel .carousel-control-desktop.carousel-control-next:hover {
  background-color: var(--bs-primary) !important;
  background: var(--bs-primary) !important;
  opacity: 0.9 !important;
  filter: none !important;
  -webkit-filter: none !important;
}
/* Cacher les contrôles mobile sur desktop */
.carousel-controls-mobile {
  display: none;
}
#tutorielImagesCarousel .carousel-control-prev-icon,
#tutorielImagesCarousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.146a.5.5 0 0 1 0 .708L5.207 8l6.147 6.146a.5.5 0 0 1-.708.708l-6.5-6.5a.5.5 0 0 1 0-.708l6.5-6.5a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
  background-size: 1.5rem 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
}
#tutorielImagesCarousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.146a.5.5 0 0 1 .708 0l6.5 6.5a.5.5 0 0 1 0 .708l-6.5 6.5a.5.5 0 0 1-.708-.708L10.793 8 4.646 1.854a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
#tutorielVideosCarousel .carousel-item .ratio {
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.04);
  height: 520px;
  width: 100%;
  position: relative;
}
#tutorielVideosCarousel .carousel-item .ratio::before {
  display: none;
}
[data-bs-theme="dark"] #tutorielVideosCarousel .carousel-item .ratio {
  background-color: rgba(255, 255, 255, 0.06);
}
#tutorielVideosCarousel .carousel-item iframe {
  border-radius: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#tutorielVideosCarousel .carousel-indicators {
  position: static;
  margin-top: 1rem;
  margin-bottom: 0;
}
#tutorielVideosCarousel .carousel-indicators [data-bs-target] {
  background-color: rgba(0, 0, 0, 0.4);
}
#tutorielVideosCarousel .carousel-indicators .active {
  background-color: #000;
}
html[data-bs-theme="dark"] #tutorielVideosCarousel .carousel-indicators [data-bs-target] {
  background-color: rgba(255, 255, 255, 0.6);
}
html[data-bs-theme="dark"] #tutorielVideosCarousel .carousel-indicators .active {
  background-color: #fff;
}
/* Contrôles desktop vidéos - affichés uniquement sur desktop */
#tutorielVideosCarousel .carousel-control-desktop.carousel-control-prev,
#tutorielVideosCarousel .carousel-control-desktop.carousel-control-next {
  opacity: 1 !important;
  width: 3rem;
  height: 3rem;
  background-color: var(--bs-primary) !important;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  filter: none !important;
  backdrop-filter: none !important;
}
#tutorielVideosCarousel .carousel-control-desktop.carousel-control-prev {
  left: -4.5rem;
}
#tutorielVideosCarousel .carousel-control-desktop.carousel-control-next {
  right: -4.5rem;
}
#tutorielVideosCarousel .carousel-control-desktop.carousel-control-prev:hover,
#tutorielVideosCarousel .carousel-control-desktop.carousel-control-next:hover {
  background-color: var(--bs-primary) !important;
  opacity: 0.9 !important;
  filter: none !important;
}
html[data-bs-theme="dark"] #tutorielVideosCarousel .carousel-control-desktop.carousel-control-prev,
html[data-bs-theme="dark"] #tutorielVideosCarousel .carousel-control-desktop.carousel-control-next {
  background-color: var(--bs-primary) !important;
  background: var(--bs-primary) !important;
  opacity: 1 !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-filter: none !important;
}
html[data-bs-theme="dark"] #tutorielVideosCarousel .carousel-control-desktop.carousel-control-prev:hover,
html[data-bs-theme="dark"] #tutorielVideosCarousel .carousel-control-desktop.carousel-control-next:hover {
  background-color: var(--bs-primary) !important;
  background: var(--bs-primary) !important;
  opacity: 0.9 !important;
  filter: none !important;
  -webkit-filter: none !important;
}
#tutorielVideosCarousel .carousel-control-prev-icon,
#tutorielVideosCarousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.146a.5.5 0 0 1 0 .708L5.207 8l6.147 6.146a.5.5 0 0 1-.708.708l-6.5-6.5a.5.5 0 0 1 0-.708l6.5-6.5a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
  background-size: 1.5rem 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
}
#tutorielVideosCarousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.146a.5.5 0 0 1 .708 0l6.5 6.5a.5.5 0 0 1 0 .708l-6.5 6.5a.5.5 0 0 1-.708-.708L10.793 8 4.646 1.854a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
    .tutoriel-gallery-tabs .nav-link {
      font-weight: 600;
      white-space: nowrap;
      border: 0;
      color: var(--bs-body-color);
      background-color: transparent;
      border-radius: 0.5rem;
      padding: 0.5rem 1.25rem;
      transition: background-color 0.2s ease, color 0.2s ease;
    }
    .tutoriel-gallery-tabs .nav-link:hover,
    .tutoriel-gallery-tabs .nav-link:focus {
      color: var(--bs-primary);
      background-color: rgba(37, 99, 235, 0.12);
    }
    .tutoriel-gallery-tabs .nav-link.active {
      border: 0;
      color: #fff;
      background-color: var(--bs-primary);
    }
    .tutoriel-gallery-tabs .tab-pane {
      padding: 1.5rem 0;
    }
    .tutoriel-gallery-tabs {
      gap: 0.75rem;
      flex-wrap: nowrap;
      justify-content: center;
      overflow-x: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
      -webkit-overflow-scrolling: touch;
      border-bottom: none;
      margin-bottom: 0.75rem;
    }
    .tutoriel-gallery-tabs::-webkit-scrollbar {
      height: 4px;
    }
    .tutoriel-gallery-tabs::-webkit-scrollbar-thumb {
      background-color: rgba(0, 0, 0, 0.25);
      border-radius: 999px;
    }
    .tutoriel-gallery-tabs .nav-item {
      flex: 0 0 auto;
    }
    @media (min-width: 992px) {
      .tutoriel-gallery-tabs {
        justify-content: flex-start;
      }
    }
    @media (max-width: 575.98px) {
      .tutoriel-gallery-tabs {
        justify-content: center;
        padding-bottom: 0.25rem;
      }
      .tutoriel-gallery-tabs::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.18);
      }
    }
    .tutoriel-video-gallery .ratio {
      width: 100%;
      border-radius: 0.75rem;
      overflow: hidden;
      background-color: rgba(0, 0, 0, 0.04);
    }
    .tutoriel-video-gallery {
      width: 100%;
    }
    [data-bs-theme="dark"] .tutoriel-video-gallery .ratio {
      background-color: rgba(255, 255, 255, 0.06);
    }
    .tutoriel-video-gallery iframe {
      border-radius: 0;
      width: 100%;
      height: 100%;
    }
    .tutoriel-comments {
      background-color: var(--bs-tertiary-bg);
      border: none;
      box-shadow: 0 12px 38px rgba(15, 23, 42, 0.06);
      padding: clamp(1rem, 4vw, 2rem);
    }
    [data-bs-theme="light"] .tutoriel-comments {
      background-color: rgba(148, 163, 184, 0.22);
      box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
    }
    [data-bs-theme="dark"] .tutoriel-comments {
      background-color: rgba(15, 23, 42, 0.94);
      box-shadow: 0 24px 48px rgba(2, 6, 23, 0.55);
    }
    .tutoriel-comments.is-loading {
      opacity: 0.6;
      pointer-events: none;
    }
    .tutoriel-comments-header h2 {
      font-weight: 700;
    }
    .tutoriel-comments-list {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }
    .comment-item {
      position: relative;
      border-left: 2px solid rgba(148, 163, 184, 0.25);
      padding-left: 1rem;
    }
    .comment-item[data-comment-depth="0"] {
      border-left: none;
      padding-left: 0;
    }
    .comment-avatar img {
      width: 40px;
      height: 40px;
      object-fit: cover;
    }
    .comment-meta .comment-author-badge {
      font-size: 0.75rem;
    }
    .comment-body {
      white-space: pre-wrap;
      word-break: break-word;
    }
    .comment-actions .btn-light {
      border-radius: 999px;
      padding-inline: 0.75rem;
    }
    .comment-actions .btn-light.active {
      background-color: rgba(37, 99, 235, 0.12);
      color: var(--bs-primary);
    }
    .comment-children {
      margin-top: 1rem;
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }
    .comment-toggle-children button {
      color: var(--bs-primary);
    }
    .comment-placeholder {
      font-size: 0.9rem;
    }
    .comment-reply-form textarea {
      resize: vertical;
    }
    .comment-edit-form textarea {
      resize: vertical;
    }
    .tutoriel-author-card {
      background-color: var(--bs-tertiary-bg);
      border: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow: 0 12px 38px rgba(15, 23, 42, 0.06);
    }
    [data-bs-theme="light"] .tutoriel-author-card {
      background-color: rgba(148, 163, 184, 0.22);
      border-color: rgba(100, 116, 139, 0.32);
      box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
    }
    [data-bs-theme="dark"] .tutoriel-author-card {
      background-color: rgba(15, 23, 42, 0.94);
      border-color: rgba(148, 163, 184, 0.22);
      box-shadow: 0 24px 48px rgba(2, 6, 23, 0.55);
    }
    .tutoriel-similar-section {
      background-color: var(--bs-tertiary-bg);
      border: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow: 0 12px 38px rgba(15, 23, 42, 0.06);
    }
    [data-bs-theme="light"] .tutoriel-similar-section {
      background-color: rgba(148, 163, 184, 0.22);
      border-color: rgba(100, 116, 139, 0.32);
      box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
    }
    [data-bs-theme="dark"] .tutoriel-similar-section {
      background-color: rgba(15, 23, 42, 0.94);
      border-color: rgba(148, 163, 184, 0.22);
      box-shadow: 0 24px 48px rgba(2, 6, 23, 0.55);
    }
    .tutoriel-navigation {
      background-color: var(--bs-tertiary-bg);
      border: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow: 0 12px 38px rgba(15, 23, 42, 0.06);
    }
    [data-bs-theme="light"] .tutoriel-navigation {
      background-color: rgba(148, 163, 184, 0.22);
      border-color: rgba(100, 116, 139, 0.32);
      box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
    }
    [data-bs-theme="dark"] .tutoriel-navigation {
      background-color: rgba(15, 23, 42, 0.94);
      border-color: rgba(148, 163, 184, 0.22);
      box-shadow: 0 24px 48px rgba(2, 6, 23, 0.55);
    }
    .tutoriel-navigation a {
      transition: all 0.2s ease;
    }
    .tutoriel-navigation a:hover {
      background-color: var(--bs-primary-bg-subtle);
      border-color: var(--bs-primary);
    }
    .tutoriel-share-buttons .btn {
      transition: transform 0.2s ease;
    }
    .tutoriel-share-buttons .btn:hover {
      transform: translateY(-2px);
    }
    @media (max-width: 575.98px) {
      .tutoriel-comments {
        padding: 1rem;
      }
      .comment-item {
        padding-left: 0.75rem;
      }
    }
    /* Styles pour mobile et tablettes - repositionner les contrôles sous les captions */
    @media (max-width: 1199.98px) {
      /* Cacher les contrôles desktop sur mobile */
      #tutorielImagesCarousel .carousel-control-desktop,
      #tutorielVideosCarousel .carousel-control-desktop {
        display: none !important;
      }
      /* Afficher les contrôles mobile */
      .carousel-controls-mobile {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1rem !important;
        margin-top: 1rem !important;
        width: 100% !important;
      }
      /* Styles pour les boutons dans le wrapper mobile */
      .carousel-controls-mobile .carousel-control-prev,
      .carousel-controls-mobile .carousel-control-next {
        position: static !important;
        transform: none !important;
        width: 3rem !important;
        height: 3rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        background-color: var(--bs-primary) !important;
        border-radius: 50% !important;
        filter: none !important;
        backdrop-filter: none !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
      }
      .carousel-controls-mobile .carousel-control-prev:hover,
      .carousel-controls-mobile .carousel-control-next:hover {
        background-color: var(--bs-primary) !important;
        opacity: 0.9 !important;
        filter: none !important;
      }
      html[data-bs-theme="dark"] .carousel-controls-mobile .carousel-control-prev,
      html[data-bs-theme="dark"] .carousel-controls-mobile .carousel-control-next {
        background-color: var(--bs-primary) !important;
        background: var(--bs-primary) !important;
        opacity: 1 !important;
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-filter: none !important;
      }
      html[data-bs-theme="dark"] .carousel-controls-mobile .carousel-control-prev:hover,
      html[data-bs-theme="dark"] .carousel-controls-mobile .carousel-control-next:hover {
        background-color: var(--bs-primary) !important;
        background: var(--bs-primary) !important;
        opacity: 0.9 !important;
        filter: none !important;
        -webkit-filter: none !important;
      }
      .carousel-controls-mobile .carousel-control-prev-icon,
      .carousel-controls-mobile .carousel-control-next-icon {
        background-size: 1.5rem 1.5rem !important;
        width: 1.5rem !important;
        height: 1.5rem !important;
      }
      .carousel-controls-mobile .carousel-control-prev-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.146a.5.5 0 0 1 0 .708L5.207 8l6.147 6.146a.5.5 0 0 1-.708.708l-6.5-6.5a.5.5 0 0 1 0-.708l6.5-6.5a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
      }
      .carousel-controls-mobile .carousel-control-next-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.146a.5.5 0 0 1 .708 0l6.5 6.5a.5.5 0 0 1 0 .708l-6.5 6.5a.5.5 0 0 1-.708-.708L10.793 8 4.646 1.854a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
      }
      /* Ajuster le wrapper des captions pour mieux organiser les éléments */
      .carousel-captions-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
      }
    }
