/* Cloud9Club - MemberPress Account Page Overrides v3 */
/* Paste into: Appearance > Customize > Additional CSS */

/* Main Container */
.c9-account-wrap .mepr-account-container {
  display: flex !important;
  gap: 24px !important;
  margin-top: 8px !important;
  font-family: 'DM Sans', -apple-system, sans-serif !important;
  align-items: flex-start !important;
  max-width: 100% !important;
  width: 100% !important;
}
.mepr-account-container .mp_wrapper {
  max-width: 100% !important;
  width: 100% !important;
}

/* Sidebar Nav */
#mepr-account-nav {
  background: #FFFFFF !important;
  border-radius: 12px !important;
  border: 1px solid #EEF0F4 !important;
  box-shadow: 0 1px 3px rgba(11,29,58,0.06) !important;
  padding: 8px !important;
  min-width: 210px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  align-self: flex-start !important;
}

/* Nav items */
#mepr-account-nav span.mepr-nav-item {
  display: block !important;
}
#mepr-account-nav span.mepr-nav-item a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 18px !important;
  border-radius: 8px !important;
  color: #3D4A5C !important;
  font-family: 'DM Sans', -apple-system, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  background: transparent !important;
}
#mepr-account-nav span.mepr-nav-item a:hover {
  background: #F7F8FA !important;
  color: #0B1D3A !important;
}

/* Active nav state */
#mepr-account-nav span.mepr-active-nav-tab a,
#mepr-account-nav span.mepr-nav-item.mepr-active-nav-tab a {
  background: #0B1D3A !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
}

/* Nav icons */
#mepr-account-nav span.mepr-nav-item a svg {
  width: 18px !important;
  height: 18px !important;
  opacity: 0.5 !important;
}
#mepr-account-nav span.mepr-active-nav-tab a svg {
  opacity: 1 !important;
}

/* Content Area */
#mepr-account-content {
  background: #FFFFFF !important;
  border-radius: 12px !important;
  border: 1px solid #EEF0F4 !important;
  box-shadow: 0 1px 3px rgba(11,29,58,0.06) !important;
  padding: 32px !important;
  flex: 1 !important;
  align-self: flex-start !important;
}
#mepr-account-content .mp_wrapper {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'DM Sans', -apple-system, sans-serif !important;
  color: #0B1D3A !important;
  font-size: 14px !important;
  overflow-x: auto !important;
}

/* HIDE Profile heading */
#mepr-account-content h1.mepr_page_header {
  display: none !important;
}

/* HIDE green Welcome to CLOUD9CLUB banner */
#mepr-account-content .mepr-account-message.mepr-account-welcome-message {
  display: none !important;
}

/* Section headings */
#mepr-account-content h2,
#mepr-account-content h3 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 600 !important;
  color: #0B1D3A !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}
#mepr-account-content h2 { font-size: 22px !important; }
#mepr-account-content h3 { font-size: 18px !important; }

/* Profile wrapper - remove inner box borders, let content fill the card */
#mepr-account-content .mepr-profile-wrapper {
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
#mepr-profile-details {
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
/* Remove any other nested borders */
#mepr-account-content .mepr-profile-wrapper > div,
#mepr-account-content .mp_wrapper > div:not(.mepr-account-message) {
  border: none !important;
  box-shadow: none !important;
}

/* Labels */
#mepr-account-content label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  color: #6B7890 !important;
  margin-bottom: 4px !important;
  display: block !important;
}

/* Text */
#mepr-account-content .mp_wrapper p,
#mepr-account-content p {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: #0B1D3A !important;
  line-height: 1.6 !important;
}

/* Edit pencil buttons - old generic catch removed, see profile section */

/* Submit and Save buttons */
#mepr-account-content input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  padding: 11px 24px !important;
  background: #0B1D3A !important;
  color: #FFFFFF !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
#mepr-account-content input[type="submit"]:hover {
  background: #132B52 !important;
}

/* Form inputs */
#mepr-account-content input[type="text"],
#mepr-account-content input[type="email"],
#mepr-account-content input[type="password"],
#mepr-account-content input[type="tel"],
#mepr-account-content select,
#mepr-account-content textarea {
  width: 100% !important;
  padding: 11px 14px !important;
  border: 1.5px solid #D8DCE4 !important;
  border-radius: 8px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: #0B1D3A !important;
  background: #FFFFFF !important;
  transition: border-color 0.2s ease !important;
}
#mepr-account-content input:focus,
#mepr-account-content select:focus,
#mepr-account-content textarea:focus {
  outline: none !important;
  border-color: #C8985D !important;
  box-shadow: 0 0 0 3px rgba(200,152,93,0.1) !important;
}

