/* ============================================================
   LINE for Business — Design Kit
   ถอด style จริงจาก https://lineforbusiness.com/th/service/line-oa-features
   (วัดจากค่า computed จริง 2026-07-04) — ใช้สวมกับ article ทุกหน้า
   ============================================================ */

/* ---------- FONTS (ตรงกับเว็บจริง) ---------- */
@font-face{font-family:"LINE Seed Sans TH";font-weight:400;font-style:normal;font-display:swap;
  src:url("fonts/LINESeedSansTH_W_Rg.woff2") format("woff2");}
@font-face{font-family:"LINE Seed Sans TH";font-weight:700;font-style:normal;font-display:swap;
  src:url("fonts/LINESeedSansTH_W_Bd.woff2") format("woff2");}
@font-face{font-family:"Sarabun";font-weight:400;font-style:normal;font-display:swap;
  src:url("fonts/Sarabun-Regular.woff2") format("woff2");}
@font-face{font-family:"Sarabun";font-weight:700;font-style:normal;font-display:swap;
  src:url("fonts/Sarabun-Bold.woff2") format("woff2");}

/* ---------- TOKENS ---------- */
:root{
  /* สี — ตาม brand guideline ทางการ (color_code.png ทีม) */
  /* Primary */
  --line-green:      #06C755;   /* LINE Forest Green — แบรนด์/primary */
  --line-green-ink:  #05B34C;   /* hover ปุ่มเขียว (เข้มลง) */
  --line-green-tint: rgba(6,199,85,.08);
  --line-blue:       #4270ED;   /* LINE Blue (primary secondary) */
  /* Secondary palette */
  --line-lime:       #6DE67B;
  --line-sky:        #1A9CFF;   /* Sky Blue — ใช้กับ logo pill "MyCustomer | CRM" */
  --line-sky-soft:   #78CBFF;   /* Sky Blue (color_code) */
  --line-purple:     #A17DF5;
  --line-magenta:    #F74397;
  --line-yellow:     #FFE500;
  --line-orange:     #FF6F36;
  --line-red:        #FF334B;
  /* LFC membership tiers (LFC ไม่มีน้ำเงินในพาเลต) */
  --lfc-silver:      #B4B4B4;
  --lfc-gold:        #E3C16F;
  --lfc-platinum:    #353839;
  --line-yellow600:  #FFFC33;   /* LFC accent */
  --ink:             #111111;   /* หัวข้อ/ตัวหนัก */
  --body:            #555555;   /* เนื้อความ */
  --muted:           #777777;   /* label/รอง */
  --white:           #FFFFFF;
  --surface:         #F5F5F5;   /* พื้น section สลับ */
  --line-border:     #DFDFDF;   /* เส้นการ์ด/ตาราง */
  --line-soft:       #E8E8E8;
  --dark:            #2A2A2A;   /* section เข้ม */

  /* ฟอนต์ */
  --font-head: "LINE Seed Sans TH", "Sarabun", sans-serif;   /* หัวข้อ/ปุ่ม/UI */
  --font-body: "Sarabun", "LINE Seed Sans TH", sans-serif;   /* เนื้อความ */

  /* radius */
  --r-sm: 4px;    /* ปุ่ม/input */
  --r-md: 8px;
  --r-lg: 12px;   /* การ์ด/รูป */
  --r-pill: 999px;

  /* layout */
  --container: 1040px;   /* max-width จริงของเว็บ */
  --gutter: 24px;

  --shadow-card: 0 4px 12px rgba(0,0,0,.12);
}

/* ---------- RESET/BASE ---------- */
*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.75;           /* ~28px */
  color:var(--body);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block;}

/* แถบ gradient บาง เขียว→น้ำเงิน ใต้ header (เอกลักษณ์เว็บ LINE) */
.line-topbar{height:4px;width:100%;
  background:linear-gradient(90deg,var(--line-green) 0%,var(--line-blue) 100%);}

