/* =====================================================
   BOOK REVIEW TEMPLATE
===================================================== */

:root{
    --primary:#2563eb;
    --secondary:#111827;
    --text:#334155;
    --light:#f8fafc;
    --border:#e2e8f0;
    --radius:16px;
    --shadow:0 10px 30px rgba(15,23,42,.08);
}

*{
    box-sizing:border-box;
}

.book-review-page{
    padding-bottom:20px;
}

/* Desktop Only */
@media (min-width: 1025px) {

    .book-review-page .container {
        max-width: 1280px;
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }

}

/* =====================================
Hero
===================================== */

.book-review-page p.subtitle {
    margin: 18px 0;
}

.book-review-page span.label {
    color: #1D4ED8;
}

.book-review-page  .breadcrumb{
    padding:20px 0 0;
    width: 1280px;
    max-width: 100%;
    margin: 0 auto;
}

    .book-review-page .breadcrumbs{
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom:30px;
        font-size:15px;
    }

    .book-review-page .breadcrumbs a{
        color: #334155;
        text-decoration:none;
        transition:.3s;
    }
.book-hero .breadcrumb span:last-child {
    font-weight: 600;
    color: #111827;
}

body.single-book_reviews .book-container
 {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}
.book-hero .container{
    grid-template-columns:minmax(0,1fr) 480px;
    gap:50px;
}

.book-hero .container{
    width:1280px;
    max-width:100%;
    margin:0 auto;
    padding:0 20px;

    display:grid;
    /* grid-template-columns:55% 45%; */
    gap:60px;
    align-items:center;
}

.single-book_reviews .site-content .ast-container{
    display: block;
    max-width: 100%;
    padding: 0;
}


.book-content{
    width:100%;
}

.book-image{
    width:100%;
    display:flex;
    justify-content:flex-end;
    align-items:center;
}

.book-image img{
    display: block;
    width: 100%;
    height: 400px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.book-meta{
    display:grid;
    grid-template-columns:repeat(2,auto);
    justify-content:start;
    gap:14px 28px;
    margin:28px 0 30px;
}

.book-meta-item{
    display:flex;
    align-items:center;
    gap:10px;
}

.meta-text{
    display:flex;
    align-items:center;
    gap:3px;
    font-size:15px;
    line-height:1.4;
}
.hero-quote{
    display:flex;
    align-items:flex-start;
    gap:16px;
    margin:35px 0 0;
    padding:24px 0 0;
    border-top:1px solid #e5e7eb;
    background:none;
    border-left:none;
    padding-left: 23px;

}

.single-book_reviews .quote-icon{
    font-size:22px;
    position: absolute;
    left: 0;
    color:#3b82f6;
    line-height:1;
    flex-shrink:0;
    margin-top:2px;
}

.single-book_reviews .quote-content{
    color:#334155;
    font-size:18px;
    line-height:1.8;
}

.hero-quote p{
    margin:0;
}

@media(max-width:767px){

    .hero-quote{
        gap:12px;
    }
  
    .quote-content{
        font-size:16px;
    }
    .book-meta{
        grid-template-columns:1fr;
        gap:14px;
    }
  
     .book-hero .container{
        display:flex;
        flex-direction:column;
    }

    .book-image{
        order:1;
    }

    .book-content{
        order:2;

    }

    .book-hero .container{
        grid-template-columns: 1fr;
    }

    .book-image{
        grid-row: 1;
        justify-content: center;
        margin-bottom: 30px;
    }

    .book-content{
        grid-row: 2;
    }

    .book-image img{
        margin: 0 auto;
    }

    .book-content{
        display:flex;
        flex-direction:column;
    }

    .breadcrumb{
        order:-1; /* move breadcrumb to top of content block */
        margin-bottom:20px;
    }

    .book-review-page span.label{
        order:0;
    }

    .book-review-page h1{
        order:1;
    }

    .book-review-page p.subtitle{
        order:2;
    }

    .book-meta{
        order:3;
    }

    .hero-quote{
        order:4;
    }
}
/* =====================================
About book
===================================== */

.about-book{
    padding-bottom:40px;
    border-bottom:1px solid #E5E7EB;
}

.about-book .section-title{
    display:flex;
    align-items:center;
    gap:12px;
    margin:0 0 30px;
    font-size:48px;
    font-weight:400;
    color:#111827;
    line-height:1.2;
}

.section-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#2563EB;
    font-size:22px;
}
.about-book h2 svg{
    width:22px;
    height:22px;
    color:#2563EB;
    flex-shrink:0;
}

