/* === Text Block (BEM) ====================================================== */
.text-block {
  max-width: 100%;
  padding: 1.5rem 1rem;
  width: 100%;
  background-color: var(--text-block-bg);
}
.text-block--padded {
  padding-top: 3rem;
}
.text-block:last-child {
  padding-bottom: 3rem;
}
.text-block__inner {
  max-width: 1150px;
  margin: auto;
  padding: 0;
}
/* Headings spacing */
.text-block__inner :is(h1, h2, h3, h4, h5, h6) {
  padding: 0 0 1rem;
}
/* Captions */
.text-block__inner .wp-caption {
  width: unset !important;
}
/* Images */
.text-block__inner img {
  border-radius: .5rem;
  display: block;
  height: auto;
  margin: 0 auto;
  max-height: 28.4375rem;
  max-width: 50.5rem;
  object-fit: contain;
  width: 100%;
}
.text-block__inner img.alignleft {
  float: left;
  clear: both;
  margin: 0 1rem 1rem 0;
}
.text-block__inner img.alignright {
  float: right;
  clear: both;
  margin: 0 0 1rem 1rem;
}
.text-block__inner .wp-caption img {
  margin-bottom: .25rem;
}
.text-block__inner .wp-caption p.wp-caption-text {
  font-size: .875rem !important;
  line-height: 1.5714 !important;
  margin: 0 auto;
  max-width: 50.5rem;
}
/* Typography */
.text-block__inner h2 {
  font-size: 2.25rem;
  line-height: 1.2222;
  clear: both;
}
.text-block__inner p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-block-color, #4B5563);
  margin-bottom: 1rem;
}
.text-block__inner p:last-child {
  margin-bottom: 0;
}
.text-block__inner a {
  color: #1E3A8A;
}
.text-block__inner a:hover {
  color: #2563EB;
}
.text-block__inner a:visited {
  color: #1E40AF;
}
.text-block__inner h3 {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.33;
  color: #1F2937;
  margin-bottom: 1rem;
  padding: 0;
}
/* Lists */
.text-block__inner ul,
.text-block__inner ol {
  margin-bottom: 1rem;
}
.text-block__inner ul li,
.text-block__inner ol li {
  color: #4b5563 !important;
  line-height: 1.5;
  list-style: disc;
  margin-left: 1rem;
  padding-bottom: .5rem;
  position: relative;
}
.text-block__inner ul li::marker,
.text-block__inner ol li::marker {
  color: #fbbf24;
}
.text-block__inner ol li {
  list-style: auto;
}
/* Iframes */
.text-block__inner iframe {
  max-width: 100%;
}
/* Blockquote */
.text-block__inner blockquote {
  font-weight: 400;
  font-size: 15px;
  line-height: 170%;
  color: #6C6C6C;
  border-left: 4px solid #FBBF0E;
  padding-left: 10px;
}
.text-block__inner blockquote p {
  padding: 0;
}
/* Tables */
.text-block__inner table {
  border: 1px solid #d1d5db;
  display: block;
  text-align: left;
  width: 100%;
  border-radius: 10px;
  border-collapse: separate;
  overflow: auto;
  min-width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
}
.text-block__inner table th,
.text-block__inner table td {
  padding: 1rem;
}
.text-block__inner table tr {
  background: #fff;
  border-spacing: 2px;
  width: 100%;
}
.text-block__inner table tr:nth-child(odd) {
  background: #f3f4f6;
}
.text-block__inner table tr td {
  color: #4b5563;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}
.text-block__inner table tr:nth-child(1) {
  background: #1F2937;
  border-radius: .5rem .5rem 0 0;
  border-spacing: 0;
  border: none;
  color: #fff;
}
.text-block__inner table tr:nth-child(1) td {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}
.text-block__inner table tr:first-child th:first-child {
  border-top-left-radius: .5rem;
}
.text-block__inner table tr:first-child th:last-child {
  border-top-right-radius: .5rem;
}
.text-block__inner table tr:last-child td:first-child {
  border-bottom-left-radius: .5rem;
}
.text-block__inner table tr:last-child td:last-child {
  border-bottom-right-radius: .5rem;
}

@media (max-width: 768px) {
  .text-block__inner img {
    max-height: unset;
    max-width: unset;
    width: 100%;
  }
}