.package-comparison,
.package-comparison *,
.package-comparison *::before,
.package-comparison *::after {
  box-sizing: border-box;
}

.package-comparison {
  width: 100%;
  max-width: 100%;
  padding: 44px 24px 80px;
  color: #2d2926;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.package-comparison > h2 {
  margin: 0 0 72px;
  color: #ff8200;
  font-family: var(--font-heading, "VAG Rounded Std", "VAG Rounded", Arial, sans-serif);
  font-size: clamp(38px, 3.4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  text-align: center;
}

.package-comparison__mobile {
  display: none;
}

/* Umbraco strips the layout wrappers but preserves the three tables. */
.package-comparison > table:nth-of-type(n + 2) {
  display: none;
}

.package-comparison table {
  width: 100%;
  max-width: 1200px;
  min-width: 880px !important;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  border-collapse: collapse;
  outline: 0;
  overflow: visible;
  background: transparent;
  table-layout: fixed;
}

.package-comparison table col:first-child,
.package-comparison table tr > :first-child {
  width: 20% !important;
}

.package-comparison table col:nth-child(2),
.package-comparison table col:nth-child(3),
.package-comparison table tr > :nth-child(2),
.package-comparison table tr > :nth-child(3) {
  width: 40% !important;
}

.package-comparison table th,
.package-comparison table td {
  border: 0;
  text-align: left;
  vertical-align: middle;
}

.package-comparison table tbody > tr:first-child > th {
  height: 90px;
  padding: 0 22px 22px;
  border: 0;
  background: #fff;
  vertical-align: bottom;
}

.package-comparison table tbody > tr:first-child > th:not(:first-child) {
  border-bottom: 3px solid #ff8200;
  border-left: 1px solid #d7d7d7;
}

.package-comparison table tbody > tr:first-child img {
  display: block;
  width: 175px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.package-comparison table tbody > tr:not(:first-child) > th,
.package-comparison table tbody > tr:not(:first-child) > td {
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  background: transparent;
  font-size: 17px;
  line-height: 1.25;
}

.package-comparison table tbody > tr:not(:first-child) > th {
  font-family: var(--font-body, "Proxima Soft", "Proxima Nova", Arial, sans-serif);
  font-weight: 400;
}

.package-comparison table tbody > tr:not(:first-child) > td {
  border-left: 1px solid #d7d7d7;
  font-weight: 700;
}

.package-comparison table tbody > tr:nth-child(even) > * {
  background: #f6f7f6;
}

.package-comparison table p {
  margin: 0;
}

@media (max-width: 960px) {
  .package-comparison {
    padding-inline: 16px;
  }

  .package-comparison > h2 {
    margin-bottom: 42px;
  }

  .package-comparison__desktop {
    display: none;
  }

  .package-comparison__mobile,
  .package-comparison > table:nth-of-type(n + 2) {
    display: block;
  }

  .package-comparison > table:first-of-type {
    display: none;
  }

  .package-comparison__mobile table,
  .package-comparison > table:nth-of-type(n + 2) {
    display: table;
    width: 100%;
    min-width: 0 !important;
    margin: 0;
  }

  .package-comparison__mobile table + table,
  .package-comparison > table:nth-of-type(3) {
    margin-top: 54px;
  }

  .package-comparison__mobile table tr > :first-child,
  .package-comparison__mobile table tr > :nth-child(2),
  .package-comparison > table:nth-of-type(n + 2) tr > :first-child,
  .package-comparison > table:nth-of-type(n + 2) tr > :nth-child(2) {
    width: 50% !important;
  }

  .package-comparison__mobile table tbody > tr:first-child > th,
  .package-comparison__mobile table thead th,
  .package-comparison > table:nth-of-type(n + 2) tbody > tr:first-child > th,
  .package-comparison > table:nth-of-type(n + 2) thead th {
    width: 100% !important;
    height: 82px;
    padding: 0 6px 14px;
    border-bottom: 3px solid #ff8200;
    border-left: 0;
  }

  .package-comparison__mobile table tbody > tr:first-child img,
  .package-comparison__mobile table thead img,
  .package-comparison > table:nth-of-type(n + 2) tbody > tr:first-child img,
  .package-comparison > table:nth-of-type(n + 2) thead img {
    margin-inline: auto;
    object-position: center;
  }

  .package-comparison__mobile table tbody > tr:not(:first-child) > th,
  .package-comparison__mobile table tbody > tr:not(:first-child) > td,
  .package-comparison > table:nth-of-type(n + 2) tbody > tr:not(:first-child) > th,
  .package-comparison > table:nth-of-type(n + 2) tbody > tr:not(:first-child) > td {
    padding: 10px 7px;
    font-size: 14px;
    line-height: 1.15;
  }

  .package-comparison__mobile table tbody > tr:not(:first-child) > td,
  .package-comparison > table:nth-of-type(n + 2) tbody > tr:not(:first-child) > td {
    border-left: 0;
    text-align: right;
  }
}
