#ts-sidebar {
    border-right: 1px solid #eeeeee;
}

.sidebar-separator {
    /* margin: 0 100px; */
    height: 1px;
    /* width: calc(100% - 200px); */
    background-color: #eeeeee;
    /* border-bottom: 1px dashed #eeeeee;  */
}

#sidebar-author-container {
    padding: 0 20px;
    /* padding-top: 0; */
    /* background-color: rgb(27 105 103 / 5%); */
    /* border-bottom: 1px dashed #eeeeee;  */

    #sidebar-author-name {
        font-weight: bold;
        font-size: large;
        /* line-height: 1em; */
        margin-left: 5px;
    }
    #sidebar-author-sns-container {
        display: flex;
        margin-bottom: 5px;

        a {
            color: gray;
        }
    }
    #sidebar-author-sns-container:not(:has(a)) {
        display: none;
    }
    .researcher-card {
        transition: all 0.2s;
    }
    a:hover .researcher-card {
        transform: scale(0.98);
        opacity: 0.7;
    }
}

.recommended-article-card {
    height: fit-content;
    padding: 5px;
    transition: all 0.15s;
    
    .rac-link {
        display: grid;
        grid-template-columns: 25% 1fr;
        gap: 10px;
        text-decoration: none;
        /* height: 3em; */

        .rac-thumb {
            div, img {
                width: 100%;
                aspect-ratio: 16 / 9;
                object-fit: cover;
                border-radius: 6px;
            }
            .rac-card-desc {
                padding: 5px;
                padding-right: 0;
                color: white;
                overflow: hidden;
                font-size: small;
                line-height: 1.3em;
            }
        }
        .rac-title {
            color: #2d2d2d;
            overflow: hidden;
            width: 100%;
            display: -webkit-box;
            -webkit-line-clamp: 2; 
            -webkit-box-orient: vertical;

            font-weight: bold;
            text-overflow: ellipsis;
            font-size: small;
            height: 100%;
        }
    }
    
}
#sidebar-author-article-container:has(#sidebar-author-article-container-in:blank) {
    display: none;
}

#sidebar-sns-container {
    padding: 0 20px;

    .sns-box {
        width: 50px;
        
        .sns-icon {
            display: flex;
            margin: 0 auto;
            justify-content: center;
            height: 50px; width: 50px;
            border-radius: 50%;
            transition: 0.15s;
            /* background-color: #f5f5f5; */

            a {
                font-size: 1.5em;
                display: block;
                margin: auto 0;
                text-align: center;
                text-decoration: none;
                color: #2d2d2d;
            }
        }
    }
}
.sidebar-guide-item {
    margin-left: 10px;
    a {
        color: #2d2d2d;
        text-decoration: none;
        display: flex;
        gap: 10px;

        .sidebar-icon {
            font-size: large;
            width: 25px;
            text-align: center;
        }
        div {
            margin: auto 0;
        }
        
    }
    a:hover {
        opacity: 0.6;
        transition: all 0.15s;
    }
    
}


body:not(.--CLIENT-USE-TOUCH, .--CLIENT-USE-PEN) {
    #sidebar-researcher-menu .lab-menu-section .lab-menu-container:hover {
        background-color: rgba(0,0,0,0.2);
    }
    #sidebar-sns-container .sns-icon:hover {
        background-color: rgba(0,0,0,0.2);
    }
    .recommended-article-card:hover {
        opacity: 0.6;
    }
}