/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

/* =============================================
=               Text component                 =
============================================= */
@layer sdc {
  .text {
    padding-block: var(--component-inner-space);
    font-weight: 300;
  }
  .text ol,
  .text p,
  .text ul {
    padding-bottom: 1rem;
    color: var(--color-black-main);
    font-size: 1.0625rem;
    line-height: 1.7em;
  }
  .text ol,
  .text ul {
    padding-left: 1.2rem;
  }
  .text ol li,
  .text ul li {
    padding-bottom: 1rem;
  }
  .text ol li::marker,
  .text ul li::marker {
    color: var(--color-black-main);
  }
  .text a {
    -webkit-text-decoration: underline;
    text-decoration: underline;
  }
  .text a:link,
  .text a:visited {
    color: var(--color-primary);
  }
  .text a:focus,
  .text a:hover {
    -webkit-text-decoration: none;
    text-decoration: none;
  }
  .text__content {
    overflow: auto;
    max-width: var(--max-width-text);
  }
  .text__content p:last-child {
    padding-block-end: 0;
  }
  .text figure > figure {
    margin-block: 0;
  }
  .text figure > figure img {
    margin-block-end: 0.75rem;
  }
  .text figure > figure + figcaption {
    margin-block-end: 1.5rem;
    padding-inline-end: 0.5rem;
    color: var(--color-grey-one);
    font-size: 0.8rem;
    font-style: italic;
    line-height: 1.2em;
  }

  /* Table */
  .text table {
    margin: 1rem auto;
    border-collapse: collapse;
    background-color: var(--color-grey-three);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 200%;
  }
  .text table td,
  .text table th {
    padding: 0.5rem 1.2rem;
    text-align: left;
    border: 1px solid var(--color-white);
  }
  .text table th {
    color: var(--color-white);
    background-color: var(--color-grey-one);
    font-weight: 400;
  }
  .text table thead th:first-child {
    padding-right: 2rem;
  }
  .text table caption {
    caption-side: bottom;
    color: var(--color-grey-one);
    font-size: 0.9rem;
  }
  .text table img {
    max-width: 100%;
    height: auto;
  }
}
