@@ -355,4 +355,42 @@ html[data-theme="dark"] .festim-ribbon-track img:hover {
355355 .festim-nav-grid {
356356 grid-template-columns : repeat (2 , 1fr );
357357 }
358+ }
359+
360+
361+ /* =============================================================
362+ FIX - REMOVE UNWANTED BACKGROUNDS (RTD dark mode)
363+ ============================================================= */
364+
365+ /* Carousel image area */
366+ html [data-theme = "dark" ] .festim-hero-carousel .carousel ,
367+ html [data-theme = "dark" ] .festim-hero-carousel .carousel-item ,
368+ html [data-theme = "dark" ] .festim-hero-carousel .carousel-item img {
369+ background-color : transparent;
370+ }
371+
372+ /* Navigation cards - remove the lighter band */
373+ html [data-theme = "dark" ] .festim-nav-card {
374+ background-color : transparent;
375+ border-color : var (--pst-color-border );
376+ }
377+
378+ html [data-theme = "dark" ] .festim-nav-card span {
379+ background-color : transparent;
380+ }
381+
382+ /* sphinx-design cards (Why FESTIM section) */
383+ html [data-theme = "dark" ] .sd-card {
384+ background-color : transparent;
385+ border-color : var (--pst-color-border );
386+ }
387+
388+ html [data-theme = "dark" ] .sd-card-body {
389+ background-color : transparent;
390+ }
391+
392+ html [data-theme = "dark" ] .sd-card-header ,
393+ html [data-theme = "dark" ] .sd-card-footer {
394+ background-color : transparent;
395+ border-color : var (--pst-color-border );
358396}
0 commit comments