/**
 * NC4 Framework (https://github.com/NC-4/NC4)
 * © NC4 Project.
 *
 * Licensed under The FreeBSD License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @author  　　一般社団法人 教育のための科学研究所 <https://www.s4e.jp/>
 * @author  　　国立研究開発法人 科学技術振興機構 <https://www.jst.go.jp/>
 * @author  　　リーディング・スキル・テスト株式会社 <https://www.rstest.co.jp/>
 * @copyright  NC4 Project
 * @since      4.0.0
 * @license    https://opensource.org/licenses/BSD-2-Clause FreeBSD License
 */

.featured-books {
    font-size: 14px;
}
.featured-books:not(:last-child) {
    border-bottom: 2px solid #eee;
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.featured-books-image img {
    margin-bottom: 2px;
    margin-right: 10px;
    max-width: 80px;
}
.featured-books-title {
    margin-bottom: 4px;
}

.featured-books-details,
.featured-books-more-link {
    font-size: 0.9em;
}

.featured-books-authors,
.featured-books-publisher {
    margin-top: 10px;
}
.featured-books-authors .featured-books-author {
    display: inline-block;
    margin-right: 2px;
}
.featured-books-authors .featured-books-author:not(:last-child)::after {
    content: ",";
}

.featured-books-provider {
    display: block;
    font-size: 88%;
    margin-bottom: 10px;
}

.featured-books.d-flex .featured-books-details {
    -webkit-box-orient: vertical; /* stylelint-disable-line property-no-deprecated */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
    overflow-wrap: break-word;
    /*word-wrap: break-word;*/
}

.featured-books-more-link {
    display: block;
    margin-top: 8px;
    text-align: right;
}

.featured-books-title a,
.featured-books-provider a,
a.featured-books-more-link {
    text-decoration: none;
}
.featured-books-title a:hover,
.featured-books-provider a:hover,
a.featured-books-more-link:hover {
    text-decoration: underline;
}
