/* =========================================================
   PAC READABILITY FIX — MEMBERPRESS COURSES + ACCOUNT
   Clean targeted version
   ========================================================= */

:root {
  --pac-dark: #101037;
  --pac-dark-panel: #171650;
  --pac-dark-panel-2: #201f63;

  --pac-light-text: #f5f7ff;
  --pac-muted-light: #c9d4f5;

  --pac-dark-text: #071827;
  --pac-dark-blue-text: #0b1f3a;
  --pac-muted-dark: #4b5563;

  --pac-blue: #06429e;
  --pac-blue-hover: #1e73be;
  --pac-link-light: #9ec5ff;
  --pac-link-dark: #0b4f8a;

  --pac-border-blue: rgba(105, 171, 251, 0.35);
  --pac-border-light: #d7dce8;

  --pac-white: #ffffff;
  --pac-soft-white: #f5f7fb;

  --pac-success-bg: #e8f7ef;
  --pac-success-text: #071827;
}


/* =========================================================
   1. MEMBERPRESS COURSE PAGES
   These pages are light/white. Force readable dark text.
   ========================================================= */

body.single-mpcs-course,
body.single-mpcs-lesson,
body.single-mpcs-quiz {
  background: #ffffff !important;
  color: var(--pac-dark-blue-text) !important;
}

/* Main course area */
body.single-mpcs-course .mpcs-main,
body.single-mpcs-lesson .mpcs-main,
body.single-mpcs-quiz .mpcs-main,
body.single-mpcs-course .mpcs-main-content,
body.single-mpcs-lesson .mpcs-main-content,
body.single-mpcs-quiz .mpcs-main-content,
body.single-mpcs-course .mpcs-content,
body.single-mpcs-lesson .mpcs-content,
body.single-mpcs-quiz .mpcs-content,
body.single-mpcs-course .entry-content,
body.single-mpcs-lesson .entry-content,
body.single-mpcs-quiz .entry-content {
  background: #ffffff !important;
  color: var(--pac-dark-blue-text) !important;
}

/* Text inside course content */
body.single-mpcs-course .mpcs-main h1,
body.single-mpcs-course .mpcs-main h2,
body.single-mpcs-course .mpcs-main h3,
body.single-mpcs-course .mpcs-main h4,
body.single-mpcs-course .mpcs-main h5,
body.single-mpcs-course .mpcs-main h6,
body.single-mpcs-course .mpcs-main p,
body.single-mpcs-course .mpcs-main li,
body.single-mpcs-course .mpcs-main span,
body.single-mpcs-course .mpcs-main div,
body.single-mpcs-course .mpcs-main label,
body.single-mpcs-course .mpcs-main strong,
body.single-mpcs-course .mpcs-main td,
body.single-mpcs-course .mpcs-main th,
body.single-mpcs-lesson .mpcs-main h1,
body.single-mpcs-lesson .mpcs-main h2,
body.single-mpcs-lesson .mpcs-main h3,
body.single-mpcs-lesson .mpcs-main h4,
body.single-mpcs-lesson .mpcs-main h5,
body.single-mpcs-lesson .mpcs-main h6,
body.single-mpcs-lesson .mpcs-main p,
body.single-mpcs-lesson .mpcs-main li,
body.single-mpcs-lesson .mpcs-main span,
body.single-mpcs-lesson .mpcs-main div,
body.single-mpcs-lesson .mpcs-main label,
body.single-mpcs-lesson .mpcs-main strong,
body.single-mpcs-lesson .mpcs-main td,
body.single-mpcs-lesson .mpcs-main th,
body.single-mpcs-quiz .mpcs-main h1,
body.single-mpcs-quiz .mpcs-main h2,
body.single-mpcs-quiz .mpcs-main h3,
body.single-mpcs-quiz .mpcs-main h4,
body.single-mpcs-quiz .mpcs-main h5,
body.single-mpcs-quiz .mpcs-main h6,
body.single-mpcs-quiz .mpcs-main p,
body.single-mpcs-quiz .mpcs-main li,
body.single-mpcs-quiz .mpcs-main span,
body.single-mpcs-quiz .mpcs-main div,
body.single-mpcs-quiz .mpcs-main label,
body.single-mpcs-quiz .mpcs-main strong,
body.single-mpcs-quiz .mpcs-main td,
body.single-mpcs-quiz .mpcs-main th {
  color: var(--pac-dark-blue-text) !important;
  -webkit-text-fill-color: var(--pac-dark-blue-text) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Course links */
body.single-mpcs-course .mpcs-main a,
body.single-mpcs-lesson .mpcs-main a,
body.single-mpcs-quiz .mpcs-main a {
  color: var(--pac-link-dark) !important;
  -webkit-text-fill-color: var(--pac-link-dark) !important;
  font-weight: 700;
}

/* Course curriculum bars and accordion rows */
body.single-mpcs-course .mpcs-section,
body.single-mpcs-course .mpcs-section-header,
body.single-mpcs-course .mpcs-lesson-row,
body.single-mpcs-course .mpcs-course-section,
body.single-mpcs-lesson .mpcs-section,
body.single-mpcs-lesson .mpcs-section-header,
body.single-mpcs-lesson .mpcs-lesson-row,
body.single-mpcs-lesson .mpcs-course-section,
body.single-mpcs-quiz .mpcs-section,
body.single-mpcs-quiz .mpcs-section-header,
body.single-mpcs-quiz .mpcs-lesson-row,
body.single-mpcs-quiz .mpcs-course-section {
  background: #f5f7fb !important;
  color: var(--pac-dark-blue-text) !important;
  border-color: var(--pac-border-light) !important;
}

/* Course buttons */
body.single-mpcs-course .mpcs-main button,
body.single-mpcs-course .mpcs-main .button,
body.single-mpcs-course .mpcs-main a.button,
body.single-mpcs-course .mpcs-main input[type="submit"],
body.single-mpcs-lesson .mpcs-main button,
body.single-mpcs-lesson .mpcs-main .button,
body.single-mpcs-lesson .mpcs-main a.button,
body.single-mpcs-lesson .mpcs-main input[type="submit"],
body.single-mpcs-quiz .mpcs-main button,
body.single-mpcs-quiz .mpcs-main .button,
body.single-mpcs-quiz .mpcs-main a.button,
body.single-mpcs-quiz .mpcs-main input[type="submit"] {
  background: var(--pac-blue) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid var(--pac-blue) !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

/* Course sidebar */
body.single-mpcs-course .mpcs-sidebar,
body.single-mpcs-lesson .mpcs-sidebar,
body.single-mpcs-quiz .mpcs-sidebar {
  background: #f5f7fb !important;
  color: var(--pac-dark-blue-text) !important;
}

body.single-mpcs-course .mpcs-sidebar *,
body.single-mpcs-lesson .mpcs-sidebar *,
body.single-mpcs-quiz .mpcs-sidebar * {
  color: var(--pac-dark-blue-text) !important;
  -webkit-text-fill-color: var(--pac-dark-blue-text) !important;
  opacity: 1 !important;
}

/* Progress bar text */
body.single-mpcs-course .mpcs-progress,
body.single-mpcs-course .mpcs-progress *,
body.single-mpcs-lesson .mpcs-progress,
body.single-mpcs-lesson .mpcs-progress *,
body.single-mpcs-quiz .mpcs-progress,
body.single-mpcs-quiz .mpcs-progress * {
  color: var(--pac-dark-blue-text) !important;
  -webkit-text-fill-color: var(--pac-dark-blue-text) !important;
}


/* =========================================================
   2. MEMBERPRESS ACCOUNT PAGE
   Account page is intentionally dark. Force light text.
   ========================================================= */

body.mepr-account-page,
body.mepr-account-page #page,
body.mepr-account-page .site,
body.mepr-account-page .site-main,
body.mepr-account-page .entry-content,
body.mepr-account-page .mepr-account-container,
body.mepr-account-page #mepr-account-content {
  background: var(--pac-dark) !important;
  color: var(--pac-light-text) !important;
}

/* Main account content panel */
body.mepr-account-page #mepr-account-content,
body.mepr-account-page .mepr-account-content,
body.mepr-account-page .mp_wrapper {
  background: var(--pac-dark) !important;
  color: var(--pac-light-text) !important;
}

/* Account text */
body.mepr-account-page #mepr-account-content h1,
body.mepr-account-page #mepr-account-content h2,
body.mepr-account-page #mepr-account-content h3,
body.mepr-account-page #mepr-account-content h4,
body.mepr-account-page #mepr-account-content h5,
body.mepr-account-page #mepr-account-content h6,
body.mepr-account-page #mepr-account-content p,
body.mepr-account-page #mepr-account-content li,
body.mepr-account-page #mepr-account-content span,
body.mepr-account-page #mepr-account-content div,
body.mepr-account-page #mepr-account-content label,
body.mepr-account-page #mepr-account-content strong,
body.mepr-account-page #mepr-account-content small,
body.mepr-account-page #mepr-account-content td,
body.mepr-account-page #mepr-account-content th {
  color: var(--pac-light-text) !important;
  -webkit-text-fill-color: var(--pac-light-text) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Muted labels on account profile */
body.mepr-account-page #mepr-account-content label,
body.mepr-account-page #mepr-account-content small,
body.mepr-account-page #mepr-account-content .mepr-account-label,
body.mepr-account-page #mepr-account-content .mepr-account-meta {
  color: var(--pac-muted-light) !important;
  -webkit-text-fill-color: var(--pac-muted-light) !important;
}