/* Generic content links */
#mepr-account-content .mp_wrapper a {
  color: #C8985D !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
#mepr-account-content .mp_wrapper a:hover {
  color: #0B1D3A !important;
}

/* Tables for Payments and Subscriptions pages */
#mepr-account-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-family: 'DM Sans', sans-serif !important;
}
#mepr-account-content table th {
  text-align: left !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  color: #6B7890 !important;
  padding: 12px 12px 12px 0 !important;
  border-bottom: 1px solid #EEF0F4 !important;
  background: transparent !important;
}
#mepr-account-content table td {
  padding: 14px 12px 14px 0 !important;
  font-size: 14px !important;
  color: #3D4A5C !important;
  border-bottom: 1px solid #F7F8FA !important;
}
#mepr-account-content table tr:last-child td {
  border-bottom: none !important;
}
/* Table links should be inline not button style */
#mepr-account-content table a {
  padding: 4px 0 !important;
  border: none !important;
  margin: 0 !important;
  display: inline !important;
  font-weight: 500 !important;
}

/* Hide footer widgets */
.mepr-rl-footer-widgets {
  display: none !important;
}

/* Profile details section */
#mepr-profile-details {
  padding: 0 !important;
  border: none !important;
}
.mepr-profile-details__list {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Profile field labels (dt) */
.mepr-profile-details__list dt {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  color: #6B7890 !important;
  margin-top: 20px !important;
  margin-bottom: 4px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.mepr-profile-details__list dt:first-child {
  margin-top: 0 !important;
}

/* Profile field values (dd) */
.mepr-profile-details__list dd,
dd.mepr-profile-details__content {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  color: #0B1D3A !important;
  margin: 0 0 0 0 !important;
  padding: 4px 0 16px 0 !important;
  border-bottom: 1px solid #F0F1F5 !important;
  line-height: 1.5 !important;
}
.mepr-profile-details__list dd:last-of-type {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/* Edit pencil buttons inside dt */
.mepr-profile-details__list dt button,
.mepr-profile-details__list button,
#mepr-account-content .mp_wrapper button,
#mepr-account-content button {
  background: transparent !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 4px 6px !important;
  color: #B0B8C8 !important;
  font-size: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}
.mepr-profile-details__list dt button:hover,
#mepr-account-content .mp_wrapper button:hover,
#mepr-account-content button:hover {
  color: #6B7890 !important;
  background: transparent !important;
}

/* Profile footer links (View Payments, etc.) */
ul.mepr-profile-wrapper__footer {
  list-style: none !important;
  padding: 20px 0 0 0 !important;
  margin: 20px 0 0 0 !important;
  border-top: 1px solid #EEF0F4 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
ul.mepr-profile-wrapper__footer li {
  margin: 0 !important;
}
ul.mepr-profile-wrapper__footer li a {
  color: #C8985D !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  padding: 10px 20px !important;
  border: 1.5px solid #C8985D !important;
  border-radius: 8px !important;
  display: inline-block !important;
  transition: all 0.2s ease !important;
  background: transparent !important;
  margin: 0 !important;
}
ul.mepr-profile-wrapper__footer li a:hover {
  background: #FDF8F0 !important;
  color: #0B1D3A !important;
}

/* Responsive */
@media (max-width: 768px) {
  .c9-account-wrap .mepr-account-container {
    flex-direction: column !important;
  }
  #mepr-account-nav {
    min-width: unset !important;
  }
  #mepr-account-content {
    padding: 20px !important;
  }
}
/* Upgrade page 2079 — kill block gaps */
.page-id-2079 .is-layout-flow > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.page-id-2079 .entry-content,
.page-id-2079 main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* ═══════════════════════════════════════════════════════════
   CLOUD9CLUB — MemberPress Registration Pages
   Paste into: Appearance → Customize → Additional CSS
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ══════════════════════════════════════
   1. PAGE BASE
   ══════════════════════════════════════ */

