/* 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"
*/
/**
 * Content item
 * @define content-item
 */
.ecl-content-item {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.ecl-content-item--inline {
  flex-direction: row;
}

.ecl-content-item--divider {
  border-bottom: 1px solid #cfcfcf;
  padding-bottom: 1.5rem;
}

.ecl-content-item__content-block {
  font: normal normal 400 1rem/1.25rem arial, sans-serif;
  -webkit-margin-end: auto;
          margin-inline-end: auto;
  max-width: 80ch;
}

.ecl-content-item__date {
  flex-shrink: 0;
  -webkit-margin-end: 1rem;
          margin-inline-end: 1rem;
}

.ecl-content-item__picture {
  flex-shrink: 0;
  margin-bottom: 1rem;
  max-width: 100%;
}

.ecl-content-item__picture--small {
  height: 140px;
  width: 140px;
}

.ecl-content-item__image {
  border: 1px solid #cfcfcf;
  width: 100%;
}

@media (min-width: 768px) {
  .ecl-content-item {
    flex-direction: row;
  }
  .ecl-content-item__picture {
    margin-bottom: 0;
    -webkit-margin-end: 1rem;
            margin-inline-end: 1rem;
    max-width: 210px;
  }
  .ecl-content-item__picture--right {
    -webkit-margin-end: 0;
            margin-inline-end: 0;
    -webkit-margin-start: 1rem;
            margin-inline-start: 1rem;
    order: 1;
  }
}