/* Account links */
body.mepr-account-page #mepr-account-content a {
  color: var(--pac-link-light) !important;
  -webkit-text-fill-color: var(--pac-link-light) !important;
  font-weight: 700;
}

body.mepr-account-page #mepr-account-content a:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Account cards / tables */
body.mepr-account-page #mepr-account-content table,
body.mepr-account-page #mepr-account-content thead,
body.mepr-account-page #mepr-account-content tbody,
body.mepr-account-page #mepr-account-content tr,
body.mepr-account-page #mepr-account-content td,
body.mepr-account-page #mepr-account-content th,
body.mepr-account-page #mepr-account-content .mepr-account-row,
body.mepr-account-page #mepr-account-content .mepr-profile-wrapper,
body.mepr-account-page #mepr-account-content .mepr-account-form {
  background: var(--pac-dark-panel) !important;
  color: var(--pac-light-text) !important;
  border-color: var(--pac-border-blue) !important;
}

/* Subscription table text */
body.mepr-account-page #mepr-account-content table *,
body.mepr-account-page #mepr-account-content .mepr-account-row *,
body.mepr-account-page #mepr-account-content .mepr-profile-wrapper *,
body.mepr-account-page #mepr-account-content .mepr-account-form * {
  color: var(--pac-light-text) !important;
  -webkit-text-fill-color: var(--pac-light-text) !important;
  opacity: 1 !important;
}


/* =========================================================
   3. ACCOUNT WELCOME / SUCCESS BOXES
   These are pale boxes, so they need dark text.
   ========================================================= */

body.mepr-account-page #mepr-account-content .mepr-account-welcome-message,
body.mepr-account-page #mepr-account-content .mepr_updated,
body.mepr-account-page #mepr-account-content .mepr_success,
body.mepr-account-page #mepr-account-content .notice-success,
body.mepr-account-page #mepr-account-content .alert-success {
  background: var(--pac-success-bg) !important;
  color: var(--pac-success-text) !important;
  -webkit-text-fill-color: var(--pac-success-text) !important;
  border: 1px solid rgba(47, 107, 88, 0.35) !important;
  border-radius: 8px !important;
  padding: 16px 22px !important;
}

body.mepr-account-page #mepr-account-content .mepr-account-welcome-message *,
body.mepr-account-page #mepr-account-content .mepr_updated *,
body.mepr-account-page #mepr-account-content .mepr_success *,
body.mepr-account-page #mepr-account-content .notice-success *,
body.mepr-account-page #mepr-account-content .alert-success * {
  color: var(--pac-success-text) !important;
  -webkit-text-fill-color: var(--pac-success-text) !important;
  opacity: 1 !important;
}


/* =========================================================
   4. MEMBERPRESS ACCOUNT NAVIGATION
   ========================================================= */

body.mepr-account-page #mepr-account-nav,
body.mepr-account-page .mepr-account-nav,
body.mepr-account-page .mepr-nav {
  background: var(--pac-blue) !important;
  color: #ffffff !important;
}

