@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Regular.ttf');
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: 'Svn-Poppins';
    src: url('/fonts/SVN-Poppins-Light.ttf');
    font-weight: 300;
}

@font-face {
    font-family: 'Svn-Poppins';
    src: url('/fonts/SVN-Poppins-Regular.ttf');
}

@font-face {
    font-family: 'Svn-Poppins';
    src: url('/fonts/SVN-Poppins-Medium.ttf');
    font-weight: 500;
}

@font-face {
    font-family: 'Svn-Poppins';
    src: url('/fonts/SVN-Poppins-Bold.ttf');
    font-weight: 600;
}

@font-face {
    font-family: 'Svn-Poppins';
    src: url('/fonts/SVN-Poppins-SemiBold.ttf');
    font-weight: 700;
}

h1, h2, h3, h4 {
    font-family: 'Svn-Poppins';
    font-weight: 600;
}

.font-poppins {
    font-family: 'Svn-Poppins';
}

.font-inter {
    font-family: 'Inter';
}

.text-heading {
    letter-spacing: -1px;
}

article.text-desc {
    font-size: 1.055rem;
}
article.text-desc strong,
article.text-desc b,
article.text-desc h1,
article.text-desc h2,
article.text-desc h3,
article.text-desc h4,
article.text-desc h5,
article.text-desc h6 {
    color: #1e2127;
    font-weight: 800;
}
article.text-desc strong,
article.text-desc b {
    font-size: 1.15rem;
    -webkit-font-smoothing: antialiased;
}
article.text-desc h1 {
    margin: 1.5rem 0;
}
article.text-desc h2 {
    margin: 1rem 0;
}
article.text-desc h3 {
    margin: .8rem 0;
}
article.text-desc h4 {
    margin: .5rem 0;
}
.bg-audiobooks {
    border: 1px solid;
    border-color: #4a4850 !important;
    color: #ffc350;
    letter-spacing: .5px;
    font-weight: 400;
    border-radius: 1rem;
}
.bg-libro {
    border: 1px solid;
    border-color: #4a4850 !important;
    color: #ffc350;
    letter-spacing: .5px;
    font-weight: 400;
    border-radius: 1rem;
}
.bg-audible {
    border: 1px solid;
    border-color: #4a4850 !important;
    color: #ffc350;
    letter-spacing: .5px;
    font-weight: 400;
    border-radius: 1rem;
}
.heading-title {
    margin-bottom: 2rem;
}
.section-page {
    padding-top: 88px;
    margin-bottom: 4rem;
}
.header.navbar {
    height: 88px;
}
.text-gray {
    color: var(--si-body-color);
}
.bg-dark .text-gray {
    color: #7783a0;
}
.bg-gray {
    background-color: #f8f8ff;
}
.fs-medium {
    font-size: 1.15rem;
}
.a-line {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.navbar-light {
    box-shadow: 0 0.1rem 2.95rem rgba(11,15,25,.05), 0 0.25rem 0.5625rem rgba(11,15,25,.03);
}
.pagination .page-link[rel="next"]:before {
    content: 'Next';
    margin-right: 5px;
}
.pagination .page-item:first-child .page-link:after {
    content: 'Previous';
    margin-left: 5px;
}
.pagination .page-item {
    display: none;
}
.pagination .page-item:last-child,
.pagination .page-item:first-child {
    display: inherit;
}
.book-title-3lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 104px;
}

.book-rating {
    width: 145px;
}

.book-rating .stars {
    overflow: hidden;
    white-space: nowrap;
}

.book-rating .stars > img {
    width: 20px;
    display: inline;
}

.same-ratio {
    aspect-ratio: 1/1;
}

.img-fit {
    object-fit: cover;
}

.ap-seek-slider::before {
    width: .5rem !important;
}

.text-desc {
    letter-spacing: .015rem;
    line-height: 1.7;
}

.smoothing {
    -webkit-font-smoothing: antialiased;
}

.same-ratio {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: bottom;
}

