/**
 * EBA Mentorship Page — modern widgets for /mentorship page.
 * Wrapper class: .eba-mp
 */

.eba-wrapper.eba-mp { background: var(--eba-ivory); }

/* ============================================================
 * SHARED — section title / button / badge
 * ============================================================ */
.eba-wrapper.eba-mp .eba-mp__section-title,
.eba-wrapper.eba-mp h2.eba-mp__section-title {
    font-family: var(--eba-font-heading);
    font-size: clamp(1.875rem, 3vw + 0.5rem, 2.75rem);
    line-height: 1.2;
    font-weight: 400;
    color: var(--eba-charcoal) !important;
    margin: 0 0 var(--eba-space-3);
    letter-spacing: -0.02em;
    text-shadow: none;
}

.eba-wrapper.eba-mp .eba-mp__section-desc {
    color: var(--eba-text-muted) !important;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 60ch;
}

/* ===== BADGE — gold tinted pill (reference) ===== */
.eba-wrapper.eba-mp .eba-mp__badge,
.eba-mp .eba-mp__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(221, 171, 44, 0.15);
    border: 1px solid rgba(221, 171, 44, 0.3);
    color: #ddab2c;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 24px;
}

.eba-wrapper.eba-mp .eba-mp__badge svg,
.eba-mp .eba-mp__badge svg { color: inherit; fill: currentColor; flex-shrink: 0; }

/* ===== BUTTONS ===== */
.eba-wrapper.eba-mp .eba-mp__btn,
.eba-wrapper.eba-mp a.eba-mp__btn,
.eba-wrapper.eba-mp button.eba-mp__btn,
.eba-mp a.eba-mp__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 32px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    text-shadow: none;
    white-space: nowrap;
}

.eba-wrapper.eba-mp .eba-mp__btn--primary,
.eba-wrapper.eba-mp a.eba-mp__btn--primary,
.eba-mp a.eba-mp__btn--primary {
    background: #ddab2c;
    background-image: none;
    color: #0f1729;
}

.eba-wrapper.eba-mp .eba-mp__btn--primary:hover,
.eba-wrapper.eba-mp a.eba-mp__btn--primary:hover,
.eba-mp a.eba-mp__btn--primary:hover {
    background: #c89821;
    background-image: none;
    color: #0f1729;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(221, 171, 44, 0.45);
}

.eba-wrapper.eba-mp .eba-mp__btn--outline,
.eba-wrapper.eba-mp a.eba-mp__btn--outline,
.eba-mp a.eba-mp__btn--outline {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.eba-wrapper.eba-mp .eba-mp__btn--outline:hover,
.eba-wrapper.eba-mp a.eba-mp__btn--outline:hover,
.eba-mp a.eba-mp__btn--outline:hover {
    background: #ffffff;
    color: #0f1729;
    border-color: #ffffff;
    transform: translateY(-1px);
}

.eba-mp__btn svg { transition: transform 0.2s ease; flex-shrink: 0; }
.eba-mp__btn--primary:hover svg { transform: translateX(3px); }

/* ============================================================
 * 1. HERO — reference: emotionalacademy.vercel.app /mentorship.
 * No !important. Compound selectors beat Hello theme.
 * ============================================================ */
.eba-mp__hero {
    position: relative;
    min-height: 640px;
    background-color: #0f1729;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    overflow: hidden;
    padding: 96px 24px;
}

.eba-mp__hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 41, 0.7);
    z-index: 0;
}

.eba-mp__hero-glow {
    position: absolute;
    top: -25%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(221, 171, 44, 0.18) 0%, transparent 65%);
    z-index: 0;
}

/* Boxed container — max-width:1280px, holds the content block. */
.eba-mp__hero-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    width: 100%;
    min-height: inherit;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.eba-mp__hero-inner {
    max-width: 720px;
    width: 100%;
}

