/* My Two Column Table that I use all over the place */
/* ------------------------------------------------- */
.twocol-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0; /* Use 0 or a small unit value with units, e.g. 4px */
  border: none;
}

.twocol-table td {
  vertical-align: middle; /* vertical centering */
  border: none;
  padding: 4px;           /* add units for padding */
  text-align: left;       /* adjust horizontal alignment as needed */
}

.twocol-table img {
  max-width: 100%;
  border: none;
  padding: 0;
  display: block;
  vertical-align: middle;
}

/* Support for my Two-level "subMenu" Menus */
/* ---------------------------------------- */

.menu-group {
  position: relative;
}

.menu-group > a {
  cursor: pointer;
}

.submenu {
  display:     none;
  position:    absolute;
  background:  white;
  padding:     5px;
  border:      1px solid #ccc;
  z-index:     10;
}

.menu-group:hover .submenu {
  display: block;
}

.submenu a {
  display:        block;
  padding:        5px 10px;
  white-space:    nowrap;
}


.site-nav .trigger {
  padding-left: 1em; /* or whatever padding needed */
}

.menu-group > a {
  padding-left: 1em;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;        /* horizontal menu */
  gap: 1em;             /* spacing between top items */
}

.menu > li {
  position: relative;   /* for positioning submenu */
}

.menu > li > a {
  display: block;
  padding: 0.5em 1em;
  text-decoration: none;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;            /* just below parent menu */
  left: 0;
  list-style: none;
  margin: 0;
  padding: 0.5em 0;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.menu > li:hover .submenu {
  display: block;       /* show submenu on hover */
}

.submenu > li > a {
  padding: 0.5em 1em;
  display: block;
  white-space: nowrap;
  text-decoration: none;
}



/* Desktop submenu */
.submenu {
  position: absolute;
  top: 100%;          /* below parent */
  left: 0;            /* align left edge of submenu */
  display: none;
  background: white;
  border: 1px solid #ccc;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  white-space: nowrap; /* keep submenu single-line items */
}

/* Show submenu on hover */
.menu-group:hover .submenu {
  display: block;
}

/* Mobile submenu styles */
@media (max-width: 768px) {
  .submenu {
    position: static;    /* remove absolute positioning */
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 1em;   /* indent submenu */
    white-space: normal; /* allow wrapping */
  }

  .menu-group:hover .submenu,
  .menu-group:focus-within .submenu {
    display: block;
  }
  
  .submenu a {
    display: block;
    padding: 0.5em 1em;
  }
}


.menu {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping to a new line */
  gap: 1em;          /* Space between menu items */
}

.menu > li {
  white-space: nowrap; /* Prevent menu titles from wrapping */
}

.trigger {
  display: flex;
  /* flex-wrap: nowrap;      prevent wrapping to multiple lines */
  /* gap: 1em;          space between items */
  justify-content: flex-start; /* LEFT align all items */
  align-items: center; /* vertically center */
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1em;
}


/* MSH - Moving the Hamburger to the LHS */


