.ccbl-global-bar {
  --ccbl-bar-bg: rgb(18, 173, 149);
  --ccbl-bar-fg: #fff;
  --ccbl-dropdown-text: #17322d;
  --ccbl-dropdown-shadow: 0 18px 42px rgba(15, 55, 47, 0.18);
  background: var(--ccbl-bar-bg);
  color: var(--ccbl-bar-fg);
  max-height: 50px;
  overflow: visible;
  position: relative;
  transform: translateY(0);
  transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.28s ease;
  z-index: 1002;
}

.ccbl-global-bar--hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-100%);
}

.ccbl-global-bar__inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  max-height: 50px;
}

.ccbl-global-bar__brand {
  color: inherit;
  display: inline-flex;
  text-decoration: none;
}

.ccbl-global-bar__brand:hover,
.ccbl-global-bar__brand:focus {
  color: inherit;
}

.ccbl-global-bar__brand img {
  display: block;
  height: auto;
  max-height: 40px;
  max-width: min(220px, 55vw);
  width: auto;
}

.ccbl-global-bar__menu {
  flex-shrink: 0;
  position: relative;
}

.ccbl-global-bar__menu summary {
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  font-weight: 700;
  line-height: 50%;
  list-style: none;
  padding: 0.1rem 0 0.2rem;
  user-select: none;
}

.ccbl-global-bar__menu summary::-webkit-details-marker {
  display: none;
}

.ccbl-global-bar__menu summary:hover,
.ccbl-global-bar__menu summary:focus,
.ccbl-global-bar__menu summary:focus-visible {
  color: #fff;
  opacity: 0.88;
  outline: 0;
}

.ccbl-global-bar__dropdown {
  background: #fff;
  border: 1px solid rgba(18, 173, 149, 0.16);
  border-radius: 16px;
  box-shadow: var(--ccbl-dropdown-shadow);
  color: var(--ccbl-dropdown-text);
  min-width: 260px;
  padding: 0.45rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
}

.ccbl-global-bar__dropdown a {
  border-radius: 10px;
  color: var(--ccbl-dropdown-text);
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ccbl-global-bar__dropdown a:hover,
.ccbl-global-bar__dropdown a:focus,
.ccbl-global-bar__dropdown a:focus-visible {
  background: rgba(18, 173, 149, 0.1);
  color: #0f5043;
  outline: 0;
}

@media (max-width: 575.98px) {
  .ccbl-global-bar__inner {
    max-height: 52px;
    padding-bottom: 0.45rem;
    padding-top: 0.45rem;
  }

  .ccbl-global-bar__menu summary {
    font-size: 1.8rem;
  }

  .ccbl-global-bar__dropdown {
    min-width: min(280px, calc(100vw - 2rem));
  }
}