body.mepr-account-page #mepr-account-nav li,
body.mepr-account-page #mepr-account-nav a,
body.mepr-account-page .mepr-account-nav li,
body.mepr-account-page .mepr-account-nav a,
body.mepr-account-page .mepr-nav li,
body.mepr-account-page .mepr-nav a {
  background: transparent !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

body.mepr-account-page #mepr-account-nav .mepr-active-nav-tab,
body.mepr-account-page #mepr-account-nav .mepr-active-nav-tab a,
body.mepr-account-page #mepr-account-nav li:hover,
body.mepr-account-page #mepr-account-nav a:hover,
body.mepr-account-page .mepr-account-nav a:hover,
body.mepr-account-page .mepr-nav a:hover {
  background: var(--pac-blue-hover) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* =========================================================
   5. FORM FIELDS
   Inputs should be white with dark text everywhere.
   ========================================================= */

body.mepr-account-page #mepr-account-content input,
body.mepr-account-page #mepr-account-content textarea,
body.mepr-account-page #mepr-account-content select,
body.single-mpcs-course input,
body.single-mpcs-course textarea,
body.single-mpcs-course select,
body.single-mpcs-lesson input,
body.single-mpcs-lesson textarea,
body.single-mpcs-lesson select,
body.single-mpcs-quiz input,
body.single-mpcs-quiz textarea,
body.single-mpcs-quiz select,
body .mepr-form input,
body .mepr-form textarea,
body .mepr-form select,
body .mepr-checkout-form input,
body .mepr-checkout-form textarea,
body .mepr-checkout-form select,
body .mepr-signup-form input,
body .mepr-signup-form textarea,
body .mepr-signup-form select {
  background: #ffffff !important;
  color: var(--pac-dark-text) !important;
  -webkit-text-fill-color: var(--pac-dark-text) !important;
  border: 1px solid rgba(11, 31, 58, 0.28) !important;
  border-radius: 8px !important;
  opacity: 1 !important;
}

/* Placeholder text */
body.mepr-account-page #mepr-account-content input::placeholder,
body.mepr-account-page #mepr-account-content textarea::placeholder,
body.single-mpcs-course input::placeholder,
body.single-mpcs-course textarea::placeholder,
body.single-mpcs-lesson input::placeholder,
body.single-mpcs-lesson textarea::placeholder,
body.single-mpcs-quiz input::placeholder,
body.single-mpcs-quiz textarea::placeholder,
body .mepr-form input::placeholder,
body .mepr-form textarea::placeholder {
  color: var(--pac-muted-dark) !important;
  -webkit-text-fill-color: var(--pac-muted-dark) !important;
  opacity: 1 !important;
}


/* =========================================================
   6. BUTTONS
   Buttons should remain blue with white text.
   ========================================================= */

body.mepr-account-page #mepr-account-content button,
body.mepr-account-page #mepr-account-content .button,
body.mepr-account-page #mepr-account-content a.button,
body.mepr-account-page #mepr-account-content input[type="submit"],
body.single-mpcs-course .mpcs-main button,
body.single-mpcs-course .mpcs-main .button,
body.single-mpcs-course .mpcs-main a.button,
body.single-mpcs-course .mpcs-main input[type="submit"],
body.single-mpcs-lesson .mpcs-main button,
body.single-mpcs-lesson .mpcs-main .button,
body.single-mpcs-lesson .mpcs-main a.button,
body.single-mpcs-lesson .mpcs-main input[type="submit"],
body.single-mpcs-quiz .mpcs-main button,
body.single-mpcs-quiz .mpcs-main .button,
body.single-mpcs-quiz .mpcs-main a.button,
body.single-mpcs-quiz .mpcs-main input[type="submit"],
body .mepr-form button,
body .mepr-form .button,
body .mepr-form input[type="submit"] {
  background: var(--pac-blue) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid var(--pac-link-light) !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

body.mepr-account-page #mepr-account-content button *,
body.mepr-account-page #mepr-account-content .button *,
body.single-mpcs-course .mpcs-main button *,
body.single-mpcs-course .mpcs-main .button *,
body.single-mpcs-lesson .mpcs-main button *,
body.single-mpcs-lesson .mpcs-main .button *,
body.single-mpcs-quiz .mpcs-main button *,
body.single-mpcs-quiz .mpcs-main .button *,
body .mepr-form button *,
body .mepr-form .button * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.mepr-account-page #mepr-account-content button:hover,
body.mepr-account-page #mepr-account-content .button:hover,
body.mepr-account-page #mepr-account-content a.button:hover,
body.mepr-account-page #mepr-account-content input[type="submit"]:hover,
body.single-mpcs-course .mpcs-main button:hover,
body.single-mpcs-course .mpcs-main .button:hover,
body.single-mpcs-course .mpcs-main a.button:hover,
body.single-mpcs-course .mpcs-main input[type="submit"]:hover,
body.single-mpcs-lesson .mpcs-main button:hover,
body.single-mpcs-lesson .mpcs-main .button:hover,
body.single-mpcs-lesson .mpcs-main a.button:hover,
body.single-mpcs-lesson .mpcs-main input[type="submit"]:hover,
body.single-mpcs-quiz .mpcs-main button:hover,
body.single-mpcs-quiz .mpcs-main .button:hover,
body.single-mpcs-quiz .mpcs-main a.button:hover,
body.single-mpcs-quiz .mpcs-main input[type="submit"]:hover,
body .mepr-form button:hover,
body .mepr-form .button:hover,
body .mepr-form input[type="submit"]:hover {
  background: var(--pac-blue-hover) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* =========================================================
   7. CHECKOUT / REGISTRATION PAGES
   Checkout is white, so everything inside checkout gets dark text.
   ========================================================= */

body .mepr-checkout-form,
body .mepr-signup-form,
body .mepr-payment-form,
body .mepr-order-form,
body .mepr-form {
  background: #ffffff !important;
  color: var(--pac-dark-blue-text) !important;
}

body .mepr-checkout-form h1,
body .mepr-checkout-form h2,
body .mepr-checkout-form h3,
body .mepr-checkout-form h4,
body .mepr-checkout-form p,
body .mepr-checkout-form div,
body .mepr-checkout-form span,
body .mepr-checkout-form label,
body .mepr-checkout-form strong,
body .mepr-checkout-form li,
body .mepr-signup-form h1,
body .mepr-signup-form h2,
body .mepr-signup-form h3,
body .mepr-signup-form h4,
body .mepr-signup-form p,
body .mepr-signup-form div,
body .mepr-signup-form span,
body .mepr-signup-form label,
body .mepr-signup-form strong,
body .mepr-signup-form li,
body .mepr-payment-form h1,
body .mepr-payment-form h2,
body .mepr-payment-form h3,
body .mepr-payment-form h4,
body .mepr-payment-form p,
body .mepr-payment-form div,
body .mepr-payment-form span,
body .mepr-payment-form label,
body .mepr-payment-form strong,
body .mepr-payment-form li,
body .mepr-order-form h1,
body .mepr-order-form h2,
body .mepr-order-form h3,
body .mepr-order-form h4,
body .mepr-order-form p,
body .mepr-order-form div,
body .mepr-order-form span,
body .mepr-order-form label,
body .mepr-order-form strong,
body .mepr-order-form li {
  color: var(--pac-dark-blue-text) !important;
  -webkit-text-fill-color: var(--pac-dark-blue-text) !important;
  opacity: 1 !important;
}

body .mepr-checkout-form a,
body .mepr-signup-form a,
body .mepr-payment-form a,
body .mepr-order-form a {
  color: var(--pac-link-dark) !important;
  -webkit-text-fill-color: var(--pac-link-dark) !important;
}


/* =========================================================
   8. STATUS PILLS / BADGES
   Example: "Active" subscription badge.
   ========================================================= */

body.mepr-account-page #mepr-account-content .mepr-active,
body.mepr-account-page #mepr-account-content .active,
body.mepr-account-page #mepr-account-content .status-active,
body.mepr-account-page #mepr-account-content [class*="status"],
body.mepr-account-page #mepr-account-content [class*="badge"] {
  color: var(--pac-success-text) !important;
  -webkit-text-fill-color: var(--pac-success-text) !important;
  opacity: 1 !important;
}


/* =========================================================
   9. HIDE JETPACK SHARING / LIKES ON MEMBERPRESS AREAS
   ========================================================= */

body.mepr-account-page .sharedaddy,
body.mepr-account-page .sd-sharing,
body.mepr-account-page .sd-like,
body.mepr-account-page .jetpack-likes-widget-wrapper,
body.single-mpcs-course .sharedaddy,
body.single-mpcs-course .sd-sharing,
body.single-mpcs-course .sd-like,
body.single-mpcs-course .jetpack-likes-widget-wrapper,
body.single-mpcs-lesson .sharedaddy,
body.single-mpcs-lesson .sd-sharing,
body.single-mpcs-lesson .sd-like,
body.single-mpcs-lesson .jetpack-likes-widget-wrapper,
body.single-mpcs-quiz .sharedaddy,
body.single-mpcs-quiz .sd-sharing,
body.single-mpcs-quiz .sd-like,
body.single-mpcs-quiz .jetpack-likes-widget-wrapper {
  display: none !important;
}


/* =========================================================
   10. TEXT SELECTION
   ========================================================= */

body.mepr-account-page ::selection,
body.single-mpcs-course ::selection,
body.single-mpcs-lesson ::selection,
body.single-mpcs-quiz ::selection {
  background: #b9dafc !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}
/* =========================================================
   PAC FIX — MemberPress Course Header Contrast
   Makes course titles, section headers, and curriculum headings
   darker blue on white course pages
   ========================================================= */

body.single-mpcs-course h1,
body.single-mpcs-course h2,
body.single-mpcs-course h3,
body.single-mpcs-course h4,
body.single-mpcs-course h5,
body.single-mpcs-course h6,
body.single-mpcs-lesson h1,
body.single-mpcs-lesson h2,
body.single-mpcs-lesson h3,
body.single-mpcs-lesson h4,
body.single-mpcs-lesson h5,
body.single-mpcs-lesson h6,
body.single-mpcs-quiz h1,
body.single-mpcs-quiz h2,
body.single-mpcs-quiz h3,
body.single-mpcs-quiz h4,
body.single-mpcs-quiz h5,
body.single-mpcs-quiz h6 {
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Main course title and page title */
body.single-mpcs-course .entry-title,
body.single-mpcs-course .page-title,
body.single-mpcs-course .mpcs-course-title,
body.single-mpcs-course .mpcs-lesson-title,
body.single-mpcs-course .mpcs-section-title,
body.single-mpcs-lesson .entry-title,
body.single-mpcs-lesson .page-title,
body.single-mpcs-lesson .mpcs-course-title,
body.single-mpcs-lesson .mpcs-lesson-title,
body.single-mpcs-lesson .mpcs-section-title,
body.single-mpcs-quiz .entry-title,
body.single-mpcs-quiz .page-title,
body.single-mpcs-quiz .mpcs-course-title,
body.single-mpcs-quiz .mpcs-lesson-title,
body.single-mpcs-quiz .mpcs-section-title {
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  opacity: 1 !important;
  font-weight: 800 !important;
}

/* The large pale heading area above the curriculum */
body.single-mpcs-course .mpcs-main-content > h1,
body.single-mpcs-course .mpcs-main-content > h2,
body.single-mpcs-course .mpcs-main-content > h3,
body.single-mpcs-course .mpcs-content > h1,
body.single-mpcs-course .mpcs-content > h2,
body.single-mpcs-course .mpcs-content > h3,
body.single-mpcs-lesson .mpcs-main-content > h1,
body.single-mpcs-lesson .mpcs-main-content > h2,
body.single-mpcs-lesson .mpcs-main-content > h3,
body.single-mpcs-quiz .mpcs-main-content > h1,
body.single-mpcs-quiz .mpcs-main-content > h2,
body.single-mpcs-quiz .mpcs-main-content > h3 {
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  opacity: 1 !important;
}

/* Course Curriculum heading */
body.single-mpcs-course .mpcs-main .mpcs-curriculum-title,
body.single-mpcs-course .mpcs-main .mpcs-curriculum h2,
body.single-mpcs-course .mpcs-main .mpcs-curriculum h3,
body.single-mpcs-course .mpcs-main h2,
body.single-mpcs-course .mpcs-main h3,
body.single-mpcs-lesson .mpcs-main .mpcs-curriculum-title,
body.single-mpcs-lesson .mpcs-main .mpcs-curriculum h2,
body.single-mpcs-lesson .mpcs-main .mpcs-curriculum h3,
body.single-mpcs-lesson .mpcs-main h2,
body.single-mpcs-lesson .mpcs-main h3,
body.single-mpcs-quiz .mpcs-main .mpcs-curriculum-title,
body.single-mpcs-quiz .mpcs-main .mpcs-curriculum h2,
body.single-mpcs-quiz .mpcs-main .mpcs-curriculum h3,
body.single-mpcs-quiz .mpcs-main h2,
body.single-mpcs-quiz .mpcs-main h3 {
  color: #12355b !important;
  -webkit-text-fill-color: #12355b !important;
  opacity: 1 !important;
  font-weight: 800 !important;
}

/* Accordion / curriculum module headers */
body.single-mpcs-course .mpcs-section-header,
body.single-mpcs-course .mpcs-section-header *,
body.single-mpcs-course .mpcs-course-section,
body.single-mpcs-course .mpcs-course-section *,
body.single-mpcs-course .mpcs-lesson-row,
body.single-mpcs-course .mpcs-lesson-row *,
body.single-mpcs-lesson .mpcs-section-header,
body.single-mpcs-lesson .mpcs-section-header *,
body.single-mpcs-lesson .mpcs-course-section,
body.single-mpcs-lesson .mpcs-course-section *,
body.single-mpcs-lesson .mpcs-lesson-row,
body.single-mpcs-lesson .mpcs-lesson-row *,
body.single-mpcs-quiz .mpcs-section-header,
body.single-mpcs-quiz .mpcs-section-header *,
body.single-mpcs-quiz .mpcs-course-section,
body.single-mpcs-quiz .mpcs-course-section *,
body.single-mpcs-quiz .mpcs-lesson-row,
body.single-mpcs-quiz .mpcs-lesson-row * {
  color: #071827 !important;
  -webkit-text-fill-color: #071827 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Start Next Lesson bar text */
body.single-mpcs-course .mpcs-next-lesson,
body.single-mpcs-course .mpcs-next-lesson *,
body.single-mpcs-lesson .mpcs-next-lesson,
body.single-mpcs-lesson .mpcs-next-lesson *,
body.single-mpcs-quiz .mpcs-next-lesson,
body.single-mpcs-quiz .mpcs-next-lesson * {
  color: #071827 !important;
  -webkit-text-fill-color: #071827 !important;
  opacity: 1 !important;
}

/* Preserve white text only inside the blue button portion */
body.single-mpcs-course .mpcs-next-lesson a,
body.single-mpcs-course .mpcs-main a.button,
body.single-mpcs-course .mpcs-main button,
body.single-mpcs-lesson .mpcs-next-lesson a,
body.single-mpcs-lesson .mpcs-main a.button,
body.single-mpcs-lesson .mpcs-main button,
body.single-mpcs-quiz .mpcs-next-lesson a,
body.single-mpcs-quiz .mpcs-main a.button,
body.single-mpcs-quiz .mpcs-main button {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
/* =========================================================
   PAC FIX — MemberPress Account + ClubSuite Remaining Contrast
   Add this at the VERY BOTTOM of the current CSS
   ========================================================= */


/* =========================================================
   1. MEMBERPRESS ACCOUNT PROFILE PAGE
   Fix dark labels on dark background
   ========================================================= */

body.mepr-account-page #mepr-account-content .mepr-account-form label,
body.mepr-account-page #mepr-account-content .mepr-profile-wrapper label,
body.mepr-account-page #mepr-account-content .mepr-account-row label,
body.mepr-account-page #mepr-account-content .mepr-account-label,
body.mepr-account-page #mepr-account-content .profile-field-label,
body.mepr-account-page #mepr-account-content [class*="label"],
body.mepr-account-page #mepr-account-content [class*="field-label"],
body.mepr-account-page #mepr-account-content [class*="meta"],
body.mepr-account-page #mepr-account-content [class*="description"] {
  color: #c9d4f5 !important;
  -webkit-text-fill-color: #c9d4f5 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Profile values should be bright white */
body.mepr-account-page #mepr-account-content .mepr-account-form p,
body.mepr-account-page #mepr-account-content .mepr-account-form span,
body.mepr-account-page #mepr-account-content .mepr-account-form div,
body.mepr-account-page #mepr-account-content .mepr-profile-wrapper p,
body.mepr-account-page #mepr-account-content .mepr-profile-wrapper span,
body.mepr-account-page #mepr-account-content .mepr-profile-wrapper div,
body.mepr-account-page #mepr-account-content .mepr-account-row p,
body.mepr-account-page #mepr-account-content .mepr-account-row span,
body.mepr-account-page #mepr-account-content .mepr-account-row div {
  color: #f5f7ff !important;
  -webkit-text-fill-color: #f5f7ff !important;
  opacity: 1 !important;
}

/* Keep empty-field labels visible even when plugin gives them weird opacity */
body.mepr-account-page #mepr-account-content .mepr-account-form *,
body.mepr-account-page #mepr-account-content .mepr-profile-wrapper *,
body.mepr-account-page #mepr-account-content .mepr-account-row * {
  opacity: 1 !important;
}

/* Edit pencil icons */
body.mepr-account-page #mepr-account-content button,
body.mepr-account-page #mepr-account-content button *,
body.mepr-account-page #mepr-account-content [class*="edit"],
body.mepr-account-page #mepr-account-content [class*="edit"] *,
body.mepr-account-page #mepr-account-content .dashicons,
body.mepr-account-page #mepr-account-content .dashicons-edit {
  color: #9ec5ff !important;
  -webkit-text-fill-color: #9ec5ff !important;
  opacity: 1 !important;
}


/* =========================================================
   2. MEMBERPRESS ACCOUNT BUTTONS
   Fix low-contrast outline buttons at bottom of profile page
   ========================================================= */

body.mepr-account-page #mepr-account-content a[href*="payments"],
body.mepr-account-page #mepr-account-content a[href*="subscriptions"],
body.mepr-account-page #mepr-account-content a[href*="password"],
body.mepr-account-page #mepr-account-content .mepr-account-actions a,
body.mepr-account-page #mepr-account-content .mepr-account-actions button,
body.mepr-account-page #mepr-account-content .button,
body.mepr-account-page #mepr-account-content a.button {
  background: #06429e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #69abfb !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

body.mepr-account-page #mepr-account-content a[href*="payments"]:hover,
body.mepr-account-page #mepr-account-content a[href*="subscriptions"]:hover,
body.mepr-account-page #mepr-account-content a[href*="password"]:hover,
body.mepr-account-page #mepr-account-content .button:hover,
body.mepr-account-page #mepr-account-content a.button:hover {
  background: #1e73be !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* =========================================================
   3. DIRECTORY LIST ROW ON ACCOUNT PAGE
   White row should have dark blue readable text
   ========================================================= */

body.mepr-account-page #mepr-account-content .mpdir-list__row,
body.mepr-account-page #mepr-account-content .mpdl-list__row,
body.mepr-account-page #mepr-account-content [class*="directory"] li,
body.mepr-account-page #mepr-account-content [class*="directories"] li,
body.mepr-account-page #mepr-account-content [class*="directory"] [class*="row"],
body.mepr-account-page #mepr-account-content [class*="directories"] [class*="row"] {
  background: #ffffff !important;
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  border-bottom: 1px solid #d7dce8 !important;
  opacity: 1 !important;
}

/* Text inside directory white rows */
body.mepr-account-page #mepr-account-content .mpdir-list__row *,
body.mepr-account-page #mepr-account-content .mpdl-list__row *,
body.mepr-account-page #mepr-account-content [class*="directory"] li *,
body.mepr-account-page #mepr-account-content [class*="directories"] li *,
body.mepr-account-page #mepr-account-content [class*="directory"] [class*="row"] *,
body.mepr-account-page #mepr-account-content [class*="directories"] [class*="row"] * {
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  opacity: 1 !important;
}

/* View links inside directory rows */
body.mepr-account-page #mepr-account-content .mpdir-list__row a,
body.mepr-account-page #mepr-account-content .mpdl-list__row a,
body.mepr-account-page #mepr-account-content [class*="directory"] li a,
body.mepr-account-page #mepr-account-content [class*="directories"] li a,
body.mepr-account-page #mepr-account-content [class*="directory"] [class*="row"] a,
body.mepr-account-page #mepr-account-content [class*="directories"] [class*="row"] a {
  color: #0b4f8a !important;
  -webkit-text-fill-color: #0b4f8a !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}


/* =========================================================
   4. CLUBSUITE / MEMBERPRESS PUBLIC PROFILE PAGES
   Fix white profile sections with pale text
   ========================================================= */

body.mpdir-profile-page .wp-block-memberpress-directory-profile-section,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section-content,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-fields,
body.mpdir-profile-page .profile-field-stacked,
body.mpdir-profile-page .profile-field-inline,
body.mpdir-profile-page .profile-info-container,
body.mpdir-profile-page .profile-info-container-flex,
body.mpdir-profile-page [class*="profile-section"],
body.mpdir-profile-page [class*="profile-section"] *,
body.mpdir-profile-page [class*="profile-field"],
body.mpdir-profile-page [class*="profile-field"] * {
  background: #ffffff !important;
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* ClubSuite public profile headings: Intro, Profile Information, etc. */
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section h1,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section h2,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section h3,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section h4,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section .wp-block-heading,
body.mpdir-profile-page [class*="profile-section"] h1,
body.mpdir-profile-page [class*="profile-section"] h2,
body.mpdir-profile-page [class*="profile-section"] h3,
body.mpdir-profile-page [class*="profile-section"] h4,
body.mpdir-profile-page [class*="profile"] h1,
body.mpdir-profile-page [class*="profile"] h2,
body.mpdir-profile-page [class*="profile"] h3,
body.mpdir-profile-page [class*="profile"] h4 {
  color: #12355b !important;
  -webkit-text-fill-color: #12355b !important;
  opacity: 1 !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

/* ClubSuite field labels */
body.mpdir-profile-page .profile-field-label,
body.mpdir-profile-page [class*="field-label"],
body.mpdir-profile-page [class*="profile-label"],
body.mpdir-profile-page [class*="label"] {
  color: #4b5563 !important;
  -webkit-text-fill-color: #4b5563 !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

/* ClubSuite field values and body text */
body.mpdir-profile-page .profile-field-value,
body.mpdir-profile-page .profile-field-value *,
body.mpdir-profile-page [class*="field-value"],
body.mpdir-profile-page [class*="field-value"] *,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section p,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section span,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section div,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section li {
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  opacity: 1 !important;
}

/* ClubSuite profile links */
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section a,
body.mpdir-profile-page .profile-field-value a,
body.mpdir-profile-page [class*="profile-section"] a {
  color: #0b4f8a !important;
  -webkit-text-fill-color: #0b4f8a !important;
  font-weight: 700 !important;
}


/* =========================================================
   5. CLUBSUITE PROFILE EDIT MODALS / INLINE EDIT AREAS
   White forms should have dark text
   ========================================================= */

body.mpdir-profile-page .modal__container,
body.mpdir-profile-page .modal__content,
body.mpdir-profile-page .profile-form,
body.mpdir-profile-page .profile-form *,
body.mpdir-profile-page .profile-form__column,
body.mpdir-profile-page .profile-form__social-options {
  background: #ffffff !important;
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  opacity: 1 !important;
}

body.mpdir-profile-page .profile-form label,
body.mpdir-profile-page .profile-form__label,
body.mpdir-profile-page .profile-form__section-title,
body.mpdir-profile-page .profile-form__social-option,
body.mpdir-profile-page .profile-form__social-option span {
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  opacity: 1 !important;
}


/* =========================================================
   6. INPUTS ON ACCOUNT + CLUBSUITE PAGES
   Inputs remain white with dark text
   ========================================================= */

body.mepr-account-page #mepr-account-content input,
body.mepr-account-page #mepr-account-content textarea,
body.mepr-account-page #mepr-account-content select,
body.mpdir-profile-page input,
body.mpdir-profile-page textarea,
body.mpdir-profile-page select,
body.mpdir-directory-page input,
body.mpdir-directory-page textarea,
body.mpdir-directory-page select {
  background: #ffffff !important;
  color: #071827 !important;
  -webkit-text-fill-color: #071827 !important;
  border: 1px solid rgba(11, 31, 58, 0.35) !important;
  border-radius: 8px !important;
  opacity: 1 !important;
}

body.mepr-account-page #mepr-account-content input::placeholder,
body.mepr-account-page #mepr-account-content textarea::placeholder,
body.mpdir-profile-page input::placeholder,
body.mpdir-profile-page textarea::placeholder,
body.mpdir-directory-page input::placeholder,
body.mpdir-directory-page textarea::placeholder {
  color: #4b5563 !important;
  -webkit-text-fill-color: #4b5563 !important;
  opacity: 1 !important;
}
/* =========================================================
   PAC FINAL PATCH — Account Profile + Directories Contrast
   Add at the VERY BOTTOM of current CSS
   ========================================================= */


/* =========================================================
   1. ACCOUNT PROFILE CARD
   Force all text inside the profile detail card readable on dark
   ========================================================= */

html body.mepr-account-page #mepr-account-content .mepr-account-form,
html body.mepr-account-page #mepr-account-content .mepr-profile-wrapper,
html body.mepr-account-page #mepr-account-content .mepr-account-details,
html body.mepr-account-page #mepr-account-content .mepr-account-profile,
html body.mepr-account-page #mepr-account-content .mepr-account-row,
html body.mepr-account-page #mepr-account-content [class*="profile"],
html body.mepr-account-page #mepr-account-content [class*="account"] {
  color: #f5f7ff !important;
  -webkit-text-fill-color: #f5f7ff !important;
  opacity: 1 !important;
}

/* Everything inside the dark profile card */
html body.mepr-account-page #mepr-account-content .mepr-account-form *,
html body.mepr-account-page #mepr-account-content .mepr-profile-wrapper *,
html body.mepr-account-page #mepr-account-content .mepr-account-details *,
html body.mepr-account-page #mepr-account-content .mepr-account-profile *,
html body.mepr-account-page #mepr-account-content .mepr-account-row * {
  color: #f5f7ff !important;
  -webkit-text-fill-color: #f5f7ff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Labels specifically: Name, Email, Billing Address, Airway Expertise, Availability */
html body.mepr-account-page #mepr-account-content label,
html body.mepr-account-page #mepr-account-content .mepr-account-label,
html body.mepr-account-page #mepr-account-content .profile-field-label,
html body.mepr-account-page #mepr-account-content [class*="label"],
html body.mepr-account-page #mepr-account-content [class*="field-label"] {
  color: #dbe7ff !important;
  -webkit-text-fill-color: #dbe7ff !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

/* Actual profile values */
html body.mepr-account-page #mepr-account-content .mepr-account-form p,
html body.mepr-account-page #mepr-account-content .mepr-account-form span,
html body.mepr-account-page #mepr-account-content .mepr-profile-wrapper p,
html body.mepr-account-page #mepr-account-content .mepr-profile-wrapper span,
html body.mepr-account-page #mepr-account-content .profile-field-value,
html body.mepr-account-page #mepr-account-content [class*="field-value"] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* Pencil/edit icons */
html body.mepr-account-page #mepr-account-content .dashicons,
html body.mepr-account-page #mepr-account-content .dashicons-before,
html body.mepr-account-page #mepr-account-content button[aria-label*="edit" i],
html body.mepr-account-page #mepr-account-content [class*="edit"],
html body.mepr-account-page #mepr-account-content [class*="edit"] * {
  color: #9ec5ff !important;
  -webkit-text-fill-color: #9ec5ff !important;
  opacity: 1 !important;
}


/* =========================================================
   2. ACCOUNT PROFILE ACTION BUTTONS
   View Payments / View Subscriptions / Change Password
   ========================================================= */

html body.mepr-account-page #mepr-account-content a[href*="payments"],
html body.mepr-account-page #mepr-account-content a[href*="subscriptions"],
html body.mepr-account-page #mepr-account-content a[href*="password"],
html body.mepr-account-page #mepr-account-content .button,
html body.mepr-account-page #mepr-account-content a.button,
html body.mepr-account-page #mepr-account-content button,
html body.mepr-account-page #mepr-account-content input[type="submit"] {
  background: #06429e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #69abfb !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html body.mepr-account-page #mepr-account-content a[href*="payments"]:hover,
html body.mepr-account-page #mepr-account-content a[href*="subscriptions"]:hover,
html body.mepr-account-page #mepr-account-content a[href*="password"]:hover,
html body.mepr-account-page #mepr-account-content .button:hover,
html body.mepr-account-page #mepr-account-content a.button:hover,
html body.mepr-account-page #mepr-account-content button:hover {
  background: #1e73be !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* =========================================================
   3. DIRECTORIES PAGE
   Make the white directory row clean and readable
   ========================================================= */

html body.mepr-account-page #mepr-account-content .mpdir-list__row,
html body.mepr-account-page #mepr-account-content .mpdl-list__row,
html body.mepr-account-page #mepr-account-content .mepr-directories-wrapper,
html body.mepr-account-page #mepr-account-content .mepr-directories-wrapper *,
html body.mepr-account-page #mepr-account-content [class*="direct"] li,
html body.mepr-account-page #mepr-account-content [class*="direct"] [class*="row"] {
  background: #ffffff !important;
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* The visible directory row itself */
html body.mepr-account-page #mepr-account-content .mpdir-list__row,
html body.mepr-account-page #mepr-account-content .mpdl-list__row,
html body.mepr-account-page #mepr-account-content [class*="direct"] li,
html body.mepr-account-page #mepr-account-content [class*="direct"] [class*="row"] {
  border: 1px solid #d7dce8 !important;
  border-radius: 0 !important;
  padding: 14px 18px !important;
}

/* Text inside directory row: “2 users” */
html body.mepr-account-page #mepr-account-content .mpdir-list__row *,
html body.mepr-account-page #mepr-account-content .mpdl-list__row *,
html body.mepr-account-page #mepr-account-content [class*="direct"] li *,
html body.mepr-account-page #mepr-account-content [class*="direct"] [class*="row"] * {
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* View link on the right */
html body.mepr-account-page #mepr-account-content .mpdir-list__row a,
html body.mepr-account-page #mepr-account-content .mpdl-list__row a,
html body.mepr-account-page #mepr-account-content [class*="direct"] li a,
html body.mepr-account-page #mepr-account-content [class*="direct"] [class*="row"] a {
  color: #0b4f8a !important;
  -webkit-text-fill-color: #0b4f8a !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

html body.mepr-account-page #mepr-account-content .mpdir-list__row a:hover,
html body.mepr-account-page #mepr-account-content .mpdl-list__row a:hover,
html body.mepr-account-page #mepr-account-content [class*="direct"] li a:hover,
html body.mepr-account-page #mepr-account-content [class*="direct"] [class*="row"] a:hover {
  color: #12355b !important;
  text-decoration: underline !important;
}


/* =========================================================
   4. PROFILE URL BOX ON DIRECTORIES PAGE
   Keep URL readable without making it look broken
   ========================================================= */

html body.mepr-account-page #mepr-account-content input,
html body.mepr-account-page #mepr-account-content textarea,
html body.mepr-account-page #mepr-account-content select {
  background: #ffffff !important;
  color: #071827 !important;
  -webkit-text-fill-color: #071827 !important;
  border: 1px solid rgba(105, 171, 251, 0.65) !important;
  opacity: 1 !important;
}

