/* Version: 1.0 | 2026-10-27 00:03 IST (Derasar pages V.1) | derasar.css — JainKBC.com — તીર્થો અને દેરાસરો | Place in: guj/derasar/derasar.css */
body{background:#f7f4ee;font-family:Montserrat,"Noto Sans Gujarati",Shruti,sans-serif;color:#2b2b2b}
.wrap{max-width:900px;margin:0 auto;padding:16px}
.crumb{font-size:13px;color:#777;margin:6px 0 10px}.crumb a{color:#8a5a00}
.topnav{font-size:14px;margin:0 0 6px}.topnav a{margin-right:14px;font-weight:700;color:#8a5a00}
h1.pg{text-align:center;font-size:26px;font-weight:700;color:#7a1f1f;margin:10px 0 12px;line-height:1.4}
.sb{color:#666;font-size:15px;margin:0 0 10px}
.sec{background:#fff;border:1px solid #e6dfd0;border-radius:8px;padding:14px 16px;margin:0 0 14px}
.sec h2{font-size:19px;font-weight:700;color:#7a1f1f;margin:0 0 8px}
.sec p{line-height:1.85;margin:0 0 10px}
.box{background:#fff8e6;border:1px solid #ecd9a6;border-radius:8px;padding:12px 16px;margin:0 0 14px}
.lead{line-height:1.8}
.toc a{display:inline-block;margin:4px 14px 0 0;font-weight:700;color:#8a5a00}
.part{font-size:21px;font-weight:700;color:#fff;background:#8a2b2b;border-radius:8px;padding:9px 14px;margin:22px 0 12px;line-height:1.45}
.card-d{background:#fff;border:1px solid #e6dfd0;border-radius:8px;padding:12px;margin:0 0 12px}
.tcard{display:flex;gap:14px;align-items:center}
.tthumb{flex:0 0 150px}.tthumb img{width:150px;height:110px;object-fit:cover;border-radius:6px;border:1px solid #e6dfd0;display:block}
.tinfo{flex:1;min-width:0}
.card-d .nm{font-size:19px;font-weight:700;color:#7a1f1f;margin:0 0 4px;line-height:1.45}
.card-d .sm{line-height:1.7;margin:0 0 8px;font-size:15px}
.btnmore{display:inline-block;background:#8a1f1f;color:#fff!important;padding:7px 16px;border-radius:20px;font-weight:700;font-size:14px;text-decoration:none}
.btnmore:hover{background:#6e1616}
/* gallery: Mulnayak full width on top, the rest two per row (one per row on a phone) */
.gal{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:8px 0 14px}
.fig{margin:0;background:#fff;border:1px solid #e6dfd0;border-radius:8px;padding:8px;text-align:center}
.fig-m{grid-column:1 / -1}
.fig img{width:100%;height:auto;max-height:520px;object-fit:contain;border-radius:6px;background:#faf7f0;cursor:zoom-in}
.fig-m img{max-height:620px}
.fig figcaption{font-size:17px;font-weight:700;color:#7a1f1f;margin-top:8px;line-height:1.5}
.mtag{display:inline-block;background:#c9a34a;color:#fff;font-size:12px;padding:2px 9px;border-radius:12px;vertical-align:middle;margin-right:4px}
.ph{border:2px dashed #c9a34a;background:#fffaf0;color:#8a5a00;padding:40px 10px;text-align:center;border-radius:8px;font-size:13px}
.credit{text-align:center;font-size:15px;color:#555;margin:6px 0 16px}
.copynote{font-size:13px;color:#555}.copynote h2{font-size:16px}
.foot{display:flex;justify-content:space-between;padding:6px 4px 20px;font-weight:700}.foot a{color:#8a5a00}
.lb{display:none;position:fixed;inset:0;background:rgba(0,0,0,.88);z-index:2000;align-items:center;justify-content:center;flex-direction:column;padding:12px;cursor:zoom-out}
.lb img{max-width:96vw;max-height:84vh;object-fit:contain}
#lbcap{color:#fff;font-size:18px;font-weight:700;margin-top:10px;text-align:center}
@media(max-width:600px){h1.pg{font-size:22px}.gal{grid-template-columns:1fr}.tcard{flex-direction:column;align-items:stretch}.tthumb{flex:none}.tthumb img{width:100%;height:190px}}

.dname{text-align:center;font-size:22px;font-weight:700;color:#7a1f1f;margin:22px 0 10px;line-height:1.45}
/* one coloured block per derasar: colours repeat blue, rose, green, yellow so that the next derasar is clearly a new one */
.tbox{border-radius:12px;padding:14px 14px 4px;margin:0 0 22px;border:1px solid rgba(0,0,0,.08)}
.tc0{background:#e3effb}.tc1{background:#fde8e6}.tc2{background:#e4f4e4}.tc3{background:#fdf3d6}
.tbox .dname{margin-top:4px}
.tbox .credit{font-size:16px}
.nm-ico{height:1.5em;width:auto;vertical-align:-0.35em}
/* city tabs with a translucent drop-down list of that city's derasars (hover on a computer, arrow on a phone) */
.ctabs{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 16px;border-bottom:3px solid #8a2b2b;padding-bottom:0}
.ctab{position:relative;background:#f1e3d3;border-radius:10px 10px 0 0;display:flex;align-items:stretch}
.ctab.active{background:#8a2b2b}
.ctab .cl{padding:12px 8px 12px 20px;font-size:24px;font-weight:700;color:#7a1f1f;text-decoration:none}
.ctab.active .cl{color:#fff}
.ctab .cc{border:0;background:transparent;padding:0 18px 0 8px;min-width:62px;font-size:22px;color:#7a1f1f;cursor:pointer}
.ctab.active .cc{color:#fff}
.cdrop{display:none;position:absolute;left:0;top:100%;min-width:270px;max-width:92vw;background:rgba(255,255,255,.7);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:1px solid rgba(138,43,43,.25);border-radius:0 0 10px 10px;box-shadow:0 8px 20px rgba(0,0,0,.18);z-index:60;padding:4px 0;max-height:70vh;overflow-y:auto}
.cdrop a{display:block;padding:9px 16px;color:#3a1010;font-weight:700;text-decoration:none;line-height:1.45}
.cdrop a:hover{background:rgba(138,43,43,.14)}
.cdrop a small{display:block;font-weight:400;color:#555;font-size:13px}
.ctab:hover .cdrop,.ctab.open .cdrop{display:block}
.tbox{scroll-margin-top:90px}
.gal .fig:only-child{grid-column:1 / -1}
@media(max-width:480px){.ctab .cl{font-size:21px;padding:11px 4px 11px 14px}}
.ctab .cc .tri{display:inline-block;width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-top:17px solid #7a1f1f;vertical-align:middle}
.ctab.active .cc .tri{border-top-color:#fff}