.about-book-content{
    color:#334155;
}

.about-book-content p{
    margin:0 0 18px;
    font-size:17px;
    line-height:1.9;
}

.about-book-content p:last-child{
    margin-bottom:0;
}

@media (max-width:768px){

    .about-book{
        padding-bottom:30px;
        margin-bottom:30px;
    }

    .about-book h2{
        font-size:24px;
    }

    .about-book-content p{
        font-size:16px;
        line-height:1.8;
    }

}


/*=====================================
Key Takeaways
=====================================*/

.takeaways{
    padding:40px 0;
    border-bottom:1px solid #E5E7EB;
}

.takeaways .section-title{
    display:flex;
    align-items:center;
    gap:12px;
    margin:0 0 30px;
    font-size:48px;
    font-weight:400;
    color:#111827;
}

.takeaways .section-icon{
    color:#2563EB;
    font-size:24px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.takeaway-item{
    display:flex;
    align-items:flex-start;
    gap:20px;
    margin-bottom:28px;
}

.takeaway-item:last-child{
    margin-bottom:0;
}

.takeaway-icon{
    width:52px;
    height:52px;
    min-width:52px;
    border-radius:50%;
    background:#EFF6FF;
    color:#2563EB;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.takeaway-content{
    flex:1;
}

.takeaway-content h3{
    margin:0 0 10px;
    font-size:20px;
    font-weight:700;
    line-height:1.3;
    color:#111827;
}

.takeaway-description{
    color:#334155;
    font-size:17px;
    line-height:1.8;
}

.takeaway-description p{
    margin:0 0 16px;
}

.takeaway-description p:last-child{
    margin-bottom:0;
}

.takeaway-description ul,
.takeaway-description ol{
    margin:15px 0 15px 20px;
}

.takeaway-description li{
    margin-bottom:8px;
}

.takeaway-description a{
    color:#2563EB;
    text-decoration:none;
}

.takeaway-description a:hover{
    text-decoration:underline;
}

.takeaway-description strong{
    font-weight:700;
    color:#111827;
}

@media (max-width:768px){

    .takeaways{
        padding:0 0 40px 0;
        margin-bottom:30px;
    }

    .takeaways .section-title{
        font-size:24px;
    }

    .takeaway-item{
        gap:16px;
        margin-bottom:24px;
    }

    .takeaway-icon{
        width:46px;
        height:46px;
        min-width:46px;
        font-size:20px;
    }

    .takeaway-content h3{
        font-size:18px;
    }

    .takeaway-description{
        font-size:16px;
        line-height:1.7;
    }

}


/* =====================================
Review
===================================== */
.my-review{
    padding:30px 0;
}

.my-review .section-title{
    display:flex;
    align-items:center;
    gap:12px;
    margin:0 0 24px;
    font-size:48px;
    font-weight:400;
    color:#111827;
}

.review-content{
    color:#334155;
    font-size:17px;
    line-height:1.9;
}

.review-content p{
    margin:0 0 18px;
}

.review-content p:last-child{
    margin-bottom:0;
}

/* =====================================
Review Quote
===================================== */

.review-quote {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-radius: 12px;
}
.review-quote .quote-icons{
    color:#2563EB;
}

.review-quote .quote-content{
    flex:1;
    color:#334155;
    font-size:18px;
    line-height:1.8;
}

.review-quote .quote-content p{
    margin:0;
}

@media (max-width:768px){

    .review-quote{
        padding:22px;
        gap:12px;
    }

    .review-quote .quote-content{
        font-size:16px;
    }

}


/* ==========================
Author Profile
========================== */

.author-profile{
    padding:30px 0 0;
}

.author-image {
    flex: 0 0 13%;
}

.author-description{
    font-size:18px;
    line-height:1.8;
    color:#4b5563;
    margin-bottom:18px;
}

.author-description p{
    margin:0;
}

.profile-btn{
    display:inline-block;
    color:#1D4ED8;
    font-weight:600;
    text-decoration:none;
    margin-bottom:28px;
}

.profile-btn:hover{
    color:#111827;
}

.author-meta{
    display:flex;
}

.author-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
    display: flex;
   align-items: flex-start !important;
    gap: normal !important;
}

