/*
|--------------------------------------------------------------------------
| KELAS DETAIL
|--------------------------------------------------------------------------
*/

.class-detail-page{

    padding:60px 0;

}

.class-back{

    display:inline-flex;

    gap:10px;

    align-items:center;

    margin-bottom:30px;

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

}

.class-detail-card{

    display:grid;

    grid-template-columns:280px 1fr;

    gap:45px;

    align-items:center;

    background:#fff;

    border-radius:24px;

    padding:40px;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

}

.class-teacher{

    text-align:center;

}

.class-teacher img{
    width:260px;
    height:340px;

    object-fit:cover;
    object-position:center top;

    display:block;
    margin:auto;

    border-radius:24px;
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.class-content h1{

    margin:0;

    color:var(--primary);

    font-size:48px;

}

.class-content>p{

    margin:15px 0;

    font-size:20px;

    color:#666;

}

.class-content>p a{

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

}

.class-badge{

    margin:25px 0;

}

.class-badge span{

    display:inline-flex;

    gap:10px;

    align-items:center;

    padding:10px 20px;

    border-radius:50px;

    background:var(--primary);

    color:#fff;

}

.class-description h3{

    margin-bottom:15px;

    font-size:28px;

}

.class-description p{

    color:#555;

    line-height:1.8;

}

.class-students{

    margin-top:60px;

}

.class-students h2{

    margin-bottom:25px;

}

.student-preview{

    display:flex;

    gap:30px;

    align-items:flex-start;

    flex-wrap:wrap;

}

.student-mini{

    width:110px;

    text-decoration:none;

    color:#222;

    text-align:center;

}

.student-mini img{

    width:90px;

    height:90px;

    border-radius:50%;

    object-fit:cover;

    margin:auto;

    display:block;

    box-shadow:0 8px 20px rgba(0,0,0,.12);

    transition:.3s;

}

.student-mini:hover img{

    transform:scale(1.08);

}

.student-mini div{

    margin-top:10px;

    font-weight:600;

}

.student-more{

    width:90px;

    height:90px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--primary);

    color:#fff;

    text-decoration:none;

    font-size:20px;

    font-weight:700;

}

.student-more:hover{

    background:var(--secondary);

}

@media(max-width:900px){

.class-detail-card{

grid-template-columns:1fr;

text-align:center;

}

.class-teacher img{

width:220px;

height:280px;

}

.student-preview{

justify-content:center;

}

}

@media(max-width:768px){

.class-detail-page{

padding:35px 0;

}

.class-content h1{

font-size:34px;

}

.class-description h3{

font-size:24px;

}

}