/* =========================================================
   NN EDUCATION — GLOBAL DESIGN TOKENS
   Migrated from WPCode snippet 13390
   ========================================================= */

:root {
  --nn-primary: #2C3E50;
  --nn-primary-dk: #1a2d3d;
  --nn-primary-lt: #e8f4f1;

  --nn-accent: #16A085;
  --nn-accent-hv: #12876e;

  /* Leaderboard compatibility aliases */
  --nn-navy: #2C3E50;
  --nn-blue: #2C3E50;
  --nn-muted: #64748b;

  --nn-bg: #f1f5f9;
  --nn-surface: #ffffff;
  --nn-surface-2: #f8faff;

  --nn-border: #e5e7eb;
  --nn-border-md: #d1d5db;

  --nn-text: #0f172a;
  --nn-text-md: #475569;
  --nn-text-lt: #94a3b8;

  --nn-green: #16a34a;
  --nn-green-bg: #f0fdf4;

  --nn-amber: #d97706;
  --nn-amber-bg: #fffbeb;

  --nn-red: #dc2626;
  --nn-red-bg: #fef2f2;

  --nn-hdr-h: 60px;
  --nn-sb-w: 300px;

  --nn-r: 8px;
  --nn-r-lg: 12px;

  --nn-shadow:
    0 1px 3px rgba(15, 23, 42, 0.08),
    0 1px 2px rgba(15, 23, 42, 0.04);

  --nn-shadow-md:
    0 4px 20px rgba(15, 23, 42, 0.10);

  --nn-ease: 0.2s ease;
}
/* =========================================================
   GLOBAL TYPOGRAPHY
   Migrated from WPCode snippet 15610
   ========================================================= */

body,
h1, h2, h3, h4, h5, h6,
p, a, span, li, ul, ol,
div, label, input, textarea,
select, button, table, th, td,
blockquote, caption, figcaption,
.wp-block-paragraph,
.entry-title,
.entry-content,
.widget-title,
.site-title,
.nav-menu li,
.comment-content {
    font-family: 'Montserrat', sans-serif !important;
}

/* Heading weights */
h1 { font-weight: 700; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }
h4 { font-weight: 600; }
h5 { font-weight: 600; }
h6 { font-weight: 600; }

/* Body text */
body,
p,
li {
    font-weight: 400;
    line-height: 1.7;
}

/* Buttons */
button,
.btn,
input[type="submit"],
input[type="button"] {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Navigation */
.nav-menu li,
.main-navigation a {
    font-weight: 600;
    letter-spacing: 0.5px;
}
/* =========================================================
   NN EDUCATION
   GLOBAL DESIGN SYSTEM
   ========================================================= */

:root {
    --nn-charcoal: #2C3E50;
    --nn-teal: #16A085;

    --nn-bg: #F7F9FA;
    --nn-surface: #FFFFFF;

    --nn-text: #263238;
    --nn-text-light: #607D8B;

    --nn-border: #E5E9EC;

    --nn-success: #27AE60;
    --nn-warning: #F39C12;
    --nn-danger: #E74C3C;

    --nn-radius-sm: 8px;
    --nn-radius-md: 14px;
    --nn-radius-lg: 20px;

    --nn-container: 1200px;

    --nn-shadow-sm:
        0 2px 8px rgba(0, 0, 0, 0.05);

    --nn-shadow-md:
        0 8px 24px rgba(0, 0, 0, 0.08);

    --nn-transition:
        0.2s ease;
            /* Legacy aliases still used by LMS components */
    --nn-navy: #2C3E50;
    --nn-blue: #2C3E50;
    --nn-muted: #64748b;

    --nn-shadow:
        0 1px 3px rgba(15, 23, 42, 0.08),
        0 1px 2px rgba(15, 23, 42, 0.04);
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--nn-bg);
    color: var(--nn-text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.admin-bar {
    min-height: calc(100vh - 32px);
}


/* =========================================================
   HTML ELEMENTS
   ========================================================= */

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--nn-teal);
    text-decoration: none;
    transition: color var(--nn-transition);
}

a:hover {
    text-decoration: underline;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--nn-charcoal);
    line-height: 1.25;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

p {
    margin-top: 0;
}

ul,
ol {
    padding-left: 1.4rem;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.nn-container {
    width: min(
        calc(100% - 32px),
        var(--nn-container)
    );

    margin-left: auto;
    margin-right: auto;
}

.nn-site-main {
    min-height: 60vh;
    padding: 40px 0;
}

.nn-site-main.nn-page--front,
.nn-page--front,
.nn2026-home,
body.home .nn-site-main,
body.front-page .nn-site-main,
.home .nn-site-main,
.front-page .nn-site-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.home .nn-entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* =========================================================
   HEADER
   ========================================================= */

.nn-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--nn-border);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


.nn-header-inner {
    min-height: 74px;

    display: flex;
    align-items: center;

    gap: 34px;
}


/* =========================================================
   BRAND
   ========================================================= */

.nn-header-brand {
    flex-shrink: 0;
}


.nn-brand-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--nn-charcoal);

    font-weight: 800;

    text-decoration: none;
}


.nn-brand-link:hover {
    text-decoration: none;
}


.nn-brand-logo {
    display: flex;
    align-items: center;
}


.nn-brand-logo .custom-logo-link {
    display: flex;
    align-items: center;

    text-decoration: none;
}


.nn-brand-logo .custom-logo {
    display: block;

    width: auto;
    height: 44px;
    max-width: 220px;

    object-fit: contain;
}


.nn-brand-mark {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--nn-charcoal),
            var(--nn-teal)
        );

    color: #FFFFFF;

    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.05em;
}


.nn-brand-name {
    font-size: 18px;
    line-height: 1;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nn-primary-navigation {
    flex: 1;
}


.nn-primary-menu {
    display: flex;
    align-items: center;

    gap: 4px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.nn-primary-menu > li {
    position: relative;
}


.nn-primary-menu > li > a {
    display: flex;
    align-items: center;

    min-height: 42px;

    padding: 8px 12px;

    border-radius: 10px;

    color: var(--nn-charcoal);

    font-size: 14px;
    font-weight: 650;

    text-decoration: none;

    transition:
        background var(--nn-transition),
        color var(--nn-transition);
}
/* Dropdown indicator */
.nn-primary-menu > li.menu-item-has-children > a::after {
    content: "";

    width: 6px;
    height: 6px;

    margin-left: 7px;
    margin-top: -3px;

    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;

    transform: rotate(45deg);

    transition: transform var(--nn-transition);
}


.nn-primary-menu > li.menu-item-has-children:hover > a::after,
.nn-primary-menu > li.menu-item-has-children:focus-within > a::after {
    transform:
        translateY(2px)
        rotate(225deg);
}


.nn-primary-menu > li > a:hover,
.nn-primary-menu > li.current-menu-item > a,
.nn-primary-menu > li.current-menu-ancestor > a {
    background: rgba(22, 160, 133, 0.09);

    color: var(--nn-teal);

    text-decoration: none;
}


/* =========================================================
   DROPDOWN MENU
   ========================================================= */

.nn-primary-menu .sub-menu {
    position: absolute;

    top: calc(100% + 10px);
    left: 0;

    min-width: 220px;

    margin: 0;
    padding: 8px;

    list-style: none;

    background: #FFFFFF;

    border: 1px solid rgba(44, 62, 80, 0.10);
    border-radius: 14px;

    box-shadow:
        0 14px 40px rgba(44, 62, 80, 0.12);

    opacity: 0;
    visibility: hidden;

    transform: translateY(7px);

    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease;
}


.nn-primary-menu li:hover > .sub-menu,
.nn-primary-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


.nn-primary-menu .sub-menu a {
    display: flex;
    align-items: center;

    min-height: 42px;

    padding: 9px 12px;

    border-radius: 9px;

    color: var(--nn-charcoal);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background var(--nn-transition),
        color var(--nn-transition);
}


.nn-primary-menu .sub-menu a:hover {
    background: var(--nn-bg);

    color: var(--nn-teal);

    text-decoration: none;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.nn-header-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}


.nn-header-login,
.nn-header-dashboard {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 18px;

    border: 1px solid rgba(22, 160, 133, 0.15);
    border-radius: 11px;

    background: var(--nn-teal);

    color: #FFFFFF;

    font-size: 14px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    box-shadow:
        0 5px 14px rgba(22, 160, 133, 0.18);

    transition:
        transform var(--nn-transition),
        box-shadow var(--nn-transition),
        background var(--nn-transition);
}


.nn-header-login:hover,
.nn-header-dashboard:hover {
    background: #138f78;

    color: #FFFFFF;

    text-decoration: none;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(22, 160, 133, 0.25);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.nn-menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    padding: 0;

    margin-left: auto;

    border: 1px solid var(--nn-border);
    border-radius: 10px;

    background: #FFFFFF;
}


.nn-menu-toggle__line {
    width: 20px;
    height: 2px;

    display: block;

    border-radius: 10px;

    background: var(--nn-charcoal);

    transition:
        transform var(--nn-transition),
        opacity var(--nn-transition);
}


.nn-header-actions--mobile {
    display: none;
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width: 900px) {

    .nn-header-inner {
        min-height: 64px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        flex-wrap: wrap;
        gap: 0;
    }

    .nn-header-brand {
        flex: 1;
        min-width: 0;
    }

    .nn-menu-toggle {
        display: inline-flex;
        margin-left: auto;
        flex-shrink: 0;
    }


    .nn-header-actions--desktop {
        display: none !important;
    }


    .nn-primary-navigation {
        width: 100%;

        flex-basis: 100%;

        order: 3;

        display: none;

        padding: 8px 0 16px;
    }


    .nn-primary-navigation.is-open {
        display: block;
    }


    .nn-primary-menu {
        width: 100%;

        display: block;

        padding-top: 8px;

        border-top: 1px solid var(--nn-border);
    }


    .nn-primary-menu > li {
        width: 100%;
    }


    .nn-primary-menu > li > a {
        width: 100%;

        min-height: 44px;

        padding: 10px 6px;

        border-radius: 0;
    }


    .nn-primary-menu > li > a:hover,
    .nn-primary-menu > li.current-menu-item > a,
    .nn-primary-menu > li.current-menu-ancestor > a {
        background: transparent;
    }


    .nn-primary-menu .sub-menu {
        position: static;

        min-width: 0;

        margin: 0 0 6px 14px;
        padding: 0 0 0 12px;

        border: 0;
        border-left: 2px solid var(--nn-border);
        border-radius: 0;

        box-shadow: none;

        opacity: 1;
        visibility: visible;

        transform: none;

        background: transparent;
    }


    .nn-primary-menu .sub-menu a {
        padding: 9px 6px;
    }

    .nn-header-actions--mobile {
        display: block;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid var(--nn-border);
    }

    .nn-header-actions--mobile .nn-header-login,
    .nn-header-actions--mobile .nn-header-dashboard {
        display: flex;
        width: 100%;
        min-height: 44px;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 700;
    }
}


@media (max-width: 600px) {

    .nn-brand-name {
        display: none;
    }
}


/* =========================================================
   FOOTER
   ========================================================= */

.nn-site-footer {
    margin-top: 64px;
    padding: 56px 0 24px;

    background: var(--nn-charcoal);
    color: rgba(255, 255, 255, 0.86);
}


/* Main footer layout */
.nn-footer-grid {
    display: grid;

    grid-template-columns:
        minmax(260px, 1.4fr)
        repeat(3, minmax(140px, 1fr));

    gap: 44px;

    align-items: start;
}


/* =========================================================
   FOOTER BRAND
   ========================================================= */

.nn-footer-brand {
    min-width: 0;
    max-width: 340px;
}


.nn-footer-logo {
    display: inline-flex;
    align-items: center;

    max-width: 230px;

    text-decoration: none;
}


.nn-footer-logo:hover {
    text-decoration: none;
}


/*
 * Important:
 * Force the footer logo to stay compact,
 * regardless of the original uploaded image dimensions.
 */
.nn-footer-logo img,
.nn-footer-logo-image {
    display: block;

    width: auto !important;
    height: 46px !important;

    max-width: 230px !important;
    max-height: 46px !important;

    object-fit: contain;
}


.nn-footer-brand-name {
    display: inline-block;

    color: #FFFFFF;

    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}


.nn-footer-description {
    margin: 18px 0 0;

    max-width: 320px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   FOOTER COLUMNS
   ========================================================= */

.nn-footer-column {
    min-width: 0;
}


.nn-footer-column h3 {
    margin: 0 0 16px;

    color: #FFFFFF;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: 0.02em;
}


.nn-footer-column ul {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


.nn-footer-column li {
    margin: 0;
    padding: 0;
}


.nn-footer-column li + li {
    margin-top: 9px;
}


.nn-footer-column a {
    display: inline-block;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
    line-height: 1.5;

    text-decoration: none;

    transition:
        color var(--nn-transition),
        transform var(--nn-transition);
}


.nn-footer-column a:hover {
    color: #FFFFFF;

    text-decoration: none;

    transform: translateX(2px);
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.nn-footer-bottom {
    margin-top: 44px;

    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);
}


.nn-footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   FOOTER RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .nn-footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 34px 40px;
    }
}


@media (max-width: 600px) {

    .nn-site-footer {
        margin-top: 48px;

        padding:
            42px 0
            22px;
    }


    .nn-footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .nn-footer-brand {
        max-width: none;
    }


    .nn-footer-logo img,
    .nn-footer-logo-image {
        height: 42px !important;

        max-height: 42px !important;

        max-width: 210px !important;
    }


    .nn-footer-bottom {
        margin-top: 34px;

        padding-top: 18px;
    }
}


/* =========================================================
   BASIC CONTENT
   ========================================================= */

.nn-entry-content {
    overflow-wrap: break-word;
}

.nn-entry-content > *:last-child {
    margin-bottom: 0;
}


/* =========================================================
   STANDARD CONTENT
   ========================================================= */

.nn-page,
.nn-single {
    max-width: 880px;

    margin: 0 auto;

    padding: 34px;

    background: var(--nn-surface);

    border: 1px solid var(--nn-border);
    border-radius: var(--nn-radius-lg);

    box-shadow: var(--nn-shadow-sm);
}
/* Front page should use its own full-width layout */
.nn-page--front {
    max-width: none;

    margin: 0;

    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;
}
.nn-page--front .nn-entry-content {
    width: 100%;
}


.nn-entry-header {
    margin-bottom: 28px;
}


.nn-entry-title {
    margin-bottom: 0;
}


.nn-entry-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 12px;

    color: var(--nn-text-light);

    font-size: 14px;
}


.nn-entry-featured {
    margin-bottom: 30px;

    overflow: hidden;

    border-radius: var(--nn-radius-md);
}


.nn-entry-featured-image {
    width: 100%;
    height: auto;

    display: block;
}


.nn-entry-content {
    font-size: 16px;
    line-height: 1.75;
}


.nn-entry-content > * {
    max-width: 100%;
}


.nn-entry-content h2,
.nn-entry-content h3,
.nn-entry-content h4 {
    margin-top: 1.8em;
}


.nn-entry-content img {
    border-radius: var(--nn-radius-md);
}


/* =========================================================
   ARCHIVES
   ========================================================= */

.nn-archive-header {
    margin-bottom: 32px;
}


.nn-archive-title {
    margin-bottom: 8px;
}


.nn-archive-description {
    max-width: 720px;

    color: var(--nn-text-light);
}


.nn-archive-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


.nn-archive-card {
    overflow: hidden;

    background: var(--nn-surface);

    border: 1px solid var(--nn-border);
    border-radius: var(--nn-radius-lg);

    box-shadow: var(--nn-shadow-sm);

    transition:
        transform var(--nn-transition),
        box-shadow var(--nn-transition);
}


.nn-archive-card:hover {
    transform: translateY(-3px);

    box-shadow: var(--nn-shadow-md);
}


.nn-archive-card__image {
    display: block;

    aspect-ratio: 16 / 9;

    overflow: hidden;
}


.nn-archive-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.3s ease;
}


