/* =============================================================
   FusionPilatesEDU — 2026 Design System
   Prefix: fdu-  (avoids Bootstrap 3 conflicts)
   Fonts: Inter + Fraunces defined in style.css via @font-face
   ============================================================= */

/* -----------------------------------------------------------
   1. CSS Variables
   ----------------------------------------------------------- */
:root {
    /* Brand palette */
    --fdu-navy:        #1a2332;
    --fdu-coral:       #ff6b5a;
    --fdu-sage:        #a8c69f;
    --fdu-cream:       #faf8f3;
    --fdu-white:       #ffffff;

    /* Supporting */
    --fdu-navy-light:  #243044;
    --fdu-coral-dark:  #e05545;
    --fdu-sage-dark:   #7faa74;
    --fdu-text:        #1a2332;
    --fdu-text-muted:  #5a6a7a;
    --fdu-border:      #dde4ea;

    /* Typography */
    --fdu-font-serif:  'Fraunces', Georgia, serif;
    --fdu-font-sans:   'Inter', system-ui, sans-serif;

    /* Spacing */
    --fdu-space-xs:    0.5rem;
    --fdu-space-sm:    1rem;
    --fdu-space-md:    2rem;
    --fdu-space-lg:    4rem;
    --fdu-space-xl:    6rem;

    /* Radius */
    --fdu-radius-sm:   4px;
    --fdu-radius-md:   8px;
    --fdu-radius-lg:   16px;
    --fdu-radius-pill: 999px;

    /* Shadow */
    --fdu-shadow-sm:   0 1px 4px rgba(0,0,0,.08);
    --fdu-shadow-md:   0 4px 16px rgba(0,0,0,.12);
    --fdu-shadow-lg:   0 8px 32px rgba(0,0,0,.16);

    /* Transitions */
    --fdu-transition:  0.2s ease;

    /* Header heights */
    --fdu-header-top-h:  40px;
    --fdu-header-main-h: 80px;
}


/* -----------------------------------------------------------
   2. Base Resets & Globals
   ----------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

/* Force 16px root — old theme sets html{font-size:62.5%} which breaks rem */
html {
    font-size: 16px !important;
}

body {
    font-family: 'Inter', system-ui, sans-serif !important;
    font-family: var(--fdu-font-sans) !important;
    font-size: 16px !important;
    line-height: 1.6;
    color: var(--fdu-text);
    background: var(--fdu-white);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', Georgia, serif;
    font-family: var(--fdu-font-serif);
    line-height: 1.25;
    font-weight: 600;
    margin-top: 0;
}

a { color: var(--fdu-coral); text-decoration: none; }
a:hover { color: var(--fdu-coral-dark); }

img { max-width: 100%; height: auto; display: block; }

p:last-child { margin-bottom: 0; }


/* -----------------------------------------------------------
   3. Layout
   ----------------------------------------------------------- */
#wrap-box { display: flex; flex-direction: column; min-height: 100vh; }

.fdu-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.fdu-page-wrapper {
    flex: 1;
    padding-top: calc(var(--fdu-header-top-h) + var(--fdu-header-main-h));
    padding-bottom: var(--fdu-space-lg);
}


/* -----------------------------------------------------------
   4. Header
   ----------------------------------------------------------- */
.fdu-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* — Top utility bar — */
.fdu-header-top {
    height: var(--fdu-header-top-h);
    background: var(--fdu-navy);
    color: rgba(255,255,255,.8);
    font-size: 0.9rem;
    font-family: var(--fdu-font-sans);
    display: flex;
    align-items: center;
}

.fdu-header-top .fdu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.fdu-header-top-left a {
    color: var(--fdu-sage);
    text-decoration: none;
    transition: color var(--fdu-transition);
}
.fdu-header-top-left a:hover { color: var(--fdu-white); }

/* — User nav (top right) — */
.fdu-user-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.fdu-user-nav a {
    color: rgba(255,255,255,.75);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--fdu-transition);
}
.fdu-user-nav a:hover { color: var(--fdu-white); }

.fdu-user-nav-login {
    background: var(--fdu-coral);
    color: var(--fdu-white) !important;
    padding: 0.25rem 0.875rem;
    border-radius: var(--fdu-radius-pill);
    font-weight: 500;
}
.fdu-user-nav-login:hover {
    background: var(--fdu-coral-dark);
    color: var(--fdu-white) !important;
}

/* — Main header — */
.fdu-header-main {
    height: var(--fdu-header-main-h);
    background: var(--fdu-white);
    border-bottom: 1px solid var(--fdu-border);
    box-shadow: var(--fdu-shadow-sm);
    padding: 0.75rem 0;
}

.fdu-header-main .fdu-container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* — Logo — */
.fdu-logo-link { flex-shrink: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.fdu-logo-mark { display: block; flex-shrink: 0; }
.fdu-logo-text { display: flex; flex-direction: column; align-items: flex-start; }
.fdu-logo-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 30px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #1a2332;
    line-height: 1;
    display: block;
}
.fdu-logo-sub {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(26,35,50,0.55);
    line-height: 1;
    margin-top: 5px;
    display: block;
}

/* — Main nav — */
.fdu-main-nav-wrap { flex: 1; }

.fdu-main-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.fdu-main-nav > li { position: relative; }

.fdu-main-nav > li > a {
    display: block;
    padding: 0.5rem 0.875rem;
    color: var(--fdu-text);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: var(--fdu-radius-sm);
    transition: color var(--fdu-transition), background var(--fdu-transition);
    white-space: nowrap;
}

.fdu-main-nav > li > a:hover,
.fdu-main-nav > li.current-menu-item > a,
.fdu-main-nav > li.current-menu-ancestor > a {
    color: var(--fdu-coral);
    background: rgba(255,107,90,.07);
}

/* Dropdown */
.fdu-main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;          /* flush — no mouse gap */
    left: 0;
    min-width: 200px;
    background: var(--fdu-white);
    border: 1px solid var(--fdu-border);
    border-radius: var(--fdu-radius-md);
    box-shadow: var(--fdu-shadow-md);
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    z-index: 1001;      /* above fixed header z-index:1000 */
}

/* Invisible bridge so mouse can travel from nav link into dropdown */
.fdu-main-nav > li::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
}

.fdu-main-nav li:hover > .sub-menu { display: block; }

.fdu-main-nav .sub-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--fdu-text);
    font-size: 0.875rem;
    text-decoration: none;
    transition: background var(--fdu-transition), color var(--fdu-transition);
}
.fdu-main-nav .sub-menu a:hover {
    background: var(--fdu-cream);
    color: var(--fdu-coral);
}

/* — Search box — */
.fdu-search-box { flex-shrink: 0; }

.fdu-search-box input[type="search"] {
    font-family: var(--fdu-font-sans);
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--fdu-border);
    border-radius: var(--fdu-radius-pill);
    background: var(--fdu-cream);
    color: var(--fdu-text);
    outline: none;
    width: 240px;
    transition: border-color var(--fdu-transition), width var(--fdu-transition);
}
.fdu-search-box input[type="search"]:focus {
    border-color: var(--fdu-sage);
    width: 280px;
}
.fdu-search-box input[type="search"]::placeholder { color: var(--fdu-text-muted); }

/* — Hamburger — */
.fdu-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
}

.fdu-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--fdu-navy);
    border-radius: 2px;
    transition: transform var(--fdu-transition), opacity var(--fdu-transition);
}

.fdu-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fdu-hamburger.is-active span:nth-child(2) { opacity: 0; }
.fdu-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* — Mobile nav drawer — */
.fdu-mobile-nav {
    display: none;
    position: fixed;
    top: calc(var(--fdu-header-top-h) + var(--fdu-header-main-h));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fdu-navy);
    overflow-y: auto;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.fdu-mobile-nav.is-open {
    transform: translateX(0);
}

.fdu-mobile-nav-inner { padding: 1.5rem; }

.fdu-mobile-nav-menu {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.fdu-mobile-nav-menu li { border-bottom: 1px solid rgba(255,255,255,.1); }

.fdu-mobile-nav-menu a {
    display: block;
    padding: 0.875rem 0;
    color: var(--fdu-white);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color var(--fdu-transition);
}
.fdu-mobile-nav-menu a:hover { color: var(--fdu-coral); }

/* Sub-menu in mobile */
.fdu-mobile-nav-menu .sub-menu {
    list-style: none;
    padding: 0 0 0.5rem 1rem;
    margin: 0;
}
.fdu-mobile-nav-menu .sub-menu a {
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
    padding: 0.5rem 0;
    color: rgba(255,255,255,.75);
}

.fdu-mobile-util-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.15);
}

.fdu-mobile-util-links a {
    color: rgba(255,255,255,.75);
    font-size: 0.9rem;
    text-decoration: none;
}
.fdu-mobile-util-links a:hover { color: var(--fdu-white); }

.fdu-mobile-login-btn {
    display: inline-block;
    background: var(--fdu-coral);
    color: var(--fdu-white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: var(--fdu-radius-pill);
    font-weight: 600;
    text-align: center;
    transition: background var(--fdu-transition);
}
.fdu-mobile-login-btn:hover { background: var(--fdu-coral-dark) !important; }


/* -----------------------------------------------------------
   5. Footer
   ----------------------------------------------------------- */
.fdu-footer {
    background: var(--fdu-navy);
    color: rgba(255,255,255,.9);
    font-size: 1rem;
}

.fdu-footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 3.5rem 0;
}

.fdu-footer-col h4 {
    font-family: var(--fdu-font-serif);
    font-size: 1rem;
    color: var(--fdu-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fdu-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fdu-footer-col ul li { margin-bottom: 0.5rem; }

.fdu-footer-col a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--fdu-transition);
}
.fdu-footer-col a:hover { color: var(--fdu-white); }

/* Social icons */
.fdu-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.fdu-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.75);
    transition: background var(--fdu-transition), color var(--fdu-transition);
}
.fdu-social-links a:hover {
    background: var(--fdu-coral);
    color: var(--fdu-white);
}
.fdu-social-links svg { width: 18px; height: 18px; fill: currentColor; }

/* Footer bottom bar */
.fdu-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255,255,255,.45);
}


/* -----------------------------------------------------------
   6. Buttons
   ----------------------------------------------------------- */
.fdu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--fdu-font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.75rem 1.75rem;
    border-radius: var(--fdu-radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--fdu-transition), color var(--fdu-transition),
                border-color var(--fdu-transition), box-shadow var(--fdu-transition);
}

.fdu-btn-primary {
    background: var(--fdu-coral);
    color: var(--fdu-white);
    border-color: var(--fdu-coral);
}
.fdu-btn-primary:hover {
    background: var(--fdu-coral-dark);
    border-color: var(--fdu-coral-dark);
    color: var(--fdu-white);
    box-shadow: 0 4px 16px rgba(255,107,90,.35);
}

