/* ══════════ xtanishuv.uz/blog — landing.css ustidan (o'sha ranglar, shriftlar, tun/kun rejimi) ══════════ */
.blog { --rd: 28px; --ink: var(--t1); --muted: var(--t3); }
.blog .bgfx .blob { opacity: calc(var(--blob-op) * .55); }
.bl-main { position: relative; z-index: 1; padding-top: 100px; min-height: 70vh; }
.nav-links a.on { color: var(--t1); background: var(--card2); }
.blog [hidden] { display: none !important; }

/* ═══ Bosh qism ═══ */
.bl-hero { padding-top: 34px; padding-bottom: 30px; text-align: center; }
.bl-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: .01em;
  color: var(--accent-t); background: color-mix(in srgb, var(--red) 10%, transparent); border: 1px solid color-mix(in srgb, var(--red) 22%, transparent); }
.bl-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 22%, transparent); }
.bl-hero h1 { margin: 20px auto 14px; max-width: 760px; font-size: clamp(36px, 6.2vw, 64px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; color: var(--t1); }
.bl-hero h1 em { font-family: 'Instrument Serif', serif; font-weight: 400; font-style: italic; color: var(--accent-t); letter-spacing: -.01em; }
.bl-hero p { max-width: 580px; margin: 0 auto; font-size: 17.5px; line-height: 1.6; color: var(--t2); }
.bl-search { display: flex; align-items: center; gap: 10px; max-width: 460px; margin: 26px auto 0; padding: 0 18px; height: 52px; border-radius: 99px;
  background: var(--panel); border: 1px solid var(--line2); box-shadow: 0 8px 30px var(--shadow); transition: border-color .2s, box-shadow .2s; }
.bl-search:focus-within { border-color: color-mix(in srgb, var(--red) 55%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 14%, transparent), 0 8px 30px var(--shadow); }
.bl-search svg { width: 19px; height: 19px; color: var(--t3); flex-shrink: 0; }
.bl-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--t1); }
.bl-search input::placeholder { color: var(--t3); }

/* Toifalar */
.bl-cats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 28px; }
.bl-cats a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 16px; border-radius: 99px; font-size: 14.5px; font-weight: 600;
  color: var(--t2); background: var(--card); border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.bl-cats a:hover { border-color: var(--line2); color: var(--t1); }
.bl-cats a b { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; background: var(--card2); color: var(--t3); }
.bl-cats a.on { color: #fff; background: linear-gradient(135deg, #F2463F, #C8141E); border-color: transparent; box-shadow: 0 6px 18px rgba(200,20,30,.22); }
.bl-cats a.on b { background: rgba(255,255,255,.22); color: #fff; }

/* ═══ Kartalar ═══ */
.bc { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--rd); color: inherit;
  background: var(--panel); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.bc:hover { transform: translateY(-5px); border-color: var(--line2); box-shadow: 0 22px 50px var(--shadow); }
.bc-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: color-mix(in srgb, var(--ac) 30%, var(--panel)); }
.bc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.bc:hover .bc-img img { transform: scale(1.045); }
.bc-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--ac); }
.bc-ph svg { width: 64px; height: 64px; }
.bc-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 20px; }
.bc-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--t3); }
.bc-tag { padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; letter-spacing: .01em;
  color: color-mix(in srgb, var(--ac) 80%, var(--t1)); background: color-mix(in srgb, var(--ac) 14%, transparent); }
.bc-new { margin-left: auto; padding: 4px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--red); }
.bc-t { font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--t1); text-wrap: balance; }
.bc-ex { font-size: 15px; line-height: 1.55; color: var(--t2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bc-bot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.bc-meta { display: flex; gap: 14px; font-size: 13px; color: var(--t3); }
.bc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.bc-meta svg { width: 15px; height: 15px; }
.bc-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--t1); }
.bc-more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.bc:hover .bc-more svg { transform: translateX(4px); }

