/* ── Share capital ── */
.share-capital-page .container--gov-sub {
  max-width: min(88%, 52rem);
}

.share-capital-page .gov-subpage__title {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.share-capital-intro {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.share-capital-intro p {
  margin: 0;
  font-size: var(--page-body-size);
  line-height: var(--page-body-lh);
  color: var(--color-text);
}

.share-capital-intro p + p {
  margin-top: clamp(1rem, 2vw, 1.25rem);
}

.share-capital-content {
  margin-bottom: clamp(3.5rem, 8vw, 5.5rem);
}

.share-capital-table-block + .share-capital-table-block {
  margin-top: clamp(2.75rem, 5.5vw, 4rem);
}

.share-capital-table-block__title {
  margin: 0 0 clamp(1rem, 2vw, 1.25rem);
  font-family: var(--font-family);
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: left;
  color: var(--color-text);
}

.share-capital-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.share-capital-table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  border-top: 1px solid var(--color-text);
  font-size: var(--page-body-size);
  line-height: 1.45;
}

.share-capital-table thead th {
  padding: clamp(0.875rem, 1.5vw, 1.125rem) 0.5rem;
  border-bottom: 1px solid var(--color-text);
  font-weight: 600;
  vertical-align: bottom;
  line-height: 1.25;
}

.share-capital-table thead th:first-child {
  text-align: left;
  padding-left: 0;
}

.share-capital-table thead th:not(:first-child) {
  text-align: right;
}

.share-capital-table--distribution thead th:first-child {
  width: 28%;
}

.share-capital-table tbody tr:not(.share-capital-table__total):not(.share-capital-table__panel) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.share-capital-table tbody tr:has(+ .share-capital-table__total) {
  border-bottom: none;
}

.share-capital-table tbody th,
.share-capital-table tbody td {
  padding: clamp(0.875rem, 1.5vw, 1.125rem) 0.5rem;
  vertical-align: top;
  font-weight: 400;
}

.share-capital-table tbody th[scope="row"] {
  text-align: left;
  padding-left: 0;
  font-weight: 400;
}

.share-capital-table tbody td {
  text-align: right;
  white-space: nowrap;
}

.share-capital-table tbody td:last-child {
  padding-right: 0;
}

.share-capital-table tbody tr.share-capital-table__total {
  border-top: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
}

.share-capital-table tbody tr.share-capital-table__total th,
.share-capital-table tbody tr.share-capital-table__total td {
  font-weight: 600;
}

.share-capital-table--development thead th.share-capital-table__expand-col {
  display: none;
}

.share-capital-table--development thead th:nth-child(2) {
  text-align: left;
}

.share-capital-table--development tbody td:nth-child(2) {
  text-align: left;
  white-space: normal;
}

.share-capital-table__expand-col,
.share-capital-table__panel {
  display: none;
}

.share-capital-table__expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.share-capital-table__expand-icon {
  width: 1rem;
  height: 1rem;
  transition: transform var(--transition-fast);
}

.share-capital-table tbody tr.is-open .share-capital-table__expand-icon {
  transform: rotate(180deg);
}

.share-capital-table__panel td {
  padding-top: 0;
  padding-bottom: 1rem;
  text-align: left;
  white-space: normal;
}

.share-capital-table__panel-meta {
  display: grid;
  gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.share-capital-table__panel-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.share-capital-table__panel-label {
  color: rgba(0, 0, 0, 0.65);
}

.share-capital-table__panel-value {
  text-align: right;
  white-space: nowrap;
}

.share-capital-page .team-related {
  padding-bottom: 0;
}

.share-capital-page .gov-subpage__related {
  padding-top: 0;
}

.share-capital-page .gov-subpage__related .team-related__title {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid var(--color-text);
}

.share-capital-page .governance-grid {
  margin-top: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 768px) {
  .share-capital-page .container--gov-sub {
    max-width: 100%;
    padding-inline: clamp(1.25rem, 5vw, 1.5rem);
  }

  .share-capital-page .gov-subpage__title {
    margin-bottom: clamp(1.25rem, 4vw, 1.75rem);
    padding-top: clamp(1.25rem, 3vw, 1.75rem);
    font-family: var(--font-gov-title);
    font-size: clamp(1.375rem, 6vw, 1.75rem);
    font-weight: 400;
    line-height: 1.25;
    text-align: left;
  }

  .share-capital-intro p {
    font-size: 0.9375rem;
  }

  .share-capital-content {
    margin-bottom: clamp(4.5rem, 14vw, 7rem);
  }

  .share-capital-table-block__title {
    font-size: clamp(0.9375rem, 3.5vw, 1.0625rem);
  }

  .share-capital-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 0.8125rem;
    line-height: 1.35;
  }

  .share-capital-table thead th,
  .share-capital-table tbody th,
  .share-capital-table tbody td {
    padding: 0.75rem 0.125rem;
    white-space: normal;
    hyphens: auto;
  }

  .share-capital-table tbody td:not(:nth-child(2)) {
    text-align: right;
  }

  .share-capital-table--distribution thead th:first-child,
  .share-capital-table--distribution tbody th[scope="row"] {
    width: 24%;
    padding-right: 0.375rem;
  }

  .share-capital-table--development thead th:nth-child(5),
  .share-capital-table--development thead th:nth-child(6),
  .share-capital-table--development tbody td:nth-child(5),
  .share-capital-table--development tbody td:nth-child(6) {
    display: none;
  }

  .share-capital-table--development thead th.share-capital-table__expand-col {
    display: table-cell;
  }

  .share-capital-table--development thead th:nth-child(4),
  .share-capital-table--development tbody td:nth-child(4) {
    padding-right: 0;
  }

  .share-capital-table__expand-col {
    display: table-cell;
    width: 2rem;
    padding-left: 0;
    padding-right: 0;
    text-align: right;
    vertical-align: top;
  }

  .share-capital-table__panel {
    display: none;
  }

  .share-capital-table--development tbody tr.is-open + .share-capital-table__panel {
    display: table-row;
  }

  .share-capital-page .gov-subpage__related {
    margin-top: clamp(5.5rem, 16vw, 8.5rem);
  }

  .share-capital-page .gov-subpage__related .team-related__title {
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
    font-size: clamp(1.25rem, 4vw, 1.375rem);
  }

  .share-capital-page .governance-grid {
    margin-top: 0;
  }
}
