/* ===== RPIT proposed experience: Pulse strip, alive touches, Listen module, share sheet, language chip ===== */
:root{--mk-teal:#128fa4;--mk-ink:#0b2b30;--mk-soft:#e8f8fa}
#pulse{position:relative;z-index:60;display:flex;align-items:center;justify-content:center;gap:8px;height:34px;padding:0 40px;background:linear-gradient(90deg,#e8f8fa,#f3ecff 55%,#fff4d8);color:#0b2b30;font:500 13px/1 system-ui,sans-serif;white-space:nowrap;overflow:hidden;border-bottom:1px solid #dde9e9;background-size:200% 100%;animation:mkflow 16s ease-in-out infinite alternate}
#pulse b{font-weight:700}#pulse a{color:inherit;text-decoration:none}#pulse .msg{display:flex;align-items:center;gap:8px;animation:mkfade .5s}
#pulse .x{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:0;font-size:18px;opacity:.55;cursor:pointer;color:inherit;padding:4px 8px}
#pulse .dots{position:absolute;left:10px;top:50%;transform:translateY(-50%);display:flex;gap:3px}#pulse .dots i{width:5px;height:5px;border-radius:50%;background:#0b2b30;opacity:.22}#pulse .dots i.on{opacity:.85}
#pulse svg{color:#128fa4;flex:none}
@keyframes mkflow{from{background-position:0 0}to{background-position:100% 0}}@keyframes mkfade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:520px){#pulse{font-size:12px;padding:0 34px}}
/* soft seasonal tint that slowly breathes (very low opacity, never over text) */
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;background:radial-gradient(60% 40% at 85% 0,rgba(248,181,29,.10),transparent 70%),radial-gradient(50% 40% at 0 100%,rgba(158,82,213,.07),transparent 70%);animation:mkbreathe 14s ease-in-out infinite alternate}
@keyframes mkbreathe{from{opacity:.55}to{opacity:1}}
@media(prefers-reduced-motion:reduce){#pulse,body::before,.mk-live{animation:none!important}}
html.lite #pulse,html.lite body::before{animation:none}
.mk-live{display:inline-block;width:8px;height:8px;border-radius:50%;background:#0abd68;margin-right:6px;box-shadow:0 0 0 0 rgba(10,189,104,.5);animation:mkping 2.4s infinite}
@keyframes mkping{70%{box-shadow:0 0 0 8px rgba(10,189,104,0)}100%{box-shadow:0 0 0 0 rgba(10,189,104,0)}}
/* language preference chip */
.mk-lang{display:inline-flex;align-items:center;gap:6px;font:600 13px system-ui,sans-serif}.mk-lang span{opacity:.7;font-weight:500}
.mk-lang button{border:1px solid #cfe0e4;background:#fff;color:#0b2b30;border-radius:99px;padding:6px 12px;font:600 13px system-ui,sans-serif;cursor:pointer;min-height:34px}
.mk-lang button.on{background:#0b2b30;color:#fff;border-color:#0b2b30}
.mk-langbar{max-width:1100px;margin:10px auto 0;padding:0 16px;display:flex;justify-content:flex-end}
/* Listen module on the main site */
.mk-listen{position:relative;z-index:1;padding-bottom:0}
.mk-listen .mk-h{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.mk-listen h2{margin:0;font-size:clamp(22px,3.4vw,30px);letter-spacing:-.4px}.mk-listen .mk-sub{margin:4px 0 0;color:#587b86;font-size:14px}
.mk-eps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}@media(max-width:820px){.mk-eps{grid-template-columns:1fr}}
.mk-ep{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #dde9e9;border-radius:16px;padding:10px;box-shadow:0 1px 2px rgba(11,43,48,.04)}
.mk-ep img{width:76px;height:76px;border-radius:12px;object-fit:cover;flex:none;background:#e8f8fa}.mk-ep .t{font-weight:700;font-size:14px;line-height:1.25;color:#0b2b30;margin:0 0 4px}
.mk-ep .m{font-size:12px;color:#587b86;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.mk-ep .row{display:flex;gap:8px;margin-top:8px}.mk-ep button{border:0;border-radius:99px;padding:7px 14px;font:700 12.5px system-ui,sans-serif;cursor:pointer;min-height:34px}
.mk-ep .play{background:#0b2b30;color:#fff}.mk-ep .q{background:#e8f8fa;color:#0d404b}
.mk-badge{display:inline-flex;gap:3px;align-items:center;font-weight:800;font-size:11px;color:#0d404b}.mk-badge .st{color:#f8b51d}
.mk-more{all:unset;font:600 12px system-ui,sans-serif;color:#128fa4;cursor:pointer;text-decoration:underline;margin-left:4px}
/* share sheet */
#mkShare{position:fixed;inset:0;z-index:9500;background:rgba(5,20,24,.6);display:none;align-items:flex-end;justify-content:center}
#mkShare.on{display:flex}#mkShare .sheet{background:#fff;color:#0b2b30;width:min(520px,100%);border-radius:22px 22px 0 0;padding:18px 18px 26px;font-family:system-ui,sans-serif;max-height:92vh;overflow:auto}
@media(min-width:700px){#mkShare{align-items:center}#mkShare .sheet{border-radius:22px}}
#mkShare h3{margin:0 0 12px;font-size:18px;max-width:86%}.sh-x{float:right;border:0;background:#eef4f5;border-radius:99px;width:36px;height:36px;font-size:20px;cursor:pointer;color:#0b2b30}
.wa-prev{background:#0b141a;border-radius:16px;padding:12px;margin-bottom:12px}.wa-lbl{color:#8aa0a8;font:12px system-ui,sans-serif;margin:0 0 8px}
.wa-bub{background:#005c4b;border-radius:12px 12px 4px 12px;padding:5px;color:#e9edef;font:13px system-ui,sans-serif}.wa-bub img{display:block;width:100%;border-radius:8px}
.wa-t{padding:8px 8px 2px;display:grid;gap:2px}.wa-t b{font-size:14px}.wa-t span{color:#a8c5bd;font-size:12px}.wa-u{padding:4px 8px 6px;color:#71d6e6;font-size:12px;word-break:break-all}
.shrow{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:6px}.shrow button{border:0;border-radius:12px;padding:12px 6px;font:700 13px system-ui,sans-serif;cursor:pointer;background:#e8f8fa;color:#0d404b;min-height:44px}
.shrow .wa{background:#25d366;color:#04361b}.sh-link{font-size:12px;color:#587b86;margin:10px 0 0;line-height:1.4}
.mk-podlink{font-weight:700;white-space:nowrap;text-decoration:none;color:inherit;display:inline-flex;align-items:center;gap:6px}
.mk-pod{white-space:nowrap}@media(max-width:560px){.mk-pod-t{display:none}}
body{overflow-x:hidden}
/* post page: language switch for this episode */
.mk-postlang{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 2px;font:600 13px system-ui,sans-serif}.mk-postlang button{border:1px solid currentColor;opacity:.75;background:transparent;color:inherit;border-radius:99px;padding:5px 11px;font:600 12.5px system-ui,sans-serif;cursor:pointer}.mk-postlang button.on{opacity:1;background:var(--accent,#128fa4);color:var(--accent-ink,#fff);border-color:transparent}


.epitem{padding:12px 14px!important;gap:14px}.epitem .meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}

.mk-badge .mk-more{all:unset!important;cursor:pointer!important;color:#128fa4!important;font:600 12px system-ui,sans-serif!important;text-decoration:underline!important;margin-left:6px!important}
.mk-badge{display:inline-flex!important;align-items:center;gap:4px}

.mk-gl{--g-soft:rgba(11,43,48,.08);--g-mut:#587b86;--g-ink:#0b2b30;--g-bg:#fff;margin:0 6px;vertical-align:middle}
@media(prefers-color-scheme:dark){.mk-gl{--g-soft:rgba(255,255,255,.12);--g-mut:#a9bec3;--g-ink:#eef6f7;--g-bg:#10181b}}
html[data-theme=dark] .mk-gl{--g-soft:rgba(255,255,255,.12);--g-mut:#a9bec3;--g-ink:#eef6f7;--g-bg:#10181b}
.hero-media{position:relative!important}
/* phones: keep the header on one line */
@media(max-width:560px){.masthead nav a[href="/"],.masthead nav a[href="/index.html"]{display:none}.masthead nav{gap:6px!important}.mk-gl{margin:0 2px}.mk-gl button{min-width:30px!important;padding:0 7px!important;height:26px!important}.masthead nav .theme-btn{flex:none}}
.mk-lang button{background:transparent!important;color:inherit!important;border:1.5px solid currentColor!important;opacity:.8}
.mk-lang button.on{background:#128fa4!important;color:#fff!important;border-color:#128fa4!important;opacity:1}
.abadge-play .mk-badge,.abadge-play .mk-badge .st{color:#fff!important}.abadge-play .mk-badge .st{color:#f8b51d!important}
@media(max-width:480px){.hdr .mk-podbtn{width:42px!important;height:42px!important;min-width:0!important;padding:0!important}.hdr>div:last-of-type{gap:6px!important}.hdr .logo{margin-right:6px}}

/* header icons: one size, one shape */
.masthead nav .mk-pod,.masthead nav .theme-btn{width:44px;height:44px;min-width:44px;padding:0;border-radius:50%;display:inline-grid;place-items:center;border:1px solid var(--line,#dde9e9);background:var(--card,#fff);font-size:19px;line-height:1}
.masthead nav .mk-pod .mk-pod-t{display:none}
.masthead nav{display:flex;align-items:center;gap:8px}
.hdr .mk-podbtn{min-width:50px}
/* link row so the blog pages can reach the rest of the site on a phone */
.mk-subnav{display:none}
@media(max-width:700px){
 .mk-subnav{display:flex;gap:8px;overflow-x:auto;padding:8px 16px;border-bottom:1px solid var(--line,#dde9e9);background:var(--bg,#fff);scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .mk-subnav::-webkit-scrollbar{display:none}
 .mk-subnav a{flex:none;display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:99px;border:1px solid var(--line,#dde9e9);background:var(--card,#fff);color:var(--ink,#0b2b30);text-decoration:none;font:700 13.5px system-ui,sans-serif;white-space:nowrap}
 .mk-subnav a.on{background:var(--ink,#0b2b30);color:var(--bg,#fff);border-color:transparent}
}

#pulse .pm{flex:none;display:inline-flex;align-items:center;justify-content:center;height:26px;max-width:46px}
#pulse img.pm{width:auto;height:26px;object-fit:contain}
#pulse .pm-sticker{height:28px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25));transform:rotate(-6deg)}
#pulse .pm-gif{height:26px;border-radius:6px}
#pulse .pm svg{height:20px;width:auto}
html.lite #pulse img.pm-gif{animation:none}
@media(prefers-reduced-motion:reduce){#pulse img.pm-gif{display:none}}

@media(min-width:900px){#mkToast{left:auto!important;right:20px;transform:none!important;bottom:100px!important}}
/* Lite mode button: small, icon only, label on hover/focus */
.fx-pill{padding:0!important;width:36px!important;height:36px!important;min-width:0!important;gap:0!important;justify-content:center;left:14px!important;bottom:16px!important;opacity:.85;transition:width .2s,padding .2s,opacity .2s}
.fx-pill svg{width:17px!important;height:17px!important;flex:none}
.fx-pill #fxLabel{display:none;font-size:12px;white-space:nowrap}
.fx-pill:hover,.fx-pill:focus-visible{width:auto!important;padding:0 14px 0 10px!important;gap:7px!important;opacity:1}
.fx-pill:hover #fxLabel,.fx-pill:focus-visible #fxLabel{display:inline}
body.rp2-on .fx-pill{bottom:calc(var(--rp2-h,88px) + 18px)!important}
@media(max-width:899px){body.rp2-on .fx-pill{bottom:calc(var(--rp2-h,78px) + 18px)!important}}

.masthead nav a.mk-site{font-weight:700;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid var(--line,#dde9e9);border-radius:99px;background:var(--card,#fff)}
.masthead nav a.mk-site::before{content:"";width:16px;height:16px;background:url('/assets/rpit_mark_sm.png') center/contain no-repeat;border-radius:4px}
@media(max-width:560px){.masthead nav a.mk-site{display:none}}

#pulse .msg{min-width:0;max-width:100%}#pulse .msg>span:last-child{min-width:0;overflow:hidden;white-space:nowrap;display:block}


/* toasts sit at the top centre so they never land on the player, WhatsApp or the Lite button */
#mkToast{left:50%!important;right:auto!important;transform:translateX(-50%)!important;top:56px!important;bottom:auto!important;max-width:min(420px,90vw)}
@media(min-width:900px){#mkToast{left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:auto!important}}

/* podcast page + cards follow the theme */
html[data-theme=dark] .pc-hero{background:linear-gradient(135deg,rgba(18,143,164,.22),rgba(158,82,213,.14) 60%,rgba(248,181,29,.08))}
html[data-theme=dark] .pc-latest{background:#e9f4f6;color:#0b2b30}
html[data-theme=dark] .pc-dur{background:rgba(67,193,214,.18);color:#7fdcec}
html[data-theme=dark] .mk-ep{background:#171a21;border-color:#2a2e38}html[data-theme=dark] .mk-ep .t{color:#e9eaee}
html[data-theme=dark] .mk-listen h2,html[data-theme=dark] .mk-listen .mk-sub{color:#e9eaee}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) .pc-latest{background:#e9f4f6;color:#0b2b30}html:not([data-theme=light]) .pc-dur{background:rgba(67,193,214,.18);color:#7fdcec}}

/* podcast icon stays visible in the phone header, same size as its neighbours */
.hdr .mk-podbtn{display:inline-flex!important}
@media(max-width:480px){.hdr .mk-podbtn{width:42px!important;height:42px!important;min-width:42px!important;padding:0!important}.hdr .mk-podbtn svg{width:20px;height:20px}}

/* header podcast icon: true centre inside its circle */
.hdr .mk-podbtn{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:0}
.hdr .mk-podbtn svg{display:block!important;margin:0!important;flex:none}
.hdr .mk-podbtn::before,.hdr .mk-podbtn::after{content:none!important}
@media(max-width:480px){.hdr .mk-podbtn{width:50px!important;height:50px!important;min-width:50px!important}.hdr .mk-podbtn svg{width:22px;height:22px}}
/* desktop: same round button as its neighbours */
@media(min-width:481px){.hdr .mk-podbtn{width:48px!important;height:48px!important;min-width:48px!important;padding:0!important;border-radius:50%!important;display:inline-flex!important;align-items:center;justify-content:center}.hdr .mk-podbtn svg{width:22px;height:22px}}

/* ---- podcast show page (Apple Podcasts style) ---- */
.pc{max-width:1040px;margin:0 auto;padding:18px 18px 60px;font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
.pc-hero{display:grid;grid-template-columns:300px 1fr;gap:34px;align-items:end;padding:26px;border-radius:26px;background:linear-gradient(135deg,rgba(18,143,164,.20),rgba(158,82,213,.10) 60%,rgba(248,181,29,.10))}
.pc-cover{width:300px;height:300px;border-radius:22px;object-fit:cover;box-shadow:0 22px 50px rgba(11,43,48,.35)}
.pc-meta h1{font-size:clamp(30px,5vw,46px);margin:0 0 4px;letter-spacing:-1px;line-height:1.05}.pc-by{font-size:19px;font-weight:700;color:#128fa4;margin-bottom:8px}
.pc-tags{display:flex;flex-wrap:wrap;gap:6px 10px;color:var(--muted);font-size:13px;font-weight:600;margin-bottom:12px}.pc-tags span+span::before{content:"·";margin-right:10px}
.pc-about{margin:0 0 16px;color:var(--ink);opacity:.82;line-height:1.5;max-width:56ch}
.pc-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pc-latest{display:inline-flex;align-items:center;gap:9px;height:46px;padding:0 22px;border:0;border-radius:99px;background:#0b2b30;color:#fff;font:800 15px system-ui,sans-serif;cursor:pointer}
.pc-circ{width:46px;height:46px;border-radius:50%;border:0;background:rgba(11,43,48,.1);color:inherit;font-size:20px;cursor:pointer;display:grid;place-items:center}.pc-lang{margin-left:auto}
.pc h2{font-size:24px;margin:30px 0 4px;letter-spacing:-.3px}.pc-list{list-style:none;margin:0;padding:0}
.pc-row{display:grid;grid-template-columns:1fr 118px;gap:18px;padding:18px 0;border-top:1px solid var(--line)}.pc-date{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);display:flex;align-items:center;gap:4px}
.pc-title{display:block;font-size:19px;font-weight:800;line-height:1.25;color:inherit;text-decoration:none;margin:4px 0 6px}.pc-desc{margin:0 0 12px;color:var(--muted);font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pc-act{display:flex;align-items:center;gap:8px}.pc-dur{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 16px;border:0;border-radius:99px;background:rgba(18,143,164,.14);color:#0e7a8d;font:800 14px system-ui,sans-serif;cursor:pointer}
.pc-ib{width:38px;height:38px;border-radius:50%;border:0;background:rgba(127,127,127,.14);color:inherit;font-size:18px;cursor:pointer}.pc-th img{width:118px;height:118px;border-radius:16px;object-fit:cover;display:block}
.pc-more{position:relative}.pc-more summary{list-style:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;cursor:pointer;font-size:20px;background:rgba(127,127,127,.14)}.pc-more summary::-webkit-details-marker{display:none}
.pc-menu{position:absolute;left:0;top:44px;z-index:30;min-width:180px;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 40px rgba(0,0,0,.22);padding:6px;display:grid}.pc-menu button,.pc-menu a{border:0;background:none;text-align:left;padding:10px 12px;border-radius:9px;font:600 14px system-ui,sans-serif;color:inherit;text-decoration:none;cursor:pointer}.pc-menu button:hover,.pc-menu a:hover{background:rgba(127,127,127,.14)}
@media(max-width:700px){.pc-hero{grid-template-columns:1fr;justify-items:center;text-align:center;padding:20px 16px}.pc-cover{width:min(260px,70vw);height:min(260px,70vw)}.pc-actions{justify-content:center}.pc-tags{justify-content:center}.pc-lang{margin:8px auto 0}.pc-row{grid-template-columns:1fr 92px;gap:12px}.pc-th img{width:92px;height:92px}}

/* site header: the language switch shows on wide screens only (phones have it in the player card and the Listen section) */
.mk-gl-site{display:none}
@media(min-width:900px){.mk-gl-site{display:inline-flex;align-self:center;margin:0 8px 0 2px}}

/* subscribe box + Hindi summary note on the podcast page */
.pc-sub{margin:38px 0 10px;padding:20px;border:1px solid var(--line,#dde9e9);border-radius:18px;background:var(--card,#fff)}
.pc-sub h2{margin:0 0 6px;font-size:20px}.pc-sub p{margin:0 0 14px;color:var(--muted,#587b86);font-size:14px}
.pc-feed{display:flex;gap:8px;align-items:center;margin-bottom:8px;flex-wrap:wrap}.pc-feed b{min-width:64px}
.pc-feed input{flex:1;min-width:200px;border:1px solid var(--line,#dde9e9);border-radius:10px;padding:10px 12px;background:var(--bg,#fff);color:inherit;font:13px ui-monospace,monospace}
.pc-feed button{border:0;border-radius:10px;padding:10px 16px;background:var(--accent,#0e7a8d);color:var(--accent-ink,#fff);font:700 13px system-ui,sans-serif;cursor:pointer}
.pc-note{display:inline-block;margin-left:6px;font-size:11px;font-weight:700;padding:1px 7px;border-radius:99px;background:rgba(127,127,127,.16);color:var(--muted,#587b86)}

/* emoji pop: festival and announcement emoji (and any emoji in the strip/ticker text) move gently */
.rpit-em{display:inline-block;animation:rpitEmoPop 2.6s ease-in-out infinite;transform-origin:50% 60%}
#pulse .pm-emoji{font:20px/1 "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;height:auto;max-width:none;display:inline-block;animation:rpitEmoPop 2.6s ease-in-out infinite;transform-origin:50% 60%}
@keyframes rpitEmoPop{0%,100%{transform:scale(1) rotate(0)}30%{transform:scale(1.22) rotate(-8deg)}60%{transform:scale(1.1) rotate(6deg)}}
html.lite .rpit-em,html.lite #pulse .pm-emoji{animation:none}
@media(prefers-reduced-motion:reduce){.rpit-em,#pulse .pm-emoji{animation:none!important}}

/* dark mode on the blog and podcast pages: the top strip, the headphone button, the small badges and links follow the theme */
html[data-theme=dark] #pulse{background:linear-gradient(90deg,#10232a,#1b1936 55%,#2b2412);color:#e9f2f4;border-bottom-color:#223940}
html[data-theme=dark] #pulse svg{color:#7fd6e6}html[data-theme=dark] #pulse .dots i{background:#e9f2f4}
html[data-theme=dark] .masthead nav .mk-pod{background:#eef6f7;border-color:#eef6f7;color:#10181b}
html[data-theme=dark] .mk-badge{color:#9ad7e3}html[data-theme=dark] .mk-more,html[data-theme=dark] .pc-by{color:#43c1d6}
@media(prefers-color-scheme:dark){
  html:not([data-theme=light]) #pulse{background:linear-gradient(90deg,#10232a,#1b1936 55%,#2b2412);color:#e9f2f4;border-bottom-color:#223940}
  html:not([data-theme=light]) #pulse svg{color:#7fd6e6}html:not([data-theme=light]) #pulse .dots i{background:#e9f2f4}
  html:not([data-theme=light]) .masthead nav .mk-pod{background:#eef6f7;border-color:#eef6f7;color:#10181b}
  html:not([data-theme=light]) .mk-badge{color:#9ad7e3}html:not([data-theme=light]) .mk-more,html:not([data-theme=light]) .pc-by{color:#43c1d6}
}
