/* stylelint-disable scss/operator-no-unspaced */
/* stylelint-enable scss/operator-no-unspaced */
/* Breakpoint viewport sizes and media queries.

Breakpoints are defined as a map of (name: minimum width), order from small to large:
   (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)

 The map defined in the `$breakpoint` global variable is used as the `$breakpoints` argument by default.

 Name of the next breakpoint, or null for the last breakpoint.

  >> breakpoint-next(sm)
   md
  >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
   md
  >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))
   md
*/
/* Minimum breakpoint width. Null for the smallest (first) breakpoint.
    >> ecl-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
    576px
*/
/* Maximum breakpoint width. Null for the largest (last) breakpoint.
   The maximum value is calculated as the minimum of the next one less 0.1.

   >> ecl-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
   767px
*/
/* Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.
    Useful for making responsive utilities.

    >> infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
    ""  (Returns a blank string)
    >> infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
    "-sm"
*/
/**
 * Description List component
 * @define description-list
 */
.ecl-description-list {
  margin: 0;
}

.ecl-description-list__term {
  color: #404040;
  font: normal normal 400 1rem/1.5rem arial, sans-serif;
  font-weight: 700;
  margin-top: 1rem;
  max-width: 80ch;
  overflow-wrap: break-word;
}
.ecl-description-list__term:first-child {
  margin-top: 0;
}

.ecl-description-list__term + .ecl-description-list__term {
  margin-top: 0.25rem;
}

.ecl-description-list__definition {
  color: #404040;
  font: normal normal 400 1rem/1.5rem arial, sans-serif;
  -webkit-margin-start: 0;
          margin-inline-start: 0;
  margin-top: 0.5rem;
  max-width: 80ch;
}

.ecl-description-list__definition--link {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.ecl-description-list__definition--link .ecl-description-list__definition-item {
  margin-top: 0.75rem;
}
.ecl-description-list__definition--link .ecl-description-list__definition-item:first-child {
  margin-top: 0;
}

.ecl-description-list__definition--inline {
  display: inline-block;
  margin-bottom: -0.5rem;
}

.ecl-description-list__definition--inline .ecl-description-list__definition-item {
  -webkit-border-end: 1px solid #404040;
          border-inline-end: 1px solid #404040;
  display: inline;
  -webkit-margin-end: 0.5rem;
          margin-inline-end: 0.5rem;
  margin-bottom: 0.5rem;
  -webkit-padding-end: 0.5rem;
          padding-inline-end: 0.5rem;
  unicode-bidi: isolate;
}
.ecl-description-list__definition--inline .ecl-description-list__definition-item:last-child {
  border-inline-end-width: 0;
  -webkit-margin-end: 0;
          margin-inline-end: 0;
  -webkit-padding-end: 0;
          padding-inline-end: 0;
}

.ecl-description-list__definition--taxonomy {
  color: #707070;
  display: inline-block;
  margin-bottom: -0.5rem;
}

.ecl-description-list__definition--taxonomy .ecl-description-list__definition-item {
  display: inline;
  -webkit-margin-end: 1rem;
          margin-inline-end: 1rem;
  margin-bottom: 0.5rem;
  -webkit-padding-start: 1rem;
          padding-inline-start: 1rem;
  position: relative;
}
.ecl-description-list__definition--taxonomy .ecl-description-list__definition-item::before {
  background-color: #004494;
  border-radius: 50%;
  content: "";
  display: block;
  height: 4px;
  left: -2px;
  position: absolute;
  top: 8px;
  width: 4px;
}
.ecl-description-list__definition--taxonomy .ecl-description-list__definition-item:first-child {
  -webkit-padding-start: 0;
          padding-inline-start: 0;
}
.ecl-description-list__definition--taxonomy .ecl-description-list__definition-item:first-child::before {
  display: none;
}
.ecl-description-list__definition--taxonomy .ecl-description-list__definition-item:last-child {
  -webkit-margin-start: 0;
          margin-inline-start: 0;
}

@media (min-width: 996px) {
  .ecl-description-list--horizontal {
    display: grid;
    grid-template-columns: 210px fit-content(80ch);
  }
  .ecl-description-list--horizontal .ecl-description-list__term {
    margin-top: 1rem;
  }
  .ecl-description-list--horizontal .ecl-description-list__term:first-of-type {
    margin-top: 0;
  }
  .ecl-description-list--horizontal .ecl-description-list__definition {
    align-items: flex-start;
    -webkit-margin-start: 2rem;
            margin-inline-start: 2rem;
    margin-top: 1rem;
    overflow-wrap: break-word;
  }
  .ecl-description-list--horizontal .ecl-description-list__definition:first-of-type {
    margin-top: 0;
  }
}
.ecl-description-list__term.sc-ecl-description-list-ec:first-child {
  margin-top: 1rem;
}

.ecl-link--icon-before .ecl-icon {
  -webkit-margin-end: 0.5rem !important;
          margin-inline-end: 0.5rem !important;
}

.ecl-description-list--horizontal.sc-ecl-description-list-ec .ecl-description-list__term.sc-ecl-description-list-ec,
.ecl-description-list--horizontal.sc-ecl-description-list-ec .ecl-description-list__definition.sc-ecl-description-list-ec {
  margin-top: 1rem;
}

.ecl-description-list__definition--inline.sc-ecl-description-list-ec .ecl-description-list__definition-item.sc-ecl-description-list-ec:last-child {
  -webkit-border-end: 1px solid #404040;
          border-inline-end: 1px solid #404040;
  -webkit-margin-end: 0.5rem;
          margin-inline-end: 0.5rem;
  -webkit-padding-end: 0.5rem;
          padding-inline-end: 0.5rem;
}