/* v13.3 hero: royal chakra */
html body .v127-hero{background:radial-gradient(circle at 50% 50%,#c4343f 0%,#8f1735 34%,#5b0b22 70%,#3a0715 100%);color:#fff3da;box-shadow:0 0 0 2px #e2a83b,0 0 0 6px #fff6e0,0 0 0 7px rgba(226,168,59,.6),0 24px 54px rgba(110,13,43,.3)}
html body .v127-hero .v127-rays{display:block;opacity:.9}
html body .v127-hero .v127-sparks{display:block}
html body .v127-hero .v127-welcome{color:#ffd978;text-shadow:0 2px 12px rgba(40,6,14,.9)}
html body .v127-hero h1{background:linear-gradient(100deg,#ffe9a0 0%,#fff6d0 50%,#ffe9a0 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;filter:drop-shadow(0 3px 10px rgba(40,6,14,.95))!important}
html body .v127-hero .v127-sub{color:#fff3da;text-shadow:0 2px 10px rgba(40,6,14,.95)}
html body .v127-hero{min-height:450px}
html body .v127-hero .v127-chakra{width:min(440px,40vw);margin:calc(min(440px,40vw)/-2) 0 0 calc(min(440px,40vw)/-2)}
html body .v127-hero-copy{padding:30px 0 60px}
html body .v127-hero .v9-search-form{background:#fff!important;color:#4a1220}
@media(max-width:700px){
  html body .v127-hero{min-height:0}
  html body .v127-hero .v127-chakra{top:58%;width:330px;margin:-165px 0 0 -165px}
  }

/* ================= Upcoming festivals: designed block ================= */
html body .rkv-hfest{position:relative;isolation:isolate;overflow:hidden;width:min(1340px,calc(100% - 32px));margin:44px auto;padding:44px 0 40px;border-radius:30px;
  background:radial-gradient(circle at 12% 0%,rgba(244,185,59,.28),transparent 38%),radial-gradient(circle at 92% 100%,rgba(163,33,63,.12),transparent 42%),linear-gradient(180deg,#fffaf0 0%,#fff0cf 100%);
  box-shadow:0 0 0 2px #e2a83b,0 0 0 6px #fff6e0,0 0 0 7px rgba(226,168,59,.55),0 22px 48px rgba(110,13,43,.14)}
html body .rkv-hfest::before,html body .rkv-hfest::after{content:"";position:absolute;z-index:-1;width:360px;height:360px;background:url('images/mandala.svg') center/contain no-repeat;opacity:.1;animation:v127-turn 180s linear infinite;pointer-events:none}
html body .rkv-hfest::before{left:-120px;top:-120px}
html body .rkv-hfest::after{right:-120px;bottom:-120px;animation-direction:reverse}
html body .rkv-hfest-head{flex-direction:column;align-items:center;text-align:center;gap:16px;margin-bottom:34px}
html body .rkv-hfest-head h2{margin:6px 0 8px}
html body .rkv-hfest-head h2::after{margin-inline:auto}
html body .rkv-hfest-head p{margin-inline:auto}
.rkv-hfest-orn{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:6px}
.rkv-hfest-orn i{display:block;width:clamp(50px,12vw,140px);height:2px;background:linear-gradient(90deg,transparent,#d9961c 55%,#f7c94f)}
.rkv-hfest-orn i:last-child{transform:scaleX(-1)}
.rkv-hfest-orn img{width:46px;height:46px;filter:drop-shadow(0 4px 8px rgba(201,138,21,.55))}

/* main card */
html body .rkv-hfest-main{padding:34px 32px;border-radius:26px;min-height:300px;
  background:radial-gradient(circle at 88% 12%,rgba(255,200,90,.38),transparent 44%),radial-gradient(circle at 10% 100%,rgba(255,120,80,.2),transparent 45%),linear-gradient(140deg,#4a0818 0%,#7b1132 52%,#a3213f 100%);
  box-shadow:0 0 0 2px #f4b93b,0 22px 46px rgba(74,8,24,.4)}
.rkv-hfest-frame{position:absolute;inset:9px;border:1.5px solid rgba(255,217,120,.5);border-radius:19px;pointer-events:none}
.rkv-hfest-frame::before,.rkv-hfest-frame::after{content:"";position:absolute;width:26px;height:26px;border:3px solid #f4b93b;opacity:.9}
.rkv-hfest-frame::before{left:-2px;top:-2px;border-right:0;border-bottom:0;border-radius:19px 0 0 0}
.rkv-hfest-frame::after{right:-2px;bottom:-2px;border-left:0;border-top:0;border-radius:0 0 19px 0}
.rkv-hfest-art{position:absolute;right:22px;bottom:14px;width:clamp(120px,16vw,190px);height:auto;opacity:.95;filter:drop-shadow(0 0 22px rgba(255,200,90,.7));pointer-events:none;animation:v127-breathe 6s ease-in-out infinite}
html body .rkv-hfest-date{position:relative;width:100px;height:108px;border-radius:50% 50% 22px 22px / 38% 38% 22px 22px;padding-top:12px;border:3px solid #fff1b0;box-shadow:inset 0 1px 0 #fff,0 0 0 4px rgba(255,217,120,.25),0 10px 22px rgba(0,0,0,.38)}
html body .rkv-hfest-date b{font-size:46px}
html body .rkv-hfest-label{display:inline-block;align-self:flex-start;padding:5px 14px;border-radius:999px;background:var(--grad-gold);color:#4a0a1a;letter-spacing:.14em}
html body .rkv-hfest-body{position:relative;z-index:1;padding-right:clamp(0px,12vw,150px)}
html body .rkv-hfest-body strong{text-shadow:0 2px 12px rgba(0,0,0,.45)}
html body .rkv-hfest-more{display:inline-block;align-self:flex-start;margin-top:10px;padding:9px 20px;border-radius:999px;border:1.5px solid rgba(255,217,120,.7);color:#ffe9a0;transition:background .2s,color .2s}
html body .rkv-hfest-main:hover .rkv-hfest-more{background:var(--grad-gold);color:#4a0a1a}

/* timeline list */
html body .rkv-hfest-list{position:relative;padding:18px 16px;gap:4px;border:0;border-radius:26px;background:linear-gradient(160deg,#ffffff 0%,#fff6e0 100%);box-shadow:0 0 0 1.5px #e8c46a,0 16px 36px rgba(110,13,43,.12)}
html body .rkv-hfest-list::before{content:"";position:absolute;left:49px;top:42px;bottom:96px;width:2px;background:repeating-linear-gradient(180deg,#d9961c 0 6px,transparent 6px 11px)}
html body .rkv-hfest-list li:not(.rkv-hfest-ics){position:relative}
html body .rkv-hfest-list a{padding:10px 12px;border-radius:16px}
html body .rkv-hfest-list li:not(.rkv-hfest-ics) a:hover{background:#fff0cb;transform:translateX(4px)}
html body .rkv-hfest-tile{position:relative;z-index:1;width:56px;height:56px;padding-top:0;border-radius:50%;border:2.5px solid #fff;box-shadow:0 0 0 2px #d9961c,0 6px 14px rgba(110,13,43,.25)}
html body .rkv-hfest-tile b{font-size:21px;line-height:1}
html body .rkv-hfest-tile small{font-size:10px;letter-spacing:.1em;margin-top:1px}
html body .rkv-hfest-li strong{font-family:'Rozha One','Noto Serif Devanagari',Georgia,serif;font-weight:400;font-size:18px}
html body .rkv-hfest-list .rkv-hfest-ics a{background:linear-gradient(120deg,#fff9e6,#ffeec2);border:1.5px dashed #d9961c;border-radius:999px;color:#7b1132;margin-top:8px}
html body .rkv-hfest-list .rkv-hfest-ics a:hover{background:var(--grad-gold);color:#4a0a1a}
@media(max-width:900px){html body .rkv-hfest{width:calc(100% - 20px);margin:30px auto;padding:34px 0 30px;border-radius:22px}}
@media(max-width:560px){
  html body .rkv-hfest-main{padding:26px 22px 120px}
  html body .rkv-hfest-body{padding-right:0}
  html body .rkv-hfest-date{width:84px;height:92px}
  .rkv-hfest-art{width:110px;right:14px;bottom:10px}
}
@media(prefers-reduced-motion:reduce){html body .rkv-hfest::before,html body .rkv-hfest::after,.rkv-hfest-art{animation:none}}
html body .rkv-hfest-list .rkv-hfest-ics a{text-align:center}

/* Darshan card: the same royal chakra turning softly behind the deities */
html body .rkv-darshan-chakra{background-image:url('images/chakra-royal.svg');opacity:.2;filter:none}

/* dark mode */
html[data-theme="dark"] body .rkv-hfest{background:radial-gradient(circle at 12% 0%,rgba(244,185,59,.12),transparent 38%),linear-gradient(180deg,#2b0d16 0%,#1e0910 100%);box-shadow:0 0 0 2px #b8842b,0 22px 48px rgba(0,0,0,.45)}
html[data-theme="dark"] body .rkv-hfest-head h2,html[data-theme="dark"] body .rkv-hfest-li strong{color:#ffd978}
html[data-theme="dark"] body .rkv-hfest-head p,html[data-theme="dark"] body .rkv-hfest-li em{color:#e8d3bd}
html[data-theme="dark"] body .rkv-hfest-list{background:linear-gradient(160deg,#3a1420,#2b0d16);box-shadow:0 0 0 1.5px #8a6420,0 16px 36px rgba(0,0,0,.4)}
html[data-theme="dark"] body .rkv-hfest-list li:not(.rkv-hfest-ics) a:hover{background:rgba(255,217,120,.1)}
html[data-theme="dark"] body .rkv-hfest-list .rkv-hfest-ics a{background:rgba(255,217,120,.08);color:#ffd978}

/* ================= v13.3.1: layered royal mandala, very slow ================= */
html body .v127-hero .v127-rays{animation-duration:420s}
html body .v127-hero .v127-chakra{z-index:1;width:min(432px,40vw);margin:calc(min(432px,40vw)/-2) 0 0 calc(min(432px,40vw)/-2)}
html body .v127-hero .v127-chakra i{background:none}
html body .v127-hero .v127-chakra .glow{inset:-30%;z-index:0;background:radial-gradient(circle,rgba(255,226,140,.7) 0,rgba(255,170,70,.28) 36%,transparent 68%);animation:v127-breathe 14s ease-in-out infinite}
html body .v127-hero .v127-chakra .c3{inset:-5%;z-index:1;border:0;background:repeating-conic-gradient(from 0deg,rgba(255,226,140,.95) 0 .5deg,transparent .5deg 5deg);-webkit-mask:radial-gradient(circle,transparent 0 94%,#000 94.5% 100%);mask:radial-gradient(circle,transparent 0 94%,#000 94.5% 100%);animation:v127-turn-rev 600s linear infinite}
html body .v127-hero .v127-chakra .c1{z-index:2;background:url('images/chakra-outer.svg') center/contain no-repeat;opacity:1;filter:drop-shadow(0 0 16px rgba(255,214,120,.7));animation:v127-turn 480s linear infinite}
html body .v127-hero .v127-chakra::before,html body .v127-hero .v127-chakra::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
html body .v127-hero .v127-chakra::before{inset:0;z-index:3;background:url('images/chakra-mid.svg') center/contain no-repeat;animation:v127-turn-rev 320s linear infinite}
html body .v127-hero .v127-chakra::after{inset:0;z-index:4;background:url('images/chakra-core.svg') center/contain no-repeat;filter:drop-shadow(0 0 12px rgba(255,236,170,.8));animation:v127-turn 200s linear infinite}
/* soft dark glow behind the words, fading to nothing at its own edge (no hard lines) */
html body .v127-hero-copy::before{content:"";position:absolute;inset:-26px -90px 22px;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,rgba(44,4,16,.8) 0,rgba(44,4,16,.62) 55%,transparent 100%)}
@media(max-width:700px){
  html body .v127-hero .v127-chakra{top:58%;width:340px;margin:-170px 0 0 -170px}
  html body .v127-hero-copy::before{inset:-10px -16px 14px}
}
