@font-face{font-family:'Sarabun';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/sarabun-300-thai.d47db182.woff2) format('woff2');unicode-range:U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/sarabun-300-latin-ext.533288d2.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/sarabun-300-latin.da68b62c.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/sarabun-400-thai.7d957144.woff2) format('woff2');unicode-range:U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/sarabun-400-latin-ext.5c4e0991.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/sarabun-400-latin.65107801.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/sarabun-500-thai.959e07d0.woff2) format('woff2');unicode-range:U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/sarabun-500-latin-ext.c21f1ccd.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/sarabun-500-latin.393a87b5.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/sarabun-600-thai.8e521889.woff2) format('woff2');unicode-range:U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/sarabun-600-latin-ext.29bf5266.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/sarabun-600-latin.5563c6ca.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/sarabun-700-thai.1ace28bd.woff2) format('woff2');unicode-range:U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/sarabun-700-latin-ext.44193d6d.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/sarabun-700-latin.ef146f9c.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/source-serif-4-400700-latin-ext.33ba7507.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/source-serif-4-400700-latin.e9192c2f.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Commit Legal Consultant — ชุดสไตล์เว็บสำนักงาน
   สีและฟอนต์ยึดตามแอป CommitLex (www.commitlex.com) เพื่อให้เป็นแบรนด์เดียวกัน */

:root{
  --ink:#e9f0f8;
  --navy:#1e3a5f;
  --navy-deep:#0b1624;
  --gold:#fbbf24;
  --gold-ink:#f0b429;
  --paper:#0c1826;
  --surface:#122032;
  --surface-2:#16273c;
  --line:#2b405b;
  --line-soft:#1f3149;
  --text:#dde7f2;
  --muted:#9db1c7;
  --on-navy:#e8eef6;
  --on-navy-muted:#a9bcd2;

  --serif:"Source Serif 4","Noto Serif Thai",Georgia,"Times New Roman",serif;
  --sans:"Sarabun","Segoe UI",system-ui,sans-serif;
  --lh-body:1.65;
  --lh-head:1.2;

  --wrap:1180px;
  --read:68ch;
  --header-h:72px;
  --shadow-card:0 1px 3px rgba(0,0,0,.5);
  --shadow-pop:0 18px 44px rgba(0,0,0,.55);
  color-scheme:dark;
}

/* ชุดสีพื้นขาว เก็บไว้ทั้งชุด เปิดใช้ได้ด้วยการใส่ data-theme="light" ที่แท็ก html */
:root[data-theme="light"]{
  --ink:#12253c;--navy:#1e3a5f;--navy-deep:#0f2039;--gold:#fbbf24;--gold-ink:#8a5a05;
  --paper:#f4f7fa;--surface:#ffffff;--surface-2:#eef3f8;--line:#d7e0ea;--line-soft:#e6ecf3;
  --text:#1b2c40;--muted:#5a6b7d;
  --shadow-card:0 1px 2px rgba(18,37,60,.06);
  --shadow-pop:0 18px 44px rgba(18,37,60,.16);
  color-scheme:light;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--paper);color:var(--text);
  font-family:var(--sans);font-size:16px;line-height:var(--lh-body);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--serif);color:var(--ink);text-wrap:balance;margin:0;font-weight:600;line-height:var(--lh-head)}
p{margin:0}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
h2[id],h3[id],section[id]{scroll-margin-top:calc(var(--header-h) + 18px)}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-ink)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;z-index:99;background:var(--gold);color:#26200a;padding:8px 14px}

/* ── หัวเว็บ: แถบเดียว ตรึงบน ────────────────────────
   อ้างอิงจากที่วัดมาจริง: White & Case 60px · Baker McKenzie 54-88px
   เมนู 5 รายการ · ไม่มีเบอร์/อีเมลบนแถบ · มือถือเหลือโลโก้ + โทร + เมนู       */
.masthead{position:sticky;top:0;z-index:60;background:var(--surface);
  border-bottom:1px solid var(--line);box-shadow:0 1px 0 rgba(0,0,0,.25)}
.masthead-in{max-width:1290px;margin:0 auto;padding:0 24px;height:72px;
  display:flex;align-items:center;gap:22px}

.mark{display:flex;align-items:center;gap:12px;text-decoration:none;flex:none}
.mark-glyph{width:44px;height:44px;flex:none;display:block;object-fit:contain}
.mark-glyph--text{background:var(--navy);color:var(--gold);font-family:var(--serif);
  font-weight:700;font-size:20px;display:grid;place-items:center}
.mark-name{font-family:var(--serif);font-size:17px;font-weight:700;color:var(--ink);
  line-height:1.1;display:block;white-space:nowrap}
.mark-sub{font-size:10.5px;letter-spacing:.15em;text-transform:uppercase;color:var(--muted);
  margin-top:3px;display:block}

.nav{margin-left:auto;display:flex;align-items:center;gap:2px;list-style:none;margin-block:0;padding:0}
.nav-item{position:relative}
.nav-item.has-mega{position:static}
.nav-item > a{display:block;font-size:14.5px;font-weight:500;text-decoration:none;
  padding:10px 14px;border-radius:4px;white-space:nowrap}
.nav-item > a:hover{background:var(--surface-2);color:var(--gold-ink)}
.nav-item > a[aria-current]{color:var(--gold-ink);font-weight:600}

/* เมนูบริการแบบแผงกว้าง — ทุกกลุ่มเรียงเป็นคอลัมน์ */
.nav-wrap{display:contents}
.mega{position:absolute;top:100%;left:0;right:0;display:none;padding:8px 0 0}
.mega::before{content:'';position:absolute;left:0;right:0;bottom:100%;height:16px}
@media (min-width:1180px){
  .mega{justify-content:center}
  .nav-item.has-mega:hover .mega,
  .nav-item.has-mega:focus-within .mega{display:flex}
}
.mega-in{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 28px;
  width:100%;max-width:1290px;margin:0 auto;
  background:var(--surface);border:1px solid var(--line);
  box-shadow:var(--shadow-pop);padding:26px 28px}
.mega-col a.mega-head{display:block;font-family:var(--serif);font-size:15.5px;font-weight:600;
  color:var(--ink);text-decoration:none;padding-top:12px;margin-bottom:9px;
  border-top:2px solid var(--navy)}
.mega-col a.mega-head:hover{color:var(--gold-ink)}
.mega-col ul{list-style:none;margin:0;padding:0}
.mega-col li a{display:block;padding:5px 0;font-size:14px;text-decoration:none;color:var(--muted);
  text-wrap:pretty}
.mega-col li a:hover{color:var(--gold-ink)}

/* ปุ่มเปลี่ยนภาษา อยู่บนแถบบนเสมอ ทั้งจอคอมและมือถือ
   ใช้รูปธงล้วน ชื่อภาษาซ่อนไว้ให้โปรแกรมอ่านหน้าจอและเป็นข้อความกำกับเมื่อชี้ค้าง */
.lang{display:flex;gap:6px;align-items:center;flex:none;margin-left:14px}
.lang a{display:block;line-height:0;padding:3px;border:1px solid transparent;
  border-radius:2px;text-decoration:none}
.lang .flag{display:block;width:26px;height:17px;object-fit:cover;
  border:1px solid rgba(0,0,0,.35);opacity:.5;transition:opacity .12s}
.lang a:hover .flag{opacity:.85}
.lang a[aria-current="true"]{border-color:var(--gold)}
.lang a[aria-current="true"] .flag{opacity:1}
.lang a:focus-visible{outline-offset:1px}
/* ข้อความที่มีไว้ให้โปรแกรมอ่านหน้าจอ ไม่แสดงบนจอ */
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}

 /* ปุ่มโทร + ปุ่มเมนู เป็นคู่เดียวกัน กรอบ ขนาด และสีเท่ากัน */