/* Alignment classes — rendered by PHP based on header_align setting */
.eba-mp__hero-inner--align-left   { text-align: left; }
.eba-mp__hero-inner--align-center { text-align: center; margin-left: auto; margin-right: auto; }
.eba-mp__hero-inner--align-right  { text-align: right; margin-left: auto; }

.eba-mp__hero-inner--align-left .eba-mp__hero-desc { margin-left: 0; margin-right: auto; }
.eba-mp__hero-inner--align-left .eba-mp__hero-actions { justify-content: flex-start; }

.eba-mp__hero-inner--align-center .eba-mp__hero-desc { margin-left: auto; margin-right: auto; }
.eba-mp__hero-inner--align-center .eba-mp__hero-actions { justify-content: center; }
.eba-mp__hero-inner--align-center .eba-mp__badge { align-self: center; }

.eba-mp__hero-inner--align-right .eba-mp__hero-desc { margin-left: auto; margin-right: 0; }
.eba-mp__hero-inner--align-right .eba-mp__hero-actions { justify-content: flex-end; }
.eba-mp__hero-inner--align-right .eba-mp__badge { align-self: flex-end; }

.eba-wrapper.eba-mp .eba-mp__hero-title,
.eba-mp .eba-mp__hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    text-shadow: none;
}

.eba-wrapper.eba-mp .eba-mp__hero-tagline,
.eba-mp .eba-mp__hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: #ddab2c;
    margin: 0 0 24px;
}

.eba-wrapper.eba-mp .eba-mp__hero-desc,
.eba-mp .eba-mp__hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(248, 246, 241, 0.85);
    max-width: 640px;
    margin: 0 0 32px;
}

.eba-mp__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* ============================================================
 * 2. MEET YOUR MENTOR (Split layout)
 * Reference: emotionalacademy.vercel.app /mentorship "Meet Your Mentor"
 * No !important. Compound selectors win over Hello theme.
 * ============================================================ */
.eba-mp__mentor {
    padding: 80px 24px;
    background: #f1ede8;
}

.eba-mp__mentor .eba-container {
    max-width: 1280px;
    margin: 0 auto;
}

.eba-mp__mentor-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 64px;
    align-items: center;
}

.eba-mp__mentor-image {
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 30px 60px -25px rgba(15, 23, 41, 0.18);
}

.eba-mp__mentor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.eba-mp__mentor-content { min-width: 0; }

.eba-wrapper.eba-mp .eba-mp__mentor-title,
.eba-wrapper.eba-mp h2.eba-mp__mentor-title,
.eba-mp .eba-mp__mentor-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f1729;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
    text-shadow: none;
}

.eba-wrapper.eba-mp .eba-mp__mentor-credentials,
.eba-mp .eba-mp__mentor-credentials {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
    color: #ddab2c;
    margin: 0 0 24px;
}

.eba-wrapper.eba-mp .eba-mp__mentor-bio,
.eba-mp .eba-mp__mentor-bio {
    margin-bottom: 32px;
}

.eba-wrapper.eba-mp .eba-mp__mentor-bio p,
.eba-mp .eba-mp__mentor-bio p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #525e7a;
    margin: 0 0 16px;
}
.eba-wrapper.eba-mp .eba-mp__mentor-bio p:last-child,
.eba-mp .eba-mp__mentor-bio p:last-child { margin-bottom: 0; }

/* CTA button — compound selector wins over Hello theme's `a` color rule */
.eba-wrapper.eba-mp .eba-mp__mentor-cta,
.eba-wrapper.eba-mp a.eba-mp__mentor-cta,
.eba-mp a.eba-mp__mentor-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 32px;
    background: #ddab2c;
    background-image: none;
    color: #0f1729;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.eba-wrapper.eba-mp .eba-mp__mentor-cta:hover,
.eba-wrapper.eba-mp a.eba-mp__mentor-cta:hover,
.eba-mp a.eba-mp__mentor-cta:hover {
    background: #c89821;
    color: #0f1729;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(221, 171, 44, 0.4);
}

