/*
Theme Name: BHARSHA WB Guide
Theme URI: https://bharshawb.in
Author: BHARSHA WB Editorial
Description: Ultra-fast, accessible Orange-Saffron WordPress theme for West Bengal BHARSHA Prokolpo Information Hub.
Version: 1.0.0
Text Domain: bharsha-wb
*/

:root {
  --bg: #fffdf8;
  --surface: #ffffff;
  --warm: #fff7ed;
  --warm-2: #ffedd5;
  --orange: #d95b0d;
  --orange-deep: #b84205;
  --orange-ink: #7c2d12;
  --gold: #f59e0b;
  --gold-bright: #ffc82c;
  --text: #1e293b;
  --muted: #64748b;
  --line: #fed7aa;
  --line-soft: #f1f5f9;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(124, 45, 18, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}
a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Top Disclaimer & Trust Strip */
.bh-trust-bar {
  background: var(--orange-ink);
  color: #fff7ed;
  font-size: 12.5px;
  padding: 7px 16px;
  text-align: center;
  font-weight: 500;
}
.bh-trust-bar a { color: var(--gold-bright); font-weight: 700; text-decoration: underline; }

/* Sticky Header */
.bh-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bh-nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; flex-wrap: wrap;
}
.bh-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: var(--orange-ink); text-decoration: none !important;
}
.bh-logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px; box-shadow: 0 4px 12px rgba(217, 91, 13, 0.25);
}
.bh-menu { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bh-menu a { font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; }
.bh-menu a:hover { color: var(--orange); }
.bh-lang-btn {
  border: 1.5px solid var(--orange);
  background: var(--warm);
  color: var(--orange-ink);
  font-weight: 700; font-size: 13px;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
}
.bh-lang-btn:hover { background: var(--orange); color: #fff; }

/* Bilingual toggle visibility */
body.lang-en .bn-only { display: none !important; }
body.lang-bn .en-only { display: none !important; }

/* Next-Level Orange Hero */
.bh-hero {
  background: linear-gradient(135deg, #c2410c 0%, #d95b0d 55%, #ea580c 100%);
  color: #fff;
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}
.bh-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 44, 0.28) 0%, transparent 70%);
  pointer-events: none;
}
.bh-hero-grid {
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 32px; align-items: center; position: relative; z-index: 2;
}
@media (max-width: 920px) { .bh-hero-grid { grid-template-columns: 1fr; } }
.bh-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; margin-bottom: 14px;
}
.bh-hero h1 {
  font-size: clamp(28px, 4vw, 44px); line-height: 1.18; margin: 0 0 14px; font-weight: 800; color: #fff;
}
.bh-hero p.lead { font-size: 16.5px; color: #ffedd5; margin: 0 0 22px; max-width: 58ch; }
.bh-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
@media (max-width: 520px) { .bh-hero-stats { grid-template-columns: 1fr; } }
.bh-stat {
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px; padding: 12px 14px;
}
.bh-stat strong { display: block; font-size: 20px; color: var(--gold-bright); }
.bh-stat span { font-size: 12px; color: #fff7ed; }
.bh-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.bh-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 14.5px;
  border: none; cursor: pointer; text-decoration: none !important; transition: transform .15s;
}
.bh-btn:hover { transform: translateY(-2px); }
.bh-btn-gold { background: var(--gold-bright); color: #431407; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }
.bh-btn-white { background: #fff; color: var(--orange-deep); }
.bh-btn-orange { background: var(--orange); color: #fff; }

/* Calculator Card */
.bh-calc-card {
  background: var(--surface); color: var(--text);
  border-radius: 20px; padding: 24px;
  box-shadow: 0 20px 44px rgba(67, 20, 7, 0.24);
  border: 1px solid var(--line);
}
.bh-calc-card h2 { margin: 0 0 6px; font-size: 20px; color: var(--orange-ink); }
.bh-field { margin-bottom: 12px; }
.bh-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.bh-field input, .bh-field select {
  width: 100%; padding: 10px 12px; border: 1.5px solid #cbd5e1; border-radius: 10px;
  font-size: 14.5px; font-family: inherit; background: #fff;
}
.bh-field input:focus, .bh-field select:focus { outline: none; border-color: var(--orange); }
.bh-calc-res {
  margin-top: 14px; padding: 14px; border-radius: 12px;
  background: var(--warm); border: 1.5px solid var(--line); font-size: 14px;
}
.bh-calc-res.ok { background: #f0fdf4; border-color: #86efac; color: #14532d; }
.bh-calc-res.no { background: #fef2f2; border-color: #fca5a5; color: #7f1d1d; }

/* Sections & Cards */
.bh-sec { padding: 48px 0; }
.bh-sec-alt { background: var(--warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bh-sec-title { font-size: clamp(22px, 3vw, 30px); margin: 0 0 8px; color: var(--orange-ink); font-weight: 800; }
.bh-sec-sub { color: var(--muted); margin: 0 0 26px; font-size: 15.5px; }
.bh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bh-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .bh-grid-3, .bh-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bh-grid-3, .bh-grid-4 { grid-template-columns: 1fr; } }

.bh-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.bh-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--orange-ink); }
.bh-amt { font-size: 28px; font-weight: 800; color: var(--orange); margin: 6px 0; }
.bh-step-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 10px;
}

/* Articles & Single Post E-E-A-T */
.bh-article-wrap { max-width: 860px; margin: 32px auto 60px; padding: 0 20px; }
.bh-article-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 32px; box-shadow: var(--shadow);
}
@media (max-width: 600px) { .bh-article-card { padding: 20px; } }
.bh-meta-strip {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-size: 12.5px; color: var(--muted); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.bh-badge {
  background: var(--warm); color: var(--orange-ink); border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 12px;
}
.bh-source-box {
  margin-top: 28px; padding: 16px 20px; background: var(--warm); border-left: 4px solid var(--orange);
  border-radius: 8px; font-size: 14px;
}

/* Footer */
.bh-footer { background: #431407; color: #ffedd5; padding: 42px 0 24px; margin-top: 40px; }
.bh-footer a { color: #fed7aa; }
.bh-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 28px; }
@media (max-width: 820px) { .bh-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bh-footer-grid { grid-template-columns: 1fr; } }
.bh-footer-bottom {
  border-top: 1px solid rgba(255, 237, 213, 0.2); padding-top: 16px;
  font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
