/* === TRANSPARENT HEADER — PERFECT TUCK === */

/* Courses: zero top spacing + your -8px tweak on the Spectra container */
body.single-mpcs-course .site-content,
body.single-mpcs-course .ast-container,
body.single-mpcs-course #primary,
body.single-mpcs-course #main,
body.single-mpcs-course article,
body.single-mpcs-course .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
		margin-bottom: 32px !important;
}
body.single-mpcs-course .wp-block-uagb-container.alignfull:first-of-type {
    margin-top: -30px !important;   /* your working value — change only if needed */
}

/* Lessons: small top padding so nothing clips under header */
body.single-mpcs-lesson .site-content,
body.single-mpcs-lesson .ast-container,
body.single-mpcs-lesson #primary,
body.single-mpcs-lesson #main,
body.single-mpcs-lesson article,
body.single-mpcs-lesson .entry-content {
    padding-top: 40px !important;
		padding-bottom: 40px !important;
    margin-top: 0 !important;
}

/* Force header fully transparent on both */
body.single-mpcs-course .site-header,
body.single-mpcs-lesson .site-header {
    background: transparent !important;
    box-shadow: none !important;
}

/* === DARK THEME — ONLY courses & lessons === */
body.single-mpcs-course,
body.single-mpcs-lesson {
    background-color: #22223B !important;
}

/* White text everywhere */
body.single-mpcs-course .site-content,
body.single-mpcs-lesson .site-content,
body.single-mpcs-course .entry-content,
body.single-mpcs-lesson .entry-content {
    color: #ffffff !important;
}

/* Hide original title + author/date */
body.single-mpcs-course .entry-title,
body.single-mpcs-course .entry-meta,
body.single-mpcs-lesson .entry-title,
body.single-mpcs-lesson .entry-meta {
    display: none !important;
}

/* Header menu links = pure white */
body.single-mpcs-course .main-header-menu a,
body.single-mpcs-lesson .main-header-menu a {
    color: #ffffff !important;
}
body.single-mpcs-course .main-header-menu a:hover,
body.single-mpcs-lesson .main-header-menu a:hover {
    color: #98C263 !important;
}

/* Back to All Courses button (manual) */
.back-to-courses-link {
    display: inline-block !important;
    background-color: #98C263 !important;
    color: #22223B !important;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    margin: 25px 0 40px 20px;
    transition: all 0.3s ease;
}
.back-to-courses-link:hover {
    background-color: #ffffff !important;
    color: #98C263 !important;
    transform: translateY(-2px);
}

/* Breadcrumbs */
.mpcs-breadcrumbs {
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    padding-bottom: 2.5rem !important;
    color: #98C263 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

/* Hide useless global post navigation */
body.single-mpcs-course .navigation.post-navigation,
body.single-mpcs-lesson .navigation.post-navigation {
    display: none !important;
}

/* Lesson navigation */
#mpcs-lesson-navigation {
    margin-top: 3rem !important;
    padding: 2rem 0 !important;
    border-top: 2px solid rgba(152, 194, 99, 0.3) !important;
}
#mpcs-lesson-navigation a {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
}
#mpcs-lesson-navigation a:hover {
    background-color: #98C263 !important;
    color: #22223B !important;
}

/* Brand buttons & progress */
body.single-mpcs-course .mpcs-button,
body.single-mpcs-lesson .mpcs-button,
.mpcs-progress-bar {
    background-color: #98C263 !important;
    color: #22223B !important;
    border-radius: 8px !important;
}

/* Links = cool sky blue (excluding certificate button) */
body.single-mpcs-course a:not(.main-header-menu a):not(.mpcs-button):not(.back-to-courses-link):not(.mpcs-certificate-link),
body.single-mpcs-lesson a:not(.main-header-menu a):not(.mpcs-button):not(.back-to-courses-link):not(.mpcs-certificate-link) {
/*     color: #22223B !important; */
		text-decoration: none;
}
body.single-mpcs-course a:hover:not(.main-header-menu a):not(.mpcs-button):not(.back-to-courses-link),
body.single-mpcs-lesson a:hover:not(.main-header-menu a):not(.mpcs-button):not(.back-to-courses-link) {
    color: #98C263 !important;
}

/* === #BOOKMARK SECTION === */
#bookmark {
    background: rgba(152, 194, 99, 0.08) !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
    border: 1px solid rgba(152, 194, 99, 0.2) !important;
}
#bookmark .mpcs-section-header {
    background-color: #98C263 !important;
    color: #22223B !important;
    padding: 1rem 1.5rem !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
}
#bookmark .mpcs-progress-bar-title {
    color: #22223B !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
}
#bookmark .course-progress-bar-main,
#bookmark .mpcs-progress-bar > div[role="progressbar"] {
    display: none !important;
}
#bookmark #bookmark_link {
    display: none !important;
}