.eba-mp__mentor-cta svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.eba-mp__mentor-cta:hover svg { transform: translateX(3px); }

/* ============================================================
 * 3. AUDIENCE — Checkmark list
 * ============================================================ */
.eba-mp__audience {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
    background: #ffffff;
}

.eba-mp__audience-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.eba-mp__audience-list {
    max-width: 720px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eba-mp__audience-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: var(--eba-ivory) !important;
    border: 1px solid var(--eba-border) !important;
    border-radius: 12px;
    color: var(--eba-charcoal) !important;
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: border-color 0.2s, background 0.2s;
}

.eba-mp__audience-list li:hover {
    border-color: var(--eba-gold) !important;
    background: #ffffff !important;
}

.eba-mp__audience-list svg {
    color: var(--eba-gold-dark) !important;
    flex-shrink: 0;
}

/* ============================================================
 * 4. FEATURES — "What You'll Receive" reference cards.
 * No !important. Compound selectors beat Hello theme.
 * ============================================================ */
.eba-mp__features {
    padding: 80px 24px;
    background: #f1ede8;
}

.eba-mp__features .eba-container {
    max-width: 1280px;
    margin: 0 auto;
}

.eba-mp__features-head {
    text-align: center;
    margin-bottom: 48px;
}

.eba-wrapper.eba-mp .eba-mp__features .eba-mp__section-title,
.eba-mp .eba-mp__features .eba-mp__section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f1729;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
    text-shadow: none;
}

.eba-wrapper.eba-mp .eba-mp__features .eba-mp__section-desc,
.eba-mp .eba-mp__features .eba-mp__section-desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #525e7a;
    margin: 0 auto;
    max-width: 720px;
}

.eba-mp__features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.eba-wrapper.eba-mp .eba-mp__feature-card,
.eba-mp .eba-mp__feature-card {
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 2px 8px -2px rgba(15, 23, 41, 0.06);
}

.eba-wrapper.eba-mp .eba-mp__feature-card:hover,
.eba-mp .eba-mp__feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px -12px rgba(15, 23, 41, 0.14);
}

.eba-wrapper.eba-mp .eba-mp__feature-icon,
.eba-mp .eba-mp__feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(221, 171, 44, 0.15);
    color: #ddab2c;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.eba-wrapper.eba-mp .eba-mp__feature-icon svg,
.eba-mp .eba-mp__feature-icon svg {
    width: 20px;
    height: 20px;
    color: inherit;
    fill: currentColor;
}

.eba-wrapper.eba-mp .eba-mp__feature-icon svg path,
.eba-mp .eba-mp__feature-icon svg path {
    fill: currentColor;
}

.eba-wrapper.eba-mp .eba-mp__feature-icon i,
.eba-mp .eba-mp__feature-icon i {
    font-size: 20px;
    color: inherit;
}

.eba-wrapper.eba-mp .eba-mp__feature-title,
.eba-mp .eba-mp__feature-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #0f1729;
    margin: 0 0 8px;
    text-shadow: none;
}

.eba-wrapper.eba-mp .eba-mp__feature-text,
.eba-mp .eba-mp__feature-text {
    font-family: 'Inter', sans-serif;
    color: #525e7a;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.eba-wrapper.eba-mp .eba-mp__features-note,
.eba-mp .eba-mp__features-note {
    font-family: 'Inter', sans-serif;
    text-align: center;
    color: #525e7a;
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    margin: 32px 0 0;
}

/* ============================================================
 * 5. PRICING — Dark section with cards
 * ============================================================ */
.eba-mp__pricing {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
    background: var(--eba-charcoal);
    color: #ffffff;
}

.eba-mp__pricing-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.eba-wrapper.eba-mp .eba-mp__pricing-head .eba-mp__section-title {
    color: #ffffff !important;
}

.eba-wrapper.eba-mp .eba-mp__pricing-head .eba-mp__section-desc {
    color: rgba(255, 255, 255, 0.7) !important;
}

.eba-mp__pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 2vw, 2rem);
    max-width: 920px;
    margin: 0 auto;
}