.nn-archive-card:hover .nn-archive-card__image img {
    transform: scale(1.025);
}


.nn-archive-card__body {
    padding: 22px;
}


.nn-archive-card__title {
    margin-bottom: 8px;

    font-size: 19px;
}


.nn-archive-card__title a {
    color: var(--nn-charcoal);

    text-decoration: none;
}


.nn-archive-card__title a:hover {
    color: var(--nn-teal);
}


.nn-archive-card__meta {
    margin-bottom: 14px;

    color: var(--nn-text-light);

    font-size: 13px;
}


.nn-archive-card__excerpt {
    color: var(--nn-text);

    font-size: 14px;
    line-height: 1.65;
}


.nn-archive-card__excerpt p:last-child {
    margin-bottom: 0;
}


.nn-archive-card__link {
    display: inline-block;

    margin-top: 16px;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.nn-pagination {
    margin-top: 36px;
}


.nn-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


.nn-pagination .page-numbers {
    min-width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 12px;

    border: 1px solid var(--nn-border);
    border-radius: 10px;

    background: var(--nn-surface);

    color: var(--nn-charcoal);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}


.nn-pagination .page-numbers.current,
.nn-pagination .page-numbers:hover {
    background: var(--nn-teal);

    border-color: var(--nn-teal);

    color: #FFFFFF;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.nn-button {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;

    border-radius: 11px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background var(--nn-transition),
        color var(--nn-transition),
        border-color var(--nn-transition),
        transform var(--nn-transition);
}


.nn-button:hover {
    text-decoration: none;

    transform: translateY(-1px);
}


.nn-button--primary {
    background: var(--nn-teal);

    border: 1px solid var(--nn-teal);

    color: #FFFFFF;
}


.nn-button--primary:hover {
    background: #138f78;

    color: #FFFFFF;
}


.nn-button--secondary {
    background: var(--nn-surface);

    border: 1px solid var(--nn-border);

    color: var(--nn-charcoal);
}


.nn-button--secondary:hover {
    border-color: var(--nn-teal);

    color: var(--nn-teal);
}


/* =========================================================
   404 PAGE
   ========================================================= */

.nn-404 {
    max-width: 720px;

    margin: 60px auto;

    padding: 50px 32px;

    text-align: center;

    background: var(--nn-surface);

    border: 1px solid var(--nn-border);
    border-radius: var(--nn-radius-lg);

    box-shadow: var(--nn-shadow-sm);
}


.nn-404__code {
    margin-bottom: 10px;

    color: var(--nn-teal);

    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1;
}


.nn-404 h1 {
    margin-bottom: 14px;
}


.nn-404 p {
    max-width: 520px;

    margin:
        0 auto
        26px;

    color: var(--nn-text-light);
}


.nn-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 12px;
}


/* =========================================================
   STANDARD CONTENT RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .nn-archive-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 700px) {

    .nn-page,
    .nn-single {
        padding: 22px;
    }


    .nn-archive-grid {
        grid-template-columns: 1fr;
    }


    .nn-404 {
        margin: 30px auto;

        padding: 38px 22px;
    }
}
/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.screen-reader-text {
    position: absolute !important;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}

.screen-reader-text:focus {
    width: auto;
    height: auto;

    top: 10px;
    left: 10px;

    padding: 12px 16px;

    clip: auto;

    background: #FFFFFF;
    color: var(--nn-charcoal);

    z-index: 100000;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 782px) {

    body.admin-bar {
        min-height: calc(100vh - 46px);
    }

    .nn-site-main {
        padding: 28px 0;
    }
}

@media (max-width: 600px) {

    .nn-container {
        width: min(
            calc(100% - 24px),
            var(--nn-container)
        );
    }
}
/* =========================================================
   FRONT PAGE LAYOUT OVERRIDE
   Keep custom homepage sections full width.
   ========================================================= */

body.home .nn-site-main {
    padding-top: 0;
    padding-bottom: 0;
}


/*
 * Keep this after the general responsive rules so the
 * homepage does not regain vertical padding on mobile.
 */
@media (max-width: 782px) {

    body.home .nn-site-main {
        padding-top: 0;
        padding-bottom: 0;
    }
}
/* =========================================================
   COURSE PAGE
   ========================================================= */

.nn-course-page {
    padding-top: 32px;
}

.nn-course-page > .nn-container {
    max-width: 980px;
}


.nn-course {
    width: 100%;
}


/* =========================================================
   COURSE HERO
   ========================================================= */

.nn-course-hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(300px, 0.8fr);

    gap: 48px;

    align-items: center;

    padding: 48px;

    background:
        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #F5FAF9 100%
        );

    border: 1px solid var(--nn-border);
    border-radius: 24px;

    box-shadow: var(--nn-shadow-sm);
}


.nn-course-hero__content {
    min-width: 0;
}


.nn-course-hero__eyebrow {
    display: inline-flex;

    align-items: center;

    min-height: 30px;

    margin-bottom: 16px;

    padding: 6px 12px;

    border-radius: 999px;

    background:
        rgba(22, 160, 133, 0.09);

    color: var(--nn-teal);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.nn-course-hero__title {
    max-width: 760px;

    margin-bottom: 18px;

    font-size:
        clamp(
            2.2rem,
            5vw,
            4rem
        );

    line-height: 1.08;
}


.nn-course-hero__summary {
    max-width: 680px;

    color: var(--nn-text-light);

    font-size: 17px;
    line-height: 1.7;
}


.nn-course-hero__summary p:last-child {
    margin-bottom: 0;
}


.nn-course-hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 26px;
}


/* =========================================================
   COURSE IMAGE
   ========================================================= */

.nn-course-hero__visual {
    min-width: 0;

    overflow: hidden;

    border-radius: 20px;

    background: #FFFFFF;

    box-shadow:
        0 16px 40px rgba(44, 62, 80, 0.10);
}


.nn-course-hero__visual img {
    width: 100%;
    height: auto;

    display: block;

    object-fit: cover;
}


/* =========================================================
   COURSE BODY
   ========================================================= */

.nn-course-content {
    margin-top: 36px;
}


.nn-course-content__main {
    width: 100%;
}


.nn-course-content__body {
    width: 100%;
}


/*
 * Important:
 * Course content already contains the custom LMS roadmap
 * generated by NN Education snippets.
 * Do not force it into the normal 880px article width.
 */
.nn-course-content__body > * {
    max-width: 100%;
}


/* =========================================================
   COURSE RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .nn-course-hero {
        grid-template-columns: 1fr;

        gap: 32px;

        padding: 36px;
    }


    .nn-course-hero__visual {
        max-width: 620px;
    }
}


@media (max-width: 600px) {

    .nn-course-page {
        padding-top: 20px;
    }


    .nn-course-hero {
        padding: 26px 22px;

        border-radius: 18px;
    }


    .nn-course-hero__title {
        font-size:
            clamp(
                2rem,
                10vw,
                2.8rem
            );
    }


    .nn-course-hero__summary {
        font-size: 15px;
    }


    .nn-course-hero__actions {
        flex-direction: column;
    }


    .nn-course-hero__actions .nn-button {
        width: 100%;
    }
}
/* =========================================================
   LESSON / CHAPTER PAGE
   ========================================================= */

.nn-lesson-page {
    padding-top: 28px;
}


.nn-lesson-shell {
    width: 100%;
}


/* =========================================================
   LESSON BREADCRUMB
   ========================================================= */

.nn-lesson-breadcrumb {
    margin-bottom: 14px;
}


.nn-lesson-breadcrumb a {
    display: inline-flex;
    align-items: center;

    color: var(--nn-text-light);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}


.nn-lesson-breadcrumb a:hover {
    color: var(--nn-teal);

    text-decoration: none;
}


/* =========================================================
   LESSON META BAR
   ========================================================= */

.nn-lesson-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 18px;

    padding: 14px 18px;

    background: var(--nn-surface);

    border: 1px solid var(--nn-border);
    border-radius: 14px;

    box-shadow: var(--nn-shadow-sm);
}


.nn-lesson-meta-bar__left,
.nn-lesson-meta-bar__right {
    display: flex;
    align-items: center;

    gap: 10px;
}