.author-info h4{
    margin:0;
    padding:0;
    font-size:22px;
    line-height:1.2;
}

.author-info .author-designation{
    display:block;
    margin-top:6px;
    font-size:16px;
    color:#334155;
    line-height:1.5;
}

@media(max-width:768px){

.author-meta{
    align-items:center;
}

.author-info h4{
    font-size:18px;
}

.author-description{
    font-size:16px;
}

}

/* =====================================
Book Highlights
===================================== */

.book-highlights-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:24px;
    box-shadow:0 10px 25px rgba(15,23,42,.06);
}

.book-highlights-card h3{
    position:relative;
    margin:0 0 28px;
    font-size:22px;
    font-weight:300;
    color:#111827;
}

.book-highlights-card h3::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-10px;
    width:42px;
    height:4px;
    background:#2563eb;
    border-radius:30px;
}


/* List */
.highlights-content ul{
    list-style:none;
    padding:0;
    margin:0;
}

.highlights-content li{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:16px;
    color:#334155;
    font-size:16px;
    line-height:1.5;
}


/* Blue Circle */
.highlights-content li::before{
    content:"✓";
    width:22px;
    height:22px;
    min-width:22px;

    border-radius:50%;
    background:#2563eb;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:13px;
    font-weight:700;
    line-height:1;

    padding-bottom:1px; /* tiny optical correction */
}


/* Remove last spacing */
.highlights-content li:last-child{
    margin-bottom:0;
}

/* =====================================
Book Details Card
&
Tables
===================================== */

 table{
    width:100%;
    border-collapse:collapse;
    margin:40px 0;
}

table th,
table td{
    border:1px solid var(--border);
    padding:16px;
}

.book-details-card table th{
    background:#f1f5f9;
    table, td, th {
    border:  none;
}
} 

.book-details-card table, td, th {
border:  none;
}   

.book-details-card h3{
    margin:0 0 25px;
    font-size:22px;
    color:#111827;
}


.book-details{
    width:100%;
    border-collapse:collapse;
    margin:0;
}

.book-details tr{
    border:none;
}

.book-details td{
    border:none;
    padding:8px 0;
    font-size:15px;
    line-height:1.5;
}


/* Left column */
.book-details td:first-child{
    width:40%;
    color:#64748b;
    font-weight:500;
}


/* Right column */
.book-details td:last-child{
    color:#111827;
    font-weight:600;
}

/*=====================================
You Might Also Like
=====================================*/

.related-books-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.related-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.related-header h3{
    margin:0;
    font-size:22px;
    font-weight:300;
    color:#111827;
}

.related-header a{
    font-size:14px;
    font-weight:600;
    color:#2563EB;
    text-decoration:none;
    white-space:nowrap;
    transition:all .3s ease;
}

.related-header a:hover{
    color:#1D4ED8;
}

/* Individual Book */

.related-book{
    display:flex;
    align-items:center;
    gap:15px;
    padding:18px 0;
    border-top:1px solid #EDF2F7;
    
}

.related-book:first-of-type{
    border-top:none;
    padding-top:0;
}

.related-thumb{
    flex:0 0 70px;
}

.related-thumb img{
    width:70px;
    height:100px;
    object-fit:cover;
    border-radius:4px;
    display:block;
    transition:transform .3s ease;
}

.related-thumb:hover img{
    transform:scale(1.04);
}

.related-content{
    flex:1;
}

.related-content h4{
    margin:0 0 6px;
    font-size:16px;
    font-weight:600;
    line-height:1.4;
}

.related-content h4 a{
    color:#111827;
    text-decoration:none;
    transition:color .3s ease;
}

.related-content h4 a:hover{
    color:#2563EB;
}

