.gs-data-table {
  background: rgba(var(--bg-a), 1);
  color: rgba(var(--cl-d), 1);
  padding: clamp(64px, 8vw, 104px) 0;
}

.gs-data-table__header {
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
}

.gs-data-table__eyebrow {
  margin-bottom: 20px;
  color: rgba(var(--cl-f), 1);
  font: 700 14px/1.1 var(--font-family);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gs-data-table__heading {
  margin: 0;
  color: rgba(var(--cl-d), 1);
  font: 700 clamp(40px, 3.6vw, 52px)/1.1 var(--font-family2);
  letter-spacing: -.035em;
}

.gs-data-table__description {
  max-width: 820px;
  margin: 20px auto 0;
  color: rgba(var(--cl-d), .9);
  font: 400 18px/1.5 var(--font-family);
}

.gs-data-table__description p,
.gs-data-table__callout-text p,
.gs-data-table__bottom-note p {
  margin: 0;
}

.gs-data-table__description strong,
.gs-data-table__callout-text strong,
.gs-data-table__bottom-note strong {
  font-weight: 700;
}

.gs-data-table__description a,
.gs-data-table__callout-text a,
.gs-data-table__bottom-note a {
  color: rgba(var(--cl-f), 1);
  text-decoration: none;
}

.gs-data-table__description a:hover,
.gs-data-table__description a:focus-visible,
.gs-data-table__callout-text a:hover,
.gs-data-table__callout-text a:focus-visible,
.gs-data-table__bottom-note a:hover,
.gs-data-table__bottom-note a:focus-visible {
  text-decoration: underline;
}

.gs-data-table__callout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 32px;
  padding: 22px 28px;
  border: 1px solid var(--br-a);
  border-radius: 24px;
  background: rgba(var(--bg-a), 1);
}

.gs-data-table__callout-icon {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(var(--bg-h), 1);
  color: rgba(var(--cl-f), 1);
}

.gs-data-table__callout-icon svg,
.gs-data-table__callout-icon img {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.gs-data-table__callout-text {
  min-width: 0;
  color: rgba(var(--cl-d), .9);
  font: 400 18px/1.5 var(--font-family);
}

.gs-data-table__scroll {
  overflow-x: auto;
  border: 1px solid var(--br-a);
  border-radius: 24px;
  background: rgba(var(--bg-a), 1);
  -webkit-overflow-scrolling: touch;
}

.gs-data-table__table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.gs-data-table__cell {
  padding: 20px 30px;
  border-bottom: 1px solid var(--br-a);
  color: rgba(var(--cl-d), .82);
  font: 400 16px/1.45 var(--font-family);
  text-align: left;
  vertical-align: middle;
}

thead .gs-data-table__cell {
  padding-top: 18px;
  padding-bottom: 18px;
  background: rgba(var(--bg-c), 1);
  color: rgba(var(--cl-d), .85);
  font: 700 12px/1.25 var(--font-family);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gs-data-table__cell + .gs-data-table__cell {
  border-left: 0;
}

.gs-data-table__cell.is-primary {
  color: rgba(var(--cl-d), 1);
  font-weight: 600;
}

.gs-data-table__cell.is-highlighted {
  color: rgba(var(--cl-f), 1);
  font-weight: 600;
}

thead .gs-data-table__cell.is-highlighted {
  color: rgba(var(--cl-f), 1);
}

.gs-data-table__cell-content {
  display: inline;
}

.gs-data-table__cell-content p {
  display: inline;
  margin: 0;
}

.gs-data-table__cell-content a {
  color: inherit;
  text-decoration: underline;
}

.gs-data-table__cell-with-image {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gs-data-table__cell-with-image .gs-data-table__cell-content {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.gs-data-table__row-image {
  display: block;
  flex: 0 0 96px;
  width: 96px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

tbody tr:last-child .gs-data-table__cell {
  border-bottom: 0;
}

.gs-data-table__bottom-note {
  margin-top: 30px;
  color: rgba(var(--cl-d), .75);
  font: 400 15px/1.45 var(--font-family);
  text-align: center;
}

.gs-data-table__bottom-note p {
  color: inherit;
  font: inherit;
}

.gs-data-table__bottom-note a {
  display: inline;
}

@media (max-width: 700px) {
  .gs-data-table {
    padding: 52px 0 56px;
  }

  .gs-data-table__header {
    margin-bottom: 32px;
  }

  .gs-data-table__heading {
    font-size: 40px;
  }

  .gs-data-table__description,
  .gs-data-table__callout-text {
    font-size: 16px;
  }

  .gs-data-table__callout {
    gap: 14px;
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 20px;
  }
}

@media (width < 768px) {
  .gs-data-table__scroll {
    position: relative;
    border-radius: 20px;
  }

  .gs-data-table__table,
  .gs-data-table__table tbody {
    display: block;
    min-width: 0;
  }

  .gs-data-table__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .gs-data-table__table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    padding: 16px 20px;
  }

  .gs-data-table__table tbody tr + tr {
    border-top: 1px solid var(--br-a);
  }

  .gs-data-table__table tbody .gs-data-table__cell {
    display: block;
    min-width: 0;
    padding: 0;
    border-bottom: 0;
    overflow-wrap: anywhere;
  }

  .gs-data-table__cell.is-primary,
  .gs-data-table__cell:nth-child(even):last-child {
    grid-column: 1 / -1;
  }

  tbody .gs-data-table__cell[data-label]:not(.is-primary, [data-label=""])::before {
    display: block;
    margin-bottom: 4px;
    color: rgba(var(--cl-d), .85);
    font: 700 11px/1.25 var(--font-family);
    letter-spacing: .08em;
    text-transform: uppercase;
    content: attr(data-label);
    content: attr(data-label) / "";
  }
}
