body {
    padding-top: 70px;
    padding-bottom: 20px;
    font-family: Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1rem;
    background-color: #fbefef;
    color: #02100d;
}

a,
a:hover,
a:focus,
a:active {
    text-decoration: none !important;
}

.afn-nav {
    background-color: #091f1e !important;
}

.afn-nav .navbar-brand {
    color: #c3f073 !important;
}

.afn-nav .nav-link {
    color: bisque !important;
}

.afn-nav .navbar-toggler {
    background-color: #ffffff !important;
}

.body-content {
    min-height: 60vh;
    padding-left: 15px;
    padding-right: 15px;
}

.card {
    padding: 0;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.section-header {
    font-size: large;
    font-weight: bold;
    border-bottom: 2px solid #3E18BA;
}

.sn-link-color {
    color: #0d2cb9;
    text-decoration: none;
}

.sn-h1 {
    font-size: 20px;
    font-weight: 500;
}

.sn-list-header-h1 {
    font-size: 28px;
    font-weight: 500;
}

.sn-h1 a {
    color: #3E18BA !important;
}

.sn-h1-color {
    color: #3E18BA !important;
}

.sn-h2 {
    font-size: 16px;
    font-weight: 400;
    margin-top: 4px;
    margin-bottom: 4px !important;
}

.sn-h2 a {
    color: #2E1E62 !important;
    text-decoration: none;
}

.home-sub-header {
    font-size: 18px;
    font-weight: 500;
    padding: 1px;
    color: #4e0606 !important;
    text-align: center !important;
    border-top: 2px solid #666666;
    border-bottom: 1px solid #666666;
}

.home-sub-header a {
    color: #3E18BA !important;
}

.home-a {
    color: blueviolet;
}

.home-section {
    margin-top: 8px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #060d97;
}

.home-tag {
    display: inline-block;
    background-color: #17a2b8;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    padding: 3px 8px;
    margin: 0 4px 6px 0;
    border-radius: 10rem;
    text-decoration: none;
    vertical-align: middle;
}

.home-tag:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

.home-genre-list {
    line-height: 1.3;
}

.home-genre-badge {
    display: inline-block;
    background-color: #28a745;
    color: #fbefef;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    padding: 3px 6px;
    margin: 0 4px 6px 0;
    border-radius: 0.25rem;
    text-decoration: none;
    vertical-align: middle;
}

.home-genre-badge:hover {
    color: #fbefef;
    text-decoration: none;
    opacity: 0.9;
}

.home-genre-count {
    display: inline-block;
    background-color: #f8f9fa;
    color: #212529;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    padding: 1px 5px;
    margin-left: 4px;
    border-radius: 0.2rem;
}

.custom-card {
    height: 175px;
    background-color: white;
    border-radius: 0;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.125);
    overflow: hidden;
}

.custom-card .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    margin-left: 0;
    margin-right: 0;
    height: 175px;
}

.custom-card-img-book-list {
    padding: 0;
    width: 100%;
    height: 175px;
}

.ad-thumb {
    width: 100%;
    height: 125px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.custom-card-content {
    word-wrap: normal;
}

.book-details-image {
    max-width: 220px;
    height: auto;
}

.afn-footer {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    background-image: linear-gradient(#20e7b9, #cbf0f0);
    border-top: 5px solid #cbf0f0;
    color: #02100d;
    font-family: Georgia, 'Trebuchet MS', Arial, sans-serif;
}

.afn-footer-bleed {
    width: 100%;
    max-width: none;
}

.afn-footer a {
    color: #02100d;
}

.share-link {
    display: inline-block;
    margin: 0 6px 6px 0;
}

.share-link img.social-icon {
    height: 35px;
    width: 35px;
}

.storyBoard {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
}

.storyText {
    font-size: large;
    line-height: 1.8;
}

.storyText.tts-current {
    background: #e3ed5d;
    transition: background .2s;
    padding: 10px;
}

.tts-controls {
    display: none;
    gap: 0.5rem;
    margin: 10px 0;
    justify-content: center;
}

.page-navigation-buttons {
    display: flex;
    justify-content: space-between;
}

#lastVisitedPage {
    margin: 0;
    padding: 0;
}

.last-visited-bar {
    margin: 0;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.last-visited-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0.4rem 1rem;
    font-size: 0.95rem;
    color: #344054;
}

.last-visited-bar__label {
    color: #667085;
    font-weight: 500;
}

.last-visited-bar a {
    color: #1d4ed8;
    font-weight: 600;
}

.last-visited-bar a:hover {
    text-decoration: underline !important;
}

.book-list-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0 1.5rem;
}

.book-list-pager__page {
    width: 170px;
    height: 31px;
}

.jump-to-page {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0 1.25rem;
    max-width: 280px;
}

.jump-to-page input {
    width: 180px;
}

.review-body {
    font-size: 1.15rem;
    line-height: 1.8;
}

.highlight-text {
    color: blue;
}

.badge {
    text-decoration: none;
}

.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.55rem;
}

.genre-tag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    margin: 0;
    border: 1px solid #d7cfcf;
    border-radius: 999px;
    background: #fff7f7;
    color: #3b2f2f !important;
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    line-height: 1.25;
    text-decoration: none !important;
    white-space: nowrap;
}

.genre-tag:hover {
    background: #f3e9e9;
    color: #1f1414 !important;
}

.genre-tag--billionaire {
    color: #0d6efd !important;
    border-color: #9ec5fe;
    background: #eef4ff;
    font-weight: 700;
}

.genre-tag--erotic {
    font-weight: 700;
}
