:root {
    --site-primary: #1ebfffeb;
    --site-accent: #111827;
    --site-bg: #fff;
    --site-text: #111827;
    --site-muted: #64748b;
    --site-border: #d9d9d9;
    --site-card: #fff;
    --site-soft-bg: #f3f4f6;
    --site-soft-primary: color-mix(in srgb, var(--site-primary) 22%, #ffffff);
    --site-soft-primary-2: color-mix(in srgb, var(--site-primary) 10%, #ffffff);
}

body {
    background: var(--site-bg);
    color: var(--site-text);
    font-family: "Poppins", sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.container {
    max-width: 1400px;
}

.site-shell {
    min-height: 100vh;
}

/* Common typography */
.page-title,
.author-title,
.catalog-title,
.book-pdf-title,
.blog-title {
    color: var(--site-accent);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
}

.section-title,
.book-pdf-section h2,
.blog-section-title {
    color: var(--site-accent);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 10px;

}

.body-text,
.book-pdf-text,
.author-bio,
.book-description,

.blog-card p,
p,
#bio-short {
    color: #272727;
    font-size: 1rem;
    line-height: 24px;
    text-align: left;
}

.blog-detail-body,
.blog-detail-body * {
    font-family: "Zilla Slab", serif !important;
    color: #272727 !important;
    font-size: 21px !important;
    font-weight: 400 !important;
    line-height: 32px !important;
}

.muted-text,
.blog-meta,
.book-pdf-quick-meta,
.book-pdf-rating {
    color: var(--site-muted);
    font-size: .85rem;
}

.common-link,
.show-more-link,
.book-rating-inline-link {
    color: #0066cc;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.common-link:hover,
.show-more-link:hover,
.show-more-link:focus,
.book-rating-inline-link:hover {
    color: var(--site-primary);
    text-decoration: underline;
}


.blog-detail-body p {
    margin: 0 0 14px !important;
}

.blog-detail-body h2,
.blog-detail-body h2 * {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: var(--site-accent) !important;
    margin: 22px 0 10px !important;
}

.blog-detail-body h3,
.blog-detail-body h3 * {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: var(--site-accent) !important;
    margin: 18px 0 10px !important;
}


.show-more-link:focus {
    outline: 2px solid color-mix(in srgb, var(--site-primary) 35%, transparent);
    outline-offset: 2px;
}

/* Common surfaces */
.common-card,
.blog-card,
.utility-box,
.target-box,
.catalog-toolbar,
.contact-info-box,
.book-pdf-action,
.book-pdf-box,
.book-buy-box,
.book-rate-box {
    border: 1px solid var(--site-border);
    background: var(--site-card);
}

.common-soft-box,
.utility-box,
.target-box,
.catalog-toolbar,
.contact-info-box {
    background: var(--site-soft-bg);
    padding: 10px;
    font-size: .82rem;
}

.common-image-cover,
.blog-card-media img,
.profile-photo,
.book-cover,
.book-cover-large {
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.common-media-16x9,
.blog-card-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #eef2f7;
    display: block;
    overflow: hidden;
}

.common-placeholder {
    width: 100%;
    height: 100%;
    background: #eef2f7;
    color: var(--site-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

/* Layout */
.author-catalog-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--site-soft-primary);
    border-bottom: 1px solid var(--site-border);
}

.author-catalog-logo,
.author-catalog-logo:visited,
.author-catalog-logo:active,
.author-catalog-logo:focus,
.author-catalog-logo:hover {
    color: var(--site-accent);
    font-size: 1.7rem;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 54px;
}

.author-catalog-logo img {

    height: 32px !important;

    background: #fff;

}

.author-catalog-logo span {
    color: var(--site-accent);
    line-height: 1.1;
}

.author-catalog-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.author-catalog-nav a,
.booksmeta-link {
    color: #000;
    font-weight: 500;
    text-decoration: none;
}

.author-catalog-nav a:hover,
.booksmeta-link:hover {
    color: var(--site-primary);
}

.site-footer {
    border-top: 1px solid var(--site-border);
    background: #fff;
    color: var(--site-muted);
}

/* Mobile menu */
.mobile-menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--site-border);
    background: #fff;
    color: var(--site-text);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.mobile-menu-offcanvas {
    width: min(88vw, 380px);
    border-left: 0;
    background: #fff;
}

.mobile-menu-hero {
    background: var(--site-soft-primary);
    border-bottom: 1px solid var(--site-border);
    padding: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mobile-menu-brand img,
.mobile-menu-avatar {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    background: #fff;
}

.mobile-menu-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--site-primary);
    font-weight: 900;
    font-size: 1.4rem;
}

.mobile-menu-title {
    color: var(--site-accent);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.2;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-menu-subtitle {
    color: #375241;
    font-size: .8rem;
    font-weight: 700;
    margin-top: 3px;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(17, 24, 39, .15);
    background: rgba(255, 255, 255, .75);
    color: var(--site-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-links a {
    min-height: 52px;
    border: 1px solid #eef0f3;
    background: #fff;
    color: #263238;
    font-weight: 800;
    text-decoration: none;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-links a span {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.mobile-menu-links a span i {
    width: 32px;
    height: 32px;
    color: var(--site-primary);
    background: var(--site-soft-primary-2);
    border: 1px solid color-mix(in srgb, var(--site-primary) 35%, #ffffff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-links a:hover {
    color: var(--site-primary);
    border-color: color-mix(in srgb, var(--site-primary) 35%, #ffffff);
    background: var(--site-soft-primary-2);
}

.mobile-menu-links>a>i {
    color: #94a3b8;
    font-size: .9rem;
}

/* Profile/home */
.profile-col-left,
.profile-col-right {
    width: 22%;
    flex: 0 0 auto;
}

.profile-col-main {
    width: 56%;
    flex: 0 0 auto;
}

.profile-photo,
.book-cover,
.book-cover-large {
    height: auto;
    border: 1px solid #9b9b9b;
    background: #c9edf8;
}

.member-date {
    color: #14833b;
    font-size: .78rem;
    font-weight: 700;
    margin-left: 12px;
}

.profile-details,
.book-meta-box {
    border: 1px solid #999;
    background: color-mix(in srgb, var(--site-primary) 25%, #ffffff);
    min-height: 245px;
}

.profile-details-header,
.book-meta-header {
    background: #f2f2f2;
    border-bottom: 1px solid #999;
    padding: 7px 9px;
    font-size: .82rem;
    font-weight: 900;
}

.profile-details-body,
.book-meta-body {
    padding: 12px;
    font-size: .85rem;
}

.profile-detail-value {
    word-break: break-word;
}

.profile-social-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 2px;
}

.profile-social-link {
    color: #005bbb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.profile-social-link:hover {
    color: var(--site-primary);
    text-decoration: underline;
}

/* Blog */
.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 8px;
}

.blog-card h2 a {
    color: var(--site-accent);
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: var(--site-primary);
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.blog-card-tag {
    border: 1px solid var(--site-border);
    background: #f8fafc;
    color: #374151;
    font-size: .72rem;
    font-weight: 800;
    padding: 3px 8px;
}

.blog-card-read {
    color: var(--site-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    font-weight: 900;
    margin-top: 14px;
    text-decoration: none;
}

.blog-card-read:hover {
    text-decoration: underline;
}

.blog-detail {

    margin: 0 auto;
}

.blog-detail-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--site-border);
    margin-bottom: 18px;
}

.blog-empty {
    border: 1px solid var(--site-border);
    background: #f8fafc;
    color: var(--site-muted);
    padding: 44px 18px;
    text-align: center;
}

/* Books */
.book-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.book-title {
    font-size: .92rem;
    line-height: 1.25;
    margin-top: 9px;
    font-weight: 500;
}

.book-author,
.book-format {
    font-size: .86rem;
    line-height: 1.25;
    color: #222;
}

.book-rating-inline-link {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
}

.browse-books-wrap,
.pagination {
    display: flex;
    justify-content: center;
}

.browse-books-btn,
.book-primary-btn,
.catalog-primary-btn {
    background: var(--site-primary);
    color: #fff;
    border: 0;
    padding: 10px 22px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
}

.browse-books-btn:hover,
.book-primary-btn:hover,
.catalog-primary-btn:hover {
    background: var(--site-accent);
    color: #fff;
}

/* Catalogue search */
.catalog-search-panel {
    border: 1px solid #d7dce3;
    background: #fff;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.catalog-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
}

.catalog-searchbox {
    min-height: 48px;
    border: 1px solid #b9c2cf;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}

.catalog-searchbox i {
    color: #667085;
    font-size: 1rem;
}

.catalog-searchbox input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: .95rem;
}

.catalog-search-submit,
.catalog-filter-toggle {
    min-height: 48px;
    border: 1px solid var(--site-primary);
    padding: 0 20px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.catalog-search-submit {
    background: var(--site-primary);
    color: #fff;
}

.catalog-search-submit:hover {
    background: var(--site-accent);
    border-color: var(--site-accent);
}

.catalog-filter-toggle {
    background: #fff;
    color: var(--site-primary);
}

.catalog-filter-toggle:hover {
    background: #f3f4f6;
}

.filter-count {
    background: var(--site-primary);
    color: #fff;
    border-radius: 999px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
}

/* Contact */
.contact-info-box {
    border: 1px solid #cfcfcf;
    padding: 16px;
    margin-top: 34px;
}

.contact-info-heading {
    color: #151515;
    font-size: .95rem;
    font-weight: 900;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.contact-info-heading i {
    color: var(--site-primary);
    font-size: 1rem;
}

.contact-info-item {
    height: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #d8dce2;
    background: #fff;
    padding: 12px 14px;
}

.contact-info-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 45%, #ffffff);
    color: var(--site-primary);
    background: var(--site-soft-primary-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-info-item strong {
    display: block;
    color: #151515;
    font-size: .9rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 4px;
}

.contact-info-item span,
.contact-info-item a {
    display: block;
    color: #555;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    word-break: break-word;
}

.contact-info-item a:hover {
    color: var(--site-primary);
    text-decoration: underline;
}

/* Ads/newsletter */
.ad-slot {
    width: 100%;
    min-height: 118px;
    border: 1px solid #999;
    background: #f0f783;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    text-align: center;
}

.subscribe-ad-section {
    margin-top: 34px;
}

.subscribe-ad-section .row {
    align-items: stretch;
}

.subscribe-ad-section .col-lg-8,
.subscribe-ad-section .col-lg-4 {
    display: flex;
}

.subscribe-ad-slot {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    margin: 0;
}

.newsletter-box {
    width: 100%;
    height: 100%;
    border: 1px solid #d7d7d7;
    background: #fff;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-field {
    position: relative;
    margin-bottom: 14px;
}

.newsletter-field i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: color-mix(in srgb, var(--site-primary) 65%, #ffffff);
}

.newsletter-field .form-control {
    height: 50px;
    border-radius: 0;
    border: 1px solid #aaa;
    padding-left: 44px;
}

.newsletter-btn {
    width: 100%;
    height: 50px;
    border: 0;
    background: var(--site-primary);
    color: #fff;
    font-weight: 900;
}

.newsletter-btn:hover {
    background: var(--site-accent);
}

/* Share */
.share-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.share-profile-link {
    border: 1px solid #d2d6dc;
    background: #fff;
    color: #222;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    font-weight: 800;
    text-decoration: none;
}

.share-profile-link i {
    color: var(--site-primary);
    font-size: 1.05rem;
}

.share-profile-link:hover {
    border-color: var(--site-primary);
    color: var(--site-primary);
}

/* Responsive */
@media (max-width: 991.98px) {

    .desktop-nav,
    .desktop-booksmeta {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .author-catalog-logo {
        font-size: 1.35rem;
    }



    .author-catalog-logo span {
        max-width: calc(100vw - 125px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .profile-col-left,
    .profile-col-main,
    .profile-col-right {
        width: 100%;
    }

    .profile-details,
    .book-meta-box {
        min-height: auto;
    }

    .subscribe-ad-slot {
        min-height: 160px;
    }
}

@media (max-width: 767.98px) {
    .catalog-search-row {
        grid-template-columns: 1fr;
    }

    .catalog-search-submit,
    .catalog-filter-toggle {
        width: 100%;
    }

    .contact-info-box {
        padding: 14px;
    }

    .contact-info-item {
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .share-profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .mobile-menu-offcanvas {
        display: none !important;
    }
}

.book-cover-wrap {
    width: 100%;
    aspect-ratio: 2 / 3;
    border: 1px solid #f8f8f8;
    background: #c9edf8;
    overflow: hidden;
    display: flex;
}

.book-cover-wrap .book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-cover-wrap .book-placeholder {
    width: 100%;
    height: 250px;
    padding: 10px;
    background: #c9edf8;
    color: #001b3f;
    font-weight: 700;
    line-height: 1.25;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-break: break-word;
}

/* paste at bottom of public/css/public-author.css */

/* Book detail layout, same shell behavior as home.blade.php */
.book-pdf-page {
    color: #202020;
    font-size: 13px;
    overflow-x: hidden;
}

.book-pdf-page *,
.book-pdf-page *::before,
.book-pdf-page *::after {
    box-sizing: border-box;
}

.book-pdf-shell {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}

.book-pdf-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.book-pdf-left,
.book-pdf-right {
    width: 22%;
    flex: 0 0 auto;
    min-width: 0;
}

.book-pdf-main {
    width: 56%;
    flex: 0 0 auto;
    min-width: 0;
}

.book-pdf-left {
    padding-right: 14px;
}

.book-pdf-right {
    padding-left: 14px;
}

.book-pdf-cover {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 1px solid #777;
    background: #c9edf8;
}

.book-pdf-action {
    width: 100%;
    max-width: 100%;
    border: 1px solid #b7b7b7;
    background: #eef0f1;
    color: #111;
    min-height: 38px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    font-weight: 900;
    font-size: .8rem;
    margin-top: 10px;
    overflow-wrap: anywhere;
}

.book-pdf-box,
.book-buy-box,
.book-rate-box {
    width: 100%;
    max-width: 100%;
    border: 1px solid #aaa;
    background: #eef0f1;
    margin-top: 12px;
    font-size: .82rem;
    overflow-wrap: anywhere;
}

.book-pdf-box {
    padding: 10px;
}

.book-pdf-box a,
.book-buy-body a {
    color: #0066cc;
    font-weight: 900;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.book-pdf-ad {
    border: 1px solid #999;
    background: #f0f783;
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 900;
    margin-top: 14px;
}

.book-pdf-ad-small {
    min-height: 150px;
}

.book-pdf-quick-meta,
.book-pdf-rating {
    color: var(--site-muted);
    font-size: .82rem;
    overflow-wrap: anywhere;
}

.book-pdf-stars {
    color: #f59e0b;
    font-size: 1rem;
    display: inline-flex;
    gap: 2px;
    margin-right: 8px;
}

.book-rating-inline-link {
    border: 0;
    background: transparent;
    color: #0066cc;
    padding: 0;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.book-pdf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0 14px;
}

.book-pdf-tags span,
.book-pdf-tags a {
    border: 1px solid #9acda4;
    background: #f8fffa;
    color: #00813a;
    padding: 4px 12px;
    font-size: .78rem;
    text-decoration: none;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.book-pdf-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    font-size: .83rem;
    margin-bottom: 14px;
    table-layout: fixed;
}

.book-pdf-table th,
.book-pdf-table td {
    border: 1px solid #9d9d9d;
    padding: 6px 9px;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.book-pdf-table th {
    width: 32%;
    background: #c9edf8;
    font-weight: 600;
}

.book-pdf-section {
    border-top: 1px solid #aaa;
    padding-top: 12px;
    margin-top: 12px;
    clear: both;
}

.book-pdf-section h2 {
    font-size: 1.35rem;
    font-weight: 950;
    margin-bottom: 8px;
    color: #202020;
    text-transform: uppercase;
}

.book-pdf-text {
    font-size: 1rem;
    line-height: 24px;
    color: #272727;
    text-align: left;
    overflow-wrap: anywhere;
}

.book-pdf-show {
    color: #0066cc;
    font-size: .78rem;
    font-weight: 900;
    text-decoration: none;
    float: right;
    margin-top: 4px;
}

.book-listed-card {
    border: 1px solid #aaa;
    background: #f3f4f6;
    padding: 8px;
    text-align: center;
}

.book-listed-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 8px;
}

.book-buy-header {
    border-bottom: 1px solid #aaa;
    padding: 7px 9px;
    font-weight: 950;
    background: #f8f8f8;
}

.book-buy-body,
.book-rate-box {
    padding: 10px;
}

.book-buy-body ul {
    padding-left: 16px;
    margin-bottom: 10px;
}

.book-bottom-ad {
    min-height: 140px;
    margin-top: 18px;
}

.book-flip-reader {
    margin-top: 10px;
    max-width: 100%;
    overflow: hidden;
}

.book-flip-pages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #9d9d9d;
    background: #d8c7a1;
    min-height: 430px;
    perspective: 1800px;
    overflow: hidden;
    position: relative;
}

.book-flip-page {
    background: #fffdf5;
    padding: 22px 22px 44px;
    min-height: 430px;
    box-shadow: inset 0 0 18px rgba(0, 0, 0, .06);
    position: relative;
    overflow: hidden;
}

.book-flip-page-content {
    position: relative;
    z-index: 1;
    color: #252525;
    font-size: .9rem;
    line-height: 1.75;
    text-align: justify;
    overflow-wrap: anywhere;
}

.book-flip-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.book-flip-btn {
    border: 1px solid #9d9d9d;
    background: #eef0f1;
    color: #111;
    min-height: 36px;
    padding: 0 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 991.98px) {

    .book-pdf-left,
    .book-pdf-main,
    .book-pdf-right {
        width: 100%;
        max-width: 100%;
        flex-basis: 100%;
        border: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .book-pdf-main {
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

@media (max-width: 767.98px) {
    .book-flip-pages {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .book-flip-page {
        min-height: 360px;
    }

    .book-flip-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .book-flip-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .book-pdf-section h2 {
        font-size: 1.1rem;
    }

    .book-pdf-text {
        font-size: .92rem;
        line-height: 1.65;
    }

    .book-pdf-table {
        font-size: .78rem;
    }

    .book-pdf-table th,
    .book-pdf-table td {
        padding: 6px;
    }
}

/* public/css/public-author.css */

.error-page-wrap {
    min-height: 58vh;
    display: flex;
    flex-direction: column;
    justify-content: center;


}

.error-code {
    color: var(--site-primary);
    font-size: 5rem;
    line-height: 1;
    font-weight: 950;
}

.error-title {
    color: var(--site-accent);
    font-size: 2rem;
    font-weight: 950;
    margin: 14px 0 8px;
}

.error-text {
    color: #475569;

    margin-bottom: 22px;
}

.error-actions {

    flex-wrap: wrap;
    gap: 10px;
}