/*
Margin Academy — Dark Neomorphism / Soft UI
The whole public site (body.ma-neo).

Light comes from the top-left only. Surfaces match the page color. Dark mode
keeps the highlight very faint (white around 4%) and the cast shadow soft and
deep. Convex is the default. A pressed inset is only the click state.
Photographs sit in a shallow well inside a raised card.

  Base     #23282f
  Primary  #008181
  Accent   #79d4d4
*/

body.ma-neo {
    --ma-primary: #008181;
    --ma-primary-deep: #006868;
    --ma-accent: #79d4d4;
    --ma-ink: #f2f4f6;
    --ma-muted: #b7c0c8;
    --ma-faint: #8e99a3;
    --ma-bg: #23282f;
    --ma-raise:
        inset 1px 1px 0 rgba(255, 255, 255, 0.055),
        -6px -6px 16px rgba(255, 255, 255, 0.042),
        8px 10px 20px rgba(0, 0, 0, 0.46),
        1px 2px 3px rgba(0, 0, 0, 0.32);
    --ma-raise-lg:
        inset 1px 1px 0 rgba(255, 255, 255, 0.07),
        -8px -8px 22px rgba(255, 255, 255, 0.05),
        14px 18px 36px rgba(0, 0, 0, 0.5),
        2px 4px 8px rgba(0, 0, 0, 0.36);
    --ma-raise-sm:
        inset 1px 1px 0 rgba(255, 255, 255, 0.05),
        -4px -4px 10px rgba(255, 255, 255, 0.04),
        5px 6px 14px rgba(0, 0, 0, 0.42);
    --ma-well:
        inset 3px 3px 8px rgba(0, 0, 0, 0.4),
        inset -2px -2px 6px rgba(255, 255, 255, 0.03);
    --ma-inset:
        inset 4px 4px 10px rgba(0, 0, 0, 0.55),
        inset -3px -3px 8px rgba(255, 255, 255, 0.035);
    --ma-raise-primary:
        inset 1px 1px 0 rgba(255, 255, 255, 0.28),
        -4px -4px 12px rgba(90, 210, 210, 0.14),
        6px 8px 16px rgba(0, 28, 30, 0.55);
    --ma-raise-primary-hover:
        inset 1px 1px 0 rgba(255, 255, 255, 0.34),
        -5px -5px 14px rgba(90, 210, 210, 0.18),
        8px 12px 22px rgba(0, 28, 30, 0.62);
    --ma-radius: 24px;
    --ma-ease: 180ms ease;
    color-scheme: dark;
    background: var(--ma-bg);
    color: var(--ma-ink);
    min-height: 100vh;
}

body.ma-neo p,
body.ma-neo li,
body.ma-neo span,
body.ma-neo h1,
body.ma-neo h2,
body.ma-neo h3,
body.ma-neo h4,
body.ma-neo h5,
body.ma-neo h6,
body.ma-neo label {
    color: var(--ma-ink);
}

body.ma-neo .ma-muted,
body.ma-neo .subtext {
    color: var(--ma-muted);
}

body.ma-neo a {
    color: inherit;
}

body.ma-neo ::selection {
    background: rgba(0, 129, 129, 0.45);
    color: #fff;
}

/* Header */
body.ma-neo .ma-nav-bar,
body.ma-neo .nav-fostrap > .mt-4.ma-nav-bar,
body.ma-neo .nav-fostrap > .ma-nav-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0 !important;
}

body.ma-neo .ma-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    order: 0;
}

body.ma-neo .ma-main-menu,
body.ma-neo #main-menu {
    order: 1;
}

body.ma-neo .ma-nav-cta {
    order: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-inline-start: auto;
}

body.ma-neo .ma-nav-cta .ma-btn--nav {
    gap: 7px;
    padding: 11px 14px;
    font-size: 12.5px;
    letter-spacing: -0.01em;
    white-space: normal;
    line-height: 1.25;
    text-align: start;
}

body.ma-neo .ma-nav-cta .ma-btn__icon {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
}

@media (min-width: 1200px) {
    body.ma-neo .ma-nav-cta {
        gap: 9px;
    }

    body.ma-neo .ma-nav-cta .ma-btn--nav {
        padding: 12px 16px;
        font-size: 13px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    body.ma-neo .ma-nav-cta .ma-btn--nav span {
        max-width: 9.5em;
        white-space: normal;
        text-align: start;
        line-height: 1.25;
    }

    body.ma-neo .ma-nav-cta .ma-btn--nav {
        padding: 10px 12px;
        font-size: 12px;
        align-items: flex-start;
    }
}

body.ma-neo .custom-bg {
    background: rgba(255, 255, 255, 0.04) !important;
    box-shadow: var(--ma-raise-sm);
}

@media (min-width: 992px) {
    body.ma-neo .nav-fostrap {
        margin-top: 22px;
        margin-bottom: 10px;
    }

    body.ma-neo .ma-nav-bar {
        padding: 16px 14px 16px 18px;
        border-radius: 16px;
        background: var(--ma-bg);
        border: none;
        box-shadow: var(--ma-raise-sm);
    }

    body.ma-neo #main-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        flex: 0 1 auto;
        float: none;
        width: auto;
        margin: 0;
        margin-inline-start: 8px;
        gap: 2px;
        padding: 0;
    }

    body.ma-neo #main-menu > li {
        display: inline-flex !important;
        flex-direction: row;
        align-items: center;
        width: auto !important;
        flex: 0 0 auto;
        position: relative;
        margin: 0 !important;
        padding: 0 6px;
    }

    body.ma-neo .nav-fostrap li a,
    body.ma-neo .last-ul li a,
    body.ma-neo .ma-nav-link {
        color: var(--ma-ink) !important;
        padding: 10px 12px !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        line-height: 1.2;
        min-height: 0;
    }

    body.ma-neo .nav-fostrap li.dropdown > a {
        padding-bottom: 10px !important;
        margin-bottom: 0 !important;
    }

    body.ma-neo .nav-fostrap .caret {
        position: static;
        width: auto;
        display: inline-flex;
        transform: none;
    }

    body.ma-neo .nav-fostrap .caret svg {
        transform: none;
        display: block;
    }

    body.ma-neo .nav-fostrap .caret svg path {
        stroke: var(--ma-muted);
    }

    body.ma-neo .nav-fostrap li ul.sub-menu {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        inset-inline-end: 0 !important;
        inset-inline-start: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: none;
        z-index: 120;
        opacity: 1;
        visibility: visible;
        width: min(20rem, 86vw);
        margin: 0 !important;
        padding: 10px !important;
        transform: none !important;
        background: #2a3038 !important;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: var(--ma-raise-lg);
        border-radius: 18px;
    }

    body.ma-neo .nav-fostrap li:hover > ul.sub-menu,
    body.ma-neo .nav-fostrap li:focus-within > ul.sub-menu {
        display: block !important;
    }

    /* Hover bridge so menu doesn't close in the gap */
    body.ma-neo .nav-fostrap li.dropdown > ul.sub-menu::before {
        content: "";
        position: absolute;
        inset-inline: 0;
        top: -14px;
        height: 14px;
    }

    body.ma-neo #main-menu .sub-menu li {
        display: block;
        width: 100%;
        flex: none;
        margin: 0;
        padding: 0;
        border: 0;
    }

    body.ma-neo .nav-fostrap li ul.sub-menu li a {
        color: #f2f4f6 !important;
        padding: 12px 14px !important;
        border-radius: 12px;
        background: transparent;
        width: 100%;
        line-height: 1.45;
        display: flex !important;
        align-items: center;
        justify-content: flex-start !important;
        gap: 12px;
    }

    body.ma-neo .nav-fostrap li ul.sub-menu .header-icon {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        margin: 0 !important;
        border-radius: 10px;
        padding: 0 !important;
    }

    body.ma-neo .nav-fostrap li ul.sub-menu .header-icon svg {
        display: block;
        width: 22px;
        height: 22px;
    }

    body.ma-neo .nav-fostrap li ul.sub-menu li a:hover,
    body.ma-neo .nav-fostrap li ul.sub-menu li a:focus-visible {
        background: rgba(0, 129, 129, 0.22) !important;
        box-shadow: none;
        color: #fff !important;
        outline: none;
    }

    body.ma-neo .ma-nav-close,
    body.ma-neo .ma-nav-close-bottom {
        display: none !important;
    }
}

body.ma-neo .ma-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 13px 22px;
    font-family: 'pmed';
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    border: none;
    transition: box-shadow var(--ma-ease);
}

body.ma-neo .ma-btn:focus-visible {
    outline: 2px solid var(--ma-accent);
    outline-offset: 3px;
}

body.ma-neo .ma-btn-primary {
    background: var(--ma-primary);
    color: #fff !important;
    box-shadow: var(--ma-raise-primary);
}

