

:root {
  --container-append: 106rem;
  --container-lg: 96rem;
  --container-md: 72rem;
  --container-sm: 64rem;

  --radius-sm: 0.4rem;
  --radius-md: 0.8rem;
  --radius-lg: 1.6rem;

  --font-size-default: 1.6rem;
  --line-height-default: 2.4rem;
  --font-size-small: 1.4rem;
  --line-height-small: 2rem;
  --font-size-large: 1.8rem;
  --line-height-large: 2.4rem;
  --font-size-h0-desktop: 4.8rem;
  --font-size-h1-desktop: 3.2rem;
  --font-size-h2-desktop: 2.4rem;
  --font-size-h3-desktop: 2rem;
  --font-size-h0-tablet: 4rem;
  --font-size-h0-mobile: 3.2rem;
  --font-size-h1-mobile: 2.8rem;
  --font-size-h2-mobile: 2rem;
  --font-size-h3-mobile: 1.8rem;
  --line-height-heading: 1.2;

  /* TODO: Set this to black or white depending on the contrast to the activity background */
  --kb-header-fg: #fff;
}






:root {
  --body-font-family: Arial;
  --heading-font-family: Tahoma;
  --action-color: #EAE9E7;
  --header-background-color: #1e4488;
  
  /* pre-calculated values  */
  --button-background-color-light-mode: #EAE9E7;
  --button-text-color-light-mode: #252525;
  --button-border-color-light-mode: rgba(0,0,0,0.2);
  --link-text-color-light-mode: #252525;
  --link-underline-color-light-mode: #252525;
  --button-background-color-dark-mode: #EAE9E7;
  --button-text-color-dark-mode: #252525;
  --button-border-color-dark-mode: transparent;
  --link-text-color-dark-mode: #EAE9E7;
  --link-underline-color-dark-mode: rgba(234, 233, 231, 0.60);
  color-scheme: light dark;
}


@media screen and (prefers-color-scheme: dark) {
  :root {
    --background-default: #0E0E0E;
--background-sub: #2E2E2E;
--background-overlay: rgba(0,0,0,0.1);

--background-search-input: rgba(255,255,255,0.2);

--background-success: #203429;
--background-magic: rgba(153, 133, 204, 0.2);
--background-info: rgba(91, 148, 240, 0.2);
--background-inverse: #FFFFFF;

--text-default: #EDEDED;
--text-help: #999999;
--text-disabled: #737373;
--text-magic: #C3B7E1;
--text-inverse: #000;

--text-white: #FFFFFF;
--icon-white: #FFFFFF;
--text-black: #000;

--icon-illustration: #EDEDED;
--icon-default: #999999;
--icon-help: #737373;
--icon-disabled: #4E4E4E;
--icon-success: #2BB26A;
--icon-magic: #C3B7E1;
--icon-info: rgba(91, 148, 240, 1);

--border-divider: #404040;
--border-default: #4E4E4E;
--border-magic: #C3B7E1;

--shadow: inset 0 0 0 1px rgba(255,255,255,0.2), 0 1px 1px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.15);
--shadow-large: inset 0 0 0 1px rgba(255,255,255,0.2), 0 4px 8px rgba(0,0,0,0.5), 0 16px 32px -16px rgba(0,0,0,0.5), 0 48px 96px -16px rgba(0,0,0,0.5);

--kb-callout-variant-1-bg: #5B94F033;
--kb-callout-variant-2-bg: #65C3682E;
--kb-callout-variant-3-bg: #EBB13D2B;
--kb-callout-variant-4-bg: #FF5C572B;
--kb-callout-variant-5-bg: #2E2E2E;
--kb-callout-variant-6-bg: #5E44A21A;

/* search input */
--search-option-category: #A4A4A4;
--search-option-label: #E5E1DD;
--search-dropdown-background: #1E1E1E;
--search-dropdown-shadow: 0 0 0 0.1rem rgba(0,0,0,0.1), 0 0 0.3rem rgba(0,0,0,0.2), 0 0 0.8rem rgba(0,0,0,0.4), 0 0 3.2rem -0.8rem rgba(0,0,0,0.2);
--search-option-hover: #252525;
--search-option-selected-bg: ;
--search-option-selected-bg: #9EBAFF;

--link-text-color: var(--link-text-color-dark-mode);
--link-underline-color: var(--link-underline-color-dark-mode);
--button-text-color: var(--button-text-color-dark-mode);
--button-border-color: var(--button-border-color-dark-mode);
--button-background-color: var(--button-background-color-dark-mode);

--border-bottom: 0.1rem solid rgb(0,0,0,0.2);

--header-text-color: #FFFFFF;
--menu-text-color: #252525;

  }

  .light-theme {
    --magic-fg: #5E44A2;

--background-default: #FFFFFF;
--background-sub: #F3F3F3;
--background-overlay: rgba(0,0,0,0.04);
--background-search-input: rgba(255,255,255,0.2);
--background-success: #D8EED4;
--background-magic: rgba(153, 133, 204, 0.2);
--background-info: rgba(51, 132, 238, 0.1);
--background-inverse: #1E1E1E;

--text-default: #252525;
--text-help: #737373;
--text-disabled: #A6A6A6;
--text-magic: #5E44A2;
--text-inverse: #FFFFFF;

--text-white: #FFFFFF;
--icon-white: #FFFFFF;
--text-black: #000;

--icon-illustration: #252525;
--icon-default: #737373;
--icon-help: #A6A6A6;
--icon-disabled: #CDCDCD;
--icon-success: #379F27;
--icon-magic: #5E44A2;
--icon-info: rgba(51, 132, 238, 1);

--border-divider: #ebebeb;
--border-default: #D9D9D9;
--border-magic: #5E44A2;

--shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 2px 2px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.05);
--shadow-large: 0 0 0 1px rgba(0,0,0,0.15), 0 4px 8px rgba(0,0,0,0.15), 0 16px 32px -16px rgba(0,0,0,0.15), 0 48px 96px -16px rgba(0,0,0,0.15);

