body {
  min-width: 320px;
}






/*liste des matieres et chapitres */

.course-hero-image {
  display: block;
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  border-radius: var(--tblr-border-radius);
}

.course-chapter-image {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: var(--tblr-border-radius);
}

.breadcrumb-item {
  max-width: 200px;
  min-width: 0;
}

.breadcrumb-item > a,
.breadcrumb-item.active {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}



.course-matter-heading {
  display: grid;
  grid-template-rows: auto auto;
  gap: .75rem;
}

.course-matter-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--tblr-border-radius);
}

@media (min-width: 768px) {
  .course-matter-heading {
    grid-template-columns: auto 1fr;
    grid-template-rows: none;
    align-items: center;
  }

  .course-matter-image {
    height: 5rem;
  }
}

.course-chapter-heading {
  display: grid;
  align-items: center;
  gap: .75rem;
}

@media (min-width: 768px) {
  .course-chapter-heading {
    grid-template-areas:
      "state state"
      "content action";
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .course-chapter-heading > :first-child {
    grid-area: content;
  }

  .course-chapter-heading > .badge {
    grid-area: state;
    justify-self: start;
  }

  .course-chapter-heading > .btn {
    grid-area: action;
    justify-self: end;
  }
}
