.editable-table-block,
.editable-table-block *,
.editable-table-block *::before,
.editable-table-block *::after {
  box-sizing: border-box;
}

.editable-table-block {
  width: 100%;
  padding: 48px 24px 64px;
  background: #f3f6f8;
  color: #224658;
  font-family: var(--font-body, "Lato", Arial, sans-serif);
}

.editable-table-block__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.editable-table-block__visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.editable-table-block h2,
.editable-table-block h3,
.editable-table-block h4,
.editable-table-block p {
  font-family: inherit;
}

.editable-table-block__columns > h2 {
  margin: 0 0 16px;
  color: #224658;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.editable-table-block__columns > p {
  max-width: 920px;
  margin: 0 auto 32px;
  color: #4f6f87;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.editable-table-block__columns > h3,
.editable-table-block__tables > h3 {
  margin: 0 0 24px;
  color: #224658;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.editable-table-block__cover-types,
.editable-table-block__columns > ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.editable-table-block__cover-types > li,
.editable-table-block__columns > ul > li {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 20px 20px 20px 52px;
  border: 1px solid #cbd6de;
  border-radius: 10px;
  background: #fff;
}

.editable-table-block__cover-types > li > p,
.editable-table-block__columns > ul > li > p {
  margin: 0;
}

.editable-table-block__check {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: #e9f1f5;
  color: #41738c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.editable-table-block__cover-title {
  display: block;
  margin: 0 0 6px;
  color: #101d2f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.editable-table-block__cover-description {
  display: block;
  color: #4f6f87;
  font-size: 14px;
  line-height: 1.45;
}

.editable-table-block__tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.editable-table-block__tables > h3,
.editable-table-block__tables > .editable-table-block__document-link {
  grid-column: 1 / -1;
}

.editable-table-block__tables > h3 {
  margin-bottom: 0;
}

.editable-table-block__table-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.editable-table-block__badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.32);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.editable-table-block__tooltip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-left: 4px;
  vertical-align: middle;
}

.editable-table-block__tooltip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dbe5eb;
  color: #6d8799;
  cursor: help;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.editable-table-block__tooltip-content {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  z-index: 30;
  width: 240px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #224658;
  box-shadow: 0 8px 20px rgba(34, 70, 88, 0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translateX(-50%);
  transition: opacity 120ms ease, visibility 120ms ease;
  visibility: hidden;
}

.editable-table-block__tooltip:hover,
.editable-table-block__tooltip:focus-within {
  z-index: 40;
}

.editable-table-block__tooltip:hover .editable-table-block__tooltip-content,
.editable-table-block__tooltip:focus-within .editable-table-block__tooltip-content,
.editable-table-block__tooltip-trigger:hover ~ .editable-table-block__tooltip-content,
.editable-table-block__tooltip-trigger:focus ~ .editable-table-block__tooltip-content {
  opacity: 1;
  visibility: visible;
}

.editable-table-block__tables > table {
  width: 100%;
  margin: 0;
  overflow: visible;
  border: 1px solid #cbd6de;
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  outline: 0;
  background: #fff;
  table-layout: fixed;
}

.editable-table-block__tables > table > caption,
.editable-table-block__tables > table tbody > tr:first-child {
  display: none;
}

.editable-table-block__tables > table tbody > tr:nth-child(2) > th {
  width: 100%;
  padding: 17px 20px;
  border: 0;
  background: #8fa1b0;
  color: #fff;
  border-radius: 9px 9px 0 0;
  text-align: left;
}

.editable-table-block__tables > table:nth-of-type(2) tbody > tr:nth-child(2) > th {
  background: #ef8b17;
}

.editable-table-block__tables > table tbody > tr:nth-child(3) > td[colspan="2"] {
  width: 100%;
  min-height: 52px;
  padding: 15px 20px;
  border: 0;
  border-bottom: 1px solid #d8e1e7;
  background: #fff;
  color: #52718a;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}

.editable-table-block__tables > table tbody > tr:nth-child(n + 4) > th,
.editable-table-block__tables > table tbody > tr:nth-child(n + 4) > td {
  padding: 14px 20px;
  border: 0;
  background: #fff;
  font-size: 14px;
  line-height: 1.4;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.editable-table-block__tables > table p {
  margin: 0;
}

.editable-table-block__tables > table tbody > tr:nth-child(n + 4) > th > p {
  position: relative;
}

.editable-table-block__tables > table tbody > tr:nth-child(n + 4):not(:last-child) > th,
.editable-table-block__tables > table tbody > tr:nth-child(n + 4):not(:last-child) > td {
  border-bottom: 1px solid #d8e1e7;
}

.editable-table-block__tables > table tbody > tr:nth-child(n + 4) > th {
  position: relative;
  width: 58%;
  color: #224658;
  font-weight: 700;
  text-align: left;
}

.editable-table-block__tables > table tbody > tr:nth-child(n + 4) > td {
  width: 42%;
  color: #52718a;
  font-weight: 400;
  text-align: right;
}

.editable-table-block__tables > table:first-of-type tbody > tr:last-child > td[colspan="2"],
.editable-table-block__tables > table tfoot td {
  width: 100%;
  padding: 14px 20px 18px;
  border-top: 0;
  background: #fff;
  color: #52718a;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.editable-table-block__document-link {
  margin: 0;
  color: #52718a;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.editable-table-block__document-link a {
  color: #224658;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.editable-table-block__document-link a:hover,
.editable-table-block__document-link a:focus-visible {
  color: #e98f27;
}

@media (max-width: 800px) {
  .editable-table-block {
    padding: 40px 16px 48px;
  }

  .editable-table-block__cover-types,
  .editable-table-block__columns > ul,
  .editable-table-block__tables {
    grid-template-columns: 1fr;
  }

  .editable-table-block__cover-types,
  .editable-table-block__columns > ul {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .editable-table-block__columns > h2 {
    font-size: 28px;
  }

  .editable-table-block__columns > h3,
  .editable-table-block__tables > h3 {
    font-size: 21px;
  }

  .editable-table-block__tables > table tbody > tr:nth-child(n + 4) > th,
  .editable-table-block__tables > table tbody > tr:nth-child(n + 4) > td {
    padding: 12px 14px;
    font-size: 13px;
  }

  .editable-table-block__tables > table tbody > tr:nth-child(2) > th,
  .editable-table-block__tables > table tbody > tr:nth-child(3) > td[colspan="2"],
  .editable-table-block__tables > table:first-of-type tbody > tr:last-child > td[colspan="2"],
  .editable-table-block__tables > table tfoot td {
    padding-right: 14px;
    padding-left: 14px;
  }
}
