/* =====================================================================
   Golf Empire â€” members pages   /css/ge-members.css
   Members area dashboard and upgrade page, the sign-up view, favourites rows.
   Moved out of nav.css (Nov 2026). Loaded by the headtag on /members/ pages only,
   straight after nav.css (before ge-feature-colours.css, so the tile colours still win).
   ===================================================================== */

/* ============================================================
   STATUS STRIP (Premium dashboard only)
   ============================================================ */
.gem-strip {
  background: var(--c-brand);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.gem-strip__left {
  display: flex; align-items: center; gap: 16px; min-width: 0;
}
.gem-strip__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.2);
}
.gem-strip__greeting {
  font-size: 11px; color: rgba(255,255,255,0.7);
  letter-spacing: 0.8px; text-transform: uppercase;
  margin: 0 0 2px; font-weight: 600;
}
.gem-strip__name {
  font-size: 21px; font-weight: 700;
  margin: 0; letter-spacing: -0.005em; color: #fff;
}
.gem-strip__right {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.gem-strip__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-premium);
  color: #fff;
  border: 0;
  padding: 5px 11px; border-radius: 99px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.4px; text-transform: uppercase;
}
.gem-strip__badge i { color: var(--c-focus); }
.gem-strip__expiry {
  font-size: 13px; line-height: 1.4; text-align: right;
}
.gem-strip__expiry-label {
  font-size: 11px; color: var(--c-text-muted);
  letter-spacing: 0.4px; text-transform: uppercase;
  display: block; margin-bottom: 1px;
}
.gem-strip__expiry { color: #fff; }
.gem-strip__expiry-label { color: rgba(255,255,255,0.7) !important; }
.gem-strip__expiry-date {
  font-weight: 700; font-size: 14px; color: #fff;
}
.gem-strip__expiry-meta {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 2px 8px; border-radius: 99px;
  font-size: 11px; color: rgba(255,255,255,0.9);
  margin-top: 3px;
}
.gem-strip__manage {
  font-size: 11.5px; color: rgba(255,255,255,0.8) !important;
  text-decoration: underline; display: block;
  margin-top: 4px; font-weight: 500;
}
.gem-strip__manage:hover { color: #fff !important; }

@media (max-width: 540px) {
  .gem-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .gem-strip__right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .gem-strip__expiry {
    text-align: left;
  }
}

/* ============================================================
   SECTION
   ============================================================ */
.gem-section { margin-top: 30px; }
.gem-section:first-of-type { margin-top: 0; }
.gem-section__title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--c-text-muted);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 12px;
}
.gem-section__title::after {
  content: ""; flex: 1; height: 1px; background: var(--c-border);
}


/* ============================================================
   TILES
   ============================================================ */
.gem-tiles-primary,
.gem-tiles-secondary {
  display: grid; gap: 14px;
}
.gem-tiles-primary { grid-template-columns: repeat(3, 1fr); }
.gem-tiles-secondary { grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 820px) {
  .gem-tiles-primary { grid-template-columns: 1fr; }
  .gem-tiles-secondary { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .gem-tiles-secondary { grid-template-columns: 1fr; }
}

.gem-tile {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 20px;
  text-decoration: none !important;
  color: inherit !important;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.gem-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 30, 50, 0.08);
  border-color: var(--c-brand-25);
}
.gem-tile__icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: var(--c-brand-08);
  color: var(--c-brand);
  display: grid; place-items: center;
  font-size: 18px; margin-bottom: 4px;
}
.gem-tile__title {
  font-size: 16px; font-weight: 700;
  margin: 0; color: var(--c-text);
  letter-spacing: -0.005em;
}
.gem-tile__desc {
  font-size: 13.5px; color: var(--c-text-muted);
  margin: 0; line-height: 1.45;
}
.gem-tile__cta {
  font-size: 13px; font-weight: 700;
  color: var(--c-brand);
  margin-top: auto; padding-top: 10px;
  display: flex; align-items: center; gap: 6px;
}
.gem-tile__cta i { transition: transform 0.15s ease; font-size: 11px; }
.gem-tile:hover .gem-tile__cta i { transform: translateX(3px); }

.gem-tile--compact { padding: 16px; }
.gem-tile--compact .gem-tile__icon {
  width: 34px; height: 34px;
  font-size: 14px; margin-bottom: 2px;
}
.gem-tile--compact .gem-tile__title { font-size: 14.5px; }
.gem-tile--compact .gem-tile__desc { font-size: 12.5px; }


/* ============================================================
   PERKS PANEL (dashboard)
   ============================================================ */
.gem-perks {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-premium);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.gem-perks__intro {
  margin: 0;
  color: var(--c-text-muted);
  font-size: 13.5px;
}
.gem-perks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 14px;
}
@media (max-width: 820px) { .gem-perks__grid { grid-template-columns: 1fr; } }

.gem-perk {
  padding: 16px;
  border: 1px solid var(--c-premium-12);
  border-radius: 8px;
  background: rgba(163, 0, 63, 0.02);
  display: flex; flex-direction: column; gap: 8px;
}
.gem-perk__label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--c-premium);
  background: var(--c-premium-tint);
  border: 1px solid var(--c-premium-tint-2);
  padding: 3px 8px; border-radius: 99px;
  display: inline-block; align-self: flex-start;
}
.gem-perk__title {
  font-size: 15px; font-weight: 700;
  margin: 0; color: var(--c-text);
}
.gem-perk__desc {
  font-size: 13px; color: var(--c-text-muted);
  margin: 0; line-height: 1.45;
}
.gem-perk__code-row {
  display: flex; align-items: center; gap: 8px;
  margin-top: 6px;
}
.gem-perk__code {
  background: var(--c-surface);
  border: 1px dashed var(--c-premium);
  color: var(--c-premium);
  font-family: "SF Mono", ui-monospace, Consolas, monospace;
  font-size: 12.5px; font-weight: 700;
  padding: 7px 10px; border-radius: 6px;
  letter-spacing: 0.4px;
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gem-perk__copy {
  background: var(--c-premium); color: #fff;
  border: 0;
  padding: 7px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: inherit;
  transition: background 0.15s ease;
}
.gem-perk__copy:hover { background: var(--c-premium-hover); }
.gem-perk__activate {
  background: var(--c-premium); color: #fff !important;
  text-decoration: none !important;
  padding: 8px 12px; border-radius: 6px;
  font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
  flex: 1; justify-content: center;
  transition: background 0.15s ease;
}
.gem-perk__activate:hover { background: var(--c-premium-hover); }


/* Long discount codes wrap onto their own line on phones */
@media (max-width: 540px) {
  .gem-perk__code-row {
    flex-wrap: wrap;
  }
  .gem-perk__code {
    width: 100%;
    white-space: normal;      /* Allow the code to wrap if needed */
    word-break: break-all;    /* Break long unbroken strings */
  }
  .gem-perk__copy,
  .gem-perk__activate {
    flex: 1;
  }
}

/* ============================================================
   EXTRAS / BETA / QUIET (dashboard tail)
   ============================================================ */
.gem-extras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 700px) { .gem-extras { grid-template-columns: 1fr; } }