.call-btn,.nav-toggle{display:none;align-items:center;justify-content:center;gap:8px;flex:none;
  height:40px;padding:0 14px;border:1px solid var(--line);border-radius:4px;
  background:var(--surface);color:var(--navy);
  font-family:var(--sans);font-size:14px;font-weight:600;text-decoration:none;cursor:pointer}
.call-btn:hover,.nav-toggle:hover{border-color:var(--navy);background:var(--navy);color:#fff}
.ico{width:18px;height:18px;flex:none;display:block;
  fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.call-btn .ico{fill:currentColor;stroke:none}

/* ── ฮีโร่ ──────────────────────────────────────────── */
.hero{background:var(--navy);color:var(--on-navy);border-bottom:3px solid var(--gold)}
/* ฮีโร่แบบเว็บเดิม: ภาพเต็มความกว้าง ข้อความอยู่กึ่งกลาง */
.hero.has-photo{position:relative;isolation:isolate;background:var(--navy-deep);border-bottom:3px solid var(--gold)}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 46%;z-index:-2}
.hero.has-photo::after{content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(120% 90% at 50% 45%, rgba(6,14,26,.42) 0%, rgba(6,14,26,.62) 58%, rgba(6,14,26,.80) 100%)}
.hero-dim{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(58% 62% at 50% 48%, rgba(5,12,22,.86) 0%, rgba(5,12,22,.55) 55%, rgba(5,12,22,0) 100%)}
.hero.has-photo .hero-in{display:block;text-align:center;max-width:880px;padding:96px 24px 92px}
.hero.has-photo h1{margin-inline:auto;text-shadow:0 2px 18px rgba(4,10,20,.72)}
.hero.has-photo .lede{margin-inline:auto;color:#e6edf6;text-shadow:0 1px 12px rgba(4,10,20,.8)}
.hero.has-photo .eyebrow{display:block;margin-bottom:14px}
.hero.has-photo .hero-cta{justify-content:center;margin-top:34px}

/* แถบข้อมูลย่อ ใต้ฮีโร่ */
.factband{background:var(--navy-deep);color:var(--on-navy)}
.factband .facts{max-width:var(--wrap);margin:0 auto;padding:26px 24px;border:0;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.factband .fact{padding-left:16px;border-left:2px solid rgba(251,191,36,.5)}
.hero.has-photo .hero-in{padding-top:74px;padding-bottom:70px}
.hero-in{max-width:var(--wrap);margin:0 auto;padding:60px 24px 56px;
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:56px;align-items:start}
.hero h1{color:#fff;font-size:clamp(31px,4.3vw,49px);letter-spacing:-.015em}
.hero .eyebrow{color:var(--gold)}
.hero .lede{color:var(--on-navy-muted);font-size:17.5px;max-width:52ch;margin-top:18px;font-weight:300}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{font-family:var(--sans);font-size:14.5px;font-weight:600;text-decoration:none;
  padding:11px 22px;display:inline-block;border:1px solid transparent;cursor:pointer}
.btn-gold{background:var(--gold);color:#26200a}
.btn-gold:hover{background:#ffd25c}
.btn-ghost{border-color:rgba(232,238,246,.38);color:var(--on-navy)}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold)}

.facts{border-left:1px solid rgba(232,238,246,.2);padding-left:28px;display:flex;flex-direction:column;gap:20px;margin:0}
.fact dt{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:600}
.fact dd{margin:5px 0 0;font-family:var(--serif);font-size:17px;color:#fff;line-height:1.35}
.fact dd small{display:block;font-family:var(--sans);font-size:13px;color:var(--on-navy-muted);font-weight:300;margin-top:3px}

/* ── ส่วนเนื้อหา ────────────────────────────────────── */
.section{padding-block:68px}
.section-head{max-width:var(--read);margin-bottom:38px}
.section-head h2{font-size:clamp(25px,3vw,33px);margin-top:10px}
.section-head p{color:var(--muted);margin-top:12px;font-size:16.5px}

/* แปดกลุ่มบริการ วางสี่คอลัมน์สองแถวพอดี ไม่เหลือช่องว่างค้างแถวสุดท้าย */
.index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 28px}
.practice{min-width:0}
.practice-photo{display:block;margin:0 0 20px;overflow:hidden;background:var(--surface-2)}
.practice-photo img{display:block;width:100%;aspect-ratio:8/5;object-fit:cover;
  transition:transform .35s ease}
.practice:hover .practice-photo img{transform:scale(1.035)}
.practice h3{font-size:19px;line-height:1.34}
.practice a.practice-title{display:block;text-decoration:none;
  border-top:2px solid var(--navy);padding-top:14px}
.practice a.practice-title:hover h3{color:var(--gold-ink)}
.practice ul{list-style:none;margin:14px 0 0;padding:0}
.practice li a{display:block;text-decoration:none;font-size:14.5px;padding:7px 0}
.practice li a:hover{color:var(--gold-ink)}

.band{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.person{position:relative;margin:0;background:var(--navy-deep);overflow:hidden;isolation:isolate}
.person img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 22%}
.person-noimg{display:grid;place-items:center;aspect-ratio:4/5;font-family:var(--serif);
  font-size:52px;color:var(--gold);background:var(--navy)}
.person figcaption{position:absolute;left:0;right:0;bottom:0;padding:30px 14px 12px;
  display:flex;flex-direction:column;gap:2px;
  background:linear-gradient(to top, rgba(11,22,36,.93) 46%, rgba(11,22,36,0))}
.person .nm{font-family:var(--serif);font-size:16.5px;font-weight:600;color:#fff;line-height:1.16}
.person .rl{font-size:13px;color:var(--on-navy-muted);line-height:1.35;margin-top:1px}
.person .lic{margin-top:3px;font-size:11px;letter-spacing:.13em;text-transform:uppercase;
  color:var(--gold);font-weight:600}

/* ── ท้ายเว็บ ───────────────────────────────────────── */
.closing{background:var(--navy-deep);color:var(--on-navy)}
.closing-in{max-width:var(--wrap);margin:0 auto;padding:56px 24px;
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;align-items:center}
.closing h2{color:#fff;font-size:clamp(24px,3vw,32px)}
.closing p{color:var(--on-navy-muted);margin-top:14px;max-width:48ch;font-weight:300}
.contact-list{display:flex;flex-direction:column;gap:16px;font-size:15px}
.contact-list .k{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:600}
.contact-list .v{color:#fff;margin-top:3px}
/* เบอร์โทรในแถบท้าย บรรทัดละเบอร์ และมีระยะกดพอสำหรับนิ้ว */
.contact-list .v a[href^="tel:"]{display:block;padding:3px 0}
.contact-list a{text-decoration:none}
.contact-list a:hover{color:var(--gold)}

footer.site{background:#08111c;color:#8fa4ba;font-size:13px}
footer.site .wrap{padding:26px 24px 30px;display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center}
footer.site a{text-decoration:none}
footer.site a:hover{color:#fff}
footer.site .spacer{margin-left:auto}

/* ── หน้าบริการ ─────────────────────────────────────── */
.pagehead{background:var(--surface);border-bottom:1px solid var(--line)}
.pagehead-in{max-width:var(--wrap);margin:0 auto;padding:26px 24px 32px}
.crumbs{font-size:13px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap}
.crumbs a{text-decoration:none}
.crumbs a:hover{color:var(--gold-ink)}
.pagehead h1{font-size:clamp(27px,3.5vw,39px);margin-top:12px}
.pagelead{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.pagelead img{display:block;width:100%;aspect-ratio:5/2;object-fit:cover;margin-top:-1px}
.pagehead .sub{color:var(--muted);margin-top:10px;max-width:var(--read);font-size:16.5px}

.doc{max-width:var(--wrap);margin:0 auto;padding:44px 24px 72px;
  display:grid;grid-template-columns:minmax(0,var(--read)) 292px;
  justify-content:space-between;gap:52px;align-items:start}
.doc-body{max-width:var(--read);min-width:0}
.doc-body h2{font-size:23px;margin:40px 0 14px;padding-bottom:9px;border-bottom:1px solid var(--line)}
.doc-body h3{font-size:18.5px;margin:28px 0 10px;font-weight:600}
.doc-body > :first-child{margin-top:0}
.doc-body p{margin:0 0 15px}
.doc-body ul,.doc-body ol{margin:0 0 18px;padding-left:0;list-style:none}
.doc-body li{position:relative;padding-left:20px;margin-bottom:9px}
/* จุดนำหน้าข้อ ยึดเส้นฐานตัวอักษร ไม่นับสระบนและสระล่าง
   จึงอยู่กึ่งกลางตัวอักษรจริง ไม่ลอยสูงตามความสูงของบรรทัด */
.doc-body ul > li{text-indent:-20px}
.doc-body ul > li::before{content:"";display:inline-block;vertical-align:middle;
  width:5px;height:5px;margin-right:15px;border-radius:50%;background:var(--muted)}
.doc-body ul > li > ul,.doc-body ul > li > ol{text-indent:0}
.doc-body ol{counter-reset:n}
.doc-body ol > li{counter-increment:n}
.doc-body ol > li{padding-left:30px}
.doc-body ol > li::before{content:counter(n) ".";position:absolute;left:0;top:0;
  color:var(--gold-ink);font-weight:700;font-variant-numeric:tabular-nums}
.doc-body li ul,.doc-body li ol{margin:9px 0 4px}
.doc-body img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;
  margin:34px 0;border:1px solid var(--line);background:var(--surface-2)}
.doc-body dl.defs{margin:0 0 18px;display:flex;flex-direction:column;gap:12px}
.doc-body dl.defs > div{border-left:2px solid var(--line);padding-left:14px}
.doc-body dl.defs dt{font-weight:700;color:var(--ink);font-size:15px}
.doc-body dl.defs dd{margin:3px 0 0;color:var(--text)}

.rail{position:sticky;top:calc(var(--header-h) + 20px);
  display:flex;flex-direction:column;gap:20px;min-width:0}
.rail-card{background:var(--surface);border:1px solid var(--line);
  border-top:2px solid var(--navy);padding:19px 20px 20px}
.rail-card h2{font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-ink);
  font-family:var(--sans);font-weight:700;margin:0}
.rail-links{display:flex;flex-direction:column;margin-top:12px}
.rail-links a{font-size:14.5px;text-decoration:none;padding:8px 0;border-bottom:1px solid var(--line-soft)}
.rail-links a:last-child{border-bottom:0}
.rail-links a:hover{color:var(--gold-ink)}
.rail-links a[aria-current]{color:var(--gold-ink);font-weight:600}
.rail-cta{background:var(--navy);color:var(--on-navy);
  border-top:3px solid var(--gold);padding:21px 20px 22px}
.rail-cta h2{color:var(--gold)}
.rail-cta p{font-size:14px;color:var(--on-navy-muted);margin:10px 0 16px;font-weight:300}

/* ── ฟอร์มติดต่อ ────────────────────────────────────── */
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:640px}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
/* กล่องยืนยันตัวตนกว้างคงที่ 300px จอ 320px จึงล้นขอบ ให้เลื่อนในกล่องแทนเลื่อนทั้งหน้า */
.cf-turnstile{max-width:100%;overflow-x:auto}
.field.full{grid-column:1/-1}
.field.submit{align-items:flex-start;margin-top:4px}
.field.submit .btn{min-width:180px;text-align:center}
.field label{font-size:13px;font-weight:600;color:var(--ink)}
.field input,.field select,.field textarea{
  font:inherit;font-size:15px;line-height:1.4;border:1px solid var(--line);
  background:var(--surface);color:var(--text);border-radius:3px;
  padding:0 12px;height:44px;width:100%;box-sizing:border-box;
  -webkit-appearance:none;appearance:none}
.field textarea{padding:11px 12px;height:auto}
/* ลูกศรของ dropdown วาดเอง เพราะปิด appearance ไปแล้ว */
.field select{padding-right:38px;cursor:pointer;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%235a6b7d' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center}
.field textarea{min-height:140px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--navy);outline:2px solid var(--gold);outline-offset:1px}
.form-note{font-size:13px;color:var(--muted);margin-top:16px;max-width:60ch;line-height:1.7}
.form-status{margin-top:14px;font-size:14.5px;padding:12px 14px;border-left:3px solid var(--gold);background:var(--surface-2)}

/* ── ตอบสนองจอเล็ก ──────────────────────────────────── */
/* ── iPad / จอกลาง 900-1179px ─────────────────────── */
@media (max-width:1179px){
  .index{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}
  .masthead-in{height:64px;gap:14px}
  .nav{display:none;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;padding:8px 0 16px;
    background:var(--surface);border-bottom:1px solid var(--line);
    box-shadow:var(--shadow-pop);max-height:calc(100vh - 64px);overflow-y:auto}
  .nav.open{display:flex}
  .nav-toggle,.call-btn{display:inline-flex}
  .lang{margin-left:auto}   /* ดันกลุ่มปุ่มไปชิดขวาเมื่อเมนูถูกยุบ */
  .lang a{display:flex;align-items:center;min-height:40px;padding:0 4px}
  .nav-item > a{padding:13px 24px;font-size:16px;border-radius:0}
  /* หัวข้อขอบเขตงานทำหน้าที่เป็นปุ่มกางรายการบริการทั้งชุดบนจอเล็ก */
  .nav-item.has-mega > a{font-weight:700;display:flex;align-items:center;
    justify-content:space-between;gap:10px}
  .nav-item.has-mega > a::after{content:'';flex:none;width:9px;height:9px;
    border-right:2px solid currentColor;border-bottom:2px solid currentColor;
    transform:translateY(-2px) rotate(45deg);transition:transform .15s}
  .nav-item.has-mega.open > a::after{transform:translateY(2px) rotate(-135deg)}
  .mega{position:static;display:none;padding:0}
  .nav-item.has-mega.open .mega{display:block}
  .mega-in{grid-template-columns:repeat(2,minmax(0,1fr));border:0;box-shadow:none;
    padding:4px 24px 14px;gap:16px 24px;background:transparent}
  .mega-col a.mega-head{font-size:14.5px;padding-top:10px;margin-bottom:6px}
  .mega-col li a{padding:6px 0;font-size:14.5px}
}

/* ── มือถือ ต่ำกว่า 720px ───────────────────────────── */
@media (max-width:719px){
  .masthead-in{height:56px;padding:0 16px;gap:10px}
  .mark-glyph{width:36px;height:36px}
  .mark-name{font-size:15px}
  .mark-sub{display:none}
  /* มือถือ: เหลือแต่ไอคอน เป็นสี่เหลี่ยมจัตุรัสเท่ากันทั้งคู่ */
  .call-btn span,.nav-toggle span{display:none}
  .call-btn,.nav-toggle{width:40px;padding:0;gap:0}
  .nav{max-height:calc(100vh - 56px)}
  .mega-in{grid-template-columns:1fr;padding:4px 16px 14px}
  .nav-item > a{padding:13px 16px}
  .lang{gap:4px;margin-left:auto}
  .lang .flag{width:24px;height:16px}
}

/* ── จอแคบมาก ต่ำกว่า 480px ───────────────────────────
   ชื่อสำนักงานต้องอยู่บนแถบบนเสมอ เป็นสิ่งแรกที่บอกว่าผู้อ่านอยู่เว็บของใคร
   เดิมซ่อนไว้เพราะแถบล้นขอบ แก้ใหม่ด้วยการย่อทุกชิ้นและให้ชื่อขึ้นบรรทัดที่สองได้
   แทนการตัดชื่อทิ้ง */
@media (max-width:479px){
  .masthead-in{gap:6px;padding:0 12px}
  .mark{gap:8px;min-width:0}
  .mark-glyph{width:30px;height:30px}
  .mark-name{display:block;font-size:12.5px;line-height:1.16;
    white-space:normal;max-width:122px}
  .mark-sub{display:none}
  .lang{gap:2px}
  .lang a{padding:0 2px}
  .lang .flag{width:22px;height:14px}
  .call-btn,.nav-toggle{width:36px}
}

/* จอ 320px ซึ่งเป็นความกว้างต่ำสุดที่ยังพบใช้งาน แถบบนพอดีจนไม่เหลือขอบขวา
   ย่อชื่อและธงลงอีกขั้น ให้เหลือระยะขอบเท่ากันทั้งสองด้าน */
@media (max-width:359px){
  .mark-name{max-width:112px;font-size:11.5px}
  .lang .flag{width:20px;height:13px}
}

@media (max-width:980px){
  .hero-in,.closing-in{grid-template-columns:1fr;gap:34px}
  .factband .facts{grid-template-columns:1fr;gap:18px;padding:22px 24px}
  .hero.has-photo .hero-in{padding:70px 24px 66px}
  .facts{border-left:0;border-top:1px solid rgba(232,238,246,.2);padding-left:0;padding-top:24px}
  .index{grid-template-columns:repeat(2,minmax(0,1fr))}
  .roster{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .person figcaption{padding:24px 11px 10px}
  .person .nm{font-size:15px}
  .person .rl{font-size:12.5px}
  .person .lic{font-size:10.5px;letter-spacing:.08em}
  .doc{grid-template-columns:1fr;gap:36px}
  .rail{position:static}
}
@media (max-width:620px){
  .index,.form-grid{grid-template-columns:minmax(0,1fr)}
  .index{gap:42px}
  .practice-photo{margin-bottom:22px}
  .practice h3{font-size:20px}
  .roster{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .person figcaption{padding:22px 10px 9px}
  .person .nm{font-size:14.5px}
  .person .rl{font-size:12.5px}
  .person .lic{font-size:10.5px}
  .section{padding-block:48px}
  .mark-name{font-size:16px}
}


/* บรรทัด "เรียกอีกอย่างว่า" — คำที่คนค้นหาจริง ควบคู่ศัพท์ราชการ */
.aka{margin-top:14px;font-size:13.5px;color:var(--muted);line-height:1.7;max-width:72ch}
.aka span{display:inline-block;font-weight:700;letter-spacing:.04em;color:var(--gold-ink);
  text-transform:uppercase;font-size:11.5px;margin-right:8px}

/* ── บทความ (Insights) ─────────────────────────────── */
/* หน้าบทความและข่าว: เนื้อหาชิดซ้ายตรงแนวเดียวกับหัวเรื่อง (เจ้าของเลือก 15 ก.ย. 2569)
   กว้างไม่เกิน 78ch พอดีกับการอ่าน ไม่ขยายเต็มจอ */
.doc-solo{grid-template-columns:minmax(0,1fr);justify-items:start}
.doc-solo .doc-body{max-width:78ch}
.byline{margin-top:14px;font-size:13px;letter-spacing:.05em;color:var(--muted)}
.pagehead .byline{color:var(--muted)}
.doc-note{margin-top:32px;padding:16px 20px;background:var(--surface-2);
  border-left:3px solid var(--gold);font-size:14.5px;color:var(--muted)}

.posts{display:flex;flex-direction:column;gap:0;max-width:78ch}
.post{padding:30px 0;border-bottom:1px solid var(--line)}
.post:first-child{padding-top:0}
.post:last-child{border-bottom:0}
.post .byline{margin:0 0 8px}
.post h2,.post h3{font-size:clamp(20px,2.2vw,25px);margin:0 0 10px;line-height:1.34;
  padding:0;border:0}
.post h2 a,.post h3 a{text-decoration:none}
.post h2 a:hover,.post h3 a:hover{color:var(--gold-ink)}
.post-lede{color:var(--muted);font-size:16px;margin-bottom:12px}

/* บทความแบบเอกสารทางการ — เลขหัวข้อ สารบัญ ข้อมูลอ้างอิง */
/* หัวข้อไม่ใส่เลขลำดับ — ใช้ขนาดและเส้นคั่นบอกลำดับชั้นแทน อ่านเป็นหนังสือมากกว่า */
.byline{display:flex;flex-wrap:wrap;gap:6px 20px}
.byline span{white-space:nowrap}

.toc{margin:0 0 34px;padding:20px 24px;background:var(--surface-2);
  border-left:3px solid var(--navy)}
.toc h2{font-size:13px;font-family:var(--sans);font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--muted);margin:0 0 10px;padding:0;border:0}
.doc-body .toc ol{margin:0;padding-left:0;list-style:none;counter-reset:toc}
.doc-body .toc li{counter-increment:toc;padding-left:26px;position:relative;margin-bottom:6px}
.doc-body .toc li::before{content:counter(toc) ".";position:absolute;left:0;top:0;
  width:auto;height:auto;border-radius:0;background:none;
  color:var(--gold-ink);font-weight:700;font-variant-numeric:tabular-nums}
.toc a{font-size:15px;text-decoration:none;color:var(--text)}
.toc a:hover{color:var(--gold-ink);text-decoration:underline}

.refs{margin-top:40px;padding-top:22px;border-top:2px solid var(--navy)}
.refs h2{font-size:14px;font-family:var(--sans);font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:var(--muted);margin:0 0 12px;padding:0;border:0}
.refs ul{margin:0;padding-left:0;list-style:none}
.refs li{position:relative;padding-left:20px;margin-bottom:8px;font-size:14.5px;color:var(--muted)}
/* จุดนำหน้าแหล่งอ้างอิง ใช้ชุดเดียวกับรายการอื่นทั้งเว็บ
   เดิมใช้เครื่องหมายมาตรา § ซึ่งเป็นสัญลักษณ์คนละตระกูลกับที่ใช้อยู่ */
html[lang="th"] .toc h2,html[lang="th"] .refs h2{letter-spacing:.04em;font-size:14px}

/* ลิงก์ไปบทความเรื่องอื่น วางไว้ก่อนแหล่งอ้างอิง
   ใช้ป้ายหัวข้อชุดเดียวกับแหล่งอ้างอิงเพื่อไม่เพิ่มรูปแบบใหม่
   แต่ตัวลิงก์เป็นสีเนื้อความ เพราะเป็นทางเดินต่อของผู้อ่าน มิใช่เชิงอรรถ
   เส้นคั่นบางกว่าแหล่งอ้างอิง จึงไม่แย่งน้ำหนักกับท้ายบทความ */
.art-rel{margin-top:36px;padding-top:20px;border-top:1px solid var(--line)}
.art-rel h2{font-size:14px;font-family:var(--sans);font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:var(--muted);margin:0 0 12px;padding:0;border:0}
.art-rel ul{margin:0;padding-left:0;list-style:none}
.art-rel li{margin-bottom:9px;font-size:15.5px}
.art-rel li a,.art-rel-one a{text-decoration:none;text-underline-offset:3px}
.art-rel li a:hover,.art-rel-one a:hover{text-decoration:underline}
/* มีลิงก์เดียวเขียนเป็นย่อหน้า ทั้งเว็บไม่ใช้รายการที่มีข้อเดียว */
.art-rel-one{margin:0 0 9px;font-size:15.5px}
.art-rel h2 + .art-rel-one{margin-top:0}
.art-rel ul + h2,.art-rel-one + h2{margin-top:22px}
html[lang="th"] .art-rel h2{text-transform:none;letter-spacing:.04em}

/* แนวคำพิพากษาฎีกา */
.cases{margin:0 0 18px;display:flex;flex-direction:column;gap:0}
.doc-body .case{padding:16px 0;border-bottom:1px solid var(--line-soft)}
.doc-body .case:last-child{border-bottom:0}
.doc-body .cases dt{font-family:var(--serif);font-weight:700;font-size:16px;color:var(--ink);
  margin-bottom:5px}
.doc-body .cases dd{margin:0;color:var(--muted);font-size:15px;line-height:1.75}


@media print{
  :root{
    --ink:#12253c;--paper:#fff;--surface:#fff;--surface-2:#f2f5f8;
    --line:#c9d4e0;--line-soft:#e0e7ee;--text:#1b2c40;--muted:#4d5c6d;--gold-ink:#8a5a05;
    color-scheme:light;
  }
  .utility,.nav,.nav-toggle,.lang,.call-btn,.rail,.closing,.hero-cta{display:none}
  body{background:#fff;color:#1b2c40}
  .doc{grid-template-columns:1fr}
}


/* ── ปรับสำหรับภาษาไทย ────────────────────────────────
   ไทยมีสระบน-ล่างและวรรณยุกต์ ต้องการระยะบรรทัดมากกว่าอังกฤษ
   และตัวอักษรไทยดูเล็กกว่าละตินที่ขนาด px เท่ากัน จึงขยายขึ้นเล็กน้อย */
html[lang="th"]{
  /* ไทยใช้ Sarabun ทั้งหัวเรื่องและเนื้อความ ต่างกันที่น้ำหนัก ไม่ใช่ต่างแบบอักษร */
  --serif:"Source Serif 4","Sarabun",Georgia,"Times New Roman",serif;
  --lh-body:1.85;
  --lh-head:1.42;
}
html[lang="th"] body{font-size:17px}
html[lang="th"] .hero h1{font-size:clamp(28px,3.9vw,44px);letter-spacing:0}
html[lang="th"] .pagehead h1{letter-spacing:0}
html[lang="th"] .eyebrow{letter-spacing:.06em;font-size:13px}   /* ไทยไม่ควรกางตัวอักษรมาก และต้องใหญ่กว่าละติน */
html[lang="th"] .mark-sub{font-size:12px}
html[lang="th"] .person .lic{font-size:12px}
html[lang="th"] .fact dt,
html[lang="th"] .contact-list .k{font-size:12.5px}
html[lang="th"] .crumbs,
html[lang="th"] .person .rl{font-size:14px}
html[lang="th"] .nav-item > a{font-size:14.5px}
html[lang="th"] .person .lic,
html[lang="th"] .fact dt,
html[lang="th"] .contact-list .k,
html[lang="th"] .rail-card h2{letter-spacing:.06em}
html[lang="th"] .doc-body h2{font-size:24px}
html[lang="th"] .doc-body h3{font-size:19.5px}
html[lang="th"] .doc-body li{margin-bottom:11px}
/* ตัวอักษรไทยสูงจากเส้นฐานราว .70em จุดจึงต้องอยู่ที่ .35em ไม่ใช่ครึ่งความสูงละติน */
html[lang="th"] .doc-body ul > li::before{vertical-align:calc(.35em - 2.5px)}
html[lang="th"] .practice li a{padding:9px 0}
html[lang="th"] h1,html[lang="th"] h2,html[lang="th"] h3,
html[lang="th"] .mark-name,html[lang="th"] .fact dd,
html[lang="th"] .pillar-claim,html[lang="th"] .pf dd{font-weight:700}
html[lang="th"] .hero .lede{font-weight:400}          /* น้ำหนัก 300 บางเกินไปสำหรับไทยบนพื้นเข้ม */
html[lang="th"] .byline{letter-spacing:.02em}
html[lang="th"] .aka span{letter-spacing:.02em}
html[lang="th"] .pf dt{letter-spacing:.04em;font-size:12.5px}
html[lang="th"] .rail-card h2{font-size:13px}


/* ── หน้าทีมงาน ────────────────────────────────────── */
.team-page{padding-top:52px}
.team-group + .team-group{margin-top:52px}

/* บัญชี + ประสานงาน วางคู่กันในแถวเดียว คั่นด้วยเส้นแบ่งฝั่ง */
/* ใช้ตารางสี่ช่องเท่ากันทั้งหน้า รูปทุกใบจึงเท่ากันหมด
   แถวล่างมีคนไม่ครบ ให้เว้นช่องว่างไว้ ไม่ขยายรูปให้เต็มแถว */
.team-pair{margin-top:52px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0 20px;align-items:start}
.team-pair > .team-group{margin-top:0;grid-column:span 2}
.team-pair > .team-group + .team-group{grid-column:span 1}
/* ไม่มีเส้นตั้งคั่น — เส้นใต้หัวข้อของแต่ละกลุ่มขาดจากกันตรงช่องว่าง คือการแบ่งฝั่งในตัว */
.team-pair .roster{grid-template-columns:repeat(2,minmax(0,1fr))}
.team-pair > .team-group + .team-group .roster{grid-template-columns:minmax(0,1fr)}
.team-group h2{font-size:20px;padding-bottom:10px;margin-bottom:20px;
  border-bottom:2px solid var(--navy);display:flex;align-items:baseline;gap:10px}
.team-note{margin-top:40px;padding:16px 20px;background:var(--surface-2);
  border-left:3px solid var(--gold);font-size:15px;color:var(--text);max-width:var(--read)}
.team-more{margin-top:26px}
.team-more a{font-weight:600;color:var(--gold-ink);text-decoration:none;font-size:15px}
.team-more a:hover{text-decoration:underline}
@media (max-width:900px){
  .team-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 20px}
  .team-pair > .team-group{grid-column:1/-1}
  .team-pair > .team-group + .team-group{padding-top:8px;grid-column:1/-1}
  .team-pair .roster,
  .team-pair > .team-group + .team-group .roster{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:620px){
  .team-group + .team-group{margin-top:38px}
  .team-pair .roster,
  .team-pair > .team-group + .team-group .roster{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* ── ลิงก์ในเนื้อหา ให้เหมือนกันทุกหน้า ───────────────── */
.doc-body a{color:var(--gold-ink);text-decoration:underline;
  text-decoration-thickness:1px;text-underline-offset:3px;
  text-decoration-color:color-mix(in srgb, var(--gold-ink) 40%, transparent)}
.doc-body a:hover{text-decoration-color:currentColor}
.doc-body strong{color:var(--ink);font-weight:700}
.doc-body p + ul,.doc-body p + ol{margin-top:-6px}
.doc-body h2 + p,.doc-body h3 + p{margin-top:0}
/* หัวข้อที่ตามด้วยหัวข้ออีกอัน ไม่ต้องเว้นห่างเท่าปกติ */
.doc-body h2 + h3{margin-top:14px}
.doc-body h2 + h2{margin-top:18px}


/* ── คำถามพบบ่อย ───────────────────────────────────── */
.faq-page{padding-top:48px;max-width:860px;margin-inline:auto}
.faq-group + .faq-group{margin-top:44px}
.faq-group > h2{font-size:20px;padding-bottom:10px;margin-bottom:8px;border-bottom:2px solid var(--navy)}
.faq-item{border-bottom:1px solid var(--line-soft);background:var(--surface)}
.faq-item summary{cursor:pointer;list-style:none;padding:18px 44px 18px 18px;position:relative;
  font-weight:600;font-size:16.5px;color:var(--ink)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);
  font-size:22px;font-weight:400;color:var(--gold-ink);line-height:1}
.faq-item[open] summary::after{content:"−"}
.faq-item summary:hover{color:var(--gold-ink)}
.faq-item summary:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.faq-a{padding:0 18px 20px;max-width:68ch}
.faq-a p{color:var(--text)}
.faq-more{display:inline-block;margin-top:12px;font-size:14.5px;font-weight:600;
  color:var(--gold-ink);text-decoration:none}
.faq-more:hover{text-decoration:underline}
.faq-note{margin-top:40px;padding:16px 20px;background:var(--surface-2);
  border-left:3px solid var(--gold);font-size:14.5px;color:var(--muted);max-width:68ch}
@media (max-width:620px){
  .faq-item summary{padding:16px 40px 16px 14px;font-size:15.5px}
  .faq-a{padding:0 14px 18px}
}


/* ── หน้า "ทำไมต้องเรา" ─────────────────────────────── */
/* ประโยคจุดยืน — ตัวใหญ่ กินพื้นที่ ทำหน้าที่เป็นบทนำของทั้งหน้า */
.thesis{background:var(--surface);border-bottom:1px solid var(--line)}
.thesis p{max-width:680px;margin:0 auto;padding:60px 24px;
  font-family:var(--serif);font-size:clamp(21px,2.6vw,30px);line-height:1.38;
  color:var(--ink);text-align:center;text-wrap:balance}

/* เหตุผลสามข้อ — ไม่ใส่เลขลำดับ เพราะไม่ใช่ลำดับขั้นตอน */
.pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.pillar{padding:0 34px;border-left:1px solid var(--line)}
.pillar:first-child{padding-left:0;border-left:0}
.pillar:last-child{padding-right:0}
.pillar h3{font-size:20px;margin-bottom:12px}
.pillar-claim{font-family:var(--serif);font-size:17px;color:var(--gold-ink);
  line-height:1.45;margin-bottom:12px}
.pillar-body{color:var(--muted);font-size:15.5px;line-height:1.72}

/* ใครทำอะไรในสำนวน */
.roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;
  background:var(--line);border:1px solid var(--line)}
.role{background:var(--surface);padding:26px 28px}
.role h3{font-size:17.5px;margin-bottom:8px;padding-left:14px;
  border-left:3px solid var(--gold)}
.role p{color:var(--muted);font-size:15px;line-height:1.7;padding-left:17px}
.roles-more{margin-top:22px}

/* หลักฐานเชิงความครบ — ไม่ใช่ยอดจำนวน */
.proof-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;
  margin:0 0 44px;padding:0}
.pf{padding-top:14px;border-top:2px solid var(--navy)}
.pf dt{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);margin-bottom:8px}
.pf dd{margin:0;font-family:var(--serif);font-size:22px;font-weight:600;color:var(--ink);
  line-height:1.3}
.sub-h{font-size:19px;margin:0 0 20px}
.scope-grid + .sub-h{margin-top:46px}

.scope-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.scope-card{border-top:2px solid var(--gold);padding-top:14px}
.scope-card h3{font-size:16.5px;margin-bottom:6px}
.scope-card p{font-size:14px;color:var(--muted);line-height:1.6}

.court-line{list-style:none;margin:0;padding:0;display:flex;gap:0;align-items:stretch}
.court-line li{flex:1;display:flex;align-items:center;gap:12px;padding:18px 20px;
  background:var(--surface);border:1px solid var(--line);border-right:0;font-size:16px;font-weight:600}
.court-line li:last-child{border-right:1px solid var(--line)}
.court-step{width:30px;height:30px;flex:none;border-radius:50%;background:var(--navy);color:var(--gold);
  display:grid;place-items:center;font-family:var(--serif);font-size:15px;font-weight:700}

.sys-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.sys-card{background:var(--surface);border:1px solid var(--line);padding:20px}
.sys-card h3{font-size:16.5px;margin-bottom:6px}
.sys-card p{font-size:14.5px;color:var(--muted);line-height:1.65}

.track-ethics{margin:54px auto;padding:18px 22px;background:var(--surface-2);
  border-left:3px solid var(--gold);font-size:15px;max-width:72ch}

/* iPad */
@media (max-width:1179px){
  .pillars{grid-template-columns:1fr;gap:30px}
  .pillar{padding:0 0 30px;border-left:0;border-bottom:1px solid var(--line)}
  .pillar:last-child{padding-bottom:0;border-bottom:0}
  .pillar-body{max-width:68ch}
}
@media (max-width:980px){
  .scope-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proof-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px}
  .court-line{flex-direction:column}
  .court-line li{border-right:1px solid var(--line);border-bottom:0}
  .court-line li:last-child{border-bottom:1px solid var(--line)}
}
/* มือถือ */
@media (max-width:719px){
  .thesis p{padding:44px 20px;max-width:none;font-size:20px}
  .roles{grid-template-columns:1fr}
  .role{padding:22px 20px}
}
@media (max-width:620px){
  .scope-grid,.sys-grid{grid-template-columns:1fr}
  .proof-facts{grid-template-columns:1fr;gap:20px}
}

/* ── เกณฑ์ de-AI (ชุดเดียวกับแอป CommitLex) ───────────── */
/* ภาษาไทยไม่มีตัวพิมพ์ใหญ่ · uppercase + tracking ทำให้สระและวรรณยุกต์ลอย
   และเป็นลายเซ็นของงานที่ AI สร้าง — ปิดทั้งหมดในหน้าไทย */
html[lang="th"] .eyebrow,
html[lang="th"] .mark-sub,
html[lang="th"] .fact dt,
html[lang="th"] .person .lic,
html[lang="th"] .contact-list .k,
html[lang="th"] .rail-card h2,
html[lang="th"] .pf dt,
html[lang="th"] .aka span,
html[lang="th"] .toc h2,
html[lang="th"] .refs h2{text-transform:none;letter-spacing:0}

/* วงกลมเลขลำดับอยู่ในบัญชีดำ — ใช้เลขเรียงบนเส้นแทน */
.court-step{width:auto;height:auto;border-radius:0;background:none;color:var(--gold-ink);
  font-family:var(--serif);font-size:15px;font-weight:700;display:inline;
  font-variant-numeric:tabular-nums}
.court-step::after{content:"."}

/* พื้นผิว 3 แบบเท่านั้น
   ก) กรอบเส้น — sys-card · rail-card · role
   ข) ขีดหัว ไม่มีกรอบ — scope-card · pf · pillar
   ค) รายการมีเส้นคั่น — post · case  (นิยามอยู่ในบล็อกของตัวเองแล้ว) */
.sys-card,.rail-card,.role{border-radius:0}
.sys-card,.role{box-shadow:none}
.rail-card,.rail-cta{box-shadow:var(--shadow-card)}

/* หัวข้อกำกับบนพื้นกรมท่า ต้องใช้สีทองสว่าง สีทองเข้มที่ใช้บนพื้นขาวอ่านไม่ออก */
.hero .eyebrow,.closing .eyebrow,.factband .eyebrow,
.hero-band .eyebrow,[class*="navy"] .eyebrow{color:var(--gold)}
.scope-card,.pf{background:none;border-left:0;border-right:0;border-bottom:0}

/* ── กล่องช่องทางติดต่อในแถบข้าง ──────────────────────
   หัวข้อย่อยหลายชุดในกล่องเดียว จึงตั้งระยะของหัวข้อที่ไม่ใช่อันแรกไว้ต่างหาก */
.rail-reach h2{margin-top:16px}
.rail-reach h2:first-child{margin-top:0}
.rail-reach p{margin:5px 0 0;font-size:14px;line-height:1.7;color:var(--text)}
.rail-reach a{color:var(--ink);text-decoration:none}
.rail-reach a:hover{color:var(--gold-ink);text-decoration:underline}

/* ── หน้าที่หาไม่เจอ ────────────────────────────────── */
.nf-wrap{max-width:var(--wrap);margin:0 auto;padding:70px 24px 90px}
.nf h1{font-size:clamp(26px,3.4vw,36px)}
.nf h2{font-size:clamp(22px,2.8vw,29px)}
.nf p{color:var(--muted);margin:14px 0 0;max-width:56ch;font-size:16.5px}
.nf-links{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:22px}
.nf-links a{color:var(--gold-ink);text-decoration:none;font-weight:600;font-size:15.5px}
.nf-links a:hover{text-decoration:underline}
.nf-rule{border:0;border-top:1px solid var(--line);margin:52px 0}

/* ── แถบแจ้งคุกกี้และหน้าต่างตั้งค่า ─────────────────────
   แถบวางชิดล่าง ไม่บังเนื้อหา และไม่กั้นการอ่านทั้งหน้า
   เพราะเว็บนี้ไม่ได้ตั้งคุกกี้ของตนเอง จึงไม่มีเหตุให้ต้องบังคับเลือกก่อนอ่าน */
.ck{position:fixed;left:0;right:0;bottom:0;z-index:80;background:var(--surface);
  border-top:2px solid var(--gold);box-shadow:0 -6px 24px rgba(0,0,0,.45)}
.ck-in{max-width:var(--wrap);margin:0 auto;padding:18px 24px;display:flex;
  align-items:center;gap:20px 28px;flex-wrap:wrap}
.ck h2{font-size:16px;margin-bottom:5px}
.ck p{color:var(--muted);font-size:14.5px;line-height:1.7;max-width:76ch;margin:0}
.ck p a{color:var(--gold-ink)}
.ck-act{display:flex;gap:10px;margin-left:auto;flex:none}

.ck-panel{position:fixed;inset:0;z-index:90;background:rgba(4,10,18,.72);
  display:flex;align-items:center;justify-content:center;padding:24px}
/* กฎ display ของคลาสมีน้ำหนักมากกว่าค่าปริยายของ hidden
   ถ้าไม่บังคับไว้ กล่องที่ซ่อนอยู่จะยังคลุมทั้งจอและกินการคลิกของผู้อ่าน */
[hidden]{display:none!important}
.ck-box{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--gold);
  box-shadow:var(--shadow-pop);max-width:600px;width:100%;padding:26px 28px;
  max-height:calc(100vh - 48px);overflow-y:auto}
.ck-box > h2{font-size:20px;margin-bottom:6px}
.ck-row{display:flex;gap:20px;align-items:flex-start;
  padding:18px 0;border-bottom:1px solid var(--line-soft)}
.ck-row h3{font-size:15.5px;font-weight:600;margin-bottom:5px}
.ck-row p{color:var(--muted);font-size:14px;line-height:1.7;margin:0}
.ck-fixed{flex:none;font-size:13px;color:var(--gold-ink);font-weight:600;padding-top:2px}
.ck-sw{flex:none;display:inline-flex;align-items:center;gap:8px;cursor:pointer;
  font-size:0;padding-top:2px}
.ck-sw input{width:44px;height:24px;margin:0;cursor:pointer;accent-color:var(--gold)}
.ck-box .ck-act{margin:22px 0 0;justify-content:flex-end}

@media (max-width:719px){
  .ck-in{padding:16px;gap:14px}
  .ck-act{margin-left:0;width:100%;flex-wrap:wrap}
  .ck-act .btn{flex:1;text-align:center}
  /* จอแคบ: ปุ่มตั้งค่ากับเฉพาะที่จำเป็นอยู่แถวบน ปุ่มตกลงเต็มแถวล่าง */
  .ck .ck-act [data-cookie-ok]{flex-basis:100%}
  .ck-box{padding:22px 18px}
}

/* ── บทความล่าสุดบนหน้าแรก ─────────────────────────────
   สามคอลัมน์ ไม่มีรูป ไม่มีกรอบ ใช้ขีดหัวเป็นตัวคั่นเหมือนหน้าอื่นของเว็บ */
.briefs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 34px}
.brief{border-top:2px solid var(--navy);padding-top:16px;min-width:0}
.brief .byline{margin:0 0 7px;font-size:13px;color:var(--muted)}
.brief h3{font-size:18px;line-height:1.4;margin:0 0 9px}
.brief h3 a{text-decoration:none}
.brief h3 a:hover{color:var(--gold-ink)}
.brief p{color:var(--muted);font-size:15px;line-height:1.72;margin:0}
@media (max-width:900px){
  .briefs{grid-template-columns:1fr;gap:0}
  .brief{padding:16px 0 22px}
  .brief + .brief{border-top-width:1px;border-top-color:var(--line)}
}

@media (max-width:620px){
  html[lang="th"] .person .rl{font-size:13px}
  html[lang="th"] .person .lic{font-size:11px}
}

@media (max-width:980px){
  html[lang="th"] .person .rl{font-size:13.5px}
  html[lang="th"] .person .lic{font-size:11px}
}

/* หน้าไทยตัวอักษรสูงกว่าละติน จึงต้องบีบระยะบรรทัดในการ์ดคนเป็นพิเศษ */
html[lang="th"] .person .rl{line-height:1.4}

/* ── ภาพหัวเรื่องของหน้าบริการ ─────────────────────────────
   คุมความสูงไว้ ไม่ให้ภาพดันเนื้อหาตกจอแรก */
.lead-pic{max-width:var(--wrap);margin:0 auto;padding:26px 24px 0}
.lead-pic img{display:block;width:100%;height:clamp(170px,24vw,300px);
  object-fit:cover;background:var(--surface-2)}
.lead-pic + .doc{padding-top:36px}
@media (max-width:620px){
  .lead-pic{padding-top:20px}
  .lead-pic img{height:160px}
  .lead-pic + .doc{padding-top:28px}
}

/* ── ตารางในหน้านโยบายและหน้าที่มาของภาพ ────────────────── */
.tbl-wrap{overflow-x:auto;margin:18px 0 6px;-webkit-overflow-scrolling:touch}
.tbl{width:100%;min-width:560px;border-collapse:collapse;font-size:14.5px;line-height:1.66}
.tbl th,.tbl td{text-align:left;vertical-align:top;padding:11px 14px 11px 0;
  border-bottom:1px solid var(--line)}
.tbl th{font-weight:600;color:var(--text);border-bottom:2px solid var(--navy);
  white-space:nowrap}
.tbl td{color:var(--muted)}
.tbl td:first-child,.tbl th:first-child{padding-left:0}
.tbl tr:last-child td{border-bottom:0}
.doc-wide{grid-template-columns:minmax(0,1fr)}
.doc-wide .doc-body{max-width:none}

/* ── หน้ารวมบทความ แยกสองหมวด ─────────────────────────────
   เรื่องพื้นฐานไม่ลงวันที่ ความเคลื่อนไหวลงวันที่ */
.posts-note{margin:0 0 26px;max-width:var(--read);color:var(--muted)}
.posts-gap{margin-top:56px}

/* ลิงก์แหล่งที่มา ใช้สีเดียวกับเนื้อความ ขีดเส้นใต้บาง ๆ ให้รู้ว่ากดได้ */
.refs li a{color:var(--muted);text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:var(--line)}
.refs li a:hover{color:var(--gold-ink);text-decoration-color:currentColor}

/* หัวข้อย่อยของบทความบนหน้าแรก แยกความเคลื่อนไหวออกจากเรื่องพื้นฐาน */
.briefs-gap{margin-top:46px}
.section-head + .sub-h{margin-top:0}

/* จอคอมที่แคบลง เมนูแปดหัวข้อเริ่มเบียดขอบ จึงลดระยะห่างในแต่ละหัวข้อ
   วัดของจริงที่ 1180px แล้วล้นขอบ 16px การลดนี้คืนพื้นที่ได้ราว 60px */
@media (min-width:1180px) and (max-width:1399px){
  .nav-item > a{padding:10px 10px;font-size:14px}
  .nav{gap:0}
}

/* ── เครื่องมือคำนวณ ────────────────────────────────── */
.calc{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:26px 0 30px;
  border:1px solid var(--line);background:var(--surface);border-top:2px solid var(--navy)}
.calc-fields{padding:20px 22px;display:grid;gap:14px}
.calc-f{display:grid;gap:5px}
.calc-lab{font-size:13.5px;font-weight:600;color:var(--text)}
.calc-hint{font-size:12.5px;color:var(--muted);line-height:1.45}
.calc-in{display:flex;align-items:center;gap:8px}
/* บรรทัดบอกว่าผลยังไม่ขึ้นเพราะอะไร */
.calc-need{margin:10px 0 0;font-size:13px;color:var(--gold);line-height:1.5}
/* ช่องที่ถูกปิดเพราะเงื่อนไขอื่น เช่น อัตราตามสัญญาเมื่อเลือกใช้อัตราตามกฎหมาย */
.calc-f input:disabled{opacity:.45;cursor:not-allowed}
.calc-f:has(input:disabled) .calc-lab,
.calc-f:has(input:disabled) .calc-hint{opacity:.55}
/* ช่องวันที่แบบปฏิทิน · แนวเดียวกับปฏิทินในระบบ CommitLex แต่ใช้ชุดสีของเว็บนี้ */
.calc-date{display:block;position:relative}
.dt-btn{display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px;
  background:var(--surface-2);color:var(--text);border:1px solid var(--line);
  padding:9px 12px;font:inherit;font-size:15px;text-align:left;cursor:pointer}
.dt-btn:hover{border-color:var(--gold)}
.dt-btn:focus-visible{outline:2px solid var(--gold);outline-offset:-1px}
.dt-btn svg{width:17px;height:17px;flex:none;color:var(--muted)}
.dt-val{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dt-ph{color:var(--muted)}
.dt-pop{position:fixed;z-index:95;width:268px;padding:12px;background:var(--surface);
  border:1px solid var(--line);box-shadow:var(--shadow-pop)}
.dt-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.dt-nav,.dt-title,.dt-link,.dt-cell{background:none;border:0;color:var(--text);
  font:inherit;cursor:pointer;border-radius:4px}
.dt-nav{width:28px;height:28px;font-size:19px;line-height:1;color:var(--muted)}
.dt-title{padding:4px 8px;font-weight:600;font-size:14.5px}
.dt-nav:hover,.dt-title:hover:not(:disabled),.dt-link:hover{background:var(--surface-2)}
.dt-title:disabled{cursor:default}
.dt-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.dt-grid.dt-g3{grid-template-columns:repeat(3,1fr);gap:4px}
.dt-dow{margin-bottom:4px;font-size:11px;color:var(--muted);text-align:center}
.dt-cell{height:32px;display:grid;place-items:center;font-size:14px;
  font-variant-numeric:tabular-nums}
.dt-cell:hover{background:var(--surface-2)}
.dt-out{color:var(--muted);opacity:.5}
.dt-today{box-shadow:inset 0 0 0 1px var(--gold);color:var(--gold-ink)}
.dt-sel{background:var(--gold);color:var(--navy-deep);font-weight:700}
.dt-sel:hover{background:var(--gold)}
.dt-foot{display:flex;justify-content:space-between;margin-top:8px;padding-top:8px;
  border-top:1px solid var(--line-soft);font-size:13px}
.dt-link{padding:4px 8px;color:var(--muted)}
.dt-now{color:var(--gold-ink)}
.calc-unit{font-size:13px;color:var(--muted);white-space:nowrap}
.calc input,.calc select{width:100%;background:var(--surface-2);color:var(--text);
  border:1px solid var(--line);border-radius:0;padding:9px 11px;font:inherit;font-size:14.5px}
.calc input:focus,.calc select:focus{outline:2px solid var(--gold);outline-offset:-1px}
/* รายการยาวที่แบ่งหมวด ใช้ตัวอักษรเล็กลงเล็กน้อย ป้ายจะได้ไม่ถูกตัด */
.calc select:has(optgroup){font-size:13.5px;padding-left:9px;padding-right:9px}
.calc-out{padding:20px 22px;background:var(--surface-2);border-left:1px solid var(--line)}
.calc-out h2{font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-ink);
  font-family:var(--sans);font-weight:700;margin:0 0 12px}
/* ค่าผลลัพธ์ที่ยาว ให้ตกลงบรรทัดใหม่ทั้งก้อน ไม่บีบป้ายชื่อทางซ้ายจนตกบรรทัดทีละคำ */
.calc-row{display:flex;justify-content:space-between;align-items:baseline;gap:6px 14px;
  flex-wrap:wrap;padding:9px 0;border-bottom:1px solid var(--line-soft);font-size:14px}
.calc-row:last-of-type{border-bottom:0;border-top:1px solid var(--line);margin-top:4px;
  padding-top:12px;font-weight:700}
.calc-row span{color:var(--muted);min-width:0}
.calc-row b{font-variant-numeric:tabular-nums;text-align:right;color:var(--text);
  white-space:nowrap;margin-left:auto}
.calc-row:last-of-type b{font-size:17px;color:var(--gold-ink)}
.calc-note{font-size:12.5px;color:var(--muted);line-height:1.5;margin:14px 0 0}
/* กล่องชุดอ่านก่อนเซ็นท้ายหน้าบทความกฎหมาย */
.series-box{max-width:78ch;margin-top:44px;padding-top:26px;border-top:2px solid var(--gold)}
.series-box h2{font-size:22px;margin:0 0 8px}
.series-box .posts-note{margin-bottom:10px}
.tool-rel{margin:8px 0 0;padding-left:18px}
.tool-rel li{margin:5px 0}
@media (max-width:820px){
  .calc{grid-template-columns:1fr}
  .calc-out{border-left:0;border-top:1px solid var(--line)}
}

.tool-promo{margin:30px 0 6px;padding:18px 20px;background:var(--surface-2);
  border:1px solid var(--line);border-left:3px solid var(--gold)}
.tool-promo h2{margin:6px 0 4px;font-size:19px}
.tool-promo h2 a{text-decoration:none}
.tool-promo h2 a:hover{text-decoration:underline}
.tool-promo p{margin:0;color:var(--muted);font-size:14.5px}

/* ดรอปดาวน์ที่สอง มีสองคอลัมน์ จึงแคบกว่าเมนูขอบเขตงาน */
.mega-in--narrow{grid-template-columns:repeat(2,minmax(0,1fr));max-width:700px}
@media (min-width:1180px){
  /* ดรอปดาวน์ทั้งสองชนิดต้องชิดซ้ายตรงกับขอบคอลัมน์เนื้อหาจริงของหน้า (หัวเรื่องหน้าแรก บทความ ฯลฯ)
     ไม่ใช่ขอบของแถบเมนูเอง — แถบเมนูกว้าง 1290px ส่วนคอลัมน์เนื้อหากว้าง var(--wrap) 1180px
     จึงเหลื่อมกัน เดิม margin:0 auto ทำให้ดรอปดาวน์กว้างอิงขอบแถบเมนู และดรอปดาวน์แคบลอยกึ่งกลางจอ
     เจ้าของสั่ง 18 ก.ย. 2569 ให้จุดเริ่มกรอบตรงกับบทความเมื่อหน้ายาว */
  .mega{justify-content:flex-start}
  .mega-in{margin:0;margin-left:calc((100% - var(--wrap)) / 2 + 24px)}
}
