/**
 * NepalTechHub Staff Access — Phase 20A-5 public team/author trust.
 * Public presentation only.
 */
.nth-public-team,.nth-author-trust-page{
  --nth-trust-ink:#0f172a;
  --nth-trust-muted:#66778d;
  --nth-trust-line:#dbe5f1;
  --nth-trust-blue:#2457e6;
  --nth-trust-bg:#f6f9fd;
  color:var(--nth-trust-ink)
}
.nth-public-team{max-width:1180px;margin:0 auto;padding:28px 20px 64px}
.nth-team-eyebrow{
  margin:0 0 8px;color:var(--nth-trust-blue);font-size:12px;font-weight:850;
  text-transform:uppercase;letter-spacing:.13em
}
.nth-team-hero{
  padding:42px;border:1px solid var(--nth-trust-line);border-radius:26px;
  background:
    radial-gradient(circle at 88% 12%,rgba(36,87,230,.12),transparent 31%),
    linear-gradient(145deg,#fff,#f5f9ff);
  box-shadow:0 18px 48px rgba(15,23,42,.065)
}
.nth-team-hero h1{margin:0;color:var(--nth-trust-ink);font-size:clamp(38px,6vw,64px);line-height:1;letter-spacing:-.055em}
.nth-team-hero>p:not(.nth-team-eyebrow){max-width:760px;margin:20px 0 0;color:var(--nth-trust-muted);font-size:18px;line-height:1.75}
.nth-team-trust-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.nth-team-trust-row span,.nth-team-tags span{
  display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #cfdbeb;border-radius:999px;background:#fff;color:#526277;font-size:12px;font-weight:750
}
.nth-team-trust-row span::before{content:"✓";margin-right:6px;color:#059669}
.nth-team-group{margin-top:42px}
.nth-team-section-head h2{margin:0;font-size:32px;letter-spacing:-.035em}
.nth-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:18px}
.nth-team-card{
  min-width:0;overflow:hidden;border:1px solid var(--nth-trust-line);border-radius:20px;background:#fff;
  box-shadow:0 10px 30px rgba(15,23,42,.045)
}
.nth-team-avatar-link{display:block;aspect-ratio:16/10;background:#eef3f8;overflow:hidden}
.nth-team-avatar{width:100%;height:100%;object-fit:cover;display:block}
.nth-team-card-body{padding:20px}
.nth-team-role{margin:0 0 5px;color:var(--nth-trust-blue);font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.nth-team-card h3{margin:0;font-size:23px;letter-spacing:-.025em}
.nth-team-card h3 a{color:var(--nth-trust-ink);text-decoration:none}
.nth-team-card h3 a:hover{text-decoration:underline}
.nth-team-tagline{min-height:3em;margin:10px 0;color:var(--nth-trust-muted);line-height:1.55}
.nth-team-tags{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.nth-team-tags span{background:#f5f8ff;border-color:#d8e4f5;color:#415570}
.nth-team-card-meta{display:flex;flex-wrap:wrap;gap:7px 13px;margin-top:14px;color:#77879b;font-size:11px}
.nth-team-profile-link{display:inline-flex;margin-top:15px;color:var(--nth-trust-blue);font-weight:800;text-decoration:none}
.nth-team-profile-link:hover{text-decoration:underline}
.nth-team-empty{
  margin-top:28px;padding:24px;border:1px dashed #cbd8e7;border-radius:18px;background:#f8fbff
}
.nth-team-empty h2,.nth-team-empty h3{margin-top:0}
.nth-team-empty p{margin-bottom:0;color:var(--nth-trust-muted);line-height:1.65}
.nth-team-standards{
  margin-top:46px;padding:28px;border:1px solid var(--nth-trust-line);border-radius:22px;background:var(--nth-trust-bg)
}
.nth-team-standards h2{margin:0;font-size:30px;letter-spacing:-.035em}
.nth-team-standards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.nth-team-standards-grid>div{padding:16px;border:1px solid #e0e7ef;border-radius:14px;background:#fff}
.nth-team-standards-grid strong,.nth-team-standards-grid span{display:block}
.nth-team-standards-grid strong{color:var(--nth-trust-ink)}
.nth-team-standards-grid span{margin-top:5px;color:var(--nth-trust-muted);line-height:1.55}
.nth-team-policy-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.nth-team-policy-links a{color:var(--nth-trust-blue);font-weight:750}

/* Author archive */
.nth-author-trust-page{background:#f6f8fb;padding:28px 0 64px}
.nth-author-shell{width:min(1180px,calc(100% - 36px));margin:0 auto}
.nth-author-breadcrumb{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px;color:#718096;font-size:13px}
.nth-author-breadcrumb a{color:#526277}
.nth-author-hero{
  display:grid;grid-template-columns:220px minmax(0,1fr);gap:30px;align-items:center;
  padding:34px;border:1px solid var(--nth-trust-line);border-radius:24px;background:#fff;
  box-shadow:0 16px 44px rgba(15,23,42,.055)
}
.nth-author-avatar-wrap{width:220px;height:220px;border-radius:22px;overflow:hidden;background:#eef3f8}
.nth-author-avatar{width:100%;height:100%;object-fit:cover;display:block}
.nth-author-hero h1{margin:0;color:var(--nth-trust-ink);font-size:clamp(38px,6vw,62px);line-height:1;letter-spacing:-.055em}
.nth-author-role{margin:10px 0 0;color:var(--nth-trust-blue);font-size:17px;font-weight:850}
.nth-author-tagline{max-width:720px;margin:13px 0;color:var(--nth-trust-muted);font-size:17px;line-height:1.65}
.nth-author-social{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px}
.nth-author-social a{padding:7px 11px;border:1px solid #d6e1ef;border-radius:999px;background:#f8fbff;color:#2457e6;font-weight:750;text-decoration:none}
.nth-author-trust-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.nth-author-trust-metrics>div{padding:17px;border:1px solid var(--nth-trust-line);border-radius:16px;background:#fff}
.nth-author-trust-metrics strong,.nth-author-trust-metrics span{display:block}
.nth-author-trust-metrics strong{font-size:22px;color:var(--nth-trust-ink)}
.nth-author-trust-metrics span{margin-top:4px;color:var(--nth-trust-muted);font-size:12px}
.nth-author-main-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:16px}
.nth-author-about,.nth-author-trust-note,.nth-author-work{
  padding:24px;border:1px solid var(--nth-trust-line);border-radius:18px;background:#fff
}
.nth-author-about h2,.nth-author-trust-note h2,.nth-author-work h2{margin:0;color:var(--nth-trust-ink);letter-spacing:-.03em}
.nth-author-about h3{margin-top:22px}
.nth-author-about p,.nth-author-trust-note p{color:var(--nth-trust-muted);line-height:1.75}
.nth-author-trust-note{background:linear-gradient(145deg,#fff,#f5f9ff)}
.nth-author-trust-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}
.nth-author-trust-links a{color:var(--nth-trust-blue);font-weight:750}
.nth-author-work{margin-top:16px}
.nth-author-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.nth-author-work-card{overflow:hidden;border:1px solid #dce5ef;border-radius:16px;background:#fff}
.nth-author-work-image{display:block;aspect-ratio:16/9;background:#eef3f8;overflow:hidden}
.nth-author-work-image img{width:100%;height:100%;object-fit:cover}
.nth-author-work-placeholder{display:grid;width:100%;height:100%;place-items:center;color:#94a3b8;font-weight:900;font-size:28px}
.nth-author-work-body{padding:16px}
.nth-author-work-date{margin:0;color:#75859a;font-size:11px;font-weight:750;text-transform:uppercase}
.nth-author-work-card h3{margin:7px 0;font-size:18px;line-height:1.3}
.nth-author-work-card h3 a{color:var(--nth-trust-ink);text-decoration:none}
.nth-author-work-card h3 a:hover{text-decoration:underline}
.nth-author-work-body>p:not(.nth-author-work-date){color:var(--nth-trust-muted);line-height:1.55}
.nth-author-pagination{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}
.nth-author-pagination .page-numbers{display:inline-flex;min-width:42px;min-height:42px;align-items:center;justify-content:center;padding:8px 11px;border:1px solid #d7e2ef;border-radius:10px;background:#fff;text-decoration:none}
.nth-author-pagination .current{background:#2457e6;color:#fff;border-color:#2457e6}

/* Single article trust card */
.nth-article-author-card{
  display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;margin:36px 0 12px;padding:22px;
  border:1px solid #dbe5f1;border-radius:18px;background:linear-gradient(145deg,#fff,#f6f9ff)
}
.nth-article-author-avatar img{width:96px;height:96px;border-radius:18px;object-fit:cover}
.nth-article-author-body h2{margin:0;font-size:24px}
.nth-article-author-body h2 a{color:#0f172a;text-decoration:none}
.nth-article-author-role{margin:5px 0;color:#2457e6;font-weight:800}
.nth-article-author-body>p:not(.nth-team-eyebrow):not(.nth-article-author-role){color:#66778d;line-height:1.6}

@media(max-width:900px){
  .nth-team-grid,.nth-author-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nth-team-standards-grid{grid-template-columns:1fr}
  .nth-author-main-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .nth-public-team{padding:18px 14px 50px}
  .nth-team-hero{padding:27px 20px;border-radius:20px}
  .nth-team-hero>p:not(.nth-team-eyebrow){font-size:16px}
  .nth-team-grid,.nth-author-work-grid{grid-template-columns:1fr}
  .nth-author-shell{width:min(100% - 24px,1180px)}
  .nth-author-hero{grid-template-columns:1fr;padding:22px}
  .nth-author-avatar-wrap{width:160px;height:160px}
  .nth-author-trust-metrics{grid-template-columns:1fr}
  .nth-article-author-card{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .nth-public-team *,.nth-author-trust-page *,.nth-article-author-card *{scroll-behavior:auto!important;transition:none!important}
}