.bc-feat { flex-direction: row; margin-bottom: 20px; }
.bc-feat .bc-img { width: 56%; flex-shrink: 0; aspect-ratio: auto; min-height: 340px; }
.bc-feat .bc-body { padding: 34px 36px; justify-content: center; gap: 14px; }
.bc-feat .bc-t { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -.03em; }
.bc-feat .bc-ex { font-size: 16.5px; -webkit-line-clamp: 4; }
.bc-feat .bc-bot { border-top: 0; padding-top: 8px; }

.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bl-empty { padding: 56px 20px; text-align: center; color: var(--t3); font-size: 15.5px; }

/* Pastki chaqiruv */
.bl-cta { display: flex; align-items: center; gap: 18px; margin: 54px 0 70px; padding: 24px 26px; border-radius: var(--rd);
  background: linear-gradient(120deg, color-mix(in srgb, var(--red) 16%, var(--panel)), var(--panel) 60%); border: 1px solid var(--line); }
.bl-cta img { border-radius: 16px; flex-shrink: 0; }
.bl-cta div { flex: 1; min-width: 0; }
.bl-cta b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--t1); }
.bl-cta span { color: var(--t2); font-size: 15px; }

/* ═══ Maqola ═══ */
.bl-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 3px; pointer-events: none; }
.bl-progress i { display: block; height: 100%; background: linear-gradient(90deg, #FF8A5B, #F2463F, #C8141E); transform-origin: 0 50%; transform: scaleX(0); }

.bl-art { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.bl-ah { max-width: 780px; margin: 22px auto 0; text-align: center; }
.bl-crumbs { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--t3); }
.bl-crumbs a { color: var(--t2); transition: color .2s; }
.bl-crumbs a:hover { color: var(--t1); }
.bl-crumbs a:last-child { color: color-mix(in srgb, var(--ac) 75%, var(--t1)); }
.bl-ah h1 { margin: 16px 0 14px; font-size: clamp(32px, 5.2vw, 54px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; color: var(--t1); text-wrap: balance; }
.bl-lead { margin: 0 auto; max-width: 660px; font-size: 19px; line-height: 1.55; color: var(--t2); text-wrap: pretty; }
.bl-by { display: flex; align-items: center; gap: 12px; max-width: 640px; margin: 26px auto 0; padding: 12px 14px; border-radius: 20px; text-align: left;
  background: var(--card); border: 1px solid var(--line); }
.bl-by img { border-radius: 12px; flex-shrink: 0; }
.bl-by > div:nth-child(2) { flex: 1; min-width: 0; }
.bl-by b { display: block; font-size: 15px; color: var(--t1); }
.bl-by span { font-size: 13px; color: var(--t3); }
.bl-by-st { display: flex; gap: 14px; flex-shrink: 0; }
.bl-by-st span { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; }
.bl-by-st b { display: inline; font-size: 14px; }
.bl-by-st svg { width: 17px; height: 17px; color: var(--t3); }

.bl-cover { margin: 34px auto 0; max-width: 1080px; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px var(--shadow); }
.bl-cover img { display: block; width: 100%; height: auto; }

.bl-layout { display: grid; grid-template-columns: 230px minmax(0, 700px); gap: 56px; justify-content: center; margin-top: 46px; }
.bl-side { position: relative; }
.bl-side-in { position: sticky; top: 100px; }
.bl-toc { padding-left: 14px; border-left: 2px solid var(--line); }
.bl-toc b { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); }
.bl-toc ol { list-style: none; display: grid; gap: 2px; }
.bl-toc a { display: block; position: relative; padding: 6px 0; font-size: 14px; line-height: 1.35; color: var(--t3); transition: color .2s; }
.bl-toc a:hover { color: var(--t1); }
.bl-toc a.on { color: var(--t1); font-weight: 600; }
.bl-toc a.on::before { content: ''; position: absolute; left: -16px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--ac); }
.bl-side-sh { display: flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 13px; color: var(--t3); }
.bl-ib { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line2);
  background: var(--card); color: var(--t1); cursor: pointer; transition: transform .15s, background .2s; }