/* ---------- TYPOGRAPHY (สเกลจริง) ---------- */
h1,.h1{font-family:var(--font-head);font-weight:700;font-size:32px;line-height:1.25;color:var(--ink);margin:0 0 16px;}
h2,.h2{font-family:var(--font-head);font-weight:700;font-size:24px;line-height:1.33;color:var(--ink);margin:0 0 14px;}
h3,.h3{font-family:var(--font-head);font-weight:700;font-size:18px;line-height:1.44;color:var(--ink);margin:0 0 10px;}
h4,.h4{font-family:var(--font-head);font-weight:700;font-size:16px;line-height:1.5;color:var(--ink);margin:0 0 8px;}
p{margin:0 0 16px;color:var(--body);}
.lead{font-family:var(--font-head);font-weight:700;font-size:22px;line-height:1.4;color:var(--line-green);}
.small{font-size:14px;line-height:1.43;color:var(--muted);}
.eyebrow{font-family:var(--font-head);font-weight:700;font-size:12px;line-height:1.33;
  letter-spacing:.04em;color:var(--muted);text-transform:uppercase;}
strong,b{font-weight:700;color:var(--ink);}
a{color:var(--line-green);text-decoration:none;font-weight:700;}
a:hover{text-decoration:underline;}

/* ลิสต์แบบเว็บ (bullet เขียว) */
ul{margin:0 0 16px;padding-left:0;list-style:none;}
ul li{position:relative;padding-left:22px;margin-bottom:8px;color:var(--body);}
ul li::before{content:"";position:absolute;left:4px;top:11px;width:6px;height:6px;
  border-radius:50%;background:var(--line-green);}
ol{margin:0 0 16px;padding-left:22px;}
ol li{margin-bottom:8px;color:var(--body);}

/* ============================================================
   EDITORIAL POLISH — hierarchy · TOC column · accents
   ============================================================ */