--kb-callout-variant-1-bg: #3384EE1A;
--kb-callout-variant-2-bg: #65C3681A;
--kb-callout-variant-3-bg: #EBB13D26;
--kb-callout-variant-4-bg: #E4281B1A;
--kb-callout-variant-5-bg: #F3F3F3;
--kb-callout-variant-6-bg: #9C89D63B;

/* search input */
--search-option-category: #6D6B70;
--search-option-label: #252525;
--search-dropdown-background: #FFF;
--search-dropdown-shadow: 0 0 0 0.1rem rgba(0, 0, 0, 0.01), 0 0 0.3rem rgba(0, 0, 0, 0.04), 0 0 0.8rem rgba(0, 0, 0, 0.08), 0 0 3.2rem -0.8rem rgba(0, 0, 0, 0.04);
--search-option-selected-bg: rgba(40, 101, 254, 0.08);
--search-option-selected-fg: 2865FE;

--link-text-color: var(--link-text-color-light-mode);
--link-underline-color: var(--link-underline-color-light-mode);
--button-text-color: var(--button-text-color-light-mode);
--button-border-color: var(--button-border-color-light-mode);
--button-background-color: var(--button-background-color-light-mode);

--border-bottom: 0.1rem solid rgb(0,0,0,0.08);

--header-text-color: #FFFFFF;
--menu-text-color: #252525;

  }
}