body.ma-neo .ma-btn-primary:hover {
    box-shadow: var(--ma-raise-primary-hover);
}

body.ma-neo .ma-btn-primary:active {
    box-shadow:
        inset 4px 4px 8px #005a5a,
        inset -3px -3px 8px #1aa0a0;
}

body.ma-neo .ma-btn-ghost {
    background: var(--ma-bg);
    color: var(--ma-ink) !important;
    box-shadow: var(--ma-raise-sm);
}

body.ma-neo .ma-btn-ghost:hover {
    color: var(--ma-ink) !important;
    box-shadow: var(--ma-raise);
}

body.ma-neo .ma-btn-ghost:active {
    color: var(--ma-ink) !important;
    box-shadow: var(--ma-inset);
}

@media (max-width: 991.98px) {
    body.ma-neo .nav-bg-fostrap {
        background: var(--ma-bg) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
        padding: 8px 0 !important;
    }

    body.ma-neo .nav-fostrap {
        background: #1c2128 !important;
        padding: 12px 0 28px !important;
    }

    body.ma-neo .ma-nav-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }

    body.ma-neo .ma-brand {
        padding: 18px 20px 8px;
    }

    body.ma-neo .ma-nav-close {
        position: absolute;
        top: 18px;
        left: 16px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 12px;
        background: var(--ma-bg);
        color: var(--ma-ink);
        box-shadow: var(--ma-raise-sm);
        cursor: pointer;
    }

    body.ma-neo #main-menu {
        display: block !important;
        width: 100%;
        margin: 8px 0 0;
        padding: 0;
    }

    body.ma-neo #main-menu > li {
        display: block !important;
        width: 100% !important;
        position: relative;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.ma-neo .nav-fostrap > div > ul > li a,
    body.ma-neo .ma-nav-link {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100% !important;
        min-height: 54px;
        padding: 14px 20px !important;
        color: #f7f9fb !important;
        font-size: 1rem !important;
        line-height: 1.4 !important;
        font-family: 'pmed', sans-serif;
    }

    body.ma-neo .nav-fostrap .caret {
        position: static !important;
        transform: none !important;
        width: 2rem;
        height: 2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        color: #e8eef4;
        flex: 0 0 auto;
    }

    /* Chevron already points down; open state flips up */
    body.ma-neo .nav-fostrap .caret svg {
        transform: none !important;
        transition: transform 0.25s ease;
    }

    body.ma-neo .nav-fostrap .caret.rotate svg,
    body.ma-neo .menu-item-has-children.is-open > a .caret svg {
        transform: rotate(180deg) !important;
    }

    body.ma-neo .nav-fostrap .caret svg path {
        stroke: currentColor;
    }

    body.ma-neo #main-menu > li {
        overflow: visible;
    }

    body.ma-neo .nav-fostrap > div > ul > li .sub-menu,
    body.ma-neo .nav-fostrap li ul.sub-menu,
    body.ma-neo .nav-fostrap li ul.sub-menu.main-shadow {
        position: static !important;
        display: none !important;
        box-sizing: border-box !important;
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        margin: 0 16px 14px !important;
        padding: 6px !important;
        border-radius: 14px !important;
        background: #2a313a !important;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: hidden;
        inset: auto !important;
        left: auto !important;
        right: auto !important;
    }

    body.ma-neo .nav-fostrap > div > ul > li .sub-menu.open,
    body.ma-neo .nav-fostrap li ul.sub-menu.open {
        display: grid !important;
        gap: 4px;
    }

    body.ma-neo .nav-fostrap li ul.sub-menu li {
        border: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100%;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.ma-neo .nav-fostrap li ul.sub-menu li.custom-bg {
        background: transparent !important;
        box-shadow: none !important;
    }

    body.ma-neo .nav-fostrap li ul.sub-menu li a {
        color: #eef3f7 !important;
        font-size: 0.9375rem !important;
        padding: 12px 14px !important;
        min-height: 0 !important;
        line-height: 1.45 !important;
        width: 100% !important;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.03);
        display: flex !important;
        align-items: center;
        justify-content: flex-start !important;
        gap: 12px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        box-sizing: border-box;
    }

    body.ma-neo .nav-fostrap li ul.sub-menu .header-icon {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 10px;
    }

    body.ma-neo .nav-fostrap li ul.sub-menu .header-icon svg {
        display: block;
        width: 22px;
        height: 22px;
    }

    body.ma-neo .nav-fostrap li ul.sub-menu li a:hover,
    body.ma-neo .nav-fostrap li ul.sub-menu li a:focus-visible {
        background: rgba(0, 129, 129, 0.28) !important;
        color: #fff !important;
        border-color: rgba(121, 212, 212, 0.35);
    }

    body.ma-neo .ma-nav-cta {
        display: none !important;
    }

    body.ma-neo .nav-fostrap .ma-btn {
        margin: 0;
        width: 100%;
    }

    body.ma-neo .ma-nav-close-bottom {
        order: 4;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: calc(100% - 40px);
        margin: 12px 20px 8px;
        min-height: 48px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 14px;
        background: transparent;
        color: #f2f4f6;
        font-family: 'pmed', sans-serif;
        cursor: pointer;
    }

    body.ma-neo .headbtn.navbar-fostrap {
        background-color: var(--ma-bg) !important;
        border: none;
        box-shadow: var(--ma-raise-sm);
    }

    body.ma-neo .headbtn.navbar-fostrap:focus-visible {
        outline: 2px solid var(--ma-accent);
        outline-offset: 3px;
    }
}

/* Page */
body.ma-neo .ma-page {
    position: relative;
    padding-bottom: 24px;
}

@media (max-width: 991.98px) {
    body.ma-neo .ma-page {
        padding-top: 84px;
    }

    /* Fixed mobile header (.nav-bg-fostrap) sits over page content — clear it globally */
    body.ma-neo #main + .container-fluid {
        padding-top: 76px;
    }

    body.ma-neo #main + .container-fluid > .container > .row:has(.rank-math-breadcrumb):first-child,
    body.ma-neo #main + .container-fluid > .container > .row.ma-services-crumb {
        margin-top: 0 !important;
    }
}

body.ma-neo .ma-wrap {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
}

body.ma-neo .ma-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--ma-accent);
    font-family: 'pmed';
    font-size: 13px;
}

body.ma-neo .ma-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ma-primary);
    box-shadow: var(--ma-raise-sm);
}

body.ma-neo .ma-hero {
    padding: 72px 0 28px;
}

body.ma-neo .ma-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
    gap: 40px;
    align-items: stretch;
}

body.ma-neo .ma-display {
    margin: 0;
    max-width: 14ch;
    font-family: 'pbold';
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.25;
    color: var(--ma-ink);
}

body.ma-neo .ma-lead {
    max-width: 46rem;
    margin: 22px 0 0;
    color: var(--ma-muted);
    font-size: 18px;
    line-height: 2;
}

body.ma-neo .ma-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

body.ma-neo .ma-hero-panel,
body.ma-neo .ma-service,
body.ma-neo .footer-top {
    background: var(--ma-bg);
    border: none;
    box-shadow: var(--ma-raise-lg);
}

body.ma-neo .ma-card {
    background: var(--ma-bg);
    border: none;
    box-shadow: var(--ma-raise);
}

body.ma-neo .ma-hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    border-radius: 28px;
}

body.ma-neo .ma-hero-panel h2 {
    margin: 0 0 8px;
    font-family: 'pbold';
    font-size: 22px;
}

body.ma-neo .ma-hero-panel p {
    margin: 0;
    color: var(--ma-muted);
    line-height: 1.9;
}

body.ma-neo .ma-split {
    display: grid;
    gap: 12px;
}

body.ma-neo .ma-split a {
    display: block;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--ma-bg);
    box-shadow: var(--ma-raise-sm);
    transition: box-shadow var(--ma-ease);
}

body.ma-neo .ma-split a:hover {
    box-shadow: var(--ma-raise);
}

body.ma-neo .ma-split a:active {
    box-shadow: var(--ma-inset);
}

body.ma-neo .ma-split strong {
    display: block;
    margin-bottom: 4px;
    font-family: 'pmed';
    font-weight: normal;
}

body.ma-neo .ma-split span {
    color: var(--ma-faint);
    font-size: 13px;
    line-height: 1.7;
}

body.ma-neo .ma-section {
    padding: 36px 0;
}

body.ma-neo .ma-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

body.ma-neo .ma-section-head h2 {
    margin: 0;
    font-family: 'pbold';
    font-size: clamp(26px, 3vw, 36px);
}

body.ma-neo .ma-text-link {
    color: var(--ma-accent) !important;
    font-family: 'pmed';
    font-size: 14px;
    white-space: nowrap;
}

body.ma-neo .ma-text-link:hover {
    color: #fff !important;
}