.gem-extra {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-success);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
}
.gem-extra__icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(31, 139, 59, 0.1);
  color: var(--c-success);
  display: grid; place-items: center;
  font-size: 15px; flex-shrink: 0;
}
.gem-extra__body { flex: 1; min-width: 0; }
.gem-extra__title {
  font-size: 14px; font-weight: 700;
  margin: 0 0 2px; color: var(--c-text);
}
.gem-extra__beta {
  display: inline-block;
  background: var(--c-success); color: #fff;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.5px;
  padding: 1px 6px; border-radius: 99px;
  margin-left: 6px; vertical-align: middle;
}
.gem-extra__desc {
  font-size: 12.5px; color: var(--c-text-muted);
  margin: 0; line-height: 1.4;
}
.gem-extra__link {
  font-size: 12.5px; font-weight: 700;
  color: var(--c-success) !important;
  text-decoration: none !important;
  white-space: nowrap; flex-shrink: 0;
}
.gem-extra__link:hover { text-decoration: underline !important; }
.gem-extra__link i { font-size: 10px; margin-left: 3px; }

.gem-quiet {
  background: transparent;
  border: 1px dashed var(--c-border);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: 14px;
}
.gem-quiet__body {
  display: flex; align-items: center; gap: 12px; min-width: 0;
}
.gem-quiet__icon { color: var(--c-text-subtle); font-size: 16px; }
.gem-quiet__text { font-size: 13.5px; color: var(--c-text-muted); }
.gem-quiet__text b { color: var(--c-text); font-weight: 700; }
.gem-quiet__link {
  font-size: 13px; font-weight: 700;
  color: var(--c-brand) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.gem-quiet__link:hover { text-decoration: underline !important; }
.gem-quiet__link i { font-size: 10px; margin-left: 4px; }

@media (max-width: 540px) {
  .gem-quiet {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .gem-quiet__link {
    white-space: normal;
  }
}

/* ============================================================
   Account utility
   ============================================================ */

.gem-account-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--c-border);
  flex-wrap: wrap;
}
.gem-account-link {
  font-size: 13px;
  color: var(--c-text-muted) !important;
  text-decoration: none !important;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}
.gem-account-link:hover {
  color: var(--c-brand) !important;
  background: var(--c-surface-alt);
}
.gem-account-link--logout:hover {
  color: var(--c-danger) !important;
}
.gem-account-link i { font-size: 12px; }

/* ============================================================
   UPGRADE HERO (used by free members and non-members)
   ============================================================ */
.gem-up-hero {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-premium);
  border-radius: 10px;
  padding: 32px 36px;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.gem-up-hero__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 820px) {
  .gem-up-hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .gem-up-hero { padding: 24px; }
}

.gem-up-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--c-premium-tint);
  color: var(--c-premium);
  border: 1px solid var(--c-premium-tint-2);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 99px;
  margin-bottom: 14px;
}
.gem-up-hero__eyebrow i { color: var(--c-premium); }

.gem-up-hero__title {
  font-size: 30px; font-weight: 700;
  line-height: 1.2; margin: 0 0 12px;
  letter-spacing: -0.015em; color: var(--c-text);
}
.gem-up-hero__sub {
  font-size: 15.5px; color: var(--c-text-muted);
  margin: 0; max-width: 48ch;
}
.gem-up-hero__sub b { color: var(--c-text); font-weight: 700; }

.gem-up-hero__bullets {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; gap: 8px;
}
.gem-up-hero__bullets li {
  font-size: 14.5px; color: var(--c-text);
  display: flex; align-items: center; gap: 10px;
}
.gem-up-hero__bullets i {
  color: var(--c-premium); font-size: 13px; width: 14px;
}

.gem-up-hero--free {
  border-top-color: var(--c-brand);
}
.gem-up-hero__eyebrow--free {
  background: var(--c-brand-08);
  color: var(--c-brand);
  border-color: var(--c-brand-12);
}
.gem-up-hero__eyebrow--free i { color: var(--c-brand); }


/* ============================================================
   PRICE CARD
   ============================================================ */
.gem-up-price {
  background: var(--c-surface-alt);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  border-radius: 10px;
  padding: 22px 22px 20px;
  position: relative;
}
.gem-up-price__tag {
  position: absolute; top: -11px; left: 22px;
  background: var(--c-premium); color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px;
  box-shadow: 0 2px 6px rgba(163, 0, 63, 0.18);
}
.gem-up-price__countdown {
  background: rgba(254, 206, 32, 0.15);
  border: 1px solid var(--c-focus);
  border-radius: 6px;
  padding: 9px 12px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: #5a3d00;
}
.gem-up-price__countdown i { color: #b48317; }
.gem-up-price__countdown b { color: #5a3d00; font-weight: 700; }
.gem-up-price__countdown-timer {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 700; color: #5a3d00;
  font-size: 13.5px;
}
.gem-up-price__label {
  font-size: 13px; font-weight: 700;
  color: var(--c-text-muted);
  margin: 0 0 4px;
  letter-spacing: 0.4px; text-transform: uppercase;
}
.gem-up-price__row {
  display: flex; align-items: baseline; gap: 10px;
}
.gem-up-price__main {
  font-size: 40px; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-premium);
  line-height: 1;
}
.gem-up-price__main-sub {
  font-size: 14px;
  color: var(--c-text-muted);
  font-weight: 600;
  margin-left: 2px;
}
.gem-up-price__strike {
  font-size: 18px; color: var(--c-text-subtle);
  text-decoration: line-through; font-weight: 500;
}
.gem-up-price__period {
  font-size: 14px; color: var(--c-text-muted);
  margin: 6px 0 0;
}
.gem-up-price__note {
  font-size: 13.5px; color: var(--c-text-muted);
  margin: 4px 0 16px;
}
.gem-up-price__note b { color: var(--c-text); font-weight: 700; }

.gem-up-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%;
  background: var(--c-premium); color: #fff !important;
  border: 0;
  padding: 13px 18px;
  font-size: 15px; font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.1s ease;
  font-family: inherit;
  margin-bottom: 10px;
}
.gem-up-btn:hover { background: var(--c-premium-hover); }
.gem-up-btn:active { transform: translateY(1px); }
.gem-up-btn i { color: var(--c-focus); }