.eba-mp__price-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px;
    padding: clamp(1.75rem, 3vw, 2.25rem);
    position: relative;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.eba-mp__price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 162, 76, 0.5) !important;
    box-shadow: 0 30px 60px -25px rgba(212, 162, 76, 0.3);
}

.eba-mp__price-card--featured {
    border-color: rgba(212, 162, 76, 0.5) !important;
    background: rgba(212, 162, 76, 0.05) !important;
}

.eba-mp__price-flag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--eba-gold) !important;
    color: var(--eba-charcoal) !important;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eba-wrapper.eba-mp .eba-mp__price-title {
    font-family: var(--eba-font-heading);
    font-size: 1.5rem;
    color: #ffffff !important;
    margin: 0 0 var(--eba-space-3);
    font-weight: 500;
}

.eba-mp__price-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: var(--eba-space-3);
}

.eba-wrapper.eba-mp .eba-mp__price-amount strong {
    font-family: var(--eba-font-heading);
    font-size: clamp(2rem, 3vw, 2.75rem);
    color: var(--eba-gold-light) !important;
    font-weight: 500;
    line-height: 1;
}

.eba-wrapper.eba-mp .eba-mp__price-amount small {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.875rem;
}

.eba-wrapper.eba-mp .eba-mp__price-desc {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 var(--eba-space-4);
}

.eba-mp__price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--eba-space-4);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eba-mp__price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.eba-mp__price-features svg {
    color: var(--eba-gold-light) !important;
    flex-shrink: 0;
}

.eba-mp__price-card .eba-mp__btn {
    width: 100%;
    justify-content: center;
}

/* ============================================================
 * 6. FAQ — Accordion
 * ============================================================ */
.eba-mp__faq {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
    background: var(--eba-ivory);
}