body.ma-neo .ma-grid {
    display: grid;
    gap: 28px;
}

body.ma-neo .ma-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.ma-neo .ma-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.ma-neo .ma-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.ma-neo .ma-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 14px;
    border-radius: var(--ma-radius);
    transition: box-shadow var(--ma-ease);
}

body.ma-neo a.ma-card:hover,
body.ma-neo .ma-card:hover {
    box-shadow: var(--ma-raise-lg);
    color: inherit;
}

body.ma-neo .ma-card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
    background: var(--ma-bg);
    box-shadow: var(--ma-well);
}

body.ma-neo .ma-card-media img,
body.ma-neo .ma-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.ma-neo .ma-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 8px 6px;
}

body.ma-neo .ma-card h3 {
    margin: 0 0 8px;
    font-family: 'pbold';
    font-size: 16px;
    line-height: 1.7;
}

body.ma-neo .ma-card p {
    margin: 0;
    color: var(--ma-muted);
    font-size: 14px;
    line-height: 1.9;
}

body.ma-neo .ma-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    color: var(--ma-faint);
    font-size: 13px;
}

body.ma-neo .ma-price {
    color: var(--ma-accent);
    font-family: 'yekan';
    font-size: 18px;
}

body.ma-neo .ma-price small {
    margin-right: 4px;
    color: var(--ma-faint);
    font-family: 'preg';
    font-size: 12px;
}

body.ma-neo .ma-service {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 32px;
    align-items: center;
    padding: 36px;
    border-radius: 28px;
}

body.ma-neo .ma-service h2 {
    margin: 0 0 12px;
    font-family: 'pbold';
    font-size: clamp(26px, 3vw, 36px);
}

body.ma-neo .ma-service p {
    margin: 0;
    max-width: 42rem;
    color: var(--ma-muted);
    line-height: 2;
}

body.ma-neo .ma-points {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.ma-neo .ma-points li {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--ma-bg);
    box-shadow: var(--ma-raise-sm);
    color: var(--ma-ink);
    line-height: 1.7;
}

body.ma-neo .ma-quote {
    padding: 24px;
}

body.ma-neo .ma-quote p {
    margin: 0;
    color: var(--ma-ink);
    font-size: 15px;
    line-height: 2;
}

body.ma-neo .ma-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

body.ma-neo .ma-person img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--ma-raise-sm);
}

body.ma-neo .ma-person strong {
    display: block;
    font-family: 'pmed';
    font-weight: normal;
}

body.ma-neo .ma-person span {
    color: var(--ma-faint);
    font-size: 13px;
}

body.ma-neo .ma-quote audio {
    width: 100%;
    margin-top: 16px;
    height: 36px;
}

body.ma-neo .ma-video {
    padding: 10px;
}

body.ma-neo .ma-video video {
    width: 100%;
    border-radius: 16px;
    background: #000;
    box-shadow: var(--ma-well);
}

body.ma-neo .ma-article h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.4em;
}

body.ma-neo .ma-article p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

body.ma-neo .ma-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--ma-bg);
    box-shadow: var(--ma-raise-sm);
    color: var(--ma-faint);
    font-size: 13px;
}

body.ma-neo .ma-meta span,
body.ma-neo .ma-meta svg {
    color: var(--ma-faint);
}

/* Footer on the homepage only */
body.ma-neo footer.container-fluid {
    margin-top: 36px;
    background: var(--ma-bg);
}

body.ma-neo .footer-top {
    border-radius: 28px;
}

body.ma-neo .footer-top,
body.ma-neo .footer-top span,
body.ma-neo .footer-top a,
body.ma-neo .footer-top p,
body.ma-neo .footcall a,
body.ma-neo .footcall span,
body.ma-neo .footcall p,
body.ma-neo .footmobile a {
    color: var(--ma-muted);
}

body.ma-neo .footer-bot {
    color: var(--ma-faint);
}

body.ma-neo .footcall {
    background: var(--ma-bg);
    border-top: none;
    box-shadow: none;
}

body.ma-neo .menufootitem {
    border-bottom-color: rgba(20, 24, 29, 0.65);
}

@media (max-width: 1100px) {
    body.ma-neo .ma-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.ma-neo .ma-hero-grid,
    body.ma-neo .ma-service {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body.ma-neo .ma-hero {
        padding-top: 28px;
    }

    body.ma-neo .ma-grid-4,
    body.ma-neo .ma-grid-3,
    body.ma-neo .ma-grid-2 {
        grid-template-columns: 1fr;
    }

    body.ma-neo .ma-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    body.ma-neo .ma-service,
    body.ma-neo .ma-hero-panel {
        padding: 22px;
    }

    body.ma-neo .ma-btn {
        width: 100%;
    }

    body.ma-neo .ma-hero-actions .ma-btn {
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ma-neo .ma-btn,
    body.ma-neo .ma-card,
    body.ma-neo .ma-split a {
        transition: none;
    }
}

/* Shared surfaces on course pages and posts.
   Raised is the resting state. A well is only for photos and form fields. */

body.ma-course,
body.ma-neo {
    background: var(--ma-bg);
}

body.ma-course #main,
body.ma-neo #main,
body.ma-course .container-fluid,
body.ma-neo .container-fluid {
    background: transparent;
}

body.ma-course .ness-font-color,
body.ma-neo .ness-font-color,
body.ma-course .faq-color,
body.ma-neo .faq-color {
    color: var(--ma-muted) !important;
}

body.ma-course .pr-color,
body.ma-neo .pr-color,
body.ma-course .prim-text,
body.ma-neo .prim-text {
    color: var(--ma-accent) !important;
}

/* Tool logos: wordmark paths are hard-coded dark in SVG */
body.ma-neo .logosrc svg path[fill="#282828"],
body.ma-neo .logosrc svg path[fill="#282828FF"],
body.ma-neo .logosrc svg path[fill="#000"],
body.ma-neo .logosrc svg path[fill="#000000"],
body.ma-neo .logosrc svg path[fill="black"] {
    fill: #ffffff;
}

body.ma-course .text-dark,
body.ma-neo .text-dark,
body.ma-course .title-color,
body.ma-neo .title-color {
    color: var(--ma-ink) !important;
}

body.ma-course .bg-white,
body.ma-neo .bg-white {
    background-color: var(--ma-bg) !important;
    border: none !important;
    box-shadow: var(--ma-raise);
}

body.ma-course .bg-white.p-1,
body.ma-neo .bg-white.p-1 {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.ma-course .border-color,
body.ma-neo .border-color {
    border: none !important;
    background-color: var(--ma-bg);
    box-shadow: var(--ma-raise);
}

body.ma-course .radius-12,
body.ma-neo .radius-12 {
    border-radius: 22px;
}

body.ma-course #breadcrumbs,
body.ma-neo #breadcrumbs {
    background: var(--ma-bg) !important;
    border: none;
    box-shadow: var(--ma-raise-sm);
    border-radius: 16px;
    color: var(--ma-muted);
}

/* Tighten wasted gap between header and breadcrumb across templates */
body.ma-neo .container-fluid > .container > .row.mt-5:has(.rank-math-breadcrumb),
body.ma-neo .container > .row.mt-5:has(.rank-math-breadcrumb) {
    margin-top: 0.5rem !important;
}

body.ma-neo .row:has(.rank-math-breadcrumb) > [class*="col"].mt-5,
body.ma-neo .row:has(.rank-math-breadcrumb) > [class*="col"].mt-4 {
    margin-top: 0 !important;
}

body.ma-neo .rank-math-breadcrumb {
    margin-bottom: 0;
}

body.ma-neo .rank-math-breadcrumb #breadcrumbs.mb-3,
body.ma-neo .rank-math-breadcrumb #breadcrumbs.mb-2 {
    margin-bottom: 0.65rem !important;
}

body.ma-course #breadcrumbs a,
body.ma-course #breadcrumbs span,
body.ma-neo #breadcrumbs a,
body.ma-neo #breadcrumbs span {
    color: var(--ma-muted) !important;
}

body.ma-course div.pr-bg,
body.ma-neo div.pr-bg {
    background: transparent !important;
    box-shadow: none;
}

body.ma-course a.pr-bg,
body.ma-neo a.pr-bg,
body.ma-course .related-post.pr-bg,
body.ma-neo .related-post.pr-bg {
    background-color: var(--ma-primary) !important;
    color: #fff !important;
    border: none;
    box-shadow: var(--ma-raise-primary);
    border-radius: 16px;
}

body.ma-course a.pr-bg:hover,
body.ma-neo a.pr-bg:hover,
body.ma-course a:hover .related-post.pr-bg,
body.ma-neo a:hover .related-post.pr-bg {
    color: #fff !important;
    box-shadow: var(--ma-raise-primary-hover);
}

