/*
Theme Name:   JaiHinduism
Theme URI:    https://jaihinduism.com
Description:  Custom WordPress Theme for JaiHinduism — Hindu Bhajan, Aarti, Chalisa, Mantra
Author:       JaiHinduism Team
Author URI:   https://jaihinduism.com
Version:      1.0.0
License:      GNU General Public License v2
Text Domain:  jaihinduism
Tags:         hindi, bhajan, aarti, chalisa, mantra, panchang
*/

/* ══════════════════════════════════════════════════
   CSS VARIABLES
══════════════════════════════════════════════════ */
:root {
  --sf:      #FF6F00;
  --sf-dk:   #BF5E00;
  --sf-lt:   #FF8F00;
  --sf-pale: #FFF3E0;
  --gold:    #FFD54F;
  --text:    #1a1a1a;
  --text-m:  #4a3000;
  --text-lt: #7a5500;
  --bdr:     rgba(230,130,0,0.2);
  --r:       6px;
  --sh:      0 2px 10px rgba(0,0,0,0.08);
  --sh-lg:   0 4px 20px rgba(0,0,0,0.13);
  --wrap:    1200px;
}

/* ══════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans Devanagari', 'Noto Sans', sans-serif;
  background: #f5f5f5;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
a { text-decoration: none; color: var(--sf); transition: color .15s; }
a:hover { color: var(--sf-dk); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ══════════════════════════════════════════════════
   WRAPPER
══════════════════════════════════════════════════ */
.jh-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

/* ══════════════════════════════════════════════════
   READING PROGRESS BAR
══════════════════════════════════════════════════ */
#jh-rpbar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--sf), var(--gold));
  z-index: 99999; pointer-events: none;
  transition: width .1s linear;
}

/* ══════════════════════════════════════════════════
   TICKER BAR
══════════════════════════════════════════════════ */
.jh-ticker {
  background: var(--sf-dk);
  height: 30px; overflow: hidden;
}
.jh-ticker .jh-wrap {
  display: flex; align-items: center; height: 100%;
}
.jh-ticker-lbl {
  background: var(--sf); color: #fff;
  padding: 0 12px; height: 30px; line-height: 30px;
  font-size: 11px; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.jh-ticker-track {
  overflow: hidden; flex: 1; height: 30px; display: flex; align-items: center;
}
.jh-ticker-in {
  white-space: nowrap;
  animation: jhtick 40s linear infinite;
  font-size: 12px; color: rgba(255,255,255,.85);
  display: inline-block; padding-left: 20px;
}
@keyframes jhtick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════ */
#jh-header {
  background: #fff;
  border-bottom: 3px solid var(--sf);
  box-shadow: var(--sh);
  position: sticky; top: 0; z-index: 900;
}
.jh-header-in {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 64px; gap: 16px;
}

/* Logo */
.jh-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.jh-logo-ic {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sf), var(--sf-dk));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.jh-logo-name {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1.35rem; color: var(--sf); font-weight: 700;
  display: block; white-space: nowrap; line-height: 1.2;
}
.jh-logo-tag {
  font-size: 10px; color: var(--text-lt);
  white-space: nowrap; display: block;
}

/* Desktop Nav */
.jh-nav { display: flex; align-items: center; gap: 2px; }
.jh-nav a {
  padding: 6px 12px; border-radius: var(--r);
  font-size: 13px; font-weight: 600; color: var(--text);
  transition: all .15s; white-space: nowrap;
}
.jh-nav a:hover, .jh-nav a.active {
  background: var(--sf-pale); color: var(--sf);
}