.eba-mp__faq-head {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.eba-mp__faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eba-mp__faq-item {
    background: #ffffff !important;
    border: 1px solid var(--eba-border) !important;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.eba-mp__faq-item[open] {
    border-color: var(--eba-gold) !important;
    box-shadow: 0 8px 20px -10px rgba(212, 162, 76, 0.3);
}

.eba-wrapper.eba-mp .eba-mp__faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    color: var(--eba-charcoal) !important;
    font-family: var(--eba-font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.eba-mp__faq-q::-webkit-details-marker { display: none; }
.eba-mp__faq-q::marker { content: ''; }
.eba-mp__faq-q:hover { color: var(--eba-gold-dark) !important; }

.eba-wrapper.eba-mp .eba-mp__faq-caret {
    color: var(--eba-text-muted) !important;
    transition: transform 0.3s, color 0.2s;
    flex-shrink: 0;
}

.eba-mp__faq-item[open] .eba-mp__faq-caret {
    transform: rotate(180deg);
    color: var(--eba-gold-dark) !important;
}

.eba-wrapper.eba-mp .eba-mp__faq-a {
    padding: 0 20px 16px;
    color: var(--eba-text-muted) !important;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================================
 * 7. DISCLAIMER
 * ============================================================ */
.eba-mp__disclaimer {
    padding: clamp(2rem, 4vw, 3.5rem) 0;
    background: #e9e4dc;
}

.eba-mp__disclaimer-box {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    align-items: flex-start;
}

.eba-mp__disclaimer-icon {
    flex-shrink: 0;
    color: var(--eba-gold-dark) !important;
}

.eba-wrapper.eba-mp .eba-mp__disclaimer-title {
    font-family: var(--eba-font-heading);
    font-size: 1.125rem;
    color: var(--eba-charcoal) !important;
    margin: 0 0 var(--eba-space-2);
    font-weight: 500;
}

.eba-wrapper.eba-mp .eba-mp__disclaimer-text {
    color: var(--eba-text-muted) !important;
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
 * 8. CTA — Final call-to-action
 * ============================================================ */
.eba-mp__cta {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background: var(--eba-ivory);
    text-align: center;
}

.eba-wrapper.eba-mp .eba-mp__cta-title {
    font-family: var(--eba-font-heading);
    font-size: clamp(1.875rem, 3vw + 0.5rem, 2.75rem);
    line-height: 1.2;
    color: var(--eba-charcoal) !important;
    margin: 0 auto 1.25rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    max-width: 26ch;
    text-shadow: none;
}

.eba-wrapper.eba-mp .eba-mp__cta-desc {
    color: var(--eba-text-muted) !important;
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0 auto 2.25rem;
    max-width: 56ch;
}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 1024px) {
    .eba-wrapper.eba-mp .eba-mp__features-grid,
    .eba-mp .eba-mp__features-grid          { grid-template-columns: repeat(2, 1fr); }
    .eba-mp__pricing-grid   { grid-template-columns: 1fr; }

    /* Mentor: force stack on mobile — !important beats Elementor's
       responsive-control inline rule that ties on specificity. */
    .eba-wrapper.eba-mp .eba-mp__mentor-grid,
    .eba-mp .eba-mp__mentor-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        direction: ltr !important;
        text-align: left;
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
    }
    .eba-wrapper.eba-mp .eba-mp__mentor-image,
    .eba-mp .eba-mp__mentor-image {
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
        aspect-ratio: 4 / 5;
    }

    /* Mobile image position (top by default, bottom optional) */
    .eba-mp__mentor-grid--m-image-top .eba-mp__mentor-image    { order: 0; }
    .eba-mp__mentor-grid--m-image-top .eba-mp__mentor-content  { order: 1; }
    .eba-mp__mentor-grid--m-image-bottom .eba-mp__mentor-image   { order: 1; }
    .eba-mp__mentor-grid--m-image-bottom .eba-mp__mentor-content { order: 0; }

    .eba-wrapper.eba-mp .eba-mp__mentor-credentials,
    .eba-mp .eba-mp__mentor-credentials { font-size: 18px; }
}

@media (max-width: 767px) {
    .eba-mp__hero            { min-height: 420px; padding: 3rem 1rem; }
    .eba-wrapper.eba-mp .eba-mp__features-grid,
    .eba-mp .eba-mp__features-grid          { grid-template-columns: 1fr !important; }
    .eba-mp__hero-actions    { flex-direction: column; align-items: stretch; }
    .eba-wrapper.eba-mp .eba-mp__btn { width: 100%; justify-content: center; }
    .eba-mp__price-flag      { right: 12px; top: -10px; }
    .eba-mp__disclaimer-box  { flex-direction: column; gap: 12px; align-items: flex-start; }
    .eba-wrapper.eba-mp .eba-mp__hero-title { font-size: clamp(1.625rem, 6vw + 0.5rem, 2.125rem); }
    .eba-mp__audience-list li { padding: 12px 16px; font-size: 0.875rem; }
    .eba-wrapper.eba-mp .eba-mp__feature-card,
    .eba-mp .eba-mp__feature-card           { padding: 24px 20px; }

    /* Mentor — even more compact on phones */
    .eba-mp__mentor          { padding: 48px 16px; }
    .eba-wrapper.eba-mp .eba-mp__mentor-grid,
    .eba-mp .eba-mp__mentor-grid {
        gap: 24px !important;
        text-align: center;
        grid-template-columns: 1fr !important;
    }
    .eba-wrapper.eba-mp .eba-mp__mentor-image,
    .eba-mp .eba-mp__mentor-image    {
        max-width: 280px;
        aspect-ratio: 4 / 5;
        border-radius: 12px;
        margin: 0 auto;
    }
    .eba-wrapper.eba-mp .eba-mp__mentor-title,
    .eba-mp .eba-mp__mentor-title {
        font-size: 28px;
    }
    .eba-wrapper.eba-mp .eba-mp__mentor-bio p,
    .eba-mp .eba-mp__mentor-bio p {
        font-size: 15px;
        line-height: 1.65;
    }
}

/* ============================================================
 * BOOKING MODAL — Modern fixed overlay
 * ============================================================ */
.eba-mp__modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.eba-mp__modal[hidden] { display: none !important; }

.eba-mp__modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 15, 30, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: ebaMpFade 0.25s ease;
    cursor: pointer;
}

.eba-mp__modal-panel {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    width: min(680px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 30px 60px -30px rgba(15, 23, 42, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: ebaMpIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    border: 1px solid rgba(212, 162, 76, 0.15);
}

@keyframes ebaMpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ebaMpIn   { from { opacity: 0; transform: scale(0.92) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.eba-mp__modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(135deg, #ffffff 0%, #f8f5f0 100%);
    flex-shrink: 0;
}

.eba-wrapper.eba-mp .eba-mp__modal-header h3,
.eba-mp__modal-header h3 {
    font-family: var(--eba-font-heading) !important;
    font-size: 1.625rem !important;
    color: #0f172a !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.eba-mp__modal-close {
    background: rgba(15, 23, 42, 0.05) !important;
    border: none !important;
    color: #475569 !important;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.eba-mp__modal-close:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    transform: rotate(90deg);
}

.eba-mp__modal-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0; /* Critical for flex children to scroll properly */
    overflow: hidden;
}

.eba-mp__modal-body {
    padding: 22px 28px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar */
.eba-mp__modal-body::-webkit-scrollbar { width: 6px; }
.eba-mp__modal-body::-webkit-scrollbar-track { background: transparent; }
.eba-mp__modal-body::-webkit-scrollbar-thumb { background: rgba(212, 162, 76, 0.4); border-radius: 3px; }
.eba-mp__modal-body::-webkit-scrollbar-thumb:hover { background: rgba(212, 162, 76, 0.7); }

.eba-mp__modal-intro {
    color: #475569 !important;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 22px;
    padding: 12px 16px;
    background: rgba(212, 162, 76, 0.08);
    border-left: 3px solid var(--eba-gold);
    border-radius: 6px;
}

.eba-mp__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.eba-mp__form-field {
    display: block;
    margin-bottom: 14px;
}

.eba-mp__form-field > span {
    display: block;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    color: #0f172a !important;
    margin-bottom: 6px !important;
    text-transform: none;
    letter-spacing: 0.005em;
}

.eba-mp__form-field em {
    color: #d4a24c;
    font-style: normal;
    font-weight: 700;
    margin-left: 2px;
}

.eba-wrapper.eba-mp .eba-mp__modal input[type="text"],
.eba-wrapper.eba-mp .eba-mp__modal input[type="email"],
.eba-wrapper.eba-mp .eba-mp__modal input[type="tel"],
.eba-wrapper.eba-mp .eba-mp__modal select,
.eba-wrapper.eba-mp .eba-mp__modal textarea {
    width: 100%;
    padding: 11px 14px !important;
    border: 1px solid var(--eba-border) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    font-family: var(--eba-font-body) !important;
    font-size: 0.9375rem !important;
    color: var(--eba-charcoal) !important;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
    line-height: 1.4;
}

.eba-wrapper.eba-mp .eba-mp__modal textarea {
    resize: vertical;
    min-height: 80px;
    font-family: var(--eba-font-body);
}

.eba-wrapper.eba-mp .eba-mp__modal input:focus,
.eba-wrapper.eba-mp .eba-mp__modal select:focus,
.eba-wrapper.eba-mp .eba-mp__modal textarea:focus {
    outline: none;
    border-color: var(--eba-gold) !important;
    box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.18) !important;
}

.eba-mp__form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 18px;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--eba-text-muted) !important;
}

.eba-wrapper.eba-mp .eba-mp__form-consent input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--eba-gold-dark);
}

.eba-mp__modal-error {
    background: #fef2f2 !important;
    color: #991b1b !important;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    border: 1px solid #fecaca;
    margin-bottom: 14px;
}

.eba-mp__modal-error[hidden] { display: none !important; }

.eba-mp__modal-footer {
    padding: 18px 28px 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 30%);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
    box-shadow: 0 -8px 24px -12px rgba(15, 23, 42, 0.1);
    text-align: center;
}

