.typography {
  font-weight: 400;
  line-height: 140%;
  color: var(--color-black);
}

@media (min-width: 900px) {
  .typography {
    font-size: 1.125rem;
  }
}
@media (max-width: 899px) {
  .typography {
    font-size: 0.875rem;
  }
}

.typography strong {
  font-weight: bold;
}
.typography em {
  font-style: italic;
}
.typography > * + * {
  margin: 1rem 0;
}
.typography > h2 + * {
  margin-top: 1.625rem;
}

@media (min-width: 900px) {
  .typography > * + ul,
  .typography > * + ol {
    margin-top: 2rem;
  }
  .typography ul,
  .typography ol {
    margin-left: 3.75rem;
  }
}
@media (max-width: 899px) {
  .typography ul,
  .typography ol {
    margin-left: 1.25rem;
  }
}

.typography ul {
  list-style: none;
}
.typography ul > * + * {
  margin-top: 1.125rem;
}
.typography ul > li {
  position: relative;
}
.typography ul > li::before {
  content: "•";
  position: absolute;
  left: -20px;
  top: 0;
  font-size: 26px;
  color: var(--color-green-100);
}

.typography ol {
  list-style: none;
  counter-reset: item;
}
.typography ol > * + * {
  margin-top: 1.125rem;
}
.typography ol > li {
  position: relative;
  counter-increment: item;
}
.typography ol > li::before {
  content: counter(item) ".";
  position: absolute;
  left: -34px;
  top: 0;
  text-align: right;
  width: 25px;
  color: var(--color-grey-020);
}

summary + .wp-block-list,
.typography li > ol,
.typography li > ul {
  margin-top: 16px;
}

.typography h2 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 116%;
  border-bottom: 1px solid var(--color-grey-050);
  padding-bottom: 0.5625rem;
  color: var(--color-blue-200);
}
@media (min-width: 1200px) {
  .typography h2 {
    font-size: 1.375rem;
  }
}
@media (min-width: 1540px) {
  .typography h2 {
    font-size: 1.5rem;
  }
}
@media (max-width: 1199px) {
  .typography h2 {
    font-size: 1.375rem;
  }
}
@media (max-width: 899px) {
  .typography h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
  }
}
@media (min-width: 900px) {
  .typography h2 {
    margin-top: 2.5rem;
  }
}

.typography h3 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 116%;
}
@media (min-width: 1200px) {
  .typography h3 {
    font-size: 1.25rem;
  }
}
@media (max-width: 1199px) {
  .typography h3 {
    font-size: 1.125rem;
  }
}

.typography h4 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  line-height: 116%;
}
@media (min-width: 1200px) {
  .typography h4 {
    font-size: 1.3rem;
  }
}
@media (max-width: 1199px) {
  .typography h4 {
    font-size: 1rem;
  }
}

.typography a {
  display: inline-block;
  transition: color 0.3s ease;
  color: var(--color-blue-100);
}
.typography a.file {
  display: inline-flex;
}

@media (min-width: 900px) {
  .typography a {
    text-underline-offset: 0.375rem;
  }
}
@media (max-width: 899px) {
  .typography a {
    text-underline-offset: 0.25rem;
  }
}

html:not(.v-mobile) .typography a:hover,
.typography a:focus-visible {
  text-decoration: underline;
  color: var(--color-green-100);
}

.typography table {
  border-collapse: separate !important;
  border-spacing: 0 0.625rem;
  font-size: 0.875rem;
  line-height: 140%;
}

.typography table th {
  padding: 1rem;
}
.typography table td {
  padding: 1rem;
  background-color: var(--color-grey-010);
  color: var(--color-black);
  vertical-align: middle;
  font-weight: 400;
}
.typography._grey table td {
  background-color: var(--color-white);
  color: var(--color-blue-200);
}

@media (max-width: 899px) {
  .typography table {
    display: block;
    width: calc(100% + 2 * var(--wrap));
    margin-left: calc(-1 * var(--wrap));
    overflow: auto;
    font-size: 0.75rem;
    scrollbar-width: none;
  }
  .typography table::-webkit-scrollbar {
    display: none;
  }
  .typography table tbody,
  .typography table tr {
    width: max-content;
  }
  .typography table td,
  .typography table th {
    min-width: 13.5rem;
    padding: 0.5rem var(--wrap);
  }
}

.typography.hidden-text div {
  max-height: 400px;
  overflow: hidden;
  position: relative;
}
.typography.hidden-text div:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 32.29%,
    rgba(255, 255, 255, 0.8) 100%
  );
}
.typography details summary {
  padding: 20px;
  background-color: var(--color-blue-100);
  color: var(--color-white);
}
details[open] p {
  margin: 1.2rem 0;
}
