/* LEGACY BELONG CALLOUTS  */
.ct {
  --gap: 1rem;
  --ct-icon-width: 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border-radius: calc(var(--lumx-border-radius) * 3);
  background-color: var(--lumx-color-light-N);
  color: var(--lumx-color-dark-N);
  box-shadow: var(--u-boxShadow-6px);
}

.ct--alt-1 {
  background-color: var(--lumx-color-secondary-N);
}

.ct--alt-2 {
  background-color: var(--lumx-color-primary-N);
}

:is(.ct--alt-1, .ct--alt-2).light-text {
  color: var(--lumx-color-light-N);
}

.ct.light-text .table-primary {
  color: var(--lumx-color-dark-N);
}

.ct.ct-dropdown {
  padding-inline-end: 2rem;
}

.ct__header {
  position: relative;
  display: flex;
  gap: var(--gap);
  align-items: center;
}

.ct-dropdown > .ct__header {
  cursor: pointer;
}

.ct__headline {
  margin-block-end: 0;
  margin-inline-end: 1rem;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
}

.ct__icon {
  min-inline-size: var(--ct-icon-width);
  inline-size: var(--ct-icon-width);
  color: currentColor;
  font-size: 27px;
}

.ct__header + .ct__content {
  /* needs to be font size of icon plus gap size  */
  margin-block-start: 1rem;
  margin-inline-end: 1rem;
}

/* add inline spacing IF  icon is present  */
.ct__header:has(.ct__icon) + .ct__content {
  margin-inline-start: calc(var(--gap) + var(--ct-icon-width));
}

.ct__content :is(a, a:hover, a:active):not(.belong-btn) {
  color: inherit;
}

:is(.ct) .ct__content a:not(.belong-btn) {
  text-decoration: underline;
}

.ct__content.drop-hide {
  margin-block-start: 0;
}

.drop-hide {
  block-size: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s linear;
}

.drop-show {
  block-size: auto;
  opacity: 1;
  transition: all 0.3s linear;
}

.ct-dropdown .ct__header::after {
  content: '\f107';
  position: absolute;
  display: inline-block;
  inset-block-start: 0;
  inset-inline-end: 0;
  block-size: 0;
  inline-size: 0;
  font-family: 'Font Awesome 6 Pro';
  font-weight: 400;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

.ct-dropdown .ct__header.is-active::after {
  content: '\f106';
}

/* Show micro-apps on a gray background to show up properly on white-background pages  */
.micro-app {
  background-color: rgba(0, 0, 0, 0.03) !important;
}

/* Degin --- MBR extension widget to make it responsive, hide DUMP and Lorem Ipsum, and replace text */
.mbr-tab-list > div {
  flex-wrap: wrap;
}

/* Reset font for responsive design */ 
.acc-wrapper > header > div > h2, .acc-wrapper > header > div > p {
  font-size: inherit;
}

/* Reset font for responsive design */ 
.acc-pannel > header > div > h3, .acc-pannel > header > div > span {
  font-size: inherit;
}

/* Hide Dump data section */
.mbr-tab-list + div > .acc-wrapper > .acc-panel:first-of-type {
  display:none;
}

/* Force text on Annual Total Compensation */
.mbr-container > div > :nth-child(1) > .db-card__body span {
  display: none;
}
.mbr-container > div > :nth-child(1) > .db-card__body:after {
  content: '$160,12';
  white-space: pre;
}

.mbr-container > div > :nth-child(2) > .db-card__body span {
  display: none;
}
.mbr-container > div > :nth-child(2) > .db-card__body:after {
  content: 'Used:10\ALeft:13';
  white-space: pre;
}

.mbr-container > div > :nth-child(3) > .db-card__body span {
  display: none;
}
.mbr-container > div > :nth-child(3) > .db-card__body:after {
  content: '$130,34';
}

.mbr-container > div > :nth-child(4) > .db-card__body span {
  display: none;
}
.mbr-container > div > :nth-child(4) > .db-card__body:after {
  content: '$91,61';
}

/* Hide Lorem Ipsum texts */
.mbr-tabs > :nth-child(2) > p, .mbr-tabs > :nth-child(3) > p {
  display: none;
}
/* End --- MBR extension widget design to hide DUMP and Lorem Ipsum */

:is(.widget--hero, .widget--ad) .block-page-preview__thumbnail-wrapper {
  margin-block-end: 0;
}

.widget--alert .block-page-preview--horizontal .block-page-preview__thumbnail-wrapper {
  --lumx-thumbnail-aspect-ratio: 1;
    flex: 0 0 40px;
    align-self: center;
    margin-inline-end: 8px;
}

   .widget--belong.widget--profile-user {
            margin-block-end: 0;
    }

    .widget--belong.widget--profile-directory {
          margin-block-start: 0;
    }
/* temp */
    :is(
            .widget--belong-micro-app,
            .widget--belong,
            .widget--belong-app-wrapper,
            .widget--profile-user,
            .widget--profile-directory,
            .widget--header-only
        )
        .widget-content--v2:not(.widget-content--block-variant-ungrouped):not(.widget-content--block-variant-side):not(
            .widget-content--block-variant-cover
        ) {
        padding: 0;
    }