/* Extracted from style.css. Keep this file ordered after its declared dependencies. */
/* Learning Pages */
.learning-hero {
    position: relative;
    width: 100vw;
    min-height: 500px;
    height: 65vh;
    margin-left: calc(50% - 50vw);
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.learning-hero-media,
.learning-hero-overlay {
    position: absolute;
    inset: 0;
}

.learning-hero-media {
    z-index: 0;
    overflow: hidden;
}

.learning-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.learning-hero-overlay {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4), transparent);
}

.learning-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.learning-hero-copy {
    max-width: 42rem;
    text-align: left;
}

.learning-hero-copy h1 {
    margin: 0 0 2rem;
    color: #fff;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.18;
    font-weight: 900;
    text-shadow: 0 8px 22px rgba(15, 23, 42, 0.3);
}

.learning-hero-cta {
    display: inline-block;
    padding: 1rem 2rem;
    color: #0f172a;
    border-radius: 999px;
    background: #ffd500;
    font-size: 1.125rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, background 0.2s ease;
}

.learning-hero-cta:hover {
    color: #0f172a;
    background: #ffc000;
    transform: scale(1.05);
}

.learning-shell {
    width: min(100% - 2rem, 72rem);
    margin: 0 auto;
    padding-bottom: 5rem;
}

.learning-intro-card {
    position: relative;
    z-index: 30;
    width: 100%;
    margin-bottom: 2rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    color: #334155;
    border: 1px solid #f1f5f9;
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.18);
    text-align: center;
}

.learning-intro-card p {
    margin: 0;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.65;
    font-weight: 600;
}

.learning-nav-grid,
.learning-benefit-grid,
.learning-faq-grid,
.learning-explore-grid {
    display: grid;
    gap: 1.5rem;
}

.learning-nav-grid {
    position: relative;
    z-index: 30;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 6rem;
}

.learning-nav-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 2rem;
    color: inherit;
    border: 1px solid #f1f5f9;
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.18);
    text-align: center;
    transition: transform 0.25s ease;
}

.learning-nav-card:hover {
    transform: translateY(-0.5rem);
}

.learning-card-icon,
.learning-benefit-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #dcfce7;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.learning-card-icon {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.learning-card-icon img,
.learning-benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.1));
    transition: transform 0.25s ease;
}

.learning-nav-card:hover .learning-card-icon,
.learning-benefit-card:hover .learning-benefit-icon {
    border-color: #86efac;
    background: #bbf7d0;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.learning-nav-card:hover img,
.learning-benefit-card:hover img {
    transform: scale(1.1);
}

.learning-card-copy {
    display: flex;
    width: 100%;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
}

.learning-card-copy h3,
.learning-benefit-card h3 {
    margin: 0 0 0.5rem;
    color: #1e293b;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 800;
}

.learning-nav-card:hover h3 {
    color: var(--mauritius-blue);
}

.learning-card-copy p,
.learning-benefit-card p {
    margin: 0;
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.55;
}

.learning-card-copy p {
    margin-bottom: 1.5rem;
}

.learning-card-copy span {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    color: var(--mauritius-blue);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.learning-card-copy span svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.learning-nav-card:hover .learning-card-copy span svg {
    transform: translateX(0.25rem);
}

.learning-card-mobile-arrow {
    display: none;
}

.learning-section {
    margin-bottom: 6rem;
}

.learning-section-last {
    margin-bottom: 5rem;
}

.learning-section h2 {
    margin: 0 0 2.5rem;
    color: #1e293b;
    font-size: 1.875rem;
    line-height: 1.25;
    font-weight: 800;
    text-align: center;
}

.learning-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

.learning-benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.learning-benefit-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
}

.learning-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.learning-faq-item {
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.learning-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    color: #1e293b;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}

.learning-faq-item summary::-webkit-details-marker {
    display: none;
}

.learning-faq-item summary:hover,
.learning-faq-item[open] summary {
    color: var(--mauritius-blue);
}

.learning-faq-item summary span {
    color: #94a3b8;
    transition: transform 0.25s ease, color 0.25s ease;
}

.learning-faq-item summary svg {
    width: 1.25rem;
    height: 1.25rem;
}

.learning-faq-item[open] summary span {
    color: var(--mauritius-blue);
    transform: rotate(180deg);
}

.learning-faq-item > div {
    padding: 0 1.25rem 1.25rem;
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.65;
}

.learning-explore-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.learning-explore-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 2rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.learning-explore-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.learning-explore-img,
.learning-explore-overlay {
    position: absolute;
    inset: 0;
}

.learning-explore-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.learning-explore-card:hover .learning-explore-img {
    transform: scale(1.1);
}

.learning-explore-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
    opacity: 0.8;
    transition: opacity 0.25s ease;
}

.learning-explore-card:hover .learning-explore-overlay {
    opacity: 1;
}

.learning-explore-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
}

