:root{
  --navy:#7a1426; --navy-deep:#4d0c18; --gold:#f5b800; --kumkum:#e03a2f;
  --bg:#fffaf0; --text:#2b1417; --muted:#6e4a4e; --line:#ecd9b0; --soft:#fdf0cc;
  color-scheme:light;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#2a0a12; --text:#f8ecd8; --muted:#d3b2a8; --line:#6a2a34; --soft:#3d1019; color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#2a0a12; --text:#f8ecd8; --muted:#d3b2a8; --line:#6a2a34; --soft:#3d1019; color-scheme:dark;
}
*,*::before,*::after{box-sizing:inherit}
html{scroll-behavior:smooth;scroll-padding-top:env(safe-area-inset-top,0px)}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Mukta",system-ui,sans-serif;font-size:1.1rem;line-height:1.75}
h1,h2,h3{font-family:"Tiro Devanagari Hindi",Georgia,serif;font-weight:400;line-height:1.3;margin:0}
a{color:inherit}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.wrap{max-width:960px;margin:0 auto;padding:0 1.25rem}

/* Hero */
.hero{background:var(--navy);color:#f7f1e1;text-align:center;padding:3.5rem 1.25rem 4rem;position:relative}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;background:linear-gradient(90deg,var(--gold),var(--kumkum),var(--gold))}
.hero h1{font-size:clamp(2.4rem,9vw,4.2rem);letter-spacing:.01em}
.hero .sub{color:var(--gold);font-size:1.25rem;margin:.6rem 0 0;font-family:"Tiro Devanagari Hindi",serif}
.hero .mantra{margin:1.5rem 0 0;opacity:.85}
.btns{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-top:2rem}
.btn{display:inline-block;padding:.75rem 1.5rem;border-radius:999px;text-decoration:none;font-weight:600;border:2px solid var(--gold)}
.btn.fill{background:var(--gold);color:var(--navy-deep)}
.btn.line{color:#f7f1e1}


.hero-emblem{display:block;width:min(100%,640px);height:auto;margin:0 auto 1.25rem}
.arch{width:min(300px,78%);margin:2.5rem auto 0;border:3px solid var(--gold);border-radius:150px 150px 10px 10px;padding:6px;background:var(--navy-deep)}
.arch img{display:block;width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:144px 144px 6px 6px}
.gal{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}
.gal figure{margin:0}
.gal img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:6px;border:2px solid var(--gold)}
.gal figcaption{font-size:.95rem;color:var(--muted);line-height:1.4;padding-top:.35rem}
.gal figure:first-child{grid-column:1/-1}
.gal figure:first-child img{aspect-ratio:4/3;object-position:center 30%}
@media (min-width:700px){.gal{grid-template-columns:repeat(3,1fr)}.gal figure:first-child{grid-column:span 2}}


.vahan details{border-bottom:1px solid var(--line)}
.vahan summary{cursor:pointer;list-style:none;padding:.9rem 2rem .9rem 0;font-family:"Tiro Devanagari Hindi",serif;font-size:1.3rem;color:var(--kumkum);position:relative}
.vahan summary::-webkit-details-marker{display:none}
.vahan summary::after{content:"+";position:absolute;right:.3rem;top:.7rem;font-size:1.6rem;color:var(--gold)}
.vahan details[open] summary::after{content:"\2212"}
.vb{padding:0 0 1rem}
.shlok{font-family:"Tiro Devanagari Hindi",serif;color:var(--kumkum);border-left:3px solid var(--gold);padding-left:1rem}

/* Nav */
nav{background:var(--navy-deep);position:sticky;top:env(safe-area-inset-top,0px);z-index:5;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
nav .wrap{display:flex;gap:1.5rem;padding:.7rem 1.25rem}
nav a{color:#e8e0c8;text-decoration:none;font-size:1rem}
nav a:hover{color:var(--gold)}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:var(--navy-deep);z-index:10}

section{padding:3.5rem 0;border-bottom:1px solid var(--line)}
section h2{font-size:clamp(1.7rem,5vw,2.3rem);color:var(--navy);margin-bottom:1rem}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) section h2{color:var(--gold)}}
:root[data-theme="dark"] section h2{color:var(--gold)}
p{margin:0 0 1rem;max-width:62ch}

/* Timings */
.table-scroll{overflow-x:auto}
table{width:100%;border-collapse:collapse;max-width:620px}
th,td{text-align:left;padding:.8rem .5rem;border-bottom:1px solid var(--line)}
th{font-weight:600;color:var(--muted);font-size:.95rem}
td:last-child{white-space:nowrap;font-weight:600}
.note{color:var(--muted);font-size:.95rem;margin-top:1rem}

/* Utsav */
.utsav{list-style:none;margin:0;padding:0;border-left:3px solid var(--kumkum)}
.utsav li{padding:.4rem 0 1rem 1.25rem}
.utsav b{font-family:"Tiro Devanagari Hindi",serif;font-weight:400;font-size:1.3rem;display:block}

/* Sewa + contact */
.band{background:var(--soft)}
.contact dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:.6rem 1.25rem}
.contact dt{color:var(--muted)}
.contact dd{margin:0}
footer{background:var(--navy-deep);color:#e8e0c8;text-align:center;padding:2rem 1.25rem 2.5rem}
footer p{margin:.2rem auto;max-width:none}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---- WordPress additions ---- */
body.admin-bar nav{top:calc(env(safe-area-inset-top,0px) + 32px)}
@media (max-width:600px){body.admin-bar nav{top:env(safe-area-inset-top,0px)}}
.hero.compact{padding:1.6rem 1.25rem 2rem}
.hero.compact .site-title{font-family:"Tiro Devanagari Hindi",Georgia,serif;font-size:clamp(1.6rem,6vw,2.4rem);margin:0}
.hero.compact .site-title a{text-decoration:none}
.entry-content,.entry-summary{max-width:68ch}
.entry-content img{max-width:100%;height:auto}
.entry-title{margin-bottom:1rem}
.post-list article{padding:1.2rem 0;border-bottom:1px solid var(--line)}
.post-list h2{font-size:1.5rem;margin-bottom:.4rem}
.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