.nn-lesson-label {
    color: var(--nn-teal);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


.nn-lesson-course-name {
    color: var(--nn-charcoal);

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   LESSON ACCESS BADGES
   ========================================================= */

.nn-lesson-access {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 28px;

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;
}


.nn-lesson-access.is-free {
    background: rgba(22, 160, 133, 0.10);

    color: var(--nn-teal);
}


.nn-lesson-access.is-included {
    background: rgba(44, 62, 80, 0.08);

    color: var(--nn-charcoal);
}


.nn-lesson-access.is-locked {
    background: rgba(231, 76, 60, 0.10);

    color: var(--nn-danger);
}


/* =========================================================
   EXISTING LESSON SNIPPET INTEGRATION
   ========================================================= */

/*
 * Existing WPCode snippet 16659 already creates:
 *
 * .nn-lesson-layout
 * .nn-lesson-main
 * .nn-lesson-content-card
 * .nn-lesson-chapter-header
 * .nn-lesson-content-body
 *
 * These rules make that existing structure match
 * the new custom theme.
 */

.nn-lesson-rendered-content {
    width: 100%;
}


.nn-lesson-rendered-content .nn-lesson-layout {
    width: 100%;

    margin: 0;
}


.nn-lesson-rendered-content .nn-lesson-main {
    width: 100%;
    min-width: 0;
}


.nn-lesson-rendered-content .nn-lesson-content-card {
    width: 100%;

    margin: 0;

    overflow: hidden;

    background: var(--nn-surface);

    border: 1px solid var(--nn-border);
    border-radius: 20px;

    box-shadow: var(--nn-shadow-sm);
}


.nn-lesson-rendered-content .nn-lesson-chapter-header {
    padding: 28px 30px;

    background:
        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #F3FAF8 100%
        );

    border-bottom: 1px solid var(--nn-border);
}


.nn-lesson-rendered-content .nn-lesson-ch-eyebrow {
    margin-bottom: 8px;

    color: var(--nn-teal);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


.nn-lesson-rendered-content .nn-lesson-ch-title {
    margin: 0;

    color: var(--nn-charcoal);

    font-size:
        clamp(
            1.8rem,
            4vw,
            2.6rem
        );

    line-height: 1.15;
}


.nn-lesson-rendered-content .nn-lesson-content-body {
    padding: 30px;

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   LESSON RESOURCE AREA
   ========================================================= */

.nn-lesson-rendered-content .nn-player-restabs {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin:
        0 0
        22px;

    padding-bottom: 14px;

    border-bottom: 1px solid var(--nn-border);
}


.nn-lesson-rendered-content .nn-player-restab {
    min-height: 38px;

    padding: 7px 12px;

    border: 1px solid var(--nn-border);
    border-radius: 10px;

    background: var(--nn-surface);

    color: var(--nn-charcoal);

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background var(--nn-transition),
        border-color var(--nn-transition),
        color var(--nn-transition);
}


.nn-lesson-rendered-content .nn-player-restab:hover,
.nn-lesson-rendered-content .nn-player-restab.active {
    border-color: var(--nn-teal);

    background: rgba(22, 160, 133, 0.08);

    color: var(--nn-teal);
}


/* =========================================================
   COMPLETION UI
   ========================================================= */

.nn-lesson-rendered-content
.nn-lesson-complete-success {
    margin-bottom: 18px;

    padding: 13px 15px;

    border: 1px solid rgba(39, 174, 96, 0.20);
    border-radius: 12px;

    background: rgba(39, 174, 96, 0.08);

    color: #18794e;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   CONTENT QUALITY
   ========================================================= */

.nn-lesson-rendered-content img {
    max-width: 100%;
    height: auto;
}


.nn-lesson-rendered-content iframe {
    max-width: 100%;
}


.nn-lesson-rendered-content table {
    width: 100%;

    border-collapse: collapse;
}


.nn-lesson-rendered-content pre {
    max-width: 100%;

    overflow-x: auto;
}


/* =========================================================
   LESSON MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .nn-lesson-page {
        padding-top: 18px;
    }


    .nn-lesson-meta-bar {
        align-items: flex-start;

        padding: 12px 14px;
    }


    .nn-lesson-meta-bar__left {
        flex-direction: column;
        align-items: flex-start;

        gap: 2px;
    }


    .nn-lesson-rendered-content
    .nn-lesson-content-card {
        border-radius: 16px;
    }


    .nn-lesson-rendered-content
    .nn-lesson-chapter-header {
        padding: 22px 18px;
    }


    .nn-lesson-rendered-content
    .nn-lesson-content-body {
        padding: 20px 18px;
    }


    .nn-lesson-rendered-content
    .nn-player-restabs {
        gap: 6px;
    }


    .nn-lesson-rendered-content
    .nn-player-restab {
        flex: 1 1 auto;

        justify-content: center;
    }
}
/* =========================================================
   STUDENT DASHBOARD
   ========================================================= */

.nn-dashboard-page {
    padding-top: 28px;
}


.nn-dashboard-shell {
    width: 100%;
}


/* =========================================================
   DASHBOARD CONTENT WRAPPER
   ========================================================= */

.nn-dashboard-content {
    width: 100%;
}


.nn-dashboard-content > * {
    max-width: 100%;
}


/* =========================================================
   COMMON DASHBOARD CARD CLEANUP
   ========================================================= */

.nn-dashboard-content .nn-card,
.nn-dashboard-content .nn-dashboard-card,
.nn-dashboard-content .nn-panel {
    border-radius: 16px;
}


/* =========================================================
   DASHBOARD RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .nn-dashboard-page {
        padding-top: 18px;
    }
}
/* =========================================================
   SPECIAL FULL-WIDTH PAGES
   ========================================================= */

.nn-special-page {
    width: 100%;
}


/*
 * These pages provide their own internal section widths,
 * spacing and cards.
 */
.nn-special-page-content {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;
}


/* =========================================================
   EXAM PREP PAGE
   ========================================================= */

.nn-exam-prep-page {
    padding-top: 0;
    padding-bottom: 0;
}


.nn-exam-prep-content {
    overflow: visible;
}


/*
 * Do not let generic theme content rules constrain
 * custom Exam Prep sections.
 */
.nn-exam-prep-content > * {
    max-width: none;
}
/* =========================================================
   PAST PAPERS LIBRARY PAGE
   ========================================================= */

.nn-past-papers-page {
    width: 100%;

    padding-top: 0;
    padding-bottom: 0;
}


.nn-past-papers-content {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    overflow: visible;
}


/*
 * Past Papers already contains its own hero,
 * library container and card grid.
 */
.nn-past-papers-content > * {
    max-width: none;
}


/*
 * Prevent generic article styles from affecting
 * custom Past Papers sections.
 */
.nn-past-papers-content h1,
.nn-past-papers-content h2,
.nn-past-papers-content h3,
.nn-past-papers-content p {
    max-width: none;
}
/* =========================================================
   SPECIAL SINGLE POSTS
   Past Papers / Syllabus
   ========================================================= */

.nn-special-single {
    width: 100%;

    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;
}


.nn-special-single__content {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 32px 20px 0;
}


/*
 * The functional Past Paper wrapper controls
 * the actual article width internally.
 */
.nn-special-single__content .nn-pp-page-wrap {
    width: 100%;
}


/* Mobile spacing */
@media (max-width: 700px) {

    .nn-special-single__content {
        padding:
            20px 14px
            0;
    }
}
/* =========================================================
   SYLLABUS LANDING PAGE
   ========================================================= */

.nn-syllabus-page {
    width: 100%;

    padding-top: 0;
    padding-bottom: 0;
}


.nn-syllabus-content {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    overflow: visible;
}


/*
 * The syllabus page already controls its own
 * section/container widths internally.
 */
.nn-syllabus-content > * {
    max-width: none;
}
/* =========================================================
   MCQ HUB
   ========================================================= */

.nn-mcq-hub-page {
    width: 100%;

    padding-top: 0;
    padding-bottom: 0;
}


.nn-mcq-hub-content {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;
}


.nn-mcq-hub-content > * {
    max-width: none;
}


/* =========================================================
   QUIZ PAGES
   ========================================================= */

.nn-quiz-page {
    width: 100%;

    padding-top: 24px;
}


.nn-quiz-content {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;
}


/*
 * Quiz shortcodes control their own internal
 * widths, cards, progress UI and result panels.
 */
.nn-quiz-content > * {
    max-width: none;
}


/* Embedded lesson quiz */
.nn-quiz-page--embed {
    min-height: 0;

    padding: 0;

    background: #FFFFFF;
}


.nn-quiz-page--embed .nn-quiz-content {
    padding: 0;
}


/* Mobile */
@media (max-width: 700px) {

    .nn-quiz-page {
        padding-top: 14px;
    }


    .nn-quiz-page--embed {
        padding-top: 0;
    }
}
/* =========================================================
   COURSES CATALOGUE PAGE
   ========================================================= */

.nn-courses-page {
    width: 100%;

    padding-top: 0;
    padding-bottom: 0;
}


.nn-courses-content {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    overflow: visible;
}


/*
 * Existing LMS course catalogue already controls
 * its own internal widths and cards.
 */
.nn-courses-content > * {
    max-width: none;
}
/* =========================================================
   LMS RESOURCE POSTS
   Lecture Notes / QBank / Numerical Solutions
   ========================================================= */

.nn-special-single__content {
    width: 100%;
}


/*
 * Standard resource-page content width.
 * Existing WPCode components inside the content
 * remain responsible for their own cards/tabs.
 */
body.single-post .nn-special-single__content {
    box-sizing: border-box;
}


/*
 * Resource pages should not inherit generic
 * article-card styling from the theme.
 */
body.single-post .nn-special-single {
    background: transparent;
    border: 0;
    box-shadow: none;
}


/*
 * Keep embedded media responsive.
 */
.nn-special-single__content iframe,
.nn-special-single__content video,
.nn-special-single__content img {
    max-width: 100%;
}
/* =========================================================
   BLOG PAGE
   ========================================================= */

.nn-blog-page {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

.nn-blog-content {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;
}

.nn-blog-content > * {
    max-width: none;
}
/* =========================================================
   SEARCH RESULTS PAGE
   ========================================================= */

.nn-search-page {
    width: 100%;

    padding-top: 32px;
    padding-bottom: 40px;
}


.nn-search-page__inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding-left: 20px;
    padding-right: 20px;

    box-sizing: border-box;
}


/*
 * Search snippet controls its own readable width.
 */
.nn-search-page .nn-search-wrap {
    width: 100%;
    max-width: 760px;

    margin-left: auto;
    margin-right: auto;
}


/* Fallback only */
.nn-search-fallback {
    max-width: 760px;

    margin: 0 auto;

    padding: 32px;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 18px;
}


@media (max-width: 700px) {

    .nn-search-page {
        padding-top: 20px;
    }


    .nn-search-page__inner {
        padding-left: 14px;
        padding-right: 14px;
    }

}
/* =========================================================
   PURCHASE / SUBSCRIPTION PAGE
   ========================================================= */

.nn-purchase-page {
    width: 100%;

    padding-top: 0;
    padding-bottom: 0;
}


.nn-purchase-content {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    overflow: visible;
}


/*
 * Existing purchase gateway controls
 * its own checkout width and cards.
 */
.nn-purchase-content > * {
    max-width: none;
}
/* =========================================================
   PURCHASE PAGE — FOOTER SAFEGUARD
   Prevent guest-checkout/legacy CSS from affecting footer.
   ========================================================= */

.nn-purchase-page + .nn-site-footer {
    width: 100% !important;

    margin-top: 64px !important;

    padding: 56px 0 24px !important;

    background: #2C3E50 !important;
    color: rgba(255, 255, 255, 0.86) !important;
}


/* Keep footer container at normal site width */
.nn-purchase-page + .nn-site-footer > .nn-container {
    width: min(
        calc(100% - 32px),
        1200px
    ) !important;

    max-width: 1200px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* Restore proper four-column footer */
.nn-purchase-page + .nn-site-footer .nn-footer-grid {
    display: grid !important;

    grid-template-columns:
        minmax(260px, 1.4fr)
        repeat(3, minmax(140px, 1fr)) !important;

    gap: 44px !important;

    align-items: start !important;

    width: 100% !important;
}


/* Brand area */
.nn-purchase-page + .nn-site-footer .nn-footer-brand {
    width: auto !important;
    max-width: 340px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Critical: stop logo becoming full-width */
.nn-purchase-page + .nn-site-footer .nn-footer-logo {
    display: inline-flex !important;

    width: auto !important;
    max-width: 230px !important;

    margin: 0 !important;
    padding: 0 !important;
}


.nn-purchase-page + .nn-site-footer .nn-footer-logo img,
.nn-purchase-page + .nn-site-footer .nn-footer-logo-image {
    display: block !important;

    width: auto !important;
    height: 46px !important;

    max-width: 230px !important;
    max-height: 46px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
}


/* Footer description */
.nn-purchase-page + .nn-site-footer .nn-footer-description {
    max-width: 320px !important;

    margin: 18px 0 0 !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.68) !important;

    font-size: 14px !important;
    line-height: 1.7 !important;
}


/* Footer columns */
.nn-purchase-page + .nn-site-footer .nn-footer-column {
    display: block !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


.nn-purchase-page + .nn-site-footer .nn-footer-column h3 {
    display: block !important;

    margin: 0 0 16px !important;
    padding: 0 !important;

    color: #FFFFFF !important;

    font-size: 14px !important;
    font-weight: 700 !important;
}


/* Remove bullets even if legacy CSS tries to restore them */
.nn-purchase-page + .nn-site-footer .nn-footer-column ul {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


.nn-purchase-page + .nn-site-footer .nn-footer-column li {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


.nn-purchase-page + .nn-site-footer .nn-footer-column li::before,
.nn-purchase-page + .nn-site-footer .nn-footer-column li::marker {
    content: none !important;
    display: none !important;
}


.nn-purchase-page + .nn-site-footer .nn-footer-column li + li {
    margin-top: 9px !important;
}


/* Links */
.nn-purchase-page + .nn-site-footer .nn-footer-column a {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.72) !important;

    font-size: 14px !important;
    line-height: 1.5 !important;

    text-decoration: none !important;
}


/* Footer bottom */
.nn-purchase-page + .nn-site-footer .nn-footer-bottom {
    display: block !important;

    margin-top: 44px !important;

    padding-top: 20px !important;

    border-top:
        1px solid rgba(255, 255, 255, 0.10) !important;
}


.nn-purchase-page + .nn-site-footer .nn-footer-bottom p {
    margin: 0 !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.55) !important;

    font-size: 13px !important;
    line-height: 1.6 !important;
}


/* Tablet */
@media (max-width: 900px) {

    .nn-purchase-page + .nn-site-footer .nn-footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 34px 40px !important;
    }

}


/* Mobile */
@media (max-width: 600px) {

    .nn-purchase-page + .nn-site-footer {
        margin-top: 48px !important;

        padding:
            42px 0
            22px !important;
    }


    .nn-purchase-page + .nn-site-footer > .nn-container {
        width: calc(100% - 24px) !important;
    }


    .nn-purchase-page + .nn-site-footer .nn-footer-grid {
        grid-template-columns: 1fr !important;

        gap: 30px !important;
    }


    .nn-purchase-page + .nn-site-footer .nn-footer-brand {
        max-width: none !important;
    }


    .nn-purchase-page + .nn-site-footer .nn-footer-logo img,
    .nn-purchase-page + .nn-site-footer .nn-footer-logo-image {
        width: auto !important;
        height: 42px !important;

        max-width: 210px !important;
        max-height: 42px !important;
    }


    .nn-purchase-page + .nn-site-footer .nn-footer-bottom {
        margin-top: 34px !important;

        padding-top: 18px !important;
    }

}
/* =========================================================
   LMS CONTENT — COURSE ABOUT / CHAPTER OVERVIEW
   Migrated from legacy WPCode snippet 13390
   ========================================================= */

.nn-course-about,
.nn-chapter-overview {
    margin-bottom: 25px;
    padding: 24px 26px;

    background: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 14px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.05);
}


.nn-course-about h2,
.nn-chapter-overview h2 {
    margin: 0 0 12px;

    font-size: 22px;
}


.nn-course-about__body,
.nn-chapter-overview__body {
    color: #333333;

    font-size: 16px;
    line-height: 1.7;
}


.nn-course-about__body p,
.nn-chapter-overview__body p {
    margin: 0 0 14px;
}


.nn-course-about--empty,
.nn-chapter-overview--empty {
    color: #aa0000;

    background: #fff5f5;

    border:
        1px dashed #e0a0a0;
}
/* =========================================================
   STUDENT DASHBOARD — CORE SHELL
   Migrated from legacy WPCode snippet 13390
   ========================================================= */

body.nn-app-dashboard {
    background: #f6f8fb !important;
}

body.nn-app-dashboard .nn-entry-content {
    background: #f6f8fb;
}


/* Main dashboard wrapper */
body.nn-app-dashboard .nn-d4-wrap {
    --d5-charcoal: #2C3E50;
    --d5-teal: #16A085;
    --d5-teal-dark: #117e6c;
    --d5-ink: #17212b;
    --d5-muted: #667085;
    --d5-line: #e6eaf0;
    --d5-soft: #f6f8fb;
    --d5-card: #ffffff;

    width: 100%;
    max-width: 1440px !important;

    margin: 0 auto !important;

    padding:
        20px
        20px
        40px !important;

    overflow: visible !important;

    color: var(--d5-ink);
}


/* Desktop dashboard grid */
body.nn-app-dashboard .nn-d4-shell {
    display: grid !important;

    grid-template-columns:
        224px
        minmax(0, 1fr) !important;

    gap: 24px !important;

    align-items: start !important;

    width: 100% !important;
    max-width: 100% !important;

    overflow: visible !important;

    background: transparent !important;

    border: 0 !important;
}


body.nn-app-dashboard
.nn-d4-shell > .nn-d4-content {
    width: 100% !important;
    min-width: 0 !important;

    justify-self: stretch !important;
}


/* Main panel */
body.nn-app-dashboard .nn-d4-content {
    width: auto !important;

    min-width: 0 !important;
    max-width: none !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;

    overflow-x: visible !important;
    overflow-y: visible !important;

    max-height: none !important;
}


body.nn-app-dashboard .nn-d4-panel.active {
    width: 100% !important;
    min-width: 0 !important;
}


/* Dashboard sidebar */
body.nn-app-dashboard .nn-d5-sidebar {
    position: sticky !important;

    top: 82px !important;

    height: calc(100vh - 102px) !important;

    min-height: 560px;

    overflow-y: auto !important;

    border:
        1px solid
        var(--d5-line) !important;

    border-radius: 14px !important;

    background: #ffffff !important;

    box-shadow:
        0 1px 2px
        rgba(15, 23, 42, 0.03) !important;

    padding:
        14px
        12px
        16px !important;
}


/* No redundant internal desktop topbar */
@media (min-width: 841px) {

    body.nn-app-dashboard .nn-d4-topbar {
        display: none !important;
    }
}


/* Tablet */
@media (max-width: 1100px) {

    body.nn-app-dashboard .nn-d4-wrap {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body.nn-app-dashboard .nn-d4-shell {
        grid-template-columns:
            190px
            minmax(0, 1fr) !important;

        gap: 16px !important;
    }
}



/* Avoid extra footer gap */
body.nn-app-dashboard .nn-site-footer {
    margin-top: 0 !important;
}
/* =========================================================
   STUDENT DASHBOARD — migrated from WPCode snippet 13390
   ========================================================= */

/* Expand dashboard wrap to use full width */
.nn-d4-wrap {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Hide the internal topbar on desktop only.
   Mobile still needs it for the drawer toggle. */
@media (min-width: 841px) {
  .nn-d4-topbar {
    display: none !important;
  }
}

@media (max-width: 840px) {
  body.nn-app-dashboard .nn-hdr,
  body.nn-app-dashboard .nn-mob-nav {
    display: none !important;
  }

  body.nn-app-dashboard {
    padding-top: 0 !important;
  }

  body.nn-app-dashboard .nn-d4-topbar {
    position: sticky;
    top: 0;
    z-index: 500;
  }
}

/* Dashboard shell */
.nn-d4-shell {
  border-radius: 0 !important;
  border-top: 1px solid var(--bd) !important;
}

/* Profile card accent */
.nn-d4-profile::before {
  height: 3px;
  background: linear-gradient(90deg, #16A085, #2C3E50) !important;
}

/* Stat values */
@media (min-width: 840px) {
  .nn-d4-stat-v {
    font-size: 26px !important;
  }
}

/* Sidebar */
.nn-d4-sidebar {
  width: 240px !important;
  min-width: 240px !important;
}

/* Main dashboard content */
.nn-d4-content {
  padding: 24px !important;
}

/* Bottom dashboard grid */
.nn-d4-bottom {
  border-radius: 0 0 var(--r) var(--r) !important;
}

/* Dashboard panel headings */
.nn-d4-panel-title {
  font-size: 22px !important;
}

/* Profile greeting */
.nn-d4-profile-greeting {
  font-size: 12px;
  font-weight: 600;
  color: var(--bl, #2C3E50);
  margin-bottom: 10px;
  letter-spacing: .01em;
}

/* Student Dashboard page — page ID 9862 */
body.postid-9862 .entry-content,
body.page-id-9862 .entry-content {
  max-width: 100% !important;
  padding: 20px !important;
}

body.postid-9862 .nn-d4-wrap,
body.page-id-9862 .nn-d4-wrap {
  max-width: 100% !important;
}

/* MCQ dashboard empty-state button */
.nn-mcq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: linear-gradient(135deg, #1d3557, #2563eb);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 14px;
  transition: opacity .18s ease, transform .18s ease;
  border: none;
  cursor: pointer;
}

.nn-mcq-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
  color: #fff !important;
}
/* =========================================================
   BLOG / UPDATE BANNERS
   Migrated from WPCode snippet 12751
   ========================================================= */

.nn-update-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-left: 4px solid #2C3E50;
    background: #f5f7ff;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.nn-upd-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
    white-space: nowrap;
}

.nn-upd-new {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    background: #e53935;
    color: #fff;
    animation: nn-upd-pulse 1.5s infinite;
}

@keyframes nn-upd-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.55;
    }
}

.nn-upd-title {
    flex: 1;
    font-size: 14px;
    color: #1a1a2e;
    min-width: 140px;
}

.nn-upd-title a {
    color: #2C3E50;
    text-decoration: none;
    font-weight: 600;
}

.nn-upd-title a:hover {
    text-decoration: underline;
}

.nn-upd-date {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    margin-left: auto;
}

.nn-upd-notes {
    border-left-color: #2C3E50;
    background: #f0f4ff;
}

.nn-upd-notes .nn-upd-badge {
    background: #2C3E50;
}

.nn-upd-video {
    border-left-color: #6d28d9;
    background: #f5f3ff;
}

.nn-upd-video .nn-upd-badge {
    background: #6d28d9;
}

.nn-upd-paper {
    border-left-color: #059669;
    background: #ecfdf5;
}

.nn-upd-paper .nn-upd-badge {
    background: #059669;
}

.nn-upd-numerical {
    border-left-color: #d97706;
    background: #fffbeb;
}

.nn-upd-numerical .nn-upd-badge {
    background: #d97706;
}

.nn-upd-announcement {
    border-left-color: #e53935;
    background: #fff5f5;
}

.nn-upd-announcement .nn-upd-badge {
    background: #e53935;
}

.nn-upd-mcq {
    border-left-color: #0891b2;
    background: #ecfeff;
}

.nn-upd-mcq .nn-upd-badge {
    background: #0891b2;
}
/* =========================================================
   MCQ LEADERBOARD
   Migrated from WPCode snippet 11432
   ========================================================= */

.nn-mcq-leaderboard {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 14px 50px;
}

.nn-mcq-leaderboard-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.nn-mcq-podium-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--nn-border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--nn-shadow);
  text-align: center;
}

.nn-mcq-podium-card.rank-1 {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbea 0%, #ffffff 100%);
}

.nn-mcq-podium-card.rank-2 {
  border-color: #dbe3ef;
}

.nn-mcq-podium-card.rank-3 {
  border-color: #f3d0b5;
  background: linear-gradient(180deg, #fff7f2 0%, #ffffff 100%);
}

.nn-mcq-podium-rank {
  font-size: 13px;
  font-weight: 800;
  color: var(--nn-muted);
  margin-bottom: 10px;
}

.nn-mcq-podium-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--nn-navy);
  line-height: 1.2;
  margin-bottom: 8px;
}

.nn-mcq-podium-points {
  font-size: 30px;
  font-weight: 800;
  color: var(--nn-blue);
  line-height: 1;
  margin-bottom: 10px;
}

.nn-mcq-podium-meta {
  font-size: 14px;
  color: var(--nn-muted);
}

.nn-mcq-leaderboard-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nn-mcq-community-note {
  margin: 18px 0;
  font-size: 13px;
  color: var(--nn-muted);
  text-align: center;
  clear: both;
}

.nn-mcq-community-note strong {
  color: var(--nn-navy);
}

.nn-mcq-your-rank {
  margin: 14px 0 22px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef4ff 0%, #f5f8ff 100%);
  border: 1px solid var(--nn-border);
  font-size: 14px;
  color: var(--nn-navy);
  text-align: center;
}

.nn-mcq-your-rank strong {
  color: var(--nn-blue);
}

.nn-mcq-your-rank-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--nn-muted);
}