.eba-mp__modal-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 12px 0 0 !important;
    font-size: 0.75rem !important;
    color: #64748b !important;
}

.eba-mp__modal-secure svg { color: #d4a24c; flex-shrink: 0; }

/* ===== MODAL BUTTONS — bulletproof against Hello theme (modal lives in <body>) ===== */
.eba-mp__modal .eba-mp__btn,
[data-book-modal] .eba-mp__btn,
button.eba-mp__btn[data-submit] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px !important;
    border-radius: 12px !important;
    font-family: inherit !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer;
    border: 1px solid transparent !important;
    transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
    background-image: none !important;
    text-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    line-height: 1.2;
}

.eba-mp__modal .eba-mp__btn--primary,
[data-book-modal] .eba-mp__btn--primary,
button.eba-mp__btn--primary[data-submit] {
    background: #d4a24c !important;
    background-color: #d4a24c !important;
    color: #0f172a !important;
    border-color: #d4a24c !important;
    box-shadow: 0 8px 22px -6px rgba(212, 162, 76, 0.5) !important;
}

.eba-mp__modal .eba-mp__btn--primary:hover,
[data-book-modal] .eba-mp__btn--primary:hover,
button.eba-mp__btn--primary[data-submit]:hover {
    background: #b58834 !important;
    background-color: #b58834 !important;
    color: #ffffff !important;
    border-color: #b58834 !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -8px rgba(212, 162, 76, 0.65) !important;
}