.bl-ib svg { width: 17px; height: 17px; }
.bl-ib.tg { color: #fff; background: #2AABEE; border-color: transparent; }
.bl-ib.ok { background: var(--green); color: #fff; border-color: transparent; }
.bl-ib:active { transform: scale(.92); }

.bl-toc-m { display: none; margin-bottom: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.bl-toc-m summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; color: var(--t1); }
.bl-toc-m summary::-webkit-details-marker { display: none; }
.bl-toc-m summary i { font-style: normal; font-size: 13px; font-weight: 500; color: var(--t3); }
.bl-toc-m ol { padding: 0 16px 14px 34px; display: grid; gap: 8px; font-size: 15px; }
.bl-toc-m a { color: var(--t2); }

/* Matn — o'qish uchun */
.bl-content { font-size: 18px; line-height: 1.78; color: var(--t2); letter-spacing: -.003em; }
.bl-content > * + * { margin-top: 1.05em; }
.bl-content h2 { margin-top: 2.1em; scroll-margin-top: 100px; font-size: 28px; line-height: 1.22; letter-spacing: -.025em; font-weight: 800; color: var(--t1); text-wrap: balance; }
.bl-content h2::before { content: ''; display: block; width: 36px; height: 4px; margin-bottom: 16px; border-radius: 4px; background: var(--ac); }
.bl-content h3 { margin-top: 1.7em; scroll-margin-top: 100px; font-size: 21px; font-weight: 800; letter-spacing: -.015em; color: var(--t1); }
.bl-content > p:first-child { font-size: 19.5px; color: var(--t1); }
.bl-content strong { color: var(--t1); font-weight: 700; }
.bl-content a { color: var(--accent-t); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.bl-content kbd { padding: 2px 8px; border-radius: 7px; font: inherit; font-size: .88em; font-weight: 600; color: var(--t1); background: var(--card2); border: 1px solid var(--line2); }
.bl-content ul { padding-left: 0; list-style: none; }
.bl-content ul li { position: relative; padding-left: 26px; }
.bl-content ul li + li { margin-top: .55em; }
.bl-content ul li::before { content: ''; position: absolute; left: 6px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--ac); }
/* Raqamli ro'yxat — qadamlar */
.bl-steps { list-style: none; counter-reset: st; display: grid; gap: 12px; }
.bl-steps li { counter-increment: st; position: relative; padding: 14px 16px 14px 58px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); line-height: 1.6; }
.bl-steps li::before { content: counter(st); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: #fff; background: var(--ac); }
.bl-content blockquote { padding: 18px 22px; border-radius: 20px; color: var(--t1); background: var(--card); border-left: 4px solid var(--ac); font-size: 17px; }
.bl-content hr { border: 0; height: 1px; background: var(--line2); margin: 2.4em 0; }
/* Eslatma bloklari */
.bl-note { display: flex; gap: 14px; padding: 18px 20px; border-radius: 20px; border: 1px solid; line-height: 1.6; }
.bl-note > div { flex: 1; min-width: 0; }
.bl-note b { display: block; margin-bottom: 3px; font-size: 15px; color: var(--t1); }
.bl-note p { margin: 0; font-size: 16.5px; }
.bl-note-ic { width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; }
.bl-note-ic svg { width: 19px; height: 19px; }
.bl-note.tip  { background: color-mix(in srgb, #30D158 9%, transparent); border-color: color-mix(in srgb, #30D158 28%, transparent); }
.bl-note.tip .bl-note-ic { background: #26B04E; }
.bl-note.info { background: color-mix(in srgb, #0A84FF 9%, transparent); border-color: color-mix(in srgb, #0A84FF 28%, transparent); }
.bl-note.info .bl-note-ic { background: #0A84FF; }
.bl-note.warn { background: color-mix(in srgb, #FF9F0A 10%, transparent); border-color: color-mix(in srgb, #FF9F0A 32%, transparent); }
.bl-note.warn .bl-note-ic { background: #F08A00; }
/* Rasm */
.bl-fig { margin-top: 1.8em !important; margin-bottom: .4em; }
.bl-fig img { display: block; width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--line); background: var(--card); }
.bl-fig figcaption { margin-top: 10px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--t3); }

/* Ulashish — brend rangidagi doiralar */
.bl-share { margin-top: 54px; padding: 26px 24px 24px; border-radius: 28px; text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--ac) 14%, var(--card)), var(--card) 70%); border: 1px solid var(--line); }
.bl-share-hd b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--t1); }
.bl-share-hd span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--t3); }
.bl-share-hd span b { display: inline; font-size: inherit; letter-spacing: 0; color: var(--t1); }
.bl-share-g { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 20px; }
.shb { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 66px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--t2); }
.shb i { position: relative; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 8px 20px var(--sc, rgba(0,0,0,.2)), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .35s cubic-bezier(.34,1.6,.5,1), box-shadow .3s; }
.shb i svg { width: 25px; height: 25px; }
.shb span { font-size: 12.5px; font-weight: 600; transition: color .2s; }
.shb:hover i { transform: translateY(-5px) scale(1.06); box-shadow: 0 14px 30px var(--sc, rgba(0,0,0,.25)), inset 0 1px 0 rgba(255,255,255,.25); }
.shb:hover span { color: var(--t1); }
.shb:active i { transform: scale(.92); }
.shb.tg i { background: linear-gradient(160deg, #37BBFE, #1E96D8); --sc: rgba(42,171,238,.35); }
.shb.wa i { background: linear-gradient(160deg, #4AE07A, #1FAF55); --sc: rgba(37,211,102,.32); }
.shb.xx i { background: #111; --sc: rgba(0,0,0,.35); }
html[data-theme="dark"] .shb.xx i { background: #fff; color: #000; }
.shb.fb i { background: linear-gradient(160deg, #3B8BFF, #1565E8); --sc: rgba(24,119,242,.32); }
.shb.cp i, .shb.mo i { background: var(--panel); color: var(--t1); border: 1px solid var(--line2); --sc: var(--shadow); }
.shb.ok i { background: var(--green); color: #fff; border-color: transparent; }
.shb.ok i svg { animation: shbOk .5s cubic-bezier(.34,1.6,.5,1); }
@keyframes shbOk { from { transform: scale(.4) rotate(-20deg); } }
.bl-app { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 18px 20px; border-radius: 24px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--red) 14%, var(--card)), var(--card) 65%); border: 1px solid var(--line); }
.bl-app img { border-radius: 14px; flex-shrink: 0; }
.bl-app div { flex: 1; min-width: 0; }
.bl-app b { display: block; font-size: 17px; color: var(--t1); }
.bl-app span { font-size: 14px; color: var(--t2); }
.bl-app .btn { padding: 13px 24px; font-size: 15px; }

.bl-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.bl-pn a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.bl-pn a:hover { border-color: var(--line2); transform: translateY(-2px); }
.bl-pn .next { text-align: right; }
.bl-pn small { font-size: 13px; font-weight: 600; color: var(--t3); }
.bl-pn b { font-size: 15.5px; line-height: 1.35; color: var(--t1); }

.bl-more { margin-top: 64px; margin-bottom: 80px; }
.bl-more h2 { margin-bottom: 18px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--t1); }
.bl-more-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bl-more-g a { display: flex; flex-direction: column; gap: 6px; }
.bl-more-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; margin-bottom: 8px; border-radius: 20px; overflow: hidden; color: #fff; background: var(--ac); border: 1px solid var(--line); }
.bl-more-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.bl-more-img svg { width: 48px; height: 48px; }
.bl-more-g a:hover img { transform: scale(1.04); }
.bl-more-g small { font-size: 13px; color: var(--t3); }
.bl-more-g b { font-size: 17px; line-height: 1.3; color: var(--t1); }

.bl-404 { text-align: center; padding: 90px 20px; }
.bl-404 h1 { font-size: 38px; color: var(--t1); margin-bottom: 10px; }
.bl-404 p { color: var(--t2); margin-bottom: 26px; }

/* ═══ Moslashuv ═══ */
@media (max-width: 1060px) {
  .bl-layout { grid-template-columns: minmax(0, 720px); gap: 0; }
  .bl-side { display: none; }
  .bl-toc-m { display: block; }
}
@media (max-width: 900px) {
  .bl-grid, .bl-more-g { grid-template-columns: repeat(2, 1fr); }
  .bc-feat { flex-direction: column; }
  .bc-feat .bc-img { width: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .bc-feat .bc-body { padding: 22px 24px; }
}
@media (max-width: 640px) {
  .bl-main { padding-top: 84px; }
  .bl-hero { padding-top: 22px; }
  .bl-grid, .bl-more-g { grid-template-columns: 1fr; gap: 16px; }
  .bc { --rd: 24px; }
  .bc-feat .bc-t { font-size: 25px; }
  .bl-cats { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .bl-cats::-webkit-scrollbar { display: none; }
  .bl-cats a { flex-shrink: 0; }
  .bl-cta { flex-direction: column; text-align: center; padding: 26px 20px; }
  .bl-cta .btn { width: 100%; }
  .bl-ah { text-align: left; }
  .bl-lead { font-size: 17.5px; }
  .bl-by { flex-wrap: wrap; }
  .bl-by-st { width: 100%; padding-top: 10px; border-top: 1px solid var(--line); }
  .bl-cover { margin-top: 24px; margin-left: -8px; margin-right: -8px; border-radius: 24px; }
  .bl-layout { margin-top: 30px; }
  .bl-content { font-size: 17px; line-height: 1.75; }
  .bl-content > p:first-child { font-size: 18px; }
  .bl-content h2 { font-size: 23.5px; }
  .bl-steps li { padding-left: 54px; }
  .bl-fig img { border-radius: 18px; }
  .bl-share { flex-direction: column; align-items: stretch; }
  .bl-sh { flex: 1; justify-content: center; }
  .bl-app { flex-wrap: wrap; }
  .bl-app .btn { width: 100%; }
  .bl-pn { grid-template-columns: 1fr; }
  .bl-pn .next { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .bc, .bc-img img, .bl-more-img img { transition: none; }
}

/* ═══ Animatsiyalar ═══ */
/* Sarlavha yuklanganda navbatma-navbat ko'tariladi */
.js .bl-in > * { opacity: 0; transform: translateY(16px); animation: blUp .7s var(--ease) forwards; }
.js .bl-in > :nth-child(1) { animation-delay: .05s; }
.js .bl-in > :nth-child(2) { animation-delay: .12s; }
.js .bl-in > :nth-child(3) { animation-delay: .2s; }
.js .bl-in > :nth-child(4) { animation-delay: .28s; }
@keyframes blUp { to { opacity: 1; transform: none; } }
.js .bl-in-cov { opacity: 0; transform: translateY(26px) scale(.97); animation: blCov .9s var(--ease) .3s forwards; }
@keyframes blCov { to { opacity: 1; transform: none; } }
.bl-cover img { transition: transform 1.2s var(--ease); }
.bl-cover:hover img { transform: scale(1.02); }
.js .bl-hero > * { opacity: 0; transform: translateY(14px); animation: blUp .7s var(--ease) forwards; }
.js .bl-hero > :nth-child(2) { animation-delay: .08s; }
.js .bl-hero > :nth-child(3) { animation-delay: .16s; }
.js .bl-hero > :nth-child(4) { animation-delay: .24s; }
/* Ekranga kirganda paydo bo'lish */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .bl-fig.rv { transform: translateY(30px) scale(.98); }
.js .bl-fig.rv.in { transform: none; }
.js .bl-content h2.rv::before { width: 0; transition: width .8s var(--ease) .15s; }
.js .bl-content h2.rv.in::before { width: 36px; }
/* Eslatma belgisi yengil "nafas oladi" */
.bl-note-ic { animation: blPulse 3.2s ease-in-out infinite; }
@keyframes blPulse { 50% { transform: scale(1.07); } }
/* O'qish chizig'i uchida nur */
.bl-progress i { box-shadow: 0 0 12px rgba(242,70,63,.6); }
/* Mundarija havolalari */
.bl-toc a { transition: color .2s, padding-left .25s var(--ease); }
.bl-toc a.on { padding-left: 4px; }
@media (prefers-reduced-motion: reduce) {
  .js .bl-in > *, .js .bl-in-cov, .js .bl-hero > *, .js .rv { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .bl-note-ic { animation: none; }
}

/* ═══ Ijtimoiy tarmoqlar (blog pastida) — ixcham kapsula ═══ */
.bl-follow { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 640px; margin: 0 auto 34px;
  padding: 10px 10px 10px 22px; border-radius: 99px; background: var(--card); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.bl-follow-hd { min-width: 0; }
.bl-follow-hd b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; color: var(--t1); }
.bl-follow-hd span { display: block; font-size: 12.5px; color: var(--t3); }
.bl-follow-g { display: flex; gap: 8px; }
.soc-c { position: relative; display: block; }
.soc-ic { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 16px var(--shadow); transition: transform .35s cubic-bezier(.34,1.6,.5,1), box-shadow .3s; }
.soc-ic svg { width: 21px; height: 21px; }
.soc-c:hover .soc-ic { transform: translateY(-4px) scale(1.06); }
.soc-c:active .soc-ic { transform: scale(.92); }
.soc-c.ig .soc-ic { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.soc-c.tg .soc-ic { background: linear-gradient(160deg, #37BBFE, #1E96D8); }
.soc-c.yt .soc-ic { background: #FF0033; }
.soc-c.x .soc-ic { background: #111; }
html[data-theme="dark"] .soc-c.x .soc-ic { background: #fff; color: #000; }
/* Ustiga borilganda — havola nomi */
.soc-tip { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); padding: 5px 10px; border-radius: 99px;
  white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--t1); background: var(--panel); border: 1px solid var(--line2);
  box-shadow: 0 6px 16px var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
.soc-c:hover .soc-tip, .soc-c:focus-visible .soc-tip { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 520px) {
  .bl-follow { flex-direction: column; text-align: center; padding: 16px; border-radius: 26px; gap: 12px; }
}

/* Rasmni kattalashtirish (lightbox) */
.bl-zoom { cursor: zoom-in; transition: transform .25s var(--ease), box-shadow .25s; }
.bl-zoom:hover { box-shadow: 0 14px 40px rgba(0,0,0,.25); }
.bl-zoom:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
html.bl-lb-on { overflow: hidden; }
.bl-lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 56px 16px 40px; background: rgba(8,8,12,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s; cursor: zoom-out; }
.bl-lb[hidden] { display: none; }
.bl-lb.on { opacity: 1; }
.bl-lb figure { margin: 0; max-width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; transform: scale(.94); transition: transform .3s var(--ease); }
.bl-lb.on figure { transform: none; }
.bl-lb img { display: block; max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 14px; cursor: default; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.bl-lb figcaption { margin-top: 14px; color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.5; text-align: center; max-width: 700px; }
.bl-lb figcaption:empty { display: none; }
.bl-lb button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .2s; }
.bl-lb button:hover { background: rgba(255,255,255,.24); }
.bl-lb button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bl-lb-x { top: 12px; right: 12px; }
.bl-lb-p { left: 16px; top: 50%; margin-top: -22px; }
.bl-lb-n { right: 16px; top: 50%; margin-top: -22px; }
.bl-lb-c { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 13px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .bl-lb { padding: 56px 8px 32px; }
  .bl-lb-nav { top: auto !important; bottom: 14px; margin: 0 !important; width: 40px; height: 40px; }
  .bl-lb-p { left: calc(50% - 52px); }
  .bl-lb-n { right: calc(50% - 52px); }
  .bl-lb img { max-height: calc(100vh - 180px); border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) { .bl-lb, .bl-lb figure, .bl-zoom { transition: none; } }

/* ═══════════ BLOG v2 - "jurnal" ko'rinishi: maqolalar birma-bir, faqat rasm va matn ═══════════
   blog/index.php → .bf; blog/post.php → .bl-one; blog/_lib.php → .bl-flow, .bl-q, em.q */

/* ── Ro'yxat: maqolalar ketma-ket, bitta ustun ── */
.bf { display: grid; gap: 46px; max-width: 720px; margin: 8px auto 0; }
.bf .bf-i { display: block; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.bf .bf-i:hover { transform: none; box-shadow: none; }
.bf .bc-img { border-radius: 22px; box-shadow: 0 18px 40px -22px var(--shadow); }
.bf .bf-i:hover .bc-img img { transform: scale(1.025); }
.bf-b { display: block; padding: 18px 2px 0; }
.bf-k { display: flex; align-items: baseline; gap: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ac); }
.bf-k i { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--t3); }
.bf-t { display: block; margin-top: 8px; font-size: clamp(23px, 3.4vw, 30px); line-height: 1.18; font-weight: 800; letter-spacing: -.025em; color: var(--t1); text-wrap: balance; transition: color .2s; }
.bf-i:hover .bf-t { color: var(--accent-t); }
.bf-ex { display: block; margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--t2); text-wrap: pretty; }

/* ── Maqola: bitta ustun, mundarija va hisoblagichlarsiz ── */
.bl-layout.bl-one { display: block; max-width: 680px; margin: 40px auto 0; }
.bl-ah { max-width: 680px; text-align: left; }
.bl-ah .bl-crumbs { justify-content: flex-start; }
.bl-ah h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; }
.bl-lead { margin: 0; max-width: none; font-size: 19px; font-style: italic; color: var(--t2); }
.bl-ah .bl-by { display: flex; gap: 16px; max-width: none; margin: 18px 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  font-size: 13.5px; color: var(--t3); }
.bl-ah .bl-by i { font-style: normal; }
.bl-cover { max-width: 880px; margin-left: auto; margin-right: auto; }

/* Matn */
.bl-content { font-size: 18.5px; line-height: 1.8; }
.bl-content h2 { font-size: 27px; margin-top: 2.2em; }
.bl-content h2::before { display: none; }
.bl-content strong { font-weight: 750; }
.bl-content em, .bl-content em.q { font-style: italic; color: var(--t1); }
/* Belgisiz ro'yxat - oddiy qisqa gaplar */
.bl-flow { display: grid; gap: .55em; }
.bl-flow p { margin: 0; }
/* Qadamlar - qutisiz, raqam matn yonida */
.bl-content .bl-steps { gap: .7em; }
.bl-content .bl-steps li { padding: 0 0 0 38px; border: 0; border-radius: 0; background: none; line-height: 1.7; }
.bl-content .bl-steps li::before { left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; background: none; color: var(--ac);
  box-shadow: inset 0 0 0 1.5px var(--ac); }
/* Iqtibos va maslahatlar - nozik chiziq, kursiv serif */
.bl-content .bl-q { position: relative; margin: 2em 0; padding: 4px 0 4px 24px; border: 0; border-radius: 0; background: none; --qc: var(--ac); }
.bl-content .bl-q::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--qc); }
.bl-content .bl-q p { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 23px; line-height: 1.45; color: var(--t1); letter-spacing: 0; }
.bl-content .bl-q p strong { font-family: inherit; font-weight: 400; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--qc) 50%, transparent); text-underline-offset: 4px; }
.bl-content .bl-q em.q { font-style: italic; }
.bl-q-k { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--qc); }
.bl-content .bl-q.tip { --qc: #26B04E; }
.bl-content .bl-q.info { --qc: #0A84FF; }
.bl-content .bl-q.warn { --qc: #F08A00; }
html[data-theme="dark"] .bl-content .bl-q.tip { --qc: #4CD964; }
html[data-theme="dark"] .bl-content .bl-q.warn { --qc: #FFB340; }
/* Rasm - matn kengligidan biroz kattaroq */
.bl-content .bl-fig { margin: 2.2em -4% 1.4em !important; }
.bl-content .bl-fig figcaption { font-style: italic; }

@media (max-width: 640px) {
  .bf { gap: 36px; }
  .bf-ex { font-size: 16px; }
  .bl-content { font-size: 17.5px; }
  .bl-content .bl-q p { font-size: 20px; }
  .bl-content .bl-fig { margin-left: 0 !important; margin-right: 0 !important; }
}

/* Muallif va ko'rishlar - maqola sarlavhasi ostida (yangi dizaynda ham) */
.bl-ah .bl-by { align-items: center; gap: 12px; flex-wrap: nowrap; }
.bl-ah .bl-by img { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.bl-ah .bl-by > div:nth-child(2) { flex: 1; min-width: 0; }
.bl-ah .bl-by b { display: block; font-size: 15px; font-weight: 700; color: var(--t1); line-height: 1.3; }
.bl-ah .bl-by span { font-size: 13px; color: var(--t3); }
.bl-ah .bl-by-st { display: flex; gap: 14px; flex-shrink: 0; }
.bl-ah .bl-by-st span { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; }
.bl-ah .bl-by-st b { display: inline; font-size: 14px; font-weight: 600; color: var(--t2); }
.bl-ah .bl-by-st svg { width: 17px; height: 17px; color: var(--t3); }
@media (max-width: 560px) { .bl-ah .bl-by { flex-wrap: wrap; } .bl-ah .bl-by-st { width: 100%; padding-top: 10px; border-top: 1px solid var(--line); } }
/* Lentadagi kartada: o'qish vaqti, ko'rishlar, ulashishlar */
.bf-b .bc-meta { margin-top: 12px; }
/* "xTanishuv jamoasi" yonidagi tasdiq belgisi (ilovadagi verify.png) */
.bl-ah .bl-by b { display: flex; align-items: center; gap: 4px; }
.bl-ah .bl-by img.bl-ver { width: 17px; height: 17px; border-radius: 0; background: none; box-shadow: none; flex-shrink: 0; }

/* ═══ Blog shriftlari ═══
   Manrope - o'qish uchun qulay, o'zbek lotinidagi ‘ ’ belgilari to'g'ri chiqadi.
   Fraunces (kursiv) - sarlavhadagi urg'u so'zlar va iqtiboslar (Instrument Serif o'rniga). */
body.blog, body.blog button, body.blog input, body.blog textarea, body.blog select, body.blog .lang-btn { font-family: "Onest", -apple-system, "Segoe UI", Roboto, sans-serif; }
body.blog { font-feature-settings: "ss01" off; }
body.blog h1, body.blog h2, body.blog h3, body.blog .bf-t { font-family: "Onest", -apple-system, sans-serif; font-weight: 800; letter-spacing: -.025em; }
body.blog .bl-content { font-size: 17.5px; line-height: 1.75; letter-spacing: -.003em; }
body.blog .bl-content p, body.blog .bl-content li { font-weight: 500; }
body.blog .serif, body.blog .bl-hero h1 em, body.blog .marq span em,
body.blog .bl-content .bl-q p { font-family: Fraunces, Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
body.blog .bl-lead { font-family: Fraunces, Georgia, serif; font-weight: 400; letter-spacing: 0; }
/* Sarlavhalar - Bricolage Grotesque: zamonaviy, xarakterli; Manrope matn bilan yaxshi juftlashadi */
body.blog h1, body.blog h2, body.blog h3, body.blog .bf-t, body.blog .bl-follow-hd b, body.blog .bl-share-hd b {
  font-family: "Onest", -apple-system, sans-serif; font-weight: 700; letter-spacing: -.03em; font-optical-sizing: auto;
}
body.blog h1 { font-weight: 800; letter-spacing: -.035em; }
