/* ============================================================
   Single blog post (single.php) — page-UNIQUE CSS. Ported from
   prototype 07-blog-single-post.html. Shared .phero etc. from
   sections.css. List markers use ::before so real Gutenberg
   content (no inline SVGs) still renders the design. Scoped .nct-main.
   ============================================================ */

.nct-main .phero-in{max-width:880px}
.nct-main .phero-cat{display:inline-block;background:var(--orange);color:#fff;font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:.45em .9em;border-radius:999px;margin-bottom:1rem}
.nct-main .phero h1{max-width:22ch}
.nct-main .phero-meta{display:flex;align-items:center;gap:1.4rem;margin-top:1.3rem;flex-wrap:wrap;font-size:.9rem;color:rgba(255,255,255,.9)}
.nct-main .phero-meta .pm{display:flex;align-items:center;gap:.5rem}
.nct-main .phero-meta svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:2}
.nct-main .phero-meta .pm-author{display:flex;align-items:center;gap:.6rem}
.nct-main .phero-meta .pm-av{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,var(--deep),var(--light));display:grid;place-items:center;font-weight:600;font-size:.9rem;color:#fff}

/* Article layout */
.nct-main .article-wrap{padding:clamp(2.4rem,4.4vw,3.6rem) 0}
.nct-main .article-grid{display:grid;grid-template-columns:1fr 320px;gap:clamp(2rem,4vw,3.5rem);align-items:start}
@media(max-width:980px){.nct-main .article-grid{grid-template-columns:1fr}}
.nct-main .article{max-width:760px}
.nct-main .article>p:first-of-type,.nct-main .article .lead-p{font-size:1.2rem;line-height:1.7;color:var(--ink);font-weight:400;margin-bottom:1.6rem}
.nct-main .article h2{font-size:clamp(1.5rem,2.6vw,1.9rem);font-weight:600;letter-spacing:-.01em;line-height:1.2;margin:2.2rem 0 .9rem;scroll-margin-top:90px;color:var(--ink)}
.nct-main .article h3{font-size:1.25rem;font-weight:600;margin:1.6rem 0 .7rem;scroll-margin-top:90px;color:var(--ink)}
.nct-main .article p{font-size:1.05rem;line-height:1.8;color:#33415c;margin-bottom:1.2rem}
.nct-main .article a{color:var(--deep);font-weight:500;border-bottom:1px solid rgba(24,64,224,.25)}
.nct-main .article a:hover{border-color:var(--deep)}
.nct-main .article ul{margin:0 0 1.4rem 0;padding-left:0;list-style:none;display:grid;gap:.7rem}
.nct-main .article ul li{position:relative;padding-left:2rem;font-size:1.04rem;line-height:1.65;color:#33415c}
.nct-main .article ul li::before{content:"✓";position:absolute;left:0;top:.12em;width:21px;height:21px;background:var(--ok);color:#fff;border-radius:50%;display:grid;place-items:center;font-size:.72rem;font-weight:700}
.nct-main .article ol{margin:0 0 1.4rem 0;padding-left:0;list-style:none;counter-reset:n;display:grid;gap:.7rem}
.nct-main .article ol li{position:relative;padding-left:2.4rem;font-size:1.04rem;line-height:1.65;color:#33415c;counter-increment:n}
.nct-main .article ol li::before{content:counter(n);position:absolute;left:0;top:0;width:26px;height:26px;background:var(--sky-2);color:var(--deep);font-weight:600;font-size:.85rem;border-radius:50%;display:grid;place-items:center}
.nct-main .article img,.nct-main .article figure img{max-width:100%;height:auto;border-radius:18px;box-shadow:0 16px 40px rgba(15,29,61,.12)}
.nct-main .article figure{margin:1.8rem 0}
.nct-main .article figcaption{text-align:center;font-size:.85rem;color:var(--muted);margin-top:.7rem}
.nct-main .article blockquote{margin:1.8rem 0;padding:1.4rem 1.6rem;background:linear-gradient(135deg,var(--sky-2),var(--sky-3));border-left:4px solid var(--deep);border-radius:0 16px 16px 0;font-size:1.15rem;line-height:1.6;color:var(--ink);font-weight:500}
.nct-main .article blockquote p{margin:0;color:inherit;font-size:inherit}

/* Share row */
.nct-main .share-row{display:flex;align-items:center;gap:.8rem;margin-top:2.2rem;padding-top:1.6rem;border-top:1px solid var(--line);flex-wrap:wrap}
.nct-main .share-row span{font-size:.88rem;font-weight:600;color:var(--muted)}
.nct-main .share-row a{width:40px;height:40px;border-radius:11px;background:var(--sky-2);display:grid;place-items:center;color:var(--deep);transition:.25s;border-bottom:0}
.nct-main .share-row a:hover{background:var(--deep);color:#fff;transform:translateY(-2px)}
.nct-main .share-row a svg{width:18px;height:18px;fill:currentColor}

/* Author box */
.nct-main .author{display:flex;gap:1.4rem;align-items:center;background:linear-gradient(165deg,#fff,var(--sky-2));border:1px solid var(--line);border-radius:22px;padding:1.6rem 1.8rem;margin-top:2.4rem;max-width:760px}
@media(max-width:560px){.nct-main .author{flex-direction:column;text-align:center}}
.nct-main .author-av{width:78px;height:78px;border-radius:50%;background:linear-gradient(135deg,var(--deep),var(--light));display:grid;place-items:center;font-size:1.8rem;font-weight:600;color:#fff;flex:0 0 auto;overflow:hidden}
.nct-main .author-av img{width:100%;height:100%;object-fit:cover}
.nct-main .author-tx .au-role{font-size:.74rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--light);margin-bottom:.2rem}
.nct-main .author-tx h4{font-size:1.2rem;font-weight:600;margin-bottom:.4rem;color:var(--ink)}
.nct-main .author-tx p{font-size:.94rem;color:var(--muted);line-height:1.6}

/* Sidebar */
.nct-main .aside{position:sticky;top:96px;display:grid;gap:1.2rem}
@media(max-width:980px){.nct-main .aside{position:static}}
.nct-main .toc{background:#fff;border:1px solid var(--line);border-radius:18px;padding:1.4rem;box-shadow:0 10px 30px rgba(15,29,61,.06)}
.nct-main .toc h4{font-size:.74rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}
.nct-main .toc h4 svg{width:16px;height:16px;stroke:var(--light);fill:none;stroke-width:2}
.nct-main .toc ul{list-style:none;display:grid;gap:.1rem}
.nct-main .toc a{display:block;font-size:.92rem;color:var(--muted);padding:.5rem .7rem;border-radius:9px;border-left:2px solid transparent;transition:.2s;line-height:1.35}
.nct-main .toc a:hover{background:var(--sky-2);color:var(--deep)}
.nct-main .toc a.active{background:var(--sky-2);color:var(--deep);font-weight:600;border-left-color:var(--deep)}
.nct-main .cta-card{background:linear-gradient(150deg,var(--deep),var(--light));border-radius:18px;padding:1.6rem;color:#fff;position:relative;overflow:hidden;box-shadow:0 18px 40px rgba(24,64,224,.24)}
.nct-main .cta-card::before{content:"";position:absolute;top:-30%;right:-20%;width:60%;height:160%;background:radial-gradient(circle,rgba(255,255,255,.16),transparent 60%)}
.nct-main .cta-card .cc-ic{width:46px;height:46px;border-radius:13px;background:rgba(255,255,255,.18);display:grid;place-items:center;margin-bottom:.9rem;position:relative}
.nct-main .cta-card .cc-ic svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:2}
.nct-main .cta-card b{font-size:1.15rem;font-weight:600;display:block;margin-bottom:.4rem;position:relative;line-height:1.25;color:#fff}
.nct-main .cta-card p{font-size:.9rem;opacity:.92;margin-bottom:1.1rem;position:relative;font-weight:300;line-height:1.5}
.nct-main .cta-card .btn{width:100%;position:relative;justify-content:center}
.nct-main .cta-wa{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:.6rem;font-size:.86rem;font-weight:500;color:#fff;position:relative;opacity:.95}
.nct-main .cta-wa svg{width:18px;height:18px;fill:#fff}

/* Related */
.nct-main .related{background:linear-gradient(180deg,#fff 0%,var(--sky-2) 100%)}
.nct-main .rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
@media(max-width:860px){.nct-main .rel-grid{grid-template-columns:1fr}}
.nct-main .rel{position:relative;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 6px 22px rgba(15,29,61,.06);transition:.35s;cursor:pointer}
.nct-main .rel:hover{transform:translateY(-8px);box-shadow:0 28px 56px rgba(15,29,61,.15)}
.nct-main .rel-overlay{position:absolute;inset:0;z-index:4}
.nct-main .rel-img{aspect-ratio:16/10;overflow:hidden;position:relative}
.nct-main .rel-img img{width:100%;height:100%;object-fit:cover;transition:.7s}
.nct-main .rel:hover .rel-img img{transform:scale(1.07)}
.nct-main .rel-cat{position:absolute;top:12px;left:12px;z-index:2;background:rgba(255,255,255,.95);color:var(--deep);font-size:.66rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:.4em .8em;border-radius:999px}
.nct-main .rel-body{padding:1.1rem 1.2rem 1.3rem}
.nct-main .rel-body h3{font-size:1.08rem;font-weight:600;line-height:1.25;margin-bottom:.6rem;color:var(--ink)}
.nct-main .rel-meta{font-size:.8rem;color:var(--muted);display:flex;gap:1rem}
.nct-main .rel-meta span{display:flex;align-items:center;gap:.35rem}
.nct-main .rel-meta svg{width:13px;height:13px;stroke:var(--light);fill:none;stroke-width:2}
