.table {
  display: block;
}
@media (min-width: 1024px) {
  .table {
    width: 100%;
    max-width: 1014px;
    margin: 0 auto 30px;
  }
}
.table h3 {
  text-transform: none;
}
.table .grid {
  display: block;
}
.table table {
  border-spacing: 0;
  margin-bottom: 30px;
}
.table table thead {
  background-color: var(--color-brown-light);
  color: var(--color-white);
}
.table table th {
  text-align: left;
  font-size: 1.375rem;
  line-height: 1.375rem;
}
.table table.small th {
  font-size: 1rem;
  line-height: 1;
}
.table table th, .table table td {
  padding: 10px;
}
.table table td {
  font-size: 1rem;
  line-height: 1;
}
.table table tbody tr:nth-of-type(even) {
  background-color: var(--color-gray);
}
.table table tbody tr:hover {
  background-color: var(--color-gray-border);
}
.table table tfoot {
  font-style: italic;
}
.table table tfoot p {
  margin-bottom: 0;
}
.table table tfoot p + p {
  margin-top: 20px;
}
@media (max-width: 767px) {
  .table table:not(.mobile-head) {
    width: 100%;
  }
  .table table:not(.mobile-head) thead {
    display: none;
  }
  .table table:not(.mobile-head) tbody tr {
    display: flex;
    flex-direction: column;
  }
  .table table:not(.mobile-head) tbody tr td {
    padding: 0 10px;
  }
  .table table:not(.mobile-head) tbody tr td:first-of-type {
    font-weight: var(--font-weight-700);
    padding: 10px;
    font-size: 1.125rem;
    line-height: 1;
  }
  .table table:not(.mobile-head) tbody tr td:last-of-type {
    padding: 0 10px 10px 10px;
  }
}
@media (max-width: 1024px) {
  .table table.mobile-head {
    width: 100%;
  }
  .table table.mobile-head thead {
    display: none;
  }
  .table table.mobile-head tbody tr {
    padding: 5px 0;
    display: grid;
    grid-template-columns: 100%;
    gap: 5px;
  }
  .table table.mobile-head tbody td {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 5px 10px;
  }
  .table table.mobile-head tbody td:first-of-type {
    font-weight: normal;
    font-size: 1rem;
    line-height: 1;
    padding: 5px 10px;
  }
  .table table.mobile-head tbody td:not(:last-of-type) {
    border-bottom: 1px solid rgba(117, 102, 96, 0.4);
  }
  .table table.mobile-head tbody td:before {
    content: attr(data-label);
    font-weight: bold;
    margin-right: 5px;
  }
}
.table .scroll-container {
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: 30px;
}
.table .scroll-container table {
  margin-bottom: 0;
}