body.ma-course a.pr-bg:active,
body.ma-neo a.pr-bg:active {
    background-color: var(--ma-primary-deep) !important;
    box-shadow: var(--ma-inset);
}

body.ma-course .related-post.pr-bg h3,
body.ma-course .related-post.pr-bg span,
body.ma-neo .related-post.pr-bg h3,
body.ma-neo .related-post.pr-bg span {
    color: #fff !important;
}

body.ma-course .page-numbers,
body.ma-neo .page-numbers {
    background: var(--ma-bg);
    border: none !important;
    box-shadow: var(--ma-raise-sm);
    color: var(--ma-ink) !important;
}

body.ma-course span.page-numbers.current,
body.ma-neo span.page-numbers.current {
    background: var(--ma-primary) !important;
    color: #fff !important;
    box-shadow: var(--ma-raise-primary);
}

body.ma-course .box-5,
body.ma-neo .box-5 {
    background: var(--ma-bg);
    background-image: none;
    box-shadow: var(--ma-raise-lg);
}

body.ma-course .box-5 p,
body.ma-neo .box-5 p,
body.ma-course .insta-banner-btn,
body.ma-neo .insta-banner-btn {
    color: var(--ma-ink) !important;
}

body.ma-course .insta-banner-btn,
body.ma-neo .insta-banner-btn {
    background: var(--ma-bg) !important;
    box-shadow: var(--ma-raise-sm);
}

/* Courses catalog page */
body.ma-neo .ma-courses-page-head {
    margin: 8px 0 28px;
    max-width: 42rem;
}

body.ma-neo .ma-courses-page-head h1 {
    margin: 0 0 12px;
    font-family: 'pbold', sans-serif;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    line-height: 1.45;
    color: var(--ma-ink);
}

body.ma-neo .ma-courses-page-head__lead {
    margin: 0;
    color: var(--ma-muted);
    font-size: 15px;
    line-height: 1.9;
}

body.ma-neo .ma-courses-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
    margin: 0 0 48px;
    padding: 18px;
    border-radius: 28px;
    background: var(--ma-bg);
    box-shadow: var(--ma-raise);
}

body.ma-neo .ma-courses-feature__media {
    overflow: hidden;
    border-radius: 22px;
    min-height: 280px;
    background: #1c2128;
    box-shadow: var(--ma-inset);
}

body.ma-neo .ma-courses-feature__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.ma-neo .ma-courses-feature__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 10px 8px 10px 4px;
}

body.ma-neo .ma-courses-feature__eyebrow {
    margin: 0;
    color: var(--ma-accent);
    font-family: 'pmed', sans-serif;
    font-size: 13px;
}

body.ma-neo .ma-courses-feature__copy h2 {
    margin: 0;
    font-family: 'pbold', sans-serif;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    line-height: 1.45;
    color: var(--ma-ink);
}

body.ma-neo .ma-courses-feature__text {
    margin: 0;
    color: var(--ma-muted);
    font-size: 15px;
    line-height: 1.9;
}

body.ma-neo .ma-courses-feature__points {
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

body.ma-neo .ma-courses-feature__points li {
    position: relative;
    padding-inline-start: 1.1rem;
    color: var(--ma-ink);
    font-size: 14px;
    line-height: 1.7;
}

body.ma-neo .ma-courses-feature__points li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ma-accent);
}

body.ma-neo .ma-courses-feature__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

body.ma-neo .ma-courses-archive {
    margin: 0 0 40px;
}

body.ma-neo .ma-courses-archive__head {
    margin-bottom: 12px;
}

body.ma-neo .ma-courses-archive__head h2 {
    margin: 0;
    font-family: 'pbold', sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    color: var(--ma-ink);
}

body.ma-neo .ma-courses-archive__notice {
    margin: 0 0 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(0, 129, 129, 0.12);
    color: var(--ma-muted);
    font-size: 14px;
    line-height: 1.9;
    box-shadow: var(--ma-inset);
}

body.ma-neo .ma-courses-archive__notice a {
    color: var(--ma-accent);
    font-family: 'pmed', sans-serif;
    text-decoration: none;
}

body.ma-neo .ma-courses-archive__notice a:hover {
    text-decoration: underline;
}

body.ma-neo .ma-courses-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 22px;
    background: var(--ma-bg);
    box-shadow: var(--ma-raise);
    overflow: hidden;
    transition: box-shadow var(--ma-ease), transform 180ms ease;
}

body.ma-neo .ma-courses-card:hover {
    box-shadow: var(--ma-raise-lg);
    transform: translateY(-2px);
}

body.ma-neo .ma-courses-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

body.ma-neo .ma-courses-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 18px 18px 8px;
}

body.ma-neo .ma-courses-card__body h3 {
    margin: 0;
    font-family: 'pmed', sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ma-ink);
}

body.ma-neo .ma-courses-card__body p {
    margin: 0;
    color: var(--ma-muted);
    font-size: 13.5px;
    line-height: 1.8;
}

body.ma-neo .ma-courses-card__foot {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: auto;
    padding: 14px 18px 18px;
    color: var(--ma-muted);
    font-family: 'pmed', sans-serif;
    font-size: 13px;
}

body.ma-neo .ma-courses-card:hover .ma-courses-card__foot {
    color: var(--ma-accent);
}

@media (max-width: 991.98px) {
    body.ma-neo .ma-courses-feature {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 14px;
        margin-bottom: 36px;
    }

    body.ma-neo .ma-courses-feature__media {
        min-height: 200px;
    }

    body.ma-neo .ma-courses-feature__copy {
        padding: 4px 2px 8px;
    }

    body.ma-neo .ma-courses-feature__actions .ma-btn {
        width: 100%;
    }
}

/* Course catalog and landings */

body.ma-course .category a .bg-white,
body.ma-course .landing-shadow,
body.ma-course .landing-shadow-o5 {
    box-shadow: var(--ma-raise);
    transition: box-shadow var(--ma-ease);
}

body.ma-course .category a:hover .bg-white,
body.ma-course .single-page .col-lg-3:hover .landing-shadow,
body.ma-course .single-page .col-lg-4:hover .landing-shadow,
body.ma-course .single-page .col-lg-6:hover > .border-color {
    box-shadow: var(--ma-raise-lg);
}

body.ma-course .box-1,
body.ma-course .box-2,
body.ma-course .box-3,
body.ma-course .box-4 {
    background: var(--ma-bg);
    background-image: none;
    box-shadow: var(--ma-raise);
}

body.ma-course .bg-blue {
    background-color: var(--ma-bg) !important;
    box-shadow: var(--ma-raise-sm);
}

body.ma-course .landing-vid {
    background: var(--ma-bg);
    box-shadow: var(--ma-well);
    border-radius: 22px;
}

body.ma-course .pr-body img,
body.ma-course .landing-vid img,
body.ma-course .landing-shadow img.img-fluid {
    border-radius: 16px;
    box-shadow: var(--ma-well);
}

body.ma-course .rounded-circle {
    box-shadow: var(--ma-raise-sm);
}

body.ma-course .toggle-btn {
    color: var(--ma-ink);
    cursor: pointer;
}

body.ma-course .toggle-btn svg path,
body.ma-course .foot-card-body svg path {
    stroke: #c5ced6;
}

body.ma-course .text-danger {
    color: #ffb4b4 !important;
}

body.ma-course .category .row > [class*="col-"],
body.ma-course .single-page .row > [class*="col-"] {
    padding-bottom: 14px;
}

body.ma-course .single-page {
    padding-bottom: 28px;
}

/* Posts: archive, blog page, and the article itself */

body.ma-neo a.article-blog,
body.ma-neo .related-post.bg-white {
    background: var(--ma-bg) !important;
    border: none !important;
    box-shadow: var(--ma-raise);
    color: inherit;
    transition: box-shadow var(--ma-ease);
}

body.ma-neo a.article-blog:hover,
body.ma-neo a:hover .related-post.bg-white {
    box-shadow: var(--ma-raise-lg);
    color: inherit;
}

body.ma-neo a.article-blog img,
body.ma-neo .related-post.bg-white .related-imgs,
body.ma-neo .post-content > header img,
body.ma-neo .article-matn img {
    border-radius: 16px;
    box-shadow: var(--ma-well);
}

body.ma-neo .category-image img {
    border-radius: 18px;
    box-shadow: var(--ma-raise);
}

body.ma-neo .fehrest-menu {
    background: var(--ma-bg);
    border: none;
    box-shadow: var(--ma-raise-sm);
}

body.ma-neo .fehrest-menu a,
body.ma-neo .fehrest-menu span,
body.ma-neo .custom-meta-box-content a {
    color: var(--ma-ink) !important;
}

