/* Person;s Page Pubs CSS */
.person-publications .person-pub-card {
    color: #fff;
    margin-top: 0px;
    padding: 0em !important;
    background: #4B4B4B !important;
    /* border: 1px solid #4B4B4B !important; */
    border-radius: 0.1rem !important;
    box-sizing: border-box;
    transition: transform 500ms;
}
.person-publications .person-pub-card:hover {
    transform: scale(1.05);
}

.person-publications .person-pub-card img.card-image {
    padding: 3px;
    min-height: 262px;
    /* background-color: #333d47; */
    object-fit: contain;
}

.person-publications .person-pub-card .resource-details {
    display: flex;
    justify-content: space-between;
    /* width: 100%; */
    /* background-color: #333d47; */
}
.person-publications .person-pub-card .resource-type, .person-publications .pubNumber {
    padding: 0 3px;
    font-size: 0.9rem;
    color: #fff;
}

.person-publications .person-pub-card .pubNumber {
    margin-left: auto;
}
.person-publications .person-pub-card .card-body {
    padding: 5px !important;
}
.person-publications .person-pub-card .card-title {
    /* color: #333d47 !important; */
    margin-bottom: 0 !important;
    line-height: 1.4rem;
    font-size: 16px;
    font-weight: 600;
}

.person-publications .person-pub-card .resource-details {
    margin: 2px 2px 0 2px !important;
    width: auto;
}

@media screen and (max-width: 782px) {
    .card-title b {
        border-bottom: 1px solid;
    }
}

@media screen and (max-width: 426px) {
    .person-publications .person-pub-card .resource-details .resource-type,
    .person-publications .person-pub-card .resource-details .pubNumber {
        font-size: 10px;
        padding: 0 3px;
    }
}
  

.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    width: 55px;
    height: 55px;
    text-align: right;
}

.ribbon span {
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #ff5722; /* Adjust the color as needed */
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 10px;
    right: -30px;
}

.ribbon::before,
.ribbon::after {
    content: "";
    position: absolute;
    z-index: -1;
}

.ribbon::before {
    top: 0;
    left: 0;
    border-top: 3px solid #ff5722; /* Adjust the color as needed */
    border-left: 3px solid #ff5722; /* Adjust the color as needed */
}

.ribbon::after {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid #ff5722; /* Adjust the color as needed */
    border-right: 3px solid #ff5722; /* Adjust the color as needed */
}

.person-publications .hr-sect  {
    text-transform: capitalize;
}

.person-publications .bottom-hr-content:hover {
    /* transform: scale(1.02); */
    background-color: #333d47;
    /* color: #fff;s */
}

.person-publications .hr-sect .bottom-hr-content a:hover {
    color: #fff !important;
    text-decoration: none !important;
}
/* .person-publications .bottom-hr-content {
    transition: transform 500ms;
} */


.person-publications .hr-sect .bottom-hr-content a {
    font-size: 1rem !important;
    margin: 0px !important;
    padding: 5px;
    border-bottom: 0px;
    color: #5c666f !important;
}

.person-publications .hr-sect::before, .hr-sect::after {
    background-color: #4B4B4B !important;
}

.person-publications .bottom-hr-content {
    font-size: 0px;
    border: 2px solid #4B4B4B !important;
}

.person-publications .bottom-hr-content a {
    margin-right: 0px !important;
}

