/* KhảoSát.ResearchSTAT - blog list and articles. */

/* list */
.bhero { padding-bottom: clamp(30px, 5vw, 48px); }
.bhero h1 em { font-style: normal; color: var(--orange); }
.bhero .lead { max-width: 760px; }
.bsearch { position: relative; display: flex; gap: 8px; max-width: 620px; margin-top: 20px; }
.bsearch > .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94A3B8; pointer-events: none; }
.bsearch input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 14px 12px 48px; border: 1px solid #D4D7F0; border-radius: 14px; font: inherit; background: #fff; box-shadow: var(--shadow); }
.bsearch input:focus { outline: 3px solid #E0E7FF; border-color: var(--navy-2); }
.bsearch .btn { min-height: 52px; border-radius: 14px; padding: 0 22px; }
.blist { padding: 26px var(--gutter) 70px; }
.btabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.btabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid #E2E4F3; border-radius: 99px; background: #fff; color: #334155; font-weight: 600; font-size: .92rem; text-decoration: none; transition: all .15s; }
.btabs a span { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; background: #F1F5F9; color: #64748B; font-size: .76rem; }
.btabs a .ic { color: #94A3B8; }
.btabs a:hover { border-color: #A5B4FC; color: var(--navy); }
.btabs a.on { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(26,0,170,.22); }
.btabs a.on .ic { color: #fff; }
.btabs a.on span { background: rgba(255,255,255,.2); color: #fff; }
.bfound { display: flex; align-items: center; gap: 8px; color: #475569; }
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bgrid { grid-template-columns: minmax(0, 1fr); } }
.bcard { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #E8E6F8; border-radius: 20px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.bcard:hover { transform: translateY(-5px); border-color: #C7D2FE; box-shadow: 0 22px 44px rgba(26,0,170,.13); }
.bcover { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: #EEF0FF; }
.bcover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bcard:hover .bcover img { transform: scale(1.05); }
.bbody { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 18px; }
.bcat { align-self: flex-start; display: inline-flex; padding: 3px 11px; border-radius: 99px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.c-gioi-thieu { background: #EEF0FF; color: var(--navy); }
.c-huong-dan { background: #FFF1E6; color: #C2410C; }
.bcard h2, .bcard h3 { margin: 2px 0 0; font-size: 1.12rem; line-height: 1.38; }
.bcard h2 a, .bcard h3 a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--navy), var(--navy)) 0 100% / 0 2px no-repeat; transition: background-size .3s; }
.bcard:hover h2 a, .bcard:hover h3 a { background-size: 100% 2px; }
.bcard p { margin: 0; color: #64748B; font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bmeta { display: flex; align-items: center; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid #F1F0FB; color: #94A3B8; font-size: .8rem; }
.bmeta > span { display: inline-flex; align-items: center; gap: 5px; }
.bmore { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: var(--navy); font-weight: 600; text-decoration: none; }
.bmore .ic { transition: transform .2s; }
.bcard:hover .bmore .ic { transform: translateX(4px); }
.bcard.feat { border: 2px solid var(--navy); }
.bcard.feat .bcover { position: relative; }
.new-tag { position: absolute; z-index: 1; top: 12px; right: 12px; padding: 3px 11px; border-radius: 99px; background: var(--orange); color: #fff; font-size: .74rem; font-weight: 700; box-shadow: 0 6px 14px rgba(249,115,22,.35); }
.bcover { position: relative; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 36px 0 10px; }
.pg, .pg-arrow { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid #E2E4F3; background: #fff; color: #334155; font-weight: 600; text-decoration: none; transition: all .15s; }
.pg:hover, .pg-arrow:hover { border-color: var(--navy); color: var(--navy); }
.pg.on { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 8px 18px rgba(26,0,170,.25); }
.pg-arrow:not(.nx) .ic { transform: rotate(180deg); }
.bcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 30px 0; padding: 22px 24px; border-radius: 20px; background: radial-gradient(400px 160px at 100% 0%, rgba(249,115,22,.3), transparent 70%), linear-gradient(135deg, #2A10C9, #1A00AA); color: #fff; box-shadow: 0 20px 44px rgba(26,0,170,.22); }
.bcta b { display: block; font-size: 1.12rem; color: #fff; }
.bcta span { display: block; color: #C7D2FE; font-size: .92rem; }
.bcta.wide { margin-top: 44px; }

/* article */
.readbar { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.readbar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy), var(--orange)); transition: width .1s linear; }
.bp-head { padding: clamp(30px, 5vw, 56px) 0 26px; background: radial-gradient(800px 300px at 90% -20%, #E4DEFF, transparent 60%), radial-gradient(600px 260px at -10% 120%, #FFEAD5, transparent 55%), linear-gradient(180deg, #F7F6FF, #fff); }
.bp-head-in { max-width: 900px; }
.bp-head h1 { margin: 14px 0 12px; font-size: clamp(1.7rem, 3.8vw, 2.6rem); letter-spacing: -.02em; line-height: 1.2; }
.bp-head .lead { color: #475569; font-size: 1.1rem; }
.bp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 18px; color: #64748B; font-size: .88rem; }
.bp-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.bp-author { gap: 10px !important; padding-right: 16px; border-right: 1px solid #E2E8F0; }
.bp-author b { display: block; color: var(--ink); font-size: .9rem; }
.bp-author small { display: block; font-size: .76rem; }
@media (max-width: 640px) { .bp-author { border: 0; width: 100%; } }
.bp-cover { max-width: 1060px; margin-top: 6px; }
.bp-cover img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 26px 60px rgba(26,0,170,.16); }
.bp-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 46px; align-items: start; padding-top: 38px; padding-bottom: 50px; max-width: 1180px; }
@media (max-width: 1000px) { .bp-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.bp-side { position: sticky; top: 90px; display: grid; gap: 16px; }
@media (max-width: 1000px) { .bp-side { position: static; } .bp-side-cta { display: none; } }
.bp-toc { position: static; max-height: calc(100vh - 340px); overflow-y: auto; }
@media (max-width: 1000px) { .bp-toc { max-height: none; } }
.bp-side-cta { padding: 18px; border-radius: 18px; background: linear-gradient(160deg, #FFF7ED, #fff); border: 1px solid #FED7AA; }
.bp-side-cta b { display: block; margin: 8px 0 4px; color: var(--ink); }
.bp-side-cta p { margin: 0 0 12px; color: #64748B; font-size: .86rem; }
.bsc-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--orange); color: #fff; }
.bsc-link { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; font-size: .84rem; font-weight: 600; }

/* article body */
.bp-body { max-width: 780px; font-size: 1.07rem; line-height: 1.8; color: #1E293B; }
.bp-body > p:first-child { font-size: 1.15rem; color: #334155; }
.bp-body h2 { position: relative; margin: 2em 0 .7em; padding-top: 6px; font-size: clamp(1.35rem, 2.6vw, 1.65rem); scroll-margin-top: 90px; }
.bp-body h2::before { content: ""; display: block; width: 46px; height: 4px; margin-bottom: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--navy), var(--orange)); }
.bp-body h3 { margin: 1.6em 0 .5em; font-size: 1.18rem; color: var(--navy); scroll-margin-top: 90px; }
.bp-body p { margin: 0 0 1.05em; }
.bp-body a { color: var(--navy); font-weight: 500; text-decoration-thickness: 1.5px; }
.bp-body strong { color: var(--ink); }
.bp-body ul, .bp-body ol { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.bp-body ul li, .bp-body ol li { position: relative; margin: .5em 0; padding-left: 30px; }
.bp-body ul li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 9px; height: 9px; border-radius: 3px; transform: rotate(45deg); background: linear-gradient(135deg, var(--navy-2), var(--orange)); }
.bp-body ol { counter-reset: li; }
.bp-body ol li { counter-increment: li; }
.bp-body ol li::before { content: counter(li); position: absolute; left: 0; top: .15em; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--tint); color: var(--navy); font-size: .76rem; font-weight: 700; }
.bp-body code { padding: 2px 7px; border-radius: 6px; background: #F1F0FF; color: #4C1D95; font-size: .88em; }
.bp-body blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--orange); border-radius: 0 16px 16px 0; background: #FFF9F3; font-style: italic; color: #7C2D12; }
.bp-body blockquote p { margin: 0; }
.bfig { margin: 1.8em 0; }
.bfig img { width: 100%; height: auto; border-radius: 18px; border: 1px solid #ECEAFD; box-shadow: 0 16px 40px rgba(26,0,170,.1); }
.bfig figcaption { margin-top: 10px; text-align: center; color: #64748B; font-size: .86rem; font-style: italic; }
.btable { margin: 1.5em 0; overflow-x: auto; border: 1px solid #E4E2FB; border-radius: 16px; box-shadow: var(--shadow); }
.btable table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.55; }
.btable th { padding: 12px 14px; background: linear-gradient(135deg, #2A10C9, #1A00AA); color: #fff; text-align: left; font-weight: 600; white-space: nowrap; }
.btable td { padding: 11px 14px; border-top: 1px solid #EEECFB; vertical-align: top; }
.btable tr:nth-child(even) td { background: #FAFAFF; }
.btable tbody tr:hover td { background: #F1F0FF; }
@media (max-width: 640px) { .btable th { white-space: normal; } }
.bcall { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; margin: 1.6em 0; padding: 18px 20px; border-radius: 18px; border: 1px solid; font-size: 1rem; }
.bcall > div > b { display: block; margin-bottom: 4px; font-size: 1.02rem; }
.bcall > div > :last-child { margin-bottom: 0; }
.bcall p { margin: 0 0 .6em; }
.bcall .bi { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 800; font-size: 1.05rem; font-style: normal; }
.bcall.k-tip { background: #F0F9FF; border-color: #BAE6FD; } .bcall.k-tip .bi { background: #0EA5E9; color: #fff; } .bcall.k-tip b { color: #075985; }
.bcall.k-note { background: #F5F3FF; border-color: #DDD6FE; } .bcall.k-note .bi { background: var(--navy); color: #fff; } .bcall.k-note b { color: var(--navy); }
.bcall.k-warn { background: #FFF7ED; border-color: #FED7AA; } .bcall.k-warn .bi { background: var(--orange); color: #fff; } .bcall.k-warn b { color: #9A3412; }
.bcall.k-ok { background: #F0FDF4; border-color: #BBF7D0; } .bcall.k-ok .bi { background: #16A34A; color: #fff; } .bcall.k-ok b { color: #166534; }
.bsteps { list-style: none; margin: 1.6em 0; padding: 0 !important; display: grid; gap: 12px; counter-reset: none; }
.bsteps li { display: grid !important; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; margin: 0 !important; padding: 16px 18px !important; border-radius: 16px; background: #fff; border: 1px solid #E8E6F8; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.bsteps li::before { display: none !important; }
.bsteps li:hover { transform: translateX(4px); border-color: #C7D2FE; }
.bsteps .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; font-weight: 800; font-size: 1.05rem; box-shadow: 0 8px 18px rgba(26,0,170,.22); }
.bp-body .bcta { margin: 2em 0; }
.bp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 780px; margin-top: 30px; padding-top: 20px; border-top: 1px solid #EEECFB; color: #94A3B8; }
.bp-tags a { padding: 5px 12px; border-radius: 99px; background: #F4F5FB; color: #475569; font-size: .84rem; text-decoration: none; }
.bp-tags a:hover { background: var(--tint); color: var(--navy); }
.bp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 780px; margin-top: 18px; color: #64748B; font-size: .9rem; }
.bp-share > span { margin-right: 4px; font-weight: 600; }
.bp-share a, .bp-share button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid #E2E4F3; background: #fff; color: var(--navy); font: 700 .88rem var(--font); text-decoration: none; cursor: pointer; }
.bp-share a:hover, .bp-share button:hover { background: var(--tint); }
.bp-authorbox { display: flex; gap: 16px; align-items: flex-start; max-width: 780px; margin-top: 28px; padding: 20px; border-radius: 18px; background: linear-gradient(160deg, #F7F6FF, #fff); border: 1px solid #ECEAFD; }
.bp-authorbox b { color: var(--ink); }
.bp-authorbox p { margin: 4px 0 0; color: #475569; font-size: .92rem; }
.bp-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 780px; margin-top: 26px; }
@media (max-width: 640px) { .bp-nav { grid-template-columns: 1fr; } }
.bp-nav a { display: block; padding: 16px 18px; border-radius: 16px; border: 1px solid #E8E6F8; background: #fff; text-decoration: none; transition: border-color .2s, transform .2s; }
.bp-nav a:hover { border-color: #A5B4FC; transform: translateY(-2px); }
.bp-nav small { display: inline-flex; align-items: center; gap: 5px; color: #94A3B8; font-size: .8rem; }
.bp-nav .prev small .ic { transform: rotate(180deg); }
.bp-nav b { display: block; margin-top: 4px; color: var(--ink); font-size: .95rem; line-height: 1.4; }
.bp-nav .next { text-align: right; }
.bp-related .bgrid { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .bcard, .bcover img, .bsteps li { transition: none; } }
