/* AppsNode blog: article and blog index pages (loaded after styles.css) */
.blog-page{background:#f8faff}
.main-nav a[aria-current="page"]{color:#64efb7}

/* Hero */
.post-hero{position:relative;isolation:isolate;overflow:visible;background:linear-gradient(125deg,#061528 0%,#071c31 52%,#042c30 100%);padding:46px 0 0;color:#fff}
.post-hero::before{content:"";position:absolute;z-index:-1;width:min(560px,70vw);height:420px;inset-inline-end:0;top:-120px;border-radius:50%;filter:blur(95px);background:rgba(2,213,148,.16)}
.post-hero-inner{max-width:900px;position:relative;z-index:2}
.blog-index-hero{padding-bottom:70px}
.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px;padding:0;font-size:12.5px;font-weight:700;color:#8ea5bc}
.breadcrumbs li{display:flex;align-items:center;gap:8px}
.breadcrumbs li+li::before{content:"/";color:#4a6681}
.breadcrumbs a{color:#b8cade}.breadcrumbs a:hover{color:#64efb7}
.post-chip{display:inline-flex;align-items:center;gap:8px;color:#8febcc;padding:8px 13px;background:rgba(35,183,133,.1);border:1px solid rgba(89,210,166,.18);border-radius:30px;font-size:11px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;margin-bottom:22px}
html[dir="rtl"] .post-chip{letter-spacing:0;font-size:12.5px}
.post-title{font-size:clamp(32px,4.4vw,54px);line-height:1.16;letter-spacing:-1.8px;white-space:normal;margin-bottom:20px;font-weight:800;text-wrap:balance}
html[dir="rtl"] .post-title{letter-spacing:0;line-height:1.45}
.post-lede{font-size:17px;line-height:1.85;color:#b4c4d6;max-width:760px;margin-bottom:26px}
.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;font-size:13px;font-weight:600;color:#9fb3c8;margin-bottom:38px}
.post-meta>span{display:inline-flex;align-items:center;gap:8px}
.post-meta .icon{width:16px;height:16px}
.post-author{color:#e3eef9;font-weight:800}
.post-avatar{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#1c73f9,#04b9b8);color:#fff;font-size:11px;font-weight:800;letter-spacing:.3px;flex-shrink:0}
.post-avatar-lg{width:58px;height:58px;font-size:16px}
.post-cover{width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;border-radius:20px;border:1px solid rgba(160,200,240,.16);box-shadow:0 30px 70px rgba(0,7,18,.45);margin-bottom:-120px;position:relative}

/* Layout */
.post-shell{padding:170px 0 80px}
.blog-list{padding:70px 0 80px}
.post-layout{display:grid;grid-template-columns:250px minmax(0,760px);gap:56px;justify-content:center;align-items:start}
.post-toc{position:sticky;top:105px;font-size:13.5px}
.post-toc details{background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px 18px 10px}
.post-toc summary{font-weight:800;color:var(--ink);cursor:pointer;margin-bottom:10px;list-style:none}
.post-toc summary::-webkit-details-marker{display:none}
.post-toc ol{margin:0;padding:0;list-style:none;counter-reset:toc}
.post-toc li{counter-increment:toc}
.post-toc a{display:flex;gap:9px;padding:8px 0;color:#52657b;line-height:1.5;border-top:1px solid #eef2f8}
.post-toc a::before{content:counter(toc,decimal-leading-zero);font-weight:800;color:#0bcda3;font-size:11.5px;padding-top:2px}
.post-toc a:hover{color:#075aff}

/* Article typography */
.post-content{color:#2a3d52;font-size:17px;line-height:1.85;min-width:0}
html[dir="rtl"] .post-content{font-size:17.5px;line-height:2}
.post-content>p:first-child{font-size:19px;color:var(--ink)}
.post-content h2{font-size:clamp(25px,2.6vw,31px);line-height:1.3;letter-spacing:-.7px;color:var(--ink);margin:56px 0 18px;scroll-margin-top:100px}
html[dir="rtl"] .post-content h2{letter-spacing:0;line-height:1.55}
.post-content h3{font-size:20px;color:var(--ink);margin:32px 0 10px;line-height:1.4}
.post-content p{margin:0 0 1.15em}
.post-content ul,.post-content ol{margin:0 0 1.3em;padding-inline-start:1.3em}
.post-content li{margin-bottom:.55em}
.post-content li::marker{color:#0bb894;font-weight:800}
.post-content a{color:#0759f0;font-weight:700;text-decoration:underline;text-decoration-color:rgba(7,90,255,.3);text-underline-offset:3px}
.post-content a:hover{text-decoration-color:#075aff}
.post-content strong{color:var(--ink)}
.post-content code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.86em;background:#eaf0f8;color:#123a63;padding:2px 6px;border-radius:6px}
.post-content pre{direction:ltr;text-align:left;background:#0b1f35;color:#d6e6f5;border-radius:14px;padding:20px 22px;overflow-x:auto;margin:0 0 1.4em;font-size:14px;line-height:1.7}
.post-content pre code{background:none;color:inherit;padding:0;font-size:inherit}
.table-wrap{overflow-x:auto;margin:0 0 1.5em;border:1px solid var(--border);border-radius:14px;background:#fff}
.post-content table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.6;min-width:560px}
.post-content th,.post-content td{padding:12px 14px;text-align:start;vertical-align:top;border-bottom:1px solid #edf1f7}
.post-content th{background:#f1f6fd;color:var(--ink);font-weight:800;font-size:13.5px}
.post-content tr:last-child td{border-bottom:0}
.callout{background:linear-gradient(120deg,#ecf4ff,#e9faf4);border:1px solid #d5e6f7;border-inline-start:4px solid #0bcda3;border-radius:14px;padding:18px 20px;margin:0 0 1.5em;color:#1d3a54}
.callout p:last-child{margin-bottom:0}

/* Real case study box */
.case-study{position:relative;margin:8px 0 1.8em;padding:26px 26px 22px;border-radius:18px;background:#fff;border:1px solid #d9e6f4;box-shadow:0 14px 36px rgba(7,27,57,.06);overflow:hidden}
.case-study::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:5px;background:linear-gradient(180deg,#075aff,#0bcda3)}
.case-label{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:900;letter-spacing:1.6px;text-transform:uppercase;color:#0a8f74;background:#e3f8ef;padding:5px 10px;border-radius:20px;margin-bottom:12px}
html[dir="rtl"] .case-label{letter-spacing:0;font-size:12.5px}
.case-label::before{content:"";width:7px;height:7px;border-radius:50%;background:#0bcda3}
.post-content .case-study h3{margin:0 0 10px;font-size:20px}
.case-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:0 0 16px;padding:0;list-style:none}
.post-content .case-facts li{margin:0;padding:10px 12px;background:#f5f8fc;border:1px solid #e8eef6;border-radius:10px;font-size:13.5px;line-height:1.5}
.case-facts b{display:block;font-size:11px;color:#6a7d92;text-transform:uppercase;letter-spacing:.8px;margin-bottom:2px}
html[dir="rtl"] .case-facts b{letter-spacing:0;font-size:12px}
.case-study blockquote{margin:16px 0;padding:14px 18px;background:#f6f9fd;border-radius:12px;border-inline-start:3px solid #0bcda3;font-size:15.5px;line-height:1.85;color:#2a3d52}
.case-study blockquote footer{margin-top:8px;font-size:13px;font-weight:700;color:#6a7d92}
.case-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.post-content .case-links a{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border-radius:10px;border:1px solid #cfdcec;font-size:13px;text-decoration:none;color:#0b4fcf;background:#fff}
.post-content .case-links a:hover{border-color:#075aff}

/* FAQ */
.post-faq h2{margin-top:64px}
.post-faq-item{background:#fff;border:1px solid var(--border);border-radius:14px;margin-bottom:12px;padding:0 20px}
.post-faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;padding:17px 0}
.post-faq-item summary::-webkit-details-marker{display:none}
.post-faq-item h3{margin:0;font-size:16.5px;line-height:1.5}
.post-faq-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eef4fb;color:#075aff;flex-shrink:0;transition:transform .2s}
.post-faq-icon .icon{width:16px;height:16px}
.post-faq-item[open] .post-faq-icon{transform:rotate(45deg)}
.post-faq-item p{margin:0 0 18px;font-size:15.5px;color:#43566b}

/* Author */
.post-author-box{display:flex;gap:18px;align-items:flex-start;margin-top:48px;padding:24px;background:#fff;border:1px solid var(--border);border-radius:18px}
.post-author-box strong{display:block;font-size:16px;margin-bottom:4px}
.post-author-box p{font-size:14.5px;line-height:1.75;color:#55687d;margin:0 0 8px}
.post-author-box a{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;text-decoration:none}
.post-author-box a .icon{width:15px;height:15px}
html[dir="rtl"] .post-author-box a .icon,html[dir="rtl"] .post-related-head a .icon{transform:scaleX(-1)}

/* CTA */
.post-cta{padding:0 0 80px}
.post-cta-card{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:46px 48px;border-radius:24px;color:#fff;background:linear-gradient(125deg,#071b31,#08304a 60%,#05403f);box-shadow:var(--shadow);position:relative;overflow:hidden}
.post-cta-card::after{content:"";position:absolute;width:380px;height:300px;inset-inline-end:-80px;top:-120px;border-radius:50%;filter:blur(80px);background:rgba(4,205,208,.22)}
.post-cta-card>*{position:relative;z-index:1}
.post-cta-kicker{font-size:11px;font-weight:900;letter-spacing:2px;color:#7ddbc9}
.post-cta-card h2{font-size:clamp(24px,2.6vw,32px);margin:10px 0 8px;letter-spacing:-.6px}
.post-cta-card p{color:#aec0d3;margin:0;max-width:520px;line-height:1.8}
.post-cta-actions{display:flex;flex-wrap:wrap;gap:12px;flex-shrink:0}

/* Related */
.post-related{padding:0 0 90px}
.post-related-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:26px}
.post-related-head h2{font-size:clamp(26px,2.6vw,34px);color:var(--ink);margin:0;letter-spacing:-.8px}
.post-related-head a{display:inline-flex;align-items:center;gap:6px;color:#075aff;font-weight:800;font-size:14px}
.post-related-head a .icon{width:16px;height:16px}

@media (max-width:1050px){.post-layout{grid-template-columns:minmax(0,760px)}.post-toc{position:static}.post-toc details:not([open]){padding-bottom:8px}}
@media (max-width:650px){
  .post-hero{padding-top:30px}
  .post-lede{font-size:15.5px}
  .post-cover{border-radius:14px;margin-bottom:-60px}
  .post-shell{padding:100px 0 56px}
  .blog-list{padding:44px 0 56px}
  .post-content,html[dir="rtl"] .post-content{font-size:16px}
  .post-content>p:first-child{font-size:17px}
  .post-content h2{margin-top:44px}
  .post-cta-card{flex-direction:column;align-items:stretch;padding:32px 24px}
  .post-cta-actions .btn{width:100%}
  .post-author-box{flex-direction:column}
  .post-related-head{flex-direction:column;gap:8px}
}