.learning-explore-content h3 {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0;
}

.learning-explore-content div {
    display: flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    border-radius: 999px;
    background: #ffd500;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.learning-explore-content svg {
    width: 1rem;
    height: 1rem;
}

.lessons-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.2), transparent);
}

.lessons-share-row {
    gap: 0.75rem;
}

.lessons-share-row .share-icon-btn {
    width: 3rem;
    height: 3rem;
}

.lessons-intro-card {
    margin-bottom: 3rem;
}

.lessons-intro-card p + p {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    color: #475569;
    font-size: 1rem;
}

.lessons-list-section {
    position: relative;
    z-index: 30;
    margin-bottom: 6rem;
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.lesson-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lesson-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.lesson-card-locked {
    border-style: dashed;
    background: rgba(248, 250, 252, 0.9);
}

.lesson-card-header {
    position: relative;
    display: flex;
    min-height: 7rem;
    align-items: flex-start;
    justify-content: space-between;
    overflow: hidden;
    padding: 1.25rem;
    border-bottom: 1px solid #f8fafc;
}

.lesson-card-header span {
    position: relative;
    z-index: 1;
    padding: 0.4rem 0.75rem;
    border: 1px solid #fff;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.lesson-card-header > svg {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 8rem;
    height: 8rem;
    opacity: 0.12;
    transform: rotate(12deg);
    transition: transform 0.6s ease;
}

.lesson-card:hover .lesson-card-header > svg {
    transform: rotate(0deg) scale(1.08);
}

.lesson-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1.5rem;
}

.lesson-duration {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.375rem;
    margin-bottom: 1rem;
    padding: 0.25rem 0.625rem;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    font-size: 0.625rem;
    font-weight: 800;
}

.lesson-duration svg {
    width: 0.75rem;
    height: 0.75rem;
}

.lesson-card h3 {
    margin: 0 0 1.5rem;
    color: #1e293b;
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 900;
    transition: color 0.2s ease;
}

.lesson-card-action,
.lesson-lock-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.lesson-card-action span {
    color: #94a3b8;
    font-size: 0.6875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.lesson-card:hover .lesson-card-action span {
    color: #475569;
}

.lesson-card-action div,
.lesson-lock-note div {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
    transition: transform 0.25s ease;
}

.lesson-card:hover .lesson-card-action div {
    transform: scale(1.1) rotate(6deg);
}

.lesson-card-action svg,
.lesson-lock-note svg {
    width: 1rem;
    height: 1rem;
}

.lesson-card-action svg {
    margin-left: 0.1rem;
    fill: currentColor;
}

.lesson-lock-note p {
    margin: 0;
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.45;
}

.lesson-lock-note a {
    color: var(--mauritius-blue);
    font-weight: 700;
}

.lesson-lock-note a:hover {
    color: var(--mauritius-red);
}

.lesson-card-locked .lesson-card-header {
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.5), transparent);
}

.lesson-card-locked .lesson-card-header span {
    color: #64748b;
}

.lesson-card-locked .lesson-card-header > svg {
    color: #94a3b8;
}

.lesson-card-locked .lesson-lock-note div {
    color: #94a3b8;
    background: rgba(226, 232, 240, 0.8);
    box-shadow: none;
}

.lesson-theme-red .lesson-card-header { background: linear-gradient(135deg, rgba(234, 40, 57, 0.1), transparent); }
.lesson-theme-blue .lesson-card-header { background: linear-gradient(135deg, rgba(26, 32, 109, 0.1), transparent); }
.lesson-theme-yellow .lesson-card-header { background: linear-gradient(135deg, rgba(255, 205, 0, 0.14), transparent); }
.lesson-theme-green .lesson-card-header { background: linear-gradient(135deg, rgba(0, 165, 81, 0.1), transparent); }