.related-content p{
    margin:0;
    font-size:14px;
    color:#334155;
    line-height:1.5;
}

/* Mobile */

@media (max-width:768px){

    .related-books-card{
        padding:20px;
    }

    .related-header{
        flex-direction:row;
        align-items:flex-start;
        gap:8px;
    }

    .related-header h3{
        font-size:20px;
    }

   .related-thumb{
    flex: 0 0 70px;
}

.related-thumb img{
    width: 70px;
    height: 100px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 6px;
    background: #fff;
}

    .related-content h4{
        font-size:15px;
    }

    .related-content p{
        font-size:13px;
    }

}

/* =====================================
Bottom CTA
===================================== */

.book-cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;

    background:#f1f5ff;

    border-radius:12px;

    padding:24px 28px;

}


/* Icon */

.cta-icon{

    width:70px;
    height:70px;
    min-width:52px;

    border-radius:50%;

    background:#2563eb;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:21px;

    flex-shrink:0;
}


/* Text */

.cta-content{

    flex:1;

    display:flex;
    flex-direction:column;
    justify-content:center;

}


.cta-content h3{

    margin:0 0 8px;

    color:#111827;

    font-size:31px;

    line-height:1.35;

    font-weight:700;

}


.cta-content p{

    margin:0;

    color:#334155;

    font-size:15px;

    line-height:1.6;

}


/* Button */
.book-cta .cta-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    background:#0f2a63;
    color:#fff;

    padding:14px 24px;

    border-radius:6px;

    font-size:15px;
    font-weight:600;

    text-decoration:none;

    white-space:nowrap;

    line-height:1;
}


.book-cta .cta-button i{

    font-size:14px;

    line-height:1;

}


.book-cta .cta-button:hover{

    background:#2563EB;

    color:#fff;

}

.book-cta .cta-button::after{
    content:"↗";
    font-size:18px;
    margin-left:8px;
    line-height:1;
}



/* Mobile */

@media(max-width:768px){

    .book-cta{

        flex-direction:column;

        align-items:flex-start;

        gap:20px;

        padding:22px;

    }


    .book-cta{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 18px;
        padding: 24px 20px;
    }

    .cta-icon{
        margin: 0 auto;
    }

    .cta-content{
        align-items: center;
        text-align: center;
    }

    .cta-content h3{
        margin-bottom: 10px;
    }

    .cta-content p{
        margin: 0;
    }

    .book-cta .cta-button{
        width: auto;
        min-width: 170px;
        padding: 12px 22px;
        margin: 0 auto;
        justify-content: center;
    }

}
/* =====================================
Sidebar
===================================== */

.sidebar{
    position:relative;
}

.sidebar-card{
    background:#fff;
    padding:30px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    margin-bottom:30px;
}

.sidebar-card:first-child{
    position:sticky;
    top:120px;
}

.sidebar-card h3{
    margin-top:0;
    margin-bottom:20px;
    color:var(--secondary);
}

.sidebar-card ul{
    list-style:none;
    margin:0;
    padding:0;
}

.sidebar-card li{
    display:flex;
    justify-content:space-between;
    padding:14px 0;
    border-bottom:1px solid var(--border);
}

.sidebar-card li:last-child{
    border:none;
}

.sidebar-card strong{
    color:var(--secondary);
}

@media (max-width:768px){

    .content-wrapper{
        grid-template-columns:1fr;
        gap:30px;
    }

    .main-content{
        grid-column:1;
    }

    .sidebar{
        grid-column:1;
    }
.quote-content p {
    font-size: 18px;
}
}

/* =====================================
Final Verdict
===================================== */

.final-verdict{
    margin-top:60px;
    background:#eff6ff;
    border-left:5px solid var(--primary);
    padding:35px;
    border-radius:12px;
}

.final-verdict h2{
    margin-top:0;
}


/* =====================================
Blockquote
===================================== */

.book-review-page blockquote {
    border-top: 3px solid rgba(0, 0, 0, .1);
    border-left: unset;
    border-top: 3px solid rgba(0, 0, 0, .1);
    margin:35px 0;
    font-style:italic;
}


/* =====================================
Buttons
===================================== */