@media screen and (prefers-color-scheme: light) {
  :root {
    --magic-fg: #5E44A2;

--background-default: #FFFFFF;
--background-sub: #F3F3F3;
--background-overlay: rgba(0,0,0,0.04);
--background-search-input: rgba(255,255,255,0.2);
--background-success: #D8EED4;
--background-magic: rgba(153, 133, 204, 0.2);
--background-info: rgba(51, 132, 238, 0.1);
--background-inverse: #1E1E1E;

--text-default: #252525;
--text-help: #737373;
--text-disabled: #A6A6A6;
--text-magic: #5E44A2;
--text-inverse: #FFFFFF;

--text-white: #FFFFFF;
--icon-white: #FFFFFF;
--text-black: #000;

--icon-illustration: #252525;
--icon-default: #737373;
--icon-help: #A6A6A6;
--icon-disabled: #CDCDCD;
--icon-success: #379F27;
--icon-magic: #5E44A2;
--icon-info: rgba(51, 132, 238, 1);

--border-divider: #ebebeb;
--border-default: #D9D9D9;
--border-magic: #5E44A2;

--shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 2px 2px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.05);
--shadow-large: 0 0 0 1px rgba(0,0,0,0.15), 0 4px 8px rgba(0,0,0,0.15), 0 16px 32px -16px rgba(0,0,0,0.15), 0 48px 96px -16px rgba(0,0,0,0.15);

--kb-callout-variant-1-bg: #3384EE1A;
--kb-callout-variant-2-bg: #65C3681A;
--kb-callout-variant-3-bg: #EBB13D26;
--kb-callout-variant-4-bg: #E4281B1A;
--kb-callout-variant-5-bg: #F3F3F3;
--kb-callout-variant-6-bg: #9C89D63B;

/* search input */
--search-option-category: #6D6B70;
--search-option-label: #252525;
--search-dropdown-background: #FFF;
--search-dropdown-shadow: 0 0 0 0.1rem rgba(0, 0, 0, 0.01), 0 0 0.3rem rgba(0, 0, 0, 0.04), 0 0 0.8rem rgba(0, 0, 0, 0.08), 0 0 3.2rem -0.8rem rgba(0, 0, 0, 0.04);
--search-option-selected-bg: rgba(40, 101, 254, 0.08);
--search-option-selected-fg: 2865FE;

--link-text-color: var(--link-text-color-light-mode);
--link-underline-color: var(--link-underline-color-light-mode);
--button-text-color: var(--button-text-color-light-mode);
--button-border-color: var(--button-border-color-light-mode);
--button-background-color: var(--button-background-color-light-mode);

--border-bottom: 0.1rem solid rgb(0,0,0,0.08);

--header-text-color: #FFFFFF;
--menu-text-color: #252525;

  }

  .dark-theme {
    --background-default: #0E0E0E;
--background-sub: #2E2E2E;
--background-overlay: rgba(0,0,0,0.1);

--background-search-input: rgba(255,255,255,0.2);

--background-success: #203429;
--background-magic: rgba(153, 133, 204, 0.2);
--background-info: rgba(91, 148, 240, 0.2);
--background-inverse: #FFFFFF;

--text-default: #EDEDED;
--text-help: #999999;
--text-disabled: #737373;
--text-magic: #C3B7E1;
--text-inverse: #000;

--text-white: #FFFFFF;
--icon-white: #FFFFFF;
--text-black: #000;

--icon-illustration: #EDEDED;
--icon-default: #999999;
--icon-help: #737373;
--icon-disabled: #4E4E4E;
--icon-success: #2BB26A;
--icon-magic: #C3B7E1;
--icon-info: rgba(91, 148, 240, 1);

--border-divider: #404040;
--border-default: #4E4E4E;
--border-magic: #C3B7E1;

--shadow: inset 0 0 0 1px rgba(255,255,255,0.2), 0 1px 1px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.15);
--shadow-large: inset 0 0 0 1px rgba(255,255,255,0.2), 0 4px 8px rgba(0,0,0,0.5), 0 16px 32px -16px rgba(0,0,0,0.5), 0 48px 96px -16px rgba(0,0,0,0.5);

--kb-callout-variant-1-bg: #5B94F033;
--kb-callout-variant-2-bg: #65C3682E;
--kb-callout-variant-3-bg: #EBB13D2B;
--kb-callout-variant-4-bg: #FF5C572B;
--kb-callout-variant-5-bg: #2E2E2E;
--kb-callout-variant-6-bg: #5E44A21A;

/* search input */
--search-option-category: #A4A4A4;
--search-option-label: #E5E1DD;
--search-dropdown-background: #1E1E1E;
--search-dropdown-shadow: 0 0 0 0.1rem rgba(0,0,0,0.1), 0 0 0.3rem rgba(0,0,0,0.2), 0 0 0.8rem rgba(0,0,0,0.4), 0 0 3.2rem -0.8rem rgba(0,0,0,0.2);
--search-option-hover: #252525;
--search-option-selected-bg: ;
--search-option-selected-bg: #9EBAFF;

--link-text-color: var(--link-text-color-dark-mode);
--link-underline-color: var(--link-underline-color-dark-mode);
--button-text-color: var(--button-text-color-dark-mode);
--button-border-color: var(--button-border-color-dark-mode);
--button-background-color: var(--button-background-color-dark-mode);

