

/* ==========================================================
   Faculty Profile Card
   ========================================================== */

.faculty-profile-card{
    border:0;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    overflow:hidden;
    margin-bottom:30px;
}

.faculty-header{
    background:linear-gradient(135deg,#0d6efd,#224abe);
    color:#fff;
    padding:18px 25px;
}

.faculty-header h2{
    margin:0;
    font-size:1.75rem;
    font-weight:700;
}

.faculty-body{
    padding:25px;
}

.faculty-photo{

    width:220px;
    height:260px;

    object-fit:cover;

    border-radius:10px;

    border:4px solid #fff;

    box-shadow:0 3px 8px rgba(0,0,0,.15);
}

.info-table{

    width:100%;
}

.info-table td{

    padding:8px 10px;

    vertical-align:top;

    border-bottom:1px solid #ececec;
}

.info-table td:first-child{

    width:180px;

    font-weight:600;

    color:#0d6efd;
}

.research-box{

    background:#f8f9fa;

    border-left:4px solid #0d6efd;

    padding:15px;

    margin-top:20px;

    border-radius:6px;
}

.research-box h5{

    margin-bottom:10px;

    color:#0d6efd;
}

.faculty-icon{

    color:#0d6efd;

    margin-right:6px;
}

@media(max-width:768px){

    .faculty-photo{

        width:170px;

        height:210px;

        margin-bottom:20px;
    }

    .info-table td:first-child{

        width:120px;
    }

}

/* ==========================================================
   Projects Section
   ========================================================== */

.project-section{

    margin-top:35px;
}

.project-header{

    background:linear-gradient(135deg,#198754,#146c43);
    color:#fff;
    padding:15px 20px;
    border-radius:10px 10px 0 0;
}

.project-header h3{

    margin:0;
    font-size:1.40rem;
    font-weight:600;
}

.project-wrapper{

    border:1px solid #dee2e6;
    border-top:none;
    border-radius:0 0 10px 10px;
    padding:25px;
    background:#fff;
}

.project-card{

    border-left:5px solid #198754;
    background:#f8f9fa;
    border-radius:8px;
    padding:18px;
    margin-bottom:20px;
    transition:.25s;
}

.project-card:hover{

    transform:translateY(-2px);

    box-shadow:0 4px 10px rgba(0,0,0,.08);
}

.project-title{

    font-size:1.1rem;

    font-weight:600;

    color:#198754;

    margin-bottom:12px;
}

.project-meta{

    margin-bottom:6px;
}

.project-meta strong{

    display:inline-block;

    width:250px;
}

.project-status{

    padding:4px 10px;

    border-radius:20px;

    font-size:.85rem;

    font-weight:600;
}

.project-ongoing{

    background:#d1e7dd;

    color:#146c43;
}

.project-completed{

    background:#e2e3e5;

    color:#444;
}

.section-subheading{

    margin-top:15px;

    margin-bottom:18px;

    font-size:1.20rem;

    color:#0d6efd;

    font-weight:600;
}



/* ==========================================================
   Publications Section
   ========================================================== */

.publication-section{

    margin-top:35px;
}

.publication-header{

    background:linear-gradient(135deg,#fd7e14,#dc3545);
    color:#fff;
    padding:15px 20px;
    border-radius:10px 10px 0 0;
}

.publication-header h3{

    margin:0;
    font-size:1.40rem;
    font-weight:600;
}

.publication-wrapper{

    border:1px solid #dee2e6;
    border-top:none;
    border-radius:0 0 10px 10px;
    background:#fff;
    padding:25px;
}

.publication-card{

    background:#fafafa;

    border-left:5px solid #fd7e14;

    border-radius:8px;

    padding:18px;

    margin-bottom:20px;

    transition:.25s;
}

.publication-card:hover{

    transform:translateY(-2px);

    box-shadow:0 4px 10px rgba(0,0,0,.08);
}

.publication-details{

    line-height:1.7;

    text-align:justify;
}

.publication-meta{

    margin-bottom:12px;
}

.pub-badge{

    display:inline-block;

    padding:5px 12px;

    border-radius:20px;

    color:#fff;

    font-size:.80rem;

    margin-right:6px;

    font-weight:600;
}

.pub-type{

    background:#0d6efd;
}

.pub-status{

    background:#198754;
}

.pub-month{

    background:#6c757d;
}

.publication-count{

    font-size:.9rem;

    color:#6c757d;

    margin-bottom:25px;
}


/* ==========================================================
   Personal Website Section
   ========================================================== */

.personal-section{

    margin-top:40px;
    margin-bottom:50px;
}

.personal-header{

    background:linear-gradient(135deg,#6f42c1,#0dcaf0);
    color:#fff;
    padding:15px 20px;
    border-radius:10px 10px 0 0;
}

.personal-header h3{

    margin:0;
    font-size:1.40rem;
    font-weight:600;
}

.personal-wrapper{

    border:1px solid #dee2e6;
    border-top:none;
    border-radius:0 0 10px 10px;
    background:#fff;
    padding:35px;
}

/* ==========================================================
   CKEditor Generated Content
   ========================================================== */

.faculty-content{

    font-size:1rem;

    line-height:1.9;

    color:#212529;

    word-break:break-word;
}

.faculty-content h1,
.faculty-content h2,
.faculty-content h3,
.faculty-content h4,
.faculty-content h5,
.faculty-content h6{

    color:#0d6efd;

    font-weight:600;

    margin-top:35px;

    margin-bottom:18px;
}

.faculty-content p{

    text-align:justify;

    margin-bottom:18px;
}

.faculty-content ul,
.faculty-content ol{

    padding-left:25px;

    margin-bottom:20px;
}

.faculty-content li{

    margin-bottom:8px;
}

.faculty-content table{

    width:100%;

    margin-bottom:25px;

    border-collapse:collapse;
}

.faculty-content table th{

    background:#f8f9fa;

    border:1px solid #ced4da;

    padding:10px;
}

.faculty-content table td{

    border:1px solid #ced4da;

    padding:10px;
}

.faculty-content img{

    max-width:100%;

    height:auto;

    display:block;

    margin:20px auto;

    border-radius:8px;

    box-shadow:0 4px 10px rgba(0,0,0,.15);
}

.faculty-content a{

    color:#0d6efd;

    text-decoration:none;
}

.faculty-content a:hover{

    text-decoration:underline;
}

.faculty-content blockquote{

    border-left:5px solid #0d6efd;

    background:#f8f9fa;

    padding:15px 20px;

    margin:25px 0;

    font-style:italic;
}

.faculty-content hr{

    margin:35px 0;
}

.faculty-content pre{

    background:#272822;

    color:#fff;

    padding:18px;

    border-radius:8px;

    overflow:auto;
}

.faculty-content code{

    color:#d63384;
}

.faculty-content iframe{

    max-width:100%;
}

.faculty-content video{

    max-width:100%;
}

.faculty-content figure{

    text-align:center;

    margin:25px 0;
}

.faculty-content figcaption{

    color:#6c757d;

    margin-top:8px;

    font-size:.9rem;
}

.page-title{

    font-weight:700;

    color:#224abe;
}

.page-subtitle{

    color:#6c757d;

    font-size:.95rem;
}



/* ==========================================================
   Website Editor
========================================================== */

.ck-editor__editable{

    min-height:650px;

}

.card-header h4{

    font-weight:600;

}

#previewBody{

    background:#ffffff;

    line-height:1.8;

}

.form-text{

    font-size:.9rem;

}


.ck-editor__editable{

    min-height:700px;

}