body.single-memberpressproduct {
  background: #FAF8F5 !important;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

body.single-memberpressproduct .entry-title {
  display: none !important;
}

body.single-memberpressproduct #masthead,
body.single-memberpressproduct .site-header,
body.single-memberpressproduct header.site-header {
  display: none !important;
}

body.single-memberpressproduct .mepr-before-signup-form {
  display: none !important;
}

body.single-memberpressproduct .mepr_spacer {
  display: none !important;
}

/* Kill vertical lines */
body.single-memberpressproduct form#mepr_signup_form,
body.single-memberpressproduct form#mepr_signup_form > *,
body.single-memberpressproduct .mepr-checkout-container,
body.single-memberpressproduct .mepr-checkout-container > *,
body.single-memberpressproduct .form-wrapper,
body.single-memberpressproduct .form-wrapper > * {
  border-left: none !important;
  border-right: none !important;
}

/* ══════════════════════════════════════
   2. DEFAULT LAYOUT (Boarding Pass / Single Column)
   ══════════════════════════════════════ */

body.single-memberpressproduct #primary.site-main {
  max-width: 580px !important;
  margin: 0 auto !important;
  padding: 20px !important;
}

/* Hide invoice on Boarding Pass only */
body.single-memberpressproduct.post-id-116 .invoice-wrapper {
  display: none !important;
}

body.single-memberpressproduct.post-id-116 .mepr-checkout-container.mp_wrapper {
  display: block !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.single-memberpressproduct.post-id-116 .form-wrapper {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ══════════════════════════════════════
   3. CONTENT AREA (Shared Styles)
   ══════════════════════════════════════ */

body.single-memberpressproduct .c9-reg-hero {
  text-align: center !important;
  padding: 12px 0 28px !important;
  max-width: 580px !important;
  margin: 0 auto !important;
}
body.single-memberpressproduct .c9-reg-hero,
body.single-memberpressproduct .c9-reg-hero * {
  box-sizing: border-box !important;
}

body.single-memberpressproduct .c9-reg-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #C8963E !important;
  margin-bottom: 20px !important;
}
body.single-memberpressproduct .c9-reg-eyebrow::before,
body.single-memberpressproduct .c9-reg-eyebrow::after {
  content: "" !important;
  width: 28px !important;
  height: 1px !important;
  background: #C8963E !important;
  opacity: 0.4 !important;
  display: inline-block !important;
}

body.single-memberpressproduct h2.c9-reg-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 32px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  color: #0B1D3A !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
}
body.single-memberpressproduct h2.c9-reg-title em {
  font-style: italic !important;
  color: #C8963E !important;
}

body.single-memberpressproduct .c9-reg-subtitle {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  color: #6B7A8D !important;
  line-height: 1.6 !important;
  max-width: 480px !important;
  margin: 0 auto 32px auto !important;
  text-align: center !important;
}

body.single-memberpressproduct .c9-reg-benefits {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  max-width: 540px !important;
  margin: 0 auto 8px auto !important;
  text-align: left !important;
  width: 100% !important;
}

body.single-memberpressproduct .c9-reg-benefit {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 14px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(11, 29, 58, 0.06) !important;
  border-radius: 10px !important;
  transition: border-color 0.2s ease !important;
  width: 100% !important;
  min-width: 0 !important;
}
body.single-memberpressproduct .c9-reg-benefit:hover {
  border-color: rgba(200, 150, 62, 0.25) !important;
}

body.single-memberpressproduct .c9-reg-ico {
  flex-shrink: 0 !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(200, 150, 62, 0.08) !important;
  border-radius: 8px !important;
}
body.single-memberpressproduct .c9-reg-ico svg {
  width: 16px !important;
  height: 16px !important;
  stroke: #C8963E !important;
  fill: none !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  display: block !important;
}

body.single-memberpressproduct .c9-reg-txt {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #0B1D3A !important;
  line-height: 1.4 !important;
  text-align: left !important;
}
body.single-memberpressproduct .c9-reg-sub {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 400 !important;
  color: #9AA5B4 !important;
  margin-top: 2px !important;
  text-align: left !important;
  line-height: 1.4 !important;
}

body.single-memberpressproduct .c9-reg-divider {
  width: 48px !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, #C8963E, transparent) !important;
  margin: 14px auto 4px auto !important;
  opacity: 0.5 !important;
  display: block !important;
}

body.single-memberpressproduct .c9-reg-free-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(11, 29, 58, 0.04) !important;
  border-radius: 100px !important;
  padding: 6px 16px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #6B7A8D !important;
  margin-top: 10px !important;
}
body.single-memberpressproduct .c9-reg-free-badge strong {
  color: #0B1D3A !important;
  font-weight: 600 !important;
}
body.single-memberpressproduct .c9-reg-free-badge svg {
  width: 14px !important;
  height: 14px !important;
  stroke: #C8963E !important;
  fill: none !important;
  stroke-width: 2 !important;
  display: inline-block !important;
}

