:root {
    --judi-teal: #008f72;
    --judi-teal-bright: #049f82;
    --judi-green: #2fbb6d;
    --judi-ink: #222;
    --judi-muted: #676767;
    --judi-line: #e4eeeb;
    --judi-paper: #f7f7f7;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Nunito, system-ui, sans-serif;
    color: var(--judi-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--judi-teal-bright); text-decoration: none; }
img { max-width: 100%; height: auto; }
main { flex: 1; }

.skip-link {
    position: absolute;
    left: -999px;
}

.site-container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

#masthead {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #edf4f2;
}

.site-header-inner {
    width: min(1290px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 82px;
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 16px;
}

.site-branding img {
    max-width: 168px;
    display: block;
}

.header-navigation .menu {
    display: flex;
    justify-content: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-navigation a,
.mobile-drawer a {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    color: #454545;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
}

.header-navigation .current-menu-item a,
.header-navigation a:hover {
    background: #e9f6f2;
    color: var(--judi-teal);
    font-weight: 700;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.judi-nav-login,
.header-navigation .judi-nav-login {
    background: var(--judi-teal-bright);
    color: #fff !important;
    border-radius: 999px;
    padding: 0.55em 1.15em !important;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(4, 159, 130, 0.18);
}

.judi-nav-login:hover { background: var(--judi-teal); }

.header-admin {
    color: var(--judi-teal);
    font-weight: 700;
}

.avatar-name {
    position: relative;
    background: var(--judi-teal);
    border: 0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    box-shadow: 0 0 0 0 rgba(4, 159, 130, 0);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.avatar-name::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease;
    pointer-events: none;
}
.avatar-name:hover,
.avatar-name:focus-visible,
.avatar-name[aria-expanded="true"] {
    transform: scale(1.08);
    box-shadow: 0 8px 18px rgba(4, 159, 130, 0.28);
}
.avatar-name:hover::after,
.avatar-name:focus-visible::after,
.avatar-name[aria-expanded="true"]::after {
    opacity: 1;
    transform: scale(1);
    border-color: var(--judi-teal-bright);
}
.avatar-name img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.avatar-name:hover img,
.avatar-name:focus-visible img,
.avatar-name[aria-expanded="true"] img {
    transform: scale(1.06);
}
.avatar-menu {
    position: relative;
}
.avatar-menu__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 30;
    width: min(320px, calc(100vw - 24px));
    background: #fff;
    border: 1px solid var(--judi-line);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 40, 35, 0.16);
    padding: 14px 14px 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
}
.avatar-menu__panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .avatar-menu__panel,
    .avatar-name,
    .avatar-name::after,
    .avatar-name img {
        transition: none;
        transform: none;
    }
}
.avatar-menu__name {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 800;
    color: var(--judi-ink);
}
.avatar-menu__progress {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.avatar-menu__progress a {
    display: grid;
    gap: 6px;
    color: inherit;
}
.avatar-menu__label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #355751;
}
.avatar-menu__bar {
    display: block;
    height: 6px;
    border-radius: 99px;
    background: #e4eeeb;
    overflow: hidden;
}
.avatar-menu__bar span {
    display: block;
    height: 100%;
    background: var(--judi-teal-bright);
    border-radius: inherit;
}
.avatar-menu__empty {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--judi-muted);
    line-height: 1.45;
}
.avatar-menu__settings {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--judi-line);
    color: var(--judi-teal);
    font-size: 13px;
    font-weight: 800;
}
.avatar-menu__settings svg {
    width: 16px;
    height: 16px;
}
.avatar-menu__settings:hover { color: var(--judi-teal); }
.avatar-alert {
    position: absolute;
    top: -4px;
    right: -4px;
    z-index: 1;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f59e0b;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
}

.mobile-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.mobile-drawer {
    display: none;
    background: #fff;
    border-top: 1px solid #edf4f2;
    padding: 8px 16px 16px;
}

.mobile-drawer.is-open { display: block; }
.mobile-drawer .menu { list-style: none; margin: 0; padding: 0; }
.mobile-drawer a { width: 100%; }
.mobile-drawer .judi-nav-login a {
    background: var(--judi-teal-bright);
    color: #fff !important;
    justify-content: center;
    border-radius: 10px;
    margin-top: 8px;
}

.header-navigation .feather,
.mobile-drawer .feather,
.judi-nav-login .feather {
    width: 16px;
    height: 16px;
}

.content-area { margin: 1.5rem 0 3rem; }
.archive-title { font-size: 42px; margin: 8px 0 24px; }
.child-tag-title { margin: 35px 0 15px; font-size: 20px; }
.crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    color: var(--judi-muted);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.crumb a { font-weight: 700; }
.flash-notice {
    margin-top: 16px;
    padding: 12px 16px;
    background: #e9f6f2;
    border-radius: 10px;
}

.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #fff;
    background: #1b2428 url("/images/established-slide.jpg") 54% 65% / cover no-repeat;
}

.hero-inner { width: min(1200px, calc(100% - 40px)); }

.hero-copy {
    max-width: 34rem;
    padding: 72px 0 64px;
}

.hero-kicker {
    color: #28dd75;
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 35px);
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 0 0 10px;
}

.hero h1 {
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 16px;
    font-weight: 800;
}

.hero-copy p { max-width: 36rem; line-height: 1.5; font-size: 18px; margin: 0 0 8px; }

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #1f935d;
    font-weight: 800;
    border-radius: 999px;
    padding: 1em 2.2em;
    width: fit-content;
    margin-top: 12px;
}

