/*
Theme Name:     Divi Child
Theme URI:      https://example.com
Description:    A child theme for Divi
Author:         Your Name
Author URI:     https://example.com
Template:       Divi
Version:        1.0.0
*/

/* Import Divi base */
@import url("../Divi/style.css");

/* Global background */
body {
  background-color: rgba(114, 173, 56, 0.05);
}

/* Force header/nav to always sit above everything else */
#main-header,
#et-top-navigation,
.et_menu_container,
.et_pb_fullwidth_menu {
  position: relative;
  z-index: 9999 !important;
}

/* Ensure dropdowns from the menu aren't clipped or hidden */
.et_pb_section,
.et_pb_row,
.et_pb_column,
.et_pb_module {
  position: relative;
  z-index: 1;
  overflow: visible !important;
}

/* Specific fix for dropdown menus inside the header */
#et-top-navigation nav ul li ul {
  z-index: 99999 !important;
}

/* Optional: scope this just to courses if needed */
.single-course .et_pb_section,
.single-course .et_pb_row {
  position: relative;
  z-index: 1;
  overflow: visible !important;
}