/* ══════════════════════════════════════
   4. PAID TIERS — TWO-COLUMN FORM LAYOUT
      (Invoice left, Form right)
      Triggered by .c9-fc class
   ══════════════════════════════════════ */

/* Widen site-main */
body.single-memberpressproduct:has(.c9-fc) #primary.site-main {
  max-width: 1060px !important;
  padding: 40px 28px !important;
}

/* Content hero — full width, centered */
body.single-memberpressproduct:has(.c9-fc) .c9-reg-hero {
  max-width: 680px !important;
  margin: 0 auto 28px auto !important;
}

/* Form itself — transparent wrapper */
body.single-memberpressproduct:has(.c9-fc) form#mepr_signup_form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

/* Checkout container — two-column grid */
body.single-memberpressproduct:has(.c9-fc) .mepr-checkout-container.mp_wrapper {
  display: grid !important;
  grid-template-columns: 340px 1fr !important;
  gap: 24px !important;
  align-items: start !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* ── Invoice: Left Column ── */
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper {
  grid-column: 1 !important;
  grid-row: 1 !important;
  position: sticky !important;
  top: 28px !important;
  background: #FFFFFF !important;
  border-radius: 16px !important;
  padding: 28px 24px !important;
  border: 1px solid rgba(11, 29, 58, 0.06) !important;
  box-shadow: 0 2px 16px rgba(11, 29, 58, 0.06) !important;
  font-family: 'DM Sans', sans-serif !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  border-left: none !important;
}

/* Invoice heading */
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper h1,
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper .invoice-heading {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #6B7A8D !important;
  margin: 0 0 16px 0 !important;
  padding: 0 0 12px 0 !important;
  border-bottom: 1px solid rgba(11, 29, 58, 0.06) !important;
}

/* Price */
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper .mepr_price_str,
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper .mepr_bold,
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper .mp-form-row.mepr_bold.mepr_price {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  color: #0B1D3A !important;
}

/* Invoice table */
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper table {
  width: 100% !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: #0B1D3A !important;
  border-collapse: collapse !important;
}
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper th,
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper td {
  padding: 10px 0 !important;
  font-family: 'DM Sans', sans-serif !important;
  border: none !important;
  border-bottom: 1px solid rgba(11, 29, 58, 0.06) !important;
  text-align: left !important;
}
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper tr:last-child td,
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper tr:last-child th {
  border-bottom: none !important;
  font-weight: 600 !important;
}

body.single-memberpressproduct:has(.c9-fc) .mepr-transaction-invoice-wrapper {
  padding: 0 !important;
  margin: 0 !important;
}

/* Product rows inside invoice */
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper .mepr-product-rows {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: #0B1D3A !important;
}

/* Coupon link */
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper a.have-coupon-link {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  color: #C8963E !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  display: inline-block !important;
  margin-top: 12px !important;
}
body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper a.have-coupon-link:hover {
  color: #A67A2E !important;
  text-decoration: underline !important;
}

/* ── Form Fields: Right Column ── */
body.single-memberpressproduct:has(.c9-fc) .form-wrapper {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 32px 28px 28px !important;
  margin: 0 !important;
  border: 1px solid rgba(11, 29, 58, 0.06) !important;
  border-left: 1px solid rgba(11, 29, 58, 0.06) !important;
  border-right: 1px solid rgba(11, 29, 58, 0.06) !important;
  background: #FFFFFF !important;
  box-shadow: 0 2px 16px rgba(11, 29, 58, 0.06) !important;
  border-radius: 16px !important;
}

/* ══════════════════════════════════════
   5. FORM FIELD STYLING (All Pages)
   ══════════════════════════════════════ */

/* Default form card (Boarding Pass + non-FC) */
body.single-memberpressproduct form#mepr_signup_form {
  background: #FFFFFF !important;
  border-radius: 16px !important;
  padding: 32px 28px 28px !important;
  box-shadow: 0 2px 20px rgba(11, 29, 58, 0.06) !important;
  border: 1px solid rgba(11, 29, 58, 0.06) !important;
  max-width: 540px !important;
  margin: 24px auto 40px !important;
  overflow: hidden !important;
}

body.single-memberpressproduct .mp-form-row {
  margin-bottom: 16px !important;
  padding: 0 !important;
}

body.single-memberpressproduct .mp-form-row.mp-address-group {
  margin-bottom: 16px !important;
}