.nn-mcq-leaderboard-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: var(--nn-blue);
  font-size: 16px;
  font-weight: 800;
  flex: 0 0 42px;
}

.nn-mcq-leaderboard-name {
  font-weight: 800;
  color: var(--nn-navy);
  line-height: 1.2;
}

.nn-mcq-leaderboard-username {
  font-size: 12px;
  color: var(--nn-muted);
  margin-top: 3px;
}

.nn-mcq-leaderboard-points {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--nn-blue);
  font-size: 12px;
  font-weight: 800;
}

.nn-mcq-leaderboard-table tr.is-current-user {
  background: #f5f8ff;
}

.nn-mcq-leaderboard-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--nn-muted);
}

@media (max-width: 900px) {
  .nn-mcq-leaderboard-podium {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   COURSES CATALOGUE
   Migrated from WPCode snippet 11404
   ========================================================= */
   /* =========================================
   NN EDUCATION — PREMIUM LMS COURSE CATALOGUE
========================================= */

.nn-courses-wrap,
.nn-courses-wrap * {
  box-sizing: border-box;
}


.nn-courses-wrap {

  --nn-charcoal: #2C3E50;
  --nn-charcoal-dark: #223440;

  --nn-teal: #16A085;
  --nn-teal-dark: #0F766E;

  --nn-text: #263947;
  --nn-muted: #6F7E87;

  --nn-soft: #F6F8F7;

  --nn-border: #DFE6E3;
  --nn-border-soft: #E9EEEC;

  --nn-white: #FFFFFF;


  width: 100%;
  max-width: 1240px;

  margin: 0 auto;

  padding: 28px 20px 48px;

  color: var(--nn-text);

  font-family: inherit;
}


.nn-courses-shell {
  width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.nn-courses-hero {

  position: relative;

  overflow: hidden;


  min-height: 190px;

  margin: 0 0 18px;

  padding: 34px 38px;


  display: flex;

  align-items: center;


  border:
    1px solid rgba(255,255,255,.08);

  border-radius: 20px;


  background:
    linear-gradient(
      120deg,

      #263947 0%,

      #2C3E50 70%,

      #254B49 100%
    );


  box-shadow:
    0 10px 28px
    rgba(31,45,61,.12);
}


.nn-courses-hero::before {

  content: "";

  position: absolute;

  top: 0;
  left: 0;
  bottom: 0;

  width: 4px;

  background: var(--nn-teal);
}


.nn-courses-hero-copy {

  position: relative;

  z-index: 1;

  max-width: 790px;
}


.nn-courses-kicker {

  display: block;

  margin: 0 0 10px;


  color: #8DE0CE;


  font-size: 10px;

  line-height: 1;

  font-weight: 800;


  letter-spacing: .10em;

  text-transform: uppercase;
}


.nn-courses-hero h1 {

  margin: 0 0 10px;


  color: #fff !important;


  font-size:
    clamp(
      31px,
      3.3vw,
      44px
    );


  line-height: 1.08;

  font-weight: 800;


  letter-spacing: -.035em;
}


.nn-courses-hero p {

  max-width: 680px;

  margin: 0;


  color:
    rgba(255,255,255,.73);


  font-size: 14px;

  line-height: 1.65;
}


/* Hero stats */

.nn-courses-hero-stats {

  display: flex;

  flex-wrap: wrap;

  align-items: center;


  gap: 8px 22px;


  margin-top: 22px;
}


.nn-courses-hero-stats span {

  position: relative;


  display: inline-flex;

  align-items: baseline;


  gap: 4px;


  color:
    rgba(255,255,255,.62);


  font-size: 11px;

  font-weight: 550;
}


.nn-courses-hero-stats span + span {

  padding-left: 18px;
}


.nn-courses-hero-stats span + span::before {

  content: "";


  position: absolute;

  left: 0;

  top: 50%;


  width: 3px;

  height: 3px;


  transform:
    translateY(-50%);


  border-radius: 50%;


  background:
    rgba(255,255,255,.35);
}


.nn-courses-hero-stats strong {

  color: #fff;


  font-size: 12px;

  font-weight: 800;
}


/* =========================================================
   PREMIUM PLAN STRIP
========================================================= */

.nn-courses-plan {

  display: flex;

  align-items: center;

  justify-content: space-between;


  gap: 24px;


  margin: 0 0 30px;

  padding: 16px 18px;


  border:
    1px solid
    var(--nn-border);


  border-radius: 14px;


  background: #fff;


  box-shadow:
    0 4px 15px
    rgba(31,45,61,.035);
}


.nn-courses-plan.is-active {

  border-color: #CDE3DD;

  background: #FBFDFC;
}


.nn-courses-plan-copy {

  min-width: 0;
}


.nn-courses-plan-kicker {

  display: block;


  margin-bottom: 4px;


  color: var(--nn-muted);


  font-size: 9px;

  line-height: 1;

  font-weight: 800;


  letter-spacing: .08em;

  text-transform: uppercase;
}


.nn-courses-plan-copy > strong {

  display: block;


  margin-bottom: 3px;


  color: var(--nn-text);


  font-size: 14px;

  line-height: 1.35;

  font-weight: 800;
}


.nn-courses-plan-copy p {

  max-width: 760px;


  margin: 0;


  color: var(--nn-muted);


  font-size: 11.5px;

  line-height: 1.55;
}


.nn-courses-plan-action,
.nn-courses-plan-status {

  flex: 0 0 auto;


  display: inline-flex;

  align-items: center;

  justify-content: center;


  min-height: 39px;


  padding: 9px 14px;


  border-radius: 9px;


  white-space: nowrap;


  font-size: 11px;

  font-weight: 800;
}


/* Purchase button */

.nn-courses-plan-action {

  border:
    1px solid
    var(--nn-charcoal);


  background:
    var(--nn-charcoal);


  color: #fff !important;


  text-decoration: none !important;


  box-shadow: none;
}


.nn-courses-plan-action:hover {

  border-color:
    var(--nn-charcoal-dark);


  background:
    var(--nn-charcoal-dark);


  color: #fff !important;
}


/* Active state */

.nn-courses-plan-status {

  border:
    1px solid
    #CEE6DF;


  background:
    #EEF8F5;


  color:
    var(--nn-teal-dark);
}


/* =========================================================
   CATALOG HEADER
========================================================= */

.nn-courses-catalog {

  width: 100%;
}


.nn-courses-section-head {

  display: flex;

  align-items: flex-end;

  justify-content: space-between;


  gap: 20px;


  margin: 0 0 18px;
}


.nn-courses-section-kicker {

  display: block;


  margin: 0 0 7px;


  color: var(--nn-teal);


  font-size: 9px;

  line-height: 1;

  font-weight: 800;


  letter-spacing: .09em;

  text-transform: uppercase;
}


.nn-courses-section-head h2 {

  margin: 0 0 5px;


  color: var(--nn-text);


  font-size:
    clamp(
      25px,
      2.5vw,
      34px
    );


  line-height: 1.12;


  font-weight: 820;


  letter-spacing: -.025em;
}


.nn-courses-section-head p {

  margin: 0;


  color: var(--nn-muted);


  font-size: 12.5px;

  line-height: 1.55;
}


.nn-courses-count {

  flex: 0 0 auto;


  padding-bottom: 4px;


  color: #86939A;


  font-size: 11px;

  font-weight: 700;
}


/* =========================================================
   COURSE GRID
========================================================= */

.nn-courses-grid {

  display: grid;


  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );


  gap: 18px;
}


.nn-course-catalog-card {

  display: flex;

  flex-direction: column;


  min-width: 0;


  overflow: hidden;


  border:
    1px solid
    var(--nn-border);


  border-radius: 17px;


  background: #fff;


  box-shadow:
    0 5px 18px
    rgba(31,45,61,.045);


  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}


.nn-course-catalog-card:hover {

  border-color: #C9D8D3;


  box-shadow:
    0 10px 26px
    rgba(31,45,61,.075);


  transform:
    translateY(-2px);
}


/* =========================================================
   COURSE COVER
========================================================= */

.nn-course-catalog-cover {

  position: relative;

  min-height: 160px;

  padding: 0;

  display: block;

  overflow: hidden;

  border-bottom: 1px solid var(--nn-border-soft);

  background:
    linear-gradient(
      125deg,
      #314758 0%,
      #2C3E50 70%,
      #2A5752 100%
    );

  color: #fff !important;

  text-decoration: none !important;
}

.nn-course-catalog-cover::before {

  content: "";

  position: absolute;

  top: 0;
  left: 0;
  bottom: 0;

  width: 4px;

  background: var(--nn-teal);

  z-index: 3;
}

.nn-course-catalog-cover-img {

  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.nn-course-catalog-cover-overlay {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(24,36,47,.02) 0%,
      rgba(24,36,47,.06) 100%
    );

  z-index: 1;

  pointer-events: none;
}

.nn-course-catalog-cover-inner {

  position: relative;

  z-index: 2;

  min-height: 160px;

  padding:
    18px
    18px
    16px
    22px;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;
}

.nn-course-cover-kicker {

  margin-bottom: 7px;

  color: #A6F0E2;

  font-size: 8.5px;

  line-height: 1;

  font-weight: 800;

  letter-spacing: .09em;

  text-transform: uppercase;
}

.nn-course-catalog-cover > strong,
.nn-course-catalog-cover-inner > strong {

  color: #fff;

  font-size: 22px;

  line-height: 1.12;

  font-weight: 800;

  letter-spacing: -.02em;
}

.nn-course-cover-meta {

  margin-top: 8px;

  color: rgba(255,255,255,.78);

  font-size: 10px;

  font-weight: 700;
}


/* =========================================================
   COURSE BODY
========================================================= */

.nn-course-catalog-body {

  display: flex;

  flex: 1;


  flex-direction: column;


  min-width: 0;


  padding: 18px;
}


.nn-course-catalog-meta {

  display: flex;

  flex-wrap: wrap;

  align-items: center;


  gap: 6px;


  margin-bottom: 11px;
}


.nn-course-status {

  display: inline-flex;

  align-items: center;

  justify-content: center;


  min-height: 24px;


  padding: 4px 8px;


  border:
    1px solid
    #E1E7E5;


  border-radius: 999px;


  background: #F5F7F7;


  color: #62717A;


  font-size: 8.5px;

  line-height: 1;

  font-weight: 800;
}


/* Free / included */

.nn-course-status.is-free,
.nn-course-status.is-included {

  border-color: #D1E8E1;


  background: #EEF8F5;


  color:
    var(--nn-teal-dark);
}


/* Premium */

.nn-course-status.is-premium {

  border-color: #ECE2C5;


  background: #FBF6E9;


  color: #7E6220;
}


/* In progress */

.nn-course-status.is-dev {

  border-color: #E5E8E7;


  background: #F6F7F7;


  color: #7A858B;
}


/* Title */

.nn-course-catalog-body h3 {

  margin: 0 0 8px;


  font-size: 19px;

  line-height: 1.25;

  font-weight: 800;


  letter-spacing: -.015em;
}


.nn-course-catalog-body h3 a {

  color:
    var(--nn-text)
    !important;


  text-decoration:
    none !important;
}


.nn-course-catalog-body h3 a:hover {

  color:
    var(--nn-teal-dark)
    !important;
}


/* Description */

.nn-course-catalog-body > p {

  display: -webkit-box;

  overflow: hidden;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 3;

  min-height: 68px;

  margin: 0 0 16px;

  color: #5F6F79;

  font-size: 12.8px;

  line-height: 1.72;
}


/* =========================================================
   COURSE INFO
========================================================= */

.nn-course-catalog-info {

  display: flex;

  flex-wrap: wrap;


  gap: 6px 15px;


  margin-top: auto;


  padding:
    12px
    0
    13px;


  border-top:
    1px solid
    var(--nn-border-soft);


  color: #7B888F;


  font-size: 10.5px;

  font-weight: 650;
}


/* =========================================================
   PROGRESS
========================================================= */

.nn-course-progress {

  margin-top: auto;


  padding:
    12px
    0
    14px;


  border-top:
    1px solid
    var(--nn-border-soft);
}


.nn-course-progress-head {

  display: flex;

  align-items: center;

  justify-content: space-between;


  gap: 12px;


  margin-bottom: 8px;
}


.nn-course-progress-head > span {

  color: #75838B;


  font-size: 9px;

  font-weight: 800;


  letter-spacing: .06em;

  text-transform: uppercase;
}


.nn-course-progress-head strong {

  color:
    var(--nn-text);


  font-size: 11px;

  font-weight: 800;
}


.nn-course-progress-head small {

  margin-left: 3px;


  color: #8C989E;


  font-size: 9px;

  font-weight: 650;
}


.nn-course-progress-track {

  height: 5px;


  overflow: hidden;


  border-radius: 999px;


  background: #E9EEEC;
}


.nn-course-progress-track > span {

  display: block;


  height: 100%;


  border-radius: inherit;


  background:
    var(--nn-teal);
}


/* =========================================================
   CARD FOOTER
========================================================= */

.nn-course-catalog-footer {

  display: flex;

  align-items: center;

  justify-content: space-between;


  gap: 12px;


  padding-top: 14px;


  border-top:
    1px solid
    var(--nn-border-soft);
}


.nn-course-catalog-action {

  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: var(--nn-teal-dark) !important;

  font-size: 12.5px;

  font-weight: 800;

  text-decoration: none !important;
}


.nn-course-catalog-action span {

  transition:
    transform .15s ease;
}


.nn-course-catalog-action:hover span {

  transform:
    translateX(2px);
}


.nn-course-price-note {

  color: #8A969C;


  font-size: 9.5px;

  font-weight: 650;


  text-align: right;
}


.nn-course-price-note.is-included {

  color:
    var(--nn-teal-dark);
}


/* =========================================================
   EMPTY
========================================================= */

.nn-courses-empty {

  padding: 30px 18px;


  border:
    1px dashed
    #D9E2DF;


  border-radius: 14px;


  background: #FBFCFC;


  text-align: center;
}


.nn-courses-empty strong {

  display: block;


  margin-bottom: 5px;


  color:
    var(--nn-text);


  font-size: 14px;
}


.nn-courses-empty p {

  margin: 0;


  color:
    var(--nn-muted);


  font-size: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

  .nn-courses-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

  .nn-courses-wrap {

    padding:
      18px
      14px
      34px;
  }


  .nn-courses-hero {

    min-height: 0;


    margin-bottom: 14px;


    padding:
      25px
      20px
      24px
      23px;


    border-radius: 17px;
  }


  .nn-courses-hero h1 {

    font-size: 30px;
  }


  .nn-courses-hero p {

    font-size: 12.5px;

    line-height: 1.6;
  }


  .nn-courses-hero-stats {

    gap: 8px 12px;


    margin-top: 18px;
  }


  .nn-courses-hero-stats span {

    font-size: 10px;
  }


  .nn-courses-hero-stats span + span {

    padding-left: 12px;
  }


  /* Plan */

  .nn-courses-plan {

    align-items: stretch;


    flex-direction: column;


    gap: 12px;


    margin-bottom: 26px;


    padding: 15px;
  }


  .nn-courses-plan-action,
  .nn-courses-plan-status {

    width: 100%;
  }


  /* Catalogue */

  .nn-courses-section-head {

    align-items: flex-start;


    margin-bottom: 15px;
  }


  .nn-courses-section-head h2 {

    font-size: 25px;
  }


  .nn-courses-section-head p {

    font-size: 11.5px;
  }


  .nn-courses-count {

    padding-top: 3px;
  }


  /* Cards */

  .nn-courses-grid {

    grid-template-columns: 1fr;


    gap: 14px;
  }


  .nn-course-catalog-cover {
  min-height: 128px;
}

.nn-course-catalog-cover-inner {

  min-height: 128px;

  padding:
    16px
    16px
    14px
    18px;
}


  .nn-course-catalog-cover > strong {

    font-size: 20px;
  }


  .nn-course-catalog-body {

    padding: 16px;
  }


  .nn-course-catalog-body h3 {

    font-size: 18px;
  }


  .nn-course-catalog-body > p {

    min-height: 0;


    -webkit-line-clamp: 2;


    font-size: 11.5px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

  .nn-courses-hero-stats {

    align-items: flex-start;


    flex-direction: column;


    gap: 7px;
  }


  .nn-courses-hero-stats span + span {

    padding-left: 0;
  }


  .nn-courses-hero-stats
  span + span::before {

    display: none;
  }


  .nn-courses-section-head {

    flex-direction: column;


    gap: 5px;
  }


  .nn-course-catalog-footer {

    align-items: flex-start;


    flex-direction: column;


    gap: 7px;
  }


  .nn-course-price-note {

    text-align: left;
  }

}
/* =========================================================
   COURSE PREMIUM ADDITIONS
   Migrated from WPCode snippet 19205
   ========================================================= */

.nn-course-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}

.nn-course-hero-stats strong {
  color: #fff;
  font-weight: 800;
}

.nn-course-testimonials {
  margin-top: 34px;
}

.nn-course-testimonials h2 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 800;
  color: #1F2D3D;
}

.nn-course-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.nn-course-testimonial-card {
  background: #ffffff;
  border: 1px solid #E7E2D6;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(31,45,61,.05);
}

.nn-course-testimonial-card__quote {
  font-size: 14.5px;
  line-height: 1.6;
  color: #2C3E50;
  margin: 0 0 14px;
}

.nn-course-testimonial-card__name {
  font-weight: 800;
  font-size: 14px;
  color: #1F2D3D;
}

.nn-course-testimonial-card__meta {
  font-size: 12.5px;
  color: #6B7686;
}

@media (max-width: 700px) {
  .nn-course-testimonials__grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   EMBEDDED MCQ LAYOUT
   Migrated from WPCode snippet 19206
   ========================================================= */

/* The MCQ quiz's own two-column layout was built for
   the full-width standalone quiz page. Inside a chapter
   tab we keep it stacked so it fits the narrower panel. */

#nn-tab-mcq .nnq-two-col {
  flex-direction: column;
}

#nn-tab-mcq .nnq-col-question {
  flex: none;
  width: 100%;
  order: 2;
}