/* === #SECTION1 === */
#section1 .mpcs-section-header {
    display: none !important;
}
#section1 {
    background: rgba(34, 34, 59, 0.6) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    border: none !important;
}
#section1 .mpcs-section-title-text {
    color: #ffffff !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
}
.mpcs-lesson {
    background: rgba(245, 214, 204, 0.08) !important;
    border-radius: 8px !important;
    margin-bottom: 1rem !important;
    padding: 1rem !important;
}
.mpcs-lesson-link {
    color: #ffffff !important;
    font-weight: 600 !important;
}




/* === DOWNLOAD YOUR CERTIFICATE BUTTON — WHITE TEXT BY DEFAULT === */
.mpcs-certificate-link,
.mpcs-certificate-link.mpcs-button,
a.mpcs-certificate-link {
    display: inline-block !important;
    background-color: #98C263 !important;
    color: #ffffff !important;           /* White text by default */
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    margin: 2rem 0 1rem 0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(152, 194, 99, 0.3);
}

.mpcs-certificate-link:hover,
.mpcs-certificate-link.mpcs-button:hover,
a.mpcs-certificate-link:hover {
    background-color: #ffffff !important;
    color: #22223B !important;           /* Dark text on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(152, 194, 99, 0.4);
}



/* === DOWNLOAD YOUR CERTIFICATE BUTTON — WHITE TEXT BY DEFAULT === */
body.single-mpcs-course .mpcs-certificate-link,
body.single-mpcs-course .mpcs-certificate-link a,
body.single-mpcs-course a.mpcs-certificate-link,
.mpcs-certificate-link,
.mpcs-certificate-link a,
a.mpcs-certificate-link,
.mpcs-certificate-link.mpcs-button,
.mpcs-certificate-link.mpcs-button a {
    color: #ffffff !important;
    text-decoration: none !important;
}

body.single-mpcs-course .mpcs-certificate-link:hover,
body.single-mpcs-course .mpcs-certificate-link a:hover,
body.single-mpcs-course a.mpcs-certificate-link:hover,
.mpcs-certificate-link:hover,
.mpcs-certificate-link a:hover,
a.mpcs-certificate-link:hover,
.mpcs-certificate-link.mpcs-button:hover,
.mpcs-certificate-link.mpcs-button a:hover {
    color: #22223B !important;
    text-decoration: none !important;
}

/* =============================================
   SMALL TWEAKS ONLY - Courses / Lessons
   ============================================= */

/* Next Lesson button - turned into a proper branded button */
#mpcs-lesson-navigation a {
    background-color: #98C263 !important;
    color: #22223B !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.3s ease;
}

#mpcs-lesson-navigation a:hover {
    background-color: #7EB14E !important;
    transform: translateY(-2px);
}

/* ULTRA-SPECIFIC BREADCRUMB FIX */
.mpcs-breadcrumbs .mpcs-breadcrumb:not(.mpcs-active) a {
    color: #ffffff !important;
}


























/* =============================================
   MPCS QUIZ PAGE - Dark Professional
   Matches the rest of the courses/lessons styling
   ============================================= */

body.single-mpcs-quiz {
    background-color: #22223B !important;
}