body.single-memberpressproduct .mp-form-row label,
body.single-memberpressproduct .mp-form-label label {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: 0.02em !important;
  color: #0B1D3A !important;
  margin-bottom: 6px !important;
  display: block !important;
}

body.single-memberpressproduct form#mepr_signup_form input[type="text"],
body.single-memberpressproduct form#mepr_signup_form input[type="email"],
body.single-memberpressproduct form#mepr_signup_form input[type="password"],
body.single-memberpressproduct form#mepr_signup_form input[type="tel"],
body.single-memberpressproduct form#mepr_signup_form select,
body.single-memberpressproduct form#mepr_signup_form textarea {
  width: 100% !important;
  padding: 12px 14px !important;
  border: 1.5px solid #D8DDE6 !important;
  border-radius: 10px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  color: #0B1D3A !important;
  background: #FFFFFF !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
  outline: none !important;
  -webkit-appearance: none !important;
}

body.single-memberpressproduct form#mepr_signup_form input:focus,
body.single-memberpressproduct form#mepr_signup_form select:focus {
  border-color: #C8963E !important;
  box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.1) !important;
}

body.single-memberpressproduct form#mepr_signup_form input::placeholder {
  color: #9AA5B4 !important;
  font-weight: 300 !important;
}

/* Submit button */
body.single-memberpressproduct .mp-form-submit {
  padding: 0 !important;
  margin-top: 4px !important;
}

body.single-memberpressproduct .mp-form-submit input[type="submit"],
body.single-memberpressproduct input.mepr-submit,
body.single-memberpressproduct .mepr-submit {
  background: linear-gradient(135deg, #0B1D3A 0%, #162D50 100%) !important;
  color: #FFFFFF !important;
  padding: 15px 32px !important;
  border: none !important;
  border-radius: 10px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
  width: 100% !important;
  display: block !important;
  text-align: center !important;
  margin: 0 !important;
  box-shadow: 0 4px 14px rgba(11, 29, 58, 0.2) !important;
  -webkit-appearance: none !important;
  line-height: 1.4 !important;
}

body.single-memberpressproduct .mp-form-submit input[type="submit"]:hover,
body.single-memberpressproduct input.mepr-submit:hover {
  background: linear-gradient(135deg, #0F2544 0%, #1C3A64 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(11, 29, 58, 0.28) !important;
}

body.single-memberpressproduct .mp-form-submit input[type="submit"]:active,
body.single-memberpressproduct input.mepr-submit:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(11, 29, 58, 0.15) !important;
}

body.single-memberpressproduct form a {
  color: #C8963E !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}
body.single-memberpressproduct form a:hover {
  color: #A67A2E !important;
  text-decoration: underline !important;
}

body.single-memberpressproduct .mepr_notice,
body.single-memberpressproduct .mp-notice {
  background: rgba(200, 150, 62, 0.08) !important;
  border: 1px solid rgba(200, 150, 62, 0.2) !important;
  border-left: 4px solid #C8963E !important;
  padding: 14px 18px !important;
  border-radius: 8px !important;
  color: #0B1D3A !important;
  font-size: 14px !important;
}

body.single-memberpressproduct .cc-error {
  color: #D32F2F !important;
  font-size: 12px !important;
}

/* ══════════════════════════════════════
   6. RESPONSIVE
   ══════════════════════════════════════ */

/* Paid tiers: stack on tablet/mobile */
@media (max-width: 820px) {
  body.single-memberpressproduct:has(.c9-fc) #primary.site-main {
    max-width: 580px !important;
    padding: 20px !important;
  }
  body.single-memberpressproduct:has(.c9-fc) .c9-reg-hero {
    max-width: 100% !important;
  }
  body.single-memberpressproduct:has(.c9-fc) .mepr-checkout-container.mp_wrapper {
    display: block !important;
  }
  body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper {
    position: static !important;
    margin-bottom: 20px !important;
    border-radius: 12px !important;
  }
  body.single-memberpressproduct:has(.c9-fc) .form-wrapper {
    border-radius: 12px !important;
    padding: 24px 20px 20px !important;
  }
  body.single-memberpressproduct:has(.c9-fc) form#mepr_signup_form {
    max-width: 100% !important;
  }
}

/* Boarding Pass & general mobile */
@media (max-width: 600px) {
  body.single-memberpressproduct .c9-reg-benefits {
    grid-template-columns: 1fr !important;
  }
  body.single-memberpressproduct h2.c9-reg-title {
    font-size: 26px !important;
  }
  body.single-memberpressproduct .c9-reg-subtitle {
    font-size: 14px !important;
  }
  body.single-memberpressproduct form#mepr_signup_form {
    padding: 24px 18px 20px !important;
    margin: 16px 8px 32px !important;
    border-radius: 12px !important;
  }
  body.single-memberpressproduct #primary.site-main {
    padding: 12px !important;
  }
}

