/* بلاگ: فهرست، مقاله و نظرات. توکن‌ها (--brand, --ink, ...) از site.css می‌آیند. */
nav a.on { color: var(--brand-dark); background: #e3f7f4; font-weight: 700 }

/* ------------------------------------------------------------------ سربرگ فهرست */
.bl-hero { padding: 44px 0 26px; max-width: 760px }
.bl-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 99px; background: #e3f7f4; color: var(--brand-dark); font-weight: 700; font-size: .85rem; border: 1px solid var(--line) }
.bl-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(31,181,164,.2) }
.bl-hero h1 { margin: 16px 0 12px }
.bl-hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--brand-dark), var(--brand) 60%, #52d3c3); -webkit-background-clip: text; background-clip: text; color: transparent }
.bl-hero p { color: var(--muted); font-size: 1.08rem; max-width: 560px; margin-bottom: 22px }

/* ------------------------------------------------------------------ کارت‌ها */
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 36px }
.bl-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 10px 30px rgba(14,127,116,.07); transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s, border-color .3s }
.bl-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(14,127,116,.18); border-color: rgba(31,181,164,.45) }
.bl-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; color: rgba(255,255,255,.92);
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,.28) 0 2px, transparent 3px) 0 0 / 26px 26px,
        linear-gradient(135deg, hsl(var(--h, 172) 72% 36%), hsl(calc(var(--h, 172) + 38) 78% 56%)) }
.bl-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0, rgba(255,255,255,.22), transparent 55%); pointer-events: none }
.bl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.4,0,.2,1) }
.bl-card:hover .bl-cover img { transform: scale(1.06) }
.bl-cover-ic { position: absolute; left: 50%; top: 50%; width: 38%; max-width: 120px; transform: translate(-50%, -50%) rotate(-6deg); filter: drop-shadow(0 8px 18px rgba(0,0,0,.18)); transition: transform .5s }
.bl-card:hover .bl-cover-ic { transform: translate(-50%, -52%) rotate(0) scale(1.06) }
.bl-pill { position: absolute; top: 14px; right: 14px; z-index: 1; padding: 3px 12px; border-radius: 99px; font-size: .78rem; font-weight: 700; color: var(--brand-dark); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px) }
.bl-pill.is-solid { position: static; display: inline-block; background: #e3f7f4; border: 1px solid var(--line) }
.bl-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 18px; flex: 1 }
.bl-title { font-size: 1.12rem; line-height: 1.7; font-weight: 800 }
.bl-title a { background: linear-gradient(var(--brand), var(--brand)) 100% 100% / 0 2px no-repeat; transition: background-size .35s, color .2s }
.bl-card:hover .bl-title a { color: var(--brand-dark); background-size: 100% 2px }
.bl-sum { color: var(--muted); font-size: .94rem; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
.bl-meta { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-size: .84rem }
.bl-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line) }
.bl-more { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--brand-dark); font-weight: 700 }
.bl-more svg { width: 16px; height: 16px; transition: transform .25s }
.bl-card:hover .bl-more svg { transform: translateX(-4px) }

/* کارت ویژه (جدیدترین مقاله در صفحه‌ی اول) */
.bl-card.is-featured { flex-direction: row; margin-bottom: 26px; min-height: 320px }
.bl-card.is-featured .bl-cover { aspect-ratio: auto; flex: 1.1 }
.bl-card.is-featured .bl-body { flex: 1; padding: 34px 34px 26px; justify-content: center }
.bl-card.is-featured .bl-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.6 }
.bl-card.is-featured .bl-sum { -webkit-line-clamp: 4; font-size: 1.02rem }
.bl-card.is-featured .bl-cover-ic { width: 30%; max-width: 150px }

/* ------------------------------------------------------------------ صفحه‌بندی */
.bl-pager { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px }
.pg-list { display: inline-flex; gap: 6px; align-items: center }
.pg-n, .pg-nav { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 14px;
    background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .95rem; transition: .2s }