.gem-up-price__fine {
  font-size: 12.5px; color: var(--c-text-subtle);
  margin: 10px 0 0; text-align: center;
}


/* ============================================================
   PROOF STRIP (below upgrade hero)
   ============================================================ */
.gem-up-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin: 20px 0 0;
}
@media (max-width: 700px) { .gem-up-proof { grid-template-columns: 1fr; } }
.gem-up-proof__item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.gem-up-proof__num {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1;
  color: var(--c-brand);
}
.gem-up-proof__text {
  font-size: 13px; color: var(--c-text-muted); line-height: 1.35;
}
.gem-up-proof__text b {
  display: block; font-weight: 700; color: var(--c-text);
}


/* ============================================================
   UPGRADE PAGE â€” body sections
   ============================================================ */
.gem-up-section { margin-top: 44px; }
.gem-up-section__head { margin-bottom: 20px; }
.gem-up-section__eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--c-premium);
  margin: 0 0 6px;
}
.gem-up-section__title {
  font-size: 22px; font-weight: 700;
  margin: 0 0 6px; letter-spacing: -0.015em;
  color: var(--c-text);
}
.gem-up-section__lede {
  font-size: 15px; color: var(--c-text-muted);
  margin: 0; max-width: 60ch;
}

.gem-up-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 820px) { .gem-up-perks-grid { grid-template-columns: 1fr; } }

.gem-up-perk {
  background: var(--c-surface);
  border: 1px solid var(--c-premium-12);
  border-top: 3px solid var(--c-premium);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.gem-up-perk__label {
  display: inline-block;
  background: var(--c-premium-tint);
  border: 1px solid var(--c-premium-tint-2);
  color: var(--c-premium);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 99px;
  margin-bottom: 10px;
}
.gem-up-perk__title {
  font-size: 16px; font-weight: 700;
  margin: 0 0 6px; color: var(--c-text);
}
.gem-up-perk__desc {
  font-size: 13.5px; color: var(--c-text-muted);
  margin: 0 0 10px; line-height: 1.5;
}
.gem-up-perk__value {
  font-size: 12.5px; color: var(--c-text-muted);
  border-top: 1px dashed var(--c-border);
  padding-top: 10px; margin: 0;
}
.gem-up-perk__value b { color: var(--c-text); font-weight: 700; }



/* ============================================================
   FINAL CTA
   ============================================================ */
.gem-up-final {
  background: linear-gradient(135deg, var(--c-premium) 0%, var(--c-premium-hover) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 30px 36px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 4px 14px rgba(163, 0, 63, 0.12);
}
.gem-up-final h3 {
  font-size: 22px; font-weight: 700;
  margin: 0 0 8px; letter-spacing: -0.01em;
}
.gem-up-final p {
  font-size: 15px; opacity: 0.9; margin: 0 0 20px;
}
.gem-up-final .gem-up-btn {
  display: inline-flex; width: auto; min-width: 280px;
  background: var(--c-focus); color: var(--c-text) !important;
  font-size: 16px; padding: 14px 28px;
}
.gem-up-final .gem-up-btn i { color: var(--c-premium); }
.gem-up-final .gem-up-btn:hover { background: #f5c810; }
.gem-up-final__fine {
  font-size: 12px; opacity: 0.75; margin-top: 18px;
}


/* ============================================================
   NON-MEMBER (signup) view â€” Free vs Premium split
   ============================================================ */
.gem-nm-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 820px) {
  .gem-nm-split { grid-template-columns: 1fr; }
}

.gem-nm-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 24px;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.gem-nm-card--free {
  border-top: 3px solid var(--c-brand);
}
.gem-nm-card--prem {
  border-top: 3px solid var(--c-premium);
  background: linear-gradient(180deg, #fff 0%, rgba(163, 0, 63, 0.015) 100%);
  position: relative;
}
.gem-nm-card__tag {
  position: absolute; top: -11px; right: 22px;
  background: var(--c-premium); color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px;
}
.gem-nm-card__label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  margin: 0 0 4px;
}
.gem-nm-card--free .gem-nm-card__label { color: var(--c-brand); }
.gem-nm-card--prem .gem-nm-card__label { color: var(--c-premium); }
.gem-nm-card__title {
  font-size: 22px; font-weight: 700;
  margin: 0 0 6px; color: var(--c-text);
  letter-spacing: -0.015em;
}
.gem-nm-card__sub {
  font-size: 14px; color: var(--c-text-muted);
  margin: 0 0 16px; line-height: 1.5;
}
.gem-nm-card__sub b { color: var(--c-text); font-weight: 700; }

.gem-nm-price-row {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 4px;
}
.gem-nm-price {
  font-size: 32px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1;
}
.gem-nm-card--free .gem-nm-price { color: var(--c-brand); }
.gem-nm-card--prem .gem-nm-price { color: var(--c-premium); }
.gem-nm-price-sub {
  font-size: 13px;
  color: var(--c-text-muted);
  font-weight: 600;
}
.gem-nm-price-note {
  font-size: 12.5px; color: var(--c-text-muted);
  margin: 0 0 16px;
}
.gem-nm-price-note b { color: var(--c-text); font-weight: 700; }

.gem-nm-feature-list {
  list-style: none; padding: 0;
  margin: 0 0 18px;
  display: grid; gap: 7px;
  font-size: 13.5px; color: var(--c-text);
}
.gem-nm-feature-list li {
  display: flex; align-items: flex-start; gap: 9px;
  line-height: 1.45;
}
.gem-nm-feature-list i {
  font-size: 11px; margin-top: 4px; width: 12px;
  flex-shrink: 0;
}
.gem-nm-card--free .gem-nm-feature-list i { color: var(--c-brand); }
.gem-nm-card--prem .gem-nm-feature-list i { color: var(--c-premium); }

.gem-nm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%;
  padding: 13px 18px;
  font-size: 15px; font-weight: 700;
  border-radius: 8px; border: 0;
  cursor: pointer;
  text-decoration: none !important;
  margin-top: auto;
  font-family: inherit;
  transition: background 0.15s ease;
}
.gem-nm-btn--free {
  background: var(--c-brand); color: #fff !important;
}
.gem-nm-btn--free:hover { background: var(--c-brand-hover); }
.gem-nm-btn--prem {
  background: var(--c-premium); color: #fff !important;
}
.gem-nm-btn--prem:hover { background: var(--c-premium-hover); }
.gem-nm-btn--prem i { color: var(--c-focus); }

.gem-nm-login {
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  color: var(--c-text-muted);
}
.gem-nm-login a {
  color: var(--c-brand) !important;
  font-weight: 700;
  cursor: pointer;
}
.gem-nm-login a:hover { text-decoration: underline; }

/* ============================================================
   FontAwesome SVG override fixes
   FontAwesome auto-replaces i with svg  path fill="currentColor">.
   These rules force the right colour directly on the path,
   bypassing the currentColor chain.
   ============================================================ */

/* Yellow crown on wine buttons */
.gem-up-btn svg path,
.gem-nm-btn--prem svg path,
.gem-strip__badge svg path {
  fill: var(--c-focus) !important;
}

/* White icon on navy free buttons */
.gem-nm-btn--free svg path,
.gem-up-btn[style*="--c-brand"] svg path {
  fill: #fff !important;
}

/* Wine crown on gold final-CTA button */
.gem-up-final .gem-up-btn svg path {
  fill: var(--c-premium) !important;
}

/* Yellow icon on the perk-row "Activate trial" button */
.gem-perk__activate svg path {
  fill: var(--c-focus) !important;
}


/* ============================================================
   STATE switching â€” JS reveals one hero, hides the others
   ============================================================ */
.gem-up-state { display: none; }
.gem-up-state.is-active { display: block; }



/* Favourites action buttons - sit inline on the right of each row */
.fav-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.fav-row > a {
  flex: 1 1 auto;
  min-width: 0;  /* allow content to shrink properly */
}

.fav-actions {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0 0.8em;
  flex-shrink: 0;
}

.fav-entered {
  background: #fff;
  color: #254e71;
  border: 2px solid #254e71;
  border-radius: 4px;
  padding: 0.45em 0.85em;
  font-size: 0.85em;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.fav-entered:hover {
  background: #254e71;
  color: #fff;
}

.fav-entered.is-entered {
  background: #2e7d32;
  color: #fff;
  border-color: #2e7d32;
  padding: 0.45em 0.7em;  /* slightly tighter when showing just the checkmark */
}

.fav-entered.is-entered:hover {
  background: #1b5e20;
  border-color: #1b5e20;
}

.fav-remove {
  background: transparent;
  color: #999;
  border: none;
  padding: 0.4em;
  cursor: pointer;
  font-size: 1.05em;
  transition: color 0.15s ease;
}

.fav-remove:hover {
  color: #A3003F;
}

/* Mobile: stack the action buttons below the row content */
@media (max-width: 720px) {
  .fav-row {
    flex-wrap: wrap;
  }
  .fav-row > a {
    flex: 1 1 100%;
  }
  .fav-actions {
    width: 100%;
    justify-content: flex-end;
    padding: 0.5em 0.8em 0.8em;
    border-top: 1px solid #eee;
    box-sizing: border-box;
  }
  
  /* Slightly tighter buttons on mobile so they don't overflow */
  .fav-entered {
    padding: 0.4em 0.7em;
    font-size: 0.8em;
  }
  .fav-remove {
    padding: 0.3em 0.4em;
    font-size: 1em;
  }
}

.favs-empty-state {
  text-align: center;
  padding: 2.5em 1.5em;
  background: #f7f9fb;
  border-radius: 8px;
  border: 1px dashed #d4dde5;
  margin: 1em 0 2em;
}

.favs-empty-icon {
  font-size: 3em;
  color: #A3003F;
  opacity: 0.7;
  margin-bottom: 0.5em;
}

.favs-empty-title {
  margin: 0 0 0.5em;
  color: #254e71;
  font-size: 1.3em;
}

.favs-empty-lead {
  max-width: 480px;
  margin: 0 auto 1.5em;
  color: #555;
  line-height: 1.5;
}

.favs-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7em;
  margin: 0 0 1.5em;
}

.favs-empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.2em;
  border-radius: 4px;
  font-size: 0.95em;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.favs-empty-cta--primary {
  background: #254e71;
  color: #fff;
  border: 2px solid #254e71;
}

.favs-empty-cta--primary:hover {
  background: #1d3d59;
  border-color: #1d3d59;
  color: #fff;
  text-decoration: none;
}

.favs-empty-tip {
  font-size: 0.85em;
  color: #777;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.5;
}

.favs-stats {
  background: #f7f9fb;
  padding: 0.7em 1em;
  border-radius: 6px;
  margin: 0 0 1em;
  border-left: 4px solid #254e71;
}

.favs-stats-line {
  margin: 0;
  font-size: 0.95em;
  color: #1a2a3a;
  font-weight: 500;
}

.favs-stats-line span {
  font-weight: 700;
  color: #254e71;
}

.fav-controls {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 1.5em;
  padding: 0.6em 0.9em;
  background: #f7f9fb;
  border-radius: 6px;
  flex-wrap: wrap;
}

.fav-sort-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  color: #254e71;
  font-size: 0.95em;
  margin: 0;
}

