.gas-product-nav {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 40px 18px;
}

.gas-product-nav a {
  color: white;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.gas-product-nav a[aria-current="page"] {
  border-bottom: 3px solid #ffc107;
  padding-bottom: 0.3rem;
}

#toc a {
  overflow-wrap: anywhere;
}

a:has(> code) {
  color: #E1E7EA;
}

a:not(pre):not([class^=L]) > code {
  color: inherit;
}

a:has(> code):hover {
  color: white;
}

@media (max-width: 640px) {
  #content,
  #header {
    padding-left: 16px;
    padding-right: 16px;
  }

  table.tableblock {
    table-layout: fixed;
    width: 100%;
  }

  table.tableblock th,
  table.tableblock td,
  table.tableblock code {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  table.runtime-artifacts {
    border: 0;
    display: block;
  }

  table.runtime-artifacts colgroup {
    display: none;
  }

  table.runtime-artifacts thead {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  table.runtime-artifacts tbody,
  table.runtime-artifacts tr,
  table.runtime-artifacts td {
    display: block;
    width: 100%;
  }

  table.runtime-artifacts tr {
    border: 1px solid #465461;
    margin-bottom: 1rem;
  }

  table.tableblock.runtime-artifacts td {
    background: #171E25;
    border: 0;
  }

  table.tableblock.runtime-artifacts td:first-child {
    background: #283441;
    font-weight: 600;
  }

  table.runtime-artifacts td:nth-child(2)::before {
    content: "Community/open source";
  }

  table.runtime-artifacts td:nth-child(3)::before {
    content: "GFTC";
  }

  table.runtime-artifacts td::before {
    color: #8EC9E6;
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
}
