/* Article CSS for BSRJ — shared styles for all articles, including the TOC, hero, and main content. */
/* For articles in english working as on 10-Jun-2026 3:00 PM, with Arima and Source Sans 3 fonts. */
/* =============================== GLOBAL ============================ */
/* Regular */
@font-face {
    font-family: 'Ganga';
    src: url('http://research.baps.org/journal_material/fonts/Ganga.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Italic */
@font-face {
    font-family: 'Ganga';
    src: url('http://research.baps.org/journal_material/fonts/Ganga_I.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: 'Ganga';
    src: url('http://research.baps.org/journal_material/fonts/Ganga_B.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Bold Italic */
@font-face {
    font-family: 'Ganga';
    src: url('http://research.baps.org/journal_material/fonts/Ganga_BI.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Arima Madurai';
    src: url('http://research.baps.org/journal_material/fonts/ArimaMadurai-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Arima Madurai';
    src: url('http://research.baps.org/journal_material/fonts/ArimaMadurai-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

html {
    font-size: 22px; 
   -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;     
}


body {
            font-family: "Arima", serif;
            
    background: #f8f9fa; 
	overflow-x: hidden;
    width: 100%;
    max-width: 100%;    
}

 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
    font-family: 'Arima Madurai', serif;
    margin-top: 4px;
    margin-bottom: 4px;
    font-weight: 500;
    line-height: 1.1;      
}

p, a, li {
    
    font-family: 'Arima', serif;
    font-size: 0.8rem;
    line-height: 1.6;
}   

hr {
    margin: 0.2rem 0;
    border-top: 1px solid #e0e0e0;
    opacity: .5;
}

/* =============================== HERO ============================== */
.hero {
    height: 233px;
    /* Resolved correctly from volumes/vX/ because PHP sets the full URL inline on the element */
    position: relative;
    color: white;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
	white-space: nowrap;
}


/*====================== Container for columns ========================*/

.container-main {
	max-width: 1600px;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	padding: 10px;	
	justify-content: center;

}

/*========================= All Columns styles ========================*/

.col {
	padding: 10px;
	border: 0px solid #333;
}

/*================================ COL 0 ===============================*/

.col0 {
	background-color: #f0f0f0;
} 



/*======================================================================*/
/*========================  COL 0 MOBILE TOC (TOP)  ====================*/
/*======================================================================*/


/* ================= MOBILE TOC ================= */

.mobile-toc-bar {

    position: sticky;
    top: 0;
    z-index: 100;
    margin: 0px;
    border-radius: 10px;
    background: #f1f1f1;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

/* HIDE ON SCROLL UP */
.mobile-toc-bar.hide {
    transform: translateY(-120%);
    opacity: 0;
}

/* HEADER */
.mobile-toc-header {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #CB7E2E;
}

/* ICON */
.mobile-toc-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

/* ROTATE */
.mobile-toc-bar.open .mobile-toc-icon {
    transform: rotate(180deg);
}

/* BODY */

.mobile-toc-body {

    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.45s ease,
        padding 0.3s ease;
    background: #fff;
    padding-left: 0;
}

/* OPEN */
.mobile-toc-bar.open .mobile-toc-body {

    max-height: 50vh;
    overflow-y: auto;
    padding:
        10px;
}

/* LINKS */

.mobile-toc-body a {

    display: block;
    padding: 0px 0;
    text-decoration: none;
    color: #222;
    font-size: 0.8rem;
    line-height: 1.6;
}

/*===========================================================*/

.mobile-toc-body ul {

    padding-left: 0;
    margin-left: 0;
}

.mobile-toc-body li {

    list-style: none;
    margin-left: 0;
}

/* LEVEL 1 */

.mobile-toc-body .toc-level-1 > .toc-row {

    padding-left: 0;
}

/* LEVEL 2 */

.mobile-toc-body .toc-level-2 {

    padding-left: 16px;
}

/* EXTRA LINKS */

.mobile-extra-links {

    margin-top: 14px;
    padding-top: 14px;

    border-top: 1px solid #ddd;
}

.mobile-extra-links a {

    padding-left: 0 !important;
}
/*===========================================================*/

/* LEVEL 2 */

.mobile-toc-level-2 {

    padding-left: 10px;
    font-size: 1rem !important;
    color: #666 !important;
}

/* ACTIVE */
.mobile-toc-body a.active {

    color: #CB7E2E;
    font-weight: 600;
}

.mobile-related-links {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.mobile-related-links a {
    padding-left: 0 !important;
}


/*======================================================================*/  
/*======================== COL 1 TOC (SIDEBAR-LEFT) ====================*/
/*======================================================================*/



.article-thumb {
	width: 198px;
	object-fit: cover;
	display: block;
}

.meta a{
	font-size: 0.7rem;

}

.meta p {
	font-size: 0.7rem;

}
/* ================================ TOC =============================== */

.toc-container {

    position: sticky;
    top: 10px;

}

.toc {

    max-height: calc(100vh - 80px);

    overflow-y: auto;

    padding-right: 8px;

    scroll-padding-bottom: 20px;

}

.toc-title{
            font-family: 'Arima', serif;
            
    font-size: 0.9rem;
    font-weight: 600;
}

.toc li {
    margin-bottom: 6px;
}

/* ========================== TOC LEVEL 1 =========================== */
.toc-level-1 {
    list-style: none;
    position: relative;
    padding-left: 0;
    margin-bottom: 14px;
}

.toc-level-1::before {
    position: absolute;
    left: 0;
    color: #000;
}

.toc-level-1 > a::after {
    content: "+";
    flex-shrink: 0;
    margin-left: 10px;
    font-weight: bold;
    color: #666;
}

.toc-level-1.open > a::after {
    content: "−";
}

.toc-level-1.no-children > a::after {
    content: "";
}

/* ============================ TOC LEVEL 2 =========================== */
.toc-level-2 {
    list-style: none;
    position: relative;
    padding-left: 0;
    margin-bottom: 6px;
}

.toc-level-2::before {
    content: "●";
    position: absolute;
    left: 0;
    font-size: 15px;
    color: #000;
}

/* ========================= TOC LEVEL 3 (future safe) ============= */


.toc-level-3::before {
    content: "-";
    position: absolute;
    left: 0;
}


/* DEFAULT TOC LINKS */
.toc a {
    color: #000;
    text-decoration: none;
	display: block;
    padding-left: 5px;
    text-indent: 0px;
    font-size: 0.7rem;    
}

/* LEVEL 1 TEXT*/
.toc-level-1 > a {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
	padding-right: 5px;
}

.toc-level-1 > a span {
    flex: 1;
}

/* LEVEL 2 TEXT */
.toc-level-2 a {
    font-size: 0.7rem;
    margin-left: 20px;
	padding-right: 25px;
}

/* LEVEL 3 */
.toc-level-3 {
    list-style: none;
    position: relative;
    padding-left: 0;
    margin-bottom: 4px;
}
.toc-level-3 a {
    font-size: 0.7rem;
    margin-left: 36px;
    color: #555;
    display: block;
    padding: 2px 0;
    text-decoration: none;
}
/* LEVEL 4 */
.toc-level-4 { list-style: none; margin-bottom: 3px; }
.toc-level-4 a {
    font-size: 0.75rem;
    margin-left: 48px;
    color: #777;
    display: block;
    padding: 2px 0;
    text-decoration: none;
}
/* LEVEL 5 */
.toc-level-5 { list-style: none; margin-bottom: 3px; }
.toc-level-5 a {
    font-size: 0.75rem;
    margin-left: 60px;
    color: #999;
    display: block;
    padding: 2px 0;
    text-decoration: none;
}

/* ACTIVE */
.toc a.active {
    color: #CB7E2E;
	font-weight: bold;
}



.toc ul {
	padding-left: 10px;
}

/* ROW LAYOUT */
.toc-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

/* TEXT */
.toc-link {
    flex: 1;
	display: block;
    text-decoration: none;
    color: #000;
}

/* TEXT WRAP */
.toc-link span {
    display: block;
}

/* TOGGLE BUTTON */
.toc-toggle-btn {
    cursor: pointer;
    flex-shrink: 0;
    min-width: 16px;
    text-align: right;

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

    font-size: 1.3rem;
    line-height: 1;

    border-radius: 50%;

}

.toc-level-1.no-children .toc-toggle-btn {
    display: none;
}


/* SUB LIST (LEVEL 2 CONTAINER) */
.toc-sub {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.35s ease, margin-top 0.35s ease;
}

/* EXPANDED */
.toc-sub.open {
    max-height: 600px;
    margin-top: 4px;
}

.toc a:hover {
    color: #CB7E2E;
}

/*====================================================================*/
/*====================== COL 2  MAIN ARTICLE - CENTER ================*/
/*====================================================================*/


.col2 {
    background: white;
    border-radius: 6px;
    line-height: 1.3;
    color: #222;
    overflow-x: hidden;
    padding: 20px;
}

.Article-Titles_TempTitle{
	font-size: 1.2rem;
	font-style: normal;
	font-weight: 600;
    line-height: 1.3;
}

.Article-Main-Text---Hindi_Sub_2-Title-Hindi {
	font-weight: bold;
    margin-top: 20px;
}

.Article-Main-Text_English_Body-Text{
    text-align: justify;
}

/* =========================== SPECIAL BLOCKS ========================= */


/* ACTION LINKS */
.action-link {
    display: flex;
    align-items: center;
    gap: 6px;

    color: #CB7E2E;
    text-decoration: none;

    font-size: 0.8rem;
    cursor: pointer;
}

.action-link:visited,
.action-link:active,
.action-link:focus {
    color: #CB7E2E;
    text-decoration: none;
}

.action-link img {
    width: 18px;
    height: 18px;
}

.action-link:hover {
    color: #a86522;
}

.action-link:hover img {
    transform: scale(1.1);
}

/*=====================================*/

.article-actions {
    display: flex;
    gap: 30px;
    margin: 10px 0 20px;
}

.article-actions img {
    width: 25px;
    height: 25px;
    cursor: pointer;
    transition: 0.2s;
}

.article-actions img:hover {
    transform: scale(1.1);
}

/*===================================*/

.abstract-box, .keywords-box {
    background: #f0f0f0;
    padding: 15px;
    margin-bottom: 20px;
	border-radius: 15px;
}

.abstract-box a[href^="#_ftn"] {
    font-weight: 500;
    color: #CB7E2E;
    text-decoration: none;
    font-size: 1em;
    line-height: 1;
}

.abstract-box a[href^="#_ftn"][name^="_ftnref"] {
    vertical-align: super;
    font-size: 0.8em;
}

.abstract-box a[href^="#_ftnref"][name^="_ftn"] {
    vertical-align: baseline;
    font-size: 1em;
}

.abstract-box a[href^="#_ftn"]:hover {
    text-decoration: underline;
}

.keywords {
    margin-top: 10px;
}

.keyword-item {
   
    display: inline-block;
    background: #fff;
    border-radius: 10px;
    padding: 4px 8px;
    margin: 2px;
    font-size: 0.7rem;
    border: 1px solid #ddd;
}

/* ============================== TABLE FIX =========================== */
.col2 table {
    border-collapse: collapse;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.col2 table, 
.col2 th, 
.col2 td {
    border: 1px solid #ccc;
}

.col2 thead{
background-color:#f3f3f3;
font-weight:bold;
}

.col2 th, 
.col2 td {
    padding: 8px;
}


/* =============================== FOOTNOTES ========================== */
.footnotes, 
.endnotes {
    margin-top: 10px;
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
}

/* Each footnote paragraph — whole line is clickable */
.footnotes p {
    position: relative;
    padding-left: 55px;
    margin-bottom: 0px;
    text-indent: 0;
    line-height: 1.6;
   
    /* increased for readability in footnote area */
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

 
.endnotes p {
    position: relative;
    padding-left: 85px;
    margin-bottom: 0px;
    text-indent: 0;
    line-height: 1.6;
   
    /* increased for readability in footnote area */
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.footnotes p:hover, 
.endnotes p:hover {
    background: rgba(203,126,46, 0.07);
}

/* Footnote number — monospace, right-aligned */
.footnotes p > a.fn-backlink-num {
    position: absolute;
    left: 4px;
    top: 0;
    width: 40px;
    text-align: right;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    /* make backlink numbers legible in the footnote list */
    font-size: 0.8rem;
    line-height: 1.8;
    text-decoration: none;
    color: #CB7E2E;
}


.endnotes p > a.fn-backlink-num {
    position: absolute;
    left: 4px;
    top: 0;
    width: 70px;
    text-align: right;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    /* make backlink numbers legible in the footnote list */
    font-size: 0.8rem;
    line-height: 1.8;
    text-decoration: none;
    color: #CB7E2E;
}

/* Footnote superscript in article body */
._idFootnoteLink {
    /* slightly larger than default superscript to improve readability */
    font-size: 1em;
    vertical-align: 0em;
    line-height: 0;
    text-decoration: none;
    color: #CB7E2E;
    font-weight: 600;
    cursor: pointer;
}

/* Footnote popup */
.footnote-popup,
.endnote-popup {
   
    position: absolute;
    max-width: 420px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 6px 6px;
    background: #CB7E2E;
    border-radius: 8px;
    font-size: 0.7rem;
    line-height: 1.3;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    word-wrap: break-word;
    text-align: justify;
}

/* ===== BACKLINK PULSE RING — circular, on the superscript span ===== */
@keyframes pulseRing {
    0%   { box-shadow: 0 0 0 0px  rgba(203,126,46, 0.9); }
    30%  { box-shadow: 0 0 0 8px  rgba(203,126,46, 0.45); }
    60%  { box-shadow: 0 0 0 16px rgba(203,126,46, 0.15); }
    100% { box-shadow: 0 0 0 22px rgba(203,126,46, 0); }
}

.backlink-highlight {
    animation: pulseRing 0.9s ease-out 3;
    border-radius: 50%;
    display: inline-block;
    outline: none;
}


._idGenObjectLayout-1 {
    margin: 2rem auto 0.5rem;
}

._idGenObjectLayout-1 img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow:
        0 2px 6px rgba(0,0,0,.08);
}

._idGenObjectLayout-1 + p {
    margin: 0 auto 2rem;
    max-width: 90%;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
}


/*=========================== BACK TO TOP BUTTON ====================*/
#goTopBtn {
    position: fixed;
    right: 30px;
    bottom: 30px;

    width: 45px;
    height: 45px;

    background: rgba(203, 126, 46,0.6); /* 50% transparent gray */
   /* box-shadow: 0 1px 3px rgba(0,0,0,.35); */
    border-radius: 4px;

    cursor: pointer;
    z-index: 9999;

    transition: all 0.25s ease;
    
    opacity: 0;
    visibility: hidden;
    /* center arrow */
    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        opacity .3s ease,
        visibility .3s ease,
        background .25s ease;

    text-decoration: none;
}

#goTopBtn.show {
    opacity: 1;
    visibility: visible;
}

/* Up arrow */
#goTopBtn::before {
    content: "";

    width: 12px;
    height: 12px;

    border-top: 3.5px solid #fff;
    border-right: 3.5px solid #fff;

    transform: rotate(-45deg);
    margin-top: 6px;
}

/* Hover */
#goTopBtn:hover {
    background: rgba(203, 126, 46,0.9);
}



/*=====================================================*/
/*====================== CITE =======================*/

.cite-wrapper {
    position: relative;
}

.cite-dropdown {
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.cite-option {
    padding: 5px 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 0.73rem;
}

.cite-option:hover {
    background: #CB7E2E;
	color: #fff;
}

@keyframes toastGlow {
    0%   { opacity: 0; transform: translateX(-50%) translateY(10px); box-shadow: 0 0 0px 0px rgba(203,126,46,0); }
    15%  { opacity: 1; transform: translateX(-50%) translateY(0);    box-shadow: 0 0 0px 0px rgba(203,126,46,0); }
    35%  { opacity: 1; transform: translateX(-50%) translateY(0);    box-shadow: 0 0 16px 8px rgba(203,126,46,0.65); }
    65%  { opacity: 1; transform: translateX(-50%) translateY(0);    box-shadow: 0 0 14px 6px rgba(203,126,46,0.4); }
    85%  { opacity: 1; transform: translateX(-50%) translateY(0);    box-shadow: 0 0 4px  2px rgba(203,126,46,0.1); }
    100% { opacity: 0; transform: translateX(-50%) translateY(0);    box-shadow: 0 0 0px 0px rgba(203,126,46,0); }
}

#cite-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: #CB7E2E;
    color: #fff;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 0.8rem;
    display: none;
    z-index: 2000;
    white-space: normal;
    width: min(480px, 90vw);
    text-align: left;
    line-height: 1.5;
    pointer-events: none;
}

#cite-toast.show {
    display: block;
    animation: toastGlow 3.5s ease forwards;
}

/*=========================== SHARE ==================================*/
.share-wrapper {
    position: relative;
}

.share-dropdown {
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.share-option {
    padding: 3px 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;	
}

.share-option:hover {
    background: #CB7E2E;
	color: #fff;
}

.share-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 999;
}

.share-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.share-sheet {
    position: fixed;
    bottom: 0;

    left: 50%;
    transform: translateX(-50%) translateY(100%);

    width: 100%;
    max-width: 500px;

    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 18px;

    transition: transform 0.35s ease;
   /* box-shadow: 0 -10px 30px rgba(0,0,0,0.2); */
    z-index: 1000;
}

.share-sheet.active {
    transform: translateX(-50%) translateY(0);
}

.share-sheet::before {
    content: "";
    width: 40px;
    height: 4px;
    background: #ccc;
    border-radius: 10px;
    display: block;
    margin: 0 auto 12px;
}

.share-header {
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 18px;
    color: #333;
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.share-item {
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: transform 0.15s ease;
}

.share-item .icon {
    width: 36px;
    height: 36px;
    margin: auto;

    background: #f5f5f5;
    border-radius: 10%;

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

    transition: all 0.2s ease;
}

.share-item svg {
    width: 22px;
    height: 22px;
}

.share-item span {
    display: block;
    font-size: 0.75rem;
    margin-top: 6px;
    color: #444;
}

.share-item:hover .icon {
    background: #CB7E2E;
}

.share-item:hover svg path {
    fill: #fff !important;
}

.share-item:active {
    transform: scale(0.92);
}

#share-toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);

    background: #CB7E2E;
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;

    font-size: 1rem;

    opacity: 0;
    pointer-events: none;

    transition: 0.3s ease;
    z-index: 2000;
}

#share-toast.show {
    opacity: 1;
}

.icon {
    width: 36px;
    height: 36px;
    display: block;
    margin: 0 auto;
}

[data-type="whatsapp"]:hover .icon { background: #25D366; }
[data-type="email"]:hover .icon    { background: #EA4335; }
[data-type="twitter"]:hover .icon  { background: #000; }
[data-type="linkedin"]:hover .icon { background: #0A66C2; }


/* ================= REFERENCES / BIBLIOGRAPHY ================= */

.references-list .Works-Cited_Workcited-Entry {

    position: relative;

    padding-left: 30px;
    text-indent: 0px;
    font-size: 0.8rem;

    margin-bottom: 5px;


    color: #222;
}

.references-list .Works-Cited_Workcited-Entry::before {

    content: "•";

    position: absolute;

    left: 10px;
    top: 0;

    color: #CB7E2E;

    font-size: 36px;

    line-height: 0.6;
}

/* ================= ARTICLE NAVIGATION ================= */

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 60px;

    margin-top: 10px;
    padding: 10px;
	margin-bottom: 20px;

    border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;

    width: 100%;
    box-sizing: border-box;
}

.article-navigation a {
    font-family: 'Arima', serif;
    text-decoration: none;
    color: #CB7E2E;
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 600;

    transition: 0.2s;
}

.nav-prev,
.nav-next {
    font-family: 'Arima', serif;
    font-size: 0.7rem;
    color: #CB7E2E;
}

.article-navigation span {
    font-size: 0.7rem;
    color: #ccc;
}


.article-navigation a:hover {
    color: #a86522;
}




/*======================================================================*/
/*================================ COL 3 ===============================*/
/*======================================================================*/


.sidebar-sticky {
    position: sticky;
    top: 5px;
}


.col3,
.right-title {
    box-sizing: border-box;
}

.right-scroll {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 6px;
}

.right-section {
    margin-bottom: 15px;
}

.right-title {
    background: #efefef;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;

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

    border-left: 5px solid #CB7E2E;
	border-radius: 6px;
	width: 100%;
}

.right-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 12px;
    background: #fff;
    box-sizing: border-box;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.right-content a {
    display: block;
    font-size: 0.7rem;
    color: #444;
    text-decoration: none;
    margin: 15px 5px 15px 5px;
    position: relative;
    padding-left: 15px;
    text-indent: 0px;
}

.right-content a::before {
   content: "●";
   color: #CB7E2E;
   position: absolute;
   left: 0px;
   font-size: 18px;
   line-height: 1;
}

.right-content a:hover {
    color: #CB7E2E;
}

.right-section.active .right-content {
    max-height: 600px;
    padding: 10px 12px;
}

.right-section.active .toggle-icon {
    content: "−";
}

.toggle-icon {
    font-size: 28px;
}




  /* =====================================================================*/
  /* =====================================================================*/
  /* ========================IN DESIGN ARTICLE STYLES=====================*/
  /* =====================================================================*/
  /* ==========below are the styles applied to indesign classes ==========*/
  /* =====================================================================*/
  /* =====================================================================*/
        

/* ================= POETRY / KIRTAN BLOCK ================= */

        .verse-block{
            margin: 0.7rem auto;
            padding: 0.7rem 0.8rem;
            max-width: 90%;
            border-left: 3px solid #CB7E2E;
            background: #faf8f4;
            border-radius: 0 8px 8px 0;
        }

        .verse-guj{
            font-family: 'Ganga', serif;
            font-size: 1rem;
            line-height: 1.7;
            text-align: center;
            color: #222;
            margin-bottom: .35rem;
        }

        .verse-translit{
            font-family: 'Arima', serif;
            font-style: italic;
            font-size: 0.72rem;
            text-align: center;
            color: #666;
            line-height: 1.5;
            margin-bottom: .6rem;
        }

        .verse-meaning{
            font-family: 'Arima', serif;
            font-size: 0.75rem;
            line-height: 1.6;
            text-align: center;
            color: #444;
            margin-bottom: 0rem;
        }

  
        .Abstract_Abstract-Text p,
        .Abstract_Abstract-Text li {
           
            font-size: 0.8rem;
            line-height: 1.6;
            text-align: justify;
            margin-bottom: 6px;
        }
        p.Article-Main-Text---Hindi_Hindi-Body-text,
        p.Article-Main-Text---English_Body-Text,
        p.Article-Main-Text---English_English-Body-text,
        p.Article-Main-Text---Gujarati_Gujarati-Body-text {
           
            font-size: 0.8rem;
            line-height: 1.6;
            text-align: justify;
            text-indent: 20px;
            margin-bottom: 0;
        }
        p.Article-Main-Text---English_Body-Text-Continue,
        p.Article-Main-Text---Hindi_Body-Text-Continue,
        p.Article-Main-Text---Gujarati_Body-Text-Continue {
           
            font-size: 0.8rem;
            line-height: 1.6;
            text-align: justify;
            text-indent: 0;
            margin-bottom: 10px;
        }
        p.Article-Main-Text---English_Body-Text-Quote,
        p.Article-Main-Text---English_Body-Text-Quote-Gujarati,
        p.Article-Main-Text---Hindi_Body-Text-Quote,
        p.Article-Main-Text---Gujarati_Body-Text-Quote {
           
            font-size: 0.8rem;
            line-height: 1.6;
            text-align: justify;
            margin-left: 10px;
            margin-right: 20px;
            margin-top: 10px;
            text-indent: 0;
            border-left: 2px solid #CB7E2E;
            padding-left: 14px;
            font-style: italic;
            color: #444;
        }
        p.Article-Main-Text---Hindi_Hindi-Numbered-Bullet-manual-,
        p.Article-Main-Text---English_English-Numbered-Bullet-manual-,
        p.Article-Main-Text---Gujarati_Gujarati-Numbered-Bullet-manual- {
           
            font-size: 0.8rem;
            line-height: 1.3;
            text-align: justify;
            margin-left: 37px;
            text-indent: -16px;
            margin-bottom: 10px;
            margin-top: 10px;
        }
        p.Article-Main-Text---Hindi_Body-Numbered-Bullet-manual-,
        p.Article-Main-Text---English_Body-Numbered-Bullet-manual-,
        p.Article-Main-Text---Gujarati_Body-Numbered-Bullet-manual- {
           
            font-size: 0.8rem;
            line-height: 1.3;
            text-align: justify;
            margin-left: 37px;
            text-indent: -16px;
            margin-bottom: 10px;
            margin-top: 10px;
        }
        p.Article-Main-Text---Hindi_Body-Bullet-Hindi,
        p.Article-Main-Text---English_Body-Bullet-English,
        p.Article-Main-Text---Gujarati_Body-Bullet-Gujarati,
        li.Article-Main-Text---Hindi_Body-Bullet-Hindi,
        li.Article-Main-Text---English_Body-Bullet-English,
        li.Article-Main-Text---Gujarati_Body-Bullet-Gujarati {
           
            font-size: 0.8rem;
            line-height: 1.3;
            text-align: justify;
            margin-left: 5px;
            text-indent: 0px;
            margin-bottom: 10px;
            margin-top: 10px;
        }
        p.Article-Main-Text---Hindi_Section-Title-Hindi,
        p.Article-Main-Text---English_Section-Title-English,
        p.Article-Main-Text---English_Sub-Title-Center-English,
        p.Article-Main-Text---Gujarati_Section-Title-Gujarati {
            font-family: 'Arima Madurai', serif;
            
            font-size: 0.9rem;
            font-weight: bold;
            color: #CB7E2E;
            text-align: center;
            text-transform: uppercase;
            margin-top: 10px;
            margin-bottom: 4px;
        }
        p.Article-Main-Text---Hindi_Sub-Title-Hindi,
        p.Article-Main-Text---English_Sub-Title-English,
        p.Article-Main-Text---Gujarati_Sub-Title-Gujarati {
            font-family: 'Arima Madurai', serif;
            
            font-size: 0.9rem;
            font-weight: bold;
            color: #CB7E2E;
            margin-top: 24px;
            margin-bottom: 4px;
        }
        p.Article-Main-Text---Hindi_Sub_2-Title-Hindi,
        p.Article-Main-Text---English_Sub_2-Title-English,
        p.Article-Main-Text---Gujarati_Sub_2-Title-Gujarati {
            font-family: 'Arima Madurai', serif;
            
            font-size: 0.8rem;
            font-weight: bold;
            color: #555;
            margin-top: 18px;
            margin-bottom: 2px;
        }
        p.Article-Main-Text---Hindi_Sub_3-Title-Hindi,
        p.Article-Main-Text---English_Sub_3-Title-English,
        p.Article-Main-Text---Gujarati_Sub_3-Title-Gujarati {
            font-family: 'Arima Madurai', serif;
            
            font-size: 0.8rem;
            font-weight: bold;
            color: #666;
            margin-top: 14px;
            margin-bottom: 2px;
        }
        p.Article-Main-Text---Hindi_Sub_4-Title-Hindi,
        p.Article-Main-Text---English_Sub_4-Title-English,
        p.Article-Main-Text---Gujarati_Sub_4-Title-Gujarati {
            font-family: 'Arima Madurai', serif;
            
            font-size: 0.8rem;
            font-weight: bold;
            color: #777;
            margin-top: 12px;
            margin-bottom: 2px;
        }
        p.Article-Main-Text---Hindi_Sub_5-Title-Hindi,
        p.Article-Main-Text---English_Sub_5-Title-English,
        p.Article-Main-Text---Gujarati_Sub_5-Title-Gujarati {
            font-family: 'Arima Madurai', serif;
            
            font-size: 0.8rem;
            font-weight: bold;
            color: #888;
            margin-top: 10px;
            margin-bottom: 2px;
        }
        p.Abstract_Abstract-Title-Hindi,
        p.Abstract_Abstract-Title-English,
        p.Abstract_Abstract-Title-Gujarati,
        p.Abstract_ABSTRACT {
            font-family: 'Arima Madurai', serif;
            
            font-size: 0.9rem;
            font-weight: bold;
            color: #CB7E2E;
            margin-bottom: 5px;
            margin-top: 5px;
        }
        p.Footnotes_Foot_Note_Hindi,
        p.Footnotes_Foot_Note_English,
        p.Footnotes_Foot_Note_Eng,
        p.Footnotes_Foot_Note_Gujarati {
           
            font-size: 0.875rem;
            line-height: 1.6;
            text-align: justify;
            padding-left: 20px;
            text-indent: -20px;
        }
        p.Endnotes_Foot_Note_Hindi,
        p.Endnotes_Foot_Note_English,
        p.Endnotes_Foot_Note_Eng,
        p.Endnotes_Foot_Note_Gujarati {
           
            font-size: 0.875rem;
            line-height: 1.6;
            text-align: justify;
            padding-left: 20px;
            text-indent: -20px;
        }        
        p.Works-Cited_Workcited-Entry {
           
            font-size: 1rem;
            line-height: 1.4;
            text-align: justify;
            padding-left: 26px;
            text-indent: -26px;
            margin-bottom: 10px;
        }
        p.Table_Table-Text,
        p.Table_Table-Text-Center {
            font-size: 0.8rem;
            line-height: 1.5;
            text-align: center;
            margin-bottom: 0px;
            margin-top: 0px;
        }

        /* Sidebar loading / error states */
        .sidebar-loading {
            color: #aaa;
            font-size: 0.875rem;
            padding: 10px 0;
            font-style: italic;
        }
        .sidebar-error {
            color: #dc3545;
            font-size: 0.8125rem;
            padding: 8px 0;
        }

/*=======================================================================*/
/*============= Desktop layout: large screens (>=1024px) ================*/
/*=======================================================================*/


  @media (min-width: 1040px) {
    .tablet-menu-btn {
      display: none;
    }
    .container-main {
      flex-direction: row;
      justify-content: center;
    }
	.col0 {
	  display:none;
	}
    .sidebar-left {
      flex: 0 0 20%;
    }
    .col2 {
      flex: 0 0 50%;
    }
    .col3 {
      flex: 0 0 20%;
    }
    .article-navigation {
      margin: auto;
      width: 50%;
    }
  }
  
  
/*=======================================================================*/
/*==================== Tablet view (768px - 1023px) =====================*/
/*=======================================================================*/
  
  
@media (min-width: 768px) and (max-width: 1040px) {

.tablet-menu-btn {

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;

    background: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;

    font-size: 0.7rem;
    font-weight: 600;

    color: #CB7E2E;

    cursor: pointer;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.06);

    transition: all 0.25s ease;

    margin-bottom: 15px;
}

.tablet-menu-btn:hover {

    background: #CB7E2E;
    color: #fff;
}

.hero {
    height: 110px;
}

.col0 {
    display: none;
}

.container-main {

    display: flex;
    flex-wrap: wrap;
}

.sidebar-left {

    flex: 0 0 30%;
    max-width: 30%;
}

.col2 {

    flex: 0 0 70%;
    max-width: 70%;
}

.sidebar-left.hide {

    display: none;
}

.col2.full {

    flex: 0 0 100%;
    max-width: 100%;
}

.col3 {

    flex: 0 0 100%;
    max-width: 100%;

    margin-top: 20px;
}

.toc-container{
	position: sticky;
	top: 10px;
}


}

/*=======================================================================*/
/*=================== Mobile view (max-width: 767px) ====================*/
/*=======================================================================*/ 
  
  @media (max-width: 768px) {

    html {
        font-size: 20px;  
    }

    .container-main {
      flex-direction: column;
    }
	.sidebar-left {
	  display:none;
	}
    .col {
      width: 100%;
    }

    .col2 table {
        display: block;
        overflow-x: auto;
        margin-left: 0;
        margin-right: 0;
    }

	.hero{
	  height: 100px;
	}
    .tablet-menu-btn {
      display: none;
    }

    #goTopBtn {
        width: 50px;
        height: 50px;
        right: 40px;
        bottom: 80px;
    }

    #goTopBtn::before {
        width: 10px;
        height: 10px;
        border-top-width: 3px;
        border-right-width: 3px;
    }

/* ================= POETRY / KIRTAN BLOCK ================= */

        .verse-block{
            margin: 1rem auto;
            padding: 0.7rem 0.8rem;
            max-width: 95%;
            border-left: 2px solid #CB7E2E;
            background: #faf8f4;
            border-radius: 0 8px 8px 0;
        }

        .verse-guj{
            font-family: 'Ganga', serif;
            font-size: 1rem;
            line-height: 1.7;
            text-align: center;
            color: #222;
            margin-bottom: .35rem;
        }

        .verse-translit{
            font-family: 'Arima', serif;
            font-style: italic;
            font-size: 0.72rem;
            text-align: center;
            color: #666;
            line-height: 1.5;
            margin-bottom: .6rem;
        }

        .verse-meaning{
            font-family: 'Arima', serif;
            font-size: 0.75rem;
            line-height: 1.6;
            text-align: center;
            color: #444;
            margin-bottom: 0rem;
        }



    p.Article-Main-Text---English_Body-Text-Quote,
    p.Article-Main-Text---Hindi_Body-Text-Quote,
    p.Article-Main-Text---Gujarati_Body-Text-Quote {

        border-left: 1px solid #CB7E2E;
    }



    .article-navigation {
        display: flex;
        justify-content: space-between;
        gap: 60px;

        margin-top: 10px;
        padding: 10px;
        margin-bottom: 20px;

        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;

        width: 100%;
        box-sizing: border-box;
    }

    .article-navigation a {
        font-family: 'Arima', serif;
        text-decoration: none;
        color: #CB7E2E;
        white-space: nowrap;
        font-size: 0.7rem;
        font-weight: 600;

        transition: 0.2s;
    }

    .nav-prev,
    .nav-next {
        font-family: 'Arima', serif;
        font-size: 0.7rem;
        color: #CB7E2E;
    }


    .article-navigation span {
        font-family: 'Arima', serif;
        font-size: 0.7rem;
        color: #ccc;
    }


/* =============================== FOOTNOTES ========================== */
.footnotes, 
.endnotes {
    margin-top: 10px;
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
}

/* Each footnote paragraph — whole line is clickable */
.footnotes p {
    position: relative;
    padding-left: 55px;
    margin-bottom: 0px;
    text-indent: 0;
    line-height: 1.6;
   
    /* increased for readability in footnote area */
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

 
.endnotes p {
    position: relative;
    padding-left: 85px;
    margin-bottom: 0px;
    text-indent: 0;
    line-height: 1.6;
   
    /* increased for readability in footnote area */
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.footnotes p:hover, 
.endnotes p:hover {
    background: rgba(203,126,46, 0.07);
}

/* Footnote number — monospace, right-aligned */
.footnotes p > a.fn-backlink-num {
    position: absolute;
    left: 4px;
    top: 0;
    width: 40px;
    text-align: right;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    /* make backlink numbers legible in the footnote list */
    font-size: 0.8rem;
    line-height: 1.8;
    text-decoration: none;
    color: #CB7E2E;
}


.endnotes p > a.fn-backlink-num {
    position: absolute;
    left: 4px;
    top: 0;
    width: 70px;
    text-align: right;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    /* make backlink numbers legible in the footnote list */
    font-size: 0.8rem;
    line-height: 1.8;
    text-decoration: none;
    color: #CB7E2E;
}

/* Footnote superscript in article body */
._idFootnoteLink {
    /* slightly larger than default superscript to improve readability */
    font-size: 1em;
    vertical-align: 0em;
    line-height: 0;
    text-decoration: none;
    color: #CB7E2E;
    font-weight: 600;
    cursor: pointer;
}





  .hidden {
    display: none;
  }








}