#nn-tab-mcq .nnq-col-side {
  flex: none;
  width: 100%;
  box-sizing: border-box;
  position: static;
  text-align: left;
  order: 1;
  margin-bottom: 16px;
}

#nn-tab-mcq .nnq-col-side .nnq-dots {
  grid-template-columns: repeat(10, 1fr);
  justify-content: flex-start;
}

#nn-tab-mcq .nnq-wrap {
  padding: 0;
}
/* =========================================================
   MATHJAX INLINE ALIGNMENT
   Migrated from WPCode snippet 20222
   ========================================================= */

/* Inline MathJax */
mjx-container[jax="CHTML"]:not([display="true"]) {
    margin-left: 0.06em !important;
    margin-right: 0.06em !important;
    position: relative;
    top: -0.015em;
}

/*
 * Let MathJax control its own internal layout.
 * Do not force display or line-height on mjx-math.
 */
mjx-container[jax="CHTML"] mjx-math {
}

/* Display / block equations */
mjx-container[jax="CHTML"][display="true"] {
    display: block !important;
    text-align: center !important;
    margin: 0.8em 0 !important;
}

/* Match surrounding text size */
p mjx-container[jax="CHTML"],
li mjx-container[jax="CHTML"],
td mjx-container[jax="CHTML"],
span mjx-container[jax="CHTML"] {
    font-size: 1em !important;
}
/* =========================================================
   PREVIOUS / NEXT POST NAVIGATION
   Migrated from WPCode snippet 19703
   ========================================================= */

