section, .credit-cards nav {
    background-color: #F7F9FF;
}
.terms { background: transparent; }
p.terms:last-child { margin-bottom: 0 !important; }

/* buttons */
.credit-cards .btn-secondary {
    background: transparent;
    border-color: var(--main-link-color);
    color: var(--main-link-color);
    font-size: 1rem;
    font-weight: 700;
}
.credit-cards .btn-secondary:hover {
    background: var(--main-link-color);
    color: #ffffff;
}
.credit-cards .btn:focus {
    box-shadow: 0 0 0 .2rem rgba(48, 76, 178, .25);
}

/* Hero */
.hero { background: none; }

/* Nav Tabs */
.credit-cards .nav-tabs  { 
    /* override default bootstrap */
    border: none;
}
.credit-cards .nav-tabs .nav-link { 
    /* override default bootstrap */
    background: none;;
    border: none;
    border-bottom: 2px solid transparent; 
}
.credit-cards .nav-tabs .nav-link:focus { 
    /* override default bootstrap */
    /* outline: none; */
}
.credit-cards .nav-tabs {
    font-size: 1.25rem;
}
.credit-cards .nav-tabs .active {
    border-bottom: 2px solid var(--main-accent-color);
    color: #111B40;
}

/* Card Offers */
.credit-cards .featured .card-title {
    border-bottom: 1px solid rgba(9, 9, 11, 0.1);
    color: #09090B;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.75rem;
}
.credit-cards .featured ul li {
    list-style: none;
}
.credit-cards .featured ul li::before {
    content: '';
    display: inline-block;
    height: 20px;
    width: 16px;
    background-image: url('/swa-resources/images/responsive/customer-enhancements/cardmember-benefits/icon-list-check.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    margin-left: -30px;
    margin-right: 10px;
    vertical-align: text-bottom;
}

/* Not a Cardmember */
section.not-a-cardmember {
    padding: min(30px, 5%) min(15px, 0%);
}
.not-a-cardmember h3 {
    color: var(--primary-midnight-blue-color);
    font-size: 1.125rem;
    line-height: 1.5rem;
}
.not-a-cardmember h4 {
    color: var(--primary-midnight-blue-color);
    font-size: 1rem;
    line-height: 100%;
}
.not-a-cardmember h5 {
    color: var(--primary-midnight-blue-color);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.875rem;
}
.not-a-cardmember img {
    /* filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15)); */
}
.not-a-cardmember time {
    font-size: 0.75rem;
}

/* Card Benefits */
.card-benefits {
    /* border-top: 1px solid rgba(9, 9, 11, 0.1); */
    position: relative
}
.card-benefits hr {
    border-top: 1px solid rgba(9, 9, 11, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-width: 90%;
}
@media all and (max-width: 767px) {
    .card-benefits a { width: 100%; }
}
.card-benefits .pre-title { 
    font-size: 1.125rem;
    letter-spacing: unset;
}
.card-benefits h2 {
    font-size: clamp(1rem, calc(2vw + 1rem), 3rem);
}
.card-benefits h4 {
    font-size: 1.125rem;
    color: currentColor;
}
.card-benefits .card-deck .card .card-title {
    color: #090F23;
    font-size: 1.125rem;
    font-weight: 700;
}

/* ResponsiveQ grid layout */
.card-benefits .content-boxes {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 389px), 1fr));
    gap: 1rem;
}
.card-benefits .content-box {
    display: flex;
    justify-content: center;
    align-items: center;
    /* aspect-ratio: 1; */
}


/* Section: Cardmember Benefits Chart */
.cardmember-benefits .fare-chart-header { 
    background: unset;
    color: unset;
    display: inline-block;
}
.cardmember-benefits .fare-chart-header .right { 
    filter: brightness(0.1);
    vertical-align: baseline;
}
/* .cardmember-benefits .fare-chart-body { overflow-x: auto; } */
/* Override legacy fare chart background colors */
.cardmember-benefits .fare-chart-body table tr td:nth-child(2),
.cardmember-benefits .fare-chart-body table tr td:nth-child(3),
.cardmember-benefits .fare-chart-body table tr td:nth-child(4),
.cardmember-benefits .fare-chart-body table tr td:nth-child(5) {
    background-color: unset;
}
.cardmember-benefits .fare-chart-body table tbody tr th:nth-of-type(1) {
    /* background-color: var(--primary-dark-blue-color); */
    /* color: #ffffff; */
    font-size: 1rem;
    font-weight: bold;
    line-height: 1rem;
    padding-right: 79px;
}
.cardmember-benefits .fare-chart-body table {
    border-collapse: separate;
    border-spacing: 0 2px;
  }