.fav-sort-label i {
  opacity: 0.7;
  font-size: 0.9em;
}

.fav-sort-select {
  font-family: inherit;
  font-size: 0.92em;
  font-weight: 500;
  padding: 0.5em 2.2em 0.5em 0.9em;
  border: 1.5px solid #d4dde5;
  border-radius: 4px;
  background-color: #fff;
  color: #1a2a3a;
  cursor: pointer;
  
  /* Custom dropdown arrow */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23254e71' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7em center;
  background-size: 10px;
  
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fav-sort-select:hover {
  border-color: #254e71;
}

.fav-sort-select:focus {
  outline: none;
  border-color: #254e71;
  box-shadow: 0 0 0 3px rgba(37, 78, 113, 0.15);
}

/* Mobile: full width on narrow screens */
@media (max-width: 480px) {
  .fav-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  .fav-sort-select {
    width: 100%;
  }
}


/* =====================================================================
   From the members area page (/members/members-area.htm), Nov 2026.
   These three blocks were inline in the page; they come after the rules
   above, as they did before, so the page looks the same.
   ===================================================================== */
/* Profile-completion prompt card (shown only when profile is incomplete) */
.gem-profile-card {
    display: none;                 /* JS reveals when profile incomplete */
    align-items: center;
    gap: 16px;
    background: #f4f7fa;
    border: 1px solid #d8e2ec;
    border-left: 4px solid var(--c-brand);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 0 0 20px;
}
.gem-profile-card.is-visible { display: flex; }
.gem-profile-card__icon {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--c-brand); color: #fff;
    border-radius: 50%; font-size: 1.2em;
}
.gem-profile-card__body { flex: 1 1 auto; min-width: 0; }
.gem-profile-card__title {
    margin: 0 0 3px; font-size: 1.02em; font-weight: 700; color: var(--c-brand);
}
.gem-profile-card__text { margin: 0; font-size: 0.9em; color: #5b6b7a; line-height: 1.5; }
.gem-profile-card__cta {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--c-brand); color: #fff; text-decoration: none;
    border-radius: 8px; font-weight: 700; font-size: 0.92em;
    padding: 10px 18px; transition: background 0.15s ease;
    white-space: nowrap;
}