/* Profile URL label */
html body.mepr-account-page #mepr-account-content .mpdir-profile-url,
html body.mepr-account-page #mepr-account-content .mpdir-profile-url *,
html body.mepr-account-page #mepr-account-content [class*="profile-url"],
html body.mepr-account-page #mepr-account-content [class*="profile-url"] * {
  color: #f5f7ff !important;
  -webkit-text-fill-color: #f5f7ff !important;
  opacity: 1 !important;
}
/* =========================================================
   PAC HARD FIX — MemberPress Account + Directories
   Targets actual account wrapper instead of guessed plugin classes
   Add at VERY BOTTOM
   ========================================================= */


/* =========================================================
   1. ACCOUNT PROFILE PAGE
   Fix invisible labels on dark profile card
   ========================================================= */

html body.page-id-6080 #mepr-account-content,
html body.page-id-6080 #mepr-account-content *,
html body.mepr-account-page #mepr-account-content,
html body.mepr-account-page #mepr-account-content * {
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Default account text should be readable on dark */
html body.page-id-6080 #mepr-account-content h1,
html body.page-id-6080 #mepr-account-content h2,
html body.page-id-6080 #mepr-account-content h3,
html body.page-id-6080 #mepr-account-content h4,
html body.page-id-6080 #mepr-account-content p,
html body.page-id-6080 #mepr-account-content div,
html body.page-id-6080 #mepr-account-content span,
html body.page-id-6080 #mepr-account-content li,
html body.page-id-6080 #mepr-account-content td,
html body.page-id-6080 #mepr-account-content th,
html body.mepr-account-page #mepr-account-content h1,
html body.mepr-account-page #mepr-account-content h2,
html body.mepr-account-page #mepr-account-content h3,
html body.mepr-account-page #mepr-account-content h4,
html body.mepr-account-page #mepr-account-content p,
html body.mepr-account-page #mepr-account-content div,
html body.mepr-account-page #mepr-account-content span,
html body.mepr-account-page #mepr-account-content li,
html body.mepr-account-page #mepr-account-content td,
html body.mepr-account-page #mepr-account-content th {
  color: #f5f7ff !important;
  -webkit-text-fill-color: #f5f7ff !important;
}