--border-bottom: 0.1rem solid rgb(0,0,0,0.2);

--header-text-color: #FFFFFF;
--menu-text-color: #252525;

  }
}


/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
}

body {
  color: var(--text-default);
  background: var(--background-default);
  font-size: var(--font-size-default);
  line-height: var(--line-height-default);
  font-family: var(--body-font-family);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

ul,
ol {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
  font-weight: bold;
  font-family: var(--heading-font-family);
  line-height: var(--line-height-heading);
}

h1, .h1 {
  font-size: var(--font-size-h1-mobile);
}

h2, .h2 {
  font-size: var(--font-size-h2-mobile);
}

h3, .h3 {
  font-size: var(--font-size-h3-mobile);
}

@media only screen and (min-width: 600px) {
  h1, .h1 {
    font-size: var(--font-size-h1-desktop);
  }
  
  h2, .h2 {
    font-size: var(--font-size-h2-desktop);
  }
  
  h3, .h3 {
    font-size: var(--font-size-h3-desktop);
  }
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--container-lg);
  margin-left: auto;
  margin-right: auto;
}

.container--md {
  max-width: var(--container-md);
}

.container--sm {
  max-width: var(--container-sm);
}

.main {
  flex-grow: 1;
  padding: 6rem 2.4rem;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

@media only screen and (max-width: 600px) {
  .main {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }
}

.header {
  background-color: var(--header-background-color);
  background-image: var(--header-background-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center ;
  width: 100%;
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.header-navbar {
  z-index: 5;
  width: 100%;
  padding: 1.2rem 2.4rem;
  
  
  background: #eaab00
}

.header-navbarInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo,
.header-link {
  color: var(--menu-text-color);
  text-decoration: none;
  outline: none;
}

.header-link:focus-visible,
.header-logo:focus-visible {
  outline: 1px solid var(--text-default);
}

.header-logo {
  display: block;
  flex-shrink: 0;
  font-weight: bold;
  padding: 0.4rem 0;
}

.header-logo img {
  height: 3.2rem;
  width: auto;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header-link {
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
}

.header-link:hover {
  text-decoration: underline;
}

.header-component {
  color: var(--header-text-color);
}

.header-title {
  width: 100%;
  padding: 2.4rem;
  min-height: 13.6rem;
}

.header-h1 {
  color: var(--header-text-color);
  text-align: center;
  margin-bottom: 2.4rem;
  font-size: var(--font-size-h0-mobile);
  line-height: 1;
  font-family: var(--heading-font-family);
  font-weight: bold;
}

.header-search {
  margin: auto;
  display: flex;
  width: 100%;
  padding: 16px;
  align-items: flex-start;
  gap: 12px;
  border-radius: 8px;
  background-image: url(https://ic.ortto.app/l/magic-ffffff-23-23.png);
  background-position: 20px;
  background-repeat: no-repeat;
  text-indent: 40px;
}

.header-search::placeholder {
  color: var(--header-text-color);
  font-family: var(--body-font);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

color-mode-toggle {
  display: flex;
  align-items: center;
}

.input-wrapper {
  position: relative;
}

.kb-search-widget {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
  display: flex;
  width: 100%;
  border: none;
  outline: none;
  font: inherit;
  padding: 16px;
  color: var(--header-text-color);
  background: var(--background-search-input);
  box-shadow: var(--shadow);
  text-indent: 36px;
  border-radius: 8px;
}

.kb-search-widget::placeholder {
  color: var(--header-text-color);
  opacity: 1;
}

.icon--input {
  position: absolute;
  top: 16px;
  left: 16px;
  pointer-events: none;
  color: var(--header-text-color);
}

@media only screen and (min-width: 600px) {
  .header-h1 {
    font-size: var(--font-size-h0-tablet);
    margin-bottom: 3.2rem;
  }

  .header-title {
    padding: 4rem 2.4rem;
  }

  .header--large .header-title {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

@media only screen and (min-width: 1024px) {
  .header-h1 {
    font-size: var(--font-size-h0-desktop);
    margin-bottom: 4rem;
  }
}

/* menu */

.breadcrumb-container .breadcrumb {
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  color: var(--text-help);
}

.breadcrumb-container {
  margin: 7px 0px;
}

.breadcrumb:hover {
  text-decoration: none;
  color: var(--link-text-color);
  cursor: pointer;
}

.breadcrumb__disabled:hover {
  color: var(--text-help);
  cursor: default;
}

.breadcrumb__icon {
  margin: 0 0.3rem;
  color: var(--text-help);
  width: 1.2rem;
  height: 1.2rem;
}

.header-toggle-btn,
.header-menu-checkbox {
  display: none;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones */
  .header-navbarInner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-toggle-btn {
    display: flex;
    gap: 0.8rem;
    user-select: none;
    position: absolute;
    top: 1.2rem;
    right: 2.4rem;
  }
  .header-links { 
    display: none;
    margin: 0 -1.2rem;
    padding: 2.4rem 0;
    align-self: stretch;
    flex-direction: column;
  }
  .header-links .header-link,
  .header-links .header-component {
    width: 100%;
  }
  .header-link:hover {
    text-decoration: none;
  }

  /* toggle open/close label */
  .header-navbar .header-btn-opened { display: none; }
  .header-navbar .header-btn-closed { display: flex; }
  .header-menu-checkbox:checked ~ .header .header-navbar .header-btn-opened { display: flex; }
  .header-menu-checkbox:checked ~ .header .header-navbar .header-btn-closed { display: none; }

  /* display menu when opened */
  .header-menu-checkbox:checked ~ .main,
  .header-menu-checkbox:checked ~ .footer,
  .header-menu-checkbox:checked ~ .header .header-title {
    display: none;
  }
  .header-menu-checkbox:checked ~ .header .header-navbar {
    background: var(--header-background-color);
    min-height: 100vh;
  }
  .header-menu-checkbox:checked ~ .header .header-links {
    display: flex;
  }
}

.footer {
    padding: 2.4rem;
    gap: 1.6rem;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin: 0 auto;
    height: 4rem;
}

.footer-links {
    display: flex;
    align-items: center;
}

.footer-link {
    color: var(--text-help);
    font-size: var(--font-size-small);
    line-height: var(--line-height-small);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-divider {
    color: var(--text-disabled);
}
.article-wrapper {}

.article-toc {
  width: 100%;
  padding-top: 1.6rem;
}

@media only screen and (min-width: 1024px) {
  .article-wrapper {
    position: relative;
    padding-right: 280px;
  }

  .article-toc {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 24rem;
  }
}

@media only screen and (min-width: 600px) {
  .article-body table {
    word-break: break-word;
    width: 100%;
  }
}

.article-preview {
  padding: 44px;
}

/* spacing scales */
.article-body {
  margin-top: 32px;
  margin-bottom: 32px;
}

.article-body .article-heading {
  margin-bottom: 28px;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5 {
  line-height: 1.5;
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5 {
  margin-top: 16px;
  margin-bottom: 8px;
}

.article-body h1 {
  font-size: 32px;
}

.article-body h2 {
  font-size: 24px;
}

.article-body h3 {
  font-size: 20px;
}

.article-body h4 {
  font-size: 16px;
}

.article-body figure,
.article-body .button,
.article-body .accordion,
.article-body .callout,
.article-body ol,
.article-body ul {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 4px;
  margin-bottom: 16px;
}

.article-body hr {
  margin-top: 16px;
  margin-bottom: 16px;
}

/* end of spacing scales */


.article-title {
  margin-bottom: 1.5rem;
}

.article-body p {
  letter-spacing: 0.1px;
  margin-top: 4px;
  margin-bottom: 16px;
}

.article-body a {
  cursor: pointer;
  text-decoration: underline;
  color: var(--link-text-color);
  text-decoration-color: var(--link-underline-color);
}

.article-body a:hover {
  text-decoration-color: var(--link-text-color);
}

.article-body ol,
.article-body ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 16px;
  padding-left: 2.4rem;
}

.article-body ul ul,
.article-body ul ol,
.article-body ol ul,
.article-body ol ol {
  margin-top: 16px;
  margin-bottom: 0;
}

.article-body ol {
  list-style-type: decimal;
}

.article-body ol ol {
  list-style-type: lower-alpha;
}

.article-body ol ol ol {
  list-style-type: lower-roman;
}

.article-body ul {
  list-style-type: disc;
}

.article-body ul ul {
  list-style-type: circle;
}

.article-body ul ul ul {
  list-style-type: square;
}

/* code block */
.article-body pre.code-block {
  background-color: var(--background-sub);
  color: var(--text-default);
  padding: 1.2rem 1.6rem;
  margin: 1.6rem 0;
  display: block;
  position: relative;
  border-radius: 4px;
}

.article-body .code-header {
  position: absolute;
  text-transform: uppercase;
  color: var(--text-help);
  top: 6px;
  right: 10px;
  display: flex;
  flex-direction: row;
}


.article-body .code-header button {
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  margin-top: 4px;
  position: relative;
}

.article-body .code-header p {
  margin-top: 0;
}

.article-body .code-body {
  overflow-x: auto;
}

.article-body .code-header>*:not(:first-child)::before {
  content: "";
  border-left: 1px solid var(--text-help);
  margin: 0 8px 2px;
  height: 14px;
  display: inline-block;
}

.article-body .copy-toast {
  position: absolute;
  background-color: var(--background-inverse);
  color: var(--text-inverse);
  font-family: var(--body-font-family);
  padding: 10px;
  border-radius: 5px;
  transition: all 0.5s ease-out;
  opacity: 0;
  transform: translateY(0px);
  margin-top: -30px
}

.article-body .show-copy-toast {
  opacity: 1;
  transform: translateY(-60px);
}

/* inline code */
.article-body code.inline-code {
  padding: 1px 6px;
  display: inline;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  background-color: var(--background-sub);
  border-style: solid;
  border-width: 1px;
  border-color: var(--border-default);
  word-wrap: break-word;
  word-break: normal;
  white-space: pre-wrap;
}

/* table */
.article-body table {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  display: table;
}


.article-body .table-wrapper {
  display: block;
  overflow-x: auto;
  max-width: calc(100% + 4.8rem);
  margin: 1.6rem -2.4rem;
  padding: 0 2.4rem;
}

.article-body .callout .table-wrapper {
  margin: 1.6rem -1.6rem;
  padding: 0 1.6rem;
  max-width: calc(100% + 3.2rem);
}


.article-body tbody {
  margin-left: 2.4rem;
  margin-right: 2.4rem;
  min-width: 100%;
}

.article-body tbody {
  table-layout: fixed;
}

.article-body tbody,
.article-body tr,
.article-body td,
.article-body th {
  border-spacing: 0;
  border-style: solid;
  border-width: 1px;
  border-color: var(--border-default);
  position: relative;
  text-align: left;
}

.article-body td,
.article-body th {
  height: 100%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.article-body td {
  background-color: var(--background-default);
}

.article-body tr {
  width: 100%;
  height: 100%;
}

.article-body th {
  background-color: var(--background-sub);
  font-weight: normal;
}


/* image */
.article-body img {
  max-width: 100%;
}

figcaption {
  margin-top: 0.6rem;
}

.article-body .lic {
  min-height: 1em;
}

.article-body ul {
  list-style-type: disc;
}

.article-body ul ul {
  list-style-type: circle;
}

.article-body ul ul ul {
  list-style-type: square;
}

/* media */
.article-body .media--vimeo {
  padding-bottom: 75%;
}

.article-body .media--youku {
  padding-bottom: 56.25%;
}

.article-body .media--dailymotion {
  padding-bottom: 56.0417%;
}

.article-body .media--twitter {
  padding-bottom: 56.0417%;
}

.article-body .media--youtube {
  padding-bottom: 56.2061%;
}

.article-body .media--lilicast {
  padding-bottom: 56.2061%;
}

.article-body .media--coub {
  padding-bottom: 51.25%;
}

.article-body .media__frame {
  min-width: 100px;
  max-width: 100%;
  position: relative;

  /* default alignment = center */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.article-body .media__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* accordion */
.article-body .accordion {
  overflow: hidden;
}

.article-body .accordion__toggle {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.article-body .accordion__title {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  padding: 0.8rem 0.4rem;
  gap: 0.8rem;
  user-select: none;
}

.article-body .accordion__title::before {
  content: "";
  display: block;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--text-default);
}

.article-body .accordion__content {
  display: none;
  max-height: 0;
  margin-top: 0;
}

.article-body .accordion__content+.accordion__content {
  margin-top: 0.8rem;
}

.article-body .accordion__toggle:checked~.accordion__title::before {
  transform: rotate(90deg);
}

.article-body .accordion__toggle:checked~.accordion__content {
  display: block;
  max-height: unset;
}

/* divider */
.article-body hr {
  border: none;
  border-top: 1px solid var(--border-divider);
}

.article-body .callout>hr {
  border-top: 1px solid var(--text-default);
}

/* button */
.article-body .button {
  padding: 0.8rem 1.6rem;
  border-radius: 0.4rem;
  font-weight: bold;
  background-color: var(--button-background-color);
  color: var(--button-text-color);
  border: 1px solid var(--button-border-color);
  width: fit-content;
  min-width: 100px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: nowrap;
  cursor: pointer;
  text-decoration: none;
}


/* callout */
.article-body .callout {
  padding: 1.2rem 1.6rem;
  border-radius: 0.8rem;
  overflow-wrap: break-word;
}

.callout>*:first-child {
  /* TODO > is being replaced by &gt; so this CSS is not working */
  margin-top: 0;
}

.callout--variant-1 {
  background-color: var(--kb-callout-variant-1-bg);
}

.callout--variant-2 {
  background-color: var(--kb-callout-variant-2-bg);
}

.callout--variant-3 {
  background-color: var(--kb-callout-variant-3-bg);
}

.callout--variant-4 {
  background-color: var(--kb-callout-variant-4-bg);
}

.callout--variant-5 {
  background-color: var(--kb-callout-variant-5-bg);
}

.callout--variant-6 {
  background-color: var(--kb-callout-variant-6-bg);
}

/* alignment */
.article-body .center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.article-body .right {
  display: block;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.article-body .left {
  display: block;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.article-body figcaption {
  color: var(--text-help);
}


.article-body .block-file {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  gap: 8px;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
  padding: 0.8rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border-default);
  text-decoration: none;
  background-color: var(--background-default);
}

.article-body a.block-file:hover {
  text-decoration: underline;
  text-decoration-color: var(--text-default);
}

.article-body .block-file span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-default);
}

.article-body .block-file .file-icon {
  color: var(--icon-default);
  height: 20px;
}

.article-body .filename {
  display: flex;
  overflow: hidden;
  max-width: 100%;
}

.article-body .name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.article-body .extension {
  flex-shrink: 0;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 8px;
}

.not-found-title {
  text-align: center;
}

.not-found-body {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}

.category-header {
  margin-bottom: 2.4rem;
}

.category-title {

}

.category-description {
  margin-top: 1.2rem;
  color: var(--text-help);
}

.category-articles {

}

.category-article {
  margin-top: 1.2rem;
}

.category-articleLink {
  cursor: pointer;
  text-decoration: underline;
  color: var(--link-text-color);
  text-decoration-color: var(--link-underline-color);
}
.articleLink:hover {
  text-decoration-color: var(--link-text-color);
}

.category-articleCount {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  color: var(--text-help);
}

.category-subcategories {

}

.category-subcategory {
  margin-top: 3.2rem;
}

.category-subcategoryLink {
  color: inherit;
  text-decoration: none;
  font-family: var(--body-font-family);
}

@media only screen and (min-width: 600px) {
  .category-header {
    margin-bottom: 4rem;
  }
  .category-description {
    font-size: var(--font-size-large);
    line-height: var(--line-height-large);
  }
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 2.4rem;
  column-gap: 2.4rem;
}

@media only screen and (max-width: 1024px) {
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 600px) {
  .home-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.home-gridItem {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  color: var(--text-color);
  text-decoration: none;
}

.home-gridItem:hover .home-gridItemTitle {
  text-decoration: underline;
}

.home-gridItemIcon svg {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
}

.home-gridItemIcon svg,
.home-gridItemIcon svg path {
  fill: var(--icon-illustration);
}

.home-gridItemImage {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}

.home-gridItemEmoji {
  font-size: 2.4rem;
  line-height: 2.4rem;
}

.home-gridItemHeader {
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
  gap: 0.4rem;
}

.home-gridItemTitle {
  font-size: var(--font-size-large);
  line-height: var(--line-height-large);
  font-family: var(--body-font-family);
  font-weight: bold;
}

.home-gridItemDescription {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  color: var(--text-help);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.home-gridItemCount {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  color: var(--text-help);
  margin-top: auto;;
}
