/*
 Theme Name:     Divi Child
 Theme URI:      https://www.munki-boy.co.uk/
 Description:    Divi Child Theme
 Author:         munki-boy
 Author URI:     https://www.munki-boy.co.uk
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* 1. Force the main wrapper to stack vertically instead of side-by-side */
.no-collapse .et_pb_menu__wrap {
    display: flex !important;
    flex-direction: column !important;
}

/* 2. Show the desktop menu and kill the flex row layout */
.no-collapse .et_pb_menu__menu,
.no-collapse .et_pb_menu__menu > nav,
.no-collapse .et_pb_menu__menu > nav > ul {
    display: block !important;
}

/* 3. Force the list items to be full width and not float */
.no-collapse .et-menu-nav ul li {
    display: block !important;
    width: 100% !important;
    text-align: left !important; /* Adjust if you want them centered */
}

/* 4. Hide that annoying hamburger menu/mobile toggle */
.no-collapse .et_mobile_nav_menu {
    display: none !important;
}


/*
 * Styles for the County Service List Shortcode
 */

/* 1. Style the main grid container (the <ul>) */
/* Style the main grid container (the <ul>) */
.county-service-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: 1fr;
}

/* Belt-and-braces: kill bullets on the list items themselves */
.county-service-grid li {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  background: none; /* in case the theme adds a bullet image */
}

.county-service-grid li::before,
.county-service-grid li::marker {
  content: none;
  display: none;
}

/* Style the individual links */
.county-service-grid li a {
  display: block;
  background-color: #000000;
  color: #ffffff;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.2s ease-in-out;
}

.county-service-grid li a:hover {
  background-color: #333333;
}

@media (min-width: 768px) {
  .county-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .county-service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}