.post-navigation,
.ast-single-post-navigation {
    border-top: 1px solid #e4ebf7 !important;
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.post-navigation .nav-links,
.ast-single-post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a,
.ast-single-post-navigation .nav-previous a,
.ast-single-post-navigation .nav-next a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid #dde6f8;
    border-radius: 12px;
    padding: 12px 20px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #2C3E50;
    text-decoration: none;
    transition: all 0.15s ease;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover,
.ast-single-post-navigation .nav-previous a:hover,
.ast-single-post-navigation .nav-next a:hover {
    border-color: #16A085;
    color: #16A085;
    box-shadow: 0 4px 14px rgba(22,160,133,0.15);
    transform: translateY(-1px);
}

.post-navigation .nav-next a,
.ast-single-post-navigation .nav-next a {
    margin-left: auto;
}
/* =========================================================
   STUDENT DASHBOARD — MOBILE SHELL FIX
   Custom theme override
   ========================================================= */

@media (max-width: 840px) {

    body.nn-app-dashboard .nn-d4-wrap {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 12px 12px 28px !important;
        overflow: visible !important;
    }

    body.nn-app-dashboard .nn-d4-shell {
        display: block !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    /*
     * The dashboard sidebar is a drawer on mobile.
     * Keep it completely outside normal document flow.
     */
    body.nn-app-dashboard .nn-d4-sidebar,
    body.nn-app-dashboard .nn-d5-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;

        width: min(300px, 88vw) !important;
        min-width: 0 !important;
        max-width: 300px !important;

        height: 100dvh !important;
        max-height: 100dvh !important;

        margin: 0 !important;

        transform: translateX(-105%);
        z-index: 99999 !important;
    }

    body.nn-app-dashboard .nn-d4-shell.nn-d4-sidebar-open .nn-d4-sidebar,
    body.nn-app-dashboard .nn-d4-shell.nn-d4-sidebar-open .nn-d5-sidebar,
    body.nn-app-dashboard .nn-d4-shell.sidebar-open .nn-d4-sidebar,
    body.nn-app-dashboard .nn-d4-shell.sidebar-open .nn-d5-sidebar,
    body.nn-app-dashboard .nn-d4-sidebar.open,
    body.nn-app-dashboard .nn-d5-sidebar.open,
    body.nn-app-dashboard .nn-d4-sidebar.is-open,
    body.nn-app-dashboard .nn-d5-sidebar.is-open {
        transform: translateX(0);
    }

    /*
     * Main dashboard content must occupy the entire mobile viewport.
     */
    body.nn-app-dashboard .nn-d4-shell > .nn-d4-content,
    body.nn-app-dashboard .nn-d4-content {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 12px !important;

        overflow-x: hidden !important;
        overflow-y: visible !important;
        max-height: none !important;
    }

    body.nn-app-dashboard .nn-d4-panel,
    body.nn-app-dashboard .nn-d4-panel.active {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

@media (max-width: 540px) {

    body.nn-app-dashboard .nn-d4-wrap {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    body.nn-app-dashboard .nn-d4-content {
        padding: 8px !important;
    }
}
/* =========================================================
   STUDENT DASHBOARD — MOBILE DRAWER TOOLBAR
   Keep dashboard navigation accessible below custom header
   ========================================================= */

@media (max-width: 840px) {

    /*
     * Old WPCode mobile CSS makes this toolbar fixed.
     * With the custom theme header that places it underneath
     * the website header. Return it to normal document flow.
     */
    body.nn-app-dashboard .nn-d4-topbar {
        display: flex !important;
        position: relative !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        width: 100% !important;
        max-width: none !important;

        margin: 0 0 12px !important;
        padding: 10px 12px !important;

        border-radius: 10px !important;

        z-index: 20 !important;
    }

    /*
     * The topbar is no longer fixed, so the old reserved
     * top spacing from snippet 19537 is no longer required.
     */
    body.nn-app-dashboard .nn-d4-wrap {
        padding-top: 12px !important;
    }

    /*
     * Make sure the actual dashboard drawer button is visible.
     */
    body.nn-app-dashboard .nn-d4-menu-toggle {
        display: flex !important;
    }
}
/* =========================================================
   COURSE PURCHASE SUMMARY
   Migrated from WPCode snippet 18547
   ========================================================= */

.nn-course-purchase-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 28px;
  padding: 24px;
  border: 1px solid #dbe7f4;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5fbff 0%, #ffffff 100%);
  box-shadow: 0 8px 24px rgba(18,39,90,.06);
}

.nn-course-purchase-summary__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #167c72;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nn-course-purchase-summary h2 {
  margin: 0 0 7px;
  color: #243447;
  font-size: 22px;
}

.nn-course-purchase-summary p {
  margin: 0 0 12px;
  color: #64748b;
  line-height: 1.6;
}

.nn-course-purchase-summary__copy {
  flex: 1 1 auto;
  max-width: 640px;
}

.nn-course-purchase-summary__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #475569;
  font-size: 13px;
}

.nn-course-purchase-summary__facts span + span {
  padding-left: 14px;
  border-left: 1px solid #cbd5e1;
}

.nn-course-purchase-summary__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #167c72;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
}

.nn-course-purchase-summary__button:hover {
  background: #11665e;
}

@media (max-width: 700px) {
  .nn-course-purchase-summary {
    display: block;
  }

  .nn-course-purchase-summary__list {
    grid-template-columns: 1fr;
  }

  .nn-course-purchase-summary__button {
    width: 100%;
    margin-top: 18px;
  }

  .nn-course-purchase-summary__facts span + span {
    padding-left: 0;
    border-left: 0;
  }
}

.nn-course-purchase-summary__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 10px;
}

.nn-course-purchase-summary__price-old {
  font-size: 15px;
  color: #94a3b8;
  text-decoration: line-through;
}

.nn-course-purchase-summary__price-now {
  font-size: 30px;
  font-weight: 800;
  color: #12275A;
}

.nn-course-purchase-summary__price-note {
  font-size: 13px;
  color: #64748b;
}

