@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&family=Poppins:wght@400;500;600;700;800&display=swap');

html, body { margin: 0; padding: 0; }

.nc-insights {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334152;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --cyan-50: #ecfeff;
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --amber-50: #fffbeb;
  --amber-700: #b45309;
  --white: #ffffff;
  color: var(--slate-900);
  background: var(--white);
  font-family: 'Poppins', 'Noto Sans TC', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

.nc-insights *, .nc-insights *::before, .nc-insights *::after { box-sizing: border-box; }
.nc-insights a { color: inherit; }

.nc-insights .container { width: min(760px, 100%); margin: 0 auto; padding: 0 1.5rem; }

.nc-insights .header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-200);
}

.nc-insights .nav {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nc-insights .brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-size: 1.1rem; font-weight: 700; color: var(--slate-900); }
.nc-insights .brand img { flex-shrink: 0; display: block; }
.nc-insights .home-link { color: var(--cyan-700); font-weight: 600; text-decoration: none; font-size: .92rem; }
.nc-insights .home-link:hover { text-decoration: underline; }

.nc-insights .breadcrumb {
  font-size: .85rem;
  color: var(--slate-500);
  margin: 1.75rem 0 .5rem;
}
.nc-insights .breadcrumb a { color: var(--slate-500); text-decoration: none; }
.nc-insights .breadcrumb a:hover { color: var(--cyan-700); text-decoration: underline; }

.nc-insights .section { padding: 1.5rem 0 5rem; }

.nc-insights h1, .nc-insights h2, .nc-insights h3, .nc-insights p { margin-top: 0; }
.nc-insights h1, .nc-insights h2, .nc-insights h3 { text-wrap: balance; }
.nc-insights .lead, .nc-insights .article-body { text-wrap: pretty; }

.nc-insights h1 { max-width: 720px; margin-bottom: 1rem; font-size: clamp(1.8rem, 4.5vw, 2.5rem); font-weight: 800; line-height: 1.2; }
.nc-insights h2 { max-width: 720px; margin: 2rem 0 1rem; font-size: clamp(1.3rem, 3vw, 1.6rem); font-weight: 800; line-height: 1.25; }
.nc-insights h3 { margin-bottom: .6rem; font-size: 1.1rem; font-weight: 700; }

.nc-insights .lead { max-width: 680px; color: var(--slate-700); font-size: clamp(1.02rem, 2vw, 1.15rem); margin-bottom: 1rem; }

.nc-insights .article-body { max-width: 680px; color: var(--slate-700); font-size: 1.05rem; line-height: 1.9; margin: 1.5rem 0 2rem; }
.nc-insights .article-body p { margin-bottom: 1.25rem; }
.nc-insights .article-body code { background: var(--slate-100); padding: .1rem .4rem; border-radius: .3rem; font-size: .9em; }
.nc-insights .article-body h3 { margin-top: 1.75rem; }
.nc-insights .article-body a { color: var(--cyan-700); text-decoration: underline; font-weight: 600; }
.nc-insights .article-body a:hover { color: var(--cyan-600); }

.nc-insights .article-body ul, .nc-insights .article-body ol { padding-left: 1.2rem; margin: 0 0 1.5rem; }
.nc-insights .article-body li { margin-bottom: .5rem; line-height: 1.7; }

.nc-insights .article-body .table-wrap { overflow-x: auto; margin: 0 0 1.75rem; }
.nc-insights .article-body table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.nc-insights .article-body th, .nc-insights .article-body td { text-align: left; padding: .65rem .9rem; border-bottom: 1px solid var(--slate-200); vertical-align: top; }
.nc-insights .article-body th { color: var(--slate-500); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.nc-insights .article-body td { color: var(--slate-600); line-height: 1.6; }
.nc-insights .article-body td strong { color: var(--slate-900); }
.nc-insights .article-body tr:last-child td { border-bottom: 0; }

@media (max-width: 640px) {
  .nc-insights .article-body table, .nc-insights .article-body thead, .nc-insights .article-body tbody,
  .nc-insights .article-body th, .nc-insights .article-body td, .nc-insights .article-body tr { display: block; }
  .nc-insights .article-body thead { display: none; }
  .nc-insights .article-body tr { border: 1px solid var(--slate-200); border-radius: .75rem; margin-bottom: 1rem; padding: .65rem .9rem; }
  .nc-insights .article-body td { border-bottom: 0; padding: .3rem 0; }
  .nc-insights .article-body td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 600; color: var(--slate-400); text-transform: uppercase; }
}

.nc-insights .small-copy { max-width: 680px; color: var(--slate-500); font-size: .88rem; line-height: 1.7; margin-bottom: 1.5rem; }

.nc-insights .card-date { color: var(--slate-500); font-size: .85rem; }

.nc-insights .tag-list { display: flex; flex-wrap: wrap; gap: .4rem; margin: .75rem 0; }
.nc-insights .tag-chip {
  display: inline-block;
  background: var(--cyan-50);
  color: var(--cyan-700);
  padding: .2rem .65rem;
  border-radius: 9999px;
  font-size: .78rem;
  font-weight: 600;
}

.nc-insights .lang-switcher {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
  font-size: .88rem;
  color: var(--slate-500);
}
.nc-insights .lang-switcher a { color: var(--cyan-700); text-decoration: underline; margin-left: .3rem; }

/* 品牌化示意視覺(尚無真實首圖時的預設,E1-F10-A6 真圖產出後可替換) */
.nc-insights .hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  border-radius: 1rem;
  margin: 1.5rem 0;
  background-color: #0e7490;
  background-image:
    linear-gradient(135deg, #0891b2, #0e7490),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 2px, transparent 2px 18px);
}
.nc-insights .hero-visual svg { opacity: .95; filter: drop-shadow(0 2px 6px rgba(0,0,0,.15)); }
.nc-insights .hero-visual .flag-emoji { font-size: 3.25rem; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.2)); }
.nc-insights .insight-card .hero-visual { height: 108px; margin: 0; }
.nc-insights .insight-card .hero-visual .flag-emoji { font-size: 2.75rem; }

.nc-insights .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }

.nc-insights .insight-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nc-insights .insight-card:hover { transform: translateY(-3px); box-shadow: 0 16px 24px -12px rgba(0,0,0,.12); }
.nc-insights .insight-card-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.nc-insights .insight-card h3 { margin-bottom: 0; }
.nc-insights .insight-card .card-summary { color: var(--slate-600); font-size: .92rem; line-height: 1.65; }

.nc-insights .footer {
  padding: 2rem 0;
  border-top: 1px solid var(--slate-200);
  color: var(--slate-500);
  font-size: .88rem;
  text-align: center;
}

@media (max-width: 640px) {
  .nc-insights .container { padding: 0 1rem; }
}