.fdu-btn-secondary {
    background: var(--fdu-navy);
    color: var(--fdu-white);
    border-color: var(--fdu-navy);
}
.fdu-btn-secondary:hover {
    background: var(--fdu-navy-light);
    border-color: var(--fdu-navy-light);
    color: var(--fdu-white);
}

.fdu-btn-outline {
    background: transparent;
    color: var(--fdu-coral);
    border-color: var(--fdu-coral);
}
.fdu-btn-outline:hover {
    background: var(--fdu-coral);
    color: var(--fdu-white);
}

.fdu-btn-outline-white {
    background: transparent;
    color: var(--fdu-white);
    border-color: rgba(255,255,255,.6);
}
.fdu-btn-outline-white:hover {
    background: var(--fdu-white);
    color: var(--fdu-navy);
    border-color: var(--fdu-white);
}

.fdu-btn-sm {
    font-size: 0.8125rem;
    padding: 0.5rem 1.25rem;
}

.fdu-btn-lg {
    font-size: 1.0625rem;
    padding: 1rem 2.25rem;
}


/* -----------------------------------------------------------
   7. Cards
   ----------------------------------------------------------- */
.fdu-card {
    background: var(--fdu-white);
    border: 1px solid var(--fdu-border);
    border-radius: var(--fdu-radius-lg);
    overflow: hidden;
    box-shadow: var(--fdu-shadow-sm);
    transition: transform var(--fdu-transition), box-shadow var(--fdu-transition);
}

.fdu-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--fdu-shadow-md);
}

.fdu-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.fdu-card-body {
    padding: 1.25rem 1.5rem;
}

.fdu-card-title {
    font-family: var(--fdu-font-serif);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--fdu-text);
}

.fdu-card-meta {
    font-size: 0.8125rem;
    color: var(--fdu-text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fdu-card-tag {
    display: inline-block;
    background: var(--fdu-cream);
    color: var(--fdu-text);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.625rem;
    border-radius: var(--fdu-radius-pill);
}

.fdu-card-tag-coral { background: rgba(255,107,90,.12); color: var(--fdu-coral-dark); }
.fdu-card-tag-sage  { background: rgba(168,198,159,.2); color: #527a48; }


/* -----------------------------------------------------------
   8. Section Helpers
   ----------------------------------------------------------- */
.fdu-section {
    padding: var(--fdu-space-lg) 0;
}

.fdu-section-sm { padding: var(--fdu-space-md) 0; }

.fdu-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--fdu-space-md);
}

.fdu-section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.fdu-section-header p {
    color: var(--fdu-text-muted);
    font-size: 1.0625rem;
}

/* Background variants */
.fdu-bg-cream  { background: var(--fdu-cream); }
.fdu-bg-navy   { background: var(--fdu-navy); color: var(--fdu-white); }
.fdu-bg-sage   { background: rgba(168,198,159,.15); }
.fdu-bg-white  { background: var(--fdu-white); }

/* Grids */
.fdu-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.fdu-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fdu-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }


/* -----------------------------------------------------------
   9. Animations
   ----------------------------------------------------------- */
.fdu-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fdu-fade-in.is-visible {
    opacity: 1;
    transform: none;
}

.fdu-reveal { animation: fduReveal 0.6s ease both; }

@keyframes fduReveal {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}


/* -----------------------------------------------------------
   10. Responsive
   ----------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
    .fdu-search-box { display: none; }

    .fdu-main-nav-wrap { display: none; }

    .fdu-hamburger { display: flex; }

    .fdu-mobile-nav { display: block; }

    .fdu-footer-content { grid-template-columns: 1fr 1fr; }

    .fdu-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .fdu-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --fdu-header-top-h:  36px;
        --fdu-header-main-h: 60px;
    }

    .fdu-header-top-left { display: none; }

    .fdu-user-nav { gap: 0.75rem; }

    .fdu-logo { height: 36px; }

    .fdu-footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 0;
    }

    .fdu-grid-2,
    .fdu-grid-3,
    .fdu-grid-4 { grid-template-columns: 1fr; }

    .fdu-section { padding: var(--fdu-space-md) 0; }
}

/* Small mobile */
@media (max-width: 480px) {
    .fdu-container { padding: 0 1rem; }

    .fdu-btn { padding: 0.675rem 1.375rem; font-size: 0.875rem; }
}


/* -----------------------------------------------------------
   11. Legacy Overrides
   Hide old Bootstrap header / nav elements that the old theme
   rendered above our new .fdu-header structure.
   ----------------------------------------------------------- */

/* Old header/nav wrappers — various old class names */
#header-wrap,
#header,
.header-wrap,
.top-header,
.site-header:not(.fdu-header),
#nav-wrap,
#topnav,
.top-nav-bar,
.old-header {
    display: none !important;
}

/* Old page-top spacers (compensating for old fixed header height) */
.page-top-spacer,
.header-spacer,
#content-top-spacer {
    display: none !important;
}

/* Ensure wp-admin bar doesn't shift our fixed header */
body.admin-bar .fdu-header { top: 32px; }
@media (max-width: 782px) {
    body.admin-bar .fdu-header { top: 46px; }
}

/* Old Poppins utility classes (was in this file before) — remap to Inter */
.poppins { font-family: var(--fdu-font-sans) !important; }

/* -----------------------------------------------------------
   12. Page Hero  (matches reference design exactly)
   All inner-page templates use:
     <section class="page-header">
       <div class="container">
         <h1 class="page-title">…</h1>
         <p  class="page-subtitle">…</p>   ← optional
       </div>
     </section>
   ----------------------------------------------------------- */
