/* Authoritative long-form content tokens shared by product, category, post and article pages. */
body.nip-content-template { --nip-content-blue:#0066ff; --nip-content-ink:#18314a; --nip-content-muted:#60768a; --nip-content-line:#dceaf3; --nip-content-table:#eaf5fb; }
body.nip-content-template .nip-content-surface { font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Be Vietnam Pro",sans-serif; color:var(--nip-content-ink); font-size:16px; line-height:1.72; min-width:0; }
body.nip-content-template .nip-content-body { position:relative; min-width:0; overflow-x:auto; }
body.nip-content-template .nip-content-body.is-collapsed { max-height:600px; overflow-y:hidden; }
body.nip-content-template .nip-content-body.is-collapsed::after { content:""; position:absolute; bottom:0; left:0; right:0; height:88px; background:linear-gradient(transparent,#fff); pointer-events:none; }
body.nip-content-template .nip-content-surface h1,
body.nip-content-template .nip-content-surface h2,
body.nip-content-template .nip-content-surface h3,
body.nip-content-template .nip-content-surface h4 { color:var(--nip-content-blue); font-family:inherit; font-weight:800; letter-spacing:-.025em; }
body.nip-content-template .nip-content-surface h1 { font-size:clamp(28px,3vw,38px); line-height:1.18; margin:0 0 17px; }
body.nip-content-template .nip-content-surface h2 { font-size:clamp(23px,2.4vw,30px); line-height:1.25; margin:34px 0 15px; }
body.nip-content-template .nip-content-surface h3 { font-size:clamp(19px,2vw,24px); line-height:1.3; margin:27px 0 12px; }
body.nip-content-template .nip-content-surface h4 { font-size:clamp(17px,1.7vw,20px); line-height:1.35; margin:22px 0 10px; }
body.nip-content-template .nip-content-surface p,
body.nip-content-template .nip-content-surface li { color:var(--nip-content-ink); font-size:inherit; line-height:1.72; }
body.nip-content-template .nip-content-surface img { max-width:100%; height:auto; }
body.nip-content-template .nip-content-surface table { width:100%; min-width:560px; border-collapse:collapse; margin:24px 0; font-size:14px; }
body.nip-content-template .nip-content-surface table th { background:var(--nip-content-table); color:var(--nip-content-ink); font-weight:750; text-align:left; }
body.nip-content-template .nip-content-surface table th,
body.nip-content-template .nip-content-surface table td { padding:11px 14px; border:1px solid var(--nip-content-line); vertical-align:top; line-height:1.55; }
body.nip-content-template .nip-content-surface table td { color:var(--nip-content-ink); }
body.nip-content-template .nip-content-surface table tbody tr:nth-child(even) { background:#f7fbfe; }
body.nip-content-template .nip-content-toggle { display:flex; align-items:center; justify-content:center; gap:9px; min-height:44px; margin:18px auto 0; padding:10px 18px; border:1px solid var(--nip-content-blue); border-radius:8px; background:var(--nip-content-blue); color:#fff; font:750 14px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI","Be Vietnam Pro",sans-serif; cursor:pointer; }
body.nip-content-template .nip-content-toggle:focus-visible { outline:3px solid rgba(0,102,255,.28); outline-offset:3px; }
body.nip-content-template.page .nip-content-surface { max-width:1120px; margin:0 auto 32px; padding:28px 32px; border:1px solid var(--nip-content-line); border-radius:14px; background:#fff; }
body.nip-content-template.tax-product_cat .nip-category-surface { margin:0 0 24px; padding:28px 30px; border:1px solid var(--nip-content-line); border-radius:16px; background:#fff; box-shadow:0 10px 28px rgba(15,58,92,.06); }
body.nip-content-template.tax-product_cat .nip-category-surface .term-description { margin:0; padding:0; border:0; box-shadow:none; background:transparent; }
body.nip-content-template.single-product .product-info .product-title,
body.nip-content-template.single-post .entry-title { color:var(--nip-content-blue); }
@media(max-width:767px) {
  body.nip-content-template .nip-content-body.is-collapsed { max-height:430px; }
  body.nip-content-template .nip-content-toggle { width:100%; }
  body.nip-content-template.page .nip-content-surface { padding:20px 16px; }
  body.nip-content-template.tax-product_cat .nip-category-surface { padding:20px 16px; }
  body.nip-content-template .nip-content-surface table { min-width:520px; }
}
