.pub-list {
    list-style: none;
    padding: 0;
    margin-bottom: 0.9375rem;
}

.pub-details {
    margin-bottom: 0.9375rem;
}

.pub-grid-item {
    float: left;
    width: 50%;
    border: 1px solid rgb(0,0,0);
    border-width: 0 1px 1px 0;
}

.pub-item-link {
    display: block;
    height: 0;
    padding-bottom: 100%;
}

.pub-media {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 0.625rem;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: contain;
}

.pub-img {
    max-height: 100%;
    object-fit: contain;
}

.pub-caption {
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.625rem;
    color: rgb(255,255,255);
    opacity: 0;
    background-color: rgba(2,117,216,0.5);
    font-size: 1.125em;
    text-align: center;
    text-shadow: 0 0 3px rgba(0,0,0,0.25);
}

.pub-img-dummy {
    font-size: 3em;
}

.pub-item-link:focus .pub-caption,
.pub-item-link:hover .pub-caption {
    opacity: 1;
}

.tx-ti-publications .ce-gallery {
    width: auto !important;
    max-width: 50%;
}

@media (min-width: 47.5em) {
    .pub-grid-item {
        width: 33.3333%;
    }
    .pub-caption {
        font-size: 1.25em;
    }
}

@media (min-width: 62.5em){
    .pub-media {
        padding: 1.25rem;
    }
}

@media (min-width: 100em) {
    .pub-page {
        grid-column-gap: 5rem;
    }
}
