@charset "UTF-8";
/* CSS Document */

/* Flex container for MySCC and Search */
.help-tools-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 1rem;
  overflow: visible; /* avoid clipping */
}

/* Divider styling between MySCC and Search */
.myscc-wrapper {
  padding-right: 1rem;
  border-right: 1px solid #8b8b8b;
  overflow: visible; /* avoid clipping */
}

.search-wrapper {
  margin-left: 1rem;
}

/* Remove bullets + reset spacing */
.help-menu,
.help-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Position anchor for dropdown */
.myscc-item {
  position: relative;
  overflow: visible; /* avoid clipping */
}

/* Arrow styling for MySCC toggle */
.submenu-toggle .arrow::before {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 0.5em;
  font-size: 0.75em;
  vertical-align: middle;
  transition: transform 0.3s ease;
}
.submenu-toggle[aria-expanded="true"] .arrow::before {
  transform: rotate(180deg);
}

/* Dropdown menu */
.submenu-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: calc(100% + 0.25rem); /* directly under button */
  left: 0;
  /*background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: 1px solid #ddd;*/
  z-index: 2000; /* above header chrome */
  min-width: 180px;
}
.submenu-list li a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #333;
}
.submenu-list li a:hover,
.submenu-list li a:focus {
  background-color: #f0f0f0;
}

/* Two ways to hide: native [hidden] and CSS class */
.submenu-list[hidden],
.submenu-list.is-hidden {
  display: none;
}

/* State-driven visibility to beat template rules */
.myscc-item > .submenu-toggle[aria-expanded="true"] + .submenu-list {
  display: block !important;
}

/* Hide visually below 1100px (SR/keyboard handled in JS) */
@media (max-width: 1100px) {
  .myscc-item { display: none !important; }
}

/* Search field animation */
#header-searchBox {
  width: 0;
  max-width: 200px;
  opacity: 0;
  transition: width 0.2s ease, opacity 0.2s ease;
}
#header-searchBox.is-open {
  width: 200px;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  #header-searchBox { transition: none; }
}

/* Visually hidden utility */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}