.department_details {
    position: relative;
}

    .department_details span {
        position: absolute;
        top: -18px;
        left: 21px;
        background: #8a4228;
        display: block;
        padding: 4px 10px 2px;
        font-size: 15px;
        border-radius: 5px;
        color: #fff;
        letter-spacing: 0.7px;
    }

.sidebar_box {
    /* background: #f1f3f690; */
    padding: 15px;
    border-radius: 6px;
}

/* Ribbon */
.ribbon {
    position: relative;
    background: #8a4228;
    padding: 8px 20px;
    display: inline-block;
    width: 100%;
}

    /* Left cut */
    .ribbon::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-left: 20px solid white;
    }

    /* Right cut */
    .ribbon::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-right: 20px solid white;
    }

    .ribbon h6 {
        background-color: #8a4228;
        color: white;
    }

/* Menu */
.menu_list li {
    border-bottom: 1px solid #ccc;
}

    .menu_list li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 5px;
        color: #1a2a4f;
        text-decoration: none;
        font-size: 16px;
    }

        .menu_list li a i {
            color: #1a2a4f;
            font-size: 16px;
        }

        /* Hover effect */
        .menu_list li a:hover {
            color: #007bff;
            padding-left: 10px;
            transition: 0.3s;
            cursor: pointer;
        }

.content_section {
    display: none;
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

    .content_section.active {
        display: block;
    }

.faculty-card {
    width: 280px;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

    .faculty-card:hover {
        transform: translateY(-8px);
    }

.faculty-img {
    height: 220px !important;
    /*object-fit: cover !important;*/
}

.faculty-body {
    text-align: center;
    padding: 15px;
}
.faculty-name {
    font-weight: 600;
    font-size: 16px;
    color: #8a4228;
}

.faculty-designation {
    color: black;
    font-size: 14px;
    font-weight: 600;
}

.faculty-footer {
    /*text-align: center;*/
    border-top: 1px solid #eee;
    padding: 10px;
    font-size: 14px;
}
