.fk-ebooks,
.fk-ebook {
    --fk-ebook-purple: #3d2e51;
    --fk-ebook-purple-text: #5a4373;
    --fk-ebook-lavender: #ebd0f4;
    --fk-ebook-card: #c39cd8;
    --fk-ebook-light: #f7f3fd;
    --fk-ebook-border: #f2ecfa;
    --fk-ebook-orange: #dc7b23;
    --fk-ebook-white: #ffffff;
    --fk-ebook-ink: #101828;
    color: var(--fk-ebook-ink);
    font-family: "Be Vietnam Pro", sans-serif;
}

.fk-ebooks *,
.fk-ebooks *::before,
.fk-ebooks *::after,
.fk-ebook *,
.fk-ebook *::before,
.fk-ebook *::after {
    box-sizing: border-box;
}

.fk-ebooks :where(h1, h2, h3, p),
.fk-ebook :where(h1, h2, h3, p, dl, dd) {
    margin-top: 0;
}

.fk-ebooks img,
.fk-ebook img {
    max-width: 100%;
}

.fk-ebooks__container,
.fk-ebook__container {
    display: block;
    width: min(1180px, calc(100% - 40px));
    max-width: none;
    margin-inline: auto;
    padding: 0;
}

.fk-ebooks :where(a, button),
.fk-ebook :where(a, button) {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fk-ebooks :where(a, button):focus-visible,
.fk-ebook :where(a, button):focus-visible {
    outline: 3px solid var(--fk-ebook-orange);
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .fk-ebooks__container,
    .fk-ebook__container {
        width: min(100% - 28px, 1180px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fk-ebooks *,
    .fk-ebook * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
