/* हिरनोदा के गौरव — रंग थीम से (--hn-*), इसलिए हर थीम में मेल खाता है */
.hg { --g-n: var(--hn-neel, #1F3A68); --g-d: var(--hn-neel-deep, #152A4D); --g-s: var(--hn-neel-soft, #E7ECF5); --g-h: var(--hn-haldi, #E8A317); --g-hs: var(--hn-haldi-soft, #FDF3DC); --g-i: var(--hn-ink, #1B1B1F); --g-m: var(--hn-muted, #4F5868); --g-l: var(--hn-line, #D9DEE8); --g-w: var(--hn-wall, #F4F6FA); --g-p: var(--hn-paper, #fff); }
.hg *, .hg *::before, .hg *::after { box-sizing: border-box; }
.hg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 9px 20px; border-radius: 6px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.hg-btn--haldi { background: var(--g-h); color: var(--g-i); }
.hg-btn--neel { background: var(--g-n); color: #fff; }
.hg-btn--line { background: transparent; color: var(--g-n); border-color: var(--g-n); }
.hg-btn:disabled { opacity: .75; cursor: default; }
.hg-btn:focus-visible, .hg a:focus-visible { outline: 3px solid var(--g-h); outline-offset: 2px; }

.hg-cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: thin; }
.hg-cats a { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 999px; border: 2px solid var(--g-l); background: var(--g-p); color: var(--g-i); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hg-cats a[aria-current] { background: var(--g-n); border-color: var(--g-n); color: #fff; }

.hg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.hg-tag { display: inline-block; font-size: .85rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--g-hs); color: #7A5200; border: 1px solid #F1D58C; }
.hg-tag--n { background: var(--g-s); color: var(--g-n); border-color: #C9D4EA; }

.hg-photo { background: var(--g-s); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hg-photo img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 1 / 1; }
.hg-photo--ini span { width: 62%; aspect-ratio: 1 / 1; max-width: 170px; background: var(--g-n); color: #fff; font-family: var(--hn-display, serif); font-size: clamp(2rem, 6vw, 3.6rem); display: flex; align-items: center; justify-content: center; box-shadow: 10px 10px 0 var(--g-h); }

.hg-feature { margin: 8px 0 0; background: var(--g-p); border: 1px solid var(--g-l); border-radius: 8px; overflow: hidden; }
.hg-feature__top { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.hg-feature__top .hg-photo { min-height: 300px; }
.hg-feature__body { padding: 26px 28px; }
.hg-name { margin: 0; font-family: var(--hn-display, serif); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; }
.hg-name a { color: var(--g-d); text-decoration: none; }
.hg-tagline { margin: 6px 0 0; font-size: 1.2rem; color: var(--g-m); }
.hg-facts { margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--g-l); border-radius: 6px; overflow: hidden; }
.hg-facts div { padding: 11px 15px; border-bottom: 1px solid var(--g-l); }
.hg-facts div:nth-child(odd) { border-right: 1px solid var(--g-l); }
.hg-facts dt { font-size: .85rem; color: var(--g-m); }
.hg-facts dd { margin: 0; font-weight: 700; color: var(--g-i); }
.hg-story { padding: 4px 28px 28px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; border-top: 1px solid var(--g-l); }
.hg-story__text { max-width: 68ch; }
.hg-story__text h3, .hg-h3 { font-family: var(--hn-display, serif); font-weight: 400; font-size: 1.6rem; color: var(--g-d); margin: 22px 0 8px; line-height: 1.2; }
.hg-points { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.hg-points li { background: var(--g-w); border: 1px solid var(--g-l); border-radius: 6px; padding: 13px 15px; }
.hg-points b { display: block; color: var(--g-d); font-size: 1.05rem; }
.hg-points span { display: block; font-size: .97rem; color: var(--g-m); }
.hg-quote { margin: 18px 0 0; padding: 15px 18px; background: var(--g-hs); border: 0; border-radius: 6px; color: #5A3E00; }
.hg-quote p { margin: 0; font-size: 1.1rem; }
.hg-quote cite { display: block; margin-top: 6px; font-style: normal; font-weight: 700; font-size: .92rem; }
.hg-src { font-size: .95rem; color: var(--g-m); }
.hg-side { display: grid; gap: 14px; align-content: start; padding-top: 22px; }
.hg-box { background: var(--g-w); border: 1px solid var(--g-l); border-radius: 8px; padding: 16px; }
.hg-box h3 { margin: 0 0 6px; font-family: var(--hn-display, serif); font-weight: 400; font-size: 1.3rem; color: var(--g-d); }
.hg-box p { margin: 0 0 10px; font-size: .95rem; color: var(--g-m); }
.hg-box--cta { background: var(--g-hs); border-color: #F1D58C; }
.hg-cheer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hg-cheer output { font-weight: 800; color: var(--g-n); }

.hg-sec { margin: 40px 0 6px; font-family: var(--hn-display, serif); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--g-d); line-height: 1.2; }
.hg-intro { margin: 0; color: var(--g-m); max-width: 46em; }
.hg-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.hg-card { display: flex; flex-direction: column; background: var(--g-p); border: 1px solid var(--g-l); border-radius: 8px; overflow: hidden; color: var(--g-i); text-decoration: none; }
.hg-card .hg-photo { aspect-ratio: 1 / 1; }
.hg-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hg-card__body .hg-tag { align-self: flex-start; }
.hg-card b { font-size: 1.15rem; color: var(--g-d); }
.hg-card__line { font-size: .97rem; color: var(--g-m); }
.hg-card__more { margin-top: auto; font-weight: 700; color: var(--g-n); }
.hg-slot { background: var(--g-p); border: 2px dashed #B9C4D8; border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--g-i); }
.hg-slot b { font-size: 1.1rem; color: var(--g-d); }
.hg-slot span { font-size: .95rem; color: var(--g-m); }
.hg-slot em { font-style: normal; margin-top: auto; font-weight: 700; color: var(--g-n); }
.hg-empty { margin: 8px 0 0; padding: 22px; background: var(--g-p); border: 2px dashed #B9C4D8; border-radius: 8px; }
.hg-empty p { margin: 0 0 12px; }

.hg-single .hg-facts { margin-bottom: 18px; }
.hg-single__side { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; margin-top: 24px; }
.hg-form .hg-privacy, .hg-privacy { margin: 14px 0 0; padding: 12px 15px; background: var(--hn-neel-soft, #E7ECF5); border-radius: 6px; font-size: .95rem; }

/* थीम में पेज की चौड़ाई जितनी भी हो — डिब्बे की चौड़ाई देखकर लेआउट बदले */
.hg { container-type: inline-size; }
@container (max-width: 860px) {
  .hg-feature__top, .hg-story { grid-template-columns: 1fr; }
  .hg-feature__top .hg-photo { min-height: 230px; }
  .hg-feature__body, .hg-story { padding-left: 16px; padding-right: 16px; }
  .hg-side { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
}
@container (max-width: 520px) {
  .hg-facts { grid-template-columns: 1fr; }
  .hg-facts div:nth-child(odd) { border-right: 0; }
}

/* सोशल मीडिया व संपर्क */
.hg-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hg-soc { --c: var(--g-n); display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 6px 13px 6px 10px; border-radius: 999px; border: 1.5px solid var(--g-l); background: var(--g-p); color: var(--g-i); font-weight: 700; font-size: .92rem; text-decoration: none; }
.hg-soc svg { color: var(--c); flex: 0 0 auto; }
.hg-soc:hover { border-color: var(--c); color: var(--c); }
.hg-soc:focus-visible { outline: 3px solid var(--g-h); outline-offset: 2px; }
.hg-socin .hgp-label { display: flex; align-items: center; gap: 6px; }
.hg-socin__ic { display: inline-flex; }

/* थीम के लेख वाले शीर्षक-स्टाइल (छोटा आकार, ऊपर की सजावटी पट्टी) इस पेज के अपने शीर्षकों पर न लगें */
.hg h2::before, .hg h2::after, .hg h3::before, .hg h3::after { content: none !important; display: none !important; }
.hg .hg-name { font-size: clamp(2rem, 4vw, 2.8rem) !important; margin: 0 !important; line-height: 1.15 !important; }
.hg .hg-sec { font-size: clamp(1.7rem, 3.4vw, 2.3rem) !important; margin: 40px 0 6px !important; }
.hg .hg-h3, .hg .hg-story__text h3 { font-size: 1.6rem !important; margin: 22px 0 8px !important; }
.hg .hg-box h3 { font-size: 1.3rem !important; margin: 0 0 6px !important; }
.hg ul.hg-points { padding-left: 0 !important; }
.hg ul.hg-points li { list-style: none !important; margin: 0 !important; }
.hg ul.hg-points li::marker { content: ""; }