/* Lead / standfirst — ย่อหน้าแรกตัวใหญ่ อ่านนำ */
.article .lead{font-size:20px;line-height:1.7;color:#333;font-weight:400;margin-bottom:26px;}
.article .lead strong{color:var(--ink);font-weight:700;}
/* H2 มีแถบสีนำ + เว้นบน */
.article h2{font-size:27px;line-height:1.3;margin-top:56px;padding-top:0;}
.article h2::before{content:"";display:block;width:44px;height:4px;border-radius:2px;
  background:var(--ig-accent,var(--line-green));margin:0 0 16px;}
.article h3{font-size:20px;margin-top:34px;}
.article p{margin:0 0 18px;}
.article strong{color:var(--ink);}
.article > *:first-child{margin-top:0;}

/* DOC LAYOUT — TOC sidebar + body (แบ่งคอลัม) */
.doc{display:grid;grid-template-columns:220px minmax(0,1fr);gap:52px;
  max-width:1040px;margin:0 auto;padding:8px 24px 0;align-items:start;}
.toc{position:sticky;top:24px;}
.toc-h{font-family:var(--font-head);font-weight:700;font-size:12px;color:var(--muted);
  letter-spacing:.06em;text-transform:uppercase;margin-bottom:14px;}
.toc a{display:block;color:var(--body);font-weight:400;font-size:14px;line-height:1.4;
  padding:7px 0 7px 14px;border-left:2px solid var(--line-soft);text-decoration:none;transition:.12s;}
.toc a:hover{color:var(--line-green);border-color:var(--line-green);text-decoration:none;}
.doc-body{min-width:0;max-width:720px;}
.doc-body .container{max-width:none;padding:0;}
@media (max-width:920px){.doc{grid-template-columns:1fr;gap:0;padding:8px 20px 0;}
  .toc{display:none;} .doc-body{max-width:none;}}

/* Topic illustration — ภาพเปิดบทความตาม CI ของแต่ละ app */
.topic-visual{--topic-accent:var(--line-green);margin:26px 0 34px;border:1px solid var(--line-soft);border-radius:18px;overflow:hidden;background:#fff;}
.topic-visual__media{position:relative;background:linear-gradient(180deg,#fff 0%,#F7FAF8 100%);padding:18px 22px 10px;}
.topic-visual__media::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--topic-accent);}
.topic-visual img{width:100%;display:block;margin:0;border-radius:12px;}
.topic-visual figcaption{font-size:13px;line-height:1.55;color:var(--muted);padding:13px 18px;background:#fff;border-top:1px solid var(--line-soft);}
.topic-visual--oa{--topic-accent:var(--line-green);}
.topic-visual--ads{--topic-accent:var(--line-blue);}
.topic-visual--crm{--topic-accent:var(--line-sky);}
.topic-visual--myshop{--topic-accent:var(--line-green);}
.topic-visual--bm{--topic-accent:#4270ED;}
.topic-visual--lfc{--topic-accent:var(--lfc-gold);}

/* Script-locked article illustration.
   ใช้กับหน้า HTML ที่ต้องคงข้อความตาม production script แต่เพิ่มภาพประกอบได้ */
.script-illustration{margin:0 0 38px;border:1px solid var(--line-soft);border-radius:18px;overflow:hidden;background:#F6F7F8;}
.script-illustration img{display:block;width:100%;height:auto;margin:0;}
.script-illustration--myshop{border-color:#E7E1FF;background:#F8F6FF;}
.script-illustration--oa{border-color:#DDE7FF;background:#F7FAFF;}
.script-illustration--ads{border-color:#DDE7FF;background:#F7FAFF;}
.script-illustration--crm{border-color:#D8EEFF;background:#F6FBFF;}
.script-illustration--lfc{border-color:#F0DEAB;background:#FFFDF4;}
.script-illustration--bm{border-color:#C2D2FF;background:#F7F9FF;}

/* BM illustration visual — asset-based opening image, not a diagram block */
.bm-illustration{margin:26px 0 34px;border:1px solid #2A2A2A;border-radius:8px;overflow:hidden;background:#2A2A2A;}
.bm-illustration__media{background:#2A2A2A;}
.article .bm-illustration img{display:block;width:100%;height:auto;margin:0;border-radius:0;}
.bm-illustration figcaption{margin:0;padding:13px 18px;background:#fff;color:var(--muted);font-size:13px;line-height:1.55;border-top:1px solid var(--line-soft);}

/* KEY-TAKEAWAY / highlight box (ภาพประกอบเชิงเนื้อหา ไม่กุรูป) */
.keybox{background:linear-gradient(180deg,var(--line-green-tint),transparent);
  border:1px solid var(--line-border);border-left:4px solid var(--line-green);
  border-radius:var(--r-md);padding:18px 22px;margin:0 0 22px;}
.keybox .kt{font-family:var(--font-head);font-weight:700;font-size:13px;color:var(--line-green-ink);
  letter-spacing:.04em;margin-bottom:6px;}

/* Motif divider แทน hr ธรรมดา */
.article hr{border:none;height:24px;margin:44px 0;position:relative;text-align:center;}
.article hr::after{content:"";display:inline-block;width:22px;height:24px;
  background:var(--ig-accent,var(--line-green));opacity:.18;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 320'%3E%3Cpath d='M42 0L258 0Q300 0 300 42L300 158Q300 200 265 223L168 288Q150 300 132 288L35 223Q0 200 0 158L0 42Q0 0 42 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 320'%3E%3Cpath d='M42 0L258 0Q300 0 300 42L300 158Q300 200 265 223L168 288Q150 300 132 288L35 223Q0 200 0 158L0 42Q0 0 42 0Z'/%3E%3C/svg%3E") center/contain no-repeat;}
body.app-bm .article hr::after{width:42px;height:22px;opacity:.34;background:linear-gradient(90deg,#06C755 0 62%,#4270ED 62% 100%);
  -webkit-mask:none;mask:none;clip-path:polygon(0 64%,44% 64%,44% 30%,70% 30%,70% 0,100% 0,100% 40%,82% 40%,82% 72%,56% 72%,56% 100%,0 100%);}

/* ---------- LAYOUT ---------- */
.container{max-width:var(--container);margin:0 auto;padding:0 var(--gutter);}
.section{padding:72px 0;}
.section--alt{background:var(--surface);}   /* พื้นเทาสลับ */
.section--dark{background:var(--dark);color:#fff;}
.section--dark h1,.section--dark h2,.section--dark h3{color:#fff;}
.section-head{margin-bottom:40px;}

/* ---------- BUTTONS (จริง: 48px สูง, radius 4px, pad 12/16) ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--font-head);font-weight:700;font-size:16px;line-height:1;
  min-height:48px;padding:12px 24px;border-radius:var(--r-sm);
  cursor:pointer;transition:.15s ease;border:1px solid transparent;text-decoration:none;}
.btn-primary{background:var(--line-green);color:#fff;}
.btn-primary:hover{background:var(--line-green-ink);text-decoration:none;}
.btn-outline{background:transparent;color:var(--line-green);border-color:var(--line-green);}
.btn-outline:hover{background:var(--line-green-tint);text-decoration:none;}
.btn-group{display:flex;gap:12px;flex-wrap:wrap;}

/* ---------- CARDS ---------- */
.card{background:#fff;border:1px solid var(--line-border);border-radius:var(--r-lg);
  padding:28px;}
.card--elevated{border:none;box-shadow:var(--shadow-card);}
.card--tint{background:var(--line-green-tint);border-color:transparent;}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;}
.media{border-radius:var(--r-lg);overflow:hidden;}
.hero-cover{width:100%;border-radius:var(--r-lg);display:block;}
.feature-img{display:block;width:100%;max-width:520px;margin:8px auto 24px;border-radius:var(--r-lg);}
.ig-embed{display:block;width:100%;margin:12px 0 28px;border-radius:var(--r-lg);border:1px solid var(--line-soft);}

/* การ์ดบทความที่เกี่ยวข้อง (คลิกได้ ไม่ใช้รูปกุ) */
.rel-card{display:flex;flex-direction:column;gap:6px;text-decoration:none;padding:24px;}
.rel-card:hover{border-color:var(--line-green);box-shadow:var(--shadow-card);text-decoration:none;}
.rel-card .eyebrow{color:var(--line-green);margin-bottom:2px;}
.rel-title{font-family:var(--font-head);font-weight:700;font-size:18px;line-height:1.4;color:var(--ink);}
.rel-card .small{flex:1;margin:0;}
.rel-more{color:var(--line-green);font-weight:700;font-size:15px;margin-top:8px;}
.related-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;
  list-style:none;padding:0;margin:0 0 28px;}
.related-list li{border:1px solid var(--line-soft);border-radius:8px;background:#fff;
  padding:14px 16px;font-size:15px;line-height:1.55;color:var(--body);}
.related-list li::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;
  background:var(--line-green);margin-right:9px;vertical-align:1px;}

/* ---------- FEATURE ROW (ไอคอนเส้นเขียว + ข้อความ) ---------- */
.feature{display:flex;gap:16px;align-items:flex-start;margin-bottom:24px;}
.feature .ic{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;
  color:var(--line-green);}
.feature .ic svg{width:32px;height:32px;stroke:var(--line-green);}
.feature h4{margin:0 0 4px;}
.feature p{margin:0;font-size:15px;}

/* ---------- COMPARISON TABLE (หัวเขียว, คอลัมน์ label เขียว) ---------- */
.cmp{width:100%;border-collapse:separate;border-spacing:0;border-radius:var(--r-lg);
  overflow:hidden;border:1px solid var(--line-border);font-size:15px;}
.cmp th,.cmp td{padding:18px 20px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line-border);}
.cmp thead th{font-family:var(--font-head);font-weight:700;font-size:18px;background:#fff;color:var(--line-green);}
.cmp thead th:first-child{background:var(--line-green);}
.cmp tbody th{font-family:var(--font-head);font-weight:700;background:var(--line-green);color:#fff;
  width:180px;font-size:15px;}
.cmp tbody td{background:#fff;color:var(--body);}
.cmp tr:last-child th,.cmp tr:last-child td{border-bottom:none;}

/* ---------- CALLOUT / NOTE ---------- */
.note,blockquote{border-left:4px solid var(--line-green);background:var(--line-green-tint);
  padding:16px 20px;border-radius:0 var(--r-md) var(--r-md) 0;margin:0 0 20px;
  overflow-wrap:anywhere;word-break:break-word;}
.note strong,blockquote strong{color:var(--line-green-ink);}
blockquote p:last-child{margin-bottom:0;}

/* ---------- ELEMENT-LEVEL (สวม article markdown→HTML อัตโนมัติ ไม่ต้องแท็ก class) ---------- */
.article table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;border-radius:var(--r-lg);
  overflow:hidden;border:1px solid var(--line-border);font-size:15px;margin:0 0 24px;}
.article th,.article td{padding:16px 18px;text-align:left;vertical-align:top;
  border-bottom:1px solid var(--line-border);overflow-wrap:anywhere;word-break:break-word;}
.article thead th{font-family:var(--font-head);font-weight:700;font-size:15px;
  background:var(--line-green);color:#fff;border-bottom:none;}
.article tbody td{background:#fff;color:var(--body);}
.article tbody tr:last-child td{border-bottom:none;}
.article tbody td:first-child{color:var(--ink);}   /* คอลัมน์แรกเน้น */
.article hr{border:none;border-top:1px solid var(--line-soft);margin:40px 0;}
.article h2{margin-top:8px;padding-top:8px;}
.article p,.article li{overflow-wrap:anywhere;word-break:break-word;}
.article code{font-family:ui-monospace,Menlo,monospace;font-size:.9em;
  background:var(--surface);padding:2px 6px;border-radius:var(--r-sm);color:var(--ink);}
.article pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;
  background:var(--surface);border-radius:var(--r-md);padding:14px 16px;margin:0 0 24px;overflow:hidden;}
.article pre code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;
  background:transparent;padding:0;border-radius:0;}
.article img{border-radius:var(--r-lg);margin:8px 0 24px;}

/* ============================================================
   INFOGRAPHIC COMPONENTS — inline (ไม่ต้อง render PNG) · on-brand
   ใช้ token --ig-accent (default เขียว; ตั้งต่อ app ได้ เช่น CRM=sky)
   ============================================================ */
.ig{--ig-accent:var(--line-green);--ig-tint:var(--line-green-tint);margin:8px 0 26px;}
.ig-h{font-family:var(--font-head);font-weight:700;font-size:20px;color:var(--ink);margin:0 0 4px;}
.ig-sub{color:var(--body);font-size:15px;margin:0 0 18px;}
.ig-cap{color:var(--muted);font-size:12px;margin:12px 0 0;}
/* การ์ดกริด (ฟีเจอร์/ประเภท/ช่องทาง) */
.ig-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;}
.ig-card{border:1px solid var(--line-border);border-radius:var(--r-lg);padding:20px 18px;background:#fff;}
.ig-card-ic{width:44px;height:44px;border-radius:12px;background:var(--ig-tint);display:grid;place-items:center;font-size:22px;margin-bottom:12px;color:var(--ig-accent);}
.ig-card-ic svg{width:23px;height:23px;display:block;}
.ig-card-t{font-family:var(--font-head);font-weight:700;font-size:16px;color:var(--ink);margin:0 0 4px;}
.ig-card-d{font-size:13px;line-height:1.5;color:var(--muted);margin:0 0 10px;}
.ig-chip{display:inline-block;font-family:var(--font-head);font-weight:700;font-size:12px;color:#fff;background:var(--ig-accent);padding:5px 12px;border-radius:var(--r-pill);}
.ig-chip--soft{background:var(--ig-tint);color:var(--line-green-ink);}
/* ขั้นตอน (process/steps) */
.ig-steps{display:grid;gap:12px;}
.ig-step{display:flex;gap:14px;align-items:flex-start;background:var(--surface);border-radius:var(--r-md);padding:14px 16px;}
.ig-step-n{flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:var(--ig-accent);color:#fff;font-family:var(--font-head);font-weight:700;font-size:15px;display:grid;place-items:center;}
.ig-step-b .t{font-family:var(--font-head);font-weight:700;font-size:15px;color:var(--ink);}
.ig-step-b .d{font-size:13px;color:var(--muted);margin-top:2px;}
/* สถิติเด่น (key numbers) */
.ig-stats{display:flex;flex-wrap:wrap;gap:14px;}
.ig-stat{flex:1;min-width:150px;border:1px solid var(--line-border);border-radius:var(--r-lg);padding:18px 20px;}
.ig-stat .n{font-family:var(--font-head);font-weight:700;font-size:30px;color:var(--ig-accent);line-height:1.1;}
.ig-stat .l{font-size:13px;color:var(--muted);margin-top:4px;}
/* บันได/ระดับ (tiers) */
.ig-ladder{display:flex;align-items:flex-end;gap:12px;min-height:170px;}
.ig-rung{flex:1;min-width:0;border-radius:10px 10px 0 0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:12px 6px 14px;color:#fff;text-align:center;overflow:hidden;}
.ig-rung .lv{font-family:var(--font-head);font-weight:700;font-size:16px;}
.ig-rung .sub{max-width:100%;font-size:11px;line-height:1.25;opacity:.9;margin-top:2px;overflow-wrap:anywhere;}
/* เปรียบเทียบ 2 ฝั่ง */
.ig-compare{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.ig-col{border:1px solid var(--line-border);border-radius:var(--r-lg);overflow:hidden;}
.ig-col-h{padding:14px 18px;font-family:var(--font-head);font-weight:700;color:#fff;background:var(--ig-accent);}
.ig-col-h.alt{background:var(--muted);}
.ig-col ul{margin:0;padding:16px 18px;}
@media (max-width:640px){.ig-compare{grid-template-columns:1fr}.ig-ladder{min-height:130px}}

/* ---------- FAQ ACCORDION (แบบเว็บ LINE จริง) ---------- */
.faq{display:flex;flex-direction:column;gap:16px;margin:0 0 24px;}
.faq-item{background:#fff;border:1px solid var(--line-soft);border-radius:8px;overflow:hidden;transition:border-color .15s;}
.faq-item.open{border-color:var(--line-border);}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;
  background:none;border:none;cursor:pointer;text-align:left;
  font-family:var(--font-head);font-weight:700;font-size:18px;line-height:1.4;color:var(--ink);
  padding:22px 24px;}
.faq-q .chev{flex:0 0 12px;width:12px;height:12px;border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .2s;margin-top:-4px;}
.faq-item.open .faq-q .chev{transform:rotate(-135deg);margin-top:2px;}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease,padding .25s ease;
  padding:0 24px;color:var(--body);font-size:16px;line-height:1.75;}
.faq-item.open .faq-a{max-height:600px;padding:0 24px 22px;}
.faq-a strong{color:var(--ink);}
.faq-more{display:block;text-align:center;margin-top:8px;color:var(--line-green);font-weight:700;}

/* ---------- BADGE / PILL ---------- */
.badge{display:inline-block;font-family:var(--font-head);font-weight:700;font-size:12px;
  padding:4px 12px;border-radius:var(--r-pill);background:var(--line-green);color:#fff;}
.badge--soft{background:var(--line-green-tint);color:var(--line-green-ink);}
.badge--product{background:var(--line-sky);color:#fff;}   /* logo pill "MyCustomer | CRM" */

/* ---------- HERO ---------- */
.hero{padding:64px 0;}
.hero .container{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.hero h1{font-size:40px;line-height:1.2;}
.hero .sub{font-size:18px;color:var(--body);margin-bottom:28px;}

/* ---------- ANCHOR SUB-NAV (sticky แท็บฟีเจอร์) ---------- */
.subnav{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line-soft);}
.subnav .container{display:flex;align-items:center;gap:32px;height:72px;}
.subnav .title{font-family:var(--font-head);font-weight:700;font-size:18px;color:var(--ink);margin-right:auto;}
.subnav a{color:var(--ink);font-weight:700;font-size:16px;padding:8px 0;border-bottom:2px solid transparent;}
.subnav a.active,.subnav a:hover{color:var(--line-green);border-color:var(--line-green);text-decoration:none;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:820px){
  .hero .container{grid-template-columns:1fr;gap:28px;}
  .hero h1{font-size:30px;}
  h1,.h1{font-size:26px;}
  .section{padding:48px 0;}
  .article table{font-size:13px;border-radius:8px;}
  .article th,.article td{padding:10px 9px;}
  .article thead th{font-size:13px;}
  .cmp tbody th{width:120px;}
  .subnav .container{gap:18px;overflow-x:auto;}
}
