.sb-reader{

    max-width:1200px;

    margin:40px auto;

    padding:30px;

}

.sb-back{

    color:#7A3712;

    text-decoration:none;

    font-weight:700;

    display:inline-block;

    margin-bottom:25px;

}

.sb-reader-header{

    text-align:center;

    margin-bottom:40px;

}

.sb-reader-type{

    display:inline-block;

    padding:8px 18px;

    border-radius:30px;

    background:#FFF4DD;

    color:#8B5A1D;

    font-weight:700;

    margin-bottom:20px;

}

.sb-reader-header h1{

    font-size:52px;

    color:#3A1D0C;

    margin:15px 0;

}

.sb-reader-meta{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:18px;

    margin-top:25px;

}

.sb-reader-meta span{

    background:#ffffff;

    padding:12px 22px;

    border-radius:40px;

    box-shadow:0 6px 18px rgba(0,0,0,.08);

    font-size:16px;

    color:#555;

    font-weight:600;

}

.sb-reader-paper{

    position:relative;

    background:#FFFDF8;

    border-radius:28px;

    padding:70px 90px;

    margin:50px auto;

    max-width:980px;

    box-shadow:

        0 25px 60px rgba(0,0,0,.08);

    overflow:hidden;
	
	background-image:

url('/wp-content/uploads/2026/07/ShabdBhoomi-Watermark.png');

background-repeat:no-repeat;

background-position:center;

background-size:420px;

}

.sb-watermark{

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    opacity:.04;

    pointer-events:none;

}

.sb-watermark img{

    width:450px;

}

.sb-reader-content{

    font-family:"Roboto Slab", serif;

    font-size:22px;

    line-height:2.1;

    color:#3A312A;

    text-align:justify;

    text-justify:inter-word;

    font-weight:400;
	
	max-width:820px;

    margin:auto;

}

.sb-reader-content p{

    text-align:justify;

    margin-bottom:32px;

}

.sb-reader-content p:first-child::first-letter{

    float:left;

    font-size:74px;

    line-height:.8;

    padding-right:10px;

    color:#7A3712;

    font-weight:700;

}

.sb-reader-actions{

    display:flex;

    justify-content:center;

    gap:20px;

    margin:40px 0;

}

.sb-reader-actions button{

    border:none;

    border-radius:14px;

    padding:16px 35px;

    cursor:pointer;

    font-size:17px;

    font-weight:700;

}

.sb-print{

    background:#517EA8;

    color:#fff;

}

.sb-download{
    background:#8B4513;
    color:#ffffff !important;
    border:none;
    opacity:1;
    cursor:pointer;
    transition:0.3s;
}

.sb-download:hover{
    background:#6d330f;
    color:#ffffff;
}

.sb-share{

    background:#AF7D2B;

    color:#fff;

}

#sb-reading-progress{

    position:fixed;

    top:0;

    left:0;

    height:5px;

    width:0;

    z-index:99999;

    background:

        linear-gradient(

            90deg,

            #53220E,

            #AF7D2B

        );

}

/* ===========================================
   Reader Library
=========================================== */

.sb-reader-library{

    text-align:center;

    margin:10px 0 35px;

}

.sb-back-library{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:13px 24px;

    border:1px solid #E1CBAA;

    border-radius:12px;

    background:#FFF9EF;

    color:#7A3712;

    text-decoration:none;

    font-size:16px;

    font-weight:700;

    box-shadow:0 5px 16px rgba(83,34,14,.06);

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        color .2s ease;

}

.sb-back-library:hover{

    color:#53220E;

    background:#FFF3DC;

    border-color:#AF7D2B;

    transform:translateY(-1px);

}

/* ===========================================
   Reader Navigation
=========================================== */

.sb-reader-navigation{

    display:flex;

    justify-content:space-between;

    align-items:center;

    max-width:900px;

    margin:20px auto 50px;

    padding-top:25px;

    border-top:1px solid #E7D9C4;

}

.sb-reader-navigation a{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:170px;

    padding:12px 20px;

    border:1px solid #E7D9C4;

    border-radius:12px;

    background:#ffffff;

    color:#7A3712;

    text-decoration:none;

    font-size:15px;

    font-weight:700;

    box-shadow:0 4px 14px rgba(83,34,14,.05);

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        color .2s ease;

}