.nn-course-purchase-summary__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0 0 10px;
  font-size: 13px;
  color: #167c72;
  font-weight: 700;
}

.nn-course-purchase-summary__checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  font-weight: 700;
  color: #16A085;
}

.nn-course-purchase-summary__checklist li {
  margin: 0;
}

@media (max-width: 700px) {
  .nn-course-purchase-summary__checklist {
    flex-direction: column;
    gap: 6px;
  }
}

.nn-course-purchase-summary--active {
  background: linear-gradient(135deg, #effaf7 0%, #ffffff 100%);
  border-color: #b8e3d8;
}

.nn-course-purchase-summary__button--active {
  background: #e8f7f3 !important;
  color: #0e7a66 !important;
  border: 1px solid #b8e3d8;
  box-shadow: none;
  cursor: default;
}

.nn-course-purchase-summary__button--active:hover {
  background: #e8f7f3 !important;
  transform: none;
}

.nn-course-mini-price--included {
  color: #0f766e !important;
  background: #eaf7f4;
  border: 1px solid #b8e3d8;
  padding: 5px 9px;
  border-radius: 999px;
  font-weight: 800;
}

/* ==========================================
   COURSE PREMIUM STATUS — COMPACT
   ========================================== */

.nn-course-premium-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 13px 16px;
  border: 1px solid #cfe7e0;
  border-radius: 12px;
  background: #f6fbf9;
  box-shadow: none;
}

.nn-course-premium-strip__icon {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #e4f5f0;
  color: #0f7d68;
  font-size: 13px;
  font-weight: 900;
}

.nn-course-premium-strip__copy {
  min-width: 0;
}

.nn-course-premium-strip__copy strong {
  display: block;
  margin: 0 0 2px;
  color: #263947;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
}

.nn-course-premium-strip__copy span {
  display: block;
  color: #6d7d87;
  font-size: 11.5px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .nn-course-premium-strip {
    gap: 10px;
    padding: 12px 13px;
    margin-bottom: 18px;
  }

  .nn-course-premium-strip__icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }

  .nn-course-premium-strip__copy strong {
    font-size: 12.5px;
  }

  .nn-course-premium-strip__copy span {
    font-size: 11px;
  }
}
/* =========================================================
   LESSON PREMIUM RESOURCE CARDS
   Migrated from WPCode snippet 13454
   ========================================================= */

.single-lesson .nn-premium-resources{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin:24px 0 0;
  padding:28px;
  border:1px solid #E7E2D6;
  border-radius:28px;
  background:linear-gradient(180deg,#ffffff 0%,#FCFBF7 100%);
  box-shadow:0 16px 40px rgba(31,45,61,0.05);
}

.single-lesson .nn-premium-resources__top{
  margin-bottom:24px;
  padding-bottom:0;
  border-bottom:none;
}

.single-lesson .nn-premium-resources__chapter{
  margin:0 0 14px 0;
  font-size:20px;
  line-height:1.35;
  font-weight:700;
  color:#5B6675;
  letter-spacing:-0.01em;
}

.single-lesson .nn-premium-resources__eyebrow{
  display:inline-block;
  margin:0 0 14px 0;
  padding:8px 14px;
  border-radius:999px;
  background:linear-gradient(135deg,#E3F5EF,#D3EEE5);
  color:#0E7C63;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.single-lesson .nn-premium-resources__title{
  margin:0 0 6px 0;
  font-size:24px;
  line-height:1.25;
  font-weight:800;
  color:#1F2D3D !important;
  position:relative;
  padding-left:14px;
  letter-spacing:-0.01em;
}

.single-lesson .nn-premium-resources__title:before{
  content:"";
  position:absolute;
  left:0;
  top:3px;
  width:3px;
  height:20px;
  border-radius:10px;
  background:linear-gradient(180deg,#16A085,#5fd0b8);
}

.single-lesson .nn-premium-resources__subtitle{
  margin:0;
  font-size:14px;
  line-height:1.5;
  color:#6B7686;
  max-width:760px;
}

.single-lesson .nn-premium-resources__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-top:24px;
}

.single-lesson .nn-premium-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:205px;
  padding:18px;
  border-radius:22px;
  background:#fff;
  border:1px solid #E7E2D6;
  box-shadow:0 8px 20px rgba(31,45,61,0.04);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.single-lesson .nn-premium-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 30px rgba(31,45,61,0.08);
}

.single-lesson .nn-premium-card.is-featured{
  background:linear-gradient(180deg,#F4FAF8 0%,#ffffff 100%);
  border-color:#BFE4D8;
}

.single-lesson .nn-premium-card.is-disabled{
  opacity:.78;
}

.single-lesson .nn-premium-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:16px;
}

.single-lesson .nn-premium-card__badge{
  display:inline-flex;
  align-self:flex-start;
  padding:7px 10px;
  border-radius:999px;
  background:#F4F2EC;
  color:#8A93A0;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.single-lesson .nn-premium-card__icon{
  width:50px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  border-radius:15px;
  background:linear-gradient(180deg,#F4FAF8 0%,#E3F5EF 100%);
  border:1px solid #D3EEE5;
  flex:0 0 50px;
}

.single-lesson .nn-premium-card__content{
  flex:1;
}

.single-lesson .nn-premium-card__title{
  margin:0 0 8px 0;
  font-size:20px;
  line-height:1.22;
  font-weight:900;
  color:#1F2D3D !important;
}

.single-lesson .nn-premium-card__desc{
  margin:0;
  font-size:14px;
  line-height:1.65;
  color:#5B6475;
}

.single-lesson .nn-premium-card__mini-badge{
  display:inline-block;
  margin-top:12px;
  padding:7px 10px;
  border-radius:999px;
  background:#F4E4BC;
  color:#7A5A00;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.single-lesson .nn-premium-card__mini-badge.is-free{
  background:#E3F5EF;
  color:#0E7C63;
}

.single-lesson .nn-premium-card__footer{
  margin-top:16px;
}

.single-lesson .nn-premium-card__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  width:100%;
  padding:11px 16px;
  border-radius:14px;
  background:linear-gradient(135deg,#16A085,#0E7C63);
  color:#fff !important;
  text-decoration:none !important;
  font-size:14px;
  font-weight:800;
  border:none;
  box-shadow:0 10px 22px rgba(22,160,133,0.20);
}

.single-lesson .nn-premium-card__btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 26px rgba(22,160,133,0.28);
}

.single-lesson .nn-premium-card__coming{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:44px;
  padding:11px 14px;
  border-radius:14px;
  background:#FAF9F5;
  border:1px dashed #D9D2C0;
  color:#6b7280;
  font-size:13px;
  font-weight:700;
  box-sizing:border-box;
}

.single-lesson .nn-premium-card--top{
  min-height:205px;
}

.single-lesson .nn-premium-card--bottom{
  min-height:190px;
}

.single-lesson .nn-premium-card:nth-child(1) .nn-premium-card__icon,
.single-lesson .nn-premium-card:nth-child(2) .nn-premium-card__icon,
.single-lesson .nn-premium-card:nth-child(3) .nn-premium-card__icon,
.single-lesson .nn-premium-card:nth-child(4) .nn-premium-card__icon,
.single-lesson .nn-premium-card:nth-child(5) .nn-premium-card__icon{
  background:linear-gradient(135deg,#E3F5EF,#D3EEE5);
  border-color:#A9E2D3;
  color:#16A085;
}

@media (max-width: 1180px){
  .single-lesson .nn-premium-resources__grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width: 900px){
  .single-lesson .nn-premium-resources{
    padding:22px 18px;
  }

  .single-lesson .nn-premium-resources__chapter{
    font-size:18px;
    margin-bottom:12px;
  }

  .single-lesson .nn-premium-resources__title{
    font-size:36px;
  }

  .single-lesson .nn-premium-resources__title:before{
    height:32px;
  }

  .single-lesson .nn-premium-resources__subtitle{
    font-size:16px;
  }

  .single-lesson .nn-premium-resources__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 767px){
  .single-lesson .nn-premium-resources{
    padding:18px 14px;
    border-radius:20px;
  }

  .single-lesson .nn-premium-resources__chapter{
    font-size:17px;
    line-height:1.35;
    margin-bottom:10px;
  }

  .single-lesson .nn-premium-resources__eyebrow{
    margin-bottom:12px;
  }

  .single-lesson .nn-premium-resources__title{
    font-size:28px;
    padding-left:14px;
  }

  .single-lesson .nn-premium-resources__title:before{
    height:26px;
    top:3px;
  }

  .single-lesson .nn-premium-resources__subtitle{
    font-size:15px;
  }

  .single-lesson .nn-premium-resources__grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .single-lesson .nn-premium-card{
    min-height:auto;
    padding:16px;
  }

  .single-lesson .nn-premium-card__head{
    margin-bottom:14px;
  }

  .single-lesson .nn-premium-card__title{
    font-size:19px;
  }

  .single-lesson .nn-premium-card__desc{
    font-size:14px;
  }
}
/* =========================================================
   COURSE PAGE TABS — OVERVIEW / CHAPTERS
   Migrated from WPCode snippet 13454
   ========================================================= */

.nn-tab-nav{
  display:flex;
  gap:8px;
  margin:0 0 22px;
  padding:18px 24px 0;
  border-bottom:1px solid #E7E2D6;
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
}

.nn-tab-btn{
  appearance:none;
  cursor:pointer;
  font-family:inherit;
  font-size:15px;
  font-weight:700;
  padding:10px 20px;
  border-radius:999px;
  border:1.5px solid #E2E6EA;
  background:#F5F6F8;
  color:#5B6675;
  margin-bottom:2px;
  transition:all .15s ease;
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
  flex:0 0 auto;
}

.nn-tab-btn:hover{
  border-color:#16A085;
  color:#0E7C63;
}

.nn-tab-btn.is-active{
  background:#16A085;
  border-color:#16A085;
  color:#fff !important;
  box-shadow:0 4px 12px rgba(22,160,133,.30);
}

.nn-tab-btn--chapters{
  margin-left:4px;
}

.nn-tab-panel{
  display:none;
}

.nn-tab-panel.is-active{
  display:block;
}

@media (max-width:640px){
  .nn-tab-nav{
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .nn-tab-nav::-webkit-scrollbar{
    display:none;
  }

  .nn-tab-btn{
    padding:10px 14px;
    font-size:14px;
  }
}


/* ==================================================
   SINGLE COURSE — CLEAN OVERVIEW / CHAPTERS TABS
   Does NOT affect lesson resource tabs
   ================================================== */

.single-course .nn-course-tabs > .nn-tab-nav {
  display:flex !important;
  grid-template-columns:none !important;
  gap:22px !important;
  padding:0 18px !important;
  box-sizing:border-box !important;
  overflow:visible !important;
  position:static !important;
  background:transparent !important;
}

.single-course .nn-course-tabs > .nn-tab-nav > .nn-tab-btn {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:auto;
  min-height:40px;
  margin:0;
  padding:0 1px 11px;
  border:0;
  border-radius:0;
  background:transparent !important;
  box-shadow:none !important;
  color:#7A8790 !important;
  font-size:12.5px;
  line-height:1;
  font-weight:700;
  white-space:nowrap;
  transition:color .15s ease;
}

.single-course .nn-course-tabs > .nn-tab-nav > .nn-tab-btn::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:2px;
  border-radius:999px;
  background:transparent;
  transition:background .15s ease;
}

.single-course .nn-course-tabs > .nn-tab-nav > .nn-tab-btn:hover {
  color:#2C3E50 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.single-course .nn-course-tabs > .nn-tab-nav > .nn-tab-btn.is-active {
  color:#163D36 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.single-course .nn-course-tabs > .nn-tab-nav > .nn-tab-btn.is-active::after {
  background:#16A085;
}

.single-course .nn-course-tabs > .nn-tab-nav > .nn-tab-btn--chapters {
  margin-left:0;
}

@media (max-width:900px){

  .single-course .nn-course-tabs > .nn-tab-nav {
    display:flex !important;
    grid-template-columns:none !important;
    gap:20px !important;
    padding:0 !important;
    overflow:visible !important;
    position:static !important;
    background:transparent !important;
  }

  .single-course .nn-course-tabs > .nn-tab-nav > .nn-tab-btn {
    display:inline-flex !important;
    flex:0 0 auto !important;
    width:auto !important;
    min-height:38px !important;
    padding:0 1px 10px !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    font-size:12px !important;
    white-space:nowrap !important;
  }

  .single-course .nn-course-tabs > .nn-tab-nav > .nn-tab-btn.is-active {
    color:#163D36 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }
}
/* =========================================================
   COURSE ENROLL BUTTON
   Migrated from WPCode snippet 13454
   ========================================================= */

.nn-enroll-btn{
  position:relative;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:0;
  padding:13px 26px;
  border-radius:12px;
  background:#16A085;
  color:#fff !important;
  font-weight:800;
  font-size:14px;
  text-decoration:none !important;
  box-shadow:0 10px 24px rgba(22,160,133,.30);
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  cursor:pointer;
}

.nn-enroll-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(22,160,133,.4);
  opacity:.95;
}

@media (max-width:640px){
  .nn-enroll-btn{
    width:100%;
    margin-top:16px;
  }
}
/* =========================================================
   COURSE STRUCTURE UNIT CARDS
   Migrated from WPCode snippet 13454
   ========================================================= */

.nn-cc-unit{
  position:relative;
  background:linear-gradient(180deg,#ffffff 0%,#FCFBF7 100%);
  border:1px solid #D9D2C0;
  border-radius:16px;
  padding:20px 22px 20px 26px;
  box-shadow:0 6px 18px rgba(31,45,61,.06);
  transition:transform .15s ease, box-shadow .15s ease;
}

.nn-cc-unit::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  border-radius:16px 0 0 16px;
  background:linear-gradient(180deg,#2C3E50 0%,#16A085 100%);
}

.nn-cc-unit:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(31,45,61,.10);
}
/* =========================================================
   COURSE TAB LOADING STATE
   Migrated from WPCode snippet 13454
   ========================================================= */

.nn-tab-panel.nn-tab-loading {
  position: relative;
  min-height: 120px;
}

.nn-tab-panel.nn-tab-loading .nn-chapter-overview__body {
  opacity: .25;
  filter: blur(1px);
  transition: opacity .2s ease;
}

.nn-tab-panel.nn-tab-loading::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  margin-left: -11px;
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(22,160,133,.25);
  border-top-color: #16A085;
  border-radius: 50%;
  animation: nn-tab-spin .7s linear infinite;
}

@keyframes nn-tab-spin {
  to {
    transform: rotate(360deg);
  }
}
/* =========================================================
   SINGLE COURSE — CLEAN CHAPTER CARDS
   Migrated from WPCode snippet 13454
   ========================================================= */

.single-course .nn-course-chapters {
  gap: 16px;
  margin-top: 18px;
}

.single-course .nn-chapter-card {
  min-height: 0;
  padding: 18px 18px 16px 21px;
  border: 1px solid #E4E9E6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(31,45,61,.045);
  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    transform .16s ease;
}

.single-course .nn-chapter-card:hover {
  transform: translateY(-2px);
  border-color: #C8D8D3;
  box-shadow: 0 8px 20px rgba(31,45,61,.07);
}

.single-course .nn-chapter-card::before {
  width: 3px;
  background: #16A085;
}

.single-course .nn-chapter-card.is-complete::before {
  background: #2C3E50;
}

.single-course .nn-chapter-card.is-locked::before {
  background: #C79A32;
}

.single-course .nn-chapter-card__head {
  gap: 8px;
  margin-bottom: 13px;
}

.single-course .nn-chapter-card__number {
  min-width: auto;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  background: #E8F5F1 !important;
  background-image: none !important;
  color: #0F766E !important;
  font-size: 10px;
  font-weight: 800;
  box-shadow: none !important;
}

.single-course .nn-chapter-card.is-complete
.nn-chapter-card__number {
  background: #EEF1F3 !important;
  background-image: none !important;
  color: #2C3E50 !important;
}

.single-course .nn-chapter-card.is-locked
.nn-chapter-card__number {
  background: #FBF3DE !important;
  background-image: none !important;
  color: #876515 !important;
}

.single-course .nn-chapter-card__eyebrow {
  color: #8A969E;
  font-size: 10.5px;
  font-weight: 600;
}

.single-course .nn-free-badge,
.single-course .nn-premium,
.single-course .nn-done-badge {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  box-shadow: none;
}

.single-course .nn-free-badge {
  background: #EAF7F3;
  color: #0F766E;
}

.single-course .nn-done-badge {
  background: #EEF3F7;
  color: #45616F;
}

.single-course .nn-premium {
  background: #FBF3DE;
  color: #876515;
}

.single-course .nn-premium::before {
  display: none;
}

.single-course .nn-chapter-card__link,
.single-course .nn-chapter-card__link:hover,
.single-course .nn-chapter-card__link:focus,
.single-course .nn-chapter-card__link:active {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 750;
  color: #263947 !important;
}

.single-course .nn-chapter-card__syllabus-label {
  display: none;
}

.single-course .nn-chapter-card__syllabus-wrap {
  margin-top: 8px;
}

.single-course .nn-chapter-card__topics {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0;
  color: #687782;
  font-size: 12px;
  line-height: 1.55;
}

.single-course .nn-chapter-card__meta {
  margin-top: 6px;
  color: #7B878F;
  font-size: 11.5px;
  line-height: 1.45;
}

.single-course .nn-chapter-card__cta,
.single-course .nn-chapter-card__cta:hover,
.single-course .nn-chapter-card__cta:focus,
.single-course .nn-chapter-card.is-complete .nn-chapter-card__cta,
.single-course .nn-chapter-card.is-complete .nn-chapter-card__cta:hover,
.single-course .nn-chapter-card.is-locked .nn-chapter-card__cta,
.single-course .nn-chapter-card.is-locked .nn-chapter-card__cta:hover {
  align-self: flex-start;
  width: auto;
  margin-top: 15px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #0F766E !important;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 750;
  text-transform: none;
  letter-spacing: 0;
  transition: color .15s ease;
}

.single-course .nn-chapter-card__cta:hover {
  color: #095F57 !important;
}

.single-course .nn-chapter-card.is-locked
.nn-chapter-card__cta {
  color: #876515 !important;
}

.single-course .nn-chapter-card__resources-label {
  display: none;
}

.single-course .nn-chapter-card__resources {
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #EDF0EE;
}

.single-course .nn-res-dot__icon {
  display: none;
}

.single-course .nn-res-dot {
  padding: 5px 8px;
  border: 1px solid #E4E8E6;
  border-radius: 7px;
  background: #F8FAF9 !important;
  color: #5E6B73 !important;
  font-size: 10.5px;
  font-weight: 650;
  box-shadow: none !important;
}

.single-course a.nn-res-dot.nn-res-dot--on:hover {
  transform: none;
  border-color: #C8D8D3;
  background: #F3F8F6 !important;
  box-shadow: none !important;
}
/* =========================================================
   SINGLE COURSE HERO — FULL WIDTH FIX
   Keeps migrated LMS CSS from shrinking the hero on desktop
   ========================================================= */

.single-course .nn-course-hero {
  display: block !important;
  width: 100% !important;
  grid-template-columns: none !important;
}

.single-course .nn-course-hero-main {
  width: 100% !important;
  max-width: none !important;
}

/* Reduce excess vertical space in the course hero card and its panel. */
.nn-course-hero--compact {
  height: auto !important;
  min-height: 0 !important;
  padding-block: 0 !important;
}

.nn-course-hero--compact > .nn-course-hero-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 0 !important;
  padding-block: 14px !important;
  align-items: center !important;
  row-gap: 0 !important;
}

