/* This css file provides web specific style overrides for mhb-web */

.bsw-typography a {
  font-weight: 700;
}

/* LinkList layout override - ensures proper flexbox layout for inline styled components */
.bsw-link-list button.bsw-link-text,
.bsw-link-list a.bsw-link-text {
  display: block !important;
  width: 100% !important;
}

.bsw-link-list button.bsw-link-text > .bsw-typography,
.bsw-link-list a.bsw-link-text > .bsw-typography {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.bsw-link-list button.bsw-link-text > .bsw-typography > div:first-child,
.bsw-link-list a.bsw-link-text > .bsw-typography > div:first-child {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.bsw-link-list button.bsw-link-text > .bsw-typography > div:first-child > div,
.bsw-link-list a.bsw-link-text > .bsw-typography > div:first-child > div {
  text-align: left !important;
}

.bsw-link-list button.bsw-link-text .bsw-circle-button,
.bsw-link-list a.bsw-link-text .bsw-circle-button {
  margin-left: auto !important;
}

/* Navigation sliding menu link text styles */
.bsw-navigation__sliding-menu .bsw-link-text {
  width: 100%;
}

.bsw-navigation__sliding-menu .bsw-link-text .bsw-typography {
  display: flex;
  margin-bottom: 8px;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.bsw-navigation__sliding-menu .bsw-link-text .bsw-circle-button {
  flex-shrink: 0;
  margin-right: 0 !important;
}

/* Fix for inline-styled link components in advance directives */
.advanced-directives-container .row .col-12.col-lg-6 > div[style*="display: inline-block"] {
  display: block !important;
  margin-bottom: 8px;
}

.advanced-directives-container .row .col-12.col-lg-6 > div[style*="display: inline-block"] .bsw-link-text {
  display: block !important;
  width: 100%;
}

/* Footer links hover underline effect for logged-in footer */
.footer-container.footer-loggedin .footer__links .bsw-link-text:hover .bsw-typography {
  text-decoration: underline !important;
}

/* FAQ Circle Button Centering Fix - Margin Reset Only */
/* Reset margin inheritance that affects circle button positioning */
.faq-link,
.faq-link * {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}


