.compare-card-container {

  .compare-cards-table h2 {
    font-weight: 700;
    font-size: 3.5em;
    text-align: center;
    letter-spacing: 1.3px;
    padding-top: 1.3em;
    margin-top: 0;
  }

  .compare-cards-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0;
    margin-bottom: 4em;
  }

  .compare-cards-table thead th {
    width: 25%;
  }

  .compare-cards-table th,
  .compare-cards-table td {
    vertical-align: top;
    padding: 2.3em 15px;
    border-top: 1px solid #d9d9d9;
    font-weight: 400;
    text-align: left;
  }

  .compare-cards-table thead th,
  .compare-cards-table tbody th {
    font-weight: 700;
  }

  .compare-cards-table__row-level>th,
  .compare-cards-table__row-fee>th {
    padding-right: 7em;
  }

  .compare-cards-table__col-earner {
    background: #f0fbff;
  }

  .compare-cards-table__col-premier {
    background: #f4f4f4;
  }

  .compare-cards-table__card {
    line-height: 1;
    text-align: center;
  }

  .compare-cards-table__card img {
    display: block;
    width: 12em;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .compare-cards-table__card .card-title {
    display: block;
    font-size: 2.4em;
    font-family: Gotham, sans-serif;
    font-weight: 700;
    padding-top: 10px;
    color: #002d72;
    line-height: 1;
    text-align: center;
  }

  .compare-cards-table__card .card-title+.card-title {
    line-height: 0.7;
    font-size: 1.6em;
    padding-top: 10px;
  }

  .compare-cards-table__bonus {
    display: flex;
    align-items: flex-start;
    line-height: 1;
  }

  .compare-cards-table__points--stack,
  .compare-cards-table__points--rate {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    line-height: 1;
    color: #0072CE;
  }

  .compare-cards-table__figure,
  .compare-cards-table__figure--intro {
    font-size: 2.5em;
    font-weight: 700;
  }

  .compare-cards-table__kicker,
  .compare-cards-table__unit {
    font-size: 0.8em;
    font-weight: 500;
  }

  .compare-cards-table__unit {
    margin-top: 0.5em;
  }

  .compare-cards-table__statement {
    padding-left: 0.9em;
    padding-right: 1.4em;
    line-height: 18px;
  }

  .compare-cards-table__statement--tight {
    padding-right: 0.6em;
  }

  .compare-cards-table__rates {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .compare-cards-table__rates li {
    display: flex;
    align-items: center;
    height: 5em;
  }

  .compare-cards-table__rates .compare-cards-table__statement {
    padding-right: 4em;
  }

  .compare-cards-table__level-name {
    font-size: 30px;
    font-weight: 700;
  }

  .compare-cards-table__level-mid {
    font-size: 14px;
    font-weight: 700;
  }

  .compare-cards-table .added-plat.compare-cards-table__level-mid {
    font-size: 14px;
    font-weight: 700;
    color: #babab5;
  }

  .compare-cards-table__fee-amount {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    color: #0072CE;
  }

  .compare-cards-table__nights {
    vertical-align: middle;
  }

  .compare-cards-table__nights-text {
    display: block;
    color: #333;
    font-weight: 700;
    font-size: 1.05em;
    line-height: 1.3;
    padding-left: 0.6em;
    padding-right: 0.6em;
  }

  .compare-cards-table__row-rate td {
    text-align: center;
  }

  .compare-cards-table__discount {
    font-weight: 700;
  }

  .compare-cards-table__row-apply td {
    text-align: center;
  }

  .compare-cards-table__apply-image {
    display: block;
    width: 6em;
    height: auto;
    padding-top: 1em;
    margin-left: auto;
    margin-right: auto;
  }

  .compare-cards-table__terms {
    font-size: 0.9em;
    padding: 1em 2.5em;
  }

  .compare-cards-table__row-terms th,
  .compare-cards-table__row-terms td {
    border-top: 0;
  }

  .compare-cards-table th.compare-cards-table__sr-cell {
    padding-top: 0;
    padding-bottom: 0;
  }

  .compare-cards-table__row-rate td,
  .compare-cards-table__row-terms td {
    border: none;
  }

  .compare-cards-table__row-terms td {
    padding: 1em 4.65rem;
    text-align: center;
  }

  .compare-cards-table__row-terms td a {
    color: #0072CE;
  }

  .compare-cards-table__row-terms td a:hover {
    color: #0072CE !important;
  }

  .compare-cards-table__row-terms td a:focus-visible {
    outline: 1px solid;
    outline-offset: 2px;
  }

  .compare-cards-table__row-apply td,
  .compare-cards-table__row-apply th {
    border: none;
    padding-block: 0;
  }

  .prequal-center {
    padding-inline: 2rem;
  }

  .compare-cards-table__rates li {
    padding-inline: 15px;
  }

  @media (min-width: 1440px) {
    .compare-cards-table__row-annual td {
      padding-right: 1.8em !important;
    }
  }

  @media (min-width: 768px) {
    .compare-cards-table__xs-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
  }

  @media (device-width: 768px) and (device-height: 1024px) and (orientation: landscape) {
    .compare-cards-table__apply-image {
      display: block;
    }
  }

  @media only screen and (min-width: 991px) and (max-width: 1023px) {
    .compare-cards-table__apply-image {
      display: block !important;
    }

    .compare-cards-table__row-apply td {
      text-align: left;
    }

    .compare-cards-table thead th:first-child,
    .compare-cards-table tbody th {
      font-size: 1em;
    }

    .compare-cards-table__statement,
    .compare-cards-table__rates .compare-cards-table__statement {
      padding-right: 0;
    }

    .compare-cards-table__figure,
    .compare-cards-table__figure--intro {
      font-size: 2em;
    }
  }

  @media only screen and (min-width: 1024px) and (max-width: 1199px) {

    /* 1024px laptop-only styles */
    .compare-cards-table__row-earning td ul.compare-cards-table__rates li:not(:last-child) {
      margin-bottom: 2em;
    }

    .compare-cards-table__row-annual td .compare-cards-table__bonus {
      align-items: flex-start;
    }
  }

  @media only screen and (min-width: 1024px) {
    .compare-cards-table table {
      width: calc(100% - 60px);
      margin-left: 15px;
    }

    .compare-cards-table thead th:last-child,
    .compare-cards-table tbody tr:not(.compare-cards-table__row-rate):not(.compare-cards-table__row-apply):not(.compare-cards-table__row-terms)>td:last-child {
      position: relative;
    }

    .compare-cards-table thead th:last-child::after,
    .compare-cards-table tbody tr:not(.compare-cards-table__row-rate):not(.compare-cards-table__row-apply):not(.compare-cards-table__row-terms)>td:last-child::after {
      content: "";
      position: absolute;
      top: -1px;
      right: -30px;
      width: 30px;
      height: 1px;
      background: #d9d9d9;
    }
  }

  @media screen and (max-width: 991px) {
    .compare-cards-table h2 {
      font-size: 3.2em;
      padding: 0 0.5em;
      margin-top: 1.5em;
      line-height: 1.2;
    }

    .compare-cards-table,
    .compare-cards-table table,
    .compare-cards-table thead,
    .compare-cards-table tbody {
      display: block;
      width: 100%;
      padding-left: 0;
      padding-right: 0;
    }

    .compare-cards-table tr {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      padding-left: 2.5em;
      padding-right: 2.5em;
    }

    .compare-cards-table th,
    .compare-cards-table td {
      display: block;
      width: auto;
      border-top: 0;
      box-sizing: border-box;
    }

    .compare-cards-table thead th:first-child,
    .compare-cards-table tbody th[scope="row"] {
      flex: 0 0 100%;
      max-width: 100%;
      font-size: 1.1em;
      padding: 1.5em 0 0;
    }

    .compare-cards-table thead th:not(:first-child),
    .compare-cards-table tbody td:not([colspan]) {
      flex: 0 0 33.333%;
      max-width: 33.333%;
      padding: 1.5em 0.4em;
    }

    .compare-cards-table td[colspan="3"] {
      flex: 0 0 100%;
      max-width: 100%;
    }

    .compare-cards-table__col-earner,
    .compare-cards-table__col-premier {
      background: transparent;
    }

    .compare-cards-table__row-bonus,
    .compare-cards-table__row-level,
    .compare-cards-table__row-fee,
    .compare-cards-table__row-rate {
      background-color: #f4f4f4;
    }

    .compare-cards-table__card {
      padding-top: 0;
    }

    .compare-cards-table__card img {
      width: 7.1em;
    }

    .compare-cards-table__card .card-title,
    .compare-cards-table__card .card-title+.card-title {
      font-size: 1.6em;
      line-height: 1;
    }

    .compare-cards-table thead th:first-child {
      padding-bottom: 1em;
    }

    .compare-cards-table__row-level>th,
    .compare-cards-table__row-fee>th,
    .compare-cards-table__row-rate>th {
      padding-right: 0;
      padding-left: 0;
    }

    .compare-cards-table__bonus,
    .compare-cards-table__rates li,
    .compare-cards-table__level {
      flex-direction: column;
      align-items: flex-start;
    }

    .compare-cards-table__level {
      display: flex;
    }

    .compare-cards-table__points--rate {
      flex-direction: row;
      align-items: flex-end;
    }

    .compare-cards-table__points--rate .compare-cards-table__unit {
      align-self: flex-end;
      margin-top: 0;
      padding-left: 0.4em;
    }

    .compare-cards-table__points--stack {
      line-height: 1.06;
    }

    .compare-cards-table__figure {
      font-size: 1.9em;
    }

    .compare-cards-table__figure--intro {
      font-size: 2em;
    }

    .compare-cards-table__statement,
    .compare-cards-table__rates .compare-cards-table__statement,
    .compare-cards-table__statement--tight {
      padding-left: 0;
      padding-right: 0.5em;
      line-height: 1.3;
      font-size: 0.82em;
    }

    .compare-cards-table__rates li {
      height: 5.5em;
      padding-left: 0;
      padding-right: 0;
    }

    .compare-cards-table__level-name {
      font-size: 1.4em;
    }

    .compare-cards-table__fee-amount {
      font-size: 1.9em;
    }

    .compare-cards-table__apply-image {
      display: none;
    }

    .compare-cards-table__row-terms th {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
      flex: 0 0 0;
    }

    .compare-cards-table tbody .compare-cards-table__row-apply td {
      padding-top: 0;
    }

    .compare-cards-table__row-level td {
      display: flex;
      flex-direction: column;
    }

    .compare-cards-table table thead tr th {
      padding-top: 0 !important;
    }
  }

  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .compare-cards-table table {
      display: table;
      width: 100%;
      table-layout: fixed;
    }

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

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

    .compare-cards-table tr {
      display: table-row;
      padding-left: 0;
      padding-right: 0;
    }

    .compare-cards-table th,
    .compare-cards-table td,
    .compare-cards-table__row-level td,
    .compare-cards-table thead th:first-child,
    .compare-cards-table tbody th[scope="row"],
    .compare-cards-table thead th:not(:first-child),
    .compare-cards-table tbody td:not([colspan]) {
      display: table-cell;
      flex: none;
      max-width: none;
      width: 25%;
    }

    .compare-cards-table td[colspan="3"] {
      display: table-cell;
      flex: none;
      max-width: none;
      width: auto;
    }

    .compare-cards-table thead th:first-child,
    .compare-cards-table tbody th[scope="row"] {
      padding-left: 2.5em;
      padding-right: 1em;
    }

    .compare-cards-table thead th:first-child {
      width: 29.7%;
    }

    .compare-cards-table thead th:not(:first-child) {
      width: 21.8%;
    }

    .compare-cards-table thead th:last-child {
      width: 26.7%;
      padding-right: 2.5em;
    }

    .compare-cards-table tbody td:not([colspan]) {
      width: auto;
      padding-left: 15px;
      padding-right: 15px;
    }

    .compare-cards-table tbody td:not([colspan]):last-child {
      padding-right: calc(2.5em + 15px);
    }

    .compare-cards-table tbody .compare-cards-table__row-apply td:not([colspan]) {
      padding-left: 0;
    }

    .compare-cards-table__row-level td>span {
      display: block;
    }

    .compare-cards-table__card .card-title+.card-title {
      font-size: 1em;
    }

    .compare-cards-table__row-terms th {
      position: static;
      width: 25%;
      height: auto;
      margin: 0;
      overflow: visible;
      clip: auto;
      white-space: normal;
    }

    .compare-cards-table__apply-image {
      display: block !important;
      margin-left: 0;
      margin-right: 0;
    }

    .compare-cards-table__row-apply td {
      text-align: left;
    }

    .compare-cards-table thead th:first-child,
    .compare-cards-table tbody th[scope="row"] {
      font-size: 0.88em;
    }

    .compare-cards-table__statement,
    .compare-cards-table__rates .compare-cards-table__statement,
    .compare-cards-table__statement--tight {
      padding-right: 0;
    }

    .compare-cards-table__figure,
    .compare-cards-table__figure--intro {
      font-size: 2em;
    }

    .prequal-center {
      padding-inline: unset;
    }

    .compare-cards-table__row-terms td {
      padding-right: 5em;
      padding-left: 0;
      padding-top: 0;
      text-align: left;
    }
  }

  @media screen and (max-width: 767px) {

    .compare-cards-table thead th:first-child,
    .compare-cards-table tbody th[scope="row"] {
      padding-right: 2.5em;
    }

    .compare-cards-table__row-level th {
      padding-right: 0 !important;
    }

    .compare-cards-table__row-rate td,
    .compare-cards-table__row-nights td {
      text-align: left;
    }

    .compare-cards-table__row-rate td {
      padding: 1.5em 0 2.3em;
    }

    .prequal-center {
      padding-inline: unset;
    }

    .compare-cards-table__row-terms td {
      padding: unset;
    }

    .compare-cards-table__row-annual td {
      padding-right: 2em !important;
    }
  }

  @media screen and (max-width: 680px) {
    .compare-cards-table__col-premier .compare-cards-table__rates li:last-child {
      padding-top: 0;
    }
  }

  @media screen and (max-width: 480px) {
    .compare-cards-table h2 {
      font-size: 2.8em;
    }

    .compare-cards-table__card img {
      width: 6.1em;
    }

    .compare-cards-table__card .card-title,
    .compare-cards-table__card .card-title+.card-title {
      font-size: 1.2em;
    }

    .compare-cards-table__figure,
    .compare-cards-table__figure--intro {
      font-size: 1.6em;
    }

    .compare-cards-table__statement,
    .compare-cards-table__rates .compare-cards-table__statement,
    .compare-cards-table__statement--tight {
      padding-right: 0.8em;
    }

    .compare-cards-table__rates li {
      height: 7.5em;
    }

    .compare-cards-table__level-name {
      font-size: 1.2em;
    }
  }
}