.nn-course-hero--compact .nn-course-kicker {
  display: none !important;
}

.nn-course-hero--compact > .nn-course-hero-main .nn-course-hero-title {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: auto !important;
  text-align: left !important;
  justify-self: start !important;
  align-self: center !important;
}

.nn-course-hero--compact > .nn-course-hero-main .nn-course-hero-meta {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

@media (max-width: 760px) {
  .nn-course-hero--compact > .nn-course-hero-main {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .nn-course-hero--compact > .nn-course-hero-main .nn-course-hero-title {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .nn-course-hero--compact > .nn-course-hero-main .nn-course-hero-meta {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
}

/* =========================================================
   PREMIUM COURSES CATALOGUE — LIVE 11404 SYNC
   Grade/facts layout + full-width course action
========================================================= */


/* =========================================================
   COURSE IDENTITY + FACTS
========================================================= */

.nn-course-grade {
  display: inline-flex;
  align-items: center;

  min-height: 24px;

  padding: 4px 8px;

  border: 1px solid #E3E8E6;
  border-radius: 999px;

  background: #FAFBFB;

  color: #718087;

  font-size: 8.5px;
  line-height: 1;

  font-weight: 750;
}


.nn-course-card-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 7px 16px;

  margin:
    2px
    0
    14px;

  color: #7A888F;

  font-size: 10.5px;
  font-weight: 650;
}


.nn-course-card-facts span {
  position: relative;
}


.nn-course-card-facts span + span {
  padding-left: 13px;
}


.nn-course-card-facts span + span::before {
  content: "";

  position: absolute;

  left: 0;
  top: 50%;

  width: 3px;
  height: 3px;

  transform: translateY(-50%);

  border-radius: 50%;

  background: #A9B4B8;
}


.nn-course-card-facts strong {
  color: var(--nn-text);

  font-weight: 800;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.nn-course-catalog-footer {
  display: block;

  margin-top: 0;

  padding-top: 13px;

  border-top:
    1px solid
    var(--nn-border-soft);
}


.nn-course-catalog-action {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  width: 100%;

  min-height: 42px;

  padding:
    9px
    14px;

  border-radius: 10px;

  background:
    var(--nn-charcoal);

  color:
    #fff !important;

  font-size: 11.5px;
  line-height: 1;

  font-weight: 800;

  text-align: center;

  text-decoration:
    none !important;

  box-shadow:
    0 5px 12px
    rgba(44,62,80,.10);

  transition:
    background .16s ease,
    transform .16s ease,
    box-shadow .16s ease;
}


.nn-course-catalog-action:hover {
  background: #223440;

  color: #fff !important;

  box-shadow:
    0 7px 16px
    rgba(44,62,80,.14);

  transform:
    translateY(-1px);
}


.nn-course-catalog-action span {
  transition:
    transform .15s ease;
}


.nn-course-catalog-action:hover span {
  transform:
    translateX(2px);
}


/*
 * The newer catalogue no longer displays the
 * separate Rs./year or "Premium included" footer note.
 */
.nn-course-price-note {
  display: none !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

  .nn-course-catalog-body {
    padding:
      15px
      16px
      16px;
  }


  .nn-course-catalog-body h3 {
    margin-bottom: 9px;

    font-size: 18px;
  }


  .nn-course-card-facts {
    gap:
      6px
      12px;

    margin-bottom: 13px;

    font-size: 10px;
  }


  .nn-course-catalog-action {
    min-height: 44px;

    font-size: 12px;
  }

}


@media (max-width: 420px) {

  .nn-course-catalog-footer {
    display: block;

    width: 100%;
  }


  .nn-course-catalog-action {
    width: 100%;
  }

}
/* Copyright stays in the main footer with the brand description. */
.nn-footer-copyright {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    line-height: 1.6;
}
.nn-footer-copyright strong {
    color: rgba(255, 255, 255, .86);
    font-weight: 600;
}

/* A padded badge gives the uploaded white logo a deliberate frame. */
.nn-site-footer .nn-footer-logo--badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(10, 24, 38, .14);
}
.nn-site-footer .nn-footer-logo--badge img {
    width: 208px !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 46px !important;
    object-fit: contain;
}
.nn-site-footer .nn-footer-logo--badge:focus-visible {
    outline: 3px solid #1abc9c;
    outline-offset: 4px;
}

/* Keep desktop footer headings at the top and every column's last item at the bottom. */
@media (min-width: 961px) {
    .nn-site-footer .nn-footer-grid,
    .nn-purchase-page + .nn-site-footer .nn-footer-grid {
        align-items: stretch !important;
    }
    .nn-site-footer .nn-footer-brand {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .nn-site-footer .nn-footer-socials {
        margin-top: auto;
        padding-top: 16px;
    }
    .nn-site-footer .nn-footer-column,
    .nn-purchase-page + .nn-site-footer .nn-footer-column {
        display: flex !important;
        flex-direction: column;
    }
    .nn-site-footer .nn-footer-column ul,
    .nn-purchase-page + .nn-site-footer .nn-footer-column ul {
        display: flex !important;
        flex: 1;
        flex-direction: column;
        justify-content: space-between;
        gap: 12px;
    }
    .nn-site-footer .nn-footer-column li,
    .nn-purchase-page + .nn-site-footer .nn-footer-column li {
        display: flex !important;
    }
    .nn-site-footer .nn-footer-column li + li,
    .nn-purchase-page + .nn-site-footer .nn-footer-column li + li {
        margin-top: 0 !important;
    }
}


