/* ── NameHub Blog Styles ─────────────────────────────────────── */

/* ── Blog Hero ── */
.blog-hero { padding: 5rem 0 3rem; text-align: center; }
.blog-hero h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight:900; color:#fff; letter-spacing:-1.5px; margin-bottom:.75rem; }
.blog-hero p  { color:var(--muted); font-size:1.05rem; max-width:520px; margin:0 auto 2rem; }

/* ── Category Filter Bar ── */
.blog-cats { display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; margin-bottom:3rem; }
.blog-cat-btn { padding:.35rem .9rem; border-radius:50px; border:1px solid var(--border); background:transparent; color:var(--muted); font-size:.8rem; font-weight:600; cursor:pointer; text-decoration:none; transition:all .18s; }
.blog-cat-btn:hover, .blog-cat-btn.active { background:var(--p1); border-color:var(--p1); color:#fff; }

/* ── Post Grid ── */
.blog-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(320px,1fr)); gap:1.75rem; margin-bottom:3.5rem; }

/* ── Post Card ── */
.blog-card { background:var(--card); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; text-decoration:none; color:inherit; display:flex; flex-direction:column; transition:transform .18s, border-color .18s, box-shadow .18s; }
.blog-card:hover { transform:translateY(-3px); border-color:rgba(99,102,241,.4); box-shadow:0 8px 32px rgba(99,102,241,.12); }
.blog-card-cover { width:100%; height:200px; object-fit:cover; object-position:center top; background:var(--bg2); display:block; flex-shrink:0; }
.blog-card-cover.pos-center { object-position:center center; }
.blog-card-cover.pos-top    { object-position:center top; }
.blog-card-cover.pos-bottom { object-position:center bottom; }
.blog-card-cover.pos-left   { object-position:left center; }
.blog-card-cover.pos-right  { object-position:right center; }
.blog-card-cover-placeholder { width:100%; height:200px; background:linear-gradient(135deg,rgba(99,102,241,.15),rgba(139,92,246,.1)); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.blog-card-cover-placeholder svg { opacity:.25; }
/* Featured badge on card */
.blog-card-cover-wrap { position:relative; flex-shrink:0; }
.blog-card-featured-badge { position:absolute; top:.6rem; left:.6rem; background:linear-gradient(90deg,#f59e0b,#f97316); color:#fff; font-size:.65rem; font-weight:800; padding:.2rem .55rem; border-radius:50px; text-transform:uppercase; letter-spacing:.06em; z-index:2; }
.blog-card-cover-placeholder svg { opacity:.25; }
.blog-card-body { padding:1.25rem 1.4rem 1.4rem; display:flex; flex-direction:column; flex:1; }
.blog-card-meta { display:flex; align-items:center; gap:.6rem; margin-bottom:.75rem; flex-wrap:wrap; }
.blog-cat-tag { font-size:.7rem; font-weight:700; padding:.2rem .6rem; border-radius:50px; background:rgba(99,102,241,.15); color:var(--p3); text-transform:uppercase; letter-spacing:.06em; }
.blog-card-date { font-size:.75rem; color:var(--muted); }
.blog-card-readtime { font-size:.75rem; color:var(--muted); }
.blog-card-title { font-size:1.05rem; font-weight:700; color:#e2e8f0; line-height:1.4; margin-bottom:.6rem; }
.blog-card:hover .blog-card-title { color:#fff; }
.blog-card-excerpt { font-size:.88rem; color:var(--muted); line-height:1.65; flex:1; margin-bottom:1rem; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.blog-card-footer { display:flex; align-items:center; gap:.4rem; font-size:.8rem; font-weight:600; color:var(--p3); }
.blog-card-footer svg { flex-shrink:0; }

/* ── Empty State ── */
.blog-empty { text-align:center; padding:4rem 1rem; color:var(--muted); }
.blog-empty h3 { color:#e2e8f0; font-size:1.2rem; margin-bottom:.5rem; }

/* ── Pagination ── */
.blog-pager { display:flex; align-items:center; justify-content:center; gap:.5rem; padding:1rem 0 3rem; }
.blog-pager a, .blog-pager span { padding:.45rem .85rem; border-radius:8px; border:1px solid var(--border); font-size:.85rem; font-weight:600; text-decoration:none; color:var(--muted); transition:all .15s; }
.blog-pager a:hover { border-color:var(--p1); color:var(--p3); }
.blog-pager span.current { background:var(--p1); border-color:var(--p1); color:#fff; }

/* ─────────────────────────────────────────────────────────────── */
/* ── Single Post Page ─────────────────────────────────────────── */

.post-hero { padding:4rem 0 0; }
.post-breadcrumb { display:flex; align-items:center; gap:.4rem; font-size:.8rem; color:var(--muted); margin-bottom:1.5rem; flex-wrap:wrap; }
.post-breadcrumb a { color:var(--muted); text-decoration:none; }
.post-breadcrumb a:hover { color:var(--p3); }
.post-breadcrumb-sep { opacity:.4; }

.post-header { max-width:780px; margin:0 auto; text-align:center; }
.post-cats { display:flex; gap:.5rem; justify-content:center; flex-wrap:wrap; margin-bottom:1.25rem; }
.post-cat-badge { font-size:.75rem; font-weight:700; padding:.25rem .7rem; border-radius:50px; background:rgba(99,102,241,.18); color:var(--p3); text-transform:uppercase; letter-spacing:.06em; }
.post-title { font-size:clamp(1.8rem,4.5vw,3rem); font-weight:900; color:#fff; line-height:1.15; letter-spacing:-1px; margin-bottom:1.25rem; }
.post-meta { display:flex; align-items:center; justify-content:center; gap:1rem; flex-wrap:wrap; font-size:.82rem; color:var(--muted); margin-bottom:2rem; }
.post-meta-item { display:flex; align-items:center; gap:.35rem; }
.post-meta-sep { width:3px; height:3px; border-radius:50%; background:var(--muted); opacity:.4; }

.post-cover { width:100%; max-height:480px; object-fit:cover; object-position:center top; border-radius:var(--r-lg); margin:0 0 2.5rem; display:block; }
.post-cover.pos-center { object-position:center center; }
.post-cover.pos-top    { object-position:center top; }
.post-cover.pos-bottom { object-position:center bottom; }
.post-cover.pos-left   { object-position:left center; }
.post-cover.pos-right  { object-position:right center; }
.post-featured-badge { display:inline-flex; align-items:center; gap:.35rem; background:linear-gradient(90deg,#f59e0b,#f97316); color:#fff; font-size:.75rem; font-weight:800; padding:.3rem .8rem; border-radius:50px; margin-bottom:.75rem; text-transform:uppercase; letter-spacing:.06em; }

/* ── Post Content ── */
.post-wrap { max-width:780px; margin:0 auto; padding:0 0 3rem; }
.post-content { font-size:1.05rem; line-height:1.85; color:#cbd5e1; }
.post-content h2 { font-size:1.55rem; font-weight:800; color:#fff; margin:2.25rem 0 .85rem; letter-spacing:-.5px; }
.post-content h3 { font-size:1.2rem; font-weight:700; color:#e2e8f0; margin:1.75rem 0 .65rem; }
.post-content p  { margin:0 0 1.25rem; }
.post-content a  { color:var(--p3); text-decoration:underline; text-underline-offset:3px; }
.post-content a:hover { color:#fff; }
.post-content strong, .post-content b { color:#e2e8f0; font-weight:700; }
.post-content em, .post-content i { color:#a5b4fc; font-style:italic; }
.post-content ul, .post-content ol { padding-left:1.5rem; margin:0 0 1.25rem; }
.post-content li { margin-bottom:.5rem; }
.post-content blockquote { border-left:3px solid var(--p1); margin:1.5rem 0; padding:.75rem 1.25rem; background:rgba(99,102,241,.07); border-radius:0 8px 8px 0; color:#a5b4fc; font-style:italic; }
.post-content blockquote p { margin:0; }
.post-content hr  { border:none; border-top:1px solid var(--border); margin:2rem 0; }
.post-content img { max-width:100%; border-radius:10px; margin:1rem 0; }
.post-content pre { background:rgba(0,0,0,.4); border:1px solid var(--border); border-radius:10px; padding:1rem 1.25rem; overflow-x:auto; margin:1.25rem 0; }
.post-content code { font-family:monospace; font-size:.9em; background:rgba(99,102,241,.12); padding:.15em .35em; border-radius:4px; color:#a5b4fc; }
.post-content pre code { background:none; padding:0; color:#94a3b8; }

/* ── Tags ── */
.post-tags { display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; margin:2rem 0; padding-top:1.5rem; border-top:1px solid var(--border); }
.post-tags-label { font-size:.8rem; color:var(--muted); font-weight:600; }
.post-tag { font-size:.75rem; padding:.2rem .65rem; border-radius:50px; border:1px solid var(--border); color:var(--muted); text-decoration:none; transition:all .15s; }
.post-tag:hover { border-color:var(--p1); color:var(--p3); }

/* ── Share Bar ── */
.post-share { display:flex; align-items:center; gap:.75rem; flex-wrap:wrap; margin:1.5rem 0 2.5rem; }
.post-share-label { font-size:.82rem; color:var(--muted); font-weight:600; }
.post-share-btn { display:inline-flex; align-items:center; gap:.4rem; padding:.4rem .9rem; border-radius:8px; border:1px solid var(--border); font-size:.8rem; font-weight:600; text-decoration:none; color:var(--muted); transition:all .15s; cursor:pointer; background:transparent; }
.post-share-btn:hover { border-color:var(--p1); color:var(--p3); }

/* ── Related Posts ── */
.related-section { border-top:1px solid var(--border); padding-top:2.5rem; margin-top:1rem; }
.related-section h3 { font-size:1.2rem; font-weight:700; color:#e2e8f0; margin-bottom:1.5rem; }
.related-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:1rem; }

/* ── Views Badge ── */
.post-views { display:inline-flex; align-items:center; gap:.3rem; }

/* ── Admin Blog Styles ── */
.blog-editor-toolbar { display:flex; flex-wrap:wrap; gap:.3rem; padding:.5rem .6rem; background:rgba(0,0,0,.25); border:1px solid var(--border); border-bottom:none; border-radius:8px 8px 0 0; }
.blog-editor-toolbar button { padding:.3rem .6rem; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.05); color:#cbd5e1; border-radius:5px; cursor:pointer; font-size:.78rem; font-weight:600; transition:all .15s; }
.blog-editor-toolbar button:hover { background:rgba(99,102,241,.2); border-color:rgba(99,102,241,.4); color:#fff; }
.blog-editor-textarea { width:100%; min-height:380px; border-radius:0 0 8px 8px; border:1px solid var(--border); background:rgba(0,0,0,.2); color:#e2e8f0; padding:1rem; font-size:.92rem; line-height:1.7; font-family:inherit; resize:vertical; box-sizing:border-box; }
.blog-editor-textarea:focus { outline:none; border-color:var(--p1); }
.blog-status-badge { display:inline-flex; align-items:center; gap:.3rem; padding:.2rem .55rem; border-radius:50px; font-size:.72rem; font-weight:700; }
.blog-status-published { background:rgba(16,185,129,.15); color:#34d399; }
.blog-status-draft { background:rgba(148,163,184,.12); color:#94a3b8; }

/* ── Reading Progress Bar ── */
#rp { position:fixed; top:0; left:0; height:3px; width:0; background:linear-gradient(90deg,#6366f1,#a855f7,#06b6d4); z-index:9999; transition:width .08s linear; pointer-events:none; border-radius:0 2px 2px 0; }

/* ── RSS Button (blog listing hero) ── */
.blog-rss-btn { display:inline-flex; align-items:center; gap:.45rem; padding:.4rem .9rem; border-radius:8px; border:1px solid rgba(249,115,22,.3); background:rgba(249,115,22,.08); color:#fb923c; font-size:.8rem; font-weight:700; text-decoration:none; transition:all .15s; }
.blog-rss-btn:hover { background:rgba(249,115,22,.18); border-color:rgba(249,115,22,.5); color:#fdba74; }

/* ── Newsletter CTA (inside post) ── */
.post-newsletter-cta { display:flex; gap:1.25rem; align-items:flex-start; background:linear-gradient(135deg,rgba(99,102,241,.12),rgba(139,92,246,.08)); border:1px solid rgba(99,102,241,.25); border-radius:14px; padding:1.5rem 1.6rem; margin:2.5rem 0; }
.pnc-icon { width:48px; height:48px; background:linear-gradient(135deg,rgba(99,102,241,.25),rgba(139,92,246,.2)); border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; color:#a5b4fc; }
.pnc-body { flex:1; min-width:0; }
.pnc-title { font-size:1rem; font-weight:800; color:#e2e8f0; margin-bottom:.3rem; }
.pnc-sub   { font-size:.85rem; color:#94a3b8; line-height:1.6; margin-bottom:.9rem; }
.pnc-form  { display:flex; gap:.5rem; flex-wrap:wrap; }
.pnc-input { flex:1; min-width:200px; background:rgba(0,0,0,.3); border:1px solid rgba(99,102,241,.3); border-radius:8px; padding:.5rem .85rem; font-size:.88rem; color:#e2e8f0; font-family:inherit; }
.pnc-input:focus { outline:none; border-color:#6366f1; }
.pnc-input::placeholder { color:#475569; }
.pnc-btn { background:var(--p1,#6366f1); color:#fff; border:none; border-radius:8px; padding:.5rem 1.1rem; font-size:.88rem; font-weight:700; cursor:pointer; white-space:nowrap; transition:background .15s; font-family:inherit; }
.pnc-btn:hover { background:#4f46e5; }
.pnc-success { display:flex; align-items:center; gap:.5rem; font-size:.88rem; font-weight:700; color:#34d399; padding:.4rem 0; }
.pnc-error   { display:flex; align-items:center; gap:.5rem; font-size:.85rem; color:#f87171; padding:.3rem 0; }
.pnc-rss { font-size:.78rem; color:#334155; margin-top:.6rem; }
.pnc-rss a { color:#fb923c; text-decoration:none; display:inline-flex; align-items:center; gap:.2rem; }
.pnc-rss a:hover { color:#fdba74; }

/* ── Blog Search ── */
.blog-search-wrap { position:relative; max-width:480px; margin:0 auto 1.5rem; }
.blog-search-box  { display:flex; align-items:center; gap:.5rem; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:12px; padding:.55rem .9rem; transition:border-color .15s; }
.blog-search-box:focus-within,
.blog-search-box.has-results { border-color:rgba(99,102,241,.5); background:rgba(99,102,241,.06); border-radius:12px 12px 0 0; }
.blog-search-box.has-results { border-bottom-color:transparent; }
.blog-search-icon  { color:#475569; flex-shrink:0; }
.blog-search-input { flex:1; background:none; border:none; outline:none; color:#e2e8f0; font-size:.92rem; font-family:inherit; }
.blog-search-input::placeholder { color:#334155; }
.blog-search-clear { display:flex; align-items:center; justify-content:center; background:none; border:none; color:#475569; cursor:pointer; padding:.1rem; flex-shrink:0; }
.blog-search-clear:hover { color:#94a3b8; }
.blog-search-results { position:absolute; top:100%; left:0; right:0; background:#13132a; border:1px solid rgba(99,102,241,.5); border-top:none; border-radius:0 0 12px 12px; z-index:200; box-shadow:0 16px 40px rgba(0,0,0,.4); overflow:hidden; }
.bsr-item { display:flex; align-items:center; gap:.75rem; padding:.75rem 1rem; text-decoration:none; color:inherit; transition:background .1s; border-bottom:1px solid rgba(255,255,255,.04); }
.bsr-item:last-child { border-bottom:none; }
.bsr-item:hover, .bsr-item.active { background:rgba(99,102,241,.12); }
.bsr-thumb { width:44px; height:44px; object-fit:cover; border-radius:6px; flex-shrink:0; }
.bsr-thumb-ph { width:44px; height:44px; background:linear-gradient(135deg,rgba(99,102,241,.2),rgba(139,92,246,.1)); border-radius:6px; flex-shrink:0; }
.bsr-body { flex:1; min-width:0; }
.bsr-cat   { font-size:.68rem; font-weight:700; color:#6366f1; text-transform:uppercase; letter-spacing:.05em; margin-bottom:.1rem; }
.bsr-title { font-size:.85rem; font-weight:600; color:#e2e8f0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.bsr-date  { font-size:.72rem; color:#475569; margin-top:.15rem; }
.bsr-empty { padding:1rem; text-align:center; font-size:.85rem; color:#475569; }

/* ── Most Read ── */
.most-read-section { padding:.25rem 0 2rem; }
.most-read-head    { display:flex; align-items:center; gap:.5rem; font-size:.72rem; font-weight:800; color:#475569; text-transform:uppercase; letter-spacing:.08em; margin-bottom:.85rem; }
.most-read-grid    { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:.75rem; }
.most-read-card    { display:flex; align-items:center; gap:.85rem; background:var(--card,#13132a); border:1px solid var(--border,#1e1e3a); border-radius:10px; padding:.8rem 1rem; text-decoration:none; color:inherit; transition:border-color .15s, transform .15s; }
.most-read-card:hover { border-color:rgba(99,102,241,.4); transform:translateY(-2px); }
.most-read-num   { font-size:1.6rem; font-weight:900; color:rgba(99,102,241,.25); line-height:1; min-width:2rem; flex-shrink:0; }
.most-read-body  { flex:1; min-width:0; }
.most-read-cat   { font-size:.65rem; font-weight:700; color:var(--p3,#a5b4fc); text-transform:uppercase; letter-spacing:.05em; margin-bottom:.15rem; }
.most-read-title { font-size:.82rem; font-weight:700; color:#e2e8f0; line-height:1.35; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.most-read-views { font-size:.7rem; color:#334155; margin-top:.25rem; }
.most-read-thumb { width:42px; height:42px; object-fit:cover; border-radius:7px; flex-shrink:0; }

/* ── Author Bio ── */
.author-bio  { display:flex; gap:1.1rem; align-items:flex-start; background:var(--card,#13132a); border:1px solid var(--border,#1e1e3a); border-radius:14px; padding:1.25rem 1.4rem; margin:2.5rem 0 1.5rem; }
.author-avatar { width:52px; height:52px; border-radius:50%; background:linear-gradient(135deg,#6366f1,#a855f7); display:flex; align-items:center; justify-content:center; font-size:1.3rem; font-weight:900; color:#fff; flex-shrink:0; }
.author-info   { flex:1; min-width:0; }
.author-name   { font-size:.95rem; font-weight:800; color:#e2e8f0; margin-bottom:.1rem; }
.author-role   { font-size:.75rem; color:var(--p3,#a5b4fc); font-weight:600; margin-bottom:.5rem; }
.author-desc   { font-size:.83rem; color:#94a3b8; line-height:1.65; margin-bottom:.6rem; }
.author-link   { font-size:.78rem; font-weight:700; color:#6366f1; text-decoration:none; }
.author-link:hover { color:#a5b4fc; }

/* ── Copy Code Button ── */
.copy-code-btn { position:absolute; top:.5rem; right:.5rem; background:rgba(99,102,241,.2); border:1px solid rgba(99,102,241,.3); color:#a5b4fc; border-radius:5px; padding:.2rem .55rem; font-size:.7rem; font-weight:700; cursor:pointer; font-family:inherit; transition:all .13s; }
.copy-code-btn:hover { background:rgba(99,102,241,.35); color:#fff; }

/* ── Back to Top ── */
.back-to-top { position:fixed; bottom:1.75rem; right:1.75rem; width:40px; height:40px; border-radius:50%; background:var(--p1,#6366f1); border:none; color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(99,102,241,.4); transition:background .15s, transform .15s; z-index:500; }
.back-to-top:hover { background:#4f46e5; transform:translateY(-2px); }

/* ── Table of Contents ── */
.toc-box { background:rgba(99,102,241,.07); border:1px solid rgba(99,102,241,.2); border-radius:10px; padding:1rem 1.15rem; margin-bottom:2rem; }
.toc-head { display:flex; align-items:center; gap:.5rem; font-size:.8rem; font-weight:700; color:#a5b4fc; text-transform:uppercase; letter-spacing:.06em; cursor:pointer; user-select:none; }
.toc-head .toc-chevron { margin-left:auto; transition:transform .2s; }
.toc-collapsed .toc-chevron { transform:rotate(-90deg); }
.toc-list { list-style:none; margin:.7rem 0 0; padding:0; display:flex; flex-direction:column; gap:.15rem; }
.toc-list li { border-left:2px solid rgba(99,102,241,.15); }
.toc-link { display:block; padding:.3rem .7rem; font-size:.83rem; color:#94a3b8; text-decoration:none; border-radius:0 5px 5px 0; transition:color .15s, background .15s; }
.toc-link:hover { color:#e2e8f0; background:rgba(99,102,241,.1); }
.toc-link.active { color:#a5b4fc; border-left:2px solid var(--p1,#6366f1); margin-left:-2px; font-weight:600; }

/* ── Lightbox ── */
.lightbox { position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:9000; display:flex; align-items:center; justify-content:center; padding:1rem; }
.lb-img { max-width:90vw; max-height:90vh; object-fit:contain; border-radius:6px; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.lb-close { position:fixed; top:1.1rem; right:1.1rem; width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .15s; z-index:9001; }
.lb-close:hover { background:rgba(255,255,255,.2); }
.lb-nav { position:fixed; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .15s; z-index:9001; }
.lb-nav:hover { background:rgba(255,255,255,.2); }
.lb-prev { left:1rem; }
.lb-next { right:1rem; }
.lb-counter { position:fixed; bottom:1.2rem; left:50%; transform:translateX(-50%); font-size:.8rem; color:rgba(255,255,255,.5); z-index:9001; }

/* ── Comments ── */
.comments-section { margin-top:2.5rem; padding-top:2rem; border-top:1px solid var(--border); }
.comments-heading { display:flex; align-items:center; gap:.5rem; font-size:1.05rem; font-weight:800; color:#e2e8f0; margin-bottom:1.5rem; }
.comments-list { display:flex; flex-direction:column; gap:1.25rem; margin-bottom:2rem; }
.comment-item { display:flex; gap:.85rem; }
.comment-avatar { width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,#6366f1,#8b5cf6); display:flex; align-items:center; justify-content:center; font-size:.85rem; font-weight:800; color:#fff; flex-shrink:0; }
.comment-body { flex:1; min-width:0; }
.comment-meta { display:flex; align-items:center; gap:.6rem; margin-bottom:.35rem; flex-wrap:wrap; }
.comment-name { font-size:.87rem; font-weight:700; color:#e2e8f0; }
.comment-date { font-size:.75rem; color:#475569; }
.comment-text { font-size:.88rem; color:#94a3b8; line-height:1.65; background:rgba(255,255,255,.03); border:1px solid var(--border); border-radius:8px; padding:.7rem .9rem; }
.comment-notice { display:flex; align-items:center; gap:.5rem; padding:.65rem .9rem; border-radius:8px; font-size:.85rem; font-weight:600; margin-bottom:1rem; }
.comment-notice-ok  { background:rgba(16,185,129,.1); border:1px solid rgba(16,185,129,.25); color:#34d399; }
.comment-notice-err { background:rgba(239,68,68,.1);  border:1px solid rgba(239,68,68,.25);  color:#f87171; }
.comment-form { background:var(--card,#13132a); border:1px solid var(--border); border-radius:12px; padding:1.25rem; margin-top:1.5rem; }
.comment-form-row { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
.comment-form-field { display:flex; flex-direction:column; }
.comment-label { font-size:.78rem; font-weight:600; color:#94a3b8; margin-bottom:.3rem; }
.comment-input { background:#0f0f1a; border:1px solid var(--border); border-radius:7px; padding:.5rem .75rem; font-size:.88rem; color:#e2e8f0; font-family:inherit; transition:border-color .15s; width:100%; box-sizing:border-box; }
.comment-input:focus { outline:none; border-color:var(--p1,#6366f1); }
.comment-textarea { resize:vertical; min-height:100px; }
.comment-submit { margin-top:1rem; background:var(--p1,#6366f1); color:#fff; font-size:.88rem; font-weight:700; padding:.6rem 1.4rem; border-radius:8px; border:none; cursor:pointer; transition:background .15s; }
.comment-submit:hover { background:#4f46e5; }

@media (max-width:640px) {
  .blog-grid { grid-template-columns:1fr; }
  .related-grid { grid-template-columns:1fr; }
  .post-title { font-size:1.8rem; }
  .post-newsletter-cta { flex-direction:column; gap:.75rem; padding:1.1rem; }
  .pnc-icon { width:38px; height:38px; }
  .pnc-form { flex-direction:column; }
  .pnc-btn { width:100%; }
  .author-bio { flex-direction:column; gap:.75rem; }
  .most-read-grid { grid-template-columns:1fr; }
  .back-to-top { bottom:1rem; right:1rem; width:36px; height:36px; }
  .comment-form-row { grid-template-columns:1fr; }
  .lb-nav { width:36px; height:36px; }
}