.site-main,
main,
.wp-site-blocks,
#primary {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.site-main,
main,
.wp-site-blocks,
.entry-content,
#primary {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.entry-content.wp-block-post-content {
  background-color: transparent;
}
body, .site, .page, .post {
  background-color: #ffffff;
}

.page-id-4814 .entry-content > * + * {
  margin-top: 0 !important;
}
.page-id-4814 .entry-content {
  padding: 0 !important;
  margin: 0 !important;
}
.page-id-4814 .entry-content .wp-block-html {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* ═══ Cloud9Club — WordPress Built-in TOC Styling ═══ */

/* Outer nav wrapper */
nav.wp-block-table-of-contents {
  background: #FAF8F5;
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 24px 0;
  font-family: 'DM Sans', -apple-system, sans-serif;
}

/* Remove default list styling */
nav.wp-block-table-of-contents ol,
nav.wp-block-table-of-contents ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Nested lists */
nav.wp-block-table-of-contents ol ol,
nav.wp-block-table-of-contents ul ul {
  padding-left: 16px;
}

/* List items */
nav.wp-block-table-of-contents li {
  margin: 0;
  padding: 0;
}

/* Hide default markers */
nav.wp-block-table-of-contents li::marker {
  content: none;
}

/* Links */
nav.wp-block-table-of-contents a,
nav.wp-block-table-of-contents a.wp-block-table-of-contents__entry {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 400;
  color: #0B1D3A !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(11, 29, 58, 0.04);
  transition: color 0.2s ease;
}

nav.wp-block-table-of-contents li:last-child > a {
  border-bottom: none;
}

nav.wp-block-table-of-contents a:hover,
nav.wp-block-table-of-contents a.wp-block-table-of-contents__entry:hover {
  color: #C8963E !important;
}
/* Auto-generate TOC title */
nav.wp-block-table-of-contents::before {
  content: "What We're Covering";
  display: block;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7A8D;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(11, 29, 58, 0.06);
}
/* ══════════════════════════════════════
   BOARDING PASS (postid-116) OVERRIDES
   ══════════════════════════════════════ */

/* Center the entire page */
body.single-memberpressproduct.postid-116 #primary.site-main {
  max-width: 580px !important;
  margin: 0 auto !important;
  padding: 20px !important;
  float: none !important;
}

/* Hide invoice on Boarding Pass */
body.single-memberpressproduct.postid-116 .invoice-wrapper,
body.single-memberpressproduct.postid-116 .mepr-transaction-invoice-wrapper,
body.single-memberpressproduct.postid-116 .mepr_invoice {
  display: none !important;
}

/* Force single column layout */
body.single-memberpressproduct.postid-116 .mepr-checkout-container.mp_wrapper {
  display: block !important;
  max-width: 540px !important;
  margin: 0 auto !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

/* Form wrapper */
body.single-memberpressproduct.postid-116 .form-wrapper {
  width: 100% !important;
  max-width: 540px !important;
  margin: 0 auto !important;
  float: none !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Center the form card */
body.single-memberpressproduct.postid-116 form#mepr_signup_form {
  margin: 24px auto 40px !important;
  float: none !important;
}
/* Move invoice/price above the form on paid tiers */
body.single-memberpressproduct:has(.c9-fc) .mepr-checkout-container.mp_wrapper {
  display: flex !important;
  flex-direction: column !important;
}

body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper {
  order: -1 !important;
  position: static !important;
  margin-bottom: 20px !important;
}

body.single-memberpressproduct:has(.c9-fc) .form-wrapper {
  order: 1 !important;
}

/* On desktop, keep the two-column layout with invoice on LEFT */
@media (min-width: 821px) {
  body.single-memberpressproduct:has(.c9-fc) .mepr-checkout-container.mp_wrapper {
    display: grid !important;
    grid-template-columns: 340px 1fr !important;
    flex-direction: unset !important;
  }

  body.single-memberpressproduct:has(.c9-fc) .invoice-wrapper {
    grid-column: 1 !important;
    grid-row: 1 !important;
    order: unset !important;
  }

  body.single-memberpressproduct:has(.c9-fc) .form-wrapper {
    grid-column: 2 !important;
    grid-row: 1 !important;
    order: unset !important;
  }
}