body.ma-neo .phead {
    border: none;
    margin-top: 20px;
    padding: 12px 8px;
    border-radius: 16px;
    background: var(--ma-bg);
    box-shadow: var(--ma-raise-sm);
}

body.ma-neo .article-matn a {
    color: var(--ma-accent);
}

body.ma-neo .article-matn blockquote {
    margin: 24px 0;
    padding: 18px 20px;
    border: none;
    border-radius: 18px;
    background: var(--ma-bg);
    box-shadow: var(--ma-raise-sm);
}

body.ma-neo .comment-body {
    background: var(--ma-bg);
    box-shadow: var(--ma-raise);
    border-radius: 20px;
}

body.ma-neo .comment-meta a,
body.ma-neo .comment-author cite {
    color: var(--ma-muted) !important;
}

body.ma-neo input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body.ma-neo textarea,
body.ma-neo .form-control {
    background: var(--ma-bg) !important;
    color: var(--ma-ink) !important;
    border: none !important;
    border-radius: 14px;
    box-shadow: var(--ma-well) !important;
}

body.ma-neo .form-control:focus {
    outline: 2px solid var(--ma-accent);
    outline-offset: 2px;
    box-shadow: var(--ma-inset) !important;
}

body.ma-neo input::placeholder,
body.ma-neo textarea::placeholder {
    color: var(--ma-faint);
}

body.ma-neo .comment-form .submit,
body.ma-neo input[type="submit"] {
    background: var(--ma-primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    box-shadow: var(--ma-raise-primary);
    padding: 12px 22px;
}

body.ma-neo .comment-form .submit:hover,
body.ma-neo input[type="submit"]:hover {
    box-shadow: var(--ma-raise-primary-hover);
}

body.ma-neo .footer-top.moarefi-article p {
    color: var(--ma-ink);
}

/* Remaining sections: services, about, contact, glossary, graduates,
   checklists, career path, roadmap, resume, and shared controls. */

body.ma-neo .text-muted,
body.ma-neo .expert-title,
body.ma-neo .expert-title-large,
body.ma-neo .job-company,
body.ma-neo .job-meta,
body.ma-neo .course-description,
body.ma-neo .roadmap-description,
body.ma-neo .roadmap-category,
body.ma-neo .stat-label {
    color: var(--ma-muted) !important;
}

body.ma-neo .product-price,
body.ma-neo .view-profile,
body.ma-neo .course-price,
body.ma-neo .job-salary,
body.ma-neo .level-salary {
    color: var(--ma-accent) !important;
}

body.ma-neo .pr-body {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.ma-neo button.pr-bg,
body.ma-neo .form-sub-btn,
body.ma-neo .btn-primary,
body.ma-neo .btn-warning {
    background: var(--ma-primary) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: var(--ma-raise-primary);
}

body.ma-neo button.pr-bg:hover,
body.ma-neo .form-sub-btn:hover,
body.ma-neo .btn-primary:hover,
body.ma-neo .btn-warning:hover {
    background: var(--ma-primary) !important;
    color: #fff !important;
    box-shadow: var(--ma-raise-primary-hover);
    transform: none;
}

body.ma-neo .btn-secondary,
body.ma-neo .read-more-btn {
    background: var(--ma-bg) !important;
    border: none !important;
    color: var(--ma-ink) !important;
    box-shadow: var(--ma-raise-sm);
}

body.ma-neo .form-select,
body.ma-neo select {
    background-color: var(--ma-bg) !important;
    color: var(--ma-ink) !important;
    border: none !important;
    border-radius: 14px;
    box-shadow: var(--ma-well) !important;
}

body.ma-neo .search-field {
    background: var(--ma-bg);
    color: var(--ma-ink);
    border: none !important;
    box-shadow: var(--ma-well);
    border-radius: 16px;
}

body.ma-neo .search-icon path {
    stroke: #c5ced6;
}

body.ma-neo .accordion-item {
    background: var(--ma-bg);
    border: none !important;
    box-shadow: var(--ma-raise);
    overflow: hidden;
}

body.ma-neo .accordion-button,
body.ma-neo .accordion-button:not(.collapsed),
body.ma-neo .accordion-body {
    background: var(--ma-bg) !important;
    color: var(--ma-ink) !important;
    box-shadow: none !important;
}

body.ma-neo .accordion-button:not(.collapsed) {
    color: var(--ma-accent) !important;
}

body.ma-neo .accordion-button::after {
    filter: invert(1) grayscale(1) brightness(1.8);
}

body.ma-neo .accordion-body {
    color: var(--ma-muted) !important;
}

body.ma-neo .box-1,
body.ma-neo .box-2,
body.ma-neo .box-3,
body.ma-neo .box-4 {
    background: var(--ma-bg);
    background-image: none;
    box-shadow: var(--ma-raise);
}

body.ma-neo .bg-blue,
body.ma-neo .landing-shadow,
body.ma-neo .landing-shadow-o5 {
    background-color: var(--ma-bg) !important;
    box-shadow: var(--ma-raise);
}

body.ma-neo .landing-vid,
body.ma-neo .radius-10 {
    border-radius: 22px;
    box-shadow: var(--ma-well);
}

body.ma-neo .category-link,
body.ma-neo .filter-btn,
body.ma-neo .tab-button,
body.ma-neo .nav-pills .nav-link,
body.ma-neo .skill-tag,
body.ma-neo .skill-tag-large,
body.ma-neo .skill-tag-small,
body.ma-neo .social-link {
    background: var(--ma-bg) !important;
    border: none !important;
    color: var(--ma-ink) !important;
    box-shadow: var(--ma-raise-sm);
    transform: none;
}

body.ma-neo .category-link:hover,
body.ma-neo .filter-btn:hover,
body.ma-neo .tab-button:hover,
body.ma-neo .nav-pills .nav-link:hover,
body.ma-neo .social-link:hover,
body.ma-neo a.article-blog:hover,
body.ma-neo .checklist-card:hover,
body.ma-neo .expert-card:hover,
body.ma-neo .portfolio-item:hover,
body.ma-neo .team-card:hover,
body.ma-neo .process-step:hover {
    background: var(--ma-bg) !important;
    color: var(--ma-ink) !important;
    box-shadow: var(--ma-raise-lg);
    transform: none;
}

body.ma-neo .category-name,
body.ma-neo .category-link:hover .category-name {
    color: var(--ma-ink);
}

body.ma-neo .filter-btn.active,
body.ma-neo .tab-button.active,
body.ma-neo .nav-pills .nav-link.active {
    background: var(--ma-primary) !important;
    color: #fff !important;
    box-shadow: var(--ma-raise-primary);
}

body.ma-neo .expert-card,
body.ma-neo .expert-profile-header,
body.ma-neo .expert-about,
body.ma-neo .expert-certificate,
body.ma-neo .expert-contact,
body.ma-neo .expert-social,
body.ma-neo .checklist-card,
body.ma-neo .checklist-filters,
body.ma-neo .checklist-header,
body.ma-neo .checklist-items .checklist-item,
body.ma-neo .related-checklist-item,
body.ma-neo .related-article-item,
body.ma-neo .level-card,
body.ma-neo .job-card,
body.ma-neo .course-card,
body.ma-neo .roadmap-card,
body.ma-neo .team-card,
body.ma-neo .process-step,
body.ma-neo .contract-content,
body.ma-neo .career-header {
    background: var(--ma-bg) !important;
    background-image: none;
    border: none !important;
    color: var(--ma-ink);
    box-shadow: var(--ma-raise);
}

body.ma-neo .career-header,
body.ma-neo .career-header h1,
body.ma-neo .stat-number {
    color: var(--ma-ink) !important;
}

body.ma-neo .expert-name,
body.ma-neo .expert-name-large,
body.ma-neo .checklist-title,
body.ma-neo .section-title,
body.ma-neo .roadmap-title,
body.ma-neo .job-title,
body.ma-neo .course-title,
body.ma-neo .level-card h5,
body.ma-neo .team-name,
body.ma-neo .portfolio-title,
body.ma-neo .portfolio-content h3,
body.ma-neo .process-title,
body.ma-neo .process-content h3,
body.ma-neo .contract-title,
body.ma-neo .team-title,
body.ma-neo .hero-title,
body.ma-neo .hero-text,
body.ma-neo .hero-description,
body.ma-neo .roadmap-header h1 {
    color: var(--ma-ink) !important;
}

body.ma-neo .expert-footer {
    border-top-color: rgba(255, 255, 255, 0.06);
}

body.ma-neo .expert-footer svg,
body.ma-neo .view-profile {
    color: var(--ma-accent) !important;
}

body.ma-neo .expert-avatar,
body.ma-neo .expert-avatar-large,
body.ma-neo .team-avatar {
    border: none;
    box-shadow: var(--ma-raise-sm);
}

body.ma-neo .portfolio-thumb,
body.ma-neo .portfolio-more,
body.ma-neo .certificate-image,
body.ma-neo .article-thumb img,
body.ma-neo .hero-gif img,
body.ma-neo .portfolio-image img {
    border: none !important;
    box-shadow: var(--ma-well);
    background: var(--ma-bg);
}

body.ma-neo .portfolio-more span {
    color: var(--ma-muted) !important;
}

body.ma-neo .checklist-item.completed {
    box-shadow: var(--ma-raise-sm);
}

body.ma-neo .checklist-label,
body.ma-neo .checklist-description,
body.ma-neo .expert-content,
body.ma-neo .contact-info,
body.ma-neo .content-text p {
    color: var(--ma-muted) !important;
}

body.ma-neo .checklist-label.completed {
    color: var(--ma-accent) !important;
}

body.ma-neo .badge,
body.ma-neo .filter-btn .badge,
body.ma-neo .roadmap-badge,
body.ma-neo .skill-more {
    background: var(--ma-bg) !important;
    color: var(--ma-accent) !important;
    box-shadow: var(--ma-raise-sm);
}

body.ma-neo .progress {
    background: var(--ma-bg) !important;
    box-shadow: var(--ma-well);
}

body.ma-neo .progress-bar {
    background: var(--ma-primary) !important;
}

body.ma-neo .bg-progress,
body.ma-neo .badge-progress,
body.ma-neo .badge.bg-progress {
    background: var(--ma-bg) !important;
    color: #f3d27a !important;
}

body.ma-neo .bg-planned,
body.ma-neo .badge-planned,
body.ma-neo .badge.bg-planned {
    background: var(--ma-bg) !important;
    color: var(--ma-muted) !important;
}

body.ma-neo .bg-completed,
body.ma-neo .badge-completed,
body.ma-neo .badge.bg-completed {
    background: var(--ma-bg) !important;
    color: var(--ma-accent) !important;
}

body.ma-neo .hero-section {
    background: var(--ma-bg);
    background-image: none;
}

body.ma-neo .portfolio-section,
body.ma-neo .team-section,
body.ma-neo .process-section,
body.ma-neo .contract-section {
    background: transparent;
}

body.ma-neo .salary-table,
body.ma-neo .minimal-table,
body.ma-neo .article-matn table {
    background: var(--ma-bg);
    color: var(--ma-ink);
    border: none;
    box-shadow: var(--ma-raise-sm);
}

body.ma-neo .salary-table th,
body.ma-neo .salary-table td,
body.ma-neo .minimal-table th,
body.ma-neo .minimal-table td,
body.ma-neo .article-matn th,
body.ma-neo .article-matn td {
    border-color: rgba(255, 255, 255, 0.06);
    color: var(--ma-ink);
    background: transparent;
}

body.ma-neo .modal-content,
body.ma-neo .modal-header,
body.ma-neo .modal-body,
body.ma-neo .modal-footer {
    background: var(--ma-bg) !important;
    color: var(--ma-ink);
    border-color: rgba(255, 255, 255, 0.06);
}

body.ma-neo .modal-description h3,
body.ma-neo .modal-description p,
body.ma-neo .close {
    color: var(--ma-ink);
}

/* Glossary archive + single */

body.ma-neo .ma-glossary {
    padding: 12px 0 48px;
}

body.ma-neo .ma-glossary-hero {
    max-width: 760px;
    margin: 12px auto 40px;
    text-align: center;
}

body.ma-neo .ma-glossary-hero h1 {
    margin: 10px 0 14px;
    font-family: 'pbold';
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.45;
}

body.ma-neo .ma-glossary-hero .ma-lead {
    margin: 0 auto 22px;
    max-width: 640px;
    color: var(--ma-muted);
    font-size: 17px;
    line-height: 1.9;
}

body.ma-neo .ma-glossary-search {
    max-width: 420px;
    margin: 0 auto;
}

body.ma-neo .ma-glossary-featured,
body.ma-neo .ma-glossary-cats,
body.ma-neo .ma-glossary-all {
    margin-top: 42px;
}

body.ma-neo .ma-glossary-featured-grid,
body.ma-neo .ma-glossary-cats-grid,
body.ma-neo .ma-glossary-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

body.ma-neo .ma-glossary-cats-grid {
    gap: 14px;
}

body.ma-neo .ma-glossary-card,
body.ma-neo .ma-glossary-row,
body.ma-neo .ma-glossary-cat-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 22px;
    background: var(--ma-bg);
    box-shadow: var(--ma-raise);
    color: inherit;
    transition: box-shadow var(--ma-ease);
}

body.ma-neo .ma-glossary-cat-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
}

