/**
 * Template: teachpress Aseno Partners custom template
 * Version: 1.2
 * Author: Aseno Partners
 */
/* publication box */
div.tp_publication {
    display: flex;
    justify-content: space-between;
    padding-bottom: 5px;
    /* border-bottom:1px solid silver; */ }
div.tp_pub_image_left {
    padding-top: 8px;
    padding-bottom: 8px;}
div.tp_pub_image_right {
    padding-top: 8px;
    padding-bottom: 8px;}
div.tp_pub_info {
    width: 100%;
    padding: 8px;}
div.tp_pub_number {
    width: 40px;
    font-size:1.0rem; 
    padding-top: 8px;
    flex-shrink: 0;}
@media (max-width: 767.98px) {
    div.tp_publication {
        flex-flow: column; }
    div.tp_pub_image_left, div.tp_pub_image_right {
        padding-left: 8px; }
    div.tp_pub_number {
        padding-left: 8px; }
}
/* entry details */
.tp_bibtex_entry {
    font-size:0.8rem;}
.tp_bibtex_entry pre {
    white-space: normal;
    word-wrap: break-word;}
.tp_abstract_entry {
    font-size: 1.0rem;}
.tp_comment_entry {
    font-size: 1.0rem;}
.tp_pub_author, #content p.tp_pub_author {
    font-size:0.95rem; 
    margin-bottom:2px; 
    margin-top:2px;
    color: #c8c8c8;
}
.tp_pub_author strong {
    color: #ffffff;
    font-weight: 600;
}
.tp_pub_title, #content p.tp_pub_title {
    font-size:1.1rem; 
    font-weight:bold; 
    margin-top:4px; 
    margin-bottom:4px;
    line-height: 1.4;
}
.tp_pub_title a, #content p.tp_pub_title a {
    color: #e0e0e0;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}
.tp_pub_title a:hover, #content p.tp_pub_title a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}
.tp_pub_additional, #content p.tp_pub_additional {
    font-size:0.9rem; 
    margin-top:2px; 
    margin-bottom:2px;
    color: #a0a0a0;
}
.tp_pub_menu, #content p.tp_pub_menu  {
    font-size:1.0rem; 
    margin-top:1px; 
    margin-bottom:1px; 
    color:#AAAAAA;}
.tp_pub_menu a {
    color:#AAAAAA; 
    text-decoration:underline; 
    box-shadow: none;}
.tp_pub_menu a:hover {
    color:#AAAAAA; 
    text-decoration:none;}
.tp_pub_type {
    background-color: #008bd2; 
    color: #fff; 
    display: inline-block; 
    padding: 5px 5px; 
    margin-left: 5px; 
    font-size: 0.70rem; 
    font-weight: bold; 
    line-height: 1; 
    border-radius: 2px; 
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);}
.tp_pub_label_award {
    background-color: #d2001f; 
    color: #fff; 
    display: inline-block; 
    padding: 5px 5px; 
    margin-left: 5px; 
    font-size: 0.9em; 
    font-weight: bold; 
    line-height: 1; 
    border-radius: 2px;
}

.tp_pub_label_status {
    background-color: orange; 
    color: #fff; 
    display: inline-block; 
    padding: 5px 5px; 
    margin-left: 5px; 
    font-size: 0.70rem; 
    font-weight: bold; 
    line-height: 1; 
    border-radius: 2px; 
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);}
.tp_close {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.0rem; }
.tp_pub_abstract_toggle {
    margin-top: 6px;
    margin-bottom: 2px;
}
.tp_pub_abstract_toggle a {
    cursor: pointer;
    text-decoration: none;
    color: #a0a0a0;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tp_pub_abstract_toggle a::before {
    content: '\25B6';
    display: inline-block;
    font-size: 0.7rem;
    transition: transform 0.15s ease;
}
.tp_pub_abstract_toggle a:hover {
    color: #ffffff;
}

/* Filter bar */
.tp_filter_bar {
    margin-bottom: 20px;
    padding: 10px 0; }
.tp_filter_group {
    margin-bottom: 10px; }
.tp_filter_label {
    font-weight: bold;
    margin-right: 10px; }
.tp_pills {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px; }
.tp_pill {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.85rem;
    cursor: pointer; }
.tp_kw_pill {
    background-color: #008bd2;
    color: #fff; }
.tp_kw_pill:hover {
    background-color: #006fa8; }
.tp_tag_pill {
    background-color: #28a745;
    color: #fff; }
.tp_tag_pill:hover {
    background-color: #1e7e34; }
.tp_pill_selected {
    box-shadow: 0 0 0 2px #1a1a2e, 0 0 0 4px #ffffff; }

/* Inline keyword/tag pills in publication entries */
.tp_pub_keywords {
    margin-top: 6px;
    margin-bottom: 2px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tp_pub_keywords .tp_kw_pill,
.tp_pub_keywords .tp_tag_pill {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 0.8rem;
    line-height: 1.4;
}
.tp_pub_keywords .tp_kw_pill {
    background-color: #008bd2;
    color: #fff;
}
.tp_pub_keywords .tp_tag_pill {
    background-color: #28a745;
    color: #fff;
}

/* === Mobile responsive === */
@media (max-width: 576px) {
    .tp_filter_bar {
        padding: 8px 0;
        margin-bottom: 16px;
    }
    .tp_filter_group {
        margin-bottom: 8px;
    }
    .tp_filter_label {
        display: block;
        margin-right: 0;
        margin-bottom: 6px;
    }
    .tp_pills {
        gap: 6px;
    }
    .tp_pill {
        padding: 3px 6px;
        font-size: 0.8rem;
    }
    .tp_pub_title, #content p.tp_pub_title {
        font-size: 1rem;
    }
}
