/* =========================================================
   MITSD FACULTY PROFILE — REFERENCE DESIGN
   ========================================================= */
.faculty-profile-page{
    background:#fff;
    color:#444;
    padding:0 0 70px;
    overflow:hidden;
}
.defult-page-title-about-us .page-title-box h1{display:block !important;}

.faculty-shell{
    width:100%;
    max-width:none;
    margin:0 auto;
    padding-left:15px;
    padding-right:15px;
    box-sizing:border-box;
}
.faculty-content{padding-top:48px;}

@media (min-width:1200px){
    .faculty-shell{width:1170px;max-width:1170px;}
}
@media (min-width:992px) and (max-width:1199px){
    .faculty-shell{width:970px;max-width:970px;}
}
@media (min-width:768px) and (max-width:991px){
    .faculty-shell{width:750px;max-width:750px;}
}

/* HERO CARD */
.faculty-hero-card{
    width:100%;
    min-height:320px;
    display:flex !important;
    flex-direction:row !important;
    align-items:stretch;
    background:#fff;
    border:1px solid #e3e3e3;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 4px 16px rgba(0,0,0,.13);
    margin:0 0 24px;
}
.faculty-hero-photo{
    flex:0 0 43% !important;
    width:43% !important;
    max-width:43% !important;
    min-height:320px;
    height:320px;
    background:#f1f1f1;
    overflow:hidden;
}
.faculty-hero-photo img{
    display:block;
    width:100% !important;
    height:100% !important;
    min-height:320px;
    object-fit:cover;
    object-position:center center;
}
.faculty-hero-details{
    flex:1 1 auto;
    width:auto !important;
    min-width:0;
    padding:31px 34px 27px;
    display:flex;
    flex-direction:column;
    box-sizing:border-box;
}
.faculty-hero-name{
    margin:0 0 5px;
    color:#111;
    font-size:30px;
    line-height:1.2;
    font-weight:700;
}
.faculty-hero-department{
    margin:0 0 4px;
    color:#222;
    font-size:15px;
    line-height:1.4;
    font-weight:500;
}
.faculty-hero-designation{
    margin:0 0 20px;
    color:#f58220;
    font-size:16px;
    line-height:1.35;
    font-weight:600;
}
.faculty-education-label{
    margin:0 0 4px;
    color:#777;
    font-size:12px;
    line-height:1.3;
}
.faculty-education{
    margin:0 0 0px;
    color:#222;
    font-size:14px;
    line-height:1.55;
}
.faculty-education-label.second{margin-top:2px;}
/* CONTENT CARDS */
.faculty-section{
    width:100%;
    box-sizing:border-box;
    background:#fff;
    border:1px solid #e1e1e1;
    border-radius:16px;
    box-shadow:0 3px 14px rgba(0,0,0,.10);
    padding:27px 31px 30px;
    margin:0 0 24px;
}
.faculty-section-title{
    position:relative;
    margin:0 0 18px;
    padding:0 0 10px;
    color:#222;
    font-size:24px;
    line-height:1.25;
    font-weight:700;
    border-bottom:1px solid #ddd;
}
.faculty-section-title:after{
    content:"";
    position:absolute;
    left:0;
    bottom:-1px;
    width:82px;
    height:3px;
    background:#f58220;
}
.faculty-text{
    margin:0 0 13px;
    color:#555;
    font-size:15px;
    line-height:1.85;
    text-align:justify;
}
.faculty-text:last-child{margin-bottom:0;}

