/* ODS Hero Course Readability — Override des classes exactes identifiées
 * .ods-header-rating .ods-header-meta : était #374151 (invisible sur vert)
 * .ods-course-breadcrumb : était #374151
 * .ods-course-breadcrumb a : était #4CAF50 (vert moyen, peu lisible) */

/* =========================================================
   1) .ods-header-rating .ods-header-meta → "(189 students)"
   ========================================================= */
body.single-courses .ods-header-rating .ods-header-meta {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

/* =========================================================
   2) .ods-course-breadcrumb → "Courses › Bioinformatics..."
   ========================================================= */
body.single-courses .ods-course-breadcrumb {
    color: rgba(255, 255, 255, 0.85) !important;
}

body.single-courses .ods-course-breadcrumb a {
    color: #C8E6C9 !important;
    font-weight: 500 !important;
}

body.single-courses .ods-course-breadcrumb a:hover {
    color: #FFFFFF !important;
    text-decoration: underline !important;
}

/* Le nom du cours actuel (dernier élément sans lien) */
body.single-courses .ods-course-breadcrumb > *:not(a):last-child,
body.single-courses .ods-course-breadcrumb > span:last-child {
    color: #FFFFFF !important;
    font-weight: 500 !important;
}

/* Séparateur "›" */
body.single-courses .ods-course-breadcrumb > *:not(:last-child)::after {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* =========================================================
   3) Rating number "4.7" → on reforce la couleur jaune bien visible
   (était F59E0B, OK mais on peut un peu plus vif)
   ========================================================= */
body.single-courses .ods-header-rating .ods-rating-number {
    color: #FBBF24 !important;
    font-weight: 700 !important;
}

body.single-courses .ods-header-rating .ods-rating-stars svg {
    color: #FBBF24 !important;
    fill: #FBBF24 !important;
}

/* =========================================================
   4) FILET DE SÉCURITÉ MINIMAL — tout texte parent du hero course
   en vert foncé forcé en blanc, SAUF rating jaune & breadcrumb vert pastel
   (au cas où "By dox" ou autre soit injecté dans ce container)
   ========================================================= */
body.single-courses .tutor-course-details-header .tutor-course-details-title + *:not(.ods-course-breadcrumb):not(.ods-header-rating),
body.single-courses .tutor-course-details-header > div > *:not(.ods-course-breadcrumb):not(.ods-header-rating):not(h1):not(h2) {
    color: rgba(255, 255, 255, 0.9) !important;
}