.hero-cta:hover { background: #2ecc71; color: #fff; }

.home-tags {
    background: var(--judi-paper);
    padding: 60px 25px;
}

.judi-academy-tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.judi-academy-tag-col { flex: 0 0 calc(33.333% - 16px); }

.judi-academy-tag-col a {
    display: flex;
    padding: 15px;
    color: inherit;
    border-radius: 15px;
}

.judi-academy-tag-col a:hover { background: #e6f1ef; }

.judi-academy-tag-col img {
    border-radius: 20px;
    max-width: 120px;
    box-shadow: 8px 8px 20px rgba(106,194,157,0.1);
}

.judi-academy-tag-col .cat-details { padding: 0 20px; }
.judi-academy-tag-col h4 { margin: 0 0 8px; font-size: 20px; }
.judi-academy-tag-col .counter { color: #8a8a8a; font-size: 13px; }
.judi-academy-tag-col .counter div { display: flex; align-items: center; gap: 6px; margin: 3px 0; }
.judi-academy-tag-col .counter svg { width: 12px; height: 12px; }

.welcome-band {
    background: #e4e4e4;
    padding: 4rem 0;
}

.welcome-inner {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: start;
    gap: 2rem;
}

.welcome-media img { display: block; width: 100%; max-width: 520px; }
.welcome-copy { padding: 1.5rem; }
.welcome-copy h2 {
    color: var(--judi-teal-bright);
    font-size: 32px;
    margin: 0 0 12px;
}
.welcome-copy p {
    color: var(--judi-muted);
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 20px;
}

.kb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #222;
    font-weight: 700;
    border-radius: 100px;
    padding: 12px 22px;
}

.kb-btn:hover { background: var(--judi-muted); color: #fff; }

.kb-btn.gradient {
    background: linear-gradient(135deg, rgb(6,147,227) 0%, var(--judi-teal-bright) 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.12);
}

.kb-btn.gradient:hover { filter: brightness(1.05); color: #fff; }

.kb-btn.started {
    background: var(--judi-teal-bright);
    color: #fff;
    border-radius: 6px;
    padding: 14px 40px;
    font-size: 20px;
    font-weight: 500;
}

.kb-btn.started:hover { background: #54d1db; color: #fff; }

.journey-band {
    position: relative;
    padding: 1.5rem 0 2.4rem;
    text-align: center;
}

.journey-band h2 {
    font-size: 32px;
    margin: 0 0 18px;
}

.row-sep {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 12px;
    overflow: hidden;
    pointer-events: none;
}

.row-sep svg { width: 400%; height: 12px; fill: #cacaca; display: block; margin: 0 auto; }

.feature-grid { padding: 4rem 0; }
.section-heading { text-align: center; font-size: 32px; margin-bottom: 28px; }
.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-cards img { width: 70px; }
.feature-cards h2 { margin: 12px 0 8px; font-size: 21px; }
.feature-cards p { color: var(--judi-muted); line-height: 1.6; font-size: 15px; }

.foundation-band {
    position: relative;
    padding: 70px 25px;
    color: #fff;
    text-align: center;
    background: #454545 url("/images/hero-mosque.jpg") center / cover no-repeat;
}

.foundation-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.9;
    background: linear-gradient(314deg, #454545 0%, #353535 100%);
}

.foundation-inner { position: relative; z-index: 1; max-width: 800px; }
.foundation-band h2 {
    font-size: 2.4em;
    line-height: 1.5;
    margin: 0;
    font-weight: 700;
}
.foundation-lead {
    margin: 18px auto 40px;
    font-size: 1.2em;
    line-height: 1.7;
    color: #eeeeee;
    font-weight: 400;
    max-width: 40rem;
}

.sample-band { padding: 3rem 0; }
.sample-intro {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    margin: 0 0 8px;
}
.sample-intro svg { width: 30px; height: 30px; }
.sample-intro strong { color: var(--judi-teal-bright); }

.sample-row {
    display: grid;
    grid-template-columns: 25% 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 1.5rem 0 1.8rem;
    border-bottom: 1px solid #eee;
    position: relative;
}

.sample-row::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 24px;
    height: 12px;
    background: #fff;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.sample-thumb {
    position: relative;
    display: block;
    color: #fff;
}

.sample-thumb img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.play-btn {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    color: #fff;
}

.play-btn svg, .sample-play svg { width: 42px; height: 42px; }

.sample-cat {
    color: #b3b3b3;
    font-weight: 700;
    margin: 0 0 6px;
}

.sample-info h3 { margin: 0 0 8px; font-size: 20px; }
.sample-info h3 a { color: inherit; }
.sample-info ul { list-style: none; margin: 0; padding: 0; }
.sample-info li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #454545;
}
.sample-info li svg { width: 16px; height: 16px; margin-top: 3px; flex: none; }

.sample-play { color: var(--judi-teal-bright); padding: 0 12px; }

.how-it-works {
    background: #fff;
    color: var(--judi-ink);
    padding: 24px 0 16px;
    text-align: center;
}

.how-panel {
    border: 1px solid #eeeeee;
    border-radius: 17px;
    background: var(--judi-paper);
    padding: 1.5rem 2rem 2.5rem;
}

.how-it-works h2 { font-size: 34px; margin: 0 0 8px; }

.how-it-works .steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: stretch;
    padding-top: 70px;
}

.how-it-works article {
    background: #fff;
    border: 5px solid #eeeeee;
    border-radius: 20px;
    padding: 1.5rem 1.25rem 1.5rem;
    text-align: center;
}

.step-icon {
    width: 88px;
    height: 88px;
    margin: -75px auto 10px;
    border: 5px solid #eeeeee;
    border-radius: 50%;
    background: #fff;
    color: var(--judi-teal-bright);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon.rounded { border-radius: 12px; }
.step-icon svg { width: 42px; height: 42px; }
.how-it-works h3 { margin: 8px 0 10px; font-size: 22px; }
.how-it-works p { margin: 0; color: #454545; line-height: 1.6; }
.step-arrow { display: flex; align-items: center; color: var(--judi-teal-bright); }
.step-arrow svg { width: 33px; height: 33px; }

.home-faq {
    padding: 80px 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.home-faq h2 {
    text-align: center;
    font-size: 2.2em;
    margin: 0 0 40px;
    color: #222;
}

.faq-item { margin-top: 20px; }

.faq-q {
    width: 100%;
    text-align: left;
    font: inherit;
    font-size: 18px;
    line-height: 24px;
    color: #454545;
    background: #f8f8f8;
    border: 0;
    border-radius: 6px;
    padding: 14px 48px 14px 16px;
    cursor: pointer;
    position: relative;
}

.faq-q::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 12px;
    height: 2px;
    background: #555;
}

.faq-q::before {
    content: "";
    position: absolute;
    right: 23px;
    top: calc(50% - 5px);
    width: 2px;
    height: 12px;
    background: #555;
}

.faq-item.is-open .faq-q {
    color: #fff;
    background: #454545;
    border-radius: 6px 6px 0 0;
}

.faq-item.is-open .faq-q::before { display: none; }
.faq-item.is-open .faq-q::after { background: #fff; }

.faq-a {
    display: none;
    background: #f6f6f6;
    padding: 30px;
    border-radius: 0 0 6px 6px;
    color: #353535;
    line-height: 1.7;
}

.faq-item.is-open .faq-a { display: block; }
.faq-a p { margin: 0; }

.yt-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.yt-modal[hidden] { display: none; }
body.yt-open { overflow: hidden; }

.yt-modal-frame {
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    background: #000;
}

.yt-modal-frame iframe { width: 100%; height: 100%; border: 0; }

.yt-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 42px;
    cursor: pointer;
    line-height: 1;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.course-item {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    position: relative;
    min-width: 0;
}

.course-item img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}
.course-item .course-thumb {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #e9f6f2;
    margin-bottom: 8px;
}
.course-item .course-thumb.is-fallback {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.course-item .course-thumb.is-fallback img {
    width: 48%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

.course-item h2 {
    font-size: 17px;
    margin: 5px 0 0;
    font-weight: 700;
    line-height: 1.35;
}

.course-item h2 a { color: inherit; }
.course-item .course-code { font-size: 11px; color: #999; }
.course-item .course-tag {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(222, 222, 222, 0.867);
}

.course-properties {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.course-property {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 14px;
    gap: 5px;
}

.course-property svg { width: 20px; height: 20px; color: #63ad9e; flex: none; }
.course-item.course-type-closed img { filter: grayscale(1); opacity: 0.4; }
.course-type-closed { background: #fafafa; }
.course-type-closed h2,
.course-type-closed .course-property { color: #ccc; }
.course-type-closed svg { opacity: 0.5; }

.closed-text {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 7px;
    padding: 2px 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.closed-text svg { width: 15px; height: 15px; }
.course-item .course-status {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.free-price {
    padding: 8px;
    border: 1px solid #9e9e9e;
    border-radius: 8px;
    margin-right: 10px;
    color: #777;
}

.enroll-button {
    padding: 8px 16px;
    background: var(--judi-teal);
    color: #fff !important;
    border-radius: 8px;
    flex: 1;
    text-align: center;
    border: 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
}

.enroll-button:hover { background: #14aa8c; }

.enroll-button,
.judi-account__button,
.judi-nav-login,
.header-navigation .judi-nav-login,
.quiz-back,
.faq-q,
.judi-login__form button[type="submit"],
.judi-contact__form button[type="submit"],
.judi-account__nav-logout,
.judi-login__linkbtn,
.judi-modal__close,
.social-button,
.mobile-toggle {
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.prerequisite-warning {
    border: 1px solid #ffcd00;
    background: #fff8dc;
    padding: 15px;
    border-radius: 5px;
    margin-top: 12px;
}
.prerequisite-warning a { margin-left: 8px; font-weight: 700; }

.courses-list { position: relative; }
.courses-list::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    border-left: 1px dashed #dedede;
    top: 30px;
    left: 51px;
    z-index: 0;
}
.path-course {
    display: flex;
    align-items: center;
    color: inherit;
    position: relative;
}
.courses-list .path-course {
    padding: 15px;
    margin: 7px 0;
    border-radius: 18px;
    z-index: 1;
}
.courses-list .path-course:hover {
    background: #fff;
    box-shadow: 3px 3px 16px rgba(0,0,0,0.1);
}
.courses-list .path-course.is-locked { opacity: 0.72; }
.courses-list .course-status {
    position: absolute;
    right: -6px;
    bottom: -6px;
    flex: none;
    z-index: 2;
}
.courses-list .course-status .svg-wrapper {
    width: 28px;
    height: 28px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}
.path-course-thumb {
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    margin-right: 14px;
}
.path-course-thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    background: #e9f6f2;
}
.path-course-thumb.is-fallback img {
    object-fit: contain;
    padding: 12px;
}
.path-header-image.is-fallback {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}
.path-header-image.is-fallback img {
    width: 70%;
    height: auto;
    box-shadow: none;
}
.judi-academy-tag-col img.is-fallback {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: #e9f6f2;
    padding: 16px;
}
.svg-wrapper {
    background: #e0e0e0;
    color: #616161;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.svg-wrapper svg { width: 17px; height: 17px; }
.path-course-info { flex: 1; }
.path-course-info .course-name { display: flex; color: #222; }
.path-course-info .title { flex: 1; font-weight: 700; }
.path-course-info .course-code { font-size: 13px; color: #848484; flex: 110px; }
.course-code-pogress-container { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.learndash-progress-bar {
    background: #f5f5f5;
    border-radius: 15px;
    height: 8px;
    width: 100%;
}
.learndash-progress-bar-inner {
    background: #ffd000;
    height: 8px;
    border-radius: 15px;
}
.percentage { flex: 55px; font-size: 12px; color: #7e7e7e; text-align: right; }

.path-header-wrapper {
    display: flex;
    align-items: center;
    background: #008f72;
    padding: 10px 16px;
    border-radius: 19px;
    color: #fff;
    gap: 12px;
    margin-bottom: 24px;
}
.path-header-wrapper h1 { margin: 0; font-size: 22px; color: #fff; }
.path-header-image img { width: 60px; border-radius: 12px; box-shadow: 3px 3px 16px rgba(0,0,0,0.1); }

.path-about {
    background: #fff;
    border: 1px solid #e4eeeb;
    border-radius: 16px;
    padding: 22px 24px;
    margin: 0 0 28px;
}
.path-about h2 {
    margin: 0 0 10px;
    color: #008f72;
    font-size: 22px;
}
.path-about p {
    margin: 0;
    line-height: 1.75;
    color: #4d4d4d;
}

.course-page-header {
    text-align: center;
    margin: 0 0 20px;
}

.course-page-header .page-breadcrumbs {
    color: #676767;
    margin: 0 0 14px;
}

.course-page-header .entry-title {
    font-size: 32px;
    line-height: 1.5;
    font-weight: 700;
    color: #4d4d4d;
    margin: 0;
}

.course-page-header .course-code {
    color: #848484;
    font-size: 14px;
    margin: 6px 0 0;
}

.course-status-bar {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    margin: 8px 0 24px;
    padding: 16px 0;
}

.course-status-bar__seg {
    flex: 1;
    width: 33%;
    text-align: center;
    padding: 0 1em;
    border-right: 2px solid #bec5cb;
}

.course-status-bar__seg:last-child { border-right: 0; }

.course-status-bar__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #617175;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 1em;
}

.course-status-bar__label svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
    color: var(--judi-teal-bright);
}

.course-status-bar__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 42px;
}

.course-status-bar__price {
    font-size: 32px;
    font-weight: 700;
    color: #617175;
    line-height: 1;
}

.course-status-bar__muted { color: #848484; font-size: 14px; }

.course-status-pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.course-status-pill.is-waiting { background: #ffd200; color: rgba(0, 0, 0, 0.75); }
.course-status-pill.is-progress { background: #049f82; color: #fff; }
.course-status-pill.is-complete { background: #008f72; color: #fff; }
.course-status-pill.is-soon { background: #ffcd00; color: rgba(0, 0, 0, 0.75); }

.course-status-bar .enroll-button {
    flex: none;
    border-radius: 20px;
    padding: 10px 18px;
    font-size: 13px;
}

.course-status-bar .course-code-pogress-container {
    width: 100%;
    max-width: 180px;
    margin-top: 0;
}

.course-hero-image { width: 100%; display: block; border-radius: 12px; }
.pre-course .course-thumb {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #e9f6f2;
    margin-bottom: 16px;
}
.pre-course .course-thumb.is-fallback {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pre-course .course-thumb.is-fallback .course-hero-image {
    width: 40%;
    height: auto;
}
.pre-course .accordion-content { display: flex; flex-wrap: wrap; gap: 20px; }
.pre-course .left-column { flex: 0 0 56%; }
.pre-course .right-column { flex: 0 0 40%; }
.block-container.course-structure,
.pre-course .block-container {
    padding: 0 15px 15px;
    border: 2px solid #b0d6cd;
    border-radius: 10px;
    color: #5a7771;
    background: #f7fdfc;
    margin-bottom: 20px;
}
.block-container h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #cee4df;
    padding-bottom: 6px;
    margin-bottom: 19px;
}

.block-container h3 svg {
    width: 18px;
    height: 18px;
    color: var(--judi-teal-bright);
    flex: 0 0 18px;
}
.course-toolbar { display: flex; align-items: center; gap: 16px; margin: 20px 0; }
.topic-list { list-style: none; padding: 0; margin: 0; }
.topic-list li { padding: 8px 0; border-bottom: 1px solid #e4eeeb; }
.topic-list a, .topic-list span { display: flex; align-items: center; gap: 8px; color: inherit; }
.topic-list .is-complete a { color: var(--judi-teal); }
.topic-list .is-locked span { color: #9aa7a4; }
.topic-list .is-current a { font-weight: 800; color: var(--judi-teal); }
.topic-nav-locked { color: #9aa7a4; }
.lesson-block { margin-bottom: 18px; }
.lesson-block:last-child { margin-bottom: 0; }
.block-container.final-exam-panel {
    padding: 18px 20px 20px;
    border-color: var(--judi-teal-bright);
    background: #fff;
}
.final-exam-panel__row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.final-exam-panel__mark {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #e9f6f2;
    color: var(--judi-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.final-exam-panel__mark svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.1;
}
.final-exam-panel__copy {
    min-width: 0;
    flex: 1;
}
.final-exam-panel h3 {
    border-bottom: 0;
    padding-bottom: 0;
    margin: 0 0 4px;
    color: var(--judi-ink);
}
.final-exam-panel__copy p {
    margin: 0;
    color: var(--judi-muted);
    font-size: 14px;
    line-height: 1.45;
}
.final-exam-panel .enroll-button {
    flex: 0 0 auto;
    margin: 0;
}
.final-exam-panel__locked {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f3f6f5;
    color: #7a8a86;
    font-size: 13px;
    font-weight: 800;
}
.final-exam-panel__locked svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
}
.final-exam-panel.is-complete {
    border-color: var(--judi-teal);
    background: #f7fdfc;
}
.final-exam-panel.is-complete .final-exam-panel__mark {
    background: var(--judi-teal);
    color: #fff;
}
.final-exam-panel__list {
    list-style: none;
    padding: 12px 0 0;
    margin: 14px 0 0;
    border-top: 1px solid var(--judi-line);
}
.final-exam-panel__list li { padding: 8px 0; }
.final-exam-panel__list a,
.final-exam-panel__list span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    font-weight: 700;
}
.final-exam-panel__list .is-complete a { color: var(--judi-teal); }
.final-exam-panel__list .is-locked span { color: #9aa7a4; }

.video-sample-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin: 16px 0 24px;
    background: #000;
}
.video-sample-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-sample-container.is-complete iframe {
    pointer-events: none;
    filter: brightness(0.28);
    transition: filter 0.45s ease;
}
.video-complete {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 20, 16, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.video-complete.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(0, 20, 16, 0.42);
    animation: video-complete-veil 0.45s ease forwards;
}
.video-complete__card {
    width: min(420px, 100%);
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translateY(28px) scale(0.92);
}
.video-complete.is-visible .video-complete__card {
    animation: video-complete-pop 0.55s cubic-bezier(0.22, 1.15, 0.36, 1) 0.08s forwards;
}
.video-complete__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #e9f6f2;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.6);
    opacity: 0;
}
.video-complete.is-visible .video-complete__icon {
    animation: video-complete-icon 0.45s cubic-bezier(0.22, 1.2, 0.36, 1) 0.18s forwards;
}
.video-complete__icon svg {
    width: 42px;
    height: 42px;
}
.video-complete__icon circle {
    fill: none;
    stroke: #b7e2d6;
    stroke-width: 2.5;
}
.video-complete__icon path {
    fill: none;
    stroke: #008f72;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
}
.video-complete.is-visible .video-complete__icon path {
    animation: video-complete-check 0.4s ease 0.42s forwards;
}
.video-complete__card h2 {
    margin: 0 0 8px;
    font-size: 22px;
    color: var(--judi-teal);
}
.video-complete.is-visible .video-complete__card h2 {
    animation: video-complete-copy 0.4s ease 0.28s both;
}
.video-complete__card p {
    margin: 0 0 18px;
    color: #4d4d4d;
    line-height: 1.5;
}
.video-complete.is-visible .video-complete__card p,
.video-complete.is-visible .video-complete__card .enroll-button {
    animation: video-complete-copy 0.4s ease 0.36s both;
}
.video-complete__card .enroll-button { margin: 0 auto; }

@keyframes video-complete-veil {
    from { background: rgba(0, 20, 16, 0); }
    to { background: rgba(0, 20, 16, 0.42); }
}
@keyframes video-complete-pop {
    0% { opacity: 0; transform: translateY(28px) scale(0.92); }
    70% { opacity: 1; transform: translateY(-6px) scale(1.03); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes video-complete-icon {
    0% { opacity: 0; transform: scale(0.6); }
    70% { opacity: 1; transform: scale(1.12); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes video-complete-check {
    to { stroke-dashoffset: 0; }
}
@keyframes video-complete-copy {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .video-complete.is-visible,
    .video-complete.is-visible .video-complete__card,
    .video-complete.is-visible .video-complete__icon,
    .video-complete.is-visible .video-complete__icon path,
    .video-complete.is-visible .video-complete__card h2,
    .video-complete.is-visible .video-complete__card p,
    .video-complete.is-visible .video-complete__card .enroll-button {
        animation: none;
        opacity: 1;
        transform: none;
        visibility: visible;
    }
    .video-complete.is-visible .video-complete__icon path {
        stroke-dashoffset: 0;
    }
}

.topic-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}
.topic-steps li {
    display: flex;
    align-items: center;
}
.topic-steps a,
.topic-steps__row {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #9e9e9e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}
.topic-steps a:hover {
    color: var(--judi-teal);
}
.topic-steps__num {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #c4c4c4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}
.topic-steps__num svg {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}
.topic-steps li.is-current .topic-steps__num,
.topic-steps li.is-done .topic-steps__num,
.topic-steps li.is-ready .topic-steps__num {
    background: var(--judi-teal);
}
.topic-steps li.is-current .topic-steps__label,
.topic-steps li.is-done .topic-steps__label,
.topic-steps li.is-ready .topic-steps__label {
    color: var(--judi-teal);
}
.topic-next-hint {
    margin: 8px 0 24px;
    color: var(--judi-muted);
}
.topic-next-step { margin: 8px 0 24px; }
.topic-quiz-lead { margin: 0 0 20px; color: #4d4d4d; }

.entry-content { line-height: 1.7; color: #353535; }
.entry-content p { margin: 0 0 1em; }

.topic-quiz { margin: 32px 0; padding: 24px; background: #f7fdfc; border: 1px solid #b0d6cd; border-radius: 16px; }
.quiz-progress { margin: 0 0 22px; }
.quiz-progress span {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #049f82;
    margin-bottom: 10px;
}
.quiz-progress__dots {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}
.quiz-progress__dots li {
    flex: 1;
    min-width: 0;
}
.quiz-progress__dot {
    display: block;
    width: 100%;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: #d5e4e0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}
.quiz-progress__dot:hover,
.quiz-progress__dot:focus-visible {
    background: #a7d8cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(4, 159, 130, 0.18);
}
.quiz-progress__dot.is-done { background: #8fd4c4; }
.quiz-progress__dot.is-current { background: #049f82; transform: scaleY(1.35); }
.quiz-stage { position: relative; }
.quiz-question { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.quiz-question legend {
    font-weight: 800;
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 16px;
    color: #222;
}
.quiz-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 10px;
    padding: 14px 16px;
    border: 1px solid #d5e4e0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.quiz-option:hover {
    border-color: #049f82;
    background: #f4fbf9;
    transform: translateY(-1px);
}
.quiz-option:has(input:checked) {
    border-color: #049f82;
    background: #e9f6f2;
    box-shadow: 0 0 0 3px rgba(4, 159, 130, 0.16);
}
.quiz-option input { margin-top: 3px; accent-color: #049f82; }
.quiz-option span { font-weight: 600; color: #2b2b2b; }
.quiz-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 18px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #b0d6cd;
    color: var(--judi-ink);
}
.quiz-timer__label {
    font-size: 13px;
    font-weight: 700;
    color: var(--judi-muted);
}
.quiz-timer__value {
    font-size: 18px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}
.quiz-timer.is-urgent {
    border-color: #c2410c;
    background: #fff7ed;
    color: #9a3412;
}
.quiz-status {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}
.quiz-status__icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quiz-status__icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.2;
}
.quiz-status__copy { flex: 1; min-width: 0; }
.quiz-status__title {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}
.quiz-status__text {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    opacity: 0.88;
}
.quiz-status__score {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.1;
}
.quiz-status__score-value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.quiz-status__score-label {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.75;
}
.quiz-status.is-pass {
    background: #e7f8f3;
    border-color: #9ad9c8;
    color: #0b6b58;
}
.quiz-status.is-pass .quiz-status__icon {
    background: #008f72;
    color: #fff;
}
.quiz-status.is-fail {
    background: #fff1f1;
    border-color: #f5b5b5;
    color: #9b2c2c;
}
.quiz-status.is-fail .quiz-status__icon {
    background: #e11d48;
    color: #fff;
}
@media (max-width: 640px) {
    .quiz-status { align-items: flex-start; }
    .quiz-status__score { align-items: flex-start; }
}
.topic-quiz.is-stepped .quiz-stage {
    display: grid;
}
.topic-quiz.is-stepped .quiz-question {
    grid-area: 1 / 1;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(36px);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
}
.topic-quiz.is-stepped .quiz-question.is-current {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    z-index: 1;
}
.topic-quiz.is-stepped .quiz-question.is-enter-right { transform: translateX(36px); }
.topic-quiz.is-stepped .quiz-question.is-enter-left { transform: translateX(-36px); }
.topic-quiz.is-stepped .quiz-question.is-leave-left {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-36px);
}
.topic-quiz.is-stepped .quiz-question.is-leave-right {
    opacity: 0;
    visibility: hidden;
    transform: translateX(36px);
}
@media (prefers-reduced-motion: reduce) {
    .quiz-option, .quiz-progress__dot,
    .topic-quiz.is-stepped .quiz-question {
        transition: none;
        transform: none !important;
    }
}
.topic-notes {
    margin: 28px 0;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #e4eeeb;
    border-radius: 12px;
}
.topic-notes h2 { margin: 0 0 6px; font-size: 20px; }
.topic-notes p { margin: 0 0 14px; color: #676767; }
.topic-notes textarea {
    width: 100%;
    min-height: 160px;
    border: 1px solid #d5e4e0;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    line-height: 1.6;
    resize: vertical;
    background: #f7fbfa;
}
.topic-notes textarea:focus {
    outline: none;
    border-color: #049f82;
    box-shadow: 0 0 0 3px rgba(4, 159, 130, 0.15);
    background: #fff;
}
.topic-notes__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}
.topic-notes__status { color: #049f82; font-size: 14px; font-weight: 700; }
.topic-nav { display: flex; justify-content: space-between; gap: 16px; margin: 28px 0; }

body.judi-account-page { background: #f4f7f6; }
.judi-login { display: flex; justify-content: center; padding: 48px 0 80px; }
.judi-account { padding: 8px 0 72px; }
.judi-login__card, .judi-account__card {
    width: 100%;
    background: #fff;
    border: 1px solid #e4eeeb;
    border-radius: 16px;
    box-shadow: 0 10px 32px rgba(4, 159, 130, 0.08);
}
.judi-login__card {
    max-width: 460px;
    padding: 40px 36px 32px;
}
.judi-login h1 { text-align: center; margin: 0 0 8px; font-size: 32px; }
.judi-account__intro h1 {
    margin: 0 0 4px;
    font-size: 28px;
    font-weight: 800;
    color: var(--judi-ink);
}
.judi-account__intro p {
    margin: 0 0 22px;
    color: var(--judi-muted);
}
.judi-account__nudge {
    display: inline-flex;
    align-items: center;
    margin: 12px 0 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff7e8;
    color: #9a6700;
    font-size: 13px;
    font-weight: 800;
}
.judi-account__nudge--inline {
    margin: 0 0 14px;
}
.judi-account__card {
    display: grid;
    grid-template-columns: 230px 1fr;
    overflow: hidden;
    min-height: 560px;
}
.judi-account__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 14px;
    background: #fbfdfc;
    border-right: 1px solid var(--judi-line);
}
.judi-account__nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.judi-account__nav a,
.judi-account__nav-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    color: #454545;
    font: inherit;
    font-weight: 700;
    font-size: 14px;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    position: relative;
}
.judi-account__nav a.has-alert {
    padding-right: 28px;
}
.judi-account__nav a .avatar-alert {
    position: absolute;
    top: 8px;
    right: 8px;
}
.judi-account__nav a svg,
.judi-account__nav-logout svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
    flex: 0 0 16px;
}
.judi-account__nav a:hover,
.judi-account__nav-logout:hover {
    background: #eef6f3;
    color: var(--judi-teal);
}
.judi-account__nav a.is-active {
    background: #e7f6f2;
    color: var(--judi-teal);
}
.judi-account__nav-foot {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--judi-line);
}
.judi-account__nav-foot form { width: 100%; }
.judi-account__nav a.judi-account__nav-danger,
.judi-account__nav-logout { color: #9b2c2c; }
.judi-account__nav a.judi-account__nav-danger:hover,
.judi-account__nav a.judi-account__nav-danger.is-active,
.judi-account__nav-logout:hover {
    background: #fdecec;
    color: #9b2c2c;
}
.judi-account__body {
    padding: 28px 32px 32px;
    min-width: 0;
}
.judi-account__section {
    padding: 22px 0;
    border-bottom: 1px solid #edf4f2;
}
.judi-account__section:first-child { padding-top: 0; }
.judi-account__section:last-child { border-bottom: 0; padding-bottom: 0; }
.judi-account__section--danger h2 { color: #9b2c2c; }
.judi-account__section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.judi-account__section-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}
.judi-account__edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #676767 !important;
    font-weight: 700;
    font-size: 14px;
    margin-left: auto;
    flex: 0 0 auto;
}
.judi-account__edit svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
}
.judi-account__edit:hover { color: var(--judi-teal) !important; }
.judi-account__profile-head {
    display: flex;
    align-items: center;
    gap: 16px;
}
.judi-account__avatar {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--judi-teal);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    flex: 0 0 72px;
}
.judi-account__avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.judi-account__avatar[for] {
    cursor: pointer;
}
.judi-account__avatar[for]:hover,
.judi-account__avatar.is-preview {
    box-shadow: 0 0 0 3px rgba(4, 159, 130, 0.45);
}
.judi-account__avatar img[hidden],
.judi-account__avatar [data-avatar-initials][hidden] {
    display: none;
}
.judi-account__identity { min-width: 0; }
.judi-account__identity h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
}
.judi-account__identity p {
    margin: 0;
    color: var(--judi-muted);
    font-size: 14px;
    overflow-wrap: anywhere;
}
.judi-account__avatar-edit {
    margin-top: 10px;
}
.judi-account__avatar-edit .judi-account__hint {
    margin: 6px 0 0;
}
.judi-account__hint--error { color: #9b2c2c; }
.judi-account__remove-photo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    color: #848484;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.judi-account__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 32px;
    margin: 0;
}
.judi-account__grid dt {
    color: #848484;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 4px;
}
.judi-account__grid dd {
    margin: 0;
    font-weight: 700;
    color: #1a1a1a;
}
.judi-account__panel .path-course { margin-bottom: 10px; }
.judi-account__edit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 8px 0 0;
    padding-top: 18px;
}
.judi-account__inline-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.judi-account__inline-label {
    display: block;
    color: #848484;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 4px;
}
.judi-account__inline-field strong {
    font-size: 16px;
    overflow-wrap: anywhere;
}
.judi-account__text-link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--judi-teal);
    cursor: pointer;
    flex: 0 0 auto;
    text-decoration: none;
}
.judi-account__text-link:hover {
    text-decoration: underline;
}
.judi-account__text-link--danger {
    color: #9b2c2c;
}
.judi-account__text-link--danger:hover { color: #7f1d1d; }
.judi-modal .judi-account__button--danger { width: 100%; }
.judi-modal .judi-account__setting {
    border-bottom: 0;
    padding: 4px 0 8px;
}
.judi-modal .judi-login__notice { margin: 0; }
.judi-modal {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: calc(100% - 32px);
}
.judi-modal::backdrop {
    background: rgba(17, 24, 22, 0.45);
}
.judi-modal__card {
    position: relative;
    width: min(420px, 100%);
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}
.judi-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: none;
    font-size: 28px;
    line-height: 1;
    color: #676767;
    cursor: pointer;
}
.judi-modal__close:hover { color: var(--judi-ink); }
.judi-modal h2 {
    margin: 0 0 8px;
    font-size: 22px;
    text-align: left;
}
.judi-modal__lead {
    margin: 0 0 16px;
    color: var(--judi-muted);
    font-size: 14px;
    line-height: 1.5;
}
.judi-modal .judi-account__email-form .judi-account__button {
    width: 100%;
}
.judi-modal__digits {
    display: none;
    gap: 10px;
    margin: 0 0 16px;
}
.judi-modal.has-js .judi-modal__digits { display: flex; }
.judi-modal.has-js .judi-login__code {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.judi-modal__digits input {
    flex: 1;
    width: 56px;
    height: 56px;
    border: 1px solid #d5e4e0;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    font-family: inherit;
    background: #fff;
}
.judi-modal__digits input:focus {
    outline: none;
    border-color: #049f82;
    box-shadow: 0 0 0 3px rgba(4, 159, 130, 0.15);
}
body.judi-modal-open { overflow: hidden; }
.judi-account__email-form {
    display: grid;
    gap: 10px;
}
.judi-account__email-form label { font-weight: 600; font-size: 13px; }
.judi-account__email-form input[type="email"] {
    width: 100%;
    border: 1px solid #d5e4e0;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
}
.judi-account__email-form .judi-login__code { margin-bottom: 0; }
.judi-account__email-links {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}
.judi-login__lead { text-align: center; color: var(--judi-muted); margin: 0 0 28px; }
.judi-login__notice { padding: 12px 14px; border-radius: 10px; margin-bottom: 20px; }
.judi-login__notice--error { background: #fdecec; color: #9b2c2c; }
.judi-login__notice--info { background: #e9f6f2; }
.judi-login__form label { display: block; margin-bottom: 8px; font-weight: 600; }
.judi-login__form input[type="email"], .judi-login__code {
    width: 100%;
    border: 1px solid #d5e4e0;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 16px;
    margin-bottom: 16px;
    font-family: inherit;
}
.judi-login__code { text-align: center; letter-spacing: 0.45em; font-size: 28px; font-weight: 700; }
.judi-login__form button[type="submit"] {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 14px 16px;
    background: var(--judi-green);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
.judi-login__form button[type="submit"]:hover { background: var(--judi-teal); }
.judi-login__resend { margin-top: 18px; display: flex; justify-content: space-between; }
.judi-login__linkbtn, .judi-login__alt a {
    color: var(--judi-teal-bright);
    background: none;
    border: 0;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.judi-login__alt { text-align: center; color: var(--judi-muted); font-size: 14px; }
.judi-account__form { margin: 0; }
.judi-account__form > p { margin: 0 0 16px; }
.judi-account__form fieldset {
    border: 0;
    margin: 0 0 22px;
    padding: 0;
}
.judi-account__form legend {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 12px;
}
.judi-account__form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}
.judi-account__form-grid p { margin: 0; }
.judi-account__form label,
.judi-account__form-grid label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
}
.judi-account__form input,
.judi-account__form select,
.judi-account__form-grid input,
.judi-account__form-grid select {
    width: 100%;
    border: 1px solid #d5e4e0;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
}
.judi-account__form input:focus,
.judi-account__form select:focus,
.judi-account__form-grid input:focus,
.judi-account__form-grid select:focus {
    outline: none;
    border-color: #049f82;
    box-shadow: 0 0 0 3px rgba(4, 159, 130, 0.15);
}
.judi-student__about { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.judi-student__about > div { display: grid; gap: 2px; }
.judi-student__about dt { color: #848484; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.judi-student__about dd { margin: 0; font-weight: 600; }
.judi-account__button {
    display: inline-block;
    background: var(--judi-green);
    color: #fff !important;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    border: 0;
    font: inherit;
    cursor: pointer;
}
.judi-account__button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}
.judi-account__button--ghost {
    background: transparent;
    color: var(--judi-teal-bright) !important;
    border: 1px solid var(--judi-teal-bright);
}
.judi-account__button--danger {
    background: #c53030;
    color: #fff !important;
}
.judi-account__button--danger:hover { background: #9b2c2c; }
.judi-account__hint {
    color: var(--judi-muted);
    font-size: 14px;
    margin: 12px 0 16px;
    line-height: 1.5;
}
.judi-account__setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #edf4f2;
    cursor: pointer;
}
.judi-account__setting span {
    display: grid;
    gap: 4px;
}
.judi-account__setting strong {
    font-size: 15px;
}
.judi-account__setting span span {
    color: var(--judi-muted);
    font-size: 13px;
    font-weight: 500;
}
.judi-account__setting input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--judi-teal);
    flex: 0 0 18px;
}

.page-hero {
    background: var(--judi-paper);
    padding: 0;
    text-align: center;
}

.page-hero .site-container {
    padding: 32px 0;
}

.page-hero .entry-title {
    font-size: 32px;
    line-height: 1.5;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.page-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: #454545;
    font-size: 12px;
    font-weight: 700;
    margin: 13.6px 0;
}

.page-breadcrumbs a { color: #454545; font-weight: 700; }
.page-breadcrumbs a:hover { color: var(--judi-teal); }
.bc-delimiter {
    margin: 0 6px;
    font-weight: 700;
    color: #9e9e9e;
}

body.page-contact .content-area { margin-top: 2.25rem; }

.judi-contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
    gap: 36px;
    align-items: start;
}

.judi-contact__lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #454545;
    margin: 0 0 8px;
}

.judi-contact__note {
    color: var(--judi-muted);
    font-size: 0.95rem;
    margin: 0 0 22px;
}

.judi-contact__cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
}

.judi-contact__card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e4eeeb;
    border-radius: 14px;
    text-decoration: none;
    color: var(--judi-ink);
    box-shadow: 0 8px 22px rgba(4, 159, 130, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.judi-contact__card:hover,
.judi-contact__card:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(4, 159, 130, 0.1);
    color: var(--judi-teal);
}

.judi-contact__card svg {
    width: 20px;
    height: 20px;
    color: var(--judi-teal-bright);
    flex: 0 0 20px;
}

.judi-contact__card strong {
    display: block;
    font-size: 15px;
    line-height: 1.3;
}

.judi-contact__card span {
    display: block;
    color: var(--judi-muted);
    font-size: 14px;
}

.judi-contact__form {
    position: relative;
    margin: 0;
    background: #fff;
    border: 1px solid #e4eeeb;
    border-radius: 16px;
    padding: 28px 28px 18px;
    box-shadow: 0 10px 32px rgba(4, 159, 130, 0.08);
}

.judi-contact__form fieldset {
    border: 0;
    margin: 0 0 16px;
    padding: 0;
}

.judi-contact__form legend,
.judi-contact__field > label {
    display: block;
    font-weight: 600;
    color: #353535;
    margin-bottom: 8px;
}

.req { color: #d63637; }

.judi-contact__name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.judi-contact__name-row label {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--judi-muted);
}

.judi-contact__field { margin-bottom: 16px; }

.judi-contact__form input[type="text"],
.judi-contact__form input[type="email"],
.judi-contact__form textarea {
    width: 100%;
    border: 1px solid #d5e4e0;
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
    font: inherit;
    font-size: 16px;
}

.judi-contact__form input[type="text"]:focus,
.judi-contact__form input[type="email"]:focus,
.judi-contact__form textarea:focus {
    outline: 0;
    border-color: #049f82;
    box-shadow: 0 0 0 3px rgba(4, 159, 130, 0.15);
}

.judi-contact__form textarea { min-height: 140px; resize: vertical; }

.judi-contact__form button[type="submit"] {
    background: #049f82;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 12px 22px;
    min-width: 140px;
    cursor: pointer;
}

.judi-contact__form button[type="submit"]:hover { background: #008f72; }

.field-error { color: #c53030; font-size: 13px; margin: 6px 0 0; }

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-area .flash-notice { margin-bottom: 20px; }

.page-content .entry-content {
    max-width: 860px;
    margin: 0 auto;
}
.page-content .entry-content h2,
.page-content .entry-content h3 {
    color: #222;
    margin: 1.6em 0 0.6em;
}
.page-content .entry-content ul,
.page-content .entry-content ol {
    margin: 0 0 1em 1.25em;
}
.page-content .entry-content a { color: var(--judi-teal); }
.page-content .entry-content a:hover { color: var(--judi-teal-dark, #008f72); }

.judi-legal {
    max-width: 760px;
}
.judi-legal__updated {
    color: var(--judi-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 18px;
}
.judi-legal__lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #454545;
    margin: 0 0 1.4em;
}
.judi-legal h2 {
    font-size: 1.15rem;
    font-weight: 800;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.site-footer {
    background: #353535;
    color: #f7f7f7;
    padding: 30px 0 0;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px 60px;
    padding-bottom: 12px;
}
.footer-brand p { margin: 0; }
.site-footer h2 {
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 16px;
}
.footer-brand h2 {
    font-size: 18px;
    letter-spacing: 0;
    text-transform: none;
    color: #f7f7f7;
}
.site-footer p { color: #f7f7f7; line-height: 1.7; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: #f7f7f7; }
.site-footer a:hover { color: #2fbb6d; }
.footer-social { display: flex; gap: 0.3em; margin-top: 16px; }
.social-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2fbb6d;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.social-button svg { width: 16px; height: 16px; }
.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 12px;
    padding: 22px 0;
    font-size: 14px;
}
.footer-copy__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}
.footer-copy p { margin: 0; color: #cfcfcf; }
.footer-copy nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}
.footer-copy nav a {
    color: #cfcfcf;
    font-size: 13px;
    font-weight: 600;
}
.footer-copy nav a:hover { color: #2fbb6d; }

@media (max-width: 980px) {
    .hero, .feature-cards, .welcome-inner, .sample-row {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 40px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .how-it-works .steps { grid-template-columns: 1fr; }
    .step-arrow { transform: rotate(90deg); justify-content: center; }
    .judi-academy-tag-col { flex-basis: 100%; }
    .pre-course .left-column, .pre-course .right-column { flex-basis: 100%; }
    .sample-play { display: none; }
}

@media (max-width: 781px) {
    .judi-contact__grid {
        gap: 24px;
        grid-template-columns: 1fr;
    }
    .judi-contact__form { padding: 22px 18px 14px; }
}

@media (max-width: 768px) {
    .site-header-inner { grid-template-columns: 1fr auto; }
    .header-navigation { display: none; }
    .mobile-toggle { display: inline-flex; }
    .hero { min-height: 0; background-position: 70% center; }
    .hero-copy { padding: 48px 0 40px; max-width: none; }
    .welcome-inner, .feature-cards, .footer-grid, .sample-row, .judi-contact__grid, .judi-contact__name-row { grid-template-columns: 1fr; }
    .course-grid { grid-template-columns: repeat(2, 1fr); }
    .final-exam-panel__row {
        flex-wrap: wrap;
    }
    .final-exam-panel .enroll-button,
    .final-exam-panel__locked {
        margin-left: 68px;
    }
    .judi-account__card {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .judi-account__nav {
        border-right: 0;
        border-bottom: 1px solid var(--judi-line);
        padding: 14px;
    }
    .judi-account__nav-list {
        flex-direction: row;
        overflow-x: auto;
    }
    .judi-account__nav a { white-space: nowrap; }
    .judi-account__nav-foot {
        margin-top: 8px;
        padding-top: 8px;
        flex-direction: row;
        align-items: center;
    }
    .judi-account__nav-foot form { width: auto; }
    .judi-account__body { padding: 22px 18px 24px; }
    .judi-account__grid,
    .judi-account__form-grid, .judi-student__about {
        grid-template-columns: 1fr;
        flex-wrap: wrap;
    }
    .judi-account__profile-head { flex-wrap: wrap; }
    .quiz-question legend { font-size: 20px; }
    .topic-quiz { padding: 18px 16px; }
    .foundation-band h2 { font-size: 1.9em; }
    .how-it-works article { margin-top: 50px; }
    .course-status-bar {
        flex-direction: column;
        padding: 8px 0;
    }
    .course-status-bar__seg {
        width: 100%;
        border-right: 0;
        border-bottom: 2px solid #bec5cb;
        padding: 16px 1em;
    }
    .course-status-bar__seg:last-child { border-bottom: 0; }
}

.maintenance-banner {
    background: #c45c26;
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
}
.page-maintenance {
    min-height: 100vh;
    background: #f7f7f7;
}
.maintenance-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}
.maintenance-card {
    max-width: 480px;
    text-align: center;
    background: #fff;
    border: 1px solid #e4eeeb;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 10px 32px rgba(4, 159, 130, 0.08);
}
.maintenance-card img {
    max-width: 220px;
    height: auto;
    margin-bottom: 20px;
}
.maintenance-card h1 {
    font-size: 1.8em;
    margin: 0 0 12px;
}
.maintenance-card p {
    color: #676767;
    line-height: 1.7;
}
.maintenance-card a { color: #049f82; font-weight: 700; }
.maintenance-login { margin-top: 20px; }

@media (max-width: 480px) {
    .course-grid { grid-template-columns: 1fr; }
}