body.ma-neo .ma-glossary-card:hover,
body.ma-neo .ma-glossary-row:hover,
body.ma-neo .ma-glossary-cat-card:hover {
    box-shadow: var(--ma-raise-lg);
    color: inherit;
}

body.ma-neo .ma-glossary-card strong,
body.ma-neo .ma-glossary-row strong,
body.ma-neo .ma-glossary-cat-card strong {
    font-family: 'pmed';
    font-size: 17px;
    color: var(--ma-ink);
}

body.ma-neo .ma-glossary-card span,
body.ma-neo .ma-glossary-row span,
body.ma-neo .ma-glossary-cat-card span {
    color: var(--ma-muted);
    font-size: 14px;
    line-height: 1.85;
}

body.ma-neo .ma-glossary-cat-card span {
    flex-shrink: 0;
    white-space: nowrap;
    font-family: 'yekan';
}

body.ma-neo .ma-glossary-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 28px;
}

body.ma-neo .ma-glossary-letters a {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--ma-bg);
    box-shadow: var(--ma-raise-sm);
    color: var(--ma-ink);
    font-family: 'yekan';
}

body.ma-neo .ma-glossary-letters a:hover {
    box-shadow: var(--ma-raise);
    color: var(--ma-accent);
}

body.ma-neo .ma-glossary-letter-block {
    margin-bottom: 28px;
}

body.ma-neo .ma-glossary-letter {
    margin: 0 0 14px;
    font-family: 'pbold';
    font-size: 22px;
    color: var(--ma-accent);
}

body.ma-neo .ma-glossary-list {
    gap: 14px;
}

body.ma-neo .ma-glossary-single {
    max-width: 760px;
    margin: 0 auto 48px;
}

body.ma-neo .ma-glossary-single-head h1 {
    margin: 8px 0 20px;
    font-family: 'pbold';
    font-size: clamp(24px, 3.4vw, 34px);
    line-height: 1.45;
}

body.ma-neo .ma-glossary-cover {
    margin-bottom: 24px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--ma-well);
}

body.ma-neo .ma-glossary-cover img {
    display: block;
    width: 100%;
    height: auto;
}

body.ma-neo .ma-glossary-body {
    margin-bottom: 28px;
}

body.ma-neo .ma-glossary-faq h2 {
    margin-bottom: 16px;
    font-family: 'pbold';
    font-size: 22px;
}

body.ma-neo .ma-glossary-cta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: start;
    margin: 40px 0 8px;
    padding: 28px 26px;
    border-radius: 22px;
    background: var(--ma-bg);
    box-shadow: var(--ma-raise);
}

body.ma-neo .ma-glossary-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    color: var(--ma-accent);
    background: rgba(0, 129, 129, 0.16);
    box-shadow: var(--ma-raise-sm);
    flex: 0 0 auto;
}

body.ma-neo .ma-glossary-cta__eyebrow {
    margin: 0 0 8px;
    color: var(--ma-accent);
    font-family: 'pmed', sans-serif;
    font-size: 13px;
}

body.ma-neo .ma-glossary-cta h2 {
    margin: 0;
    font-family: 'pbold', sans-serif;
    font-size: clamp(20px, 2.4vw, 26px);
    line-height: 1.45;
    color: var(--ma-ink);
}

body.ma-neo .ma-glossary-cta__text {
    margin: 12px 0 0;
    padding: 0;
    color: var(--ma-muted);
    font-size: 15px;
    line-height: 1.9;
}

body.ma-neo .ma-glossary-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

body.ma-neo .ma-glossary-cta__btn {
    margin-top: 0;
    min-height: 48px;
    padding: 12px 18px;
    gap: 8px;
    border-radius: 14px;
    font-size: 14px;
    letter-spacing: -0.01em;
    white-space: normal;
    line-height: 1.3;
    text-align: start;
}

body.ma-neo .ma-glossary-cta__btn .ma-btn__icon {
    flex: 0 0 auto;
}

@media (max-width: 640px) {
    body.ma-neo .ma-glossary-cta {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        gap: 14px;
    }

    body.ma-neo .ma-glossary-cta__text {
        padding-inline: 2px;
        margin-top: 14px;
        font-size: 15px;
        line-height: 2;
    }

    body.ma-neo .ma-glossary-cta__actions {
        flex-direction: column;
        margin-top: 18px;
    }

    body.ma-neo .ma-glossary-cta__btn {
        width: 100%;
        justify-content: center;
        min-height: 52px;
        border-radius: 14px;
    }
}

