/* 
 * Menu text formatting improvements
 * This CSS improves the appearance of menu text
 */

/* Improve overall menu text appearance */
.inner-sub-category,
.x--sfe-TocTitle-TOC-1-0 {
  font-size: 14px;
  padding: 3px 0;
  margin: 2px 0;
}

/* Make section numbers clear */
.inner-sub-category {
  text-indent: 0 !important;
  padding-left: 10px !important;
}

/* Ensure text wraps properly on narrow screens */
.listitms a {
  width: 100%;
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Fix spacing for section numbers */
.inner-sub-category {
  letter-spacing: normal;
}

/* Increase container width to avoid text cutoff */
.listitms {
  max-width: 100%;
  width: 100%;
}

/* Increase touchable area for mobile */
@media (max-width: 768px) {
  .inner-sub-category,
  .x--sfe-TocTitle-TOC-1-0 {
    font-size: 16px;
    padding: 6px 0;
  }
  
  .listitms a {
    padding: 4px 0;
    margin: 2px 0;
  }
  
  /* Ensure proper spacing */
  .inner-sub-category {
    padding-left: 15px !important;
  }
}

/* Fix alignment for first level menu items */
.x--sfe-TocTitle-TOC-1-0:not(.inner-sub-category) {
  font-weight: bold;
} 