.section-loading-init :is(main, [role="main"], body > section) > * {
  visibility: hidden;
}

.section-loading-init :is(main, [role="main"], body > section) {
  background:
    linear-gradient(#205071, #205071) 24px 42px / min(48%, 320px) 18px no-repeat,
    linear-gradient(#183e59, #183e59) 24px 76px / min(76%, 560px) 12px no-repeat,
    linear-gradient(#183e59, #183e59) 24px 100px / min(62%, 460px) 12px no-repeat,
    #0d2942;
}

[data-section-static] {
  position: relative;
}

[data-section-pending] > :not(.section-loading-skeleton),
[data-section-pending] > :not(.section-loading-skeleton) * {
  visibility: hidden !important;
}

.section-loading-skeleton,
.section-loading-enabled [data-directory-status]:not([role="alert"]) {
  background:
    linear-gradient(#205071, #205071) 24px 24px / min(48%, 320px) 18px no-repeat,
    linear-gradient(#183e59, #183e59) 24px 56px / min(76%, 560px) 12px no-repeat,
    linear-gradient(#183e59, #183e59) 24px 80px / min(62%, 460px) 12px no-repeat,
    #0d2942;
  border-radius: 12px;
}

.section-loading-skeleton {
  position: absolute;
  inset: 0;
  z-index: 20;
}

.catalogue-index-family-card > .section-loading-skeleton {
  background:
    linear-gradient(#183e59, #183e59) center 16px / calc(100% - 32px) 48% no-repeat,
    linear-gradient(#205071, #205071) 16px 69% / 66% 18px no-repeat,
    linear-gradient(#183e59, #183e59) 16px 84% / 76% 12px no-repeat,
    #0d2942;
}

.section-loading-enabled [data-directory-status]:not([role="alert"]) {
  min-height: 108px;
  color: transparent;
}

.section-loading-enabled [data-catalogue-directory]:not([data-directory-failed]) [data-directory-links],
.section-loading-enabled [data-family-sliders]:not([data-directory-failed]) [data-directory-departments] > a[data-taxonomy-card] {
  display: none;
}