/* Labels specifically: Name, Email, Billing Address, Airway Expertise, Availability */
html body.page-id-6080 #mepr-account-content label,
html body.page-id-6080 #mepr-account-content small,
html body.page-id-6080 #mepr-account-content strong,
html body.page-id-6080 #mepr-account-content [class*="label"],
html body.page-id-6080 #mepr-account-content [class*="Label"],
html body.page-id-6080 #mepr-account-content [class*="field"],
html body.page-id-6080 #mepr-account-content [class*="Field"],
html body.page-id-6080 #mepr-account-content [class*="meta"],
html body.page-id-6080 #mepr-account-content [class*="Meta"],
html body.mepr-account-page #mepr-account-content label,
html body.mepr-account-page #mepr-account-content small,
html body.mepr-account-page #mepr-account-content strong,
html body.mepr-account-page #mepr-account-content [class*="label"],
html body.mepr-account-page #mepr-account-content [class*="Label"],
html body.mepr-account-page #mepr-account-content [class*="field"],
html body.mepr-account-page #mepr-account-content [class*="Field"],
html body.mepr-account-page #mepr-account-content [class*="meta"],
html body.mepr-account-page #mepr-account-content [class*="Meta"] {
  color: #dbe7ff !important;
  -webkit-text-fill-color: #dbe7ff !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

