.msa-news-filters,
.msa-memberships {
  --section-edge: #bdcddd;
  --section-card: #f8fbff;
  --section-ink: #142e46;
  --section-muted: #486177;
}
html[data-theme="dark"] :is(.msa-news-filters,.msa-memberships) {
  --section-edge: #587590;
  --section-card: #142d46;
  --section-ink: #eef6ff;
  --section-muted: #bed1e7;
}
.msa-news-filters { display: grid; gap: .65rem; }
html[data-theme="light"] #content .msa-ed .msa-news-heading {
  background: #f8fbff;
  color: #142e46;
}
html[data-theme="light"] #content .msa-ed .msa-news-heading :is(h1,label,strong) { color: #142e46; }
html[data-theme="dark"] #content .msa-ed .msa-news-heading {
  background: #142d46;
  color: #eef6ff;
}
html[data-theme="dark"] #content .msa-ed .msa-news-heading :is(h1,label,strong) { color: #eef6ff; }
#content .msa-news-nav a,
#content .msa-news-ribbon a {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  min-width: 0;
  min-height: 43px;
  font-size: .9rem;
  white-space: normal;
  text-align: start;
}
#content .msa-news-nav a {
  padding: .35rem .65rem;
  border: 1px solid var(--section-edge);
  color: var(--section-ink);
  background: var(--section-card);
  border-radius: .68rem;
}
#content .msa-news-nav a:hover { border-color: #6995ba; }
#content :is(.msa-news-nav,.msa-news-ribbon) a[aria-current="page"] {
  background: #183a59;
  border-color: #bb9455;
  color: #fff;
  box-shadow: inset 0 -2px #d2ae70;
}
#content :is(.msa-news-nav,.msa-news-ribbon) a:focus-visible {
  outline: 2px solid #5287b6;
  outline-offset: 2px;
}
.msa-news-leagues {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: .5rem;
}
#content .msa-news-leagues a { min-height: 53px; }
.msa-news-mark {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: .48rem;
  background: #fff;
}
.msa-news-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
:is(.msa-news-nav,.msa-news-ribbon,.msa-membership-card) .msa-menu-art {
  position: relative;
  display: block;
  overflow: hidden;
  flex: none;
  width: 28px;
}
:is(.msa-news-nav,.msa-news-ribbon,.msa-membership-card) .msa-menu-art img {
  position: absolute;
  display: block;
  max-width: none;
  max-height: none;
}
.msa-memberships {
  padding: clamp(.8rem,3vw,2rem);
  background: var(--section-card);
  color: var(--section-ink);
  border-color: var(--section-edge);
}
.msa-memberships > h2 { margin: 0; }
.msa-memberships > p { color: var(--section-muted); }
.msa-membership-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .9rem;
}
.msa-membership-card {
  --membership-mark: #527590;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1rem,2.3vw,1.55rem);
  border: 1px solid var(--section-edge);
  border-block-start: 4px solid var(--membership-mark);
  border-radius: 1rem;
  background: var(--section-card);
  color: var(--section-ink);
  box-shadow: 0 8px 23px #0c234016;
}
.msa-membership-card.is-plus { --membership-mark: #b28640; }
.msa-membership-card.is-pro { --membership-mark: #526ba5; }
.msa-membership-card header { display: flex; align-items: center; gap: .7rem; }
.msa-membership-card header .msa-menu-art { width: 54px; }
.msa-membership-card h3 { margin: 0; font-size: 1.35rem; }
.msa-membership-price { margin: .3rem 0 0; }
.msa-membership-price bdi { font-size: clamp(1.9rem,4vw,2.65rem); font-weight: 800; }
.msa-membership-annual { color: var(--section-muted); margin-block: .12rem .6rem; }
.msa-membership-card ul {
  margin: .3rem 0 1rem;
  padding-inline-start: 1.1rem;
  line-height: 1.65;
}
.msa-membership-card li + li { margin-block-start: .4rem; }
.msa-membership-card .wide-link { margin-block-start: auto; }
@media (max-width: 850px) {
  .msa-membership-grid { grid-template-columns: 1fr; }
  .msa-news-leagues { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .msa-news-leagues { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #content .msa-news-leagues a { gap: .3rem; padding-inline: .4rem; font-size: .81rem; }
  .msa-news-mark { flex-basis: 32px; width: 32px; height: 32px; }
  .msa-news-mark img { width: 28px; height: 28px; }
}

.payment-brands { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px 22px; margin-block-start:20px; }
.msa-memberships .payment-brands { padding-block-start:16px; border-block-start:1px solid var(--section-edge); }
.payment-brands h3,.payment-brands p { margin:0; }
.payment-brand-list { display:flex; flex-wrap:wrap; gap:7px; padding:0; margin:0; list-style:none; }
.payment-brand-list li { display:grid; place-items:center; width:62px; height:42px; background:#fff; border:1px solid #c9d6e2; border-radius:8px; }
.payment-brand-list img { display:block; width:48px; height:30px; object-fit:contain; }


/* MSA membership comparison and accessible feature lists */
.msa-membership-card.is-plus { --membership-mark:#47769c; }
.msa-membership-card.is-pro { --membership-mark:#b78b31; }
.msa-plan-name { display:block; font-weight:800; letter-spacing:.07em; color:var(--section-muted); }
.msa-plan-feature-title { margin:.8rem 0 .35rem; border-block-start:1px solid var(--section-edge); padding-block-start:.75rem; }
.msa-membership-card .msa-plan-checklist { list-style:none; padding:0; margin:0 0 1.1rem; }
.msa-plan-checklist li { display:flex; align-items:flex-start; gap:.55rem; padding:.4rem 0; border-block-end:1px solid var(--section-edge); }
.msa-plan-check { flex:none; font-weight:800; color:#25805f; }
html[data-theme="dark"] .msa-plan-check { color:#8ee0b4; }
.msa-plan-cta { margin-block-start:auto; padding:.85rem; border:0; border-radius:.7rem; background:#ffbc35; color:#142e46; font-weight:800; width:100%; }
.msa-plan-cta:disabled { opacity:.7; cursor:not-allowed; }
.msa-plan-matrix { margin-block-start:1.5rem; }
.msa-plan-matrix h3 { margin-block-end:.65rem; }
.msa-plan-table-scroll { overflow-x:auto; border:1px solid var(--section-edge); border-radius:.85rem; }
.msa-plan-matrix table { width:100%; border-collapse:collapse; font-size:.9rem; }
.msa-plan-matrix th,.msa-plan-matrix td { padding:.75rem .5rem; border-block-end:1px solid var(--section-edge); }
.msa-plan-matrix thead th { background:#173650; color:#fff; }
.msa-plan-matrix tbody th { text-align:start; font-weight:600; }
.msa-plan-matrix td { text-align:center; min-width:54px; }
.msa-plan-matrix td.included { color:#25805f; font-weight:800; }
html[data-theme="dark"] .msa-plan-matrix td.included { color:#8ee0b4; }
.msa-plan-matrix td.excluded { color:var(--section-muted); }
.msa-plan-matrix p { color:var(--section-muted); font-size:.85rem; }
@media(max-width:520px){.msa-plan-matrix th,.msa-plan-matrix td{padding:.55rem .3rem;font-size:.8rem}.msa-plan-matrix td{min-width:40px}}
