/*
Theme Name: Radcliff Child
Template: radcliffe
Version: 1.1
*/

/* Hide About the author and About the post boxes */
.author-bio,
.entry-author-box,
#about-the-post,
.post-about-author {
  display: none !important;
}

/* ------------------------------------------
   Booksonus Single Book Page
   ------------------------------------------ */

.booksonus-detail-image {
    display: block;
    width: 100%;
    height: auto;
}

.booksonus-book-detail-title {
    margin-top: 0;
    margin-bottom: 25px;
}

.booksonus-book-detail-author,
.booksonus-book-detail-isbn {
    margin-bottom: 12px;
    font-size: 17px;
}

.booksonus-book-description {
    margin-top: 50px;
}

.booksonus-book-back {
    margin-top: 40px;
}

.booksonus-book-back a {
    text-decoration: none;
}

/* Booksonus - Force single book content to center */

body.single-book #main.booksonus-book-page {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 50px 0 !important;
    box-sizing: border-box !important;
}

body.single-book #main.booksonus-book-page .booksonus-single-book {
    display: block !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

/* Booksonus - Force book cover/details side-by-side */

body.single-book .booksonus-book-main {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 60px !important;
    width: 100% !important;
}

body.single-book .booksonus-book-detail-cover {
    flex: 0 0 300px !important;
    width: 300px !important;
    max-width: 300px !important;
}

body.single-book .booksonus-book-details {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
}

/* Mobile */

@media (max-width: 700px) {

    body.single-book .booksonus-book-main {
        flex-direction: column !important;
        gap: 30px !important;
    }

    body.single-book .booksonus-book-detail-cover {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
}