/* Main visible profile values */
html body.page-id-6080 #mepr-account-content a:not(.button),
html body.mepr-account-page #mepr-account-content a:not(.button) {
  color: #9ec5ff !important;
  -webkit-text-fill-color: #9ec5ff !important;
  font-weight: 700 !important;
}


/* =========================================================
   2. ACCOUNT ACTION BUTTONS
   View Payments / View Subscriptions / Change Password
   ========================================================= */

html body.page-id-6080 #mepr-account-content a.button,
html body.page-id-6080 #mepr-account-content .button,
html body.page-id-6080 #mepr-account-content button,
html body.page-id-6080 #mepr-account-content input[type="submit"],
html body.mepr-account-page #mepr-account-content a.button,
html body.mepr-account-page #mepr-account-content .button,
html body.mepr-account-page #mepr-account-content button,
html body.mepr-account-page #mepr-account-content input[type="submit"] {
  background: #06429e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #69abfb !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  text-decoration: none !important;
}


/* =========================================================
   3. DIRECTORIES PAGE
   Fix white directory list row and URL area
   ========================================================= */

/* Make every obvious directory/list/table row readable */
html body.page-id-6080 #mepr-account-content [class*="directory"],
html body.page-id-6080 #mepr-account-content [class*="Directory"],
html body.page-id-6080 #mepr-account-content [class*="directories"],
html body.page-id-6080 #mepr-account-content [class*="Directories"],
html body.page-id-6080 #mepr-account-content [class*="mpdir"],
html body.page-id-6080 #mepr-account-content [class*="mpdl"],
html body.page-id-6080 #mepr-account-content [class*="list"],
html body.page-id-6080 #mepr-account-content [class*="List"] {
  opacity: 1 !important;
  text-shadow: none !important;
}

/* White directory/list rows get dark blue text */
html body.page-id-6080 #mepr-account-content [class*="directory"] li,
html body.page-id-6080 #mepr-account-content [class*="Directory"] li,
html body.page-id-6080 #mepr-account-content [class*="directories"] li,
html body.page-id-6080 #mepr-account-content [class*="Directories"] li,
html body.page-id-6080 #mepr-account-content [class*="mpdir"] li,
html body.page-id-6080 #mepr-account-content [class*="mpdl"] li,
html body.page-id-6080 #mepr-account-content [class*="list"] li,
html body.page-id-6080 #mepr-account-content [class*="List"] li,
html body.page-id-6080 #mepr-account-content [class*="row"],
html body.page-id-6080 #mepr-account-content [class*="Row"],
html body.page-id-6080 #mepr-account-content tr {
  background: #ffffff !important;
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  border-color: #d7dce8 !important;
  opacity: 1 !important;
}

/* Everything inside those rows */
html body.page-id-6080 #mepr-account-content [class*="directory"] li *,
html body.page-id-6080 #mepr-account-content [class*="Directory"] li *,
html body.page-id-6080 #mepr-account-content [class*="directories"] li *,
html body.page-id-6080 #mepr-account-content [class*="Directories"] li *,
html body.page-id-6080 #mepr-account-content [class*="mpdir"] li *,
html body.page-id-6080 #mepr-account-content [class*="mpdl"] li *,
html body.page-id-6080 #mepr-account-content [class*="list"] li *,
html body.page-id-6080 #mepr-account-content [class*="List"] li *,
html body.page-id-6080 #mepr-account-content [class*="row"] *,
html body.page-id-6080 #mepr-account-content [class*="Row"] *,
html body.page-id-6080 #mepr-account-content tr * {
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  opacity: 1 !important;
}

/* Directory View link */
html body.page-id-6080 #mepr-account-content [class*="directory"] a,
html body.page-id-6080 #mepr-account-content [class*="Directory"] a,
html body.page-id-6080 #mepr-account-content [class*="directories"] a,
html body.page-id-6080 #mepr-account-content [class*="Directories"] a,
html body.page-id-6080 #mepr-account-content [class*="mpdir"] a,
html body.page-id-6080 #mepr-account-content [class*="mpdl"] a,
html body.page-id-6080 #mepr-account-content [class*="list"] a,
html body.page-id-6080 #mepr-account-content [class*="List"] a {
  color: #0b4f8a !important;
  -webkit-text-fill-color: #0b4f8a !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}

/* Profile URL box should remain dark-page compatible */
html body.page-id-6080 #mepr-account-content input,
html body.page-id-6080 #mepr-account-content textarea,
html body.page-id-6080 #mepr-account-content select,
html body.mepr-account-page #mepr-account-content input,
html body.mepr-account-page #mepr-account-content textarea,
html body.mepr-account-page #mepr-account-content select {
  background: #ffffff !important;
  color: #071827 !important;
  -webkit-text-fill-color: #071827 !important;
  border: 1px solid rgba(105, 171, 251, 0.65) !important;
  opacity: 1 !important;
}

/* Copy icon next to profile URL */
html body.page-id-6080 #mepr-account-content svg,
html body.page-id-6080 #mepr-account-content svg *,
html body.page-id-6080 #mepr-account-content .dashicons,
html body.mepr-account-page #mepr-account-content svg,
html body.mepr-account-page #mepr-account-content svg *,
html body.mepr-account-page #mepr-account-content .dashicons {
  color: #9ec5ff !important;
  fill: #9ec5ff !important;
  opacity: 1 !important;
}
/* =========================================================
   PAC EXACT FIX — MemberPress Profile Details
   Uses actual HTML classes from /account/
   Add at VERY BOTTOM
   ========================================================= */

