.table-container .ups-title-wrapper h2 {
  text-wrap: auto;
}

.table-wrapper:has(.dynamic) {
  max-width: 800px;
  margin: auto;
}

.section.ups-title-container.table-container {
  padding-block: 0;
}

.link-list-container ~ .table-container .table-wrapper {
  max-width: 50rem;
}

.table-content-wrapper{
  overflow-x: auto;
}

.table-content {
  width: 100%;
  border-collapse: collapse;
}

.table tbody {
  border-bottom: 1px solid var(--gray-4);
}

.table .table-footer{
  margin: 2rem 0 0;
}

.supplychain .table .table-footer{
  text-align: center;
}

.table .table-footer .footnote{
  margin: 0;
}

.table .table-footer .button-wrapper{
  margin: 1.5rem 0;
  justify-content: center;
}

.table .table-footer .button-wrapper a{
  margin: 0;
}

.table .table-caption, .comparison-svp .table-caption {
  background-color: var(--maroon);
  color: var(--white);
  font-size: 1rem;
  padding: 0.75rem;
  text-align: left;
  line-height: 1.5rem;
}

[dir='rtl'] .table .table-caption, [dir='rtl'] .comparison-svp .table-caption {
  text-align: right;
}

.table th, .table td {
  padding: 0.75rem;
  text-align: left;
  max-width: 4rem;
}

.table th, .comparison-svp .comparison-subheader {
  font-size: var(--body-font-size-m);
  font-weight: bold;
  background-color: var(--gray-4);
  color: var(--ups-black);
}

.table td {
  color: var(--text-color);
  font-size: var(--body-font-size-m);
}

.table, .table th, .table td {
  border: none;
}

[dir='rtl'] .table th, [dir='rtl'] .table td {
  text-align: right;
}

.table tr:nth-child(even) td {
  background-color: var(--gray-5);
}

.table tr:nth-child(odd) td {
  background-color: var(--white);
}

.table thead tr {
  font-size: var(--body-font-size-m);
  font-weight: bold;
}

.table-header {
  background-color: var(--brown);
  color: var(--white);
  font-size: var(--heading-font-size-s);
  font-weight: bold;
  padding: 0.75rem;
  text-align: left;
}

.table.block div div ul {
  list-style: none;
}

.table.block div div ul li p {
  margin: 0;
}

@media (width <= 770px) {
  .section.table-container {
    position: relative;
    padding-top: 2.5rem;
  }

  .table.comparison .table-content {
    display: none;
  }

  .table.comparison .comparison-svp {
    display: block;
  }

  .table tr {
    margin-bottom: 0.5rem;
  }

  .table td {
    padding-left: 0.5rem;
    position: relative;
  }

  .table td::before {
    content: attr(data-label);
    position: relative;
    display: block;
    width: 100%;
    font-weight: bold;
    text-align: left;
    margin-bottom: 0.25rem;
  }
}

@media (width >= 770px) {
  .table-container .default-content-wrapper h3 {
    text-align: center;
    margin-block-end: 2rem;
  }

  .table-container .default-content-wrapper p {
    text-align: center;
  }

  .table-container .default-content-wrapper h3.keyline u::after {
    margin: 1rem auto auto;
  }
  
  .table.comparison .comparison-svp {
    display: none;
  }

  .table .table-caption {
    padding: 0.75rem;
  }

  .table thead {
    display: table-header-group;
  }

  .table tbody {
    display: table-row-group;
  }

  .table tr {
    display: table-row;
  }

  .table td {
    display: table-cell;
    padding-left: 0.75rem;
    position: static;
  }

  .table td::before {
    content: none;
    display: none;
  }
}

@media (width >= 1280px) {
  .section.table-container {
    padding-bottom: 4rem;
  }
}

.comparison.table th {
  text-align: center;
}

.comparison.table th:first-child {
  border-right: none;
}

.comparison.table td:first-child {
  border-right: 0.063rem solid var(--gray-3);
  font-weight: bold;
}

.comparison.table td:not(:first-child) {
  text-align: center;
}

/* Additional styles for icon-check */
.icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background-color: #c2e3e2;
  border-radius: 50%;
  color: #324845;
  font-size: 1rem;
  font-weight: bold;
}

.icon-check img {
  width: 100%;
  height: 100%;
}

.comparison-svp .comparison-subheader {
  padding: 0.75rem;
  text-align: center;
}

.comparison-svp ul.comparison-options {
  padding: 0;
  margin: 0
}

.comparison-svp .option {
  padding: 0.938rem 1.25rem;
  padding-right: 3.75rem;
  border-top: 0.063rem solid var(--ups-black);
  position: relative;
  list-style: none
}

.comparison-svp .option:last-child {
  border-bottom: 0.063rem solid var(--ups-black);
}

.comparison-svp .option:nth-child(2n) {
  background: var(--gray-5);
}

.comparison-svp .option:nth-child(2n-1) {
  background: var(--white);
}

.comparison-svp .option .icon {
  position: absolute;
  right: 1.063rem;
  top: 1.125rem;
}