.cardmember-benefits .fare-chart-body .table thead th {
    background: var(--primary-midnight-blue-color);
    color: #ffffff;
    font-size: 1.125rem;
    padding: 0.655rem 2.5rem;
    vertical-align: baseline;
}
.cardmember-benefits .fare-chart-body table thead tr th:nth-child(1) {
    border-radius: 5px 0 0 0;
}
.cardmember-benefits .fare-chart-body table thead tr th:nth-child(2) {
    background: linear-gradient(270deg, #1A2C80 27%, #14204C 77%, #111B40 100%);
    border: none;
    border-bottom: 4px solid #FFBF27;
    color: var(--primary-yellow-color);
}
.cardmember-benefits .fare-chart-body table thead tr th:nth-child(3) {
    border: none;
    border-bottom: 4px solid var(--primary-midnight-blue-color);
}
.cardmember-benefits .fare-chart-body table thead tr th:nth-child(4) {
    background: var(--primary-bold-blue-color);
    border: none;
    border-bottom: 4px solid var(--primary-dark-blue-color);
}
.cardmember-benefits .fare-chart-body table thead tr th:nth-child(5) {
    background: #ffffff;
    border-radius: 0 5px 0 0;
    border: 2px solid  var(--secondary-light-blue-color);
    border-bottom: 4px solid var(--secondary-light-blue-color);
    color: var(--primary-bold-blue-color);
}
.cardmember-benefits .fare-chart-body table tbody tr.dark-blue-bg td {
    background: var(--primary-dark-blue-color);
    color: #ffffff;
}
/* .cardmember-benefits .fare-chart-body table tbody tr.midnight-blue-bg th {
    background: var(--primary-midnight-blue-color);
    border-right: 1px solid var(--primary-midnight-blue-color);
    color: #ffffff;
}
.cardmember-benefits .fare-chart-body table tbody tr.midnight-blue-bg td {
    background: var(--primary-midnight-blue-color);
    border-left: 1px solid var(--primary-midnight-blue-color);
    color: #ffffff;
} */
.cardmember-benefits .fare-chart-body table tbody tr th {
    background: var(--tbody-bgcolor);
    color: var(--tbody-color);
}
.cardmember-benefits .fare-chart-body table tr td, .cardmember-benefits .fare-chart-body table tr th {
    height: auto;
    width: auto;
}
.cardmember-benefits .fare-chart-body table tbody tr:last-child th {
    border-radius: 0 0 0 5px;
}
.cardmember-benefits .fare-chart-body table tbody tr:last-child td:last-child {
    border-radius: 0 0 5px 0;
}
.cardmember-benefits .fare-chart-body table thead tr th:first-child {
    position: relative;
}
.cardmember-benefits .fare-chart-body table thead tr th:first-child::after {
    content: "";
    background: var(--primary-dark-blue-color);
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    position: absolute;
}
.cardmember-benefits .fare-chart-body table thead tr th:not(:first-child) {
    /* simulating border spacing in thead */
    border-left: #ffffff solid 2px;
}

/* Cardmember Benefits Chart */
.cardmember-benefits .fare-chart-body table thead tr th:not(:first-child) {
    background: #ffffff;
    border: none;
    color: var(--primary-midnight-blue-color);
}
.cardmember-benefits .fare-chart-body table thead tr th:not(:first-child):nth-child(even), .cardmember-benefits .fare-chart-body table tbody tr td {
    /* simulating border spacing in thead */
    /* border-left: #dddddd solid 2px; */
}
.cardmember-benefits table thead th img {
    display: block;
    margin-bottom: 0.5rem;
    max-width: 200px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
.cardmember-benefits table thead th span {
    display: block;
}
.cardmember-benefits .fare-chart-body table tbody tr th:nth-of-type(1) {
    padding-right: 50px;
    width: 100%;;
}
.cardmember-benefits table thead th span { font-size: 1rem; }
.cardmember-benefits table tbody tr th a { color: currentColor; }
.table-striped tbody tr:nth-of-type(even) {
    background-color: #ffffff;
}

/* Terms */
.terms li {
    margin-bottom: 1rem;
}
.terms h3 {
    color: currentColor;
    font-size: 0.75rem;
    padding-bottom: 0;
}

.business-benefits {
    position: relative;
}
/* .business-benefits::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    content: "";
}
.business-benefits::after {
    content: "Business tab in progress";
    position: absolute;
    top: 4rem;
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 1;
    text-shadow: 0 0 40px #000;
} */