body.ma-neo .ma-glossary-related {
    margin: 36px 0 8px;
    padding: 22px 20px;
    border-radius: 22px;
    background: rgba(0, 129, 129, 0.08);
    box-shadow: var(--ma-inset);
}

body.ma-neo .ma-glossary-related h2 {
    margin: 0 0 16px;
    font-family: 'pbold';
    font-size: 22px;
    color: var(--ma-ink);
}

body.ma-neo .ma-glossary-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.ma-neo .ma-glossary-related-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--ma-bg);
    border: 1px solid rgba(121, 212, 212, 0.22);
    box-shadow: var(--ma-raise-sm);
    color: var(--ma-ink);
    line-height: 1.55;
    font-family: 'pmed', sans-serif;
    transition: box-shadow var(--ma-ease), color var(--ma-ease), border-color var(--ma-ease), transform var(--ma-ease);
}

body.ma-neo .ma-glossary-related-list__label {
    flex: 1 1 auto;
}

body.ma-neo .ma-glossary-related-list__arrow {
    flex: 0 0 auto;
    color: var(--ma-accent);
    opacity: 0.85;
    transition: transform var(--ma-ease), opacity var(--ma-ease);
}

body.ma-neo .ma-glossary-related-list a:hover {
    box-shadow: var(--ma-raise);
    color: var(--ma-accent);
    border-color: rgba(121, 212, 212, 0.45);
    transform: translateY(-2px);
}

body.ma-neo .ma-glossary-related-list a:hover .ma-glossary-related-list__arrow {
    opacity: 1;
    transform: translateX(-3px);
}

@media (max-width: 640px) {
    body.ma-neo .ma-glossary-related {
        padding: 18px 14px;
    }

    body.ma-neo .ma-glossary-related-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    body.ma-neo .ma-glossary-featured-grid,
    body.ma-neo .ma-glossary-cats-grid,
    body.ma-neo .ma-glossary-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Fixed mobile CTA dock — all pages */
body.ma-neo .ma-home-dock {
    display: none;
}

@media (max-width: 991.98px) {
    body.ma-neo {
        padding-bottom: calc(6.25rem + env(safe-area-inset-bottom, 0px));
    }

    body.ma-neo:has(.ma-home-dock--consult) {
        padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
    }

    body.ma-neo .ma-home-dock {
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 80;
        display: grid;
        gap: 0.55rem;
        padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
        background: rgba(35, 40, 47, 0.88);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow:
            0 -10px 28px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    body.ma-neo .ma-home-dock--trio {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.ma-neo .ma-home-dock--consult {
        grid-template-columns: 1fr;
    }

    body.ma-neo .ma-home-dock__btn {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.28rem;
        min-height: 3.15rem;
        padding: 0.5rem 0.4rem;
        border-radius: 1.05rem;
        font-family: 'pmed', sans-serif;
        font-size: 0.68rem;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    }

    body.ma-neo .ma-home-dock--trio .ma-home-dock__btn {
        font-size: 0.8125rem;
        line-height: 1.25;
        padding: 0.5rem 0.3rem;
    }

    body.ma-neo .ma-home-dock--consult .ma-home-dock__btn {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.4rem 0.55rem;
        min-height: 3rem;
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }

    body.ma-neo .ma-home-dock__consult-label {
        font-family: 'pmed', sans-serif;
    }

    body.ma-neo .ma-home-dock__consult-num {
        font-family: 'pmed', sans-serif;
        font-variant-numeric: tabular-nums;
        letter-spacing: 0.02em;
        direction: ltr;
        unicode-bidi: isolate;
    }

    body.ma-neo .ma-home-dock__icon {
        flex: 0 0 auto;
        width: 17px;
        height: 17px;
        display: block;
    }

    body.ma-neo .ma-home-dock__btn--ghost {
        color: var(--ma-ink, #f2f4f6);
        background: var(--ma-bg, #23282f);
        box-shadow: var(--ma-raise-sm,
            inset 1px 1px 0 rgba(255, 255, 255, 0.05),
            -4px -4px 10px rgba(255, 255, 255, 0.04),
            5px 6px 14px rgba(0, 0, 0, 0.42));
    }

    body.ma-neo .ma-home-dock__btn--ghost:active {
        transform: translateY(1px);
        box-shadow: var(--ma-inset,
            inset 4px 4px 10px rgba(0, 0, 0, 0.55),
            inset -3px -3px 8px rgba(255, 255, 255, 0.035));
    }

    body.ma-neo .ma-home-dock__btn--primary {
        color: #fff;
        background: linear-gradient(160deg, #1aa3a3 0%, #008181 55%, #006868 100%);
        box-shadow: var(--ma-raise-primary,
            inset 1px 1px 0 rgba(255, 255, 255, 0.28),
            -4px -4px 12px rgba(90, 210, 210, 0.14),
            6px 8px 16px rgba(0, 28, 30, 0.55));
    }

    body.ma-neo .ma-home-dock--consult .ma-home-dock__btn--primary {
        font-size: 0.9375rem;
    }

    body.ma-neo .ma-home-dock__btn--primary:active {
        transform: translateY(1px);
        box-shadow:
            inset 3px 3px 8px rgba(0, 40, 42, 0.45),
            inset -1px -1px 0 rgba(255, 255, 255, 0.12);
    }
}

/* Checklist archive cards + related glossary */
body.ma-neo .ma-checklist-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    padding: 22px 20px 18px;
    border-radius: 22px;
    background: var(--ma-bg);
    box-shadow: var(--ma-raise);
    color: var(--ma-ink);
    transition: box-shadow var(--ma-ease), transform 220ms ease;
}

body.ma-neo .ma-checklist-card:hover {
    box-shadow: var(--ma-raise-lg);
    transform: translateY(-3px);
}

body.ma-neo .ma-checklist-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body.ma-neo .ma-checklist-card__count {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 129, 129, 0.18);
    color: var(--ma-accent);
    font-family: 'pmed', sans-serif;
    font-size: 0.75rem;
}

body.ma-neo .ma-checklist-card__cat {
    font-size: 0.75rem;
    color: var(--ma-faint);
}

body.ma-neo .ma-checklist-card__title {
    margin: 0;
    font-family: 'pmed', sans-serif;
    font-size: 1.05rem;
    line-height: 1.55;
}

body.ma-neo .ma-checklist-card__title a {
    color: var(--ma-ink);
    text-decoration: none;
}

body.ma-neo .ma-checklist-card__title a:hover {
    color: var(--ma-accent);
}

body.ma-neo .ma-checklist-card__blurb {
    margin: 0;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.9;
    color: var(--ma-muted);
}

body.ma-neo .ma-checklist-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin-top: 4px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(160deg, #1aa3a3 0%, #008181 55%, #006868 100%);
    color: #fff !important;
    font-family: 'pmed', sans-serif;
    font-size: 0.875rem;
    text-decoration: none;
    box-shadow: var(--ma-raise-primary);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

body.ma-neo .ma-checklist-card__cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--ma-raise-primary-hover);
    color: #fff !important;
}

body.ma-neo .checklist-item.hidden {
    display: none;
}

body.ma-neo .ma-related-glossary__item {
    transition: box-shadow var(--ma-ease);
}

body.ma-neo .ma-related-glossary__en {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ma-accent);
}

body.ma-neo .ma-related-glossary__fa {
    font-family: 'pmed', sans-serif;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--ma-ink);
}

body.ma-neo .ma-related-glossary__blurb {
    display: block;
    color: var(--ma-muted);
    line-height: 1.7;
}

/* Certificate verify page */
body.ma-neo .cert-verify-container {
    max-width: 560px;
    margin: 28px auto 48px;
}

body.ma-neo .cert-verify-form {
    padding: 28px 24px 24px;
    border-radius: 22px;
    background: var(--ma-bg);
    box-shadow: var(--ma-raise);
}

body.ma-neo .cert-verify-title {
    margin: 0 0 12px;
    text-align: center;
    font-family: 'pmed', sans-serif;
    font-size: 1.25rem;
    color: var(--ma-accent) !important;
}

body.ma-neo .cert-verify-lead {
    margin: 0 0 24px;
    text-align: center;
    color: var(--ma-muted) !important;
    font-size: 0.9375rem;
    line-height: 1.8;
}

body.ma-neo .cert-verify-form-el {
    margin-bottom: 12px;
}

body.ma-neo .cert-verify-field {
    margin-bottom: 14px;
}

body.ma-neo .cert-verify-input {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 0;
    border-radius: 14px;
    background: var(--ma-bg);
    box-shadow: var(--ma-inset);
    color: var(--ma-ink);
    font-size: 1rem;
    direction: ltr;
    text-align: center;
    outline: none;
}

body.ma-neo .cert-verify-input::placeholder {
    color: var(--ma-faint);
}

body.ma-neo .cert-verify-input:focus {
    box-shadow: var(--ma-inset), 0 0 0 1px rgba(121, 212, 212, 0.35);
}

body.ma-neo .cert-verify-submit {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(160deg, #1aa3a3 0%, #008181 55%, #006868 100%);
    color: #fff;
    font-family: 'pmed', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--ma-raise-primary);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

body.ma-neo .cert-verify-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--ma-raise-primary-hover);
}

