/* @file    nap-ncccm.css
   @created 2026-06-14 by Claude
   @updated 2026-06-14 by Claude
   @desc    Scoped styles for the NCCCM page redesign ("NCCCM - ໃໝ່" Claude Design
            handoff). All rules namespaced under .ncccm-page so they never clash
            with global classes. Tokens come from nap-header-footer.css :root
            (loaded globally by base.html). */

.ncccm-page{font-family:'Noto Sans Lao',system-ui,sans-serif;color:var(--ink);line-height:1.6;--amber:#d99a2b;--sky:#2f7dba}
.ncccm-page *{box-sizing:border-box}
.ncccm-page a{text-decoration:none;color:inherit}
.ncccm-page svg{display:block}

/* HERO CARD */
.ncccm-page .hero{max-width:var(--maxw);margin:0 auto;padding:26px 32px 0}
.ncccm-page .hero-inner{position:relative;overflow:hidden;border-radius:24px;background:linear-gradient(150deg,var(--green-800),var(--green-950));color:#fff;padding:42px 46px;box-shadow:var(--shadow-lg)}
.ncccm-page .hero-inner::before{content:"";position:absolute;width:460px;height:460px;border-radius:50%;right:-150px;top:-200px;background:radial-gradient(circle,rgba(95,224,163,.2),transparent 68%);pointer-events:none}
.ncccm-page .hero-inner::after{content:"";position:absolute;right:-70px;top:50%;transform:translateY(-50%);width:440px;height:440px;border-radius:50%;background:repeating-radial-gradient(circle at center,rgba(255,255,255,.06) 0 1.5px,transparent 1.5px 36px);-webkit-mask:radial-gradient(circle at center,#000 58%,transparent 72%);mask:radial-gradient(circle at center,#000 58%,transparent 72%);pointer-events:none}
.ncccm-page .hero-inner>*{position:relative;z-index:1}
.ncccm-page .hero-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--green-400)}
.ncccm-page .hero-eyebrow svg{width:15px;height:15px}
.ncccm-page .hero h1{margin:13px 0 12px;font-size:31px;font-weight:900;letter-spacing:-.5px;line-height:1.18;max-width:26ch;color:#fff}
.ncccm-page .hero-line{display:block;width:56px;height:4px;border-radius:3px;background:var(--green-400);margin:0 0 14px}
.ncccm-page .hero p{margin:0;color:#bfe0cd;font-size:14.5px;font-weight:500;max-width:74ch}
.ncccm-page .hero-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.ncccm-page .hero-tags span{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:#cdeedd;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);padding:7px 13px;border-radius:999px;letter-spacing:.3px}
.ncccm-page .hero-tags span .d{width:6px;height:6px;border-radius:50%;background:var(--green-400)}

/* BODY */
.ncccm-page .wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px}
.ncccm-page .sec{padding:46px 0}
.ncccm-page .sec + .sec{border-top:1px solid var(--line)}
.ncccm-page .sec-head{display:flex;align-items:center;gap:13px;margin-bottom:8px}
.ncccm-page .sec-kicker{display:inline-flex;align-items:center;gap:8px;font-size:11.5px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--green-600)}
.ncccm-page .sec-kicker .k-ic{width:30px;height:30px;border-radius:9px;background:var(--green-50);color:var(--green-700);display:grid;place-items:center}
.ncccm-page .sec-kicker .k-ic svg{width:16px;height:16px}
.ncccm-page .sec h2{margin:0;font-size:25px;font-weight:900;color:var(--green-900);letter-spacing:-.4px;text-wrap:balance}
.ncccm-page .sec .uline{width:56px;height:4px;border-radius:3px;background:var(--green-400);margin:12px 0 0}
.ncccm-page .sec p.sub{margin:14px 0 0;font-size:14.5px;color:var(--ink-soft);line-height:1.8;max-width:82ch;text-wrap:pretty}

/* OVERVIEW */
.ncccm-page .overview{display:flex;flex-direction:column;gap:30px;margin-top:26px}
.ncccm-page .ov-text{order:1}
.ncccm-page .ov-media{order:2;position:static}
.ncccm-page .ov-media .ovimg{width:100%;border-radius:20px;box-shadow:var(--shadow-lg);overflow:hidden}
.ncccm-page .ov-media .ovimg img{width:100%;height:auto;display:block}
.ncccm-page .ov-badge{display:inline-flex;align-items:center;gap:12px;margin-top:14px;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:13px 15px;box-shadow:var(--shadow)}
.ncccm-page .ov-badge .ob-ic{width:38px;height:38px;border-radius:10px;background:var(--green-50);color:var(--green-700);display:grid;place-items:center;flex:0 0 auto}
.ncccm-page .ov-badge .ob-ic svg{width:19px;height:19px}
.ncccm-page .ov-badge b{display:block;font-size:13px;font-weight:800;color:var(--green-900)}
.ncccm-page .ov-badge span{display:block;font-size:11.5px;font-weight:600;color:var(--ink-faint)}
.ncccm-page .ov-text p{margin:0 0 15px;font-size:14.5px;color:var(--ink-soft);line-height:1.9;text-wrap:pretty}
.ncccm-page .ov-text p strong{color:var(--green-800);font-weight:800}
.ncccm-page .ov-text p:first-child{font-size:15.5px;color:var(--ink)}

/* FIGURES */
.ncccm-page .figs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}
.ncccm-page .figc{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:22px 24px;box-shadow:var(--shadow);overflow:hidden}
.ncccm-page .figc::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--green-500)}
.ncccm-page .figc.f-amber::before{background:var(--amber)}
.ncccm-page .figc.f-sky::before{background:var(--sky)}
.ncccm-page .figc .fk{width:38px;height:38px;border-radius:11px;background:var(--green-50);color:var(--green-700);display:grid;place-items:center;margin-bottom:14px}
.ncccm-page .figc.f-amber .fk{background:#fbf2e0;color:var(--amber)}
.ncccm-page .figc.f-sky .fk{background:#e6f0f8;color:var(--sky)}
.ncccm-page .figc .fk svg{width:20px;height:20px}
.ncccm-page .figc .fv{font-size:34px;font-weight:900;color:var(--green-900);letter-spacing:-1px;line-height:1;font-variant-numeric:tabular-nums}
.ncccm-page .figc .fl{font-size:13.5px;color:var(--ink-soft);font-weight:700;margin-top:8px;line-height:1.45}
.ncccm-page .figc .fm{font-size:12px;color:var(--ink-faint);font-weight:600;margin-top:5px;line-height:1.5}

/* STAKEHOLDERS */
.ncccm-page .stake-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:26px}
.ncccm-page .stakec{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:20px 18px;box-shadow:var(--shadow);text-align:center;transition:transform .18s,border-color .18s,box-shadow .18s}
.ncccm-page .stakec:hover{transform:translateY(-3px);border-color:var(--green-100);box-shadow:var(--shadow-lg)}
.ncccm-page .stakec .si{width:48px;height:48px;margin:0 auto 13px;border-radius:14px;background:var(--green-50);color:var(--green-700);display:grid;place-items:center}
.ncccm-page .stakec .si svg{width:24px;height:24px}
.ncccm-page .stakec b{display:block;font-size:14.5px;font-weight:900;color:var(--green-900);line-height:1.3}
.ncccm-page .stakec span{display:block;font-size:12px;color:var(--ink-soft);font-weight:600;margin-top:7px;line-height:1.55}

/* KEY ELEMENTS — sidebar explorer */
.ncccm-page .el-wrap{display:grid;grid-template-columns:330px 1fr;gap:22px;align-items:start;margin-top:26px}
.ncccm-page .el-side{background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.ncccm-page .el-side-head{background:var(--green-800);color:#fff;font-size:14px;font-weight:800;padding:15px 18px;display:flex;align-items:center;gap:9px}
.ncccm-page .el-side-head svg{width:17px;height:17px;color:var(--green-400)}
.ncccm-page .el-side button{width:100%;display:flex;align-items:center;gap:13px;padding:15px 16px;font-family:inherit;font-size:13.5px;font-weight:700;color:var(--ink-soft);background:none;border:none;border-top:1px solid var(--line);cursor:pointer;text-align:left;line-height:1.35;transition:background .14s,color .14s}
.ncccm-page .el-side button:hover{background:var(--green-50);color:var(--green-800)}
.ncccm-page .el-side button.active{background:var(--green-50);color:var(--green-900);font-weight:800;box-shadow:inset 3px 0 0 var(--green-500)}
.ncccm-page .el-side button .en{width:34px;height:34px;flex:0 0 auto;border-radius:10px;background:var(--green-50);color:var(--green-700);display:grid;place-items:center;font-size:14px;font-weight:900;transition:background .14s,color .14s}
.ncccm-page .el-side button.active .en{background:var(--green-700);color:#fff}
.ncccm-page .el-side button .et{min-width:0}
.ncccm-page .el-side button .et small{display:block;font-size:11px;font-weight:700;color:var(--ink-faint);margin-top:2px;text-transform:uppercase;letter-spacing:.4px}

.ncccm-page .el-main{background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden;min-width:0}
.ncccm-page .el-banner{position:relative;height:210px;background:var(--green-100)}
.ncccm-page .el-banner img{width:100%;height:100%;object-fit:cover;display:block}
.ncccm-page .el-banner .ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(7,37,24,.86),rgba(7,37,24,.08) 62%);display:flex;align-items:flex-end;padding:22px 26px}
.ncccm-page .el-banner .ov .bn{font-size:11px;font-weight:900;letter-spacing:1px;text-transform:uppercase;color:var(--green-400);margin-bottom:7px}
.ncccm-page .el-banner .ov h3{margin:0;color:#fff;font-size:23px;font-weight:900;letter-spacing:-.3px;display:flex;align-items:center;gap:13px;line-height:1.2}
.ncccm-page .el-banner .ov h3 .bi{width:42px;height:42px;flex:0 0 auto;border-radius:12px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);display:grid;place-items:center}
.ncccm-page .el-banner .ov h3 .bi svg{width:22px;height:22px}
.ncccm-page .el-content{padding:24px 28px 28px}
.ncccm-page .el-content > p{margin:0 0 20px;font-size:14.5px;color:var(--ink-soft);font-weight:500;line-height:1.9}
.ncccm-page .el-content > p strong{color:var(--green-800);font-weight:800}
.ncccm-page .el-acts-label{display:flex;align-items:center;gap:8px;font-size:11.5px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;color:var(--green-600);margin-bottom:13px}
.ncccm-page .el-acts-label svg{width:14px;height:14px}
.ncccm-page .el-acts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ncccm-page .act{display:flex;align-items:flex-start;gap:12px;background:var(--green-50);border:1px solid var(--green-100);border-radius:13px;padding:14px 16px}
.ncccm-page .act .mk{width:26px;height:26px;flex:0 0 auto;border-radius:8px;background:var(--green-700);color:#fff;display:grid;place-items:center}
.ncccm-page .act .mk svg{width:15px;height:15px}
.ncccm-page .act span{font-size:13px;color:var(--green-900);font-weight:600;line-height:1.5}

/* CALLOUT */
.ncccm-page .callout{display:flex;align-items:center;gap:20px;margin-top:30px;background:linear-gradient(140deg,var(--green-800),var(--green-950));color:#fff;border-radius:20px;padding:26px 30px;box-shadow:var(--shadow-lg);position:relative;overflow:hidden}
.ncccm-page .callout::after{content:"";position:absolute;right:-60px;top:50%;transform:translateY(-50%);width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(95,224,163,.18),transparent 68%);pointer-events:none}
.ncccm-page .callout .co-ic{width:56px;height:56px;flex:0 0 auto;border-radius:16px;background:rgba(95,224,163,.16);border:1px solid rgba(95,224,163,.3);color:var(--green-400);display:grid;place-items:center;position:relative;z-index:1}
.ncccm-page .callout .co-ic svg{width:28px;height:28px}
.ncccm-page .callout .co-tx{position:relative;z-index:1}
.ncccm-page .callout .co-tx b{display:block;font-size:17px;font-weight:900;letter-spacing:-.2px;margin-bottom:5px}
.ncccm-page .callout .co-tx p{margin:0;font-size:13.5px;color:#bfe0cd;font-weight:500;line-height:1.7;max-width:76ch}

@media (max-width:980px){
  .ncccm-page .overview{grid-template-columns:1fr;gap:24px}
  .ncccm-page .ov-media{position:static}
  .ncccm-page .figs{grid-template-columns:1fr}
  .ncccm-page .stake-grid{grid-template-columns:1fr 1fr 1fr}
  .ncccm-page .el-wrap{grid-template-columns:1fr}
  .ncccm-page .el-acts{grid-template-columns:1fr}
}
@media (max-width:680px){
  .ncccm-page .wrap{padding-left:18px;padding-right:18px}
  .ncccm-page .hero{padding:18px 14px 0}
  .ncccm-page .hero-inner{padding:30px 22px}
  .ncccm-page .hero h1{font-size:24px}
  .ncccm-page .stake-grid{grid-template-columns:1fr 1fr}
  .ncccm-page .callout{flex-direction:column;align-items:flex-start;gap:14px}
  .ncccm-page .sec h2{font-size:21px}
}
