/*
Theme Name: Balochi Hub
Theme URI: https://example.com/balochi-hub
Author: Balochi Hub
Description: Balochi language learning theme — dictionary, lessons, sentences, vocabulary, books, news and support pages. Imports the Balochi Hub dataset on activation.
Version: 1.6.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: balochi-hub
Tags: education, custom-menu, featured-images, translation-ready
*/


@font-face { font-family: "Plus Jakarta Sans"; src: url(assets/fonts/plus-jakarta-sans.woff) format("woff"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Kaushan Script"; src: url(assets/fonts/kaushan-script.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lora"; src: url(assets/fonts/lora-italic.woff) format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Noto Nastaliq Urdu"; src: url(assets/fonts/noto-nastaliq-urdu.woff) format("woff"); font-weight: 400 700; font-display: swap; }

:root {
	--bh-ink: #0f2620;
	--bh-text: #233a33;
	--bh-muted: #607570;
	--bh-g900: #0b4438;
	--bh-g800: #0e5547;
	--bh-g700: #106553;
	--bh-g600: #17806a;
	--bh-g500: #23977d;
	--bh-g200: #cfe7dc;
	--bh-g100: #e4f2eb;
	--bh-g50: #f1f8f4;
	--bh-bg: #f4f7f3;
	--bh-card: #ffffff;
	--bh-line: #e2ebe5;
	--bh-yellow: #ffd23a;
	--bh-yellow-soft: #fff6d6;
	--bh-red: #e8262f;
	--bh-teal: #16a394;
	--bh-radius: 16px;
	--bh-radius-sm: 10px;
	--bh-shadow: 0 1px 2px rgba(16, 50, 40, .05), 0 6px 18px rgba(16, 50, 40, .06);
	--bh-font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--bh-hand: "Kaushan Script", "Brush Script MT", cursive;
	--bh-serif: "Lora", Georgia, serif;
	--bh-nastaliq: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--bh-font); font-size: 15.5px; line-height: 1.55; color: var(--bh-text); background: var(--bh-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bh-g700); text-decoration: none; }
a:hover { color: var(--bh-g600); }
h1, h2, h3, h4 { color: var(--bh-ink); line-height: 1.15; margin: 0 0 .4em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 .8em; }
button { font: inherit; cursor: pointer; }
.screen-reader-text, .bh-skip { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.bh-skip:focus { clip: auto; width: auto; height: auto; padding: 10px 16px; background: #fff; z-index: 999; top: 8px; left: 8px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--bh-yellow); outline-offset: 2px; }
[hidden] { display: none !important; }
#bh-lesson, #bh-words, #bh-results { scroll-margin-top: 96px; }

.bh-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.bh-ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -.2em; }
.bh-muted { color: var(--bh-muted); }
.bh-small { font-size: .85em; }
.bh-section { margin-top: 28px; margin-bottom: 28px; }

/* ---------- scripts ---------- */
.bh-script { font-family: var(--bh-nastaliq); font-size: 1.45rem; line-height: 2; color: var(--bh-ink); display: block; }
.bh-script--sm { font-size: 1.05rem; line-height: 1.9; }
.bh-script--xl { font-size: 2.6rem; line-height: 2; }
.bh-urdu { margin-left: .4em; font-family: var(--bh-nastaliq); font-size: 1em; line-height: 2; color: var(--bh-muted); unicode-bidi: isolate; }
.bh-urdu--sm { font-size: .82rem; text-align: right; }
.bh-urdu--lg { font-size: 1.35rem; color: var(--bh-ink); text-align: left; }

/* ---------- buttons ---------- */
.bh-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: 12px; border: 2px solid var(--bh-g800); background: var(--bh-g800); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.2; transition: transform .15s, background .15s, box-shadow .15s; box-shadow: 0 3px 0 rgba(0, 0, 0, .08); }
.bh-btn:hover { background: var(--bh-g700); border-color: var(--bh-g700); color: #fff; transform: translateY(-1px); }
.bh-btn--sm { padding: .55em 1em; font-size: .88rem; border-radius: 10px; }
.bh-btn--lg { padding: .95em 1.6em; font-size: 1.08rem; border-radius: 14px; }
.bh-btn--block { width: 100%; }
.bh-btn--ghost { background: rgba(255, 255, 255, .85); color: var(--bh-g800); border-color: var(--bh-g600); }
.bh-btn--ghost:hover { background: var(--bh-g50); color: var(--bh-g800); }
.bh-btn--soft { background: var(--bh-g100); border-color: var(--bh-g100); color: var(--bh-g800); box-shadow: none; }
.bh-btn--soft:hover { background: var(--bh-g200); border-color: var(--bh-g200); color: var(--bh-g900); }
.bh-btn--red { background: var(--bh-red); border-color: var(--bh-red); }
.bh-btn--red:hover { background: #c81d25; border-color: #c81d25; }
.bh-btn--teal { background: var(--bh-teal); border-color: var(--bh-teal); }
.bh-play { display: inline-flex; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--bh-g800); color: #fff; align-items: center; justify-content: center; }
.bh-play .bh-ico { width: 1.5em; height: 1.5em; }
.bh-roundbtn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bh-g100); color: var(--bh-g800); display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
.bh-roundbtn:hover { background: var(--bh-g200); color: var(--bh-g900); }
.bh-roundbtn--sm { width: 32px; height: 32px; }
.bh-roundbtn.is-disabled { opacity: .4; }
.bh-roundbtn.is-playing { background: var(--bh-g800); color: #fff; box-shadow: 0 0 0 4px var(--bh-g200); }
.bh-fav { border: 0; background: transparent; color: var(--bh-g700); padding: 6px; border-radius: 50%; display: inline-flex; align-items: center; gap: .4em; }
.bh-fav .bh-ico { width: 1.35em; height: 1.35em; }
.bh-fav.is-on { color: var(--bh-red); }
.bh-fav.is-on svg { fill: currentColor; }
.bh-fav--label { border: 2px solid var(--bh-line); border-radius: 12px; padding: .5em 1em; font-weight: 700; }
.bh-iconbtns { display: flex; gap: 10px; align-items: center; }
.bh-pill { display: inline-flex; align-items: center; padding: .35em .9em; border-radius: 999px; background: var(--bh-g100); color: var(--bh-g800); font-weight: 600; font-size: .85rem; white-space: nowrap; }
.bh-chip { display: inline-flex; align-items: center; gap: .3em; padding: .2em .7em; border-radius: 999px; background: var(--bh-g100); color: var(--bh-g800); font-size: .78rem; font-weight: 600; }
.bh-tag { position: absolute; top: 18px; left: 18px; padding: .35em .9em; border-radius: 8px; font-weight: 700; font-size: .85rem; color: #fff; z-index: 2; }
.bh-tag--red { background: var(--bh-red); }

/* ---------- header ---------- */
.bh-header { background: rgba(250, 251, 249, .96); border-bottom: 1px solid var(--bh-line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); }
.admin-bar .bh-header { top: 32px; }
.bh-header__inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.bh-brand { display: flex; align-items: center; gap: 12px; color: var(--bh-ink); flex: 0 0 auto; }
.bh-logo-mark { width: 74px; height: 50px; }
.bh-logo-img { max-height: 56px; width: auto; }
.bh-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.bh-brand__name { font-size: 1.85rem; font-weight: 800; color: var(--bh-g900); letter-spacing: -.02em; }
.bh-brand__name em { font-style: normal; color: var(--bh-g600); }
.bh-brand__tag { font-size: .98rem; color: var(--bh-text); margin-top: 4px; }
.bh-nav { flex: 1 1 auto; }
.bh-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; justify-content: center; flex-wrap: wrap; }
.bh-nav a { display: block; padding: .62em .95em; border-radius: 12px; color: var(--bh-ink); font-weight: 600; font-size: .95rem; }
.bh-nav a:hover { background: var(--bh-g50); color: var(--bh-g800); }
.bh-nav a.is-active { background: var(--bh-g800); color: #fff; }
.bh-header__tools { display: flex; align-items: center; gap: 18px; }
.bh-header__search { color: var(--bh-ink); display: inline-flex; padding: 8px; border-left: 1px solid var(--bh-line); padding-left: 18px; }
.bh-header__search .bh-ico { width: 24px; height: 24px; }
.bh-support-btn { position: relative; display: inline-flex; align-items: center; gap: .45em; background: var(--bh-yellow); color: #3a2a00; font-weight: 800; padding: .65em 1.25em; border-radius: 12px; box-shadow: 0 4px 14px rgba(255, 196, 0, .35); }
.bh-support-btn:hover { color: #3a2a00; background: #ffc81a; }
.bh-support-btn .bh-ico { color: var(--bh-red); width: 1.35em; height: 1.35em; }
.bh-support-btn::before, .bh-support-btn::after { content: ""; position: absolute; top: 50%; width: 12px; height: 3px; border-radius: 3px; background: var(--bh-yellow); transform: translateY(-50%); }
.bh-support-btn::before { left: -18px; }
.bh-support-btn::after { right: -18px; }
.bh-menu-toggle { display: none; margin-left: auto; border: 0; background: var(--bh-g100); color: var(--bh-g800); border-radius: 10px; padding: 9px; }
.bh-menu-toggle .bh-ico { width: 24px; height: 24px; }

/* ---------- heroes ---------- */
.bh-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f3f8f4 0%, #eef5f0 100%); }
.bh-hero__art { position: absolute; inset: 0 0 0 auto; width: 58%; pointer-events: none; }
.bh-hero__art .bh-landscape, .bh-hero__art .bh-landscape-img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.bh-hero__art--right { width: 34%; }
.bh-hero__art--full { width: 100%; }
.bh-hero__art--full .bh-landscape, .bh-hero__art--full .bh-landscape-img { -webkit-mask-image: none; mask-image: none; }
.bh-hero__content { position: relative; z-index: 2; padding-top: 52px; padding-bottom: 40px; }
.bh-hero--home .bh-hero__content { min-height: 380px; }
.bh-eyebrow { text-transform: uppercase; letter-spacing: .28em; color: var(--bh-g600); font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; }
.bh-eyebrow--light { color: #fff; letter-spacing: .12em; font-weight: 700; margin-bottom: 4px; }
.bh-hero__title { font-size: clamp(2.2rem, 4.3vw, 3.65rem); line-height: 1.08; margin-bottom: 18px; }
.bh-hero__title span { color: var(--bh-g700); }
.bh-hero__lead { font-size: 1.2rem; max-width: 620px; color: var(--bh-text); }
.bh-hero__ctas { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.bh-hand { font-family: var(--bh-hand); color: var(--bh-g900); margin: 0; line-height: 1.15; }
.bh-hand--hero { position: absolute; left: 40%; top: 14%; font-size: clamp(2rem, 3.4vw, 3.3rem); transform: rotate(-12deg); z-index: 2; text-shadow: 0 2px 10px rgba(255, 255, 255, .65); }
.bh-hand--hero::after, .bh-hand--left::after { content: ""; display: block; height: 4px; width: 70%; margin: 6px 0 0 18%; background: var(--bh-g700); border-radius: 4px; transform: rotate(-4deg); }
.bh-quote-corner { text-shadow: 0 0 8px rgba(255,255,255,.95), 0 0 2px #fff; position: absolute; right: 26px; top: 20px; font-family: var(--bh-serif); font-style: italic; font-size: clamp(1rem, 1.5vw, 1.4rem); line-height: 1.25; text-align: right; color: var(--bh-ink); z-index: 2; margin: 0; }
.bh-brush { position: absolute; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 40% 50%, rgba(35, 151, 125, .38), rgba(35, 151, 125, .12) 55%, transparent 72%); filter: blur(2px); }
.bh-brush--hero { left: -2%; bottom: -10%; width: 38%; height: 80%; transform: rotate(-24deg); }
.bh-brush--left { left: -6%; top: -20%; width: 34%; height: 150%; transform: rotate(-20deg); }
.bh-hand--left { position: absolute; left: 4%; top: 26%; font-size: clamp(1.6rem, 2.4vw, 2.5rem); transform: rotate(-14deg); z-index: 2; }
.bh-hero--page { min-height: 260px; }
.bh-hero__center { position: relative; z-index: 3; text-align: center; padding-top: 34px; padding-bottom: 40px; max-width: 860px; }
.bh-page-title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.02em; margin-bottom: 6px; }
.bh-page-title span { color: var(--bh-g700); }
.bh-page-title--left { text-align: left; }
.bh-page-title--post { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.bh-page-sub { font-size: 1.2rem; color: var(--bh-ink); margin-bottom: 22px; }
.bh-page-sub--strong { font-size: 1.55rem; margin: 0 0 10px; }
.bh-hero--learn .bh-hero__content { padding-top: 26px; padding-bottom: 28px; }
.bh-hero--learn .bh-hero__art { width: 60%; }
.bh-hand--steps { position: absolute; left: 22%; top: 8%; font-size: clamp(1.4rem, 2.4vw, 2.2rem); transform: rotate(-12deg); z-index: 2; }
.bh-hand--inline { font-size: 1.6rem; margin-top: 8px; }
.bh-badge-float { position: absolute; right: 18px; bottom: 22px; z-index: 2; display: flex; align-items: center; gap: 10px; background: rgba(228, 242, 235, .95); border-radius: 16px; padding: 12px 18px; color: var(--bh-g900); font-weight: 500; line-height: 1.3; }
.bh-badge-float .bh-ico { width: 30px; height: 30px; color: var(--bh-g700); }
.bh-hero--dark { background: #12343a; color: #fff; min-height: 220px; }
.bh-hero--dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 25, 28, .82) 0%, rgba(5, 25, 28, .55) 45%, rgba(5, 25, 28, .15) 100%); z-index: 1; }
.bh-dark-title { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.02; margin-bottom: 14px; }
.bh-dark-title > .bh-ico { width: .9em; height: .9em; color: var(--bh-g200); }
.bh-dark-title span { color: #2ee0a8; }
.bh-dark-title .bh-yellow { color: var(--bh-yellow); }
.bh-dark-lead { color: #eef6f3; font-size: 1.05rem; max-width: 640px; margin: 0; }
.bh-hand--dark { position: absolute; right: 4%; top: 18%; z-index: 2; color: #fff; font-size: clamp(1.3rem, 2vw, 1.9rem); transform: rotate(-10deg); text-align: center; }
.bh-hand--dark::after { content: ""; display: block; height: 4px; width: 80%; margin: 8px auto 0; background: #2ee0a8; border-radius: 4px; }

/* search bar */
.bh-searchbar { display: flex; gap: 14px; align-items: stretch; background: rgba(255, 255, 255, .7); padding: 10px; border-radius: 18px; box-shadow: var(--bh-shadow); max-width: 760px; margin: 0 auto; }
.bh-searchbar--single { max-width: 640px; }
.bh-searchbar__field { flex: 1; display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--bh-g200); border-radius: 12px; padding: 0 16px; }
.bh-searchbar__field > .bh-ico { width: 24px; height: 24px; color: var(--bh-ink); }
.bh-searchbar input { border: 0; outline: 0; flex: 1; font: inherit; font-size: 1.02rem; padding: 14px 0; min-width: 0; background: transparent; color: var(--bh-ink); }
.bh-searchbar__clear { color: var(--bh-muted); display: inline-flex; }
.bh-select { position: relative; display: inline-flex; align-items: center; background: #fff; border: 1.5px solid var(--bh-line); border-radius: 12px; }
.bh-select select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; font-weight: 600; padding: 0 40px 0 16px; height: 100%; min-height: 46px; color: var(--bh-ink); cursor: pointer; }
.bh-select .bh-ico { position: absolute; right: 12px; pointer-events: none; }
.bh-select--sm select { min-height: 38px; font-size: .92rem; }

/* letters */
.bh-az { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: -18px; position: relative; z-index: 4; }
.bh-az a, .bh-az span { min-width: 34px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 8px; color: var(--bh-ink); font-weight: 600; box-shadow: var(--bh-shadow); }
.bh-az a:hover { background: var(--bh-g100); }
.bh-az a.is-active { background: var(--bh-g800); color: #fff; }
.bh-az span.is-empty { color: #b9c6c0; box-shadow: none; background: rgba(255, 255, 255, .6); }

/* ---------- layout ---------- */
.bh-3col { display: grid; grid-template-columns: 240px minmax(0, 1fr) 280px; gap: 22px; margin-top: 26px; margin-bottom: 36px; align-items: start; }
.bh-3col--learn { grid-template-columns: 270px minmax(0, 1fr) 250px; }
.bh-2col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; margin-top: 26px; margin-bottom: 36px; align-items: start; }
.bh-rail { display: grid; gap: 18px; }
.bh-card { background: var(--bh-card); border-radius: var(--bh-radius); box-shadow: var(--bh-shadow); padding: 18px; border: 1px solid rgba(226, 235, 229, .7); }
.bh-card + .bh-card { margin-top: 0; }
.bh-2col > div > .bh-card + .bh-card, .bh-2col > div > section + section, .bh-2col > div > .bh-card + section { margin-top: 18px; }
.bh-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.bh-card__head h3 { margin: 0; font-size: 1.12rem; }
.bh-card__head > .bh-ico { width: 24px; height: 24px; color: var(--bh-g700); }
.bh-card__head--tint { background: var(--bh-g100); margin: -18px -18px 0; padding: 16px 18px; border-radius: var(--bh-radius) var(--bh-radius) 0 0; }
.bh-card__head--split { justify-content: space-between; }
.bh-card__head--split > span { display: flex; align-items: center; gap: 10px; }
.bh-card__head--split a { font-weight: 700; font-size: .88rem; display: inline-flex; gap: .3em; align-items: center; }
.bh-sun, .bh-bulb, .bh-star, .bh-leaf { display: inline-flex; color: #f4b400; }
.bh-sun .bh-ico, .bh-bulb .bh-ico, .bh-star .bh-ico { width: 26px; height: 26px; }
.bh-star .bh-ico { fill: #f4b400; }
.bh-leaf { color: var(--bh-g600); }

/* sidebar lists */
.bh-side__list { list-style: none; margin: 0; padding: 0; }
.bh-side__list a { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 10px; color: var(--bh-ink); font-size: .98rem; }
.bh-side__list a b { width: 22px; font-weight: 600; }
.bh-side__list a span { color: var(--bh-muted); margin-left: 4px; }
.bh-side__list--cats a span { margin-left: auto; }
.bh-side__list a i { font-style: normal; width: 22px; text-align: center; }
.bh-side__list a:hover { background: var(--bh-g50); }
.bh-side__list a.is-active { background: var(--bh-g100); font-weight: 700; }
.bh-side-quote { margin: 18px -18px -18px; padding: 22px 18px 70px; position: relative; text-align: center; font-family: var(--bh-serif); font-style: italic; font-size: 1.15rem; color: var(--bh-ink); overflow: hidden; border-radius: 0 0 var(--bh-radius) var(--bh-radius); }
.bh-side-quote p { margin: 0; }
.bh-quote__hills { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: radial-gradient(60% 90% at 30% 100%, rgba(35, 151, 125, .35), transparent 70%), radial-gradient(55% 100% at 75% 100%, rgba(35, 151, 125, .25), transparent 70%); }

/* dictionary rows */
.bh-results__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff; border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; box-shadow: var(--bh-shadow); }
.bh-results__bar p { margin: 0; color: var(--bh-ink); }
.bh-sort label { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.bh-wordrow { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 20px; align-items: center; background: #fff; border-radius: 14px; padding: 10px 14px 10px 10px; margin-bottom: 12px; box-shadow: var(--bh-shadow); }
.bh-wordrow__tile { background: var(--bh-g100); border-radius: 12px; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; }
.bh-wordrow__roman { font-size: 1.45rem; font-weight: 800; color: var(--bh-g900); line-height: 1.15; }
.bh-wordrow__tile .bh-script { font-size: 1.3rem; line-height: 1.8; }
.bh-wordrow__cat { font-size: 1.4rem; margin-top: 4px; }
.bh-wordrow__body p { margin: 0 0 3px; font-size: .95rem; }
.bh-label { color: var(--bh-muted); display: inline-block; min-width: 76px; }
.bh-wordrow__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.bh-pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.bh-pager a, .bh-pager span, .bh-pager .page-numbers { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; color: var(--bh-ink); font-weight: 600; box-shadow: var(--bh-shadow); }
.bh-pager .is-current, .bh-pager .current { background: var(--bh-g800); color: #fff; }
.bh-pager__dots { box-shadow: none !important; background: transparent !important; }

/* word of the day */
.bh-wotd__pic { height: 120px; border-radius: 12px; background: linear-gradient(135deg, #f1e3c8, #e3cfa8); display: flex; align-items: center; justify-content: center; font-size: 3.4rem; margin-bottom: 12px; }
.bh-wotd__word { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.bh-wotd__roman { font-size: 1.9rem; font-weight: 800; color: var(--bh-ink); }
.bh-wotd__meaning { margin: 4px 0 14px; }
.bh-recent__list { list-style: none; margin: 0; padding: 0; }
.bh-recent__list a { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--bh-line); color: var(--bh-text); font-size: .95rem; }
.bh-recent__list li:last-child a { border-bottom: 0; }
.bh-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bh-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.bh-checks .bh-ico { background: var(--bh-g700); color: #fff; border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 2px; }
.bh-checks--big li { font-size: 1rem; }

/* home */
.bh-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 18px; position: relative; z-index: 3; }
.bh-feature { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: var(--bh-shadow); color: var(--bh-ink); transition: transform .15s, box-shadow .15s; }
.bh-feature:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(16, 50, 40, .1); color: var(--bh-ink); }
.bh-feature__icon { width: 68px; height: 68px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.bh-feature__icon .bh-ico { width: 36px; height: 36px; }
.bh-feature__text { flex: 1; display: flex; flex-direction: column; }
.bh-feature__text strong { font-size: 1.12rem; }
.bh-feature__text span { color: var(--bh-muted); font-size: .9rem; line-height: 1.35; }
.bh-feature__go { width: 36px; height: 36px; border-radius: 50%; background: var(--bh-g100); color: var(--bh-g800); display: inline-flex; align-items: center; justify-content: center; }
.bh-tone-green { background: var(--bh-g100); color: var(--bh-g800); }
.bh-tone-teal { background: #dcf2f2; color: #0f6b6b; }
.bh-tone-red { background: #fde4e4; color: #d92b2b; }
.bh-tone-violet { background: #e8e6fb; color: #4f46b8; }
.bh-tone-yellow { background: var(--bh-yellow-soft); color: var(--bh-red); }
.bh-tone-blue { background: #e1effd; color: #1f6fd1; }
.bh-home-row { display: grid; grid-template-columns: 330px minmax(0, 1fr) 240px; gap: 18px; margin-top: 18px; margin-bottom: 36px; }
.bh-wotd-home { padding: 18px; }
.bh-wotd-home__body { padding-top: 16px; }
.bh-wotd-home__word { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bh-wotd-home__word > span:first-child { font-size: 2.6rem; font-weight: 800; color: var(--bh-ink); line-height: 1.1; }
.bh-popcats__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.bh-cattile { display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: 14px; background: #fff; border: 1px solid var(--bh-line); padding-bottom: 12px; overflow: hidden; color: var(--bh-ink); transition: transform .15s; }
.bh-cattile:hover { transform: translateY(-2px); color: var(--bh-ink); }
.bh-cattile__pic { width: 100%; height: 86px; display: flex; align-items: center; justify-content: center; font-size: 2.8rem; background: var(--bh-g50); margin-bottom: 10px; }
.bh-cattile strong { font-size: .95rem; line-height: 1.2; padding: 0 6px; }
.bh-cattile > span:last-child { font-size: .8rem; color: var(--bh-muted); }
.bh-quote { position: relative; overflow: hidden; font-family: var(--bh-serif); font-style: italic; font-size: 1.22rem; color: var(--bh-ink); padding-bottom: 76px; }
.bh-quote p { margin: 6px 0 0; line-height: 1.35; }
.bh-quote__mark { width: 30px; height: 30px; color: var(--bh-g700); }
.bh-quote__by { display: block; font-size: .95rem; margin-top: 8px; font-style: normal; font-family: var(--bh-font); color: var(--bh-muted); }
.bh-quote--mini { padding: 14px 18px 46px; font-size: 1.05rem; background: var(--bh-g50); }
.bh-quote--mini .bh-quote__hills { height: 40px; }

/* learn */
.bh-lessons__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bh-lessons__list a { display: grid; grid-template-columns: 30px 22px 1fr 18px; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px; color: var(--bh-ink); }
.bh-lessons__list a:hover { background: var(--bh-g50); }
.bh-lessons__list a.is-active { background: var(--bh-g100); }
.bh-lessons__ico { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bh-g100); font-size: 1rem; }
.bh-lessons__list a.is-active .bh-lessons__ico { background: var(--bh-g800); color: #fff; }
.bh-lessons__ico .bh-ico { width: 30px; height: 30px; }
.bh-lessons__num { font-weight: 600; color: var(--bh-muted); text-align: center; }
.bh-lessons__txt strong { display: block; font-size: .95rem; }
.bh-lessons__txt small { color: var(--bh-muted); font-size: .78rem; }
.bh-lessons__done { opacity: 0; color: var(--bh-g600); }
.bh-lessons__list a.is-done .bh-lessons__done { opacity: 1; }
.bh-lesson { padding: 22px; }
.bh-lesson__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.bh-lesson__head h2 { font-size: 1.8rem; margin: 0; }
.bh-lesson__head p { margin: 0; font-size: 1.05rem; }
.bh-lesson__play .bh-ico { width: 44px; height: 44px; color: var(--bh-g800); }
.bh-lesson__nav { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.bh-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: var(--bh-g50); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.bh-tabs button { border: 0; background: transparent; padding: 10px; border-radius: 10px; font-weight: 600; color: var(--bh-ink); }
.bh-tabs button.is-active { background: var(--bh-g800); color: #fff; }
.bh-tabpanel { display: none; }
.bh-tabpanel.is-active { display: block; }
.bh-welcome { background: var(--bh-g50); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.bh-welcome h3 { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; }
.bh-welcome h3 .bh-ico { color: var(--bh-g600); width: 30px; height: 30px; }
.bh-welcome p { margin: 0; }
.bh-learnlist { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: center; margin-bottom: 20px; }
.bh-learnlist h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.bh-learnlist h3 .bh-ico { color: #e8930c; width: 28px; height: 28px; }
.bh-learnlist__pic { position: relative; border-radius: 14px; overflow: hidden; height: 200px; }
.bh-learnlist__pic .bh-landscape { width: 100%; height: 100%; }
.bh-hand--pic { position: absolute; right: 12px; bottom: 12px; color: #fff; font-size: 1.3rem; transform: rotate(-12deg); text-align: right; background: rgba(23, 128, 106, .85); padding: 8px 14px; border-radius: 10px; }
.bh-keyhead { display: flex; gap: 12px; align-items: center; margin: 10px 0 14px; border-top: 1px solid var(--bh-line); padding-top: 18px; }
.bh-keyhead .bh-ico { width: 38px; height: 38px; color: var(--bh-g800); }
.bh-keyhead h3 { margin: 0; font-size: 1.35rem; }
.bh-keyhead p { margin: 0; }
.bh-keywords { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bh-keyword { display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid var(--bh-line); border-radius: 14px; padding: 14px 8px; color: var(--bh-ink); }
.bh-keyword:hover { border-color: var(--bh-g500); color: var(--bh-ink); }
.bh-keyword strong { font-size: 1.4rem; }
.bh-keyword .bh-script { font-size: 1.3rem; }
.bh-keyword__emoji { font-size: 1.8rem; margin: 6px 0; }
.bh-keyword__m { color: var(--bh-text); font-size: .9rem; margin-top: 6px; }
.bh-tip { display: flex; gap: 12px; background: var(--bh-g50); border-radius: 14px; padding: 16px 18px; margin-top: 20px; }
.bh-tip .bh-bulb .bh-ico { width: 30px; height: 30px; }
.bh-tip p { margin: 4px 0 0; }
.bh-tip strong { font-size: 1.1rem; color: var(--bh-ink); }
.bh-lesson__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.bh-check-circle { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--bh-g800); color: #fff; align-items: center; justify-content: center; }
.bh-check-circle .bh-ico { width: 16px; height: 16px; }
[data-complete].is-done { background: var(--bh-g100); }
.bh-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bh-why li { display: flex; align-items: center; gap: 12px; }
.bh-why span { width: 34px; height: 34px; border-radius: 50%; background: var(--bh-g100); color: var(--bh-g800); display: inline-flex; align-items: center; justify-content: center; }
.bh-keepgoing p { margin-bottom: 8px; }
.bh-progress-text { font-weight: 700; color: var(--bh-g800); }
.bh-bar { height: 10px; border-radius: 10px; background: var(--bh-g100); overflow: hidden; }
.bh-bar span { display: block; height: 100%; background: var(--bh-g600); border-radius: 10px; transition: width .3s; }
.bh-motto { background: var(--bh-yellow-soft); text-align: center; font-family: var(--bh-hand); font-size: 1.7rem; color: var(--bh-g900); line-height: 1.2; transform: none; }
.bh-motto p { margin: 0; transform: rotate(-6deg); }

/* grids & cards */
.bh-grid { display: grid; gap: 14px; }
.bh-grid--cards { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.bh-grid--vocab { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.bh-grid--sentences { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.bh-grid--news { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bh-grid--books { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.bh-wcard { background: #fff; border: 1px solid var(--bh-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.bh-wcard__pic { height: 104px; background: linear-gradient(145deg, var(--bh-g50), var(--bh-g100)); display: flex; align-items: center; justify-content: center; font-size: 2.8rem; }
.bh-wcard__pic img { width: 100%; height: 100%; object-fit: cover; }
.bh-wcard__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.bh-wcard__top, .bh-wcard__mean { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.bh-wcard__roman { font-weight: 800; color: var(--bh-ink); font-size: 1.05rem; line-height: 1.2; }
.bh-wcard__mean { align-items: baseline; border-top: 1px dashed var(--bh-line); padding-top: 6px; margin-top: 4px; }
.bh-wcard__en { color: var(--bh-text); font-size: .9rem; font-weight: 600; line-height: 1.3; }
.bh-wcard .bh-wcard__ur { margin: 0; font-size: 1.1rem; line-height: 1.9; color: var(--bh-g800); white-space: nowrap; }
.bh-wcard__acts { justify-content: flex-end; margin-top: auto; padding-top: 2px; }
.bh-wcard__top { align-items: flex-start; }
.bh-wcard__top .bh-script--sm { line-height: 1.6; }
.bh-wcard .bh-fav { padding: 2px; }
.bh-wcard .bh-chip { align-self: flex-start; margin-top: 4px; }
.bh-grid--vocab.is-list { grid-template-columns: 1fr; gap: 8px; }
.bh-grid--vocab.is-list .bh-wcard { flex-direction: row; align-items: center; }
.bh-grid--vocab.is-list .bh-wcard__pic { width: 64px; height: 64px; flex: 0 0 64px; font-size: 1.8rem; border-radius: 10px; margin: 8px; }
.bh-grid--vocab.is-list .bh-wcard__body { flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
.bh-grid--vocab.is-list .bh-wcard__top { min-width: 140px; }
.bh-grid--vocab.is-list .bh-urdu--sm { margin-left: auto; }
.bh-scard { background: #fff; border: 1px solid var(--bh-line); border-left: 4px solid var(--bh-g600); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.bh-scard__bal { font-size: 1.12rem; font-weight: 700; color: var(--bh-ink); }
.bh-scard__ur { font-family: var(--bh-nastaliq); text-align: right; line-height: 2; color: var(--bh-text); }
.bh-scard__en { color: var(--bh-muted); font-size: .92rem; font-style: italic; }
.bh-scard .bh-chip { align-self: flex-start; margin-top: 6px; }

/* vocabulary */
.bh-cattabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 4px 20px 10px; margin-top: -22px; position: relative; z-index: 4; scrollbar-width: thin; }
.bh-cattab { flex: 0 0 auto; min-width: 96px; max-width: 150px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border: 0; border-radius: 14px; padding: 12px 14px; box-shadow: var(--bh-shadow); color: var(--bh-ink); font-weight: 600; font-size: .86rem; text-align: center; line-height: 1.2; }
.bh-cattab span { font-size: 1.7rem; }
.bh-cattab:hover { background: var(--bh-g50); color: var(--bh-ink); }
.bh-cattab.is-active { background: var(--bh-g800); color: #fff; }
.bh-cattab--more span { letter-spacing: 2px; color: var(--bh-g800); }
.bh-crumbs { display: flex; align-items: center; gap: 8px; color: var(--bh-muted); margin: 0 0 8px; flex-wrap: wrap; }
.bh-crumbs a { color: var(--bh-ink); }
.bh-crumbs span { color: var(--bh-ink); font-weight: 600; }
.bh-vocab__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.bh-vocab__title { display: flex; gap: 12px; align-items: center; }
.bh-vocab__emoji { font-size: 2.2rem; line-height: 1; }
.bh-vocab__emoji .bh-ico { width: 34px; height: 34px; color: var(--bh-g800); }
.bh-vocab__title h2 { margin: 0; font-size: 1.8rem; }
.bh-vocab__title p { margin: 0; }
.bh-vocab__tools { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.bh-toggle { display: inline-flex; border: 1px solid var(--bh-line); border-radius: 10px; overflow: hidden; }
.bh-toggle button { border: 0; background: #fff; padding: 8px 12px; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: .86rem; color: var(--bh-ink); }
.bh-toggle button.is-active { background: var(--bh-g800); color: #fff; }
.bh-ring { --p: 0; width: 120px; height: 120px; margin: 4px auto 10px; border-radius: 50%; background: conic-gradient(var(--bh-g700) calc(var(--p) * 1%), var(--bh-g100) 0); display: flex; align-items: center; justify-content: center; position: relative; }
.bh-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.bh-ring span { position: relative; font-size: 1.6rem; font-weight: 800; color: var(--bh-ink); }
.bh-progress__txt { text-align: center; margin-bottom: 4px; }
.bh-progress .bh-small { text-align: center; }
.bh-rank { list-style: none; margin: 0; padding: 0; }
.bh-rank a, .bh-rank button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 4px; border: 0; background: transparent; color: var(--bh-ink); text-align: left; border-bottom: 1px solid var(--bh-line); }
.bh-rank li:last-child a, .bh-rank li:last-child button { border-bottom: 0; }
.bh-rank a > span, .bh-rank button > span { width: 26px; height: 26px; border-radius: 50%; background: var(--bh-g100); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.bh-rank a .bh-ico { margin-left: auto; }
.bh-rank button em { margin-left: auto; font-style: normal; color: var(--bh-muted); }
.bh-rank button.is-active { color: var(--bh-g700); font-weight: 700; }

/* news */
.bh-newscats { display: flex; gap: 10px; overflow-x: auto; padding: 14px 20px 6px; }
.bh-newscats a { flex: 1 0 104px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--bh-line); border-radius: 12px; padding: 10px 8px; color: var(--bh-ink); font-weight: 600; font-size: .82rem; text-align: center; }
.bh-newscats a span { font-size: 1.6rem; }
.bh-newscats a.is-active { background: var(--bh-g100); border-color: var(--bh-g500); }
.bh-news-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; margin-top: 18px; align-items: start; }
.bh-featured { position: relative; min-height: 290px; height: 380px; border-radius: 16px; overflow: hidden; background: #0d2a33; }
.bh-featured__slide { position: absolute; inset: 0; display: none; }
.bh-featured__slide.is-active { display: block; }
.bh-featured__bg, .bh-featured__bg img, .bh-featured__bg svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bh-featured__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 20, 26, .1) 0%, rgba(4, 20, 26, .85) 55%); }
.bh-featured__text { position: absolute; z-index: 2; right: 0; top: 0; bottom: 0; width: 52%; padding: 60px 30px 30px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.bh-featured__text h2 { color: #fff; font-size: 1.7rem; }
.bh-featured__text p { color: #e5f1ee; }
.bh-featured__text .bh-btn { align-self: flex-start; }
.bh-featured__meta { font-weight: 600; }
.bh-featured__ctrl { position: absolute; right: 22px; bottom: 18px; z-index: 3; display: flex; gap: 10px; align-items: center; color: #fff; }
.bh-featured__ctrl button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .2); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.bh-news-side { display: grid; gap: 18px; align-content: start; }
.bh-trending ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bh-trending li { display: grid; grid-template-columns: 34px 70px 1fr; gap: 10px; align-items: center; }
.bh-trending__n { width: 34px; height: 34px; border-radius: 50%; background: var(--bh-g100); color: var(--bh-g800); font-weight: 800; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; }
.bh-trending__pic { width: 70px; height: 52px; border-radius: 8px; overflow: hidden; background: var(--bh-g50); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.bh-trending__pic img { width: 100%; height: 100%; object-fit: cover; }
.bh-trending li .bh-trending__pic { font-size: 1.6rem; }
.bh-trending li a { color: var(--bh-ink); font-weight: 700; font-size: .92rem; line-height: 1.3; }
.bh-trending small { display: block; color: var(--bh-muted); }
.bh-sechead h2 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; }
.bh-sechead .bh-ico { color: var(--bh-g700); }
.bh-newscard { padding: 12px; display: flex; flex-direction: column; }
.bh-newscard__meta { display: flex; justify-content: space-between; align-items: center; color: var(--bh-muted); font-size: .82rem; margin-bottom: 8px; }
.bh-newscard__pic { display: flex; align-items: center; justify-content: center; height: 140px; border-radius: 10px; overflow: hidden; background: var(--bh-g50); font-size: 2.6rem; margin-bottom: 10px; }
.bh-newscard__pic img { width: 100%; height: 100%; object-fit: cover; }
.bh-newscard h3 { font-size: 1.08rem; }
.bh-newscard h3 a { color: var(--bh-ink); }
.bh-newscard p { color: var(--bh-muted); font-size: .9rem; }
.bh-more { font-weight: 700; display: inline-flex; gap: .3em; align-items: center; margin-top: auto; color: var(--bh-ink); }
.bh-supportband { position: relative; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; background: var(--bh-yellow-soft); border: 1px solid #f5e3a3; border-radius: 18px; padding: 22px 28px; }
.bh-supportband__icon { width: 74px; height: 74px; border-radius: 50%; background: #ffe7a6; display: inline-flex; align-items: center; justify-content: center; color: var(--bh-red); }
.bh-supportband__icon .bh-ico { width: 38px; height: 38px; }
.bh-supportband > div { flex: 1 1 320px; }
.bh-supportband h2 { font-size: 1.6rem; margin-bottom: 4px; }
.bh-supportband p { margin: 0; }
.bh-hand--band { font-size: 1.3rem; transform: rotate(-8deg); }

/* support */
.bh-hero--support { min-height: 270px; }
.bh-support-hero { position: relative; z-index: 2; display: flex; gap: 30px; align-items: center; padding-top: 28px; padding-bottom: 30px; }
.bh-support-hero__hands { text-align: center; color: #fff; flex: 0 0 auto; }
.bh-support-hero__hands > .bh-ico { width: 90px; height: 90px; color: var(--bh-red); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .3)); }
.bh-support-hero__hands .bh-hand { color: #fff; font-size: 1.4rem; transform: rotate(-8deg); }
.bh-stats-row { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; margin-top: 18px; }
.bh-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff; border-radius: 14px; box-shadow: var(--bh-shadow); padding: 14px; gap: 8px; }
.bh-stats > div { display: flex; align-items: center; gap: 10px; padding: 0 8px; border-right: 1px solid var(--bh-line); }
.bh-stats > div:last-child { border-right: 0; }
.bh-stats .bh-ico { width: 36px; height: 36px; color: var(--bh-g800); }
.bh-stats__heart .bh-ico { color: var(--bh-red); }
.bh-stats span { display: flex; flex-direction: column; font-size: .82rem; color: var(--bh-muted); line-height: 1.25; }
.bh-stats strong { font-size: 1.05rem; color: var(--bh-ink); }
.bh-center-head { text-align: center; margin-bottom: 20px; }
.bh-center-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.bh-center-head h2 span { color: var(--bh-g700); }
.bh-center-head h2 u { text-decoration-color: var(--bh-g500); text-underline-offset: 8px; text-decoration-thickness: 3px; }
.bh-ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bh-way { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--bh-line); border-radius: 16px; padding: 22px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; box-shadow: var(--bh-shadow); }
.bh-way--hot { background: var(--bh-yellow-soft); border: 2px solid #f6cf55; }
.bh-way h3 { font-size: 1.3rem; margin: 4px 0 0; }
.bh-way p { color: var(--bh-text); margin: 0; }
.bh-way__icon { width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.bh-way__icon .bh-ico { width: 36px; height: 36px; }
.bh-way .bh-btn { width: 100%; margin-top: 6px; }
.bh-way__list { display: flex; gap: 14px; align-items: center; text-align: left; margin-top: 6px; }
.bh-way__list > .bh-ico { width: 40px; height: 40px; color: var(--bh-g800); }
.bh-way__list ul { margin: 0; padding-left: 16px; font-size: .9rem; color: var(--bh-text); }
.bh-ribbon { position: absolute; top: 16px; right: -34px; background: var(--bh-red); color: #fff; font-weight: 700; font-size: .78rem; padding: 4px 40px; transform: rotate(35deg); }
.bh-paylogos { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.bh-pay { font-weight: 800; padding: 4px 10px; border-radius: 8px; background: #fff; font-size: .9rem; }
.bh-pay--jazz { color: #d6262c; }
.bh-pay--easy { color: #1f8f4f; }
.bh-pay--payo { color: #e8541c; }
.bh-secure { display: flex; gap: 6px; align-items: center; font-size: .85rem; color: var(--bh-muted); }
.bh-donate h2 { display: flex; gap: 10px; align-items: center; font-size: 1.4rem; }
.bh-donate h2 .bh-ico { color: var(--bh-red); }
.bh-impact-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.bh-impact { display: flex; flex-direction: column; justify-content: center; background: var(--bh-g900); color: #fff; border-radius: 16px; padding: 22px 26px; }
.bh-impact h2 { color: #fff; text-align: center; font-size: 1.45rem; display: flex; gap: 10px; justify-content: center; align-items: center; }
.bh-impact h2 .bh-ico { color: #4fd59a; }
.bh-impact__items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; margin: 18px 0; font-size: .95rem; }
.bh-dot { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.bh-dot .bh-ico { width: 30px; height: 30px; color: #fff; }
.bh-dot--orange { background: #f07b1b; }
.bh-dot--blue { background: #1f6fd1; }
.bh-dot--green { background: #2f9e44; }
.bh-dot--pink { background: #e0368f; }
.bh-impact__quote { text-align: center; font-family: var(--bh-serif); font-style: italic; margin: 0; font-size: 1.1rem; }
.bh-faq { background: var(--bh-g50); }
.bh-faq h2 { font-size: 1.3rem; display: flex; gap: 10px; align-items: center; }
.bh-faq__q { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--bh-g600); color: #fff; align-items: center; justify-content: center; }
.bh-faq details { background: #fff; border-radius: 10px; margin-bottom: 8px; border: 1px solid var(--bh-line); }
.bh-faq summary { list-style: none; cursor: pointer; padding: 10px 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--bh-ink); }
.bh-faq summary::-webkit-details-marker { display: none; }
.bh-faq details[open] summary .bh-ico { transform: rotate(180deg); }
.bh-faq details p { padding: 0 14px 12px; margin: 0; color: var(--bh-text); }
.bh-help-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; margin-bottom: 36px; }
.bh-help, .bh-everybit { display: flex; align-items: center; gap: 18px; border-radius: 16px; padding: 18px 22px; }
.bh-help { background: var(--bh-g50); border: 1px solid var(--bh-line); }
.bh-help > div, .bh-everybit > div { flex: 1; }
.bh-help h3, .bh-everybit h3 { margin: 0 0 2px; font-size: 1.2rem; }
.bh-help p, .bh-everybit p { margin: 0; font-size: .92rem; }
.bh-help__icon { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--bh-g600); color: var(--bh-g700); display: inline-flex; align-items: center; justify-content: center; }
.bh-help__icon .bh-ico { width: 28px; height: 28px; }
.bh-everybit { background: var(--bh-yellow-soft); }
.bh-everybit > .bh-ico { width: 48px; height: 48px; color: var(--bh-red); }

/* page head, prose, word page */
.bh-pagehead { background: linear-gradient(180deg, #eef5f0, var(--bh-bg)); padding: 26px 0 6px; }
.bh-prose { font-size: 1.02rem; }
.bh-prose h2 { font-size: 1.4rem; margin-top: 1em; }
.bh-prose h2:first-child { margin-top: 0; }
.bh-prose ul { padding-left: 1.2em; }
.bh-narrow { max-width: 820px; margin: 0 auto; }
.bh-article__img { margin: -18px -18px 18px; }
.bh-article__img img { border-radius: var(--bh-radius) var(--bh-radius) 0 0; width: 100%; }
.bh-wordhero { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: center; }
.bh-wordhero__tile { background: var(--bh-g100); border-radius: 14px; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px; }
.bh-wordhero__tile h1 { font-size: 2.6rem; margin: 0; color: var(--bh-g900); }
.bh-wordhero__emoji { font-size: 3rem; }
.bh-wordhero dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 14px; margin: 0 0 16px; align-items: center; }
.bh-wordhero dt { color: var(--bh-muted); }
.bh-wordhero dd { margin: 0; font-size: 1.1rem; }
.bh-prevnext { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.bh-stats-card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bh-stats-card li { background: var(--bh-g50); border-radius: 10px; padding: 10px; text-align: center; color: var(--bh-muted); }
.bh-stats-card strong { display: block; font-size: 1.5rem; color: var(--bh-ink); }
.bh-book { display: flex; flex-direction: column; gap: 6px; }
.bh-book__cover { aspect-ratio: 2 / 3; max-height: 320px; border-radius: 10px; overflow: hidden; background: #f3efe9; display: flex; align-items: center; justify-content: center; font-size: 3.4rem; margin-bottom: 6px; }
.bh-book__cover img { width: 100%; height: 100%; object-fit: contain; }
.bh-book h3 { margin: 0; font-size: 1.1rem; }
.bh-book h3 a { color: var(--bh-ink); }

/* empty states */
.bh-empty { text-align: center; padding: 40px 20px; background: #fff; border: 2px dashed var(--bh-g200); border-radius: 16px; }
.bh-empty__icon { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: var(--bh-g100); color: var(--bh-g700); align-items: center; justify-content: center; margin-bottom: 10px; }
.bh-empty__icon .bh-ico { width: 30px; height: 30px; }
.bh-empty p { color: var(--bh-muted); }
.bh-empty--inline { padding: 18px; margin-top: 12px; }

/* footer */
.bh-footer { background: var(--bh-g900); color: #dfeee8; padding: 22px 0 14px; margin-top: 10px; }
.bh-footer__inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.bh-footer__brand { display: flex; gap: 10px; align-items: center; font-size: 1.05rem; }
.bh-footer__brand strong { color: #fff; }
.bh-footer__sep { opacity: .6; }
.bh-footer__links { margin-left: auto; display: flex; gap: 24px; }
.bh-footer a { color: #e7f3ee; }
.bh-footer a:hover { color: #fff; }
.bh-footer__social { display: flex; gap: 16px; }
.bh-footer__social .bh-ico { width: 26px; height: 26px; }
.bh-footer__copy { font-size: .82rem; opacity: .7; margin-top: 10px; }

/* WordPress basics */
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { margin: 0 auto 1em; }
.wp-caption-text { font-size: .85rem; color: var(--bh-muted); }

/* word pictures */
.bh-pic { display: block; object-fit: contain; }
.bh-pic--photo { object-fit: cover; border-radius: 10px; }
.bh-wordrow__pic { width: 52px; height: 52px; margin-bottom: 2px; }
.bh-wordrow__tile.has-pic { padding-top: 8px; }
.bh-wcard__pic .bh-pic--icon { width: 72px; height: 72px; }
.bh-wcard__pic .bh-pic--photo { width: 100%; height: 100%; border-radius: 0; }
.bh-wotd__pic .bh-pic--icon { width: 84px; height: 84px; }
.bh-wotd__pic .bh-pic--photo { width: 100%; height: 100%; }
.bh-wordhero__pic { width: 96px; height: 96px; margin-bottom: 6px; }
.bh-icon-credit { font-size: .78rem; opacity: .75; }

/* ---------- responsive ---------- */
@media (max-width: 480px) {
	.bh-support-btn__txt { display: none; }
	.bh-brand__tag { display: none; }
}
@media (max-width: 1240px) {
	.bh-header__inner { gap: 14px; }
	.bh-nav a { padding: .55em .7em; font-size: .9rem; }
	.bh-brand__name { font-size: 1.55rem; }
	.bh-logo-mark { width: 60px; height: 42px; }
	.bh-3col { grid-template-columns: 220px minmax(0, 1fr) 260px; }
	.bh-3col--learn { grid-template-columns: 250px minmax(0, 1fr); }
	.bh-3col--learn > .bh-rail { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bh-home-row { grid-template-columns: 300px minmax(0, 1fr); }
	.bh-home-row > .bh-quote { grid-column: 1 / -1; padding-bottom: 50px; }
	.bh-popcats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bh-grid--news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
	.bh-menu-toggle { display: inline-flex; }
	.bh-nav { position: fixed; inset: 78px 0 auto 0; background: #fff; border-bottom: 1px solid var(--bh-line); padding: 12px 20px 20px; display: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .08); }
	.bh-nav-open .bh-nav { display: block; }
	.bh-nav ul { flex-direction: column; align-items: stretch; }
	.bh-nav a { padding: .8em 1em; font-size: 1rem; }
	.bh-header__tools { gap: 14px; }
	.bh-header__search { border-left: 0; padding-left: 8px; }
	.bh-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-3col { grid-template-columns: minmax(0, 1fr) 280px; }
	.bh-3col > .bh-side { grid-column: 1 / -1; order: 10; }
	.bh-side__list { display: flex; flex-wrap: wrap; gap: 6px; }
	.bh-side__list a { background: var(--bh-g50); }
	.bh-side .bh-side-quote { display: none; }
	.bh-3col--learn { grid-template-columns: 1fr; }
	.bh-3col--learn > .bh-lessons { order: 10; }
	.bh-lessons__list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
	.bh-3col--learn > .bh-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-news-top { grid-template-columns: 1fr; }
	.bh-stats-row, .bh-impact-row, .bh-help-row { grid-template-columns: 1fr; }
	.bh-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
	.bh-stats > div:nth-child(3) { border-right: 0; }
	.bh-hero__art { width: 50%; }
	.bh-hand--hero { left: 4%; }
}
@media (max-width: 780px) {
	body { font-size: 15px; }
	.bh-container { padding: 0 16px; }
	.bh-header__inner { min-height: 66px; }
	.bh-nav { inset: 66px 0 auto 0; }
	.admin-bar .bh-header { top: 46px; }
	.bh-brand__tag { font-size: .8rem; }
	.bh-brand__name { font-size: 1.3rem; }
	.bh-logo-mark { width: 48px; height: 34px; }
	.bh-support-btn { padding: .55em .8em; font-size: .9rem; }
	.bh-support-btn::before, .bh-support-btn::after { display: none; }
	.bh-header__inner { gap: 8px; }
	.bh-header__tools { gap: 6px; }
	.bh-menu-toggle { order: 3; margin-left: 0; }
	.bh-header__tools { margin-left: auto; }
	.bh-hero__art, .bh-hero__art--right { position: relative; width: 100%; height: 170px; inset: auto; }
	.bh-hero__art .bh-landscape, .bh-hero__art .bh-landscape-img { -webkit-mask-image: none; mask-image: none; }
	.bh-hero--learn .bh-hero__art, .bh-hero__art--right { width: 100%; }
	.bh-hero--home .bh-quote-corner { display: none; }
	.bh-hero--dark::after { background: rgba(5, 25, 28, .72); }
	.bh-support-hero { flex-direction: column; align-items: flex-start; gap: 6px; }
	.bh-3col--learn > .bh-lesson { order: 1; }
	.bh-3col--learn > .bh-rail { order: 2; }
	.bh-3col--learn > .bh-lessons { order: 10; }
	#bh-lesson, #bh-words, #bh-results { scroll-margin-top: 78px; }
	.bh-hero--dark .bh-hero__art { position: absolute; height: 100%; }
	.bh-hand--hero { left: auto; right: 6%; top: 10%; font-size: 1.7rem; }
	.bh-hand--left, .bh-brush--left, .bh-hand--steps, .bh-badge-float, .bh-hand--dark, .bh-support-hero__hands .bh-hand { display: none; }
	.bh-quote-corner { font-size: .95rem; right: 12px; top: 10px; }
	.bh-hero__content { padding-top: 24px; padding-bottom: 26px; }
	.bh-hero--home .bh-hero__content { min-height: 0; }
	.bh-hero__lead { font-size: 1.02rem; }
	.bh-hero__ctas { gap: 12px; }
	.bh-hero__ctas .bh-btn { flex: 1 1 100%; }
	.bh-hero__center { padding-top: 22px; padding-bottom: 32px; }
	.bh-searchbar { flex-wrap: wrap; }
	.bh-searchbar__field { flex: 1 1 100%; }
	.bh-searchbar .bh-select { flex: 1; }
	.bh-searchbar .bh-select select { width: 100%; }
	.bh-az { margin-top: 12px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }
	.bh-features { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
	.bh-home-row { grid-template-columns: 1fr; }
	.bh-popcats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-3col, .bh-2col { grid-template-columns: 1fr; }
	.bh-3col--learn > .bh-rail { grid-template-columns: 1fr; }
	.bh-wordrow { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
	.bh-wordrow__roman { font-size: 1.15rem; }
	.bh-wordrow__pic { width: 40px; height: 40px; }
	.bh-wordrow__actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
	.bh-label { min-width: 0; }
	.bh-lesson { padding: 16px; }
	.bh-lesson__head { flex-wrap: wrap; }
	.bh-lesson__nav { margin-left: 0; width: 100%; }
	.bh-tabs { grid-template-columns: repeat(2, 1fr); }
	.bh-learnlist { grid-template-columns: 1fr; }
	.bh-keywords { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-cattabs { margin-top: 12px; padding-left: 16px; }
	.bh-cattab { min-width: 92px; }
	.bh-vocab__tools { align-items: flex-start; }
	.bh-grid--vocab { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-grid--news, .bh-ways { grid-template-columns: 1fr; }
	.bh-featured { min-height: 420px; height: auto; }
	.bh-featured__text { width: 100%; top: auto; padding: 20px; }
	.bh-featured__slide::after { background: linear-gradient(180deg, rgba(4, 20, 26, .1) 0%, rgba(4, 20, 26, .9) 55%); }
	.bh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-stats > div { border-right: 0; }
	.bh-impact__items { grid-template-columns: repeat(2, 1fr); }
	.bh-help, .bh-everybit { flex-wrap: wrap; }
	.bh-support-hero { padding-top: 22px; }
	.bh-support-hero__hands > .bh-ico { width: 54px; height: 54px; }
	.bh-wordhero { grid-template-columns: 1fr; }
	.bh-wordhero dl { grid-template-columns: 100px 1fr; }
	.bh-footer__inner { flex-direction: column; align-items: flex-start; }
	.bh-footer__links { margin-left: 0; }
}

/* ---------- Support: donation cards, community, funds, sponsors ---------- */
.bh-pay--bank { color: var(--bh-g800); background: var(--bh-g100); }
.bh-dn-lead { color: var(--bh-muted); margin: 4px 0 0; }
.bh-dn-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; margin-top: 14px; align-items: start; }
.bh-dn-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; align-items: start; }
.bh-dn { border: 1px solid var(--bh-line); border-radius: 14px; padding: 16px; background: #fff; min-width: 0; }
.bh-dn__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.bh-dn strong { display: block; font-size: 1.2rem; color: var(--bh-ink); letter-spacing: .02em; overflow-wrap: anywhere; }
.bh-dn strong.is-long { font-size: .98rem; }
.bh-dn small { display: block; color: var(--bh-muted); font-size: .78rem; margin-top: 8px; }
.bh-dn__copy { border: 1px solid var(--bh-g200); border-radius: 9px; padding: 5px 11px; font: 700 .8rem var(--bh-font); color: var(--bh-g800); background: var(--bh-g50); cursor: pointer; }
.bh-dn__copy.is-done { background: var(--bh-g800); color: #fff; border-color: var(--bh-g800); }
.bh-dn--qr { text-align: center; }
.bh-dn--qr img { width: 100%; max-width: 150px; border-radius: 8px; }
.bh-dn-side { background: var(--bh-yellow-soft); border-radius: 14px; padding: 18px 20px; }
.bh-dn-side h3 { margin: 0 0 8px; color: var(--bh-ink); font-size: 1.08rem; }
.bh-dn-side ol { margin: 0 0 14px; padding-left: 20px; line-height: 1.9; }
.bh-dn-wa { display: inline-flex; gap: 8px; align-items: center; background: #1fa855; color: #fff !important; font-weight: 700; border-radius: 11px; padding: 10px 16px; text-decoration: none; }
.bh-dn-note { margin: 12px 0 0; font-size: .9rem; }
.bh-dn-safe { margin: 12px 0 0; font-size: .8rem; color: var(--bh-muted); }

.bh-center-head h2 span { color: var(--bh-g700); }
.bh-cm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: start; }
.bh-cm-col { background: #fff; border: 1px solid var(--bh-line); border-radius: var(--bh-radius); box-shadow: var(--bh-shadow); overflow: hidden; }
.bh-cm-top { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--bh-line); }
.bh-cm-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.bh-cm-ic--supporter { background: #fdeaea; } .bh-cm-ic--contributor { background: #e7f0ff; } .bh-cm-ic--volunteer { background: var(--bh-g100); }
.bh-cm-top h3 { margin: 0; font-size: 1.06rem; color: var(--bh-ink); }
.bh-cm-top small { color: var(--bh-muted); font-size: .8rem; }
.bh-cm-n { margin-left: auto; background: var(--bh-g50); color: var(--bh-g800); font-weight: 800; border-radius: 20px; padding: 3px 11px; font-size: .82rem; }
.bh-cm-list { padding: 4px 18px; }
.bh-cm-p { display: flex; gap: 11px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--bh-line); }
.bh-cm-p:last-child { border-bottom: 0; }
.bh-cm-p.is-more { display: none; }
.bh-cm-col.show-all .bh-cm-p.is-more { display: flex; }
.bh-cm-p > div { min-width: 0; }
.bh-cm-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex: none; }
.bh-cm-p b { display: block; color: var(--bh-ink); font-size: .92rem; }
.bh-cm-p span { color: var(--bh-muted); font-size: .8rem; }
.bh-cm-tag { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 700; border-radius: 20px; padding: 3px 9px; white-space: nowrap; }
.bh-cm-tag--0 { background: var(--bh-g100); color: var(--bh-g800); } .bh-cm-tag--1 { background: #fff6d6; color: #8a6400; }
.bh-cm-tag--2 { background: #e7f0ff; color: #2a5bd7; } .bh-cm-tag--3 { background: #fdeaea; color: #c4242c; }
.bh-cm-empty { color: var(--bh-muted); padding: 10px 0; margin: 0; }
.bh-cm-more, .bh-cm-join { display: block; width: 100%; text-align: center; padding: 12px; font: 700 .85rem var(--bh-font); border: 0; cursor: pointer; text-decoration: none; }
.bh-cm-more { color: var(--bh-g700); background: var(--bh-g50); }
.bh-cm-join { color: #fff !important; background: var(--bh-g800); }
.bh-cm-col.show-all .bh-cm-more { display: none; }

.bh-tr { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-bottom: 30px; align-items: start; }
.bh-tr--one { grid-template-columns: 1fr; }
.bh-tr-box { background: var(--bh-g900); color: #d6ece3; border-radius: var(--bh-radius); padding: 22px 24px; }
.bh-tr-box h3 { margin: 0 0 4px; color: #fff; font-size: 1.2rem; }
.bh-tr-box > p { margin: 0 0 14px; font-size: .82rem; color: #a9cfc1; }
.bh-tr-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.bh-tr-row b { color: #fff; white-space: nowrap; }
.bh-tr-row--in b { color: var(--bh-yellow); font-size: 1.15rem; }
.bh-tr-dot { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 8px; }
.bh-tr-bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .12); overflow: hidden; display: flex; margin: 6px 0 12px; }
.bh-sp { background: #fff; border: 1px solid var(--bh-line); border-radius: var(--bh-radius); padding: 20px 22px; box-shadow: var(--bh-shadow); }
.bh-sp h3 { margin: 0 0 4px; color: var(--bh-ink); font-size: 1.12rem; }
.bh-sp > p { margin: 0 0 14px; color: var(--bh-muted); font-size: .82rem; }
.bh-sp-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.bh-sp-l { border: 1px solid var(--bh-line); border-radius: 12px; min-height: 76px; padding: 10px; display: grid; place-items: center; text-align: center; color: var(--bh-ink); text-decoration: none; }
.bh-sp-l img { max-width: 100%; max-height: 54px; object-fit: contain; }
.bh-sp-l small { display: block; color: var(--bh-muted); font-size: .72rem; }
.bh-sp-l--empty { border: 2px dashed var(--bh-g200); background: var(--bh-g50); color: var(--bh-muted); font-size: .78rem; }
.bh-sp-cta { margin: 14px 0 0; font-size: .88rem; }
.bh-voice { font-size: .82rem; color: var(--bh-muted); }

@media (max-width: 1080px) {
	.bh-dn-wrap, .bh-tr { grid-template-columns: 1fr; }
}
.bh-wordhero__cat { display: inline-block; margin-top: 6px; background: var(--bh-g100); color: var(--bh-g800); font-weight: 700; font-size: .9rem; border-radius: 20px; padding: 4px 14px; }
.bh-keyword__cat { display: inline-block; margin: 8px 0; background: var(--bh-g100); color: var(--bh-g800); font-weight: 700; font-size: .78rem; border-radius: 20px; padding: 3px 10px; }
.bh-keyword .bh-keyword__pic { display: block; width: 52px; height: 52px; margin: 6px auto; }

.bh-wordhero__ur { display: block; font-family: var(--bh-nastaliq); font-size: 1.6rem; line-height: 2; color: var(--bh-g800); }
.bh-grid--vocab.is-list .bh-wcard__mean { border-top: 0; padding-top: 0; margin-top: 0; gap: 14px; }
.bh-grid--vocab.is-list .bh-wcard__acts { margin: 0 0 0 auto; }
.bh-grid--vocab.is-list .bh-wcard__top { min-width: 210px; justify-content: space-between; gap: 12px; }
.bh-grid--vocab.is-list .bh-wcard__top { justify-content: flex-start; min-width: 190px; }
.bh-grid--vocab.is-list .bh-wcard__mean { border-left: 1px dashed var(--bh-line); padding-left: 16px; min-width: 200px; justify-content: space-between; }

/* ---------- My Favorites ---------- */
.bh-header__fav { position: relative; display: inline-flex; padding: 8px; color: var(--bh-ink); }
.bh-header__fav .bh-ico { width: 24px; height: 24px; }
.bh-header__fav:hover { color: var(--bh-red); }
.bh-header__favn { position: absolute; top: 0; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--bh-red); color: #fff; font-size: .7rem; font-weight: 800; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.bh-header__favn[hidden] { display: none; }
.bh-favpage__heart .bh-ico { width: 1em; height: 1em; color: var(--bh-red); vertical-align: -.12em; }
.bh-favpage { padding-top: 24px; padding-bottom: 48px; }
.bh-favbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 20px; }
.bh-favbar[hidden], .bh-favempty[hidden], .bh-homefav[hidden], [data-fav-playall][hidden] { display: none; }
.bh-favbar__count { margin: 0; font-size: 1.05rem; color: var(--bh-ink); }
.bh-favbar__count strong { color: var(--bh-red); font-size: 1.3rem; }
.bh-favbar__chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 320px; }
.bh-favbar__chips .bh-cattab { min-width: 0; max-width: none; padding: 7px 14px; border-radius: 999px; font-size: .84rem; cursor: pointer; }
.bh-favbar__chips .bh-cattab.is-active { background: var(--bh-g700); color: #fff; }
.bh-favbar__acts { display: flex; gap: 8px; margin-left: auto; }
.bh-favbar__acts .bh-btn.is-playing { background: var(--bh-red); }
.bh-favbar__acts .bh-btn.is-confirm { border-color: var(--bh-red); color: var(--bh-red); }
.bh-favempty { text-align: center; padding: 48px 20px; max-width: 560px; margin: 8px auto 0; }
.bh-favempty__icon { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #fdecec; color: var(--bh-red); }
.bh-favempty__icon .bh-ico { width: 36px; height: 36px; }
.bh-favempty h2 { margin: 0 0 6px; color: var(--bh-ink); }
.bh-favempty p { color: var(--bh-muted); margin: 0 0 20px; }
.bh-favempty p .bh-ico { width: 1.1em; height: 1.1em; color: var(--bh-red); vertical-align: -.15em; }
.bh-favempty__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.bh-homefav { margin-top: 28px; }
.bh-homefav__head { gap: 10px; margin-bottom: 12px; }
.bh-homefav__ic .bh-ico { color: var(--bh-red); }
.bh-homefav__n { background: #fdecec; color: var(--bh-red); font-weight: 800; font-size: .8rem; border-radius: 999px; padding: 2px 9px; }
.bh-homefav__all { margin-left: auto; font-weight: 700; display: inline-flex; align-items: center; gap: .3em; }
.bh-homefav__list { display: flex; gap: 12px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: thin; }
.bh-favchip { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; background: var(--bh-g50); border: 1px solid var(--bh-line); border-radius: 14px; padding: 8px 14px 8px 8px; color: var(--bh-ink); min-width: 150px; }
.bh-favchip:hover { background: var(--bh-g100); color: var(--bh-ink); }
.bh-favchip__pic { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.bh-favchip__pic .bh-pic { width: 40px; height: 40px; object-fit: contain; }
.bh-favchip__txt { display: flex; flex-direction: column; line-height: 1.25; }
.bh-favchip__txt span { color: var(--bh-muted); font-size: .85rem; }
@media (max-width: 640px) {
	.bh-favbar__acts { margin-left: 0; width: 100%; }
	.bh-favbar__acts .bh-btn { flex: 1; justify-content: center; }
	.bh-header__fav { padding: 6px; }
}

/* Small phones: keep logo, search, favorites, support and menu on one line */
html, body { overflow-x: clip; }
@media (max-width: 420px) {
	.bh-header__inner { gap: 6px; }
	.bh-brand { gap: 8px; min-width: 0; flex: 0 1 auto; }
	.bh-brand svg, .bh-brand .bh-logo-img { width: 38px; height: auto; }
	.bh-brand__name { font-size: 1.15rem; white-space: nowrap; }
	.bh-header__tools { gap: 2px; margin-left: auto; }
	.bh-header__search, .bh-header__fav { padding: 6px; }
	.bh-header__search .bh-ico, .bh-header__fav .bh-ico { width: 22px; height: 22px; }
	.bh-support-btn { padding: .5em .65em; }
	.bh-menu-toggle { flex: 0 0 auto; }
}
@media (max-width: 340px) {
	.bh-brand__name { font-size: 1rem; }
	.bh-header__search { display: none; }
}

/* Hearts on sentences, books and news */
.bh-scard, .bh-book, .bh-newscard, .bh-favpost { position: relative; }
.bh-scard > .bh-fav, .bh-book > .bh-fav, .bh-newscard > .bh-fav, .bh-favpost > .bh-fav { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(16, 50, 40, .12); }
.bh-scard > .bh-fav { top: 6px; right: 6px; }
.bh-scard__bal { padding-right: 34px; }
.bh-posthead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bh-posthead__meta .bh-muted { margin: 0; }
.bh-posthead__thumb[hidden] { display: none; }
/* My Favorites tabs and post cards */
.bh-favtabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 16px; padding-bottom: 4px; }
.bh-favtabs[hidden] { display: none; }
.bh-favtab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--bh-line); background: #fff; color: var(--bh-ink); border-radius: 12px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; }
.bh-favtab b { background: var(--bh-g50); color: var(--bh-g800); border-radius: 999px; padding: 0 8px; font-size: .8rem; }
.bh-favtab.is-active { border-color: var(--bh-g700); background: var(--bh-g700); color: #fff; }
.bh-favtab.is-active b { background: rgba(255, 255, 255, .2); color: #fff; }
.bh-favtab:disabled { opacity: .45; cursor: default; }
.bh-grid--favposts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.bh-favpost { display: flex; gap: 14px; align-items: center; padding: 14px; }
.bh-favpost__pic { flex: 0 0 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--bh-g50); display: grid; place-items: center; font-size: 2rem; }
.bh-favpost__pic img { width: 100%; height: 100%; object-fit: cover; }
.bh-favpost__body { min-width: 0; padding-right: 30px; }
.bh-favpost__body h3 { margin: 0 0 4px; font-size: 1.02rem; line-height: 1.3; }
.bh-favpost__body h3 a { color: var(--bh-ink); }
.bh-favpost__body .bh-muted { margin: 0 0 6px; font-size: .85rem; }
.bh-favchip__pic > span { font-size: 1.4rem; }
.bh-favchip__pic img.bh-favpic { width: 100%; height: 100%; object-fit: cover; }
.bh-favchip--s .bh-favchip__txt strong { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-favchip__txt span { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-featured__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bh-featured__acts .bh-fav--label { color: #fff; border-color: rgba(255, 255, 255, .45); }
.bh-featured__acts .bh-fav--label.is-on { color: #fff; background: var(--bh-red); border-color: var(--bh-red); }
.bh-featured__acts .bh-fav--label.is-on svg { fill: #fff; }

/* ---------- Dictionary entries (no picture tiles) ---------- */
.bh-dx { background: #fff; border: 1px solid var(--bh-line); border-left: 4px solid var(--bh-g600); border-radius: 14px; padding: 16px 18px; box-shadow: var(--bh-shadow); margin-bottom: 14px; }
.bh-dx__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--bh-line); }
.bh-dx__word { margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.bh-dx__word a { color: var(--bh-g900); }
.bh-dx__pos { font-family: var(--bh-serif); font-style: italic; color: var(--bh-muted); font-size: .95rem; }
.bh-dx__cat { background: var(--bh-g50); color: var(--bh-g800); border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 700; }
.bh-dx__head .bh-fav { margin-left: auto; }
.bh-dx__means { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.bh-dx__m { background: var(--bh-g50); border-radius: 10px; padding: 8px 12px; display: flex; flex-direction: column; }
.bh-dx__m strong { font-size: 1.05rem; color: var(--bh-ink); }
.bh-dx__m .bh-urdu { font-size: 1.25rem; line-height: 1.9; }
.bh-dx__lab { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--bh-muted); }
.bh-dx__ex ol { margin: 6px 0 0; padding-left: 20px; }
.bh-dx__ex li { margin-bottom: 8px; }
.bh-dx__ex p { margin: 0; }
.bh-dx__bal { font-weight: 700; color: var(--bh-g900); }
.bh-dx__ur { font-family: var(--bh-nastaliq); font-size: 1.05rem; line-height: 2; text-align: right; }
.bh-dx__en { color: var(--bh-muted); font-style: italic; font-size: .92rem; }
.bh-dx__none { color: var(--bh-muted); font-size: .9rem; margin: 4px 0 0; }
.bh-dx__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--bh-line); font-size: .9rem; }
.bh-dx__foot a { font-weight: 600; }
.bh-dx__dot { color: var(--bh-muted); }
.bh-dx__more { margin-left: auto; font-weight: 800 !important; display: inline-flex; align-items: center; gap: .25em; }
.bh-dx__pic[hidden] { display: none; }
@media (max-width: 560px) { .bh-dx { padding: 14px; } .bh-dx__means { gap: 8px; } .bh-dx__word { font-size: 1.3rem; } }
.bh-book__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }

/* ---------- Contact page ---------- */
.bh-page-sub--left { text-align: left; margin: 6px 0 0; max-width: 62ch; }
.bh-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.bh-contact__item { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px; }
.bh-contact__item > div:nth-child(2) { flex: 1 1 160px; min-width: 0; }
.bh-contact__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--bh-g50); color: var(--bh-g700); flex: 0 0 48px; }
.bh-contact__ic .bh-ico { width: 24px; height: 24px; }
.bh-contact__ic--wa { background: #e5f8ec; color: #17a34a; }
.bh-contact__lab { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bh-muted); }
.bh-contact__val { font-size: 1.08rem; color: var(--bh-ink); overflow-wrap: anywhere; }
.bh-contact__acts { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.bh-contact__acts .bh-ico { width: 1em; height: 1em; }
.bh-btn--wa { background: #17a34a; }
.bh-btn--wa:hover { background: #12863c; color: #fff; }
.bh-contact__social { margin-top: 18px; padding: 20px; }
.bh-contact__social h2 { margin: 0 0 12px; font-size: 1.15rem; }
.bh-contact__links { display: flex; flex-wrap: wrap; gap: 10px; }
.bh-contact__soc { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--bh-line); color: var(--bh-ink); font-weight: 700; background: #fff; }
.bh-contact__soc .bh-ico { width: 20px; height: 20px; }
.bh-contact__soc--facebook .bh-ico { color: #1877f2; } .bh-contact__soc--youtube .bh-ico { color: #ff0000; } .bh-contact__soc--instagram .bh-ico { color: #d62976; } .bh-contact__soc--tiktok .bh-ico { color: #111; }

/* Word page: the big tile shows Roman + Balochi script only; Urdu is in the meanings below */
.bh-wordhero__tile .bh-wordhero__ur{display:none}

/* Word cards: everything stacks so long words, Balochi script and Urdu fit inside small cards */
.bh-wcard__body { min-width: 0; }
.bh-grid:not(.is-list) .bh-wcard__top { flex-direction: column; align-items: stretch; gap: 0; }
.bh-grid:not(.is-list) .bh-wcard__mean { flex-direction: column; align-items: stretch; gap: 0; }
.bh-wcard__roman, .bh-wcard__en { overflow-wrap: anywhere; }
.bh-wcard .bh-script, .bh-wcard .bh-script--sm { font-size: 1.05rem; line-height: 1.75; text-align: right; overflow-wrap: anywhere; }
.bh-grid:not(.is-list) .bh-wcard .bh-wcard__ur { white-space: normal; text-align: right; font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.bh-grid--vocab.is-list .bh-wcard__top { align-items: center; gap: 14px; }
.bh-grid--vocab.is-list .bh-wcard .bh-script { text-align: left; }
.bh-script--xl { font-size: 2rem; line-height: 1.9; }

/* Site notice bar (set from the phone admin) */
.bh-notice { font-size: .95rem; line-height: 1.45; }
.bh-notice__in { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.bh-notice__ic { font-size: 1.15rem; flex: none; }
.bh-notice__tx { margin: 0; flex: 1; font-weight: 600; }
.bh-notice__tx a { font-weight: 800; color: inherit; text-decoration: underline; white-space: nowrap; }
.bh-notice__x { flex: none; border: 0; background: rgba(0,0,0,.08); color: inherit; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: .9rem; }
.bh-notice--info { background: var(--bh-g800); color: #fff; }
.bh-notice--info .bh-notice__x { background: rgba(255,255,255,.18); }
.bh-notice--construction { background: #ffe9b3; color: #5a3d00; border-bottom: 1px solid #f3cf6e; }
.bh-notice--warning { background: #fde3e3; color: #8a1c1c; border-bottom: 1px solid #f5bcbc; }
.bh-notice--success { background: #dff4e8; color: #0e5547; border-bottom: 1px solid #b9e2cb; }

/* Phones: WordPress's admin bar scrolls away there, so the header sticks to the very top */
@media (max-width: 600px) { .admin-bar .bh-header { top: 0; } }

/* Header: solid and fixed to the top while scrolling (phones too) */
.bh-header { background: #fafbf9; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (max-width: 782px) { .admin-bar .bh-header { top: 0; } }
