/* ODS Hero Readability Pass
 * Corrige: hero /market-place/ (gris clair illisible), breadcrumbs/metadata des pages internes */

/* =========================================================
   1) /market-place/ — Forcer hero vert foncé cohérent
   Body class unique: page-id-2239
   ========================================================= */
body.page-id-2239 .elementor-element.elementor-element-7e3abac {
    background: #0F4A1F !important;
    background-image: linear-gradient(135deg, #0F4A1F 0%, #1B5E20 100%) !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* Titre H1 "Genomic data science courses" → blanc */
body.page-id-2239 .elementor-element.elementor-element-7e3abac h1,
body.page-id-2239 .elementor-element.elementor-element-7e3abac .elementor-heading-title {
    color: #FFFFFF !important;
    font-family: 'DM Serif Display', Georgia, serif !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Subtitle "Master bioinformatics..." → blanc transparent 95% */
body.page-id-2239 .elementor-element.elementor-element-7e3abac .elementor-widget-text-editor,
body.page-id-2239 .elementor-element.elementor-element-7e3abac .elementor-widget-text-editor p {
    color: rgba(255, 255, 255, 0.95) !important;
    opacity: 1 !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
}

/* Stats "8 courses | Self-paced | Certificate included | From $99" */
body.page-id-2239 .elementor-element.elementor-element-7e3abac [class*="elementor-widget"] *,
body.page-id-2239 .elementor-element.elementor-element-7e3abac .elementor-icon-list-item,
body.page-id-2239 .elementor-element.elementor-element-7e3abac .elementor-icon-list-text {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Séparateurs "|" */
body.page-id-2239 .elementor-element.elementor-element-7e3abac .elementor-divider,
body.page-id-2239 .elementor-element.elementor-element-7e3abac .elementor-divider-separator {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* =========================================================
   2) Pages Tutor LMS (courses singles) — hero vert foncé
   Body class: single-courses
   ========================================================= */

/* Breadcrumbs "Courses > Bio-Computing" */
body.single-courses .tutor-breadcrumb,
body.single-courses .tutor-breadcrumb a,
body.single-courses .tutor-breadcrumb span,
body.single-courses .tutor-course-topbar-breadcrumb,
body.single-courses .tutor-course-topbar-breadcrumb a,
body.single-courses .tutor-course-topbar-breadcrumb span {
    color: #C8E6C9 !important;
    opacity: 1 !important;
}

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

/* "Courses" label (violet/orange par défaut) dans breadcrumb */
body.single-courses .tutor-course-topbar-breadcrumb a:first-child {
    color: #C8E6C9 !important;
}

/* Rating count "(234 students)" */
body.single-courses .tutor-ratings-count,
body.single-courses .tutor-rating-count,
body.single-courses .ods-rating-count,
body.single-courses .tutor-ratings .tutor-ratings-count {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
}

/* "By dox" / instructor meta dans hero */
body.single-courses .tutor-course-header .tutor-meta,
body.single-courses .tutor-course-header .tutor-meta-value,
body.single-courses .tutor-course-header .tutor-instructor-name,
body.single-courses .tutor-single-course-top .tutor-meta,
body.single-courses .tutor-single-course-top .tutor-meta-value {
    color: #FFFFFF !important;
    opacity: 0.9 !important;
}

/* SAVE / SHARE buttons */
body.single-courses .tutor-course-top-action,
body.single-courses .tutor-course-header .tutor-course-action,
body.single-courses .tutor-wishlist-btn,
body.single-courses .tutor-share-btn,
body.single-courses button[class*="wishlist"],
body.single-courses button[class*="share"] {
    color: #FFFFFF !important;
    opacity: 0.9 !important;
}

body.single-courses .tutor-course-top-action:hover,
body.single-courses .tutor-wishlist-btn:hover,
body.single-courses .tutor-share-btn:hover {
    opacity: 1 !important;
    color: #FFFFFF !important;
}

/* Labels "Categories:", "Instructor:" — très petits slate */
body.single-courses .tutor-course-header .tutor-meta-key,
body.single-courses .tutor-course-header .tutor-meta-title {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
}

/* Stars rating (jaune) — on garde la couleur mais on les rend plus contrastées */
body.single-courses .tutor-ratings-stars,
body.single-courses .tutor-ratings-stars svg {
    color: #FCD34D !important;
    fill: #FCD34D !important;
}

/* =========================================================
   3) Pages services/about/contact — breadcrumbs sur hero vert
   ========================================================= */

/* Elementor breadcrumbs dans hero vert */
body:not(.home) .elementor-breadcrumbs a,
body:not(.home) .elementor-breadcrumbs span,
body:not(.home) .breadcrumbs a,
body:not(.home) #breadcrumbs a,
body:not(.home) #breadcrumbs span {
    color: #C8E6C9 !important;
}

body:not(.home) .elementor-breadcrumbs a:hover,
body:not(.home) .breadcrumbs a:hover,
body:not(.home) #breadcrumbs a:hover {
    color: #FFFFFF !important;
    text-decoration: underline !important;
}

/* Séparateurs ">" dans breadcrumbs */
body:not(.home) .elementor-breadcrumbs .separator,
body:not(.home) .breadcrumbs .separator,
body:not(.home) #breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* =========================================================
   4) Anti-regression — si jamais un autre widget hero a le même problème
   On NE touche PAS les pages qui ont déjà leur style custom Elementor qui fonctionne
   Juste un safety net pour les textes visiblement délavés
   ========================================================= */

/* Dernier recours: tout paragraphe en #9CA3AF ou #A1A1AA etc dans un hero sombre */
body.single-courses [style*="color:#9CA3AF" i],
body.single-courses [style*="color:#A1A1AA" i],
body.single-courses [style*="color:#94A3B8" i] {
    color: #FFFFFF !important;
    opacity: 0.9 !important;
}