/* Main profile wrapper/card */
html body.page-id-68080 #mepr-account-content .mepr-profile-wrapper,
html body.page-id-68080 #mepr-account-content #mepr-profile-details,
html body.page-id-68080 #mepr-account-content .mepr-profile-details__list {
  background: #101037 !important;
  color: #f5f7ff !important;
  -webkit-text-fill-color: #f5f7ff !important;
  opacity: 1 !important;
}

/* Profile labels: Name, Email, Billing Address, Airway Expertise, Availability */
html body.page-id-68080 #mepr-account-content .mepr-profile-details__list dt,
html body.page-id-68080 #mepr-account-content #mepr-profile-details dt,
html body.page-id-68080 #mepr-account-content .mepr-profile-wrapper dt {
  color: #dbe7ff !important;
  -webkit-text-fill-color: #dbe7ff !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

/* Profile values */
html body.page-id-68080 #mepr-account-content .mepr-profile-details__content,
html body.page-id-68080 #mepr-account-content .mepr-profile-details__content *,
html body.page-id-68080 #mepr-account-content #mepr-profile-details dd,
html body.page-id-68080 #mepr-account-content #mepr-profile-details dd * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

/* Edit buttons next to profile labels */
html body.page-id-68080 #mepr-account-content .mepr-profile-details__button,
html body.page-id-68080 #mepr-account-content .mepr-profile-details__button *,
html body.page-id-68080 #mepr-account-content button.mepr-profile-details__button,
html body.page-id-68080 #mepr-account-content button.mepr-profile-details__button * {
  color: #9ec5ff !important;
  -webkit-text-fill-color: #9ec5ff !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

/* Pencil SVG paths have hardcoded fill="#777777", override that */
html body.page-id-68080 #mepr-account-content .mepr-profile-details__button svg,
html body.page-id-68080 #mepr-account-content .mepr-profile-details__button svg *,
html body.page-id-68080 #mepr-account-content .mepr-profile-details__button path,
html body.page-id-68080 #mepr-account-content .mepr-profile-details__icon,
html body.page-id-68080 #mepr-account-content .mepr-profile-details__icon * {
  color: #9ec5ff !important;
  fill: #9ec5ff !important;
  stroke: #9ec5ff !important;
  opacity: 1 !important;
}

/* Footer buttons: View Payments / View Subscriptions / Change Password */
html body.page-id-68080 #mepr-account-content .mepr-profile-wrapper__footer,
html body.page-id-68080 #mepr-account-content .mepr-profile-wrapper__footer li {
  background: transparent !important;
}

html body.page-id-68080 #mepr-account-content .mepr-profile-wrapper__footer .mepr-button,
html body.page-id-68080 #mepr-account-content .mepr-profile-wrapper__footer a.mepr-button,
html body.page-id-68080 #mepr-account-content a.mepr-button.btn-outline {
  background: #06429e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #69abfb !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html body.page-id-68080 #mepr-account-content .mepr-profile-wrapper__footer .mepr-button:hover,
html body.page-id-68080 #mepr-account-content a.mepr-button.btn-outline:hover {
  background: #1e73be !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
/* =========================================================
   PAC EXACT FIX — MemberPress / ClubSuite Directories Page
   Uses actual HTML classes from /account/?action=directories
   Add at VERY BOTTOM
   ========================================================= */


/* Main Directories wrapper on account page */
html body.page-id-68080 #mepr-account-content .mepr-directories-wrapper,
html body.page-id-68080 #mepr-account-content .mepr-directories-wrapper * {
  opacity: 1 !important;
  text-shadow: none !important;
}


/* Page heading: Directories */
html body.page-id-68080 #mepr-account-content .memberpress_page_header,
html body.page-id-68080 #mepr-account-content .mepr-directories-wrapper h1,
html body.page-id-68080 #mepr-account-content .mepr-directories-wrapper h2,
html body.page-id-68080 #mepr-account-content .mepr-directories-wrapper h3,
html body.page-id-68080 #mepr-account-content .mepr-directories-wrapper h4 {
  color: #f5f7ff !important;
  -webkit-text-fill-color: #f5f7ff !important;
  opacity: 1 !important;
  font-weight: 800 !important;
}


/* Profile URL label */
html body.page-id-68080 #mepr-account-content .mpdir-profile-url,
html body.page-id-68080 #mepr-account-content .mpdir-profile-url h4 {
  color: #f5f7ff !important;
  -webkit-text-fill-color: #f5f7ff !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}


/* Profile URL button/link box */
html body.page-id-68080 #mepr-account-content .mpdir-profile-url__wrapper,
html body.page-id-68080 #mepr-account-content .mpdir-button--profile {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #9ec5ff !important;
  -webkit-text-fill-color: #9ec5ff !important;
  border: 1px dashed rgba(158, 197, 255, 0.55) !important;
  border-radius: 6px !important;
  opacity: 1 !important;
}


/* Profile URL link text */
html body.page-id-68080 #mepr-account-content .mpdir-button--profile,
html body.page-id-68080 #mepr-account-content .mpdir-button--profile:visited {
  color: #9ec5ff !important;
  -webkit-text-fill-color: #9ec5ff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}


/* Copy button and copy icon */
html body.page-id-68080 #mepr-account-content .mpdir-copy-button,
html body.page-id-68080 #mepr-account-content .mpdir-copy-button *,
html body.page-id-68080 #mepr-account-content .mpdir-copy-icon,
html body.page-id-68080 #mepr-account-content .mpdir-copy-icon * {
  color: #dbe7ff !important;
  -webkit-text-fill-color: #dbe7ff !important;
  stroke: #dbe7ff !important;
  fill: none !important;
  opacity: 1 !important;
  background: transparent !important;
  border: none !important;
}


/* Directory list row: white box */
html body.page-id-68080 #mepr-account-content .mpdir-list,
html body.page-id-68080 #mepr-account-content .mpdir-list__row {
  background: #ffffff !important;
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  border: 1px solid #d7dce8 !important;
  opacity: 1 !important;
}


/* Everything inside the white directory row should be dark */
html body.page-id-68080 #mepr-account-content .mpdir-list__row *,
html body.page-id-68080 #mepr-account-content .mpdir-list__item,
html body.page-id-68080 #mepr-account-content .mpdir-list__title,
html body.page-id-68080 #mepr-account-content .mpdir-list__meta,
html body.page-id-68080 #mepr-account-content .mpdir-account-terms,
html body.page-id-68080 #mepr-account-content .mpdir-account-terms__members {
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  opacity: 1 !important;
  text-shadow: none !important;
}


/* Directory title: All Users */
html body.page-id-68080 #mepr-account-content .mpdir-list__title {
  color: #071827 !important;
  -webkit-text-fill-color: #071827 !important;
  font-weight: 800 !important;
}


/* Directory metadata: 2 users */
html body.page-id-68080 #mepr-account-content .mpdir-account-terms__members {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  font-weight: 700 !important;
}


/* View button on the right */
html body.page-id-68080 #mepr-account-content .mpdir-list__actions .mpdir-button,
html body.page-id-68080 #mepr-account-content .mpdir-button--ghost,
html body.page-id-68080 #mepr-account-content a.mpdir-button--ghost {
  background: transparent !important;
  color: #0b4f8a !important;
  -webkit-text-fill-color: #0b4f8a !important;
  border: none !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  text-decoration: none !important;
}


/* View button hover */
html body.page-id-68080 #mepr-account-content .mpdir-list__actions .mpdir-button:hover,
html body.page-id-68080 #mepr-account-content .mpdir-button--ghost:hover,
html body.page-id-68080 #mepr-account-content a.mpdir-button--ghost:hover {
  color: #12355b !important;
  -webkit-text-fill-color: #12355b !important;
  text-decoration: underline !important;
}
/* PAC FIX: Remove broken AMP %%footer%% placeholder on MemberPress Courses page */

body.post-type-archive-mpcs-course amp-next-page,
body.post-type-archive-mpcs-course amp-next-page [footer],
body.post-type-archive-mpcs-course amp-next-page div[footer] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
/* PAC FIX: Prevent stretched logo in MemberPress Courses top navbar */

#mpcs-navbar .navbar-brand.site-branding {
  display: flex !important;
  align-items: center !important;
  height: 50px !important;
  max-height: 50px !important;
  width: auto !important;
  max-width: 360px !important;
  overflow: hidden !important;
}

#mpcs-navbar .navbar-brand.site-branding amp-img {
  display: block !important;
  width: 300px !important;
  max-width: 300px !important;
  height: auto !important;
  max-height: 34px !important;
  overflow: hidden !important;
}

#mpcs-navbar .navbar-brand.site-branding amp-img img,
#mpcs-navbar .navbar-brand.site-branding amp-img .i-amphtml-fill-content,
#mpcs-navbar .navbar-brand.site-branding amp-img .i-amphtml-replaced-content {
  object-fit: contain !important;
  object-position: left center !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 34px !important;
}
/* PAC FIX: Make headings readable only inside dark-background Gutenberg blocks */

