/* =======================================================
   Learning Room Page
======================================================= */

.learning-room{
    height:calc(100vh - 88px);
    margin-top:0;
    background:#f5f7fb;
    display:grid;
    grid-template-columns:340px minmax(0,1fr);
    overflow:hidden;
}

.learning-nav{
    height:calc(100vh - 88px);
    overflow-y:auto;
    background:
        radial-gradient(circle at top left,rgba(37,99,235,.28),transparent 35%),
        linear-gradient(180deg,#020617,#0f172a);
    color:white;
    padding:28px;
    box-sizing:border-box;
}

.learning-content{
    height:calc(100vh - 88px);
    overflow-y:auto;
    padding:34px;
    min-width:0;
}


.learning-brand-card{
    padding-bottom:26px;
    border-bottom:1px solid rgba(255,255,255,.12);
    margin-bottom:24px;
}

.learning-kicker{
    display:inline-block;
    color:#93c5fd;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.1em;
    margin-bottom:12px;
}

.learning-kicker.dark{
    color:#2563eb;
    background:#eff6ff;
    padding:7px 12px;
    border-radius:999px;
    margin-bottom:14px;
}

.learning-brand-card h2{
    font-family:var(--font-heading);
    font-size:28px;
    line-height:1.15;
    margin:0 0 12px;
}

.learning-brand-card p{
    color:#cbd5e1;
    line-height:1.6;
    margin:0 0 20px;
}

.learning-chat-btn,
.learning-chat-mobile{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    background:#2563eb;
    color:white;
    text-decoration:none;
    border-radius:14px;
    padding:13px 16px;
    font-weight:900;
}

.learning-chat-btn{
    width:100%;
    box-sizing:border-box;
}

.learning-chat-mobile{
    display:none;
    white-space:nowrap;
}

.learning-modules-card{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.1);
    border-radius:24px;
    padding:18px;
}

.modules-heading{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:16px;
}

.modules-heading span{
    color:#bfdbfe;
    font-size:13px;
    font-weight:900;
    text-transform:uppercase;
}

.modules-heading strong{
    color:white;
    font-size:13px;
}

.learning-module-list{
    list-style:none;
    padding:0;
    margin:0;
    display:grid;
    gap:10px;
}

.learning-module-list li{
    border-radius:18px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    transition:.22s ease;
}

.learning-module-list li:hover{
    background:rgba(255,255,255,.11);
}

.learning-module-list li.active{
    background:white;
    box-shadow:0 18px 45px rgba(0,0,0,.18);
}

.learning-module-list a{
    display:block;
    padding:15px;
    text-decoration:none;
    color:white;
}

.learning-module-list li.active a{
    color:#0f172a;
}

.learning-module-list span{
    display:block;
    color:#93c5fd;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    margin-bottom:5px;
}

.learning-module-list li.active span{
    color:#2563eb;
}

.learning-module-list strong{
    display:block;
    line-height:1.35;
    font-size:15px;
}

.empty-module{
    padding:15px;
    color:#cbd5e1;
}

/* RIGHT CONTENT */


.learning-topbar{
    background:white;
    border:1px solid #e2e8f0;
    border-radius:30px;
    padding:30px;
    margin-bottom:24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    box-shadow:0 18px 45px rgba(15,23,42,.08);
}

.learning-topbar h1{
    font-family:var(--font-heading);
    font-size:42px;
    line-height:1.1;
    color:#0f172a;
    margin:0 0 8px;
}

.learning-topbar p{
    color:#64748b;
    margin:0;
}

.lesson-reader{
    background:white;
    border:1px solid #e2e8f0;
    border-radius:30px;
    padding:38px;
    box-shadow:0 18px 45px rgba(15,23,42,.08);
}

.lesson-section{
    padding-bottom:34px;
    margin-bottom:34px;
    border-bottom:1px solid #e2e8f0;
}

.lesson-section:last-child{
    padding-bottom:0;
    margin-bottom:0;
    border-bottom:none;
}

.lesson-heading{
    margin-bottom:22px;
}

.lesson-heading span{
    display:inline-block;
    color:#2563eb;
    background:#eff6ff;
    padding:7px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    margin-bottom:12px;
}

.lesson-heading h2{
    font-family:var(--font-heading);
    font-size:32px;
    color:#0f172a;
    margin:0;
}

.lesson-body{
    max-width:900px;
    color:#334155;
    line-height:1.85;
    font-size:17px;
}

.lesson-body p{
    margin-bottom:18px;
}

.lesson-body h1,
.lesson-body h2,
.lesson-body h3{
    color:#0f172a;
    font-family:var(--font-heading);
}

.lesson-body img,
.lesson-body video,
.lesson-body iframe{
    max-width:100%;
    border-radius:20px;
    box-shadow:0 18px 45px rgba(15,23,42,.1);
}

.lesson-body iframe{
    width:100%;
    min-height:420px;
}

.empty-content{
    text-align:center;
    padding:60px 20px;
    color:#64748b;
}

.empty-content div{
    font-size:54px;
    margin-bottom:16px;
}

.empty-content h2{
    font-family:var(--font-heading);
    font-size:34px;
    color:#0f172a;
    margin:0 0 8px;
}

.empty-content p{
    margin:0;
}
@media(max-width:1000px){
    .learning-room{
        height:auto;
        display:block;
        overflow:visible;
    }

    .learning-nav{
        height:auto;
        overflow:visible;
    }

    .learning-content{
        height:auto;
        overflow:visible;
        padding:24px;
    }

    .learning-chat-btn{
        display:none;
    }

    .learning-chat-mobile{
        display:inline-flex;
    }
}

/* MOBILE */
@media(max-width:650px){
    .learning-nav{
        padding:20px;
    }

    .learning-content{
        padding:18px;
    }

    .learning-topbar{
        flex-direction:column;
        align-items:flex-start;
        padding:24px;
        border-radius:24px;
    }

    .learning-topbar h1{
        font-size:32px;
    }

    .lesson-reader{
        padding:24px;
        border-radius:24px;
    }

    .lesson-heading h2{
        font-size:26px;
    }

    .lesson-body{
        font-size:16px;
    }
}