.sb-reader-navigation a:hover{

    color:#53220E;

    background:#FFF8EC;

    border-color:#AF7D2B;

    transform:translateY(-1px);

}

/*==================================================
PRINT LAYOUT
==================================================*/

@media print{

    @page{
        size:A4;
        margin:18mm;
    }

    html,
    body{

        background:#ffffff !important;

    }

    /* Hide website chrome */

    header,
    footer,
    nav,

    .elementor-location-header,
    .elementor-location-footer,

    .site-header,
    .site-footer,

    #masthead,
    #colophon,

    .bb-header,
    .bb-footer,

   .sb-back,
.sb-reader-actions,
.sb-reader-library,
.sb-reader-navigation,
.sb-nav-left,
.sb-nav-right,
.sb-back-library{
    display:none !important;
}

    .sb-reader{

        max-width:100% !important;

        width:100% !important;

        margin:0 auto !important;

        padding:0 !important;

        background:#ffffff !important;

    }

    .sb-reader-header{

        margin-bottom:30px !important;

    }

    .sb-reader-paper{

        box-shadow:none !important;

        border:none !important;

        border-radius:0 !important;

        max-width:100% !important;

        width:100% !important;

        padding:35px !important;

        margin:25px 0 !important;

        background:#ffffff !important;

        background-image:url('/wp-content/uploads/2026/07/ShabdBhoomi-Watermark.png') !important;

        background-repeat:no-repeat !important;

        background-position:center center !important;

        background-size:340px !important;

        -webkit-print-color-adjust:exact;

        print-color-adjust:exact;

    }

    .sb-watermark{

        display:none !important;

    }

    .sb-reader-content{

        font-size:17pt !important;

        line-height:2 !important;

        color:#222 !important;

    }

    .sb-reader-content p{

        page-break-inside:avoid;

    }
	
	/* Hide floating chatbot */

.shabdbhoomi-chatbot,
.shabdbhoomi-ai-chatbot,
#shabdbhoomi-chatbot,
#sb-chatbot,
.mwai-chatbot,
.mwai-open-button,
.mwai-chat-window,
.mwai-assistant,
.ai-engine-chatbot,
.chatbot-widget,
.chatbot-toggle{

    display:none !important;

}

/* Hide browser scrollbar */

html,
body{

    overflow:hidden !important;

}

/* Hide BuddyBoss floating widgets */

.bb-floating-button,
.bb-floating-panel{

    display:none !important;

}

/* Hide Elementor floating elements */

.elementor-sticky,
.elementor-floating{

    display:none !important;

}

/* Remove scrollable containers while printing */

.sb-reader-paper,
.sb-reader-content,
.sb-reader{

    overflow: visible !important;

    overflow-y: visible !important;

    overflow-x: visible !important;

    height: auto !important;

    max-height: none !important;

}

}

/* =========================================================
   SHABDBHOOMI SHARE MODAL
========================================================= */

.sb-share-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(30, 16, 10, .62);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .22s ease, visibility .22s ease;
}

.sb-share-modal.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.sb-share-box{
    position:relative;
    width:min(520px, 100%);
    padding:34px;
    border:1px solid rgba(175,125,43,.28);
    border-radius:20px;
    background:#fffdf9;
    box-shadow:0 24px 70px rgba(44,25,15,.24);
    transform:translateY(12px);
    transition:transform .22s ease;
}

.sb-share-modal.is-open .sb-share-box{
    transform:translateY(0);
}

.sb-share-box h3{
    margin:0 45px 24px 0;
    color:#53220e;
    font-size:22px;
    line-height:1.3;
}

.sb-share-close{
    position:absolute;
    top:16px;
    right:16px;
    width:36px;
    height:36px;
    padding:0;
    border:0;
    border-radius:50%;
    background:#f3eadf;
    color:#53220e;
    font-size:24px;
    line-height:36px;
    cursor:pointer;
}

.sb-share-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
}

.sb-share-item{
    min-height:48px;
    padding:11px 15px;
    border:1px solid #e5d6c3;
    border-radius:10px;
    background:#ffffff;
    color:#53220e;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.sb-share-item:hover{
    transform:translateY(-1px);
    border-color:#af7d2b;
    background:#fff8ec;
}

body.sb-share-open{
    overflow:hidden;
}

@media (max-width:600px){

    .sb-share-box{
        padding:28px 20px 22px;
    }

    .sb-share-grid{
        grid-template-columns:1fr;
    }

}