.group-cta .btn {
    width: 100%;
}

.featured-articles .vertical .h-50 {
    height: calc(50% - (1.5rem / 2)) !important;
}

.featured-articles .vertical .h-50:last-child {
    margin-top: 1.5rem;
}

.book-details  .bx {
    width: 26px;
}

.book-authors a {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.sample-player {
    width: 35%;
    height: 4px;
    display: inline-block;
    background-color: #313346;
    border-radius: 1rem;
    position: relative;
    top: -2px;
    margin-left: .2rem;
}

.sample-player:before {
    content: '';
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    left: 0;
    top: -5px;
    background-color: #6366f1;
}

.listening-options .card .logo img  {
    width: 100%;
    aspect-ratio: 1.1;
    object-fit: cover;
    border: 1px solid #d9d9d9;
    padding: .5rem;
    border-radius: .7rem;
}

.bg-gradient-dark {
    background: linear-gradient(90deg, #1b1938 0%, #292339 50%, #221c36 100%) !important;
    --si-bg-opacity: 1;
}

.cursor-pointer {
    cursor: pointer;
}

.py-6 {
    padding: 4rem 0;
}

.py-10 {
    padding: 8rem 0;
}

.foot-content h2 {
    margin-bottom: 1.5rem;
}

.foot-content h3 {
    margin-bottom: 1.5rem;
}

.foot-content h2:not(:first-child) {
    padding-top: 1rem;
}

.foot-content {
    font-size: 1.065rem;
}

/* XS */
@media only screen and (max-width: 600px) {
    .header.navbar {
        height: 68px;
    }
    .header.navbar .navbar-nav .dropdown-menu {
        display: block;
    }
    .header .navbar-nav .mega-dropdown-column.browse-all {
        display: none !important;
    }
    .header.navbar .navbar-nav .dropdown-menu .mega-dropdown-column:nth-child(3) .text-gray {
        margin-top: 1.2rem;
    }
    .header.navbar .navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle {
        display: none;
    }
    .header.navbar .navbar-nav .dropdown-menu .mega-dropdown-column .text-gray {
        margin-top: .7rem;
    }
    .header.navbar .navbar-nav .dropdown-menu {
        border: none;
        margin-left: -1rem;
    }
    .books-grid .card {
        display: block;
        border-radius: 0 !important;
        padding: 0;
        box-shadow: none !important;
        border-bottom: 1px solid #ebecf4 !important;
    }
    .books-grid > .row > .col:last-child .card {
        border-bottom: none !important;
    }
    .books-grid .thumbnail {
        width: 30%;
        float: left;
        padding-bottom: 1rem;
    }
    .books-grid .thumbnail img {
        border-radius: .5rem;
    }
    .books-grid .card-body {
        width: 70%;
        float: right;
        padding: 0 0 0 1rem;
        height: auto;
    }
    .books-grid .card-body h3 {
        height: auto;
        font-size: 1.1rem;
    }
    .books-grid .card-footer {
        display: none !important;
    }
    .section-page {
        padding-top: 68px;
    }
    .listening-options .card .logo img  {
        height: 4rem;
    }
    .featured-books .bg-cover {
        border-radius: 0 !important;
    }
}

/* SM */
@media (min-width: 768px) {
    .home-cover {
        height: auto;
    }
    .pagination .page-item {
        display: inherit;
    }
    .pagination .page-item:last-child,
    .pagination .page-item:first-child {
        display: inherit;
    }
    .section-error {
        height: 100%;
        display: flex;
    }
}

/* LG */
@media (min-width: 992px) {
    .group-cta .btn {
        width: 42%;
    }
    .home-cover {
        height: 772px;
    }
}

/* XL */
@media (min-width: 1200px) {

}
.navbar-dark .offcanvas-body {
    color: #fff;
}
.article-ratio {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.card-services {
    aspect-ratio: 1.8/2;
}

.card-services .card-img img, .card-services .card-img {
    height: 100%;
    object-fit: cover;
}

