/* কোরিয়া গাইড (index + articles). Title panel matches hangeulbondhu-pages.css. */
.hbg{padding:22px 0 50px}
.hbg-crumbs{font-size:13px;color:#5d7680;margin:0 0 12px}
.hbg-crumbs a{color:#0b6b60}
.hbg-hero{position:relative;overflow:hidden;margin:6px 0 28px;padding:42px 44px;border:1px solid #dde8e5;border-radius:28px;background:radial-gradient(120% 150% at 0% 0%,#e9f6f0 0,#f1f7f6 45%,#eef3fa 100%);box-shadow:0 14px 40px #123b330d}
.hbg-hero::after{content:"한";position:absolute;right:28px;bottom:-62px;font:700 210px/1 "HB Korean",sans-serif;color:#0b6b600a;pointer-events:none}
.hbg-hero>*{position:relative;z-index:1}
.hbg-hero h1{margin:0 0 12px;font-size:clamp(28px,3.8vw,44px);line-height:1.3;color:#163847}
.hbg-hero p{max-width:66ch;margin:0 0 8px;font-size:16px;line-height:1.85;color:#4f6873}
.hbg-hero small{display:inline-block;margin-top:6px;padding:3px 10px;border-radius:999px;background:#ffffffb3;color:#4f6873;font-size:12px}

.hbg-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.hbg-card{position:relative;display:flex;flex-direction:column;gap:6px;padding:22px;border:1px solid #dde8e5;border-radius:20px;background:#fff;color:#163847;text-decoration:none;box-shadow:0 8px 24px #123b330a;transition:border-color .2s,transform .2s,box-shadow .2s}
.hbg-card:hover,.hbg-card:focus-visible{border-color:#9fd2c4;transform:translateY(-2px);box-shadow:0 16px 34px #123b3316}
.hbg-card h2{margin:2px 0 0;font-size:19px;line-height:1.5}
.hbg-card p{margin:0;font-size:14px;line-height:1.75;color:#4f6873}
.hbg-card small{margin-top:auto;padding-top:8px;color:#0b6b60;font-weight:650}
.hbg-num{position:absolute;right:18px;top:14px;font-size:28px;font-weight:700;color:#e3f3ee}
.hbg-tag{align-self:flex-start;padding:3px 10px;border-radius:999px;background:#e3f3ee;color:#0b6b60;font-size:12px;font-weight:650}

.hbg-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px;align-items:start}
.hbg-toc{position:sticky;top:110px;padding:18px;border:1px solid #dde8e5;border-radius:18px;background:#fff;font-size:14px}
.hbg-toc strong{display:block;margin-bottom:8px;color:#163847}
.hbg-toc ol{margin:0;padding-left:20px}
.hbg-toc li{margin:6px 0;line-height:1.5}
.hbg-toc a{color:#2c5363;text-decoration:none}
.hbg-toc a:hover{color:#0b6b60;text-decoration:underline}
.hbg-body{min-width:0;max-width:760px}
.hbg-body section{scroll-margin-top:110px;margin:0 0 30px}
.hbg-body h2{margin:0 0 12px;font-size:24px;line-height:1.45;color:#163847}
.hbg-body h3{margin:18px 0 8px;font-size:18px;color:#163847}
.hbg-body p,.hbg-body li{font-size:16px;line-height:1.9;color:#2d4752}
.hbg-body ul,.hbg-body ol{padding-left:22px}
.hbg-body li{margin:4px 0}
.hbg-body a{color:#0b6b60}
.hbg-body table{width:100%;border-collapse:collapse;margin:10px 0 16px;font-size:15px;background:#fff;border-radius:14px;overflow:hidden;border:1px solid #dde8e5}
.hbg-body th,.hbg-body td{padding:10px 12px;border-bottom:1px solid #e6eeeb;text-align:left;vertical-align:top;line-height:1.7}
.hbg-body th{background:#f1f7f5;color:#163847;font-weight:650}
.hbg-tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.hbg-key{margin:0 0 28px;padding:18px 22px;border-radius:18px;background:#e9f6f0;border:1px solid #cfe6dd}
.hbg-key strong{color:#0b6b60}
.hbg-key ul{margin:8px 0 0}
.hbg-tip{margin:14px 0;padding:14px 18px;border-left:4px solid #0b8d77;border-radius:12px;background:#f3faf7}
.hbg-warn{margin:14px 0;padding:14px 18px;border-left:4px solid #c9821b;border-radius:12px;background:#fdf6ea}
.hbg-lang{padding:22px 24px;border-radius:20px;background:linear-gradient(160deg,#eaf4fb,#f3faf7);border:1px solid #d7e6ef}
.hbg-lang .kc-button{width:auto;display:inline-flex;margin-top:8px}
.hbg-body details{margin:0 0 10px;padding:12px 16px;border:1px solid #dde8e5;border-radius:14px;background:#fff}
.hbg-body summary{cursor:pointer;font-weight:650;color:#163847;line-height:1.6}
.hbg-body details p{margin:10px 0 0}
.hbg-legal{margin:28px 0;padding:18px 22px;border-radius:18px;background:#fdf6ea;border:1px solid #f0dfbf}
.hbg-legal strong{color:#8a5a12}
.hbg-legal p{margin:6px 0 0;font-size:14px;line-height:1.8;color:#5b4a2c}
.hbg-sources ul{list-style:none;padding:0}
.hbg-sources li{margin:6px 0;font-size:14px}
.hbg-more{margin-top:40px}
.hbg-more>h2{font-size:22px;color:#163847;margin:0 0 14px}
.hbg-more .hbg-card h2{font-size:17px}

@media(max-width:900px){.hbg-layout{grid-template-columns:1fr}.hbg-toc{position:static}}
@media(max-width:600px){.hbg-hero{padding:28px 22px;border-radius:22px}.hbg-hero::after{font-size:150px;bottom:-44px;right:12px}.hbg-hero p{font-size:15px}.hbg-cards{grid-template-columns:1fr}.hbg-body h2{font-size:21px}.hbg-body p,.hbg-body li{font-size:15px}}
@media(prefers-reduced-motion:reduce){.hbg-card{transition:none}.hbg-card:hover{transform:none}}

/* ===== Report graphics (v2) ===== */
.hbg-body{counter-reset:fig}
.hbg-fig{margin:18px 0 22px;padding:20px 22px 16px;border:1px solid #dde8e5;border-radius:20px;background:#fff;box-shadow:0 10px 28px #123b330a}
.hbg-fig figcaption{margin:0 0 14px;font-weight:700;font-size:16px;line-height:1.5;color:#163847}
.hbg-fig-no::before{counter-increment:fig;content:"চিত্র " counter(fig,bengali) " · ";color:#0b8d77}
.hbg-src{display:block;margin-top:12px;font-size:12px;color:#6b818a}

/* KPI strip */
.hbg-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:-6px 0 30px}
.hbg-stat{position:relative;overflow:hidden;padding:18px 18px 16px;border-radius:20px;background:linear-gradient(150deg,#0f7a6b,#123f6b);color:#fff;box-shadow:0 14px 30px #0f3b4a26}
.hbg-stat:nth-child(2){background:linear-gradient(150deg,#1b5f8f,#163e6b)}
.hbg-stat:nth-child(3){background:linear-gradient(150deg,#6a4f96,#3f3a78)}
.hbg-stat:nth-child(4){background:linear-gradient(150deg,#b86d1b,#8a4a14)}
.hbg-stat::after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:#ffffff14}
.hbg-stat b{display:inline-block;font-size:clamp(26px,3vw,36px);line-height:1.15;font-weight:800;letter-spacing:.01em}
.hbg-stat span{margin-left:6px;font-size:14px;font-weight:650;opacity:.9}
.hbg-stat small{display:block;margin-top:6px;font-size:13px;line-height:1.55;color:#ffffffd9}

/* bars */
.hbg-bars{display:grid;gap:12px}
.hbg-bar-row{display:grid;grid-template-columns:minmax(110px,190px) minmax(0,1fr) auto;align-items:center;gap:12px}
.hbg-bar-lab{font-size:14px;line-height:1.45;color:#2d4752}
.hbg-bar-trk{display:block;width:100%;height:18px;border-radius:9px;background:#edf3f1;overflow:hidden}
.hbg-bar{fill:url(#hbgGrad);fill:#0b8d77;transform-box:fill-box;transform-origin:0 50%}
.hbg-bar-row.hl .hbg-bar{fill:#c9821b}
.hbg-bar-row.muted .hbg-bar{fill:#9db7c2}
.hbg-bar-row.blue .hbg-bar{fill:#1b5f8f}
.hbg-bar-val{min-width:64px;text-align:right;font-size:15px;color:#163847;font-weight:700;white-space:nowrap}
.hbg-pair{display:grid;gap:5px}
.hbg-pair-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
.hbg-pair-line .hbg-bar-trk{height:14px}
.hbg-pair-line.b .hbg-bar{fill:#c9821b}
.hbg-pairs .hbg-bar-val{min-width:58px;font-size:14px}
.hbg-legend{display:flex;gap:16px;margin:-6px 0 12px;font-size:13px;color:#4f6873}
.hbg-legend span::before{content:"";display:inline-block;width:12px;height:12px;margin-right:6px;border-radius:3px;vertical-align:-1px;background:#0b8d77}
.hbg-legend .b::before{background:#c9821b}

/* bands & spans */
.hbg-band{display:block;width:100%;height:46px;border-radius:12px;overflow:hidden;background:#edf3f1}
.hbg-seg{fill:#cfe6dd;stroke:#fff;stroke-width:3;transform-box:fill-box;transform-origin:0 50%}
.hbg-seg.s0,.hbg-band-keys .s0 i{fill:#e4ebe9;background:#e4ebe9}
.hbg-seg.s1,.hbg-band-keys .s1 i{fill:#a8dccd;background:#a8dccd}
.hbg-seg.s2,.hbg-band-keys .s2 i{fill:#5fbfa8;background:#5fbfa8}
.hbg-seg.s3,.hbg-band-keys .s3 i{fill:#18977f;background:#18977f}
.hbg-seg.s4,.hbg-band-keys .s4 i{fill:#1b6f8f;background:#1b6f8f}
.hbg-seg.s5,.hbg-band-keys .s5 i{fill:#2a4f86;background:#2a4f86}
.hbg-seg.s6,.hbg-band-keys .s6 i{fill:#5b4387;background:#5b4387}
.hbg-seg.warm,.hbg-band-keys .warm i{fill:#e8a54a;background:#e8a54a}
.hbg-band-keys{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0 0;padding:0;list-style:none}
.hbg-band-keys li{display:flex;align-items:center;gap:7px;font-size:13px;color:#2d4752}
.hbg-band-keys i{display:inline-block;width:12px;height:12px;border-radius:3px}
.hbg-band-keys span{color:#6b818a}

/* steps */
.hbg-steps{position:relative;margin:0;padding:0;list-style:none}
.hbg-steps::before{content:"";position:absolute;left:19px;top:8px;bottom:8px;width:3px;border-radius:2px;background:#dbeae5;transform-origin:top}
.hbg-steps li{position:relative;display:flex;gap:16px;padding:0 0 18px}
.hbg-step-no{position:relative;z-index:1;flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#0b8d77;color:#fff;font-weight:800;box-shadow:0 0 0 5px #e9f6f0}
.hbg-steps strong{display:block;font-size:16px;color:#163847;line-height:1.5;padding-top:7px}
.hbg-steps em{display:inline-block;margin:4px 0 2px;padding:2px 9px;border-radius:999px;background:#fdf1df;color:#8a5a12;font-size:12px;font-style:normal;font-weight:650}
.hbg-steps p{margin:4px 0 0;font-size:14px;line-height:1.75;color:#4f6873}

/* path */
.hbg-path{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none;counter-reset:none}
.hbg-path li{position:relative;flex:1 1 140px;padding:14px 16px;border-radius:16px;background:#f1f7f5;border:1px solid #d5e8e1}
.hbg-path li:not(:last-child)::after{content:"→";position:absolute;right:-13px;top:50%;z-index:1;transform:translateY(-50%);width:22px;height:22px;border-radius:50%;background:#0b8d77;color:#fff;font-size:13px;line-height:22px;text-align:center}
.hbg-path strong{display:block;font-size:17px;color:#163847}
.hbg-path span{display:block;margin-top:4px;font-size:13px;line-height:1.6;color:#4f6873}
.hbg-path li.hl{background:linear-gradient(150deg,#0f7a6b,#123f6b);border-color:transparent}
.hbg-path li.hl strong,.hbg-path li.hl span{color:#fff}

/* animation (only when JS is on, so content never stays hidden) */
.hbg-js .hbg-anim .hbg-bar,.hbg-js .hbg-anim .hbg-seg{transform:scaleX(0);transition:transform 1s cubic-bezier(.2,.8,.2,1)}
.hbg-js .hbg-anim.is-in .hbg-bar,.hbg-js .hbg-anim.is-in .hbg-seg{transform:scaleX(1)}
.hbg-js .hbg-anim .hbg-bar-row,.hbg-js .hbg-anim .hbg-steps li,.hbg-js .hbg-anim .hbg-path li,.hbg-js .hbg-anim .hbg-band-keys li,.hbg-js .hbg-stats .hbg-stat{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
.hbg-js .hbg-anim.is-in .hbg-bar-row,.hbg-js .hbg-anim.is-in .hbg-steps li,.hbg-js .hbg-anim.is-in .hbg-path li,.hbg-js .hbg-anim.is-in .hbg-band-keys li,.hbg-js .hbg-stats.is-in .hbg-stat{opacity:1;transform:none}
.hbg-js .hbg-anim .hbg-steps::before{transform:scaleY(0);transition:transform 1.6s ease}
.hbg-js .hbg-anim.is-in .hbg-steps::before{transform:scaleY(1)}
.hbg-anim .d2{transition-delay:.08s!important}.hbg-anim .d3{transition-delay:.16s!important}.hbg-anim .d4{transition-delay:.24s!important}.hbg-anim .d5{transition-delay:.32s!important}.hbg-anim .d6{transition-delay:.4s!important}.hbg-anim .d7{transition-delay:.48s!important}.hbg-anim .d8{transition-delay:.56s!important}.hbg-anim .d9{transition-delay:.64s!important}
.hbg-anim .d2 .hbg-bar{transition-delay:.12s}.hbg-anim .d3 .hbg-bar{transition-delay:.24s}.hbg-anim .d4 .hbg-bar{transition-delay:.36s}.hbg-anim .d5 .hbg-bar{transition-delay:.48s}.hbg-anim .d6 .hbg-bar{transition-delay:.6s}.hbg-anim .d7 .hbg-bar{transition-delay:.72s}.hbg-anim .d8 .hbg-bar{transition-delay:.84s}.hbg-anim .d9 .hbg-bar{transition-delay:.96s}

/* E-7-4 calculator */
.hbg-calc{margin:18px 0 26px;padding:22px;border-radius:22px;background:linear-gradient(160deg,#f1f8f5,#eef3fa);border:1px solid #d5e6e0}
.hbg-calc h3{margin:0 0 4px;font-size:19px}
.hbg-calc>p{margin:0 0 14px;font-size:14px;color:#4f6873}
.hbg-calc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hbg-calc label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:650;color:#163847}
.hbg-calc select{min-height:44px;padding:8px 10px;border:1px solid #c9dcd5;border-radius:12px;background:#fff;font:inherit;font-weight:400;color:#163847}
.hbg-calc fieldset{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px 18px;margin:4px 0 0;padding:12px 14px;border:1px solid #d5e6e0;border-radius:14px;background:#ffffffb3}
.hbg-calc legend{padding:0 6px;font-size:14px;font-weight:700;color:#163847}
.hbg-calc fieldset label{flex-direction:row;align-items:center;font-weight:400}
.hbg-calc-out{margin-top:18px;padding:16px 18px;border-radius:16px;background:#fff;border:1px solid #dde8e5}
.hbg-calc-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.hbg-calc-total{font-size:40px;font-weight:800;color:#c9821b;line-height:1}
.hbg-calc.is-ok .hbg-calc-total{color:#0b8d77}
.hbg-calc-gauge{display:block;width:100%;height:22px;margin:12px 0 4px;border-radius:11px;background:#edf3f1;overflow:hidden}
.hbg-calc-bar{fill:#c9821b;transition:width .5s ease}
.hbg-calc.is-ok .hbg-calc-bar{fill:#0b8d77}
.hbg-calc-line{stroke:#163847;stroke-width:.6;stroke-dasharray:1.5 1}
.hbg-calc-scale{display:flex;justify-content:space-between;font-size:12px;color:#6b818a}
.hbg-calc-parts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 8px;font-size:13px;color:#4f6873;text-align:center}
.hbg-calc-parts b{display:block;font-size:20px;color:#163847}
.hbg-calc-msg{margin:6px 0 0;font-size:14px;line-height:1.7;color:#163847;font-weight:600}

@media(max-width:860px){.hbg-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hbg-calc-grid{grid-template-columns:1fr}}
@media(max-width:600px){.hbg-fig{padding:16px 14px 12px}.hbg-bar-row{grid-template-columns:1fr auto;gap:6px 10px}.hbg-bar-lab{grid-column:1/-1}.hbg-bar-row .hbg-bar-trk{grid-column:1}.hbg-path{flex-direction:column}.hbg-path li:not(:last-child)::after{content:"↓";right:auto;left:50%;top:auto;bottom:-14px;transform:translateX(-50%)}.hbg-stat b{font-size:26px}.hbg-calc-parts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.hbg-js .hbg-anim *{transition:none!important;transform:none!important;opacity:1!important}}
.hbg-calc fieldset label{gap:8px;line-height:1.5}
.hbg-calc input[type=checkbox]{flex:none;width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:#0b8d77}
@media(max-width:600px){.hbg-path li{flex:none}}
.hbg-body p.small{font-size:13px;line-height:1.7;color:#6b818a}
/* calculator page + featured card */
.hbg-calc-page{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;align-items:start}
.hbg-calc-page .hbg-calc{margin:0}
.hbg-calc-side{display:grid;gap:16px}
.hbg-calc-side h2{margin:0 0 6px;font-size:19px;color:#163847}
.hbg-calc-side p,.hbg-calc-side li{font-size:14px;line-height:1.75;color:#2d4752}
.hbg-calc-side ul{margin:8px 0 10px;padding-left:20px}
.hbg-calc-side a:not(.kc-button){color:#0b6b60;font-weight:650;font-size:14px}
.hbg-calc-req{background:#fff8ec!important;border-color:#f0dfbf!important}
.hbg-feature{display:flex;align-items:center;gap:18px;margin:0 0 18px;padding:20px 24px;border-radius:22px;background:linear-gradient(150deg,#0f7a6b,#123f6b);color:#fff;text-decoration:none;box-shadow:0 16px 36px #0f3b4a2e;transition:transform .2s}
.hbg-feature:hover{transform:translateY(-2px)}
.hbg-feature-ico{flex:none;display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:16px;background:#ffffff1f;font-size:30px}
.hbg-feature>span:nth-child(2){flex:1;min-width:0}
.hbg-feature .hbg-tag{background:#ffffff26;color:#fff}
.hbg-feature strong{display:block;margin-top:6px;font-size:20px}
.hbg-feature small{display:block;font-size:14px;color:#d7efea}
.hbg-feature>b{font-size:26px}
@media(max-width:900px){.hbg-calc-page{grid-template-columns:1fr}}
@media(max-width:600px){.hbg-feature{padding:16px 18px;gap:12px}.hbg-feature-ico{width:46px;height:46px;font-size:24px}.hbg-feature strong{font-size:17px}}
.hbg-video{margin:0 0 28px}
.hbg-video>strong{display:block;margin-bottom:8px;color:#163847}
.hbv-grid.one{grid-template-columns:minmax(0,520px)}
/* share bar (guides + tools) */
.hbx-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:30px 0 0;padding:16px 18px;border-radius:18px;background:#f1f7f5;border:1px solid #d5e8e1}
.hbx-share span{flex:1 1 180px;font-weight:650;color:#163847}
.hbx-share a,.hbx-share button{display:inline-flex;align-items:center;min-height:40px;padding:6px 16px;border-radius:999px;border:0;font:inherit;font-size:14px;font-weight:650;text-decoration:none;cursor:pointer}
.hbx-share .wa{background:#1fa855;color:#fff!important}.hbx-share .fb{background:#1b66d6;color:#fff!important}.hbx-share .cp{background:#fff;color:#163847;border:1px solid #c9dcd5}
/* Korea updates timeline */
.hbu h2{margin:30px 0 12px;font-size:21px;color:#163847}
.hbu-list{position:relative;margin:0;padding:0 0 0 22px;list-style:none;border-left:3px solid #dbeae5}
.hbu-list li{position:relative;margin:0 0 14px;padding:14px 18px;border:1px solid #dde8e5;border-radius:16px;background:#fff;box-shadow:0 6px 18px #123b330a}
.hbu-list li::before{content:"";position:absolute;left:-31px;top:20px;width:14px;height:14px;border-radius:50%;background:#0b8d77;box-shadow:0 0 0 4px #e9f6f0}
.hbu-list time{margin-right:10px;font-weight:700;color:#0b6b60;font-size:14px}
.hbu-list p{margin:8px 0 6px;font-size:15px;line-height:1.75;color:#2d4752}
.hbu-list a{font-size:14px;font-weight:650;color:#0b6b60}
.hbg-js .hbg-anim.hbu-list li{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
.hbg-js .hbg-anim.hbu-list.is-in li{opacity:1;transform:none}
.hbg-feature-alt{background:linear-gradient(150deg,#6a4f96,#2a4f86)}
body.hb-system .hbg-feature strong,body.hb-system .hbg-feature small{color:#fff}body.hb-system .hbg-feature small{opacity:.85}