.pg-n:hover, .pg-nav:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31,181,164,.18) }
.pg-n.on { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-color: transparent; color: #fff; box-shadow: 0 10px 22px rgba(31,181,164,.35) }
.pg-nav svg { width: 16px; height: 16px }
.pg-nav.is-off { opacity: .45; pointer-events: none }
.pg-gap { color: var(--muted); padding: 0 2px }
.bl-count { text-align: center; color: var(--muted); font-size: .88rem; margin-bottom: 40px }
.bl-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 60px 20px; margin-bottom: 40px; text-align: center; color: var(--muted); background: var(--card); border: 2px dashed var(--line); border-radius: var(--radius) }
.bl-empty b { color: var(--ink); font-size: 1.1rem }

/* ------------------------------------------------------------------ نوار پیشرفت مطالعه */
.bp-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none }
.bp-progress i { display: block; height: 100%; width: 0; margin-inline-start: auto; background: linear-gradient(90deg, var(--brand-dark), var(--brand), #7fe3d6); border-radius: 0 0 3px 3px; transition: width .08s linear }

/* ------------------------------------------------------------------ مقاله */
.bp { padding-top: 26px }
.bp-head { max-width: 860px; margin: 0 auto 26px; text-align: center }
.bp-crumbs { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .88rem; margin-bottom: 18px }
.bp-crumbs a:hover { color: var(--brand-dark) }
.bp-crumbs .cur { color: var(--ink); max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.bp-head h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); margin: 14px 0 14px; line-height: 1.55 }
.bp-lead { color: var(--muted); font-size: 1.1rem; line-height: 2; max-width: 720px; margin: 0 auto 20px }
.bp-meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .9rem }
.bp-m, .bp-author { display: inline-flex; align-items: center; gap: 7px }
.bp-m svg { width: 18px; height: 18px; color: var(--brand) }
.bp-time { padding: 1px 10px; border-radius: 99px; background: #e3f7f4; color: var(--brand-dark); font-weight: 700; font-size: .82rem }
.bp-author { color: var(--ink); font-weight: 700 }
.bp-upd { margin-top: 10px; font-size: .84rem; color: var(--muted) }
.av { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; font-style: normal; font-weight: 800; font-size: .9rem; color: #fff;
    background: linear-gradient(135deg, hsl(var(--h, 172) 65% 40%), hsl(calc(var(--h, 172) + 35) 70% 55%)) }

.bp-cover { position: relative; max-width: 1000px; margin: 0 auto 38px; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 70px rgba(14,127,116,.2); aspect-ratio: 21 / 9;
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,.28) 0 2px, transparent 3px) 0 0 / 28px 28px,
        linear-gradient(135deg, hsl(var(--h, 172) 72% 36%), hsl(calc(var(--h, 172) + 38) 78% 56%)); color: rgba(255,255,255,.92) }