.gem-profile-card .gem-profile-card__cta,
.gem-profile-card a.gem-profile-card__cta {
    color: #fff !important;
}
.gem-profile-card__cta:hover,
.gem-profile-card a.gem-profile-card__cta:hover {
    color: #fff !important;
    background: #1c3d59;
}

.gem-profile-card__cta:hover { background: #1c3d59; }
@media (max-width: 560px) {
    .gem-profile-card { flex-direction: column; align-items: flex-start; text-align: left; }
    .gem-profile-card__cta { width: 100%; justify-content: center; }
}

.gem-free-tools { margin-top: 8px; margin-bottom: 28px; opacity: 0.95; }
.gem-free-tools__note { font-size: 1.1em; font-weight: 400; color: #8a98a6; text-transform: none; letter-spacing: 0; }
.gem-free-tools__cap { color: var(--c-brand); font-weight: 600; }
.gem-tiles-secondary--more { margin-top: 12px; }
@media (min-width: 821px) { .gem-tiles-secondary--four { grid-template-columns: repeat(4, 1fr); } }

.gem-offer-badge {
    display: none;                 /* JS reveals only when enabled + in date */
    background: #FFF4D6;
    border: 1px solid var(--c-focus);
    border-radius: 8px;
    padding: 9px 12px;
    margin: 12px 0 12px;
}
.gem-offer-badge.is-visible { display: block; }
.gem-offer-badge__main {
    font-size: 0.86em;
    font-weight: 600;
    color: var(--c-premium);
    line-height: 1.4;
}
.gem-offer-badge__main i { margin-right: 4px; }
.gem-offer-badge__code {
    font-weight: 700;
    letter-spacing: 0.5px;
}
.gem-offer-badge__urgency {
    font-size: 0.78em;
    font-weight: 600;
    color: var(--c-premium);
    margin-top: 2px;
}
.gem-offer-badge__urgency i { margin-right: 3px; }

/* Premium explainer video (free members) */
.gem-video {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    background: #fff;
    border: 1px solid #d8e2ec;
    border-radius: 12px;
    padding: 20px;
    margin: 28px 0;
    box-shadow: 0 4px 16px rgba(37, 78, 113, 0.07);
}
.gem-video__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #0f2233;
}
.gem-video__thumb {
    position: absolute;
    inset: 0;
    display: block;
    cursor: pointer;
}
.gem-video__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.gem-video__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,34,51,0) 45%, rgba(15,34,51,0.45) 100%);
    transition: background 0.2s ease;
}
.gem-video__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--c-brand);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6em;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.gem-video__play i { margin-left: 5px; }   /* optical centring of the triangle */
.gem-video__thumb:hover img { transform: scale(1.03); }
.gem-video__thumb:hover .gem-video__play,
.gem-video__thumb:focus-visible .gem-video__play {
    transform: translate(-50%, -50%) scale(1.08);
    background: var(--c-brand);
    color: #fff;
}
.gem-video__thumb:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; }
.gem-video__frame iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.gem-video__eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.78em; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--c-premium);
    margin: 0 0 8px;
}
.gem-video__title {
    margin: 0 0 8px;
    font-size: 1.35em; font-weight: 700;
    color: var(--c-brand); line-height: 1.25;
}
.gem-video__text {
    margin: 0 0 14px;
    font-size: 0.95em; color: #5b6b7a; line-height: 1.55;
}
.gem-video__link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.9em; font-weight: 600;
    color: var(--c-brand); text-decoration: none;
}
.gem-video__link:hover { text-decoration: underline; }
@media (max-width: 720px) {
    .gem-video { grid-template-columns: 1fr; gap: 16px; padding: 14px; }
    .gem-video__play { width: 60px; height: 60px; font-size: 1.35em; }
}