.lesson-theme-red .lesson-card-header span,
.lesson-theme-red:hover h3,
.lesson-theme-red .lesson-card-header > svg { color: var(--mauritius-red); }
.lesson-theme-blue .lesson-card-header span,
.lesson-theme-blue:hover h3,
.lesson-theme-blue .lesson-card-header > svg { color: var(--mauritius-blue); }
.lesson-theme-yellow .lesson-card-header span,
.lesson-theme-yellow:hover h3,
.lesson-theme-yellow .lesson-card-header > svg { color: #ca8a04; }
.lesson-theme-green .lesson-card-header span,
.lesson-theme-green:hover h3,
.lesson-theme-green .lesson-card-header > svg { color: var(--mauritius-green); }

.lesson-theme-red .lesson-card-action div { background: var(--mauritius-red); }
.lesson-theme-blue .lesson-card-action div { background: var(--mauritius-blue); }
.lesson-theme-yellow .lesson-card-action div { background: #ca8a04; }
.lesson-theme-green .lesson-card-action div { background: var(--mauritius-green); }

.lessons-empty {
    grid-column: 1 / -1;
    color: #64748b;
    text-align: center;
}

.lesson-timeline-section {
    margin-bottom: 8rem;
}

.lesson-timeline {
    position: relative;
    display: grid;
    max-width: 64rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 auto;
}

.lesson-timeline::before {
    content: "";
    position: absolute;
    top: 1.45rem;
    left: 8%;
    right: 2%;
    height: 2px;
    background: linear-gradient(90deg, #fecaca, #bbf7d0, #c7d2fe);
}

.lesson-timeline-item {
    position: relative;
    z-index: 1;
    min-width: 0;
    text-align: center;
}

.lesson-timeline-item > div {
    display: flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 4px solid #fff;
    border-radius: 999px;
    font-size: 1.125rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.lesson-timeline-item h4 {
    margin: 0 0 0.5rem;
    color: #1e293b;
    font-size: 0.875rem;
    line-height: 1.35;
    font-weight: 800;
}

.lesson-timeline-item p {
    max-width: 8rem;
    margin: 0 auto;
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.55;
}

.timeline-red > div { color: #ef4444; background: #fef2f2; }
.timeline-orange > div { color: #fb923c; background: #fff7ed; }
.timeline-yellow > div { color: #eab308; background: #fefce8; }
.timeline-green > div { color: #22c55e; background: #f0fdf4; }
.timeline-purple > div { color: #a855f7; background: #faf5ff; }
.timeline-indigo > div { color: #818cf8; background: #eef2ff; }

.single-lesson-hero {
    position: relative;
    width: 100vw;
    min-height: 360px;
    margin-left: calc(50% - 50vw);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fff;
    z-index: 20;
}

.single-lesson-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, rgba(26, 32, 109, 0.1), transparent);
}

.single-lesson-hero.lesson-theme-red .single-lesson-hero-bg { background: linear-gradient(135deg, rgba(234, 40, 57, 0.1), transparent); }
.single-lesson-hero.lesson-theme-yellow .single-lesson-hero-bg { background: linear-gradient(135deg, rgba(255, 205, 0, 0.14), transparent); }
.single-lesson-hero.lesson-theme-green .single-lesson-hero-bg { background: linear-gradient(135deg, rgba(0, 165, 81, 0.1), transparent); }

.single-lesson-hero-icon {
    position: absolute;
    top: 50%;
    right: -6rem;
    z-index: 0;
    color: rgba(26, 32, 109, 0.1);
    opacity: 0.6;
    pointer-events: none;
    transform: translateY(-50%) rotate(-12deg);
}

.single-lesson-hero-icon svg {
    width: clamp(18rem, 36vw, 31rem);
    height: clamp(18rem, 36vw, 31rem);
}

.single-lesson-hero.lesson-theme-red .single-lesson-hero-icon { color: rgba(234, 40, 57, 0.1); }
.single-lesson-hero.lesson-theme-yellow .single-lesson-hero-icon { color: rgba(202, 138, 4, 0.12); }
.single-lesson-hero.lesson-theme-green .single-lesson-hero-icon { color: rgba(0, 165, 81, 0.1); }

.single-lesson-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.single-lesson-hero-copy {
    max-width: 48rem;
    text-align: left;
}

.single-lesson-hero-copy h1 {
    margin: 0 0 1.5rem;
    color: #1e293b;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.08;
    font-weight: 900;
}

.single-lesson-hero-copy p {
    max-width: 42rem;
    margin: 0 0 2rem;
    color: #475569;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.6;
    font-weight: 600;
}

.single-lesson-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.single-lesson-share-btn {
    display: flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.single-lesson-share-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.single-lesson-share-btn:hover {
    color: #fff;
    transform: translateY(-0.25rem) scale(1.08);
}

.single-lesson-share-btn.share-icon-copy:hover {
    background: #1e293b;
    border-color: #1e293b;
}

.single-lesson-shell {
    width: min(100% - 0.5rem, 72rem);
    margin: 0 auto;
    padding-bottom: 5rem;
}

.single-lesson-main {
    width: 100%;
}

.single-lesson-gate,
.single-lesson-content {
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
}

.single-lesson-gate {
    padding: clamp(2rem, 6vw, 4rem);
    text-align: center;
}

.single-lesson-gate-icon {
    display: flex;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--mauritius-blue);
    border-radius: 1rem;
    background: rgba(26, 32, 109, 0.1);
}

.single-lesson-gate-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.single-lesson-gate h2 {
    margin: 0 0 0.75rem;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 900;
}

.single-lesson-gate p {
    max-width: 24rem;
    margin: 0 auto 2rem;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.65;
}

.single-lesson-gate-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.single-lesson-primary-btn,
.single-lesson-secondary-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 800;
}

.single-lesson-primary-btn {
    color: #fff;
    background: var(--mauritius-blue);
}

.single-lesson-primary-btn:hover {
    color: #fff;
    opacity: 0.9;
}

.single-lesson-secondary-btn {
    color: #334155;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.single-lesson-secondary-btn:hover {
    color: var(--mauritius-blue);
    border-color: rgba(26, 32, 109, 0.4);
}

.single-lesson-content {
    padding: clamp(1.25rem, 4vw, 3rem);
}

.single-lesson-content,
.single-lesson-content .imported-prose {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.75;
}

.single-lesson-content h2,
.single-lesson-content h3,
.single-lesson-content h4 {
    color: var(--mauritius-blue);
    font-weight: 900;
}

.single-lesson-content a {
    color: var(--mauritius-red);
    font-weight: 700;
}

.single-lesson-content a:hover {
    color: var(--mauritius-blue);
}

.single-lesson-content blockquote {
    margin: 1.5rem 0;
    padding: 0.75rem 1rem;
    border-left: 4px solid rgba(26, 32, 109, 0.3);
    border-radius: 0 0.5rem 0.5rem 0;
    background: rgba(26, 32, 109, 0.05);
}

.single-lesson-ad {
    position: relative;
    width: 100%;
    margin: 2rem auto 0;
    overflow: hidden;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.single-lesson-ad-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(26, 32, 109, 0.05), rgba(234, 40, 57, 0.05));
    filter: blur(48px);
    opacity: 0.5;
    transform: translate(-50%, -50%);
}

.single-lesson-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.single-lesson-nav-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.single-lesson-nav-card:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(26, 32, 109, 0.2);
}

.single-lesson-nav-card > div {
    display: flex;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--mauritius-blue);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
    transition: background 0.25s ease, color 0.25s ease;
}

.single-lesson-nav-card:hover > div {
    color: #fff;
    background: var(--mauritius-blue);
}

.single-lesson-nav-card svg {
    width: 1.25rem;
    height: 1.25rem;
}

.single-lesson-nav-card span {
    min-width: 0;
}

.single-lesson-nav-card small {
    display: block;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.single-lesson-nav-card strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--mauritius-blue);
    font-weight: 800;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.single-lesson-nav-card:hover strong {
    color: var(--mauritius-red);
}

.single-lesson-nav-next {
    justify-content: flex-end;
    text-align: right;
}

.single-lesson-bottom {
    padding-bottom: 0;
}

.practice-page {
    padding-bottom: 3rem;
}

.practice-panel {
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 3rem;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

.practice-panel-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 45%);
    pointer-events: none;
}

.practice-intro,
.practice-quiz {
    position: relative;
    z-index: 1;
}

.practice-intro {
    max-width: 64rem;
    margin-bottom: 2rem;
    color: #475569;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    font-weight: 500;
}

.practice-intro p {
    margin: 0;
}

.practice-divider {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 1px;
    margin-bottom: 3rem;
    background: rgba(226, 232, 240, 0.5);
}

.quiz-loading,
.quiz-results,
.quiz-load-error {
    text-align: center;
}

.quiz-loading {
    padding: 3rem 0;
}

.quiz-loading div {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 1rem;
    border: 4px solid var(--mauritius-blue);
    border-top-color: transparent;
    border-radius: 999px;
    animation: spin 1s linear infinite;
}

.quiz-loading p,
.quiz-load-error {
    color: #64748b;
    font-weight: 600;
}

.quiz-question {
    width: 100%;
    animation: fadeIn 0.25s ease;
}

.quiz-progress {
    position: relative;
    width: 100%;
    height: 0.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.7);
}

.quiz-progress div {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--mauritius-red), var(--mauritius-blue), var(--mauritius-yellow), var(--mauritius-green));
    transition: width 0.7s ease;
}