.bp-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 90% at 100% 0, rgba(255,255,255,.25), transparent 55%); pointer-events: none }
.bp-cover img { width: 100%; height: 100%; object-fit: cover; display: block }
.bp-cover.is-gen svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block }
.bp-cover.is-gen svg * { transform-box: fill-box; transform-origin: center }
/* تصویرسازی متحرک: صورتحساب ساخته و امضا می‌شود، بسته‌های داده به سامانه مودیان می‌روند و تأیید می‌شود */
.ill-doc { animation: ill-bob 6s ease-in-out infinite }
.ill-line { stroke-dasharray: 100; animation: ill-draw 7s ease-in-out infinite }
.ill-line.l2 { animation-delay: .25s } .ill-line.l3 { animation-delay: .6s } .ill-line.l4 { animation-delay: .9s }
.ill-line.l5 { animation-delay: 1.2s } .ill-line.l6 { animation-delay: 1.6s }
.ill-stamp { animation: ill-stamp 7s ease-in-out infinite }
.ill-flow { animation: ill-flow 1.2s linear infinite }
.ill-pk { opacity: 0; offset-path: path("M322 170 C 390 100, 480 240, 548 170"); offset-rotate: 0deg; animation: ill-send 3s ease-in-out infinite }
.ill-pk.k2 { animation-delay: 1s } .ill-pk.k3 { animation-delay: 2s }
.ill-pulse { animation: ill-pulse 2.4s ease-out infinite }
.ill-spin { animation: ill-spin 24s linear infinite }
.ill-ring.r1 { animation: ill-breath 5s ease-in-out infinite } .ill-ring.r2 { animation: ill-breath 5s ease-in-out -2.5s infinite }
.ill-check { stroke-dasharray: 100; animation: ill-check 3s ease-in-out infinite }
.ill-pt { animation: ill-float 6s ease-in-out infinite; opacity: .7 }
.ill-pt.p2 { animation-duration: 7s; animation-delay: -1s } .ill-pt.p3 { animation-duration: 5s; animation-delay: -2s } .ill-pt.p4 { animation-duration: 8s; animation-delay: -3s }
.ill-pt.p5 { animation-duration: 6.5s; animation-delay: -4s } .ill-pt.p6 { animation-duration: 5.5s; animation-delay: -1.5s }
.ill-pt.p7 { animation-duration: 7.5s; animation-delay: -2.5s } .ill-pt.p8 { animation-duration: 6s; animation-delay: -3.5s }
@keyframes ill-bob { 50% { transform: translateY(-8px) } }
@keyframes ill-draw { 0% { stroke-dashoffset: 100; opacity: 1 } 22%, 90% { stroke-dashoffset: 0; opacity: 1 } 100% { stroke-dashoffset: 0; opacity: 0 } }
@keyframes ill-stamp { 0%, 40% { transform: scale(0) rotate(-25deg); opacity: 0 } 48% { transform: scale(1.25) rotate(8deg); opacity: 1 } 54%, 90% { transform: scale(1) rotate(0); opacity: 1 } 100% { transform: scale(1); opacity: 0 } }
@keyframes ill-flow { to { stroke-dashoffset: -26 } }
@keyframes ill-send { 0% { offset-distance: 0%; opacity: 0; transform: scale(.6) } 15% { opacity: 1; transform: scale(1) } 85% { opacity: 1 } 100% { offset-distance: 100%; opacity: 0; transform: scale(.5) } }
@keyframes ill-pulse { 0% { transform: scale(.95); opacity: .6 } 100% { transform: scale(1.7); opacity: 0 } }
@keyframes ill-spin { to { transform: rotate(360deg) } }
@keyframes ill-breath { 50% { transform: scale(1.06); opacity: .6 } }
@keyframes ill-check { 0%, 35% { stroke-dashoffset: 100 } 60%, 100% { stroke-dashoffset: 0 } }
@keyframes ill-float { 50% { transform: translateY(-14px) translateX(6px) } }
.ill-pk.d1 { animation-delay: .55s } .ill-pk.d2 { animation-delay: 1.1s } .ill-pk.d3 { animation-delay: 1.65s } .ill-pk.d4 { animation-delay: 2.2s }
.ill-pk.pk-b { offset-path: path("M250 160 C 330 95, 480 235, 548 170") }
.ill-pk.pk-t1a { offset-path: path("M266 170 C 300 125, 330 215, 354 170"); animation-duration: 2.2s }
.ill-pk.pk-t1b { offset-path: path("M446 170 C 470 125, 500 215, 534 170"); animation-duration: 2.2s }
.ill-doc.d2 { animation-delay: -3s }
.ill-glow { animation: ill-glow 2.2s ease-in-out infinite }
.ill-badge { animation: ill-badge 4s ease-in-out infinite }
.ill-print { animation: ill-print 6s ease-in-out infinite }
.ill-blink { animation: ill-blink 1.2s steps(2) infinite }
.ill-buyer { animation: ill-breath 4s ease-in-out infinite }
.ill-nogo { animation: ill-glow 2.6s ease-in-out infinite }
.ill-swipe { animation: ill-swipe 4s ease-in-out infinite }
.ill-okscreen { animation: ill-pop 4s ease-in-out infinite }
.ill-slip { animation: ill-slip 4s ease-in-out infinite }
@keyframes ill-glow { 50% { opacity: .5 } }
@keyframes ill-badge { 0%, 25% { transform: translateY(8px) scale(.85); opacity: 0 } 40%, 88% { transform: none; opacity: 1 } 100% { opacity: 0 } }
@keyframes ill-print { 0% { transform: translateY(150px); opacity: 1 } 35%, 86% { transform: translateY(0); opacity: 1 } 100% { transform: translateY(0); opacity: 0 } }
@keyframes ill-blink { 50% { opacity: .25 } }
@keyframes ill-swipe { 0% { transform: translateX(80px); opacity: 0 } 12% { opacity: 1 } 55%, 90% { transform: translateX(-42px); opacity: 1 } 100% { transform: translateX(-42px); opacity: 0 } }
@keyframes ill-pop { 0%, 52% { opacity: 0; transform: scale(.7) } 64%, 90% { opacity: 1; transform: none } 100% { opacity: 0 } }
@keyframes ill-slip { 0%, 56% { transform: translateY(54px); opacity: 0 } 70%, 90% { transform: none; opacity: 1 } 100% { opacity: 0 } }

