.related-books-box {
    background-color: rgb(241,239,234);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem .75rem;
}

.related-books-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.related-books-wrap {
    display: flex;
    flex-wrap: wrap;
}

.related-books-item {
    position: relative;
    height: 100%;    
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    margin-top: 1.5rem;    
}

@media (min-width: 768px) {
    .related-books-item {
        flex: 0 0 auto;
        width: 50%;
    }
}

.related-books-innerbox {
    font-size: 1.125rem;
    font-weight: normal;
    display: flex;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: 0px 7px 10px 0px rgba(0, 0, 0, 0.07);
    padding: 1.5rem;
    height: 100%;
    margin-left: 0.75rem;
    margin-right: .75rem;    
}

.related-books-innerbox-col1, .related-books-innerbox-col2 {
    flex-shrink: 1;
    flex-grow: 1;
}
.related-books-innerbox-col1 {
    flex-basis: 192px;
    display: flex;
    flex-direction: column;
}
.related-books-innerbox-col2 {
    flex-basis: 151px;
    margin-left: 1.5rem;
}

.related-books-name {
    text-align: left;
    font-size: 0.875rem;
    margin-bottom: .75rem;
    line-height: 1.125rem;
    font-weight: bold;
}

.related-books-button, .related-books-button:hover, .related-books-button:visited {color: rgb(255, 255, 255);}
.related-books-button {
    text-align: center;
    font-size: 0.75rem;
    background-color: rgb(122, 192, 68);
    border-radius: 3px;
    padding: .75rem;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: auto;
}
.related-books-imagebox {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 3px;
}

.related-books-imagebox:before {
    padding-top: 144%;
    display: block;
    content: "";
}

.related-books-image {
    position: absolute;
    object-fit: cover;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 5px;
}