.page-header {
    background: linear-gradient(135deg, var(--fdu-navy) 0%, #2a3441 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* Sage radial glow — same as reference hero::before */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(168, 198, 159, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: var(--fdu-font-serif);
    font-size: 4rem;
    font-weight: 300;
    color: #fff;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.page-subtitle {
    font-family: var(--fdu-font-sans);
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-header { padding: 4rem 0; }
    .page-title   { font-size: 2.5rem; }
    .page-subtitle { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .page-title { font-size: 2rem; }
}

/* ============================================================
   SECTION 13 — bbPress Forum Styles
   ============================================================ */

/* ── Base reset ──────────────────────────────────────────── */
#bbpress-forums { font-family: var(--fdu-font-sans); color: var(--fdu-navy); }
#bbpress-forums ul, #bbpress-forums ol { list-style: none; margin: 0; padding: 0; }
#bbpress-forums li.bbp-header { display: none; }
#bbpress-forums li.bbp-footer { display: none; }
#bbpress-forums li.bbp-body  { background: none; border: none; padding: 0; margin: 0; }
.bbp-allowed-tags            { display: none !important; }
.bbp-topic-subscription, .bbp-forum-subscription, .bbp-topic-favorite { display: none; }

/* ── Forum page wrapper ──────────────────────────────────── */
.forum-page-wrap { max-width: 820px; padding-top: 2rem; padding-bottom: 5rem; }
.bbpress-wrapper { }

/* Topic list container — subtle grouping */
ul#bbp-forum-37916.bbp-topics { background: none; border: none; }
ul#bbp-forum-37916 li.bbp-body { padding: 0; }

/* ── Toolbar (search + new topic button) ─────────────────── */
.forum-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.forum-toolbar .forum-search { flex: 1; }
.forum-toolbar .bbp-search-form,
.forum-toolbar #bbp-search-form { margin: 0; }

.forum-new-topic-btn {
    display: inline-block;
    font-family: var(--fdu-font-sans);
    font-size: .875rem;
    font-weight: 600;
    color: #fff;
    background: var(--fdu-sage);
    border-radius: 6px;
    padding: .65rem 1.25rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
    flex-shrink: 0;
}
.forum-new-topic-btn:hover { background: var(--fdu-navy); color: #fff; }

/* ── Search form ─────────────────────────────────────────── */
.bbp-search-form { margin-bottom: 0; }
#bbp-search-form > div, .bbp-search-form form > div {
    display: flex;
    gap: .5rem;
}
#bbp-search-form input[type="text"],
.bbp-search-form input[type="text"] {
    flex: 1;
    font-family: var(--fdu-font-sans);
    font-size: .9rem;
    color: #333;
    background: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 6px;
    padding: .6rem 1rem;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
#bbp-search-form input[type="text"]:focus,
.bbp-search-form input[type="text"]:focus {
    outline: none;
    border-color: var(--fdu-sage);
    box-shadow: 0 0 0 3px rgba(168,198,159,.15);
}
#bbp-search-form input[type="submit"],
.bbp-search-form input[type="submit"] {
    font-family: var(--fdu-font-sans);
    font-size: .875rem;
    font-weight: 600;
    color: #fff;
    background: var(--fdu-navy);
    border: none;
    border-radius: 6px;
    padding: .6rem 1.1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
#bbp-search-form input[type="submit"]:hover,
.bbp-search-form input[type="submit"]:hover { background: var(--fdu-sage); }

/* ── Pagination ──────────────────────────────────────────── */
.forum-topic-count .bbp-pagination-count {
    font-size: .8rem;
    color: #aaa;
    margin-bottom: .75rem;
}
.bbp-pagination { margin: 1.5rem 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.bbp-pagination-count { font-size: .8rem; color: #aaa; flex: 1; }
.bbp-pagination-links { display: flex; gap: .25rem; flex-wrap: wrap; }
.bbp-pagination-links a,
.bbp-pagination-links span.current,
.bbp-pagination-links span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 .5rem;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,.12);
    font-size: .8rem;
    color: var(--fdu-navy);
    text-decoration: none;
    transition: all .15s;
}
.bbp-pagination-links span.current {
    background: var(--fdu-navy);
    color: #fff;
    border-color: var(--fdu-navy);
    font-weight: 600;
}
.bbp-pagination-links a:hover {
    background: var(--fdu-navy);
    color: #fff;
    border-color: var(--fdu-navy);
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.bbp-breadcrumb {
    font-size: .78rem;
    color: #aaa;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.bbp-breadcrumb a { color: var(--fdu-sage); text-decoration: none; }
.bbp-breadcrumb a:hover { color: var(--fdu-navy); }
.bbp-breadcrumb .bbp-breadcrumb-sep { margin: 0 .3rem; opacity: .5; }

/* ── Topic list rows ─────────────────────────────────────── */
ul.bbp-topic,
ul[id^="bbp-topic-"] {
    display: flex;
    align-items: center;
    background: var(--fdu-cream);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 10px;
    margin-bottom: .5rem;
    padding: 1.1rem 1.6rem;
    min-height: 3.5rem;
    transition: border-color .2s, box-shadow .2s, background .2s;
    text-decoration: none;
}
ul.bbp-topic:hover,
ul[id^="bbp-topic-"]:hover {
    background: #fff;
    border-color: rgba(168,198,159,.5);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* Title */
ul.bbp-topic li.bbp-topic-title,
ul[id^="bbp-topic-"] li.bbp-topic-title {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .6rem;
}
ul.bbp-topic li.bbp-topic-title a.bbp-topic-permalink,
ul[id^="bbp-topic-"] li.bbp-topic-title a.bbp-topic-permalink {
    font-family: var(--fdu-font-serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--fdu-navy-light);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -.01em;
    transition: color .15s;
}
ul.bbp-topic li.bbp-topic-title a.bbp-topic-permalink:hover,
ul[id^="bbp-topic-"] li.bbp-topic-title a.bbp-topic-permalink:hover { color: var(--fdu-sage); }
ul.bbp-topic li.bbp-topic-title p.bbp-topic-meta,
ul[id^="bbp-topic-"] li.bbp-topic-title p.bbp-topic-meta,
ul.bbp-topic li.bbp-topic-title .bbp-topic-pagination,
ul[id^="bbp-topic-"] li.bbp-topic-title .bbp-topic-pagination,
ul.bbp-topic li.bbp-topic-title .bbp-row-actions,
ul[id^="bbp-topic-"] li.bbp-topic-title .bbp-row-actions { display: none; }

/* Reply count badge */
ul.bbp-topic li.bbp-topic-reply-count,
ul[id^="bbp-topic-"] li.bbp-topic-reply-count {
    flex-shrink: 0;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    gap: .3rem;
}
ul.bbp-topic li.bbp-topic-reply-count .reply-num,
ul[id^="bbp-topic-"] li.bbp-topic-reply-count .reply-num {
    font-size: .85rem;
    font-weight: 600;
    color: var(--fdu-text-muted);
    min-width: 1.2rem;
    text-align: right;
}
ul.bbp-topic li.bbp-topic-reply-count .reply-label,
ul[id^="bbp-topic-"] li.bbp-topic-reply-count .reply-label {
    font-size: .7rem;
    color: #bbb;
    font-weight: 400;
}
ul.bbp-topic li.bbp-topic-reply-count.has-replies .reply-num,
ul[id^="bbp-topic-"] li.bbp-topic-reply-count.has-replies .reply-num { color: var(--fdu-sage-dark); }
ul.bbp-topic li.bbp-topic-reply-count.no-replies .reply-num,
ul[id^="bbp-topic-"] li.bbp-topic-reply-count.no-replies .reply-num { color: #d0d0d0; }
ul.bbp-topic li.bbp-topic-reply-count.no-replies .reply-label,
ul[id^="bbp-topic-"] li.bbp-topic-reply-count.no-replies .reply-label { color: #d8d8d8; }

/* Hide unused columns */
ul.bbp-topic li.bbp-topic-voice-count,
ul[id^="bbp-topic-"] li.bbp-topic-voice-count,
ul.bbp-topic li.bbp-topic-freshness,
ul[id^="bbp-topic-"] li.bbp-topic-freshness { display: none; }

/* Admin edit link on topic row */
a.bbp-topic-edit-link {
    font-size: .7rem;
    color: #ccc;
    text-decoration: none;
    flex-shrink: 0;
    transition: color .15s;
}
a.bbp-topic-edit-link:hover { color: var(--fdu-sage); }

/* ── Single Topic & Replies ──────────────────────────────── */
div.bbp-reply-header { display: none; }

div.bbp-reply {
    background: var(--fdu-cream);
    border: 1px solid rgba(0,0,0,.055);
    border-radius: 10px;
    margin-bottom: .6rem;
    overflow: hidden;
}
div.bbp-reply div.bbp-reply-author { display: none; }
div.bbp-reply div.bbp-reply-content {
    padding: 1.25rem 1.5rem;
    font-size: .93rem;
    line-height: 1.8;
    color: var(--fdu-text-muted);
}
div.bbp-reply div.bbp-reply-content p { margin: 0 0 .9rem; }
div.bbp-reply div.bbp-reply-content p:last-child { margin-bottom: 0; }
div.bbp-reply div.bbp-reply-content blockquote {
    border-left: 3px solid var(--fdu-sage);
    margin: 1rem 0;
    padding: .75rem 1.25rem;
    background: rgba(168,198,159,.07);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #666;
}

/* Admin edit on reply */
p.bbp-admin-edit {
    margin: .75rem 1.6rem 1rem;
    padding-top: .6rem;
    border-top: 1px solid #f0f0f0;
}
p.bbp-admin-edit a { font-size: .75rem; color: #ccc; text-decoration: none; }
p.bbp-admin-edit a:hover { color: var(--fdu-sage); }

/* ── New Topic / Reply Forms ─────────────────────────────── */
#bbpress-forums #new-post,
#bbpress-forums #reply-post,
#bbpress-forums #new-topic {
    background: var(--fdu-cream);
    border: 1px solid rgba(0,0,0,.055);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    margin-top: 2.5rem;
}
#bbpress-forums #new-post h3,
#bbpress-forums #reply-post h3,
#bbpress-forums #new-topic h3 {
    font-family: var(--fdu-font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--fdu-navy);
    margin: 0 0 1.25rem;
    padding-bottom: .875rem;
    border-bottom: 1px solid #f0f0f0;
}
#bbpress-forums fieldset.bbp-form { border: none; padding: 0; margin: 0 0 1.1rem; }
#bbpress-forums label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .35rem;
}
#bbpress-forums input[type="text"],
#bbpress-forums textarea,
#bbpress-forums select {
    width: 100%;
    font-family: var(--fdu-font-sans);
    font-size: .95rem;
    color: #333;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: .65rem .9rem;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
#bbpress-forums input[type="text"]:focus,
#bbpress-forums textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--fdu-sage);
    box-shadow: 0 0 0 3px rgba(168,198,159,.12);
}
#bbpress-forums textarea { min-height: 160px; resize: vertical; }
#bbpress-forums .bbp-submit-wrapper { margin-top: 1.25rem; }
#bbpress-forums input[type="submit"],
#bbpress-forums button[type="submit"] {
    font-family: var(--fdu-font-sans);
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
    background: var(--fdu-navy);
    border: none;
    border-radius: 6px;
    padding: .7rem 2rem;
    cursor: pointer;
    transition: background .2s;
}
#bbpress-forums input[type="submit"]:hover,
#bbpress-forums button[type="submit"]:hover { background: var(--fdu-sage); }

/* ── Search results ──────────────────────────────────────── */
#bbp-search-results .bbp-search-content,
.bbp-search-results { margin-top: 1.5rem; }

/* Search result topic rows reuse topic-row style */
ul.bbp-search-results-list li,
.bbp-search-content li {
    background: var(--fdu-cream);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 10px;
    margin-bottom: .5rem;
    padding: 1rem 1.5rem;
    list-style: none;
}
.bbp-search-content a { color: var(--fdu-navy-light); text-decoration: none; font-family: var(--fdu-font-serif); }
.bbp-search-content a:hover { color: var(--fdu-sage-dark); }

/* ── Feedback notices ────────────────────────────────────── */
#bbpress-forums .bbp-template-notice,
#bbpress-forums .bbp-notice {
    font-size: .9rem;
    padding: .9rem 1.1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: rgba(168,198,159,.08);
    border: 1px solid rgba(168,198,159,.25);
    color: var(--fdu-navy);
}

/* =============================================================
   INSTRUCTORS PAGE
   ============================================================= */

.instructors-wrap { padding-top: 2.5rem; padding-bottom: 4rem; }

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.5rem;
}

.instructor-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.instructor-card__photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--fdu-cream);
    margin-bottom: .75rem;
    transition: box-shadow .2s ease;
}

.instructor-card__link:hover .instructor-card__photo {
    box-shadow: 0 8px 28px rgba(26,35,50,.15);
}

.instructor-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .35s ease;
}

.instructor-card__link:hover .instructor-card__photo img {
    transform: scale(1.04);
}

/* Fallback initials bubble */
.instructor-card__initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fdu-font-serif);
    font-size: 3rem;
    color: var(--fdu-sage-dark);
    background: rgba(168,198,159,.12);
}

.instructor-card__name {
    font-family: var(--fdu-font-sans);
    font-size: .95rem;
    font-weight: 600;
    color: var(--fdu-navy);
    text-align: center;
    line-height: 1.3;
    transition: color .2s;
}

.instructor-card__link:hover .instructor-card__name {
    color: var(--fdu-sage-dark);
}

/* Featured (Jennifer) — slightly larger / accented */
.instructor-card--featured .instructor-card__photo {
    border: 2px solid rgba(168,198,159,.4);
}

.instructor-card--featured .instructor-card__name {
    font-size: 1rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
    .forum-toolbar { flex-wrap: wrap; }
    .forum-new-topic-btn { width: 100%; text-align: center; }
    ul.bbp-topic { padding: .8rem 1rem; }
    ul.bbp-topic li.bbp-topic-title a.bbp-topic-permalink { white-space: normal; font-size: .975rem; }
    div.bbp-reply div.bbp-reply-content { padding: 1rem 1.1rem; }
    #bbpress-forums #new-post,
    #bbpress-forums #reply-post,
    #bbpress-forums #new-topic { padding: 1.25rem; }

    /* Instructors */
    .instructor-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; }
}