.bp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; align-items: start; max-width: 1220px; margin: 0 auto }
.bp-main { min-width: 0 }

/* متن مقاله */
.bp-content { font-size: 1.06rem; line-height: 2.15; color: #17403c }
.bp-content > *:first-child { margin-top: 0 }
.bp-content p { margin: 0 0 1.2em }
.bp-content h2 { font-size: 1.55rem; line-height: 1.7; margin: 2em 0 .7em; padding-right: 16px; position: relative; scroll-margin-top: 96px; color: var(--ink) }
.bp-content h2::before { content: ""; position: absolute; right: 0; top: .35em; bottom: .35em; width: 5px; border-radius: 4px; background: linear-gradient(var(--brand), var(--brand-dark)) }
.bp-content h3 { font-size: 1.2rem; margin: 1.7em 0 .5em; color: var(--brand-dark); scroll-margin-top: 96px }
.bp-content h4 { font-size: 1.05rem; margin: 1.4em 0 .4em }
.bp-content a { color: var(--brand-dark); font-weight: 700; border-bottom: 1.5px solid rgba(31,181,164,.4); transition: .2s }
.bp-content a:hover { background: #e3f7f4; border-color: var(--brand) }
.bp-content ul, .bp-content ol { margin: 0 0 1.3em; padding-right: 1.6em }
.bp-content li { margin-bottom: .45em }
.bp-content li::marker { color: var(--brand); font-weight: 800 }
.bp-content strong, .bp-content b { color: var(--ink) }
.bp-content blockquote { margin: 1.6em 0; padding: 18px 22px; border-radius: 16px; background: linear-gradient(135deg, #fff7e6, #fffbf1); border: 1px solid #f6e3b4; border-right: 5px solid var(--warn); color: #5b4a1a }
.bp-content blockquote p:last-child { margin-bottom: 0 }
.bp-content hr { border: 0; height: 2px; margin: 2.2em 0; background: linear-gradient(90deg, transparent, var(--line), transparent) }
.bp-content img { max-width: 100%; height: auto; border-radius: 16px; margin: 1.2em 0; box-shadow: 0 14px 34px rgba(14,127,116,.14) }
.bp-content code { direction: ltr; unicode-bidi: embed; padding: 2px 8px; border-radius: 8px; background: #eef7f6; font-size: .9em }
.bp-content pre { direction: ltr; text-align: left; overflow-x: auto; padding: 16px 18px; border-radius: 14px; background: #0d2b29; color: #d6f5f0; margin: 1.4em 0 }
.bp-content pre code { background: none; padding: 0; color: inherit }
.bp-content table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.6em 0; font-size: .95rem; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: block; overflow-x: auto; background: var(--card) }
.bp-content table thead, .bp-content table tbody, .bp-content table tr { display: table; width: 100%; table-layout: fixed }
.bp-content th { background: #e3f7f4; color: var(--brand-dark); text-align: right; padding: 12px 14px; font-weight: 800 }
.bp-content td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top }
.bp-content tbody tr:hover td { background: #f6fcfb }
.callout { margin: 1.6em 0; padding: 18px 22px; border-radius: 18px; background: linear-gradient(135deg, #e8f9f6, #f3fcfa); border: 1px solid #bfeae3; position: relative; overflow: hidden }
.callout::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 5px; background: linear-gradient(var(--brand), var(--brand-dark)) }
.callout.callout-warn { background: linear-gradient(135deg, #fff7e6, #fffbf1); border-color: #f6e3b4 }
.callout.callout-warn::before { background: var(--warn) }
.callout b { color: var(--brand-dark) }

/* اشتراک‌گذاری */
.bp-share { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 18px; margin: 38px 0; padding: 18px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line) }
.bp-share-row { display: flex; gap: 8px; flex-wrap: wrap }
.sh { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: .2s }
.sh svg { width: 16px; height: 16px }
.sh:hover { border-color: var(--brand); color: var(--brand-dark); background: #e3f7f4; transform: translateY(-2px) }
.sh.done { background: var(--brand); border-color: var(--brand); color: #fff }

/* ------------------------------------------------------------------ ستون کناری */
.bp-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 12px }
.bp-toc { padding: 14px 14px 8px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(14,127,116,.07) }
.bp-toc > b { display: block; margin-bottom: 6px; font-size: .9rem }
.bp-toc ol { list-style: none; padding: 0; margin: 0; border-right: 2px solid var(--line) }
.bp-toc li a { display: block; padding: 3px 12px 3px 2px; margin-right: -2px; border-right: 2px solid transparent; color: var(--muted); font-size: .78rem; line-height: 1.55; transition: .2s }
.bp-toc li a:hover { color: var(--brand-dark) }
.bp-toc li a.on { color: var(--brand-dark); font-weight: 800; border-right-color: var(--brand); background: linear-gradient(270deg, #e3f7f4, transparent) }
.bp-cta { padding: 16px 18px; border-radius: 20px; color: #fff; background: radial-gradient(120% 90% at 100% 0, rgba(255,255,255,.2), transparent 55%), linear-gradient(135deg, var(--brand-dark), var(--brand)); box-shadow: 0 18px 40px rgba(14,127,116,.3) }
.bp-cta b { font-size: .95rem }
.bp-cta p { margin: 6px 0 12px; font-size: .82rem; opacity: .92; line-height: 1.8 }
.bp-cta .btn { background: #fff; color: var(--brand-dark); padding: 10px 22px; border-radius: 12px }
.bp-cta .btn:hover { background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.2) }

/* ------------------------------------------------------------------ نظرات */
.bc { margin-top: 10px; padding-top: 8px }
.bc h2 { font-size: 1.4rem; display: flex; align-items: center; gap: 10px; margin-bottom: 18px }
.bc-n { min-width: 34px; height: 34px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 99px; background: #e3f7f4; color: var(--brand-dark); font-size: .95rem }
.bc-list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 14px }
.bc-item { display: flex; gap: 14px; align-items: flex-start; animation: bcin .5s ease both }
@keyframes bcin { from { opacity: 0; transform: translateY(10px) } }
.bc-item .av { width: 44px; height: 44px; font-size: 1.05rem; margin-top: 2px }
.bc-box { flex: 1; min-width: 0; padding: 14px 18px; border-radius: 4px 18px 18px 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(14,127,116,.06) }
.bc-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 4px }
.bc-top time { color: var(--muted); font-size: .82rem }
.bc-box p { white-space: pre-line; overflow-wrap: anywhere; line-height: 2; margin: 0; font-size: .98rem }
.bc-empty { padding: 22px; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: 18px; margin-bottom: 8px }
.bc-note { padding: 12px 18px; border-radius: 14px; margin-bottom: 16px; font-weight: 600 }
.bc-note.ok { background: #dcf7e8; color: #12804a; border: 1px solid #b7ecd0 }

.bc-form { margin-top: 26px; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(14,127,116,.1) }
.bc-form h3 { font-size: 1.15rem; margin-bottom: 2px }
.bc-hint { color: var(--muted); font-size: .88rem; margin-bottom: 16px }
.bc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.bc-f { display: block; margin-bottom: 14px; position: relative }
.bc-f > span { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 6px }
.bc-f em { color: #d64545; font-style: normal }
.bc-f input, .bc-f textarea, .bc-cap input { width: 100%; font: inherit; font-size: .98rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 11px 14px; transition: border-color .2s, box-shadow .2s, background .2s }
.bc-f textarea { resize: vertical; min-height: 130px; line-height: 1.95 }
.bc-f input:focus, .bc-f textarea:focus, .bc-cap input:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31,181,164,.18) }
.bc-f input.bad, .bc-f textarea.bad, .bc-cap input.bad { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214,69,69,.12) }
.bc-cnt { position: absolute; left: 12px; bottom: 8px; color: var(--muted); font-size: .76rem; pointer-events: none }
.hp { position: absolute !important; left: -5000px; width: 1px; height: 1px; overflow: hidden }
.bc-cap { display: flex; align-items: center; gap: 10px; margin-bottom: 12px }
.bc-cap img { border-radius: 12px; border: 1.5px solid var(--line); background: #fff; height: 46px; width: auto }
.bc-cap input { max-width: 170px; text-align: center; letter-spacing: 2px }
.bc-rf { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--brand-dark); cursor: pointer; display: grid; place-items: center; transition: .25s }
.bc-rf:hover { border-color: var(--brand); transform: rotate(180deg) }
.bc-rf svg { width: 18px; height: 18px }
.bc-msg { min-height: 24px; margin-bottom: 8px; font-size: .92rem; font-weight: 600 }
.bc-msg.err { color: #d64545 }
.bc-msg.ok { color: #12804a }
.bc-send { padding: 12px 34px }
.bc-send:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none }

/* مقاله‌های مرتبط */
.bp-rel { max-width: 1060px; margin: 54px auto 30px }
.bp-rel h2 { font-size: 1.5rem; margin-bottom: 20px }

/* ------------------------------------------------------------------ واکنش‌گرا */
@media (max-width: 1000px) {
    .bl-grid { grid-template-columns: repeat(2, 1fr) }
    .bp-layout { grid-template-columns: 1fr }
    .bp-side { position: static; order: -1 }
    .bp-cover { aspect-ratio: 16 / 9 }
}
@media (max-width: 760px) {
    .bl-card.is-featured { flex-direction: column; min-height: 0 }
    .bl-card.is-featured .bl-cover { aspect-ratio: 16 / 9; flex: none }
    .bl-card.is-featured .bl-body { padding: 22px }
}
@media (max-width: 620px) {
    .bl-grid { grid-template-columns: 1fr }
    .bc-row { grid-template-columns: 1fr }
    .bc-form { padding: 20px 16px }
    .bp-content { font-size: 1rem }
    .bp-content h2 { font-size: 1.35rem }
    .bp-share { flex-direction: column; align-items: flex-start }
    .bc-item .av { width: 36px; height: 36px }
    .bc-cap { flex-wrap: wrap }
}
@media (min-width: 1001px) and (max-height: 720px) { .bp-cta { display: none } }
@media (prefers-reduced-motion: reduce) {
    .ill-doc, .ill-line, .ill-stamp, .ill-flow, .ill-pk, .ill-pulse, .ill-spin, .ill-ring, .ill-check, .ill-pt, .ill-glow, .ill-badge, .ill-print, .ill-blink, .ill-buyer, .ill-nogo, .ill-swipe, .ill-okscreen, .ill-slip { animation: none !important }
    .ill-line, .ill-check { stroke-dashoffset: 0 } .ill-pk { opacity: 0 }
    .bl-card, .bl-card *, .bp-cover.is-gen svg, .bc-item { animation: none !important; transition: none !important }
    .bl-card:hover { transform: none }
}