/* Header Right */
.jh-hdr-r { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.jh-search-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sf-pale); border: 1px solid var(--bdr);
  color: var(--sf); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.jh-search-btn:hover { background: var(--sf); color: #fff; }

/* Hamburger */
.jh-ham {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.jh-ham span {
  width: 23px; height: 2px; background: var(--sf);
  border-radius: 2px; display: block; transition: all .3s;
}

/* Search Bar */
.jh-search-bar {
  display: none; background: #fff;
  border-bottom: 2px solid var(--sf);
  padding: 10px 0;
}
.jh-search-bar.open { display: block; }
.jh-search-form {
  display: flex; gap: 8px;
}
.jh-search-inp {
  flex: 1; padding: 9px 14px; border: 1px solid var(--bdr);
  border-radius: var(--r); font-size: 14px; outline: none;
  font-family: inherit;
}
.jh-search-inp:focus { border-color: var(--sf); }
.jh-search-sub {
  background: var(--sf); color: #fff; border: none;
  border-radius: var(--r); padding: 9px 18px;
  font-size: 14px; font-weight: 700;
}
.jh-search-sub:hover { background: var(--sf-dk); }

/* ══════════════════════════════════════════════════
   CATEGORY NAV
══════════════════════════════════════════════════ */
#jh-catnav {
  background: var(--sf);
  border-bottom: 2px solid var(--gold);
  position: sticky; top: 64px; z-index: 800;
}
.jh-catnav-in {
  display: flex; overflow-x: auto; scrollbar-width: none;
}
.jh-catnav-in::-webkit-scrollbar { display: none; }
.jh-cni {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 8px 14px; color: rgba(255,255,255,.85);
  font-size: 11px; font-weight: 500; white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  min-width: 56px; transition: all .2s; flex-shrink: 0;
}
.jh-cni .e { font-size: 18px; line-height: 1; }
.jh-cni:hover, .jh-cni.on {
  color: #fff; border-bottom-color: #fff;
  background: rgba(255,255,255,.15);
}

/* ══════════════════════════════════════════════════
   MAIN LAYOUT
══════════════════════════════════════════════════ */
.jh-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  padding: 24px 0 48px;
}
.jh-main { min-width: 0; }
.jh-sidebar { min-width: 0; }

/* ══════════════════════════════════════════════════
   AD SLOTS
══════════════════════════════════════════════════ */
.jh-ad {
  background: #f8f8f8; border: 1px dashed #ddd;
  border-radius: var(--r); text-align: center;
  padding: 10px; position: relative; margin-bottom: 20px;
}
.jh-ad::before {
  content: 'Advertisement'; font-size: 9px; color: #bbb;
  letter-spacing: 1px; display: block; margin-bottom: 4px;
}
.jh-ad-bn { min-height: 80px; display: flex; align-items: center; justify-content: center; }
.jh-ad-rc { min-height: 250px; display: flex; align-items: center; justify-content: center; }

/* ══════════════════════════════════════════════════
   HOMEPAGE — FEATURED
══════════════════════════════════════════════════ */
.jh-featured {
  background: linear-gradient(135deg, var(--sf-dk), var(--sf), var(--sf-lt));
  border-radius: 12px; overflow: hidden;
  margin-bottom: 24px; position: relative;
  min-height: 220px; display: flex; align-items: flex-end;
  box-shadow: var(--sh-lg);
}
.jh-featured img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.jh-featured-body {
  position: relative; z-index: 1; padding: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 100%);
  width: 100%;
}
.jh-featured-cat {
  background: var(--sf); color: #fff; border-radius: 20px;
  padding: 3px 12px; font-size: 11px; font-weight: 700;
  display: inline-block; margin-bottom: 8px;
}
.jh-featured-title {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1.3rem; font-weight: 700; color: #fff;
  line-height: 1.3; margin-bottom: 8px;
}
.jh-featured-meta { font-size: 12px; color: rgba(255,255,255,.7); }