.quiz-topline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.quiz-topline span {
    display: flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 999px;
    background: var(--mauritius-blue);
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(26, 32, 109, 0.18);
}

.quiz-topline strong {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.quiz-question h2 {
    margin: 0 0 2.5rem;
    color: #0f172a;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.2;
    font-weight: 900;
}

.quiz-options {
    display: grid;
    gap: 1rem;
}

.option-btn {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.25rem);
    color: #334155;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.option-btn:hover {
    border-color: rgba(26, 32, 109, 0.3);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.option-btn span {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 800;
}

.option-btn > div {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    border: 2px solid #cbd5e1;
    border-radius: 999px;
}

.option-btn.is-muted {
    opacity: 0.7;
}

.option-btn.is-correct {
    color: #166534;
    border-color: #22c55e;
    background: #f0fdf4;
    opacity: 1;
}

.option-btn.is-wrong {
    color: #991b1b;
    border-color: #ef4444;
    background: #fef2f2;
    opacity: 1;
}

.option-btn.is-correct > div,
.option-btn.is-wrong > div {
    display: flex;
    width: 1.75rem;
    height: 1.75rem;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 0;
}

.option-btn.is-correct > div {
    background: #16a34a;
}

.option-btn.is-wrong > div {
    background: #dc2626;
}

.option-btn svg {
    width: 1rem;
    height: 1rem;
}

.quiz-explanation,
.quiz-next-wrap {
    margin-top: 2rem;
}

.quiz-feedback {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 0.75rem;
}

.quiz-feedback > div {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.quiz-feedback svg {
    width: 1.25rem;
    height: 1.25rem;
}

.quiz-feedback h4 {
    margin: 0 0 0.25rem;
    font-weight: 800;
}

.quiz-feedback p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.quiz-feedback-correct {
    color: #166534;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
}

.quiz-feedback-correct > div {
    background: #dcfce7;
}

.quiz-feedback-wrong {
    color: #991b1b;
    border: 1px solid #fecaca;
    background: #fef2f2;
}

.quiz-feedback-wrong > div {
    background: #fee2e2;
}

.quiz-next-wrap {
    display: flex;
    justify-content: flex-end;
}

.quiz-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    color: #fff;
    border: 0;
    border-radius: 0.75rem;
    background: var(--mauritius-blue);
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease;
}

.quiz-next-btn:hover {
    background: var(--mauritius-red);
}

.quiz-next-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.quiz-results {
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
    animation: fadeIn 0.25s ease;
}

.quiz-result-icon {
    display: flex;
    width: 6rem;
    height: 6rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid #f1f5f9;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.quiz-result-icon svg {
    width: 3rem;
    height: 3rem;
}

.quiz-result-blue {
    color: var(--mauritius-blue);
}

.quiz-result-yellow {
    color: var(--mauritius-yellow);
}

.quiz-result-muted {
    color: #64748b;
}

.quiz-results h2 {
    margin: 0 0 0.75rem;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 900;
}

.quiz-results > p {
    margin: 0 0 2rem;
    color: #475569;
    font-size: 1.125rem;
    font-weight: 600;
}

.quiz-score-card {
    max-width: 24rem;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.quiz-score-card div {
    margin-bottom: 0.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.quiz-score-card strong {
    display: block;
    color: var(--mauritius-blue);
    font-size: 4rem;
    line-height: 1;
    font-weight: 900;
}

.quiz-score-card span {
    display: block;
    margin-top: 0.5rem;
    color: #64748b;
    font-weight: 600;
}

/* Learning templates link cleanup */
.learning-shell a,
.learning-hero a,
.single-lesson-shell a,
.single-lesson-bottom a,
.single-lesson-content a {
    text-decoration: none !important;
}

.learning-shell a:hover,
.learning-hero a:hover,
.single-lesson-shell a:hover,
.single-lesson-bottom a:hover,
.single-lesson-content a:hover {
    text-decoration: none !important;
}

.learning-pick-path-section .home-explore-grid {
    margin-top: 0;
}