@media (min-width: 641px) and (max-width: 900px) {
    .instructor-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Single Instructor Bio ─────────────────────────────────────────────────── */
.instructor-bio-page { padding-bottom: 5rem; }

/* Hero */
.ib-hero { padding: 3.5rem 0 3rem; background: var(--fdu-light, #f8f9fb); }
.ib-hero-inner {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}
.ib-photo-wrap { flex: 0 0 260px; }
.ib-photo {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    aspect-ratio: 3/4;
    display: block;
    box-shadow: 0 4px 24px rgba(0,0,0,.10);
}
.ib-info { flex: 1; min-width: 0; }
.ib-name {
    font-family: var(--fdu-font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--fdu-navy);
    margin: 0 0 .75rem;
    line-height: 1.15;
}

/* Social icons */
.ib-social { display: flex; gap: .65rem; margin-bottom: 1.25rem; }
.ib-social-link {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--fdu-navy);
    color: #fff;
    transition: background .2s, transform .15s;
    text-decoration: none;
}
.ib-social-link svg { width: 17px; height: 17px; }
.ib-social-link:hover { background: var(--fdu-sage); transform: translateY(-2px); }

/* Bio text expand */
.ib-bio-wrap { position: relative; }
.ib-bio-text {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    max-height: 8.5em;
    overflow: hidden;
    position: relative;
    transition: max-height .4s ease;
}
.ib-bio-text::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3em;
    background: linear-gradient(transparent, var(--fdu-light, #f8f9fb));
    pointer-events: none;
    transition: opacity .3s;
}
.ib-bio-text.is-expanded { max-height: 200em; }
.ib-bio-text.is-expanded::after { opacity: 0; }
.ib-bio-toggle {
    margin-top: .75rem;
    background: none; border: none;
    font-family: var(--fdu-font-sans, sans-serif);
    font-size: .9rem;
    color: var(--fdu-sage);
    cursor: pointer;
    padding: 0;
    display: flex; align-items: center; gap: .3rem;
}
.ib-bio-toggle:hover { color: var(--fdu-navy); }
.ib-toggle-arrow { font-size: 1rem; line-height: 1; }

/* Section titles */
.ib-section-title {
    font-family: var(--fdu-font-serif);
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    color: var(--fdu-navy);
    text-align: center;
    margin: 0 0 2rem;
}

/* Workshops */
.ib-workshops { padding: 3.5rem 0; }
.ib-workshops-inner { /* workshops shortcode outputs its own grid */ }

/* Testimonials */
.ib-feedback {
    padding: 3.5rem 0;
    background: var(--fdu-navy);
    color: #fff;
}
.ib-feedback .ib-section-title { color: #fff; }
.ib-testimonial-wrap { position: relative; min-height: 120px; }
.ib-testimonial {
    display: none;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1rem;
}
.ib-testimonial.is-active { display: block; animation: ib-fade .4s ease; }
@keyframes ib-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ib-testimonial-text {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    font-style: italic;
    color: rgba(255,255,255,.92);
    margin: 0 0 1.25rem;
    quotes: "\201C" "\201D";
}
.ib-testimonial-text::before { content: open-quote; }
.ib-testimonial-text::after  { content: close-quote; }
.ib-testimonial-cite {
    font-size: .875rem;
    color: var(--fdu-sage);
    font-style: normal;
    display: flex; flex-direction: column; align-items: center; gap: .2rem;
}
.ib-testimonial-workshop { color: rgba(255,255,255,.55); font-size: .8rem; }
.ib-testimonial-nav {
    display: flex; align-items: center; justify-content: center;
    gap: 1.25rem; margin-top: 2rem;
}
.ib-t-btn {
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    color: #fff; border-radius: 50%;
    width: 40px; height: 40px;
    font-size: 1.1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.ib-t-btn:hover { background: var(--fdu-sage); border-color: var(--fdu-sage); }
.ib-t-count { color: rgba(255,255,255,.5); font-size: .85rem; min-width: 48px; text-align: center; }

/* Prev / Next nav */
.ib-nav { padding: 2.5rem 0; border-top: 1px solid #eee; }
.ib-nav .fdu-container {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.ib-nav-btn {
    font-size: .9rem;
    color: var(--fdu-navy);
    text-decoration: none;
    border: 1px solid #ddd;
    padding: .55rem 1.1rem;
    border-radius: 40px;
    transition: background .2s, color .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 38%;
}
.ib-nav-btn:hover { background: var(--fdu-navy); color: #fff; border-color: var(--fdu-navy); }
.ib-nav-all {
    font-size: .85rem;
    color: var(--fdu-sage);
    text-decoration: none;
    text-align: center;
    flex-shrink: 0;
}
.ib-nav-all:hover { color: var(--fdu-navy); }

/* Responsive */
@media (max-width: 640px) {
    .ib-hero-inner { flex-direction: column; }
    .ib-photo-wrap { flex: none; width: 100%; max-width: 300px; margin: 0 auto; }
    .ib-nav .fdu-container { flex-wrap: wrap; justify-content: center; }
    .ib-nav-btn { max-width: 100%; }
}

/* ── Workshop cards (displayWorkshops shortcode) ───────────────────────────── */
.ws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.ws-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, transform .15s;
}
.ws-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.10);
    transform: translateY(-2px);
}
.ws-card__img-wrap {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f0f0f0;
}
.ws-card__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.ws-card:hover .ws-card__img-wrap img { transform: scale(1.04); }
.ws-card__body {
    padding: .9rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.ws-card__title {
    font-family: var(--fdu-font-serif);
    font-size: .975rem;
    color: var(--fdu-navy);
    line-height: 1.35;
    margin: 0;
}
.ws-card__cec {
    font-size: .75rem;
    color: var(--fdu-sage);
    margin-top: auto;
}
.ws-no-results { color: #999; font-style: italic; text-align: center; padding: 2rem 0; }

/* ── Sales Page Template ────────────────────────────────────────────────────── */
.sp-page { padding-bottom: 5rem; }
.sp-page .fdu-container { padding-top: 2.5rem; padding-bottom: 2.5rem; }

/* Content block */
.sp-content-block { max-width: 860px; }

/* Video */
.sp-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; }
.sp-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Two-video tab player */
.sp-duoplayer { max-width: 860px; margin: 0 auto; }
.sp-duoplayer-tabs {
    display: flex; gap: .5rem; margin-bottom: .75rem;
}
.sp-duoplayer-tab {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem 1.4rem; border-radius: 6px;
    border: 2px solid var(--fdu-coral, #ff6b5a);
    background: transparent; color: var(--fdu-navy, #1a2332);
    font-family: var(--fdu-font-sans, sans-serif);
    font-size: .9rem; font-weight: 600; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.sp-duoplayer-tab svg { flex-shrink: 0; transition: transform .2s; }
.sp-duoplayer-tab.is-active,
.sp-duoplayer-tab:hover {
    background: var(--fdu-coral, #ff6b5a);
    border-color: var(--fdu-coral, #ff6b5a);
    color: #fff;
}
.sp-duoplayer-tab.is-active svg,
.sp-duoplayer-tab:hover svg { transform: scale(1.15); }
.sp-duoplayer-frame { display: none; }
.sp-duoplayer-frame.is-active { display: block; }

/* ── Pricing table ───────────────────────────────────────────────────────────── */
.sp-pricing { background: var(--fdu-light, #f8f9fb); border-radius: 12px; }
.sp-pricing-table-wrap { overflow-x: auto; }
.sp-pricing-table {
    width: 100%; border-collapse: collapse;
    font-size: .95rem;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.sp-pricing-table thead tr { background: var(--fdu-navy); color: #fff; }
.sp-pricing-table th {
    padding: 1rem 1.25rem;
    font-family: var(--fdu-font-sans, sans-serif);
    font-weight: 600;
    font-size: .875rem;
    text-align: center;
    letter-spacing: .02em;
}
.sp-pricing-table td {
    padding: 1.1rem 1.25rem;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}
.sp-pricing-table td:first-child { text-align: left; font-weight: 500; color: var(--fdu-navy); }
.sp-pricing-row:last-child td { border-bottom: none; }
.sp-price {
    display: block;
    font-family: var(--fdu-font-serif);
    font-size: 1.3rem;
    color: var(--fdu-navy);
    margin-bottom: .5rem;
}
.sp-btn {
    display: inline-block;
    padding: .5rem 1.25rem;
    border-radius: 40px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s;
    cursor: pointer;
}
.sp-btn--primary { background: var(--fdu-sage); color: #fff; }
.sp-btn--primary:hover { background: var(--fdu-navy); }
.sp-btn--forever { background: var(--fdu-navy); color: #fff; }
.sp-btn--forever:hover { background: var(--fdu-sage); }
.sp-btn--secondary { background: transparent; color: var(--fdu-sage); border: 1px solid var(--fdu-sage); }
.sp-btn--secondary:hover { background: var(--fdu-sage); color: #fff; }
.sp-btn--disabled { opacity: .45; pointer-events: none; }
.sp-coming-soon { color: #e08030; font-weight: 600; }
.sp-early-access { display: block; color: #5a9a5a; font-size: .8rem; margin-bottom: .25rem; }
.sp-avail-note { display: block; font-size: .8rem; color: #888; margin-top: .35rem; }
.sp-cec-cell { font-size: .875rem; }

/* Tooltip */
.sp-tooltip-wrap { position: relative; display: inline-block; margin-left: .35rem; vertical-align: middle; }
.sp-tooltip-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 50%;
    background: rgba(255,255,255,.25); font-size: .7rem; cursor: pointer;
    font-style: italic; font-weight: bold;
}
.sp-tooltip-body {
    display: none; position: absolute; bottom: 120%; left: 50%; transform: translateX(-50%);
    background: #333; color: #fff; font-size: .78rem; padding: .75rem 1rem;
    border-radius: 6px; width: 260px; line-height: 1.5; z-index: 10; font-weight: 400;
}
.sp-tooltip-wrap:hover .sp-tooltip-body { display: block; }
.sp-tooltip-body a { color: #8ec5fc; }

/* CEC notice */
.sp-cec-notice {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: .875rem;
    background: #eef4f0;
    border-left: 3px solid var(--fdu-sage);
    color: #444;
}
.sp-cec-notice--none { background: #f5f5f5; border-left-color: #ccc; }
.sp-cec-label { font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fdu-sage); margin-bottom: .35rem; }

/* ── Detail sections ─────────────────────────────────────────────────────────── */
.sp-detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.sp-detail-heading {
    font-family: var(--fdu-font-serif);
    font-size: 1.2rem; color: var(--fdu-navy);
    border-bottom: 2px solid var(--fdu-sage);
    padding-bottom: .4rem; margin: 0 0 1rem;
}
.sp-detail-body, .sp-meta-body { font-size: .95rem; line-height: 1.75; color: #444; }
.sp-detail-body ul, .sp-meta-body ul { padding-left: 1.25rem; }
.sp-detail-body li, .sp-meta-body li { margin-bottom: .3rem; }

/* Meta cards (3-col) */
.sp-meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sp-meta-card {
    background: #fff; border: 1px solid #eee;
    border-radius: 10px; padding: 1.35rem 1.25rem;
}
.sp-meta-card .sp-detail-heading { font-size: 1rem; }

/* Duration */
.sp-duration-body { font-size: .95rem; line-height: 1.7; color: #444; }

/* ── Instructor + Feedback row ───────────────────────────────────────────────── */
.sp-instructor-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.sp-instructor-inner { display: flex; gap: 1rem; align-items: flex-start; margin-top: .75rem; }
.sp-instructor-photo { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sp-instructor-bio { font-size: .9rem; line-height: 1.65; color: #555; }
.sp-instructor-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .75rem; align-items: center; }
.sp-other-workshops { font-size: .85rem; color: var(--fdu-sage); text-decoration: none; }
.sp-other-workshops:hover { color: var(--fdu-navy); }

/* Testimonial in sales page */
.sp-testimonial-wrap { min-height: 100px; }
.sp-testimonial { display: none; }
.sp-testimonial.is-active { display: block; animation: sp-fade .35s ease; }
@keyframes sp-fade { from { opacity: 0; } to { opacity: 1; } }
.sp-testimonial blockquote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    border-left: 3px solid var(--fdu-sage);
    padding-left: 1rem;
    margin: 0 0 .75rem;
}
.sp-testimonial cite { font-size: .85rem; color: var(--fdu-sage); font-style: normal; }
.sp-testimonial-nav { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.sp-t-btn {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid #ccc; background: #fff;
    cursor: pointer; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.sp-t-btn:hover { background: var(--fdu-sage); color: #fff; border-color: var(--fdu-sage); }
.sp-t-count { font-size: .8rem; color: #999; }
.sp-feedback-empty { color: #999; font-style: italic; }

/* Featured feedback list */
.sp-feedback-list { border-top: 1px solid #eee; }
.sp-section-title {
    font-family: var(--fdu-font-serif);
    font-size: 1.5rem; color: var(--fdu-navy);
    margin: 0 0 1.5rem;
}
.sp-feedback-items { display: flex; flex-direction: column; gap: 1.25rem; }
.sp-feedback-item {
    background: #fff; border: 1px solid #eee;
    border-radius: 8px; padding: 1.1rem 1.25rem;
}
.sp-feedback-author { font-weight: 700; font-size: .85rem; color: var(--fdu-sage); margin: 0 0 .4rem; }
.sp-feedback-text { font-size: .95rem; line-height: 1.65; color: #444; margin: 0; }
.sp-feedback-reply { margin-top: .75rem; padding-left: 1rem; border-left: 2px solid #e0e0e0; font-size: .9rem; color: #555; }

/* Responsive */
@media (max-width: 900px) {
    .sp-detail-cols { grid-template-columns: 1fr; gap: 2rem; }
    .sp-meta-grid { grid-template-columns: 1fr 1fr; }
    .sp-instructor-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .sp-pricing-table th, .sp-pricing-table td { padding: .75rem .75rem; font-size: .85rem; }
    .sp-meta-grid { grid-template-columns: 1fr; }
}

/* ── Sales page hero ─────────────────────────────────────────────────────────── */
.sp-hero {
    background: var(--fdu-navy);
    color: #fff;
    padding: 3rem 0 3rem;
}
.sp-hero-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    justify-content: space-between;
}
.sp-hero-text { flex: 1; min-width: 0; }
.sp-hero-eyebrow {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fdu-sage);
    margin: 0 0 .5rem;
}
.sp-hero-title {
    font-family: var(--fdu-font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: #fff;
    line-height: 1.2;
    margin: 0 0 .65rem;
}
.sp-hero-instructor {
    font-size: 1.05rem;
    color: rgba(255,255,255,.65);
    margin: 0;
    font-style: italic;
}
.sp-hero-img-wrap {
    flex: 0 0 320px;
    border-radius: 12px;
    overflow: hidden;
}
.sp-hero-img {
    width: 100%; height: 200px;
    object-fit: cover;
    display: block;
}

/* ── Instructor section (stacked) ───────────────────────────────────────────── */
.sp-instructor-section { display: flex; flex-direction: column; gap: 2.5rem; }
.sp-instructor-card { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 1.5rem; }
.sp-feedback-block { background: var(--fdu-light, #f8f9fb); border-radius: 10px; padding: 1.5rem; }

/* Remove old row selector */
.sp-instructor-row { display: block; }

@media (max-width: 640px) {
    .sp-hero-inner { flex-direction: column-reverse; }
    .sp-hero-img-wrap { flex: none; width: 100%; }
    .sp-hero-img { height: 180px; }
}

/* ── Sales page: video centered ─────────────────────────────────────────────── */
.sp-video { padding: 2rem 0; text-align: center; }
.sp-video-wrap {
    position: relative; padding-bottom: 56.25%; height: 0;
    overflow: hidden; border-radius: 10px;
    max-width: 900px; margin: 0 auto;
}
.sp-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp-vimeo-multi { display: inline-block; }

/* ── Pricing table: tooltip button ──────────────────────────────────────────── */
.sp-tooltip-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border-radius: 50%;
    background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.4);
    color: #fff; font-size: .72rem; font-weight: 700; cursor: pointer;
    margin-left: .4rem; vertical-align: middle; line-height: 1;
    transition: background .15s;
}
.sp-tooltip-btn:hover { background: rgba(255,255,255,.4); }

/* Forever popup — fixed overlay */
.sp-forever-popup {
    display: none;
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff; border: 1px solid #ddd; border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    padding: 1.4rem 1.5rem 1.2rem;
    max-width: 360px; width: calc(100% - 2rem);
    font-size: .9rem; line-height: 1.6; color: #444;
    text-align: left;
}
.sp-forever-popup.is-open { display: block; }
.sp-forever-popup-backdrop {
    display: none;
    position: fixed; inset: 0; background: rgba(0,0,0,.35);
    z-index: 9998;
}
.sp-forever-popup-backdrop.is-open { display: block; }
.sp-forever-popup-close {
    position: absolute; top: .5rem; right: .65rem;
    background: none; border: none; font-size: 1.2rem;
    color: #999; cursor: pointer; line-height: 1;
}
.sp-forever-popup-close:hover { color: #333; }

/* ── NPCP logo in CEC notice ─────────────────────────────────────────────────── */
.sp-cec-notice {
    display: flex; align-items: center; gap: 1.25rem;
    margin-top: 1.25rem; padding: 1rem 1.25rem;
    border-radius: 8px; font-size: .875rem;
    background: #eef4f0; border-left: 3px solid var(--fdu-sage); color: #444;
}
.sp-cec-notice--none { background: #f5f5f5; border-left-color: #ccc; display: block; }
.sp-npcp-logo { height: 50px; width: auto; flex-shrink: 0; object-fit: contain; }
.sp-cec-notice-text { flex: 1; }
.sp-cec-notice-text p { margin: 0; }

/* ── Detail panels ───────────────────────────────────────────────────────────── */
.sp-panels { display: flex; flex-direction: column; gap: 1.25rem; }

.sp-panel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.sp-panel, .sp-panel--wide {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 1.5rem 1.5rem 1.35rem;
}
.sp-panel-heading {
    font-family: var(--fdu-font-serif);
    font-size: 1.1rem;
    color: var(--fdu-navy);
    border-bottom: 2px solid var(--fdu-sage);
    padding-bottom: .4rem;
    margin: 0 0 1rem;
    font-weight: 400;
}
.sp-panel-body {
    font-size: .95rem;
    line-height: 1.75;
    color: #444;
}
.sp-panel-body ul { padding-left: 1.25rem; margin: 0; }
.sp-panel-body li { margin-bottom: .3rem; }
.sp-panel-body p { margin: 0 0 .75rem; }
.sp-panel-body p:last-child { margin-bottom: 0; }

/* Duration uses same panel style */
.sp-duration { }
.sp-duration .sp-panel-heading { font-size: 1.1rem; }

@media (max-width: 640px) {
    .sp-panel-row { grid-template-columns: 1fr; }
}

/* ── Sales page redesign ─────────────────────────────────────────────────────── */

/* Hero — compact, no image, title always one line */
.sp-hero { padding: 1.75rem 0; }
.sp-hero-inner { display: block; text-align: center; max-width: 960px; margin: 0 auto; }
.sp-hero-eyebrow { margin: 0 0 .35rem; }
.sp-hero-title {
    font-size: clamp(.95rem, 3vw, 2.5rem);
    line-height: 1.1; margin: 0 0 .4rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sp-hero-instructor { color: var(--fdu-coral); font-style: normal; font-weight: 500; font-size: 1rem; margin: 0; }
.sp-hero-cta {
    display: inline-flex; align-items: center; gap: .55rem;
    margin-top: 1.75rem; padding: .8rem 1.9rem;
    background: var(--fdu-coral); color: #fff;
    border-radius: 40px; font-size: .95rem; font-weight: 600;
    text-decoration: none; font-family: var(--fdu-font-sans);
    transition: background .2s, transform .2s;
}
.sp-hero-cta:hover { background: var(--fdu-coral-dark); transform: translateY(-2px); }
.sp-hero-cta svg { flex-shrink: 0; }

/* Video — light background */
.sp-video--cinematic { background: var(--fdu-cream, #faf8f3); padding: 3rem 0; }
.sp-video--cinematic .sp-duoplayer { max-width: 900px; margin: 0 auto; }
.sp-video--cinematic .sp-duoplayer-tabs { justify-content: center; gap: .75rem; margin-bottom: 1.25rem; }
.sp-video--cinematic .sp-duoplayer-tab { padding: .6rem 1.6rem; font-size: .95rem; }
.sp-video--cinematic .sp-duoplayer-tab.is-active,
.sp-video--cinematic .sp-duoplayer-tab:hover { background: var(--fdu-coral); border-color: var(--fdu-coral); color: #fff; }

/* "Best Value" pill on the Forever Member column header */
.sp-pricing-table thead th:nth-child(3) { position: relative; padding-top: 1.5rem; }
.sp-pricing-table thead th:nth-child(3)::before {
    content: 'Best Value';
    position: absolute; top: .4rem; left: 50%; transform: translateX(-50%);
    background: var(--fdu-coral); color: #fff;
    font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: .15rem .6rem; border-radius: 20px; white-space: nowrap;
}

/* Pricing — coral is the buy button */
.sp-btn--primary  { background: var(--fdu-coral); color: #fff; }
.sp-btn--primary:hover  { background: var(--fdu-coral-dark); }
.sp-btn--forever  { background: var(--fdu-coral); color: #fff; }
.sp-btn--forever:hover  { background: var(--fdu-coral-dark); }
.sp-btn--secondary { background: transparent; color: var(--fdu-coral); border: 1.5px solid var(--fdu-coral); }
.sp-btn--secondary:hover { background: var(--fdu-coral); color: #fff; }
.sp-btn--outline { background: transparent; color: var(--fdu-navy); border: 1.5px solid var(--fdu-border); border-radius: 40px; padding: .45rem 1.1rem; font-size: .85rem; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; display: inline-block; }
.sp-btn--outline:hover { border-color: var(--fdu-navy); color: var(--fdu-navy); }
.sp-btn { padding: .6rem 1.5rem; font-size: .9rem; }

/* Description */
.sp-description-section { background: #fff; padding: 3.5rem 0 3rem; }
.sp-description-inner { max-width: 980px; margin: 0 auto; }
.sp-section-heading {
    font-family: var(--fdu-font-serif); font-size: 1.75rem;
    color: var(--fdu-navy); margin: 0 0 1.25rem; font-weight: 400;
    padding-bottom: .6rem; border-bottom: 2px solid var(--fdu-sage);
}
.sp-description-body { font-size: 1.05rem; line-height: 1.8; color: #4a5568; }
.sp-description-body p { margin: 0 0 .9rem; }
.sp-description-body p:last-child { margin-bottom: 0; }

/* Spec cards */
.sp-specs-section { background: var(--fdu-cream, #faf8f3); padding: 3rem 0; }
.sp-spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.sp-spec-card {
    background: #fff; border-radius: 12px; padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border-top: 3px solid var(--fdu-sage);
    display: flex; flex-direction: column;
}
.sp-spec-icon {
    width: 46px; height: 46px; border-radius: 50%;
    background: #eef4f0; display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; color: var(--fdu-sage-dark); flex-shrink: 0;
}
.sp-spec-title {
    font-family: var(--fdu-font-serif); font-size: 1rem;
    color: var(--fdu-navy); margin: 0 0 .75rem; font-weight: 600;
    padding-bottom: .45rem; border-bottom: 1px solid #e8eef0;
}
.sp-spec-body { font-size: .88rem; line-height: 1.65; color: #5a6a7a; flex: 1; }
.sp-spec-body ul { padding-left: 1.1rem; margin: 0; }
.sp-spec-body li { margin-bottom: .3rem; }

/* Duration bar */
.sp-duration-section { background: #fff; padding: 1.5rem 0 0; }
.sp-duration-bar {
    display: flex; align-items: center; gap: 1.5rem;
    background: var(--fdu-cream, #faf8f3);
    border-left: 4px solid var(--fdu-coral);
    border-radius: 8px; padding: 1.25rem 1.75rem;
}
.sp-duration-icon {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--fdu-coral); display: flex; align-items: center;
    justify-content: center; color: #fff; flex-shrink: 0;
}
.sp-duration-content h3 { font-family: var(--fdu-font-serif); font-size: 1rem; color: var(--fdu-navy); margin: 0 0 .3rem; }
.sp-duration-content div { color: #4a5568; font-size: .9rem; line-height: 1.6; margin: 0; }
.sp-duration-content a { color: var(--fdu-coral); }

/* Repeat buy section */
.sp-pricing--repeat { margin-top: 0; background: var(--fdu-cream, #faf8f3); border-radius: 12px; }
.sp-pricing-repeat-heading {
    font-family: var(--fdu-font-serif); font-size: 1.5rem;
    color: var(--fdu-navy); margin: 0 0 1.25rem; font-weight: 400;
    text-align: center;
}

/* Instructor + Feedback — side by side */
.sp-bottom-section { padding-top: 3rem; padding-bottom: 3rem; }
.sp-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.sp-instructor-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; overflow: hidden; padding: 0; }
.sp-instructor-photo-link { display: block; }
.sp-instructor-photo {
    width: 100%; height: 320px;
    object-fit: cover; object-position: center top;
    display: block; border-radius: 0;
}
.sp-instructor-name {
    font-family: var(--fdu-font-serif); font-size: 1.1rem;
    color: var(--fdu-navy); border-bottom: 2px solid var(--fdu-sage);
    padding-bottom: .4rem; margin: 0 0 .85rem; font-weight: 400;
}
.sp-instructor-bio { padding: 1.5rem; font-size: .9rem; line-height: 1.65; color: #555; }
.sp-feedback-block { background: var(--fdu-cream, #faf8f3); border-radius: 12px; padding: 1.75rem; }
.sp-feedback-block .sp-detail-heading { margin-bottom: 1.25rem; }

/* Testimonial upgrades */
.sp-testimonial blockquote {
    font-size: 1.05rem; line-height: 1.75;
    border-left: 3px solid var(--fdu-coral);
    color: #444; padding-left: 1.1rem; margin: 0 0 .75rem;
}
.sp-testimonial cite { color: var(--fdu-coral); font-weight: 600; }
.sp-t-btn:hover { background: var(--fdu-coral); border-color: var(--fdu-coral); color: #fff; }
.sp-feedback-author { color: var(--fdu-coral); }
.sp-other-workshops { color: var(--fdu-sage-dark); font-size: .85rem; text-decoration: none; }
.sp-other-workshops:hover { color: var(--fdu-navy); }

/* Responsive */
@media (max-width: 1000px) { .sp-spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px)  { .sp-bottom-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px)  {
    .sp-spec-grid { grid-template-columns: 1fr; }
    .sp-hero-inner { flex-direction: column-reverse; gap: 1.5rem; }
    .sp-hero-img-wrap { flex: none; width: 100%; }
    .sp-duration-bar { flex-direction: column; text-align: center; }
}

/* ============================================================
   Template: Common Template 2026 (template-general2026.php)
   Checkout page, general inner pages using this template
   ============================================================ */

/* Push page-header below the fixed nav */
body.page-template-template-general2026 .page-header {
    padding-top: calc(var(--fdu-header-top-h) + var(--fdu-header-main-h) + 3rem);
}

/* Shrink the page title — "Checkout: Workshops" doesn't need 4rem */
body.page-template-template-general2026 .page-title {
    font-size: 2.25rem;
    margin-bottom: 0;
}

/* Content area */
.dashboard-content {
    background: var(--fdu-cream, #faf8f3);
    padding: 3.5rem 1.5rem 5rem;
}

/* Centered card wrapping the form */
.dashboard-content .container {
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 3rem;
    box-shadow: 0 2px 24px rgba(26, 35, 50, 0.07);
}

/* GF form tidying */
.dashboard-content .gform_wrapper .gfield_label {
    font-family: var(--fdu-font-sans);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--fdu-navy);
}

.dashboard-content .gform_wrapper input[type="text"],
.dashboard-content .gform_wrapper input[type="email"],
.dashboard-content .gform_wrapper select,
.dashboard-content .gform_wrapper textarea {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: .65rem .9rem;
    font-family: var(--fdu-font-sans);
    font-size: .95rem;
    color: var(--fdu-navy);
    transition: border-color .2s;
}

.dashboard-content .gform_wrapper input[type="text"]:focus,
.dashboard-content .gform_wrapper input[type="email"]:focus {
    border-color: var(--fdu-coral);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 90, 0.12);
}

/* Submit button */
.dashboard-content .gform_footer .gform_button,
.dashboard-content .gform_footer input[type="submit"] {
    background: var(--fdu-coral);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: .9rem 2.5rem;
    font-family: var(--fdu-font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .03em;
    transition: background .2s, transform .1s;
    width: 100%;
}

.dashboard-content .gform_footer .gform_button:hover,
.dashboard-content .gform_footer input[type="submit"]:hover {
    background: #e55a48;
    transform: translateY(-1px);
}

/* Product/total row */
.dashboard-content .ginput_product_price,
.dashboard-content .ginput_total {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--fdu-navy);
}

/* Unsecured card warning — de-emphasize in local test mode */
.dashboard-content .gfield_creditcard_warning_message {
    font-size: .78rem;
    background: #fff8f0;
    border: 1px solid #ffe0d0;
    border-radius: 6px;
    padding: .5rem .85rem;
    color: #a0522d;
}

@media (max-width: 640px) {
    .dashboard-content .container {
        padding: 1.75rem 1.25rem;
        border-radius: 8px;
    }
    body.page-template-template-general2026 .page-title {
        font-size: 1.6rem;
    }
}

/* ============================================================
   Members Home 2026 + Dashboard Sub-pages
   Shared styles for /members/ and /user/* pages
   ============================================================ */

/* WELCOME / PAGE BANNER */
.mh-welcome {
    background: linear-gradient(135deg, var(--fdu-navy,#1a2332) 0%, #2a3f5c 100%);
    padding: 3.5rem 0;
    padding-top: calc(var(--fdu-header-top-h, 40px) + var(--fdu-header-main-h, 80px) + 3.5rem);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.mh-welcome::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(168,198,159,.15) 0%, transparent 70%);
    pointer-events: none;
}
.mh-welcome-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.mh-welcome-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--fdu-sage,#a8c69f);
    margin: 0 0 .6rem;
}
.mh-welcome-text h1 {
    font-family: var(--fdu-font-serif,'Fraunces',serif);
    font-size: 2.6rem;
    font-weight: 300;
    letter-spacing: -.03em;
    margin: 0 0 .5rem;
    color: #fff;
    line-height: 1.1;
}
.mh-welcome-sub {
    color: rgba(255,255,255,.6);
    font-size: .95rem;
    margin: 0;
}
.mh-welcome-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* SECTIONS */
.mh-section        { padding: 4.5rem 0; }
.mh-section-alt    { background: var(--fdu-cream,#f8f6f2); }
.mh-section-dark   { background: #1a2332; }
.mh-section-sage   { background: #edf4eb; }

.mh-section-hd {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.mh-section-hd h2 {
    font-family: var(--fdu-font-serif,'Fraunces',serif);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -.02em;
    color: var(--fdu-navy,#1a2332);
    margin: 0 0 .3rem;
    line-height: 1.1;
}
.mh-section-hd p { color: #888; font-size: .9rem; margin: 0; }
.mh-section-hd-light h2 { color: #fff; }
.mh-section-hd-light p  { color: rgba(255,255,255,.55); }

/* BUTTONS */
.mh-btn {
    display: inline-block;
    padding: .65rem 1.5rem;
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
    cursor: pointer;
}
.mh-btn-ghost {
    background: transparent;
    color: rgba(255,255,255,.85);
    border: 1.5px solid rgba(255,255,255,.35);
}
.mh-btn-ghost:hover { border-color: #fff; color: #fff; }
.mh-btn-sage {
    background: var(--fdu-sage,#a8c69f);
    color: #fff;
    border: 1.5px solid var(--fdu-sage,#a8c69f);
}
.mh-btn-sage:hover { background: #8fb38a; border-color: #8fb38a; color: #fff; }
.mh-btn-navy {
    background: var(--fdu-navy,#1a2332);
    color: #fff;
    border: 1.5px solid var(--fdu-navy,#1a2332);
}
.mh-btn-navy:hover { background: #253347; color: #fff; }

.mh-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--fdu-sage,#a8c69f);
    text-decoration: none;
    white-space: nowrap;
}
.mh-link:hover { color: var(--fdu-navy,#1a2332); }
.mh-section-dark .mh-link { color: rgba(255,255,255,.6); }
.mh-section-dark .mh-link:hover { color: #fff; }

/* GRIDS */
.mh-grid { display: grid; gap: 1.5rem; }
.mh-grid-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 1024px) { .mh-grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px)  { .mh-grid-4 { grid-template-columns: 1fr; } }

/* WORKSHOP CARD */
.mh-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}
.mh-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.13); }
.mh-card-img {
    display: block;
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.mh-card-img img,
.mh-card-img .mh-card-img-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.mh-card:hover .mh-card-img img { transform: scale(1.04); }
.mh-card-watch {
    position: absolute;
    inset: 0;
    background: rgba(26,35,50,.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .06em;
    opacity: 0;
    transition: opacity .25s;
}
.mh-card:hover .mh-card-watch { opacity: 1; }
.mh-card-body { padding: 1.1rem 1.25rem 1.4rem; flex: 1; display: flex; flex-direction: column; gap: .25rem; }
.mh-card-body h3 { font-family: var(--fdu-font-serif,'Fraunces',serif); font-size: .95rem; font-weight: 400; margin: 0; line-height: 1.35; }
.mh-card-body h3 a { color: var(--fdu-navy,#1a2332); text-decoration: none; }
.mh-card-body h3 a:hover { color: var(--fdu-sage,#a8c69f); }
.mh-card-instr { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--fdu-sage,#a8c69f); }
.mh-card-desc { font-size: .82rem; color: #777; line-height: 1.5; margin: .2rem 0 0; }

/* CTA side cards */
.mh-side-cta {
    background: rgba(168,198,159,.12) !important;
    border: 1px solid rgba(168,198,159,.25);
    padding: .75rem 1rem !important;
    align-items: center;
    text-decoration: none;
    transition: background .2s;
}
.mh-side-cta:hover { background: rgba(168,198,159,.22) !important; }
.mh-side-cta-gold {
    background: rgba(212,185,120,.12) !important;
    border-color: rgba(212,185,120,.3);
}
.mh-side-cta-gold:hover { background: rgba(212,185,120,.22) !important; }
.mh-side-cta-inner {
    display: flex;
    align-items: center;
    gap: .85rem;
    width: 100%;
}
.mh-side-cta-icon { font-size: 1.4rem; flex-shrink: 0; }
.mh-side-cta h4 { font-size: .9rem; font-weight: 600; color: #fff; margin: 0 0 .2rem; }
.mh-side-cta span { font-size: .75rem; color: rgba(255,255,255,.55); }

/* RECENTLY ADDED layout */
.mh-recent-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}
@media (max-width: 900px) { .mh-recent-layout { grid-template-columns: 1fr; } }

/* Hero card */
.mh-hero-card {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,.07);
    display: flex;
    flex-direction: column;
}
.mh-hero-card-img-wrap {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.mh-hero-card-img-wrap img,
.mh-hero-card-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}
.mh-hero-card-bg { background: linear-gradient(135deg,#1a2332,#3d5a80); }
.mh-hero-card:hover .mh-hero-card-img-wrap img { transform: scale(1.03); }
.mh-hero-card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
}
.mh-hero-card-label {
    display: inline-block;
    background: var(--fdu-sage,#a8c69f);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: .25rem .65rem;
    border-radius: 3px;
    white-space: nowrap;
}
.mh-hero-card-instr {
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(255,255,255,.65);
    margin: 0;
    flex: 1;
}

/* Side cards */
.mh-recent-side { display: flex; flex-direction: column; gap: 1rem; }
.mh-side-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(255,255,255,.07);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: background .2s;
    padding-right: 1rem;
}
.mh-side-card:hover { background: rgba(255,255,255,.13); }
.mh-side-card-img {
    width: 100px;
    min-width: 100px;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 6px;
    flex-shrink: 0;
}
.mh-side-card-img img,
.mh-side-card-img .mh-card-img-bg { width: 100%; height: 100%; object-fit: cover; display: block; }
.mh-side-card-body { flex: 1; padding: .75rem 0; }
.mh-side-card-body h4 { font-size: .9rem; font-weight: 500; color: #fff; margin: 0 0 .25rem; line-height: 1.3; }
.mh-side-card-body span { font-size: .75rem; color: var(--fdu-sage,#a8c69f); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* INSTRUCTORS */
.mh-instructors {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.5rem;
    text-align: center;
}
@media (max-width: 768px) { .mh-instructors { grid-template-columns: repeat(2,1fr); } }
.mh-instructor-avatar {
    display: block;
    width: 110px; height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--fdu-sage,#a8c69f);
    transition: border-color .2s;
}
.mh-instructor-avatar:hover { border-color: var(--fdu-navy,#1a2332); }
.mh-instructor-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.mh-instructor-initials {
    width: 100%; height: 100%;
    background: var(--fdu-navy,#1a2332);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-family: var(--fdu-font-serif,'Fraunces',serif);
    font-weight: 300;
}
.mh-instructor h4 { font-size: .95rem; font-weight: 600; margin: 0 0 .35rem; }
.mh-instructor h4 a { color: var(--fdu-navy,#1a2332); text-decoration: none; }
.mh-instructor h4 a:hover { color: var(--fdu-sage,#a8c69f); }
.mh-instructor p { font-size: .82rem; color: #666; line-height: 1.55; margin: 0; }

/* EMPTY + SUGGEST STATE */
.mh-empty-suggest { }
.mh-empty-msg {
    font-size: 1rem;
    color: #666;
    margin: 0 0 1.75rem;
    font-style: italic;
}
.mh-empty-suggest-cta { text-align: center; margin-top: 2rem; }
.mh-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--fdu-cream,#f8f6f2);
    border-radius: 12px;
}
.mh-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.mh-empty h3 {
    font-family: var(--fdu-font-serif,'Fraunces',serif);
    font-size: 1.5rem; font-weight: 300;
    color: var(--fdu-navy,#1a2332);
    margin: 0 0 .75rem;
}
.mh-empty p { color: #777; margin: 0 0 1.75rem; max-width: 380px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* Members page responsive */
@media (max-width: 640px) {
    .mh-welcome-text h1 { font-size: 1.9rem; }
    .mh-welcome-inner { flex-direction: column; align-items: flex-start; }
    .mh-section-hd h2 { font-size: 1.6rem; }
}

/* ============================================================
   Dashboard Sub-page Navigation & Layout
   /user/content/, /user/profile/, /user/billing/,
   /user/certificates/, /user/receipts/
   ============================================================ */

/* --- Page header (dark navy banner — tight, just holds the text) --- */
.fdu-dash-page-header {
    background: linear-gradient(135deg, var(--fdu-navy, #1a2332) 0%, #2a3f5c 100%);
    padding-top: calc(var(--fdu-header-top-h, 40px) + var(--fdu-header-main-h, 80px) + .75rem);
    padding-bottom: .75rem;
    position: relative;
    overflow: hidden;
}
.fdu-dash-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(168,198,159,.1) 0%, transparent 70%);
    pointer-events: none;
}
.fdu-dash-page-header .fdu-container { position: relative; }
.fdu-dash-page-header .page-title {
    font-family: var(--fdu-font-serif, 'Fraunces', serif);
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: -.02em;
    color: #fff;
    margin: 0 0 .2rem;
    line-height: 1.15;
}
.fdu-dash-page-header .mh-welcome-eyebrow {
    font-size: .68rem;
    margin-bottom: .35rem;
}
.fdu-dash-page-header .page-subtitle {
    color: rgba(255, 255, 255, .55);
    font-size: .85rem;
    margin: 0;
}

/* --- Nav bar — dark tab strip with subtle 3D depth --- */
.fdu-dash-nav {
    background: linear-gradient(180deg, #1e2e42 0%, #111c2a 100%);
    border-bottom: none;
    padding: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.07);
}
.fdu-dash-nav-toggle {
    display: none;
    background: rgba(255,255,255,.08);
    color: #fff;
    border: none;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: .9rem 1.5rem;
    font-family: var(--fdu-font-sans, 'Inter', sans-serif);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .04em;
    width: 100%;
    text-align: left;
}
.fdu-dash-nav-menu {
    display: flex;
    justify-content: center;
    gap: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    max-width: 1200px;
    margin: 0 auto;
}
.fdu-dash-nav-item { text-align: center; }
.fdu-dash-nav-item a {
    display: block;
    padding: .95rem 1.5rem;
    text-decoration: none;
    color: rgba(255,255,255,.45);
    font-family: var(--fdu-font-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s, text-shadow .2s;
    white-space: nowrap;
    /* subtle inset highlight gives each tab a face */
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.fdu-dash-nav-item a:hover {
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.04);
    border-bottom-color: rgba(255,255,255,.2);
    box-shadow: none;
    transform: none;
}
.fdu-dash-nav-item.active a {
    color: #fff;
    background: rgba(255,255,255,.06);
    border-bottom-color: var(--fdu-coral, #ff6b5a);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 -3px 10px rgba(255,107,90,.15) inset;
    text-shadow: 0 0 16px rgba(255,107,90,.35);
    transform: none;
}

/* --- Content area --- */
.fdu-dash-content {
    background: var(--fdu-cream, #faf8f3);
    padding: 3rem 0 5rem;
}

/* --- Form card (profile, billing, receipts) --- */
.fdu-dash-form-card {
    background: #fff;
    border-radius: 10px;
    padding: 2.5rem 3rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    max-width: 760px;
    margin: 0 auto;
}

/* --- Data tables (Certificates, Receipts) --- */
.fdu-data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(26, 35, 50, .06);
    margin-top: 1.5rem;
}
.fdu-data-table thead th {
    background: var(--fdu-navy, #1a2332);
    color: #fff;
    padding: .85rem 1.25rem;
    font-family: var(--fdu-font-sans, 'Inter', sans-serif);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: left;
}
.fdu-data-table tbody tr { border-bottom: 1px solid #e2e8f0; }
.fdu-data-table tbody tr:last-child { border-bottom: none; }
.fdu-data-table td {
    padding: .85rem 1.25rem;
    font-size: .9rem;
    color: var(--fdu-navy, #1a2332);
}
.fdu-data-table tbody tr:nth-child(even) { background: #faf8f3; }
.fdu-data-table a { color: var(--fdu-coral, #ff6b5a); font-weight: 600; text-decoration: none; }
.fdu-data-table a:hover { text-decoration: underline; }

/* --- Library search bar (My Content) --- */
.fdu-lib-search {
    padding: 2rem 0 .5rem;
}
.fdu-lib-search-inner {
    position: relative;
    max-width: 560px;
}
.fdu-lib-search-inner svg {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #a0aec0;
    pointer-events: none;
    flex-shrink: 0;
}
.fdu-lib-search-input {
    width: 100%;
    padding: .85rem 1.25rem .85rem 2.9rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    background: #fff;
    font-family: var(--fdu-font-sans, 'Inter', sans-serif);
    font-size: .95rem;
    color: var(--fdu-navy, #1a2332);
    box-shadow: 0 2px 12px rgba(26,35,50,.06);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.fdu-lib-search-input::placeholder { color: #a0aec0; }
.fdu-lib-search-input:focus {
    border-color: var(--fdu-coral, #ff6b5a);
    box-shadow: 0 0 0 3px rgba(255,107,90,.12), 0 2px 12px rgba(26,35,50,.06);
}
.fdu-lib-count {
    font-size: .82rem;
    color: #a0aec0;
    margin-top: .6rem;
    padding-left: .5rem;
}

/* --- Forever Access upsell strip --- */
.fdu-fa-upsell {
    background: linear-gradient(135deg, #2a1a0e 0%, #4a2e1a 100%);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.fdu-fa-upsell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 100% at 100% 50%, rgba(212,185,120,.18) 0%, transparent 65%);
    pointer-events: none;
}
.fdu-fa-upsell-icon {
    font-size: 2rem;
    flex-shrink: 0;
    position: relative;
}
.fdu-fa-upsell-text { flex: 1; position: relative; }
.fdu-fa-upsell-eyebrow {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #d4b978;
    margin: 0 0 .3rem;
}
.fdu-fa-upsell-text h3 {
    font-family: var(--fdu-font-serif, 'Fraunces', serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    margin: 0 0 .3rem;
    line-height: 1.25;
}
.fdu-fa-upsell-text p {
    font-size: .82rem;
    color: rgba(255,255,255,.6);
    margin: 0;
    line-height: 1.5;
}
.fdu-fa-upsell-cta {
    display: inline-block;
    background: #d4b978;
    color: #2a1a0e;
    padding: .65rem 1.5rem;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
    position: relative;
}
.fdu-fa-upsell-cta:hover { background: #e0c98a; color: #2a1a0e; }

/* --- Workshop grid header + pagination arrows --- */
.fdu-lib-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem 0 1rem;
    flex-wrap: wrap;
    gap: .5rem;
}
.fdu-lib-grid-title {
    font-family: var(--fdu-font-serif, 'Fraunces', serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--fdu-navy, #1a2332);
    margin: 0;
}
.fdu-lib-arrows {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.fdu-lib-arrow {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    color: var(--fdu-navy, #1a2332);
    transition: all .2s;
    line-height: 1;
}
.fdu-lib-arrow:hover:not(:disabled) {
    background: var(--fdu-navy, #1a2332);
    border-color: var(--fdu-navy, #1a2332);
    color: #fff;
}
.fdu-lib-arrow:disabled { opacity: .3; cursor: default; }
.fdu-lib-page-info {
    font-size: .78rem;
    color: #a0aec0;
    min-width: 40px;
    text-align: center;
}
.fdu-lib-show-more {
    text-align: center;
    margin: 2rem 0 0;
}
.fdu-lib-show-more-btn {
    background: none;
    border: 1.5px solid #e2e8f0;
    border-radius: 30px;
    padding: .6rem 1.75rem;
    font-family: var(--fdu-font-sans, 'Inter', sans-serif);
    font-size: .85rem;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all .2s;
}
.fdu-lib-show-more-btn:hover {
    border-color: var(--fdu-navy, #1a2332);
    color: var(--fdu-navy, #1a2332);
}
.fdu-lib-no-results {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    color: #a0aec0;
    font-size: .95rem;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .fdu-dash-nav-toggle { display: block; }
    .fdu-dash-nav-menu {
        display: none;
        flex-direction: column;
        background: #101b29;
    }
    .fdu-dash-nav-menu.is-open { display: flex; }
    .fdu-dash-nav-item { text-align: left; }
    .fdu-dash-nav-item a {
        border-bottom: none;
        border-left: 3px solid transparent;
        padding: .85rem 1.25rem;
    }
    .fdu-dash-nav-item.active a,
    .fdu-dash-nav-item a:hover {
        border-bottom: none;
        border-left-color: var(--fdu-coral, #ff6b5a);
    }
    .fdu-dash-form-card { padding: 1.75rem 1.25rem; }
    .fdu-fa-upsell { flex-direction: column; align-items: flex-start; }
    .fdu-lib-search-inner { max-width: 100%; }
}
@media (max-width: 640px) {
    .fdu-dash-page-header .page-title { font-size: 1.4rem; }
}

/* ============================================================
   Dashboard Sub-page Inner Components
   Profile, Billing, Certificates, Receipts
   ============================================================ */

/* --- User info card (Profile page) --- */
.fdu-dash-user-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}
.fdu-dash-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fdu-navy,#1a2332) 0%, #2a3f5c 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fdu-font-serif,'Fraunces',serif);
    font-size: 1.5rem;
    font-weight: 300;
    flex-shrink: 0;
    letter-spacing: -.02em;
    box-shadow: 0 4px 12px rgba(26,35,50,.25);
}
.fdu-dash-user-info { flex: 1; min-width: 0; }
.fdu-dash-user-name {
    font-family: var(--fdu-font-serif,'Fraunces',serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--fdu-navy,#1a2332);
    margin: 0 0 .2rem;
    line-height: 1.2;
}
.fdu-dash-user-email {
    font-size: .82rem;
    color: #a0aec0;
    margin: 0 0 .6rem;
}
.fdu-dash-user-meta {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-wrap: wrap;
}
.fdu-dash-badge {
    display: inline-block;
    padding: .22rem .8rem;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.fdu-dash-badge-forever {
    background: linear-gradient(135deg, #1e3d2a, #2e5a3e);
    color: #7ecf98;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.fdu-dash-badge-free {
    background: #f0f4f8;
    color: #718096;
}
.fdu-dash-since {
    font-size: .78rem;
    color: #a0aec0;
}

/* --- Section label --- */
.fdu-dash-section-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a0aec0;
    margin: 0 0 .6rem;
}

/* --- Info strip (billing context) --- */
.fdu-dash-info-strip {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    background: #f0f5ff;
    border: 1px solid #ccdeff;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: .86rem;
    color: #2a4a7f;
    line-height: 1.6;
}
.fdu-dash-info-strip svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: .15rem;
    color: #5b8def;
}

/* --- Style the [custom_profile] shortcode output --- */
.fdu-dash-form-card .profile-form form { max-width: 100% !important; }
.fdu-dash-form-card .form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f4f8;
}
.fdu-dash-form-card .form-section:last-of-type { border-bottom: none; margin-bottom: 1.25rem; }
.fdu-dash-form-card .form-section h3 {
    font-family: var(--fdu-font-sans,'Inter',sans-serif);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a0aec0;
    margin: 0 0 1.25rem;
}
.fdu-dash-form-card .form-group {
    margin-bottom: 1.1rem;
}
.fdu-dash-form-card .form-group label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--fdu-navy,#1a2332);
    margin-bottom: .4rem;
    letter-spacing: .02em;
}
.fdu-dash-form-card .form-input {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--fdu-font-sans,'Inter',sans-serif);
    font-size: .93rem;
    color: var(--fdu-navy,#1a2332);
    background: #fafbfc;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    box-sizing: border-box;
}
.fdu-dash-form-card .form-input:focus {
    border-color: var(--fdu-coral,#ff6b5a);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,107,90,.1);
}
.fdu-dash-form-card .form-input[type="email"] { color: #718096; background: #f7f9fc; }
.fdu-dash-form-card .form-group small {
    display: block;
    font-size: .75rem;
    color: #a0aec0;
    margin-top: .35rem;
    line-height: 1.5;
}
.fdu-dash-form-card .btn-update,
.fdu-dash-form-card button[name="update_profile"] {
    background: var(--fdu-navy,#1a2332);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .8rem 2rem;
    font-family: var(--fdu-font-sans,'Inter',sans-serif);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .03em;
    transition: background .2s, transform .1s;
}
.fdu-dash-form-card .btn-update:hover,
.fdu-dash-form-card button[name="update_profile"]:hover {
    background: #253347;
    transform: translateY(-1px);
}
/* Success/error messages from profile update */
.fdu-dash-form-card p[style*="color:green"],
.fdu-dash-form-card p[style*="color: green"] {
    background: #e6f4ea;
    border: 1px solid #b2dfcb;
    border-radius: 6px;
    padding: .65rem 1rem;
    color: #276b3b !important;
    font-size: .88rem;
    margin-bottom: 1.25rem;
}
.fdu-dash-form-card p[style*="color:red"],
.fdu-dash-form-card p[style*="color: red"] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: .65rem 1rem;
    color: #b91c1c !important;
    font-size: .88rem;
    margin-bottom: 1.25rem;
}

/* --- Style the [user_gravity_entries] output (.data-table) --- */
.fdu-dash-content #receiptsPage { width: 100%; }
.fdu-dash-content .data-table { width: 100%; }
.fdu-dash-content .data-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(26,35,50,.06);
}
.fdu-dash-content .data-table table thead th {
    background: var(--fdu-navy,#1a2332);
    color: #fff;
    padding: .85rem 1.25rem;
    font-family: var(--fdu-font-sans,'Inter',sans-serif);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
}
.fdu-dash-content .data-table table tbody tr {
    border-bottom: 1px solid #f0f4f8;
    transition: background .15s;
}
.fdu-dash-content .data-table table tbody tr:last-child { border-bottom: none; }
.fdu-dash-content .data-table table tbody tr:hover { background: #fafbfc; }
.fdu-dash-content .data-table table td {
    padding: .9rem 1.25rem;
    font-size: .88rem;
    color: var(--fdu-navy,#1a2332);
    vertical-align: middle;
}
.fdu-dash-content .data-table table tbody tr:nth-child(even) { background: #faf8f3; }
.fdu-dash-content .data-table table tbody tr:nth-child(even):hover { background: #f5f2ec; }
.fdu-dash-content .data-table a {
    color: var(--fdu-coral,#ff6b5a);
    font-weight: 600;
    text-decoration: none;
    font-size: .85rem;
}
.fdu-dash-content .data-table a:hover { text-decoration: underline; }
/* Receipt # in muted style */
.fdu-dash-content .data-table td:first-child {
    font-size: .78rem;
    color: #a0aec0;
    font-family: var(--fdu-font-sans,'Inter',sans-serif);
    letter-spacing: .03em;
}
/* Amount column bold */
.fdu-dash-content .data-table td:nth-child(4) {
    font-weight: 700;
    color: var(--fdu-navy,#1a2332);
}

/* --- Certificates intro strip --- */
.fdu-dash-cert-intro {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.fdu-dash-cert-intro-icon {
    font-size: 2.25rem;
    flex-shrink: 0;
}
.fdu-dash-cert-intro-text h3 {
    font-family: var(--fdu-font-serif,'Fraunces',serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--fdu-navy,#1a2332);
    margin: 0 0 .2rem;
}
.fdu-dash-cert-intro-text p {
    font-size: .83rem;
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

/* --- Empty states --- */
.fdu-dash-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fafbfc;
    border-radius: 10px;
    border: 1px dashed #e2e8f0;
}
.fdu-dash-empty-icon { font-size: 2.25rem; margin-bottom: 1rem; display: block; }
.fdu-dash-empty h3 {
    font-family: var(--fdu-font-serif,'Fraunces',serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--fdu-navy,#1a2332);
    margin: 0 0 .5rem;
}
.fdu-dash-empty p { font-size: .86rem; color: #a0aec0; margin: 0; line-height: 1.6; }

/* Mobile */
@media (max-width: 640px) {
    .fdu-dash-user-card { gap: 1rem; padding: 1.25rem; }
    .fdu-dash-cert-intro { flex-direction: column; gap: .75rem; }
    .fdu-dash-content .data-table { overflow-x: auto; }
}


/* =============================================================
   SESSION TEMPLATE — global reset isolation
   session-2026.css handles all session layout/design.
   This block only neutralises the two global rules that would
   otherwise bleed into the new session markup.
   ============================================================= */

/* Card images and sidebar icons must not be block */
body.session-template .st-card img,
body.session-template .st-card-icon img,
body.session-template .st-check-icon,
body.quiz-template .st-card img,
body.quiz-template .st-card-icon img,
body.quiz-template .st-check-icon {
    display: inline-block;
}

/* Video iframe is handled by .st-video-wrap — keep block */
body.session-template .st-video-wrap iframe,
body.quiz-template .st-video-wrap iframe {
    display: block;
}