/* ELG Golf partner perk card */
.gem-elg {
    background: #fff;
    border: 1px solid #d8e2ec;
    border-radius: 12px;
    overflow: hidden;
    margin: 22px 0 0;
    box-shadow: 0 4px 16px rgba(37, 78, 113, 0.07);
}
.gem-elg__media {
    position: relative;
    aspect-ratio: 960 / 374;
    max-height: 240px;
    width: 100%;
    background: #0f2233;
}
.gem-elg__banner {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.gem-elg__logo {
    position: absolute;
    left: 18px; bottom: -28px;
    width: 72px; height: 72px;
    border-radius: 12px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    background: #000;
}
.gem-elg__tag {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--c-focus); color: var(--c-text);
    font-weight: 700; font-size: 0.85em;
    letter-spacing: 0.04em;
    border-radius: 6px;
    padding: 6px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.gem-elg__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
    gap: 24px;
    align-items: center;
    padding: 40px 22px 20px;
}
.gem-elg__eyebrow {
    margin: 0 0 6px;
    font-size: 0.75em; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--c-premium);
}
.gem-elg__title { margin: 0 0 6px; font-size: 1.2em; font-weight: 700; color: var(--c-brand); line-height: 1.3; }
.gem-elg__desc  { margin: 0 0 8px; font-size: 0.92em; color: #5b6b7a; line-height: 1.55; }
.gem-elg__fine  { margin: 0; font-size: 0.78em; color: #8a98a6; line-height: 1.45; }

.gem-elg__action { display: flex; flex-direction: column; gap: 10px; }
.gem-elg__code-row {
    display: flex; align-items: stretch;
    border: 2px dashed var(--c-brand); border-radius: 8px;
    overflow: hidden; background: #f4f7fa;
}
.gem-elg__code {
    flex: 1 1 auto;
    display: flex; align-items: center; justify-content: center;
    padding: 10px 14px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 1.1em; font-weight: 700; letter-spacing: 0.12em;
    color: var(--c-brand);
}
.gem-elg__copy {
    border: 0; background: var(--c-brand); color: #fff;
    font-family: inherit; font-size: 0.85em; font-weight: 700;
    padding: 0 14px; cursor: pointer; white-space: nowrap;
    transition: background 0.15s ease;
}
.gem-elg__copy:hover { background: #1c3d59; }

.gem-elg__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 16px; border-radius: 8px;
    font-family: inherit; font-size: 0.92em; font-weight: 700;
    text-decoration: none; cursor: pointer;
    transition: background 0.15s ease;
}
.gem-elg a.gem-elg__btn--shop { background: #fff; color: var(--c-brand) !important; border: 1.5px solid var(--c-brand); }
.gem-elg a.gem-elg__btn--shop:hover { background: #f4f7fa; }
.gem-elg a.gem-elg__btn--upgrade { background: var(--c-premium); color: #fff !important; border: 0; }
.gem-elg a.gem-elg__btn--upgrade:hover { background: #85002f; }
.gem-elg__note { margin: 0; font-size: 0.78em; color: #8a98a6; text-align: center; }

@media (max-width: 720px) {
    .gem-elg__logo { width: 60px; height: 60px; bottom: -24px; }
    .gem-elg__content { grid-template-columns: 1fr; gap: 14px; padding: 36px 16px 16px; }
}

/* Perk cards: "More info" opens in place instead of leaving the page */
.gem-perk__more { padding-top: 4px; }
.gem-up-perk .gem-perk__more { padding-top: 10px; }
.gem-perk__more > summary {
    list-style: none; cursor: pointer;
    font-size: 12.5px; font-weight: 700; color: var(--c-premium);
    display: inline-flex; align-items: center; gap: 5px;
}
.gem-perk__more > summary::-webkit-details-marker { display: none; }
.gem-perk__more > summary i { font-size: 10px; transition: transform .15s ease; }
.gem-perk__more[open] > summary i { transform: rotate(180deg); }
.gem-perk__more > summary:hover { text-decoration: underline; }
.gem-perk__more-body { margin-top: 8px; font-size: 12.5px; color: var(--c-text-muted); line-height: 1.5; }
:is(.gem-perk, .gem-up-perk) .gem-perk__more-body p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.5; }
.gem-perk__more-body p:last-child { margin-bottom: 0; }
.gem-perk__more-body a { color: var(--c-premium) !important; font-weight: 600; text-decoration: underline; }
:is(.gem-perk, .gem-up-perk) .gem-perk__more-body p.gem-perk__fine { font-size: 11.5px; color: #8a98a6; }

/* ============================================================
   Members strip (Nov 2026): one design for free and Premium,
   with the member's numbers and a profile nudge
   ============================================================ */
.gem-strip { margin-bottom: 22px; }
.gem-strip__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.gem-strip__status { margin: 4px 0 0; font-size: 13.5px; color: rgba(255,255,255,.85); }
.gem-strip__status b { color: #fff; }
.gem-strip__badge--free { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); }
.gem-strip__badge--free i { color: #fff !important; }
.gem-strip__go { display: inline-flex; align-items: center; gap: 6px; background: var(--c-premium); color: var(--c-focus) !important; font-size: 13px; font-weight: 700;
  padding: 7px 13px; border-radius: 8px; text-decoration: none !important; white-space: nowrap; }
.gem-strip__go:hover { background: #8a0035; }
.gem-strip__stats { flex: 1 1 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  border-top: 1px solid rgba(255,255,255,.16); padding-top: 16px; margin-top: 2px; }
.gem-strip__stats[hidden] { display: none; }
.gem-stat { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,.07);
  color: #fff !important; text-decoration: none !important; transition: background .15s ease; }
.gem-stat:hover { background: rgba(255,255,255,.14); }
.gem-stat__n { font-size: 24px; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
.gem-stat__n small { font-size: 13px; font-weight: 600; opacity: .7; margin-left: 2px; }
.gem-stat__l { font-size: 11.5px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: rgba(255,255,255,.72); }
.gem-stat.is-empty .gem-stat__n { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--c-focus); }
.gem-stat.is-empty .gem-stat__n::after { content: " \2192"; }
.gem-stat__bar { display: block; height: 4px; border-radius: 9px; background: rgba(255,255,255,.18); margin-top: 5px; overflow: hidden; }
.gem-stat__bar i { display: block; height: 100%; width: 0; background: var(--c-focus); border-radius: 9px; transition: width .4s ease; }
.gem-stat.is-full .gem-stat__bar i { background: #ff8fb3; }
.gem-strip__limit { flex: 1 1 100%; margin: -4px 0 0; font-size: 13px; color: rgba(255,255,255,.9); }
.gem-strip__limit[hidden] { display: none; }
.gem-strip__limit a { color: var(--c-focus) !important; font-weight: 700; }
.gem-strip__nudge { flex: 1 1 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px;
  background: rgba(254,206,32,.12); border: 1px solid rgba(254,206,32,.35); color: #fff !important; text-decoration: none !important; font-size: 13.5px; }
.gem-strip__nudge[hidden] { display: none; }
.gem-strip__nudge:hover { background: rgba(254,206,32,.2); }
.gem-strip__nudge-text { flex: 1 1 auto; min-width: 0; }
.gem-strip__nudge-text b { color: var(--c-focus); }
.gem-strip__nudge-text span { color: rgba(255,255,255,.8); }
.gem-strip__nudge-bar { flex: 0 0 110px; height: 6px; border-radius: 9px; background: rgba(255,255,255,.18); overflow: hidden; }
.gem-strip__nudge-bar i { display: block; height: 100%; width: 0; background: var(--c-focus); border-radius: 9px; }
@media (max-width: 640px) {
  .gem-strip__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gem-strip--free .gem-strip__right { flex-direction: row !important; align-items: center !important; gap: 10px; }
  .gem-strip__nudge { flex-direction: column; align-items: stretch; gap: 8px; }
  .gem-strip__nudge-bar { flex-basis: auto; }
}

/* playrr: wide card across both columns of Explore More */
.gem-extra.gem-extra--wide { grid-column: 1 / -1; align-items: flex-start; }
.gem-extra--wide .gem-extra__desc { font-size: 13px; line-height: 1.5; }
.gem-extra__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.gem-extra__chips li { font-size: 11.5px; font-weight: 600; color: var(--c-brand); background: #eef3f8; border-radius: 99px; padding: 3px 10px; }
.gem-extra__fine { margin: 10px 0 0; font-size: 12px; color: #6b7a88; }
.gem-extra__fine a { color: var(--c-brand) !important; font-weight: 600; text-decoration: underline; }
@media (max-width: 700px) {
    .gem-extra.gem-extra--wide { flex-wrap: wrap; }
    .gem-extra--wide .gem-extra__body { flex-basis: calc(100% - 52px); }
    .gem-extra--wide .gem-extra__link { margin-left: 52px; }
}

/* ELG slim strip (logged-out view) */
.gem-elg-strip {
    display: flex; align-items: center; gap: 16px;
    background: #fff;
    border: 1px solid #d8e2ec;
    border-left: 4px solid var(--c-focus);
    border-radius: 10px;
    padding: 14px 18px;
    margin: 20px 0 0;
}
.gem-elg-strip__logo { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 8px; background: #000; }
.gem-elg-strip__text { flex: 1 1 auto; margin: 0; font-size: 0.95em; color: var(--c-text); line-height: 1.45; }
.gem-elg-strip__text b { color: var(--c-brand); }
.gem-elg-strip__fine { display: block; font-size: 0.8em; color: #8a98a6; margin-top: 2px; }
.gem-elg-strip a.gem-elg-strip__btn {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--c-premium); color: #fff !important;
    border-radius: 8px; padding: 10px 16px;
    font-weight: 700; font-size: 0.9em;
    text-decoration: none; cursor: pointer; white-space: nowrap;
}
.gem-elg-strip a.gem-elg-strip__btn:hover { background: #85002f; }
@media (max-width: 560px) {
    .gem-elg-strip { flex-wrap: wrap; }
    .gem-elg-strip__text { flex-basis: calc(100% - 64px); }
    .gem-elg-strip a.gem-elg-strip__btn { width: 100%; justify-content: center; }
}


/* "Keep track" tiles: two across on desktop (was inline in the section) */
@media (min-width: 821px) { .gem-tiles-primary--four { grid-template-columns: repeat(2, 1fr); } }

/* ---- Newsletter consent modal (was inline above its markup) ---- */
.ge-consent-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;            /* above the alerts pop-up (9998/9999) */
    opacity: 0;
    transition: opacity 0.2s ease;
}
.ge-consent-backdrop.is-visible { display: block; opacity: 1; }

.ge-consent {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    z-index: 10001;
    width: calc(100% - 32px);
    max-width: 460px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}
.ge-consent, .ge-consent * { box-sizing: border-box; }
.ge-consent.is-visible {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.ge-consent__header {
    background: var(--c-brand);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 20px 24px 16px;
    position: relative;
}
.ge-consent__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    font-size: 1.25em;
    margin-bottom: 10px;
}
.ge-consent__title {
    margin: 0;
    font-size: 1.35em;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.ge-consent__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    font-size: 1.4em;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    font-family: inherit;
}
.ge-consent__close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
}
.ge-consent__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.ge-consent__body {
    padding: 18px 24px 8px;
    color: var(--c-text);
    font-size: 0.95em;
    line-height: 1.55;
}
.ge-consent__body p { margin: 0 0 12px; }

.ge-consent__optin {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f4f7fa;
    border: 1px solid #d8e2ec;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 4px 0 6px;
    cursor: pointer;
}
.ge-consent__optin input[type=checkbox] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: var(--c-brand);
    cursor: pointer;
}
.ge-consent__optin-text {
    font-size: 0.92em;
    color: var(--c-text);
    line-height: 1.5;
}
.ge-consent__optin-text b { color: var(--c-brand); }

.ge-consent__fine {
    font-size: 0.8em;
    color: var(--c-text-muted);
    margin: 10px 0 0;
}
.ge-consent__fine a { color: var(--c-brand); text-decoration: underline; }

.ge-consent__actions {
    display: flex;
    gap: 10px;
    padding: 14px 24px 18px;
    flex-wrap: wrap;
}
.ge-consent__cta {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--c-brand);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95em;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}
.ge-consent__cta:hover { background: #1c3d59; }
.ge-consent__cta:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.ge-consent__cta[disabled] { opacity: 0.6; cursor: default; }

.ge-consent__decline {
    flex: 0 0 auto;
    padding: 12px 18px;
    background: transparent;
    color: var(--c-text-muted);
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.ge-consent__decline:hover { background: #f9fafb; border-color: #9ca3af; }

@media (max-width: 480px) {
    .ge-consent__header { padding: 16px 18px 13px; }
    .ge-consent__body { padding: 14px 18px 6px; }
    .ge-consent__actions { padding: 12px 18px 14px; flex-direction: column; }
    .ge-consent__cta, .ge-consent__decline { width: 100%; }
    .ge-consent__icon { width: 38px; height: 38px; font-size: 1.05em; margin-bottom: 8px; }
    .ge-consent__title { font-size: 1.18em; }
}

@media (prefers-reduced-motion: reduce) {
    .ge-consent, .ge-consent-backdrop { transition: opacity 0.2s ease; }
    .ge-consent.is-visible { transform: translate(-50%, -50%); }
}

/* ---- Free vs Premium table extras (was inline in /includes/content/compare-table.php).
        It printed its styles only once, inside the free-member upgrade view, so guests
        (whose page doesn't contain that view) got an unstyled table. ---- */
.gem-up-compare-row--group > div { background: var(--c-surface-alt); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-muted); padding: 9px 18px; }
.gem-up-compare-row--group > div + div { border-left: 0; }
.gem-up-compare .gem-up-compare-row--head > div { background: var(--c-brand, #254e71); color: #fff; font-weight: 700; border-color: rgba(255,255,255,.15); }
.gem-up-compare .gem-up-compare-row--head > .gem-col-prem { background: var(--c-premium, #A3003F); color: #fff; }
.gem-up-compare .gem-up-compare-row--head .fa-crown { color: var(--c-focus) !important; }
.gem-up-compare-row .gem-val { font-size: 13px; font-weight: 600; color: var(--c-text); text-align: center; line-height: 1.35; }
.gem-up-compare-row .gem-col-prem .gem-val { color: var(--c-premium); }
.gem-up-compare-row .gem-sub { display: block; font-size: 12px; color: var(--c-text-muted); font-weight: 400; margin-top: 2px; }

#compare { scroll-margin-top: 90px; }

/* =====================================================================
   Members area on the hub layout (Nov 2026): wide, white cards on the grey
   page, the navy hero beside the offer / subscription / sign-up card
   (rh-top, rh-cols, rh-card, rh-head from ge-hubs.css). ma-wrap is on <main>.
   ===================================================================== */
.ma-wrap .gem { margin: 0; }
.ma-wrap .rh-main { gap: 24px; }
.ma-wrap .rh-cols { margin-top: 20px; }

/* The hero: the member (avatar, badge, name), the lead, their numbers */
.ma-hero .ma-hello { display: flex; align-items: center; gap: 14px; }
.ma-hero h1 { margin: 0; }
.ma-hero .ma-kicker { margin: 0 0 6px !important; }
.ma-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ma-badge--prem { background: var(--c-premium); border-color: var(--c-premium); }
.ma-badge--prem i, .ma-badge--prem svg { color: var(--c-focus); }
.ma-hero .ge-hero__lead { margin-top: 12px; }
.ma-hero .ge-hero__lead a { color: var(--c-focus) !important; font-weight: 700; }
.ma-hero .ma-stats { margin-top: 18px; padding-top: 0; border-top: 0; }
.ma-hero .ma-limit { margin: 12px 0 0; }
.ma-hero .ma-nudge { margin-top: 12px; }
.ma-bullets li { color: #fff; }
.ma-bullets i, .ma-bullets svg { color: var(--c-focus); }

/* Beside the hero: the offer (free members), the free sign-up card (guests, account recovery) */
.ma-offer { min-width: 0; }
.ma-offer .gem-up-state.is-active, .ma-offer .gem-up-price { height: 100%; }
.ma-wrap .rh-top .gem-up-price { box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding: 26px 24px 22px;
  background: #fff; border: 1px solid #e9edf0; border-radius: 12px; }
.ma-offer .gem-up-price { border-top: 3px solid var(--c-premium); }
.gem-up-price--free { border-top: 3px solid var(--c-brand) !important; }
.gem-up-price--free .gem-up-price__label, .gem-up-price--free .gem-up-price__main { color: var(--c-brand); }
.gem-up-price--free .gem-up-btn { background: var(--c-brand); }
.gem-up-price--free .gem-up-price__fine a { color: var(--c-brand); font-weight: 700; }

/* Beside the hero: Premium members' subscription */
.ma-sub { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 20px 22px; background: #fff; border: 1px solid #e9edf0; border-radius: 12px; }
.ma-sub__kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-premium); }
.ma-sub__expiry { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; background: #f6f8fb; }
.ma-sub__label { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #6b7280; }
.ma-sub__date { font-size: 22px; font-weight: 700; line-height: 1.2; color: #254e71; }
.ma-sub__meta { font-size: 13px; color: #5b6b7a; }
.ma-sub__thanks { margin: 0; font-size: 14px; color: #33485c; }
.ma-sub__links { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid #edf1f5; }
.ma-sub__links li { border-bottom: 1px solid #edf1f5; }
.ma-sub__links a { display: flex; align-items: center; gap: 10px; padding: 9px 2px; font-size: 14.5px; font-weight: 600; color: #254e71 !important; text-decoration: none !important; }
.ma-sub__links a:hover { text-decoration: underline !important; }
.ma-sub__links i, .ma-sub__links svg { width: 16px; color: #6b7280; }
.ma-sub__links .ma-logout:hover { color: var(--c-danger, #b91c1c) !important; }

/* The cards: what used to be separate boxes now sit inside a white card, so they lose their own box */
.ma-card .gem-perks, .ma-card .gem-video { margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }
.ma-card .gem-perks__intro { margin: -2px 0 14px; }
.ma-card .gem-tiles-primary, .ma-card .gem-tiles-secondary, .ma-card .gem-extras, .ma-card .gem-up-perks-grid, .ma-card .gem-nm-split { margin: 0; }
.ma-card .gem-tiles-primary + .gem-tiles-secondary { margin-top: 12px; }
.ma-sub-h { margin: 22px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7280; }
.ma-card .ma-sub-h:first-of-type { margin-top: 0; }
.ma-lede { margin: -2px 0 14px; font-size: 14.5px; color: #5b6b7a; }
.ma-why .gem-up-hero__title { font-size: 26px; }
.ma-wrap .ma-proof { margin: 0; }
.ma-wrap .gem-up-final { margin: 0; border-radius: 12px; }
.ma-wrap .gem-elg-strip { margin: 0; }
/* Tiles: no coloured strip along the top (as the hub cards); the feature colour stays on the icon */
.ma-wrap .gem-tile { box-shadow: none; }
.ma-wrap .gem-tile:hover { box-shadow: 0 6px 18px rgba(20, 30, 50, .08); }
/* The Free vs Premium table: its heading row stays in view while you scroll down it */
.ma-wrap .gem-up-compare { overflow: visible; }
.ma-wrap .gem-up-compare-row--head { position: sticky; top: var(--ge-sticky-h, 0px); z-index: 3; }
.ma-wrap .gem-up-compare-row--head > div:first-child { border-top-left-radius: 10px; }
.ma-wrap .gem-up-compare-row--head > div:last-child { border-top-right-radius: 10px; }
.ma-wrap .gem-nm-price-strike { margin-left: 8px; color: #8a96a2; }

/* Sidebar boxes */
.ma-quiet p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: #33485c; }
.ma-quiet p:last-child { margin-bottom: 0; }
.ma-quiet a { font-weight: 700; color: #254e71 !important; }

@media (max-width: 900px) {
  .ma-offer .gem-up-state.is-active, .ma-offer .gem-up-price { height: auto; }
}
/* White icon on the navy free-plan buttons (they had an inline style before, which line 839 looked for) */
.gem-up-price--free .gem-up-btn i, .gem-up-price--free .gem-up-btn svg path { color: #fff; fill: #fff !important; }

/* Discount codes: the whole code on its own line, the Copy button under it (no "…") */
.ma-card .gem-perk__code-row { flex-wrap: wrap; }
.ma-card .gem-perk__code { flex: 1 1 100%; white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.ma-card .gem-perk__copy { flex: 1 1 100%; justify-content: center; }
/* Free vs Premium on phones: whole words, a little tighter, and the crown beside "Premium" */
.gem-up-compare-row--head .gem-col-prem { gap: 6px; }
.gem-up-compare-row--head .gem-col-prem svg, .gem-up-compare-row--head .gem-col-prem i { margin: 0 !important; flex: 0 0 auto; }
@media (max-width: 600px) {
  .gem-up-compare-row { grid-template-columns: 1.35fr 1fr 1fr; }
  .gem-up-compare-row > div { padding: 10px 8px; font-size: 13px; }
  .gem-up-compare-row .gem-val { font-size: 12px; overflow-wrap: normal; word-break: normal; hyphens: manual; }
  .gem-up-compare-row--head .gem-col-prem svg, .gem-up-compare-row--head .gem-col-prem i { display: none; }
}


/* =====================================================================
   29 Nov 2026: the hero numbers and Why Premium
   ===================================================================== */
/* An empty number (members area and My Golf): a 0 like the others, with a short prompt under the label */
.gem-stat.is-empty .gem-stat__n { font-size: 24px; font-weight: 800; line-height: 1.05; color: inherit; }
.gem-stat.is-empty .gem-stat__n::after { content: none; }
.gem-stat__go { font-size: 12.5px; font-weight: 700; color: var(--c-focus); }
.gem-stat__bar[hidden] { display: none; }

/* Why Premium: the pitch on the left, the explainer video on the right (one card, was two) */
.ma-why { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px 28px; align-items: center; }
.ma-why > .gem-up-state { grid-column: 1; grid-row: 1; }
.ma-why__video { grid-column: 2; grid-row: 1; min-width: 0; }
.ma-why__cap { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: #5b6b7a; }
.ma-why__cap i, .ma-why__cap svg { color: var(--c-premium); }
.ma-why__cap b { color: #1f2937; }
.ma-why__cap a { font-weight: 700; color: #254e71 !important; }
@media (max-width: 1100px) {
  .ma-why { grid-template-columns: minmax(0, 1fr); }
  .ma-why__video { grid-column: 1; grid-row: auto; }
}