.eba-mp__modal .eba-mp__btn--primary:disabled,
[data-book-modal] .eba-mp__btn--primary:disabled {
    opacity: 0.7;
    cursor: wait !important;
    transform: none;
}

.eba-mp__modal .eba-mp__btn svg,
[data-book-modal] .eba-mp__btn svg {
    transition: transform 0.2s;
    stroke: currentColor !important;
}

.eba-mp__modal .eba-mp__btn--primary:hover svg,
[data-book-modal] .eba-mp__btn--primary:hover svg {
    transform: translateX(3px);
}

/* Submit button — auto width, centered (not full width) */
.eba-mp__modal-footer .eba-mp__btn,
[data-book-modal] .eba-mp__modal-footer .eba-mp__btn {
    width: auto !important;
    min-width: 240px;
}

@media (max-width: 640px) {
    .eba-mp__modal-panel  { max-height: 100vh; border-radius: 20px 20px 0 0; width: 100%; }
    .eba-mp__modal        { padding: 0; align-items: flex-end; }
    .eba-mp__form-row     { grid-template-columns: 1fr; gap: 0; }
    .eba-mp__modal-header { padding: 20px 20px 14px; }
    .eba-mp__modal-body   { padding: 16px 20px; }
    .eba-mp__modal-footer { padding: 14px 20px 18px; }
    .eba-wrapper.eba-mp .eba-mp__modal-header h3 { font-size: 1.375rem !important; }

    /* Drag indicator on mobile bottom-sheet */
    .eba-mp__modal-panel::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: #cbd5e1;
        border-radius: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eba-mp__feature-card,
    .eba-mp__price-card,
    .eba-mp__faq-item,
    .eba-mp__btn,
    .eba-mp__audience-list li,
    .eba-mp__faq-caret { transition: none !important; }
}