.wp-block-button__link{
    border-radius:8px;
}

/* =====================================
Mobile
===================================== */

@media screen and (max-width: 992px) and (max-height: 500px) and (orientation: landscape) {

.book-hero .container{
    grid-template-columns:1fr;
}

.review-content .container{
    grid-template-columns:1fr;
}

.book-grid{
    grid-template-columns:repeat(2,1fr);
}

.book-hero h1{
    font-size:38px;
}

.sidebar-card:first-child{
    position:relative;
    top:0;
}
    /* .book-content {
        order: 2;
    } */

}

@media(max-width:768px){

.book-grid{
    grid-template-columns:1fr;
}

/* .review-content{
    padding:40px 0;
} */

.content-area{
    padding:30px;
}

.book-hero h1{
    font-size:30px;
}

.hero-summary{
    font-size:16px;
}

}

.related-book{

display:flex;

gap:15px;

align-items:center;

}


.related-book h4{

margin:0 0 5px;

font-size:16px;

}

.related-book a{

text-decoration:none;

color:#111827;

}


.book-content-section{

    padding:60px 0;

} 

.content-wrapper{

    display:grid;

    grid-template-columns:2fr 360px;

    gap:50px;

}

.main-content{

    display:flex;

    flex-direction:column;


}

.sidebar{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.card{

    background:#fff;

    border-radius:12px;

    padding:28px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    border:1px solid #edf2f7;

}



/* =====================================================
TABLET (Landscape & Portrait)
===================================================== */
@media (max-width: 1024px){

    .book-review-page .container{
        width:100% !important;
        padding:0 24px;
    }
.quote-content p {
    font-size: 18px;
}
  .postid-5579 .book-hero .container {
    display: flex;
  }

    .book-content-section .content-wrapper{
        grid-template-columns:1fr;
        gap:40px;
    } 

    .sidebar{
        order:2;
    }

    .main-content{
        order:1;
    }

    .card{
        padding:24px;
    }

    .book-meta{
        grid-template-columns: auto;
    }

    .book-cta{
        flex-wrap:wrap;
    }

}


/* =====================================================
LANDSCAPE MOBILE
===================================================== */
@media (max-width:932px) and (orientation:landscape){

    .book-review-page .container{
        padding:0 20px;
    }


    .content-wrapper{
        grid-template-columns:1fr;
    }

    /* .book-meta{
        grid-template-columns:repeat(2,1fr);
    } */

}


/* =====================================================
MOBILE
===================================================== */
@media (max-width:767px){

    .book-review-page .container{
        width:100%;
        padding:0 16px;
    }

    .book-hero .container{
        grid-template-columns:1fr;
        gap:30px;
        padding:35px 16px;
    }

    .book-content{
        order:2;
    }

    .book-image{
        order:1;
        justify-content:center;
    }

    .book-image img{
        width:100%;
        height: 270px;
    }

    .book-meta{
        grid-template-columns:1fr;
        gap:16px;
    }

    .content-wrapper{
        display:grid;
        grid-template-columns:1fr;
        gap:30px;
    }

    .main-content{
        order:1;
    }

    .sidebar{
        order:2;
        gap: 40px;
    }

    .card{
        padding:20px;
    }

    .related-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .book-cta{
        flex-direction:column;
        align-items:flex-start;
    }

    .book-cta .cta-button{
        justify-content:center;
    }

    .author-meta{
        flex-direction:row;
        align-items:flex-start;
        gap:16px;
    }

    .author-image{
        flex:unset;
    }

    .author-image img{
        width:80px;
        height:80px;
        border-radius:50%;
    }

    .takeaway-item{
        flex-direction:row;
        align-items:flex-start;
    }

    h1{
        font-size:32px;
        line-height:1.2;
    }

    .section-title{
        font-size:26px !important;
    }
.my-review {
    padding: 0 0 40px 0;
}
.book-content-section {
    padding: 40px 0;
}


}


@media only screen and (width: 1024px) and (height: 600px) {

    /* Your CSS here */

.review-quote .quote-content p {

    margin: 7px;

    margin-left: 1px;

    font-size: 17px;

}

}

