/* Scripture section — Brahma Jñāna Gurukulam */
.scr .scr-facts{width:100%;margin:14px 0 6px;background:#fffaf0;border:1px solid #f3d98f;border-radius:12px;overflow:hidden}
.scr .scr-facts th{background:none;color:#8d2a0b;padding:9px 14px;width:190px;border-bottom:1px dashed #f0d9a8}
.scr .scr-facts td{padding:9px 14px;border-bottom:1px dashed #f0d9a8;background:none!important}
.scr .pramana{margin:22px 0;padding:4px 0}
.scr .pramana h3{border-bottom-color:#e65100}
.scr .acad{margin:22px 0 10px;padding:12px 16px;background:#f4f6fb;border-left:4px solid #8a94b8;border-radius:8px;color:#3f4560;font-size:.9rem}
.scr .note{margin:16px 0;padding:12px 16px;background:#fff8e1;border:1px dashed #e0b84f;border-radius:10px;font-size:.93rem}
.scr .phase2{margin:22px 0 8px;padding:12px 16px;background:linear-gradient(90deg,#fff3c4,#ffe8b0);border-radius:10px;color:#7a1f0a;font-size:.93rem}
.scr .srcs{margin-top:22px}
.scr .srcs ul{margin:6px 0 0 18px}
.scr .srcs li{margin:5px 0;font-size:.92rem}
.scr .defs.three-g{grid-template-columns:repeat(3,1fr)}
.scr .defs .g-s{border-top-color:#2e7d32}.scr .defs .g-r{border-top-color:#e65100}.scr .defs .g-t{border-top-color:#37474f}
.scr .defs small+small{margin-top:6px}
.scr .scr-cards>a{padding:12px 14px}
.scr .scr-cards>a b{padding:0}
.scr .scr-cards>a small{padding:4px 0 0}
.scr .tbl-wrap table td:first-child{white-space:nowrap}
@media(max-width:760px){.scr .defs.three-g{grid-template-columns:1fr}.scr .scr-facts th{width:auto;white-space:normal}.scr .tbl-wrap table td:first-child{white-space:normal}}
.scr .tbl-wrap table:not(.scr-facts) th{background:linear-gradient(90deg,#ff8f00,#d84315);color:#fff;padding:9px;text-align:left}
.scr .tbl-wrap table:not(.scr-facts) td{padding:8px 9px;border-bottom:1px solid #f3e2c0}
.scr .tbl-wrap table:not(.scr-facts) tr:nth-child(even) td{background:#fffaf0}
/* Swami Rama tribute page */
.sr .sr-lead{font-size:1.05rem}
.sr .sr-quote{margin:18px 0;padding:18px 22px;background:linear-gradient(135deg,#8d2a0b,#d84315);color:#fff;border-radius:14px;font-size:1.15rem;font-weight:600;line-height:1.6;text-align:center}
.sr .sr-quote span{display:block;margin-top:8px;font-size:.88rem;font-weight:500;color:#ffe08a}
.sr .sr-gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin:12px 0}
.sr .sr-gal figure{margin:0;background:#fff;border:1px solid #f3d98f;border-radius:12px;overflow:hidden;cursor:zoom-in;box-shadow:0 4px 12px rgba(150,70,0,.08)}
.sr .sr-gal img{width:100%;height:260px;object-fit:cover;object-position:center 20%;display:block}
.sr .sr-gal figcaption{padding:6px 10px;font-size:.82rem;color:#7a5a30}
.sr .sr-empty{padding:14px 18px;background:#fff8e1;border:1px dashed #e0b84f;border-radius:10px;color:#7a5a30}
.sr .sr-time{border-left:3px solid #ff8f00;margin:12px 0 12px 8px;padding-left:20px}
.sr .sr-time>div{position:relative;margin:0 0 14px}
.sr .sr-time>div::before{content:'';position:absolute;left:-28px;top:6px;width:13px;height:13px;border-radius:50%;background:#e65100;border:3px solid #ffe08a}
.sr .sr-time b{color:#8d2a0b}
.sr .sr-time p{margin:2px 0 0}
.sr .sr-mine{margin:14px 0;padding:18px 22px;background:linear-gradient(135deg,#fff8e1,#fff1cf);border:1px solid #f3d98f;border-left:5px solid #e65100;border-radius:12px}
.sr .sr-mine h4{margin-top:0}
.sr .sr-ph{color:#7a5a30;font-style:italic}
.sr-lb{position:fixed;inset:0;background:rgba(20,10,0,.88);z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px}
.sr-lb[hidden]{display:none}
.sr-lb img{max-width:92vw;max-height:82vh;border-radius:10px;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.sr-lb p{color:#ffe08a;margin-top:10px}
.sr-lb button{position:absolute;top:14px;right:20px;background:none;border:0;color:#fff;font-size:2.4rem;cursor:pointer}
.sr .sr-hero{width:240px;border-radius:14px;box-shadow:0 8px 22px rgba(150,70,0,.18)}
@media(max-width:760px){.sr .sr-hero{width:200px}}
/* Swami Rama — photographs through the page */
.sr .sr-ph-img{border-radius:14px;box-shadow:0 8px 20px rgba(150,70,0,.18);border:3px solid #fff3c4;object-fit:cover}
.sr .sr-ph-img.fig-right,.sr .sr-ph-img.fig-left{width:230px;height:300px;object-position:center 18%}
.sr .sr-quote{display:flex;align-items:center;gap:20px;text-align:left}
.sr .sr-quote .q{width:120px;height:120px;border-radius:50%;flex:none;border:3px solid #ffe08a;object-position:center 25%}
.sr .sr-time>div.tl-pic{display:flex;gap:16px;align-items:flex-start}
.sr .sr-time>div.tl-pic:nth-of-type(even){flex-direction:row-reverse}
.sr .sr-time .tl{width:150px;height:190px;flex:none;object-position:center 20%}
.sr .sr-time .tl-txt{flex:1}
.sr .sr-mine .fig-right{margin:0 0 10px 18px}
@media(max-width:760px){.sr .sr-quote{flex-direction:column;text-align:center}.sr .sr-time .tl{width:110px;height:140px}}
.sr .ticks{display:flow-root}
.sr .ticks li{text-align:left}
.sr .sr-ph-img.wide{display:block;width:100%;height:360px;object-position:center 30%;margin:12px 0}
.sr .sr-mine{display:flow-root}
.sr .sr-ph-img.wide{height:420px;object-position:60% 12%}
/* Maha Ananda Siddhar page */
.sr .sr-pics3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0 4px;clear:both}
.sr .sr-pics3 .sr-ph-img{width:100%;height:230px;object-position:center 30%}
.sr .sr-pics3 .wide2{grid-column:span 2}
.sr .sr-cap{font-size:.85rem;color:#8a5a20;font-style:italic;text-align:center;margin:4px 0 16px}
.sr .mas-vids{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}
.sr .mas-vids figure{margin:0;background:#1a0f05;border-radius:14px;overflow:hidden;box-shadow:0 8px 20px rgba(150,70,0,.2)}
.sr .mas-vids video{width:100%;max-height:480px;display:block;background:#000}
.sr .mas-vids figcaption{color:#ffe08a;font-size:.85rem;padding:8px 12px}
@media(max-width:760px){.sr .sr-pics3,.sr .mas-vids{grid-template-columns:1fr}.sr .sr-pics3 .wide2{grid-column:auto}}
/* Narada Bhakti Sutras — full text */
.scr .nb-jump{font-size:.9rem;line-height:1.9}
.scr .nb-ch{margin-top:28px;padding:8px 14px;background:linear-gradient(90deg,#7a1f0a,#e65100 60%,#ff8f00);color:#fff!important;border-radius:10px}
.scr .nb-ch small{font-weight:500;opacity:.9}
.scr .nb-list{list-style:none;margin:10px 0;padding:0}
.scr .nb-list li{position:relative;padding:10px 14px 10px 58px;border-bottom:1px dashed #f0d9a8}
.scr .nb-list li:nth-child(even){background:#fffaf0}
.scr .nb-n{position:absolute;left:10px;top:12px;width:36px;height:36px;border-radius:50%;background:#fff3c4;border:2px solid #e65100;color:#8d2a0b;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:.9rem}
.scr .nb-s{margin:0 0 4px!important;font-weight:700;color:#7a1f0a;line-height:1.6}
.scr .nb-e{margin:0!important;color:#4a3a28}
