/*== Sticky Header & Menu Bar ==*/
.ast-primary-header-bar,
.main-header-bar,
header.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* Prevent clipping of dropdowns under the sticky header */
.ast-primary-header-bar,
.main-header-bar {
  overflow: visible;
}

/*== Submenu color ==*/
/* Bearcats black (fallback for non-desktop contexts) */
.main-header-menu .sub-menu a {
  color: #333333;
}

/* Desktop: white dropdown panel + black links + UC red hover */
.ast-desktop .main-header-menu .sub-menu {
  background: #ffffff;
  border: 1px solid #e6e6e6;
}

/* Show submenu on hover (desktop) */
.ast-desktop .main-header-menu li { position: relative; }
.ast-desktop .main-header-menu li:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
}

/* Ensure submenu is visible instantly and above content */
.ast-desktop .main-header-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  visibility: hidden;
  opacity: 0;
  z-index: 10000;
  transition: none;
}

/* Submenu link colors = black */
.ast-desktop .main-header-menu .sub-menu a {
  color: #000000;
}

/* UC Dark Red on hover  */
.ast-desktop .main-header-menu .sub-menu a:hover {
  color: #b8011c;
}

.justified-centered {
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

/* Center the entire details control */
.speaker-dropdown {
  text-align: center;
}

/* Style + center the clickable summary */
.speaker-dropdown summary {
  display: inline-block;
  cursor: pointer;
  padding: 0.5em 1em;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 600;
  list-style: none;
  text-align: center;
}

/* Remove default arrow/marker */
.speaker-dropdown summary::-webkit-details-marker {
  display: none;
}

/* Space between button and dropdown content */
.speaker-dropdown[open] summary {
  margin-bottom: 0.5rem;
}

/* Ensure dropdown content aligns nicely under button */
.speaker-dropdown > *:not(summary) {
  text-align: left;
  margin-top: 0.25rem;
}