/* Headings inside blocks with an explicitly dark background */
.editor-styles-wrapper .wp-block-group.has-background[style*="background-color"] h1,
.editor-styles-wrapper .wp-block-group.has-background[style*="background-color"] h2,
.editor-styles-wrapper .wp-block-group.has-background[style*="background-color"] h3,
.editor-styles-wrapper .wp-block-group.has-background[style*="background-color"] h4,
.editor-styles-wrapper .wp-block-group.has-background[style*="background-color"] h5,
.editor-styles-wrapper .wp-block-group.has-background[style*="background-color"] h6,
.editor-styles-wrapper .wp-block-cover h1,
.editor-styles-wrapper .wp-block-cover h2,
.editor-styles-wrapper .wp-block-cover h3,
.editor-styles-wrapper .wp-block-cover h4,
.editor-styles-wrapper .wp-block-cover h5,
.editor-styles-wrapper .wp-block-cover h6 {
  color: #DDEBFD !important;
  opacity: 1 !important;
}

/* Specifically help selected headings in the editor */
.editor-styles-wrapper .wp-block-heading.is-selected,
.editor-styles-wrapper .wp-block-heading.has-background,
.editor-styles-wrapper .wp-block-heading[style*="color"] {
  opacity: 1 !important;
}

/* Optional: add subtle glow only in the editor for visibility */
.editor-styles-wrapper .wp-block-group.has-background h1,
.editor-styles-wrapper .wp-block-group.has-background h2,
.editor-styles-wrapper .wp-block-group.has-background h3,
.editor-styles-wrapper .wp-block-cover h1,
.editor-styles-wrapper .wp-block-cover h2,
.editor-styles-wrapper .wp-block-cover h3 {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
/* PAC FIX: MemberPress Account Payments Page readability */

/* Main account content area */
body.mepr-app-layout,
body.mepr-app-layout .site-main,
body.mepr-app-layout #primary {
  background: #101037 !important;
  color: #DDEBFD !important;
}

/* Page titles */
body.mepr-app-layout h1,
body.mepr-app-layout h2,
body.mepr-app-layout h3,
body.mepr-app-layout .mepr_page_header,
body.mepr-app-layout .wp-block-heading {
  color: #DDEBFD !important;
  opacity: 1 !important;
}

/* Account content wrapper */
body.mepr-app-layout #mepr-account-content,
body.mepr-app-layout .mp_wrapper,
body.mepr-app-layout .mepr-payments-wrapper {
  background: transparent !important;
  color: #DDEBFD !important;
}

/* Payments table */
body.mepr-app-layout table,
body.mepr-app-layout .mepr-pro-account-table,
body.mepr-app-layout #mepr-account-payments-table {
  background: #1B1B5E !important;
  color: #DDEBFD !important;
  border-color: rgba(221, 235, 253, 0.35) !important;
}

/* Table headers */
body.mepr-app-layout .mepr-pro-account-table thead,
body.mepr-app-layout .mepr-pro-account-table thead tr,
body.mepr-app-layout .mepr-pro-account-table th {
  background: #212172 !important;
  color: #DDEBFD !important;
  border-color: rgba(221, 235, 253, 0.45) !important;
  opacity: 1 !important;
}

/* Table rows and cells */
body.mepr-app-layout .mepr-pro-account-table tbody,
body.mepr-app-layout .mepr-pro-account-table tbody tr,
body.mepr-app-layout .mepr-pro-account-table td {
  background: #1B1B5E !important;
  color: #F7FAFF !important;
  border-color: rgba(221, 235, 253, 0.25) !important;
  opacity: 1 !important;
}

/* Text inside cells */
body.mepr-app-layout .mepr-pro-account-table td *,
body.mepr-app-layout .mepr-pro-account-table p,
body.mepr-app-layout .mepr-pro-account-table strong,
body.mepr-app-layout .mepr-payment-row__desc,
body.mepr-app-layout .text-gray {
  color: #F7FAFF !important;
  -webkit-text-fill-color: #F7FAFF !important;
  opacity: 1 !important;
}

/* Links in account tables */
body.mepr-app-layout .mepr-pro-account-table a,
body.mepr-app-layout #mepr-account-content a {
  color: #69ABFB !important;
  -webkit-text-fill-color: #69ABFB !important;
  opacity: 1 !important;
}

/* Status badge */
body.mepr-app-layout .mepr-pro-account-table__badge,
body.mepr-app-layout .mepr-pro-account-table__badge.--is-complete,
body.mepr-app-layout .btn.mepr-pro-account-table__badge {
  background: #D8F5DD !important;
  color: #14532D !important;
  -webkit-text-fill-color: #14532D !important;
  border: 1px solid #86EFAC !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* Left account navigation */
body.mepr-app-layout #mepr-account-nav {
  background: #06429E !important;
}

body.mepr-app-layout #mepr-account-nav .mepr-nav-item a {
  color: #DDEBFD !important;
  -webkit-text-fill-color: #DDEBFD !important;
  opacity: 1 !important;
}

body.mepr-app-layout #mepr-account-nav .mepr-nav-item a:hover,
body.mepr-app-layout #mepr-account-nav .mepr-active-nav-tab a {
  background: #043277 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
/* Fix duplicate radio / checkbox circles in MemberPress Courses quizzes */

/* Keep MemberPress native radio/checkbox inputs hidden */
body.single-mpcs-quiz .mpcs-quiz-question-option input[type="radio"],
body.single-mpcs-quiz .mpcs-quiz-question-option input[type="checkbox"],
body.single-mpcs-quiz .mpcs-quiz-question-option input.mpcs-quiz-question-field[type="radio"],
body.single-mpcs-quiz .mpcs-quiz-question-option input.mpcs-quiz-question-field[type="checkbox"] {
  position: absolute !important;
  top: 50% !important;
  left: 10px !important;
  width: 20px !important;
  height: 20px !important;
  margin-top: -10px !important;
  opacity: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Keep the MemberPress visual radio/checkbox icons visible */
body.single-mpcs-quiz .mpcs-quiz-question-option input + label i {
  display: inline-block;
}

/* Show checked icon only when selected */
body.single-mpcs-quiz .mpcs-quiz-question-option input[type="radio"]:checked + label i.mpcs-radio-checked,
body.single-mpcs-quiz .mpcs-quiz-question-option input[type="checkbox"]:checked + label i.mpcs-checkbox-checked {
  display: inline-block !important;
}

/* Hide checked icon when not selected */
body.single-mpcs-quiz .mpcs-quiz-question-option input[type="radio"]:not(:checked) + label i.mpcs-radio-checked,
body.single-mpcs-quiz .mpcs-quiz-question-option input[type="checkbox"]:not(:checked) + label i.mpcs-checkbox-checked {
  display: none !important;
}

/* Hide unchecked icon when selected */
body.single-mpcs-quiz .mpcs-quiz-question-option input[type="radio"]:checked + label i.mpcs-radio-unchecked,
body.single-mpcs-quiz .mpcs-quiz-question-option input[type="checkbox"]:checked + label i.mpcs-checkbox-unchecked {
  display: none !important;
}
Yes. The issue is the same pattern as before: your site’s global dark theme is setting **body text to white**, but the MemberPress course cards have a **white card background**. The excerpt text is there, but it is white on white.

Your page source confirms that the course cards contain text inside `.card-body p`, for example the course excerpt paragraph is present, but the CSS has `body{color:#fff}` while the cards are `background:#fff` .

Add this CSS:

```css
/* Fix MemberPress Courses archive cards: dark text on white cards */

.post-type-archive-mpcs-course .mpcs-cards .card {
  background: #ffffff !important;
  color: #071827 !important;
}

.post-type-archive-mpcs-course .mpcs-cards .card .card-header,
.post-type-archive-mpcs-course .mpcs-cards .card .card-body,
.post-type-archive-mpcs-course .mpcs-cards .card .card-footer {
  color: #071827 !important;
}

.post-type-archive-mpcs-course .mpcs-cards .card .card-body p {
  color: #071827 !important;
  font-size: 0.82rem;
  line-height: 1.45;
}

.post-type-archive-mpcs-course .mpcs-cards .card .card-title h2,
.post-type-archive-mpcs-course .mpcs-cards .card .card-title h2 a {
  color: #007cba !important;
}

.post-type-archive-mpcs-course .mpcs-cards .card .card-footer,
.post-type-archive-mpcs-course .mpcs-cards .card .card-footer span,
.post-type-archive-mpcs-course .mpcs-cards .card .card-footer a {
  color: #007cba !important;
}
```

Put it here:

**WordPress Dashboard → Appearance → Customize → Additional CSS**

Then click **Publish**.

This should make the text in those white excerpt fields visible without disrupting the dark blue page background. If the text still does not change, clear your site cache and browser cache, because this page is being served through the AMP/Classroom template and can be stubborn about cached CSS.