body.ma-neo .cert-verify-submit:active {
    transform: translateY(1px);
    box-shadow: var(--ma-inset);
}

body.ma-neo .cert-verify-result {
    margin-top: 24px;
}

body.ma-neo .cert-verify-loading {
    text-align: center;
    padding: 20px 0 8px;
}

body.ma-neo .cert-verify-loading p {
    margin: 12px 0 0;
    color: var(--ma-muted);
}

body.ma-neo .cert-verify-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid rgba(121, 212, 212, 0.15);
    border-top-color: var(--ma-accent);
    animation: cert-verify-spin 1s linear infinite;
}

body.ma-neo .cert-verify-success,
body.ma-neo .cert-verify-error {
    border-radius: 16px;
    padding: 20px;
    background: var(--ma-bg);
    box-shadow: var(--ma-raise-sm);
}

body.ma-neo .cert-verify-success {
    border: 1px solid rgba(94, 196, 69, 0.35);
}

body.ma-neo .cert-verify-error {
    border: 1px solid rgba(229, 0, 10, 0.35);
    text-align: center;
}

body.ma-neo .cert-verify-success-title {
    margin: 0 0 18px;
    text-align: center;
    color: #5ec445 !important;
    font-family: 'pmed', sans-serif;
}

body.ma-neo .cert-verify-error-title {
    margin: 0 0 10px;
    color: #ff6b6b !important;
    font-family: 'pmed', sans-serif;
}

body.ma-neo .cert-verify-error-msg {
    margin: 0;
    color: var(--ma-muted) !important;
}

body.ma-neo .cert-info-item {
    margin: 10px 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--ma-bg);
    box-shadow: var(--ma-well);
}

body.ma-neo .cert-info-label {
    margin-bottom: 4px;
    font-family: 'pmed', sans-serif;
    font-size: 0.8125rem;
    color: var(--ma-accent);
}

body.ma-neo .cert-info-value {
    color: var(--ma-ink);
    line-height: 1.7;
}

body.ma-neo .cert-verify-image {
    display: block;
    width: 100%;
    margin-top: 14px;
    border-radius: 12px;
    box-shadow: var(--ma-well);
}

/* Closed course registration notice */
body.ma-neo .ma-course-closed__panel {
    background: var(--ma-bg);
    box-shadow: var(--ma-raise);
    border: none !important;
}

body.ma-neo .ma-course-closed__eyebrow {
    margin: 0 0 10px;
    color: var(--ma-accent);
    font-family: 'pmed', sans-serif;
    font-size: 0.8125rem;
}

body.ma-neo .ma-course-closed__msg {
    margin: 0 0 22px;
    max-width: 40rem;
    color: var(--ma-muted);
    font-size: 1.05rem;
    line-height: 2;
}

body.ma-neo .ma-course-closed__msg strong {
    color: var(--ma-ink);
}

body.ma-neo .ma-course-closed__cta {
    box-shadow: var(--ma-raise-primary);
}

body.ma-neo .ma-course-closed__cta:hover {
    color: #fff !important;
    box-shadow: var(--ma-raise-primary-hover);
}

/* Full-bleed home sections inside Bootstrap course layout.
   Avoid 100vw breakout (it creates page-level horizontal scroll). */
body.ma-course {
    overflow-x: clip;
}

body.ma-course .ma-course-home-embed {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    overflow-x: clip;
}

body.ma-course .ma-course-home-embed .ma-home-grads,
body.ma-course .ma-course-home-embed .ma-home-social {
    margin: 0;
}

body.ma-course .ma-course-home-embed .ma-home-social__layout {
    padding-inline-start: 0;
    padding-inline-end: 0;
}

body.ma-course .ma-course-home-embed .ma-wrap {
    width: 100%;
}

body.ma-neo .ma-course-group-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 22rem;
    padding: 0.85rem 1.25rem;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid var(--ma-primary);
    color: var(--ma-accent) !important;
    font-family: 'pmed', sans-serif;
    transition: background var(--ma-ease), color var(--ma-ease), box-shadow var(--ma-ease);
}

body.ma-neo .ma-course-group-cta:hover {
    background: var(--ma-primary);
    color: #fff !important;
    box-shadow: var(--ma-raise-primary);
}

@media (max-width: 575.98px) {
    body.ma-neo .ma-course-group-cta {
        white-space: normal;
        line-height: 1.6;
        max-width: none;
    }
}

/* Expandable SEO / more-about (shared with services pattern) */
body.ma-neo .ma-services-more {
    margin-top: 8px;
}

body.ma-neo .ma-services-more__summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--ma-accent);
    font-family: 'pmed', sans-serif;
    list-style: none;
}

body.ma-neo .ma-services-more__summary::-webkit-details-marker {
    display: none;
}

body.ma-neo .ma-services-more__summary svg {
    transition: transform 180ms ease;
}

body.ma-neo .ma-services-more[open] .ma-services-more__summary svg {
    transform: rotate(180deg);
}

body.ma-neo .ma-services-more__body {
    margin-top: 14px;
}

body.ma-neo .ma-services-more__body p {
    margin: 0 0 14px;
    color: var(--ma-muted);
}

/* Collapsed course syllabus after first steps */
body.ma-neo .ma-course-syllabus-more {
    margin: 22px 0 10px;
    text-align: center;
}

body.ma-neo .ma-course-syllabus-more__summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: auto;
    min-width: min(100%, 18rem);
    max-width: 100%;
    padding: 12px 18px 12px 20px;
    border-radius: 999px;
    cursor: pointer;
    list-style: none;
    color: var(--ma-accent);
    font-family: 'pmed', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    background: transparent;
    border: 1px dashed rgba(121, 212, 212, 0.45);
    box-shadow: none;
    transition:
        color var(--ma-ease),
        background var(--ma-ease),
        border-color var(--ma-ease),
        box-shadow var(--ma-ease),
        transform var(--ma-ease);
}

body.ma-neo .ma-course-syllabus-more__summary::-webkit-details-marker {
    display: none;
}

body.ma-neo .ma-course-syllabus-more__summary:hover {
    color: #fff;
    background: var(--ma-primary);
    border-color: transparent;
    border-style: solid;
    box-shadow: var(--ma-raise-primary);
    transform: translateY(-1px);
}

body.ma-neo .ma-course-syllabus-more__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(121, 212, 212, 0.12);
    color: inherit;
    transition: background var(--ma-ease), transform var(--ma-ease);
}

body.ma-neo .ma-course-syllabus-more__summary:hover .ma-course-syllabus-more__icon {
    background: rgba(255, 255, 255, 0.18);
}

body.ma-neo .ma-course-syllabus-more__icon svg {
    transition: transform 200ms ease;
}

body.ma-neo .ma-course-syllabus-more[open] .ma-course-syllabus-more__summary {
    color: var(--ma-muted);
    background: var(--ma-bg);
    border-style: solid;
    border-color: transparent;
    box-shadow: var(--ma-inset);
}

body.ma-neo .ma-course-syllabus-more[open] .ma-course-syllabus-more__summary:hover {
    color: var(--ma-ink);
    transform: none;
    box-shadow: var(--ma-inset);
}

body.ma-neo .ma-course-syllabus-more[open] .ma-course-syllabus-more__icon {
    background: rgba(255, 255, 255, 0.06);
}

body.ma-neo .ma-course-syllabus-more[open] .ma-course-syllabus-more__icon svg {
    transform: rotate(180deg);
}

body.ma-neo .ma-course-syllabus-more__body {
    margin-top: 18px;
    text-align: start;
}

body.ma-neo .ma-course-syllabus-more__label-open {
    display: none;
}

body.ma-neo .ma-course-syllabus-more[open] .ma-course-syllabus-more__label-closed {
    display: none;
}

body.ma-neo .ma-course-syllabus-more[open] .ma-course-syllabus-more__label-open {
    display: inline;
}

@media (max-width: 640px) {
    body.ma-neo .ma-glossary-featured-grid,
    body.ma-neo .ma-glossary-cats-grid,
    body.ma-neo .ma-glossary-list {
        grid-template-columns: 1fr;
    }
}