/* ══════════════════════════════════════════════════
   SECTION HEADING
══════════════════════════════════════════════════ */
.jh-sec-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--sf);
}
.jh-sec-hd h2 {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1.05rem; color: var(--sf); font-weight: 700;
  display: flex; align-items: center; gap: 7px;
}
.jh-sec-hd h2::before {
  content: ''; width: 4px; height: 18px;
  background: var(--sf); border-radius: 2px; flex-shrink: 0;
}
.jh-sec-more {
  font-size: 12px; color: var(--sf); font-weight: 600;
  background: var(--sf-pale); padding: 4px 10px;
  border-radius: 20px; white-space: nowrap;
}
.jh-sec-more:hover { background: var(--sf); color: #fff; }

/* ══════════════════════════════════════════════════
   POST GRID (3 col)
══════════════════════════════════════════════════ */
.jh-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
.jh-card {
  background: #fff; border: 1px solid var(--bdr);
  border-radius: var(--r); overflow: hidden;
  box-shadow: 0 1px 5px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  display: block;
}
.jh-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.jh-card-thumb { height: 120px; overflow: hidden; position: relative; }
.jh-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.jh-card:hover .jh-card-thumb img { transform: scale(1.05); }
.jh-card-no-thumb {
  height: 120px;
  background: linear-gradient(135deg, var(--sf), var(--sf-dk));
  display: flex; align-items: center; justify-content: center; font-size: 36px;
}
.jh-card-body { padding: 11px 13px; }
.jh-card-cat {
  font-size: 10px; color: var(--sf); font-weight: 700;
  text-transform: uppercase; letter-spacing: .3px; margin-bottom: 4px;
}
.jh-card-title {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: .88rem; color: var(--text); line-height: 1.35;
  margin-bottom: 6px;
}
.jh-card:hover .jh-card-title { color: var(--sf); }
.jh-card-meta { font-size: 11px; color: var(--text-lt); display: flex; gap: 8px; }

/* ══════════════════════════════════════════════════
   POST LIST (for bhajan/aarti list style)
══════════════════════════════════════════════════ */
.jh-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 24px; }
.jh-list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: #fff;
  border: 1px solid var(--bdr); border-radius: var(--r);
  transition: all .15s;
}
.jh-list-item:hover { background: var(--sf-pale); border-color: var(--sf); }
.jh-list-ic {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--sf), var(--sf-dk));
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.jh-list-body { flex: 1; min-width: 0; }
.jh-list-title {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: .9rem; color: var(--text); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jh-list-item:hover .jh-list-title { color: var(--sf); }
.jh-list-meta { font-size: 11px; color: var(--text-lt); margin-top: 2px; }
.jh-list-arr { color: var(--sf); font-size: 16px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════
   PANCHANG BAR (homepage)
══════════════════════════════════════════════════ */
.jh-panchang-bar {
  background: linear-gradient(90deg, #1a0a00, #2d1500, #1a0a00);
  border: 1px solid rgba(255,111,0,.3);
  border-radius: var(--r); padding: 12px 16px;
  margin-bottom: 20px; display: flex;
  align-items: center; gap: 16px; flex-wrap: wrap;
}
.jh-pb-title {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: .85rem; color: var(--gold); font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}
.jh-pb-items { display: flex; gap: 12px; flex-wrap: wrap; flex: 1; }
.jh-pb-item { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.jh-pb-lbl { font-size: 9px; color: rgba(255,111,0,.7); text-transform: uppercase; letter-spacing: .5px; }
.jh-pb-val { font-family: 'Noto Serif Devanagari', serif; font-size: .82rem; color: #fff; font-weight: 600; }
.jh-pb-more {
  background: rgba(255,111,0,.2); border: 1px solid rgba(255,111,0,.3);
  color: var(--sf-lt); border-radius: 4px; padding: 5px 12px;
  font-size: 11px; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.jh-pb-more:hover { background: var(--sf); color: #fff; }

/* ══════════════════════════════════════════════════
   SINGLE POST PAGE
══════════════════════════════════════════════════ */
.jh-lang-bar {
  background: #1a1a1a; padding: 8px 0;
  border-bottom: 2px solid var(--sf);
}
.jh-lang-bar-in {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.jh-lang-lbl { font-size: 12px; color: rgba(255,255,255,.6); white-space: nowrap; flex-shrink: 0; }
.jh-lang-tabs { display: flex; gap: 6px; flex-wrap: wrap; overflow-x: auto; scrollbar-width: none; }
.jh-lang-tabs::-webkit-scrollbar { display: none; }
.jh-ltab {
  padding: 5px 14px; border-radius: 20px;
  border: 1px solid rgba(255,111,0,.4); background: transparent;
  color: rgba(255,255,255,.7); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .2s; white-space: nowrap; font-family: inherit;
}
.jh-ltab:hover { border-color: var(--sf); color: var(--sf); }
.jh-ltab.active { background: var(--sf); color: #fff; border-color: var(--sf); }

.jh-breadcrumb {
  background: var(--sf-pale); border-bottom: 1px solid var(--bdr);
  padding: 9px 0; font-size: 12px; color: var(--text-lt);
}
.jh-breadcrumb-in { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.jh-breadcrumb a { color: var(--sf); font-weight: 500; }
.jh-breadcrumb .sep { opacity: .4; }

.jh-post-hd {
  background: linear-gradient(135deg, var(--sf-dk), var(--sf), var(--sf-lt));
  color: #fff; padding: 24px 0 20px;
}
.jh-post-hd-in { display: grid; grid-template-columns: 70px 1fr; gap: 16px; align-items: center; }
.jh-post-ic {
  width: 70px; height: 70px; background: rgba(255,255,255,.2);
  border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 34px; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.35);
}
.jh-post-cat-badge {
  background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.4);
  color: #fff; border-radius: 20px; padding: 3px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .4px;
}
.jh-post-date { font-size: 11px; opacity: .75; }
.jh-post-title {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1.55rem; font-weight: 700; line-height: 1.3;
  margin: 8px 0; color: #fff;
}
.jh-post-info { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; opacity: .85; }

.jh-feat-img { margin-bottom: 20px; border-radius: 8px; overflow: hidden; box-shadow: var(--sh-lg); }
.jh-feat-img img { width: 100%; height: auto; max-height: 420px; object-fit: cover; }

.jh-intro-box {
  background: #fff; border: 1px solid var(--bdr);
  border-left: 4px solid var(--sf); border-radius: var(--r);
  padding: 14px 17px; margin-bottom: 18px;
  font-size: 14px; color: var(--text-m); line-height: 1.75;
}

.jh-toc {
  background: var(--sf-pale); border: 1px solid var(--bdr);
  border-left: 4px solid var(--sf); border-radius: var(--r);
  padding: 14px 17px; margin-bottom: 20px;
}
.jh-toc-title {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: .95rem; color: var(--sf); font-weight: 700;
  cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between;
}
.jh-toc-list { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.jh-toc-list a {
  font-size: 13px; color: var(--text-m); display: flex;
  align-items: center; gap: 6px; padding: 2px 0;
}
.jh-toc-list a::before { content: '›'; color: var(--sf); font-weight: 700; flex-shrink: 0; }
.jh-toc-list a:hover { color: var(--sf); }

.jh-font-ctrl {
  display: flex; align-items: center; gap: 8px;
  background: var(--sf-pale); border: 1px solid var(--bdr);
  border-radius: var(--r); padding: 8px 13px; margin-bottom: 16px;
}
.jh-font-ctrl span { font-size: 12px; color: var(--text-lt); flex: 1; }
.jh-font-btn {
  width: 32px; height: 32px; border: 1px solid var(--bdr);
  border-radius: 4px; background: #fff; color: var(--sf);
  font-size: 14px; font-weight: 700; display: flex;
  align-items: center; justify-content: center;
}
.jh-font-btn:hover { background: var(--sf); color: #fff; }

.jh-post-body { font-size: 15px; line-height: 1.85; color: #222; margin-bottom: 22px; }
.jh-post-body h2 { font-family: 'Noto Serif Devanagari', serif; font-size: 1.2rem; color: var(--sf); margin: 20px 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--sf); }
.jh-post-body h3 { font-family: 'Noto Serif Devanagari', serif; font-size: 1rem; color: var(--sf-dk); margin: 16px 0 8px; }
.jh-post-body p { margin-bottom: 14px; }
.jh-post-body blockquote { border-left: 4px solid var(--sf); padding: 10px 16px; background: var(--sf-pale); color: var(--text-m); font-style: italic; border-radius: 0 var(--r) var(--r) 0; margin: 16px 0; }

.jh-sec-h {
  font-family: 'Noto Serif Devanagari', serif; font-size: 1.15rem;
  color: var(--sf); font-weight: 700; padding-bottom: 9px;
  margin: 22px 0 14px; border-bottom: 2px solid var(--sf);
  display: flex; align-items: center; gap: 8px;
}
.jh-sec-h::before { content: ''; width: 4px; height: 20px; background: var(--sf); border-radius: 2px; flex-shrink: 0; }

.jh-lang-block { display: none; }
.jh-lang-block.active { display: block; }
.jh-verse-wrap { background: #fff; border: 1px solid var(--bdr); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; box-shadow: 0 1px 5px rgba(0,0,0,.06); }
.jh-verse-lbl { background: linear-gradient(90deg, var(--sf-pale), #fff); padding: 8px 15px; font-size: 11px; font-weight: 700; color: var(--sf); letter-spacing: .5px; text-transform: uppercase; border-bottom: 1px solid var(--bdr); display: flex; align-items: center; justify-content: space-between; }
.jh-copy-btn { background: none; border: 1px solid var(--bdr); color: var(--text-lt); border-radius: 4px; padding: 3px 9px; font-size: 10px; cursor: pointer; font-family: inherit; }
.jh-copy-btn:hover, .jh-copy-btn.copied { background: var(--sf); color: #fff; border-color: var(--sf); }
.jh-verse-text { font-size: 1.08rem; line-height: 2.3; padding: 18px; color: var(--text); white-space: pre-line; }

.jh-share-box { background: var(--sf-pale); border: 1px solid var(--bdr); border-radius: var(--r); padding: 15px 17px; margin-bottom: 20px; }
.jh-share-title { font-size: 13px; font-weight: 700; color: var(--text-m); margin-bottom: 11px; }
.jh-share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.jh-sbtn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r); font-size: 12px; font-weight: 700; border: none; color: #fff; font-family: inherit; text-decoration: none; transition: filter .2s; }
.jh-sbtn:hover { filter: brightness(1.1); color: #fff; }
.jh-wa{background:#25D366}.jh-fb{background:#1877F2}.jh-tw{background:#1DA1F2}.jh-tg{background:#0088CC}.jh-cp{background:var(--sf)}

.jh-post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.jh-ptag { background: var(--sf-pale); color: var(--sf); border: 1px solid var(--bdr); border-radius: 20px; padding: 4px 11px; font-size: 12px; }
.jh-ptag:hover { background: var(--sf); color: #fff; }

.jh-yt-wrap { margin-bottom: 22px; }
.jh-yt-box { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; box-shadow: var(--sh-lg); background: #000; }
.jh-yt-box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

.jh-rel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.jh-rc { background: #fff; border: 1px solid var(--bdr); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 5px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; display: block; }
.jh-rc:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.jh-rc-top { height: 70px; background: linear-gradient(135deg, var(--sf), var(--sf-dk)); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.jh-rc-img { height: 90px; overflow: hidden; }
.jh-rc-img img { width: 100%; height: 100%; object-fit: cover; }
.jh-rc-bd { padding: 10px 12px; }
.jh-rc-cat { font-size: 10px; color: var(--sf); font-weight: 700; text-transform: uppercase; margin-bottom: 3px; }
.jh-rc-t { font-family: 'Noto Serif Devanagari', serif; font-size: .85rem; color: var(--text); line-height: 1.35; }
.jh-rc:hover .jh-rc-t { color: var(--sf); }

/* ══════════════════════════════════════════════════
   INTERLINKING BOX
══════════════════════════════════════════════════ */
.jh-interlink-box {
  background: #fff;
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: var(--sh);
}
.jh-interlink-hd {
  background: linear-gradient(90deg, var(--sf-dk), var(--sf));
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Serif Devanagari', serif;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
}
.jh-interlink-ic {
  font-size: 18px;
  line-height: 1;
}
.jh-interlink-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px 0;
}
.jh-interlink-list li {
  border-bottom: 1px solid var(--bdr);
}
.jh-interlink-list li:nth-child(odd) {
  border-right: 1px solid var(--bdr);
}
.jh-interlink-list li:nth-last-child(-n+2) {
  border-bottom: none;
}
.jh-interlink-list li a {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 10px 14px;
  color: var(--text);
  transition: background .15s, color .15s;
  text-decoration: none;
}
.jh-interlink-list li a:hover {
  background: var(--sf-pale);
  color: var(--sf);
}
.jh-interlink-arrow {
  color: var(--sf);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.4;
}
.jh-interlink-title {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: .88rem;
  line-height: 1.45;
}

/* ══════════════════════════════════════════════════
   THUMBNAIL RELATED POSTS
══════════════════════════════════════════════════ */
.jh-thumb-sec {
  margin-bottom: 24px;
}
.jh-thumb-sec-hd {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sf);
  padding-bottom: 9px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--sf);
}
.jh-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.jh-thumb-card {
  background: #fff;
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh);
  transition: transform .2s, box-shadow .2s;
  display: block;
  text-decoration: none;
}
.jh-thumb-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}
.jh-thumb-img {
  height: 110px;
  overflow: hidden;
  background: var(--sf-pale);
  position: relative;
}
.jh-thumb-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.jh-thumb-card:hover .jh-thumb-img img {
  transform: scale(1.05);
}
.jh-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--sf-pale), #fff);
  font-size: 32px;
}
.jh-thumb-body {
  padding: 10px 12px;
}
.jh-thumb-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--sf);
  text-transform: uppercase;
  letter-spacing: .4px;
  display: block;
  margin-bottom: 4px;
}
.jh-thumb-title {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: .85rem;
  color: var(--text);
  line-height: 1.4;
  font-weight: 600;
}
.jh-thumb-card:hover .jh-thumb-title { color: var(--sf); }

/* ══════════════════════════════════════════════════
   LATEST POSTS — FULL WIDTH (AUTO UPDATE)
══════════════════════════════════════════════════ */
.jh-latest-sec {
  background: #1a0a00;
  padding: 28px 0 36px;
  margin-top: 0;
}
.jh-latest-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.jh-latest-hd-text {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}
.jh-latest-more {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,111,0,.3);
  border-radius: 20px;
  padding: 4px 14px;
  transition: .2s;
}
.jh-latest-more:hover {
  background: var(--sf);
  color: #fff;
  border-color: var(--sf);
}
.jh-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.jh-latest-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,111,0,.15);
  border-radius: var(--r);
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.jh-latest-card:hover {
  background: rgba(255,111,0,.12);
  border-color: rgba(255,111,0,.4);
  transform: translateY(-3px);
}
.jh-latest-img {
  height: 100px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  position: relative;
}
.jh-latest-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.jh-latest-card:hover .jh-latest-img img { transform: scale(1.05); }
.jh-latest-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  background: linear-gradient(135deg, rgba(255,111,0,.15), rgba(255,111,0,.05));
}
.jh-latest-badge {
  position: absolute;
  top: 7px; left: 7px;
  background: var(--sf);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: .3px;
}
.jh-latest-body {
  padding: 10px 12px;
}
.jh-latest-title {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: .85rem;
  color: rgba(255,255,255,.9);
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 6px;
}
.jh-latest-card:hover .jh-latest-title { color: var(--gold); }
.jh-latest-date {
  font-size: 11px;
  color: rgba(255,255,255,.4);
}

/* ══════════════════════════════════════════════════
   ARCHIVE/CATEGORY PAGE
══════════════════════════════════════════════════ */
.jh-arch-hd {
  background: linear-gradient(135deg, var(--sf-dk), var(--sf));
  color: #fff; padding: 20px 0; margin-bottom: 24px;
}
.jh-arch-hd-in { display: flex; align-items: center; gap: 14px; }
.jh-arch-ic { width: 54px; height: 54px; background: rgba(255,255,255,.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.jh-arch-title { font-family: 'Noto Serif Devanagari', serif; font-size: 1.4rem; font-weight: 700; color: #fff; }
.jh-arch-count { font-size: 12px; opacity: .75; margin-top: 3px; }
.jh-arch-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 24px; }

/* ══════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════ */
.jh-sb { background: #fff; border: 1px solid var(--bdr); border-radius: var(--r); box-shadow: 0 1px 4px rgba(0,0,0,.06); overflow: hidden; margin-bottom: 18px; }
.jh-sbh { background: var(--sf); color: #fff; padding: 10px 14px; font-family: 'Noto Serif Devanagari', serif; font-size: .9rem; font-weight: 600; }
.jh-sbb { padding: 13px; }
.jh-sb-inp { width: 100%; border: 1px solid var(--bdr); border-radius: var(--r); padding: 8px 11px; font-size: 13px; outline: none; font-family: inherit; }
.jh-sb-inp:focus { border-color: var(--sf); }
.jh-sb-btn { width: 100%; background: var(--sf); color: #fff; border: none; border-radius: var(--r); padding: 8px; font-size: 13px; font-weight: 700; margin-top: 7px; font-family: inherit; cursor: pointer; }
.jh-sb-btn:hover { background: var(--sf-dk); }
.jh-pop-list { display: flex; flex-direction: column; }
.jh-pop-item { display: flex; align-items: center; gap: 7px; padding: 7px 2px; border-bottom: 1px dashed var(--bdr); font-size: 13px; color: var(--text-m); text-decoration: none; }
.jh-pop-item:last-child { border: none; }
.jh-pop-item:hover { color: var(--sf); }
.jh-pop-num { font-size: 10px; color: var(--sf); font-weight: 700; min-width: 18px; }
.jh-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.jh-cat-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 6px; background: #fafafa; border: 1px solid var(--bdr); border-radius: 5px; font-size: 11px; font-weight: 500; color: var(--text-m); text-align: center; text-decoration: none; transition: all .2s; }
.jh-cat-item .ico { font-size: 20px; }
.jh-cat-item:hover { background: var(--sf-pale); border-color: var(--sf); color: var(--sf); }
.jh-tag-cloud { display: flex; flex-wrap: wrap; gap: 5px; }
.jh-tag { background: var(--sf-pale); color: var(--sf); border: 1px solid var(--bdr); border-radius: 20px; padding: 3px 9px; font-size: 11px; text-decoration: none; }
.jh-tag:hover { background: var(--sf); color: #fff; }
.jh-app-widget { background: linear-gradient(135deg, var(--sf-dk), var(--sf-lt)); border-radius: var(--r); padding: 18px 14px; text-align: center; color: #fff; margin-bottom: 18px; }
.jh-app-ic { font-size: 40px; margin-bottom: 8px; }
.jh-app-t { font-family: 'Noto Serif Devanagari', serif; font-size: .95rem; font-weight: 700; margin-bottom: 5px; }
.jh-app-s { font-size: 11px; opacity: .75; margin-bottom: 13px; line-height: 1.5; }
.jh-app-btn { background: #fff; color: var(--sf); border-radius: var(--r); padding: 8px 18px; font-size: 12px; font-weight: 700; display: inline-block; text-decoration: none; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
#jh-footer {
  background: var(--sf-dk); color: rgba(255,255,255,.85);
  padding: 32px 0 0; margin-top: 8px;
}
.jh-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 24px; }
.jh-footer-logo-name { font-family: 'Noto Serif Devanagari', serif; font-size: 1.2rem; color: #fff; font-weight: 700; }
.jh-footer-logo-url { font-size: 10px; color: rgba(255,255,255,.5); display: block; margin-top: 1px; }
.jh-footer-desc { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 9px; line-height: 1.6; }
.jh-footer-col-t { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.2); }
.jh-footer-links { display: flex; flex-direction: column; gap: 7px; }
.jh-footer-links a { font-size: 12px; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 4px; }
.jh-footer-links a::before { content: '›'; color: var(--gold); }
.jh-footer-links a:hover { color: #fff; }
.jh-footer-bot { background: rgba(0,0,0,.2); text-align: center; padding: 12px 16px; font-size: 11px; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.12); }

/* ══════════════════════════════════════════════════
   SCROLL TO TOP + MOBILE MENU
══════════════════════════════════════════════════ */
#jh-top {
  position: fixed; bottom: 20px; right: 16px;
  width: 40px; height: 40px; background: var(--sf); color: #fff;
  border: none; border-radius: 50%; font-size: 17px;
  box-shadow: 0 2px 10px rgba(200,100,0,.35);
  opacity: 0; transition: opacity .3s; z-index: 500;
  display: flex; align-items: center; justify-content: center;
}
#jh-top.show { opacity: 1; }

.jh-mmenu {
  display: none; position: fixed; inset: 0;
  background: var(--sf); z-index: 9999;
  padding: 56px 20px 20px; overflow-y: auto;
}
.jh-mmenu.open { display: block; }
.jh-mm-close {
  position: absolute; top: 14px; right: 18px;
  font-size: 28px; color: #fff; background: none; border: none;
}
.jh-mm-logo { text-align: center; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.15); margin-bottom: 8px; }
.jh-mm-links a { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.9); font-size: 15px; }

/* ══════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════ */
.jh-pagination { display: flex; justify-content: center; gap: 6px; padding: 24px 0; flex-wrap: wrap; }
.jh-pagination a, .jh-pagination span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: var(--r); font-size: 14px; font-weight: 600; border: 1px solid var(--bdr); color: var(--text-m); background: #fff; }
.jh-pagination a:hover { background: var(--sf-pale); border-color: var(--sf); color: var(--sf); }
.jh-pagination .current { background: var(--sf); color: #fff; border-color: var(--sf); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .jh-layout { grid-template-columns: 1fr; gap: 18px; padding: 16px 0 40px; }
  .jh-grid { grid-template-columns: repeat(2,1fr); }
  .jh-arch-grid { grid-template-columns: repeat(2,1fr); }
  .jh-rel-grid { grid-template-columns: repeat(2,1fr); }
  .jh-footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .jh-post-hd-in { grid-template-columns: 60px 1fr; gap: 13px; }
  .jh-post-ic { width: 60px; height: 60px; font-size: 28px; }
  .jh-post-title { font-size: 1.35rem; }
  .jh-nav { display: none; }
  .jh-ham { display: flex; }
}
@media (max-width: 640px) {
  #jh-header .jh-header-in { height: 54px; }
  .jh-logo-ic { width: 38px; height: 38px; font-size: 18px; }
  .jh-logo-name { font-size: 1.1rem; }
  .jh-logo-tag { display: none; }
  #jh-catnav { top: 54px; }
  .jh-cni { padding: 7px 10px; min-width: 50px; font-size: 10px; }
  .jh-cni .e { font-size: 16px; }
  .jh-grid { grid-template-columns: 1fr; }
  .jh-arch-grid { grid-template-columns: 1fr; }
  .jh-rel-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .jh-interlink-list { grid-template-columns: 1fr; }
  .jh-interlink-list li:nth-child(odd) { border-right: none; }
  .jh-interlink-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--bdr); }
  .jh-interlink-list li:last-child { border-bottom: none; }
  .jh-thumb-grid { grid-template-columns: repeat(2, 1fr); }
  .jh-latest-grid { grid-template-columns: repeat(2, 1fr); }
  .jh-post-hd-in { grid-template-columns: 48px 1fr; gap: 10px; }
  .jh-post-ic { width: 48px; height: 48px; font-size: 22px; border-radius: 10px; }
  .jh-post-title { font-size: 1.05rem; }
  .jh-post-info { gap: 8px; font-size: 11px; }
  .jh-lang-lbl { display: none; }
  .jh-ltab { padding: 5px 10px; font-size: 11px; }
  .jh-verse-text { font-size: 1rem; line-height: 2.1; padding: 13px; }
  .jh-share-btns { gap: 6px; }
  .jh-sbtn { padding: 7px 10px; font-size: 11px; }
  .jh-footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .jh-featured-title { font-size: 1.1rem; }
}
@media (max-width: 400px) {
  .jh-post-title { font-size: .98rem; }
  .jh-rel-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════
   PAGE TEMPLATE (page.php)
══════════════════════════════════════════════════ */
.jh-page-wrap { background: #fff; border: 1px solid var(--bdr); border-radius: var(--r); padding: 28px; box-shadow: var(--sh); }
.jh-page-hd { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--sf); }
.jh-page-title { font-family: 'Noto Serif Devanagari', serif; font-size: 1.6rem; color: var(--sf); font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.jh-page-meta { font-size: 12px; color: var(--text-lt); }
.jh-page-content { font-size: 15px; line-height: 1.9; color: #222; }
.jh-page-content h2 { font-family: 'Noto Serif Devanagari', serif; font-size: 1.2rem; color: var(--sf); margin: 24px 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--sf); }
.jh-page-content h3 { font-family: 'Noto Serif Devanagari', serif; font-size: 1rem; color: var(--sf-dk); margin: 18px 0 8px; }
.jh-page-content p { margin-bottom: 16px; }
.jh-page-content ul, .jh-page-content ol { padding-left: 20px; margin-bottom: 16px; }
.jh-page-content ul li { list-style: disc; margin-bottom: 6px; }
.jh-page-content ol li { list-style: decimal; margin-bottom: 6px; }
.jh-page-content a { color: var(--sf); text-decoration: underline; }
.jh-page-content blockquote { border-left: 4px solid var(--sf); padding: 12px 16px; background: var(--sf-pale); color: var(--text-m); font-style: italic; border-radius: 0 var(--r) var(--r) 0; margin: 18px 0; }
.jh-page-content table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; }
.jh-page-content table th { background: var(--sf); color: #fff; padding: 10px 14px; text-align: left; }
.jh-page-content table td { padding: 10px 14px; border-bottom: 1px solid var(--bdr); }
.jh-page-content table tr:nth-child(even) td { background: var(--sf-pale); }
