/* Bayan Learning - active state for the mobile header menu.
   The desktop rule (.nav-link.active) already lives in the shell stylesheet. */
#bayan-mobile-menu a.active {
  background: var(--bayan-50, #f4f1fa);
  color: var(--bayan-700, #5b4491);
  font-weight: 600;
}

[data-theme="dark"] #bayan-mobile-menu a.active,
body.dark-mode #bayan-mobile-menu a.active {
  background: var(--bayan-900, #2a2140);
  color: var(--bayan-100, #e6ddf7);
}

/* The corporate pill keeps its own colours, so give it a clearer active look. */
#bayan-clone-header .nav-link-corp.active {
  background-color: #1e293b26;
  border-color: #1e293b66;
  color: #1e293b !important;
}

[data-theme="dark"] #bayan-clone-header .nav-link-corp.active {
  background-color: #94a3b83d;
  border-color: #94a3b866;
  color: #e2e8f0 !important;
}

/* Temporarily hidden calls to action (home page).
   Remove this block to bring them back - the markup is untouched. */
#corporate a.btn-primary,
#corporate a.btn-ghost {
  display: none !important;
}

/* Footer column headings: the theme's compiled CSS has no mb-4 utility,
   so the heading sat flush against its list. */
#bayan-clone-footer div h4 {
  margin-bottom: 14px !important;
}

#bayan-clone-footer h4 + ul {
  padding-top: 4px;
}

/* Collapse the now-empty button row so it leaves no gap. */
#corporate div:has(> a.btn-ghost) {
  display: none !important;
}
