/* Membership page — match site tokens from global.css */
.mainContent.membership-page {
  display: block;
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 12px 56px;
  box-sizing: border-box;
}

.membership-page-title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  color: var(--page-title-color, #808080);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.membership-page-lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.45;
  color: #555;
  max-width: 42em;
}

.membership-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

.membership-col {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--section-background, #fff);
  border: 1px solid var(--note-title-color, #d3d3d3);
  border-radius: 5px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.12);
  padding: 28px 28px 32px;
  box-sizing: border-box;
}

.membership-col.is-free {
  border-top: 4px solid #333;
}

.membership-col.is-paid {
  border-top: 4px solid #c9a227;
}

.membership-col-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--note-title-color, #d3d3d3);
}

.membership-col-head img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: block;
}

.membership-col-head .titles {
  flex: 1 1 auto;
  min-width: 0;
}

.membership-col-head h2 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}

.membership-col-head .tier-tag {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--note-help_tekst-color, #aaa);
}

.membership-col ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
  font-size: 16px;
  line-height: 1.55;
  color: #555;
}

.membership-col li {
  margin-bottom: 8px;
}

.membership-col p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
  color: #555;
}

.membership-note {
  font-size: 14px !important;
  color: var(--note-help_tekst-color, #aaa) !important;
  line-height: 1.45 !important;
  margin-top: 4px !important;
}

.membership-status-block {
  margin-top: 8px;
  padding: 16px 16px 18px;
  border-radius: 4px;
  border: 1px solid var(--note-title-color, #d3d3d3);
  background: #fafafa;
}

.membership-status-block h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-title-color, #808080);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.membership-callout {
  font-size: 17px !important;
  font-weight: 600;
  line-height: 1.4 !important;
  margin-bottom: 10px !important;
}

.membership-status-block.is-active {
  background: #e8f5e9;
  border-color: #81c784;
}

.membership-status-block.is-active .membership-callout,
.membership-status-block.is-active .membership-status,
.membership-status-block.is-active .membership-status strong {
  color: #1b5e20;
}

.membership-status-block.is-eligible {
  background: #e8f5e9;
  border-color: #81c784;
}

.membership-status-block.is-eligible .membership-callout {
  color: #1b5e20;
}

.membership-status-block.is-locked {
  background: #fdecea;
  border-color: #e57373;
}

.membership-status-block.is-locked .membership-callout,
.membership-status-block.is-locked .membership-callout strong {
  color: #b71c1c;
}

.membership-status-block.is-guest {
  background: #f5f5f5;
  border-color: #ccc;
}

.membership-status {
  font-size: 17px;
  margin-bottom: 8px;
}

.membership-status strong {
  text-transform: uppercase;
  color: #222;
}

.membership-progress {
  font-size: 17px;
}

.membership-bar {
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  margin: 0 0 14px;
}

.membership-bar span {
  display: block;
  height: 100%;
  background: #c62828;
  border-radius: 5px;
  min-width: 0;
}

.membership-status-block.is-eligible .membership-bar span {
  background: #2e7d32;
}

.membership-status-block.is-locked .membership-bar span {
  background: #c62828;
}

.membership-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.membership-actions .button,
.membership-actions button.button {
  display: inline-block;
  padding: 12px 22px;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--button-color, #000);
  background: var(--button-color, #000);
  color: #fff;
  border-radius: 2px;
  font-family: inherit;
}

.membership-status-block.is-eligible .membership-actions .button,
.membership-status-block.is-eligible .membership-actions button.button {
  background: #2e7d32;
  border-color: #2e7d32;
}

.membership-status-block.is-eligible .membership-actions .button:hover,
.membership-status-block.is-eligible .membership-actions button.button:hover {
  background: #1b5e20;
  border-color: #1b5e20;
}

.membership-actions .button:hover,
.membership-actions button.button:hover {
  background: var(--button-hover, #666);
  border-color: var(--button-hover, #666);
}

.membership-coming {
  margin-top: auto;
  padding-top: 24px;
  text-align: center;
}

.membership-coming .soon-label {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6d1d;
  border: 1px solid #c9a227;
  padding: 12px 28px;
  background: #faf6e8;
}

.membership-page .reg_ok {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #1b5e20;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 600;
}

.membership-page .reg_error {
  background: #fdecea;
  border: 1px solid #e57373;
  color: #b71c1c;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
}

/* Tablet / mobile: stack, Free first, comfortable tap targets */
@media (max-width: 900px) {
  .mainContent.membership-page {
    width: 96%;
    padding: 24px 10px 48px;
  }

  .membership-grid {
    flex-direction: column;
    gap: 18px;
  }

  .membership-col {
    flex: 1 1 auto;
    width: 100%;
    padding: 22px 18px 26px;
  }

  .membership-page-title {
    font-size: 24px;
  }

  .membership-page-lead {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .membership-col-head h2 {
    font-size: 22px;
  }

  .membership-col-head img {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .membership-col ul,
  .membership-col p,
  .membership-progress,
  .membership-status,
  .membership-callout {
    font-size: 15px !important;
  }

  .membership-actions .button,
  .membership-actions button.button {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .membership-col-head {
    gap: 12px;
  }

  .membership-col-head img {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
}
