
/*==========================
STUDY MATERIAL DETAILS
==========================*/

.material-details{
    padding:80px 0;
    background:#F8FAFC;
}

.material-wrapper{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:50px;
    align-items:start;
}

.material-image img{
    width:100%;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,.10);
}

.material-content{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.06);
}

.material-content h1{
    font-size:38px;
    margin-bottom:20px;
    color:#0F172A;
}

.material-subject{
    color:#2563EB;
    font-weight:600;
    margin-bottom:20px;
}

.material-description{
    color:#64748B;
    line-height:1.9;
    margin-bottom:30px;
}

.material-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.download-btn{
    background:#2563EB;
    color:#fff;
    padding:15px 30px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
}

.download-btn:hover{
    background:#1D4ED8;
    color:#fff;
}

.badge-free{
    display:inline-block;
    padding:8px 18px;
    background:#DCFCE7;
    color:#15803D;
    border-radius:30px;
    font-weight:600;
}

.badge-premium{
    display:inline-block;
    padding:8px 18px;
    background:#FEF3C7;
    color:#B45309;
    border-radius:30px;
    font-weight:600;
}

@media(max-width:992px){

    .material-wrapper{
        grid-template-columns:1fr;
    }

    .material-content{
        padding:30px;
    }

    .material-content h1{
        font-size:30px;
    }

}

/* PDF Information */

.material-info{
    margin-top:50px;
    padding-top:35px;
    border-top:1px solid #E5E7EB;
}

.material-info h3{
    font-size:24px;
    margin-bottom:25px;
    color:#0F172A;
}

.info-table{
    width:100%;
    border-collapse:collapse;
}

.info-table tr{
    border-bottom:1px solid #EDF2F7;
}

.info-table td{
    padding:16px 0;
    color:#475569;
}

.info-table td:first-child{
    width:180px;
    font-weight:600;
    color:#0F172A;
}

/*=========================================
RELATED MATERIALS
=========================================*/

.related-materials{
    padding:70px 0;
    background:#F8FAFC;
}

.related-materials h2{
    text-align:center;
    font-size:32px;
    margin-bottom:40px;
    color:#0F172A;
}

.related-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.related-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.related-card:hover{
    transform:translateY(-5px);
}

.related-card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.related-card h3{
    font-size:20px;
    padding:20px 20px 10px;
    color:#0F172A;
}

.related-card p{
    padding:0 20px;
    color:#64748B;
    margin-bottom:20px;
}

.view-btn{
    display:block;
    margin:20px;
    text-align:center;
    padding:12px;
    background:#2563EB;
    color:#fff;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
}

.view-btn:hover{
    background:#1D4ED8;
}