.achievement-item{
    margin:0 0 12px;
    color:#444;
    font-size:14px;
    line-height:1.75;
}
.achievement-item:last-child{margin-bottom:0;}
.faculty-muted{color:#777;font-size:14px;line-height:1.7;}

.expertise-wrap{display:flex;flex-wrap:wrap;gap:9px;}
.expertise-tag{
    padding:7px 14px;
    border:1px solid #ccc;
    border-radius:20px;
    background:#fff;
    color:#555;
    font-size:13px;
    line-height:1.4;
}
.achievement-links{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px;}
.achievement-link{
    display:inline-flex;
    align-items:center;
    padding:7px 12px;
    border:1px solid #bbb;
    border-radius:18px;
    color:#333 !important;
    background:#fff;
    text-decoration:none !important;
    font-size:12px;
}
.achievement-link:hover{border-color:#f58220;color:#f58220 !important;}

/* TABLET */
@media (max-width:991px) and (min-width:768px){
    .faculty-content{padding-top:35px;}
    .faculty-hero-card{min-height:310px;}
    .faculty-hero-photo{min-height:310px;height:310px;}
    .faculty-hero-photo img{min-height:310px;}
    .faculty-hero-details{padding:27px 27px 23px;}
    .faculty-hero-name{font-size:27px;}
}

/* MOBILE */
@media (max-width:767px){
    .faculty-profile-page{padding:0 0 45px;}
    .faculty-shell{
        width:100% !important;
        max-width:none !important;
        padding-left:12px !important;
        padding-right:12px !important;
    }
    .faculty-content{padding-top:25px;}

    .faculty-hero-card{
        min-height:0 !important;
        display:flex !important;
        flex-direction:column !important;
        margin:0 0 18px !important;
        border-radius:12px !important;
    }
    .faculty-hero-photo{
        width:100% !important;
        max-width:none !important;
        flex:0 0 auto !important;
        height:260px !important;
        min-height:260px !important;
    }
    .faculty-hero-photo img{
        width:100% !important;
        height:260px !important;
        min-height:260px !important;
        object-fit:cover !important;
    }
    .faculty-hero-details{
        width:100% !important;
        padding:20px 18px 19px !important;
        display:block !important;
    }
    .faculty-hero-name{
        font-size:24px !important;
        line-height:1.18 !important;
        margin:0 0 6px !important;
    }
    .faculty-hero-department{font-size:14px !important;margin-bottom:4px !important;}
    .faculty-hero-designation{font-size:15px !important;margin-bottom:15px !important;}
    .faculty-education-label{font-size:11px !important;}
    .faculty-education{font-size:13px !important;line-height:1.55 !important;margin-bottom:11px !important;}
    .faculty-social{
        margin:15px 0 0 !important;
        padding:0 !important;
        gap:12px !important;
        flex-wrap:wrap !important;
    }
    .faculty-social-link,.faculty-social-link svg{
        width:38px !important;
        height:38px !important;
        flex-basis:38px !important;
    }

    .faculty-section{
        padding:20px 17px 21px !important;
        margin:0 0 18px !important;
        border-radius:12px !important;
    }
    .faculty-section-title{
        font-size:21px !important;
        margin-bottom:14px !important;
        padding-bottom:9px !important;
    }
    .faculty-section-title:after{width:65px !important;}
    .faculty-text{
        font-size:14px !important;
        line-height:1.75 !important;
        text-align:left !important;
    }
    .achievement-item{font-size:13px !important;line-height:1.7 !important;}
    .expertise-wrap{gap:7px !important;}
    .expertise-tag{padding:7px 11px !important;font-size:12px !important;}
}
@media (max-width:380px){
    .faculty-shell{padding-left:10px !important;padding-right:10px !important;}
    .faculty-hero-photo,.faculty-hero-photo img{height:230px !important;min-height:230px !important;}
    .faculty-hero-details{padding:18px 15px 17px !important;}
    .faculty-hero-name{font-size:22px !important;}
    .faculty-social{gap:10px !important;}
    .faculty-social-link,.faculty-social-link svg{width:35px !important;height:35px !important;flex-basis:35px !important;}
    .faculty-section{padding:18px 15px 19px !important;}
}

/* REFERENCE SOCIAL ICONS */
.faculty-social{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
    margin-top:auto;
    padding-top:20px;
}
.faculty-social-link{
    width:34px;
    height:34px;
    flex:0 0 34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:transparent !important;
    border:0 !important;
    padding:0 !important;
    margin:0;
    box-shadow:none !important;
    text-decoration:none !important;
    transition:transform .18s ease,opacity .18s ease;
}
.faculty-social-link img{
    width:34px;
    height:34px;
    display:block;
    object-fit:contain;
}
.faculty-social-link:hover{
    transform:translateY(-1px);
    opacity:.78;
}
.achievement-links{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:14px;
    margin-top:22px;
}
.achievement-profile-link{
    display:inline-flex;
    align-items:center;
    gap:9px;
    min-height:36px;
    padding:6px 13px;
    border:2px solid #d7d7d7;
    border-radius:20px;
    background:#fff;
    color:#222 !important;
    font-size:14px;
    line-height:1.2;
    font-weight:500;
    text-decoration:none !important;
    box-sizing:border-box;
}
.achievement-profile-link:hover{
    color:#222 !important;
    border-color:#aaa;
    text-decoration:none !important;
}
.achievement-link-icon{
    font-size:17px;
    line-height:1;
    font-weight:600;
    transform:rotate(-35deg);
    display:inline-block;
}

@media (max-width:767px){
    .faculty-social{
        gap:11px;
        margin-top:16px;
        padding-top:0;
    }
    .faculty-social-link,
    .faculty-social-link img{
        width:31px;
        height:31px;
        flex-basis:31px;
    }
    .achievement-links{
        gap:9px;
        margin-top:18px;
    }
    .achievement-profile-link{
        min-height:34px;
        padding:6px 11px;
        font-size:13px;
    }
}
