/* MF Market Access 2027 membership comparison, between results and closing. */
.international-memberships {
  padding: clamp(3.5rem, 5.2vw, 5.75rem) 1.5rem clamp(4rem, 5.5vw, 6rem);
  background: radial-gradient(ellipse at 50% 38%, #fffefa 0%, #faf8f1 65%, #f4f1e8 100%);
}

.memberships-shell {
  width: min(100%, 90rem);
  margin-inline: auto;
}

.memberships-intro {
  max-width: 54rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.memberships-intro .eyebrow {
  margin: 0 0 0.8rem;
  color: #ad842f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.memberships-intro h2 {
  margin: 0;
  color: #071d36;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 3.8vw, 3.65rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.memberships-intro > p:last-child {
  max-width: 44rem;
  margin: 1rem auto 0;
  color: #425b73;
  font-size: 1.05rem;
  line-height: 1.65;
}

.memberships-scroll-hint {
  display: none;
}

.memberships-mobile-view {
  display: none;
}

.memberships-table-wrap {
  overflow-x: auto;
  border-top: 2px solid #b9944b;
  border-bottom: 1px solid rgba(7, 29, 54, 0.16);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 1.2rem 3rem rgba(7, 29, 54, 0.07);
  scrollbar-color: #b9944b #eee9dc;
  scrollbar-width: thin;
}

.memberships-table-wrap:focus-visible {
  outline: 3px solid #b9944b;
  outline-offset: 4px;
}

.memberships-table {
  width: 100%;
  min-width: 58rem;
  border-collapse: separate;
  border-spacing: 0;
  color: #17304d;
  font-size: 0.94rem;
  line-height: 1.4;
  text-align: center;
}

.memberships-table th,
.memberships-table td {
  padding: 0.78rem 1rem;
  border-bottom: 1px solid rgba(7, 29, 54, 0.11);
}

.memberships-table thead th {
  width: 22%;
  padding: 1.35rem 1.15rem 1.5rem;
  color: #fffdf7;
  background: radial-gradient(ellipse at 48% 45%, #102b46 0%, #071c34 78%);
  vertical-align: top;
}

.memberships-table thead th:first-child {
  width: 34%;
  color: #d4ad62;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  text-align: left;
  vertical-align: middle;
}

.memberships-table .membership-featured {
  box-shadow: inset 1px 0 #b9944b, inset -1px 0 #b9944b;
  background-color: rgba(185, 148, 75, 0.1);
}

.memberships-table thead .membership-featured {
  background: radial-gradient(ellipse at 48% 45%, #173b5d 0%, #0b2440 78%);
}

.membership-name,
.membership-tagline,
.membership-price {
  display: block;
}

.membership-name {
  color: #f8f5ed;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
}

.membership-tagline {
  min-height: 2.7rem;
  margin-top: 0.4rem;
  color: #d5c8ab;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
}

.membership-price {
  margin-top: 0.8rem;
  color: #d4ad62;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  white-space: nowrap;
}

.membership-price small {
  color: #f8f5ed;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 400;
}

.memberships-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 34%;
  color: #102a45;
  font-weight: 600;
  text-align: left;
  background: #fffefa;
}

.memberships-table tbody tr:nth-child(even) th,
.memberships-table tbody tr:nth-child(even) td:not(.membership-featured) {
  background: rgba(7, 29, 54, 0.025);
}

.memberships-table tbody tr:last-child th,
.memberships-table tbody tr:last-child td {
  border-bottom: 0;
}

.memberships-table tbody td span[aria-label="Incluido"] {
  color: #a47b2d;
  font-size: 1.3rem;
  font-weight: 700;
}

.memberships-payment,
.memberships-terms {
  margin: 1.1rem 0 0;
  color: #425b73;
  font-size: 0.88rem;
  line-height: 1.6;
}

.memberships-payment {
  color: #102a45;
  font-weight: 700;
}

@media (min-width: 64.01rem) {
  .memberships-table thead th:first-child {
    color: #0f1e31;
    background: #f4f0e5;
  }

  .memberships-table thead th:nth-child(2),
  .memberships-table thead th:nth-child(4) {
    color: #0f1e31;
    background: #f4f0e5;
  }

  .memberships-table thead th:nth-child(2) .membership-name,
  .memberships-table thead th:nth-child(2) .membership-tagline,
  .memberships-table thead th:nth-child(4) .membership-name,
  .memberships-table thead th:nth-child(4) .membership-tagline,
  .memberships-table thead th:nth-child(2) .membership-price small,
  .memberships-table thead th:nth-child(4) .membership-price small {
    color: #0f1e31;
  }

  .memberships-table thead th:nth-child(2) .membership-price,
  .memberships-table thead th:nth-child(4) .membership-price {
    color: #ae9044;
  }

  .memberships-table thead th.membership-featured {
    color: #ae9044;
    background: #0f1e31;
  }

  .memberships-table thead th.membership-featured .membership-name,
  .memberships-table thead th.membership-featured .membership-tagline,
  .memberships-table thead th.membership-featured .membership-price,
  .memberships-table thead th.membership-featured .membership-price small {
    color: #ae9044;
  }
}

@media (max-width: 42rem) {
  .international-memberships {
    padding: 3rem 1rem 3.5rem;
  }

  .memberships-intro {
    margin-bottom: 1.75rem;
    text-align: left;
  }

  .memberships-intro .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.19em;
  }

  .memberships-intro h2 {
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .memberships-intro > p:last-child {
    margin-top: 0.75rem;
    font-size: 0.96rem;
  }

  .memberships-scroll-hint {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 0.65rem;
    color: #617286;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .international-memberships.has-mobile-view .memberships-scroll-hint,
  .international-memberships.has-mobile-view .memberships-table-wrap {
    display: none;
  }

  .international-memberships.has-mobile-view .memberships-mobile-view {
    display: block;
  }

  .memberships-mobile-prompt {
    margin: 0 0 0.7rem;
    color: #102a45;
    font-size: 1rem;
    font-weight: 600;
  }

  .memberships-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    border-bottom: 1px solid rgba(7, 29, 54, 0.2);
  }

  .membership-mobile-tab {
    position: relative;
    min-width: 0;
    min-height: 3rem;
    padding: 0.55rem 0.3rem 0.7rem;
    border: 0;
    color: #5f6068;
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
  }

  .membership-mobile-tab[aria-selected="true"] {
    color: #ae9044;
    font-weight: 700;
  }

  .membership-mobile-tab[aria-selected="true"]::after {
    position: absolute;
    right: 0.55rem;
    bottom: -1px;
    left: 0.55rem;
    height: 2px;
    content: "";
    background: #b9944b;
  }

  .membership-mobile-tab:focus-visible {
    outline: 2px solid #b9944b;
    outline-offset: -3px;
  }

  .memberships-mobile-panel {
    background: rgba(255, 255, 255, 0.8);
  }

  .membership-mobile-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 0.35rem;
    padding: 1.15rem 1rem;
    border-bottom: 1px solid rgba(7, 29, 54, 0.14);
    color: #0f1e31;
    background: #f5f2e9;
    text-align: center;
  }

  .membership-mobile-overview.is-featured {
    border-bottom: 2px solid #ae9044;
    color: #ae9044;
    background: #0f1e31;
  }

  .membership-mobile-name {
    grid-column: 1 / -1;
    margin: 0;
    color: #0f1e31;
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.2;
  }

  .membership-mobile-overview.is-featured .membership-mobile-name,
  .membership-mobile-overview.is-featured .membership-mobile-tagline,
  .membership-mobile-overview.is-featured .membership-mobile-price,
  .membership-mobile-overview.is-featured .membership-mobile-payment {
    color: #ae9044;
  }

  .membership-mobile-tagline {
    margin: 0;
    color: #0f1e31;
    font-family: var(--font-serif);
    font-size: 0.92rem;
    line-height: 1.3;
  }

  .membership-mobile-price {
    margin: 0;
    color: #ae9044;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }

  .membership-mobile-payment {
    margin: 0;
    color: #617286;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .membership-mobile-features {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .membership-mobile-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(5rem, 8.5rem);
    align-items: center;
    gap: 0.75rem;
    min-height: 3.4rem;
    padding: 0.75rem 0.15rem;
    border-bottom: 1px solid rgba(7, 29, 54, 0.13);
    color: #17304d;
    font-size: 0.91rem;
    line-height: 1.35;
  }

  .membership-mobile-feature-name {
    min-width: 0;
  }

  .membership-mobile-feature-value {
    justify-self: end;
    max-width: 100%;
    color: #17304d;
    font-size: 0.9rem;
    line-height: 1.35;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .membership-mobile-feature-value.is-included {
    color: #a47b2d;
    font-size: 1.3rem;
    font-weight: 700;
  }

  .membership-mobile-feature-value.is-not-included {
    color: #617286;
  }

  .memberships-table {
    min-width: 58rem;
    font-size: 0.88rem;
  }

  .memberships-table th,
  .memberships-table td {
    padding: 0.72rem 0.8rem;
  }

  .memberships-table thead th:first-child {
    font-size: 1.25rem;
  }

  .membership-name {
    font-size: 1.35rem;
  }

  .memberships-terms,
  .memberships-payment {
    font-size: 0.82rem;
  }
}