/* Page title */
body.single-mpcs-quiz .entry-title {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

/* Main quiz container */
body.single-mpcs-quiz .entry-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Individual question cards */
body.single-mpcs-quiz .mpcs-quiz-question {
    background: #2C2C4E;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 24px;
    border: 1px solid #3A3A5E;
}

/* Question labels / legends */
body.single-mpcs-quiz .mpcs-quiz-question-label,
body.single-mpcs-quiz .mpcs-quiz-question legend {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Radio button labels */
body.single-mpcs-quiz .mpcs-quiz-question-option-label {
    color: #F0F0F5;
    font-size: 1.05rem;
}

/* Textareas (essay questions) */
body.single-mpcs-quiz .mpcs-quiz-question-field-essay {
    background: #36365A !important;
    border: 2px solid #55505C !important;
    border-radius: 12px;
    color: #F0F0F5;
    padding: 16px;
    font-size: 16px;
    min-height: 140px;
}

body.single-mpcs-quiz .mpcs-quiz-question-field-essay:focus {
    border-color: #98C263 !important;
    box-shadow: 0 0 0 4px rgba(152, 194, 99, 0.3);
}

/* Submit button */
body.single-mpcs-quiz #mpcs-quiz-submit-bottom,
body.single-mpcs-quiz .mpcs-quiz-submit {
    background-color: #98C263 !important;
    color: #22223B !important;
    padding: 18px 40px !important;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px !important;
    width: 100%;
    max-width: 320px;
    margin: 30px auto 0;
    display: block;
    transition: all 0.3s ease;
}

body.single-mpcs-quiz #mpcs-quiz-submit-bottom:hover,
body.single-mpcs-quiz .mpcs-quiz-submit:hover {
    background-color: #7EB14E !important;
    transform: translateY(-3px);
}

/* Breadcrumbs on quiz page - non-active links */
body.single-mpcs-quiz .mpcs-breadcrumbs .mpcs-breadcrumb:not(.mpcs-active) a {
    color: #F4D6CC !important;
}









/* =============================================
   QUIZ PAGE - SPECIFIC TWEAKS ONLY
   ============================================= */

/* Transparent header + top margin (matches lesson pages) */
body.single-mpcs-quiz .site-header {
    background: transparent !important;
    box-shadow: none !important;
}

body.single-mpcs-quiz .site-content,
body.single-mpcs-quiz .entry-content {
    padding-top: 40px !important;
}

/* Hide page title and author/date meta */
body.single-mpcs-quiz .entry-title,
body.single-mpcs-quiz .entry-meta {
    display: none !important;
}

/* Essay / short answer question labels - make text white */
body.single-mpcs-quiz .mpcs-quiz-question-label,
body.single-mpcs-quiz .mpcs-quiz-question-label label {
    color: #ffffff !important;
}

/* Short answer fields ("Your name", "Your job title") - dark background + white text */
body.single-mpcs-quiz .mpcs-quiz-question-field-short-answer {
    background-color: #36365A !important;
    color: #F0F0F5 !important;
    border: 2px solid #55505C !important;
    border-radius: 12px;
}

/* Multiple choice - selected option turns brand green */
body.single-mpcs-quiz .mpcs-quiz-question-option input[type="radio"]:checked + label + label,
body.single-mpcs-quiz .mpcs-quiz-question-option input[type="radio"]:checked ~ label.mpcs-quiz-question-option-label {
    color: #98C263 !important;
}



/* =============================================
   QUIZ PAGE - FINAL TWEAKS
   Bring back title + force transparent header
   ============================================= */

body.single-mpcs-quiz .site-header {
    background: transparent !important;
    box-shadow: none !important;
}

body.single-mpcs-quiz .entry-title {
    display: block !important;
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

/* Keep meta hidden */
body.single-mpcs-quiz .entry-meta {
    display: none !important;
}















/* =============================================
   MEMBERSHIP SIGN-UP PAGES (/register/...)
   Dark style to match the price cards & course pages.
   Only affects MemberPress membership sign-up pages.
   ============================================= */

/* Page background + room under the see-through header */
body.single-memberpressproduct {
    background-color: #22223B !important;
}
body.single-memberpressproduct .site-content {
    padding-top: 130px !important;
    padding-bottom: 80px !important;
}

/* Hide "By Editorial Staff / date" and "Next Product" */
body.single-memberpressproduct .entry-meta,
body.single-memberpressproduct .post-navigation {
    display: none !important;
}

/* Center everything in one column */
body.single-memberpressproduct .ast-article-single {
    max-width: 680px;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Title + intro text */
body.single-memberpressproduct .entry-title {
    color: #ffffff !important;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}
body.single-memberpressproduct .entry-content > p {
    color: #C8C8D8;
    font-size: 17px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 32px;
}

/* The form card */
body.single-memberpressproduct .mp_wrapper {
    background: #2C2C4E;
    border: 1px solid #3A3A5E;
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

/* "Terms: $150 / Year" at the top of the form */
body.single-memberpressproduct .mepr_price {
    background: rgba(152, 194, 99, 0.12);
    border: 1px solid rgba(152, 194, 99, 0.35);
    border-radius: 12px;
    padding: 14px 18px !important;
    margin-bottom: 24px !important;
    color: #98C263 !important;
    font-size: 18px;
    text-align: center;
}
body.single-memberpressproduct .mepr_price * {
    color: #98C263 !important;
}

/* Field spacing + labels */
body.single-memberpressproduct .mp-form-row {
    margin-bottom: 18px;
}
body.single-memberpressproduct .mp-form-label label,
body.single-memberpressproduct .mepr-payment-methods-wrapper legend,
body.single-memberpressproduct .mepr-payment-method-label-text {
    color: #F0F0F5 !important;
    font-size: 15px;
    font-weight: 600;
}

/* Text boxes, dropdowns, card fields */
body.single-memberpressproduct .mepr-signup-form input[type="text"],
body.single-memberpressproduct .mepr-signup-form input[type="email"],
body.single-memberpressproduct .mepr-signup-form input[type="password"],
body.single-memberpressproduct .mepr-signup-form input[type="tel"],
body.single-memberpressproduct .mepr-signup-form input[type="number"],
body.single-memberpressproduct .mepr-signup-form select,
body.single-memberpressproduct .mepr-signup-form textarea {
    background-color: #36365A !important;
    color: #F0F0F5 !important;
    border: 2px solid #55505C !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    min-height: 48px;
    box-shadow: none !important;
}
body.single-memberpressproduct .mepr-signup-form input::placeholder {
    color: #9A9AB5 !important;
}
body.single-memberpressproduct .mepr-signup-form input:focus,
body.single-memberpressproduct .mepr-signup-form select:focus,
body.single-memberpressproduct .mepr-signup-form textarea:focus {
    border-color: #98C263 !important;
    box-shadow: 0 0 0 4px rgba(152, 194, 99, 0.25) !important;
    outline: none !important;
}
body.single-memberpressproduct .mepr-signup-form select option {
    background: #2C2C4E;
    color: #F0F0F5;
}

/* Error messages ("First Name Required") */
body.single-memberpressproduct .cc-error,
body.single-memberpressproduct .mepr_error,
body.single-memberpressproduct .mepr-form-has-errors {
    color: #FF9B9B !important;
}
body.single-memberpressproduct .mepr_error {
    background: rgba(255, 107, 107, 0.12) !important;
    border: 1px solid rgba(255, 107, 107, 0.4) !important;
    border-radius: 10px;
    padding: 12px 16px !important;
}
body.single-memberpressproduct .mepr-signup-form input.invalid,
body.single-memberpressproduct .mepr-signup-form select.invalid {
    border-color: #FF6B6B !important;
}

/* Password strength meter */
body.single-memberpressproduct .mp-password-strength-display {
    color: #22223B !important;
    border-radius: 8px;
    padding: 4px 12px;
    font-weight: 600;
}

/* Links inside the form ("Have a coupon?", Terms of Service) */
body.single-memberpressproduct .mp_wrapper a {
    color: #98C263 !important;
    text-decoration: underline;
}
body.single-memberpressproduct .mp_wrapper a:hover {
    color: #ffffff !important;
}

/* Terms checkbox line */
body.single-memberpressproduct .mepr_tos,
body.single-memberpressproduct .mepr_tos label {
    color: #F0F0F5 !important;
}
body.single-memberpressproduct .mepr_tos input[type="checkbox"] {
    accent-color: #98C263;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Payment section */
body.single-memberpressproduct .mepr-payment-methods-wrapper {
    border: 1px solid #3A3A5E !important;
    border-radius: 14px;
    padding: 20px !important;
    margin: 24px 0 !important;
    background: rgba(0, 0, 0, 0.12);
}
body.single-memberpressproduct .mepr-payment-methods-wrapper .mepr-form-radio {
    accent-color: #98C263;
}
body.single-memberpressproduct .mepr-payment-method-desc-text {
    color: #C8C8D8 !important;
    background: transparent !important;
    border: 0 !important;
}
/* Card number / expiry / CVC: leave room for the little icons, drop the white lines */
body.single-memberpressproduct .mepr-signup-form .card-js input[type] {
    padding-left: 42px !important;
}
body.single-memberpressproduct .card-js .card-number-wrapper,
body.single-memberpressproduct .card-js .expiry-wrapper,
body.single-memberpressproduct .card-js .cvc-wrapper {
    box-shadow: none !important;
    background: transparent !important;
}

/* Sign Up button */
body.single-memberpressproduct .mepr-signup-form .mepr-submit {
    display: block;
    width: 100%;
    background-color: #98C263 !important;
    color: #22223B !important;
    border: 0 !important;
    border-radius: 12px !important;
    padding: 18px 24px !important;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
body.single-memberpressproduct .mepr-signup-form .mepr-submit:hover {
    background-color: #A9D276 !important;
    transform: translateY(-2px);
}

/* Phones */
@media (max-width: 600px) {
    body.single-memberpressproduct .site-content {
        padding-top: 110px !important;
    }
    body.single-memberpressproduct .entry-title {
        font-size: 30px;
    }
    body.single-memberpressproduct .mp_wrapper {
        padding: 24px 18px;
        border-radius: 16px;
    }
}