/* mobile.css — หน้าตาบนโทรศัพท์ (โหลดเฉพาะจอกว้างไม่เกิน 760px)
   หลักออกแบบ: ขาวหลัก ฟ้ารอง น้ำเงินกรมน้อยสุด · การ์ดมุมมน ไม่มีแถบสีขอบการ์ด · ปุ่มแตะได้อย่างน้อย 44px */

:root { --m-bg: #EEF5FB; --m-card: #FFFFFF; --m-edge: #DCE8F3; --m-shadow: 0 1px 2px rgba(18, 48, 92, .06), 0 4px 14px rgba(18, 48, 92, .06); --m-r: 16px; --m-tab: 62px; }

html { scroll-padding-top: 74px; scroll-behavior: smooth; }
body { background: var(--m-bg); line-height: 1.6; padding-bottom: calc(var(--m-tab) + env(safe-area-inset-bottom)); -webkit-tap-highlight-color: rgba(10, 102, 173, .12); overflow-wrap: break-word; }
.wrap { padding: 0 14px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #F0B429; outline-offset: 2px; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* หัวเว็บแบบจอกว้างซ่อนทั้งชุด */
.topbar, .site-header, .mainnav { display: none; }

/* ---------- แถบบน ---------- */
.m-bar { display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 20; background: #fff; padding: calc(9px + env(safe-area-inset-top)) 12px 9px; box-shadow: 0 1px 0 var(--m-edge), 0 4px 12px rgba(18, 48, 92, .05); }
.m-brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-decoration: none; color: var(--ink); }
.m-brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.m-brand span { min-width: 0; }
.m-brand strong { display: block; color: var(--navy); font-size: 1.05rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-brand small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-btn { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 22%; background: var(--sky); color: var(--blue); cursor: pointer; }
.m-menu summary { list-style: none; } .m-menu summary::-webkit-details-marker { display: none; }
.m-menu[open] summary { background: var(--navy); color: #fff; }
.m-menu nav { position: absolute; right: 10px; top: calc(100% + 6px); width: min(300px, calc(100vw - 20px)); max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid var(--m-edge); border-radius: var(--m-r); box-shadow: 0 14px 36px rgba(18, 48, 92, .22); padding: 6px; }
.m-menu nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.m-menu nav a .ic { color: var(--blue); } .m-menu nav a:active { background: var(--sky); }

/* ---------- เรียงลำดับหน้าแรกใหม่ให้เหมาะกับการดูบนโทรศัพท์ ---------- */
.home main { display: flex; flex-direction: column; }
.home main > * { order: 20; }
.home .hero { display: contents; }
.home .announce { order: 1; }
.home .hero-media { order: 2; }
.home .m-quick { order: 3; }
.home .today { order: 4; }
.home #news { order: 5; }
.home #line { order: 6; }
.home #schedule { order: 7; }
.home #gallery { order: 8; }
.home #kpi { order: 9; }
.home #about { order: 10; }
.home #links { order: 11; }
.home #contact { order: 12; }

/* ---------- ภาพเด่น: ปัดได้ รูปเต็ม ข้อความอยู่ใต้รูปไม่บังคน ---------- */
.hero-media { display: block; flex: none; align-self: stretch; margin: 12px 14px 0; }
.hero-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: auto; border: 0; border-radius: var(--m-r); background: var(--m-card); box-shadow: var(--m-shadow); }
.hero-slider::-webkit-scrollbar { display: none; }
.hero-slider .slide { position: static; opacity: 1; flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; }
.hero-slider img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-slider .cap, .hero-slider .slide-table .cap { position: static; background: var(--m-card); color: var(--navy); padding: 0; margin: 8px 12px 10px; font-size: .84rem; font-weight: 500; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: none; }
.hero-media .dots { position: static; justify-content: center; gap: 2px; margin-top: 2px; }
.hero-media .dots button { width: 32px; height: 24px; border: 0; background: transparent; position: relative; }
.hero-media .dots button::after { content: ''; position: absolute; left: 12px; top: 9px; width: 8px; height: 8px; border-radius: 4px; background: #B7CBDD; transition: width .2s, left .2s; }
.hero-media .dots button.on { background: transparent; }
.hero-media .dots button.on::after { background: var(--blue); width: 20px; left: 6px; }
.hero-plain { flex-direction: column; text-align: center; min-height: 0; border: 0; border-radius: var(--m-r); padding: 24px 16px; gap: 12px; }
.hero-plain img { width: 96px; height: 96px; } .hero-plain strong { font-size: 1.2rem; }

/* ---------- สถานะ + ปุ่มลัด ---------- */
.m-quick { display: block; margin: 10px 14px 0; background: var(--m-card); border-radius: var(--m-r); box-shadow: var(--m-shadow); overflow: hidden; }
.m-status { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--sky); }
.m-status .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); flex: none; }
.m-status strong { display: block; color: var(--navy); line-height: 1.45; }
.m-status small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.m-status.on { background: #E3F5EA; } .m-status.on .dot { background: #17894A; box-shadow: 0 0 0 4px rgba(23, 137, 74, .2); }
.m-status.rest { background: #FFF3D6; } .m-status.rest .dot { background: #C98A00; box-shadow: 0 0 0 4px rgba(201, 138, 0, .2); }
.m-status.off { background: #EEF1F5; } .m-status.off .dot { background: #77869A; }
.m-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 4px; padding: 14px 8px; }
.m-actions a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-size: .8rem; font-weight: 600; line-height: 1.35; text-align: center; }
.tile { width: 52px; height: 52px; border-radius: 22%; display: flex; align-items: center; justify-content: center; }
.tile .ic { width: 26px; height: 26px; }
.tile.blue { background: var(--blue); color: #fff; } .tile.green { background: #06A94C; color: #fff; } .tile.teal { background: #0B7F86; color: #fff; }
.tile.indigo { background: #2B55A8; color: #fff; } .tile.sky { background: var(--sky); color: var(--blue); } .tile.red { background: #C4321F; color: #fff; }
.m-actions a:active .tile { transform: scale(.93); }

/* ---------- บริการวันนี้ ---------- */
.box { border: 0; }
.today { margin: 12px 14px 0; background: var(--m-card); border-radius: var(--m-r); box-shadow: var(--m-shadow); overflow: hidden; flex: none; }
.today .box-head { background: var(--blue); padding: 11px 16px; }
.today .box-body { padding: 10px 14px 6px; }
.today .day { border: 0; padding: 0 0 8px; font-weight: 600; color: var(--navy); }
.today .row { flex-direction: column-reverse; gap: 6px; border: 0; background: var(--m-bg); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.today .row span:last-child:not(.svc) { align-self: flex-start; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 600; border-radius: 999px; padding: 1px 10px; }
.today .row i { display: block; line-height: 1.55; padding-left: 14px; position: relative; }
.today .row i::before, .today .row i + i::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.today .row i + i { margin-top: 3px; }
.today .row:last-child { background: transparent; padding: 4px 0; margin: 0; text-align: center; font-weight: 600; }
.today .row:last-child a:only-child { background: none; color: var(--blue); font-size: .95rem; align-self: center; padding: 6px 8px; }
.today .box-foot { background: #FDEDEA; border: 0; color: #7E2113; padding: 10px 16px; font-size: .92rem; text-align: center; }

.announce { margin: 12px 14px 0; border: 0; border-radius: var(--m-r); background: #FFF3D6; padding: 10px 14px; gap: 6px; align-items: flex-start; }
.announce .tag { border-radius: 999px; padding: 1px 12px; font-size: .8rem; }
.announce span:last-child { padding: 0; flex: 1 1 100%; }

/* ---------- หัวข้อส่วน ---------- */
.sec { padding-top: 26px; width: 100%; }
.sec-head { border: 0; margin-bottom: 10px; align-items: center; flex-wrap: nowrap; }
.sec-head h2 { border: 0; padding: 0; margin: 0; font-size: 1.18rem; line-height: 1.5; }
.head-link { padding: 6px 0; font-weight: 600; font-size: .9rem; white-space: nowrap; text-decoration: none; }

/* แท็บเป็นปุ่มเม็ดเลื่อนแนวนอน */
.tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border: 0; gap: 8px; margin: 0 -14px 12px; padding: 2px 14px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; margin: 0; border: 1px solid var(--m-edge); border-radius: 999px; background: #fff; color: var(--muted); padding: 6px 16px; min-height: 40px; font-size: .92rem; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.empty { background: #fff; border-radius: var(--m-r); padding: 22px 16px; text-align: center; margin: 0; }

/* ---------- ข่าว ---------- */
.news-grid { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
.news-feat { flex: none; position: relative; background: var(--m-card); border-radius: var(--m-r); box-shadow: var(--m-shadow); overflow: hidden; padding-bottom: 12px; }
.news-feat img { height: auto; aspect-ratio: 16 / 10; border: 0; }
.news-feat .date { font-size: .82rem; margin: 10px 14px 0; }
.news-feat h3 { margin: 2px 14px 4px; font-size: 1.05rem; }
.news-feat h3 a::after { content: ''; position: absolute; inset: 0; }
.news-feat p { margin: 0 14px; font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list { flex: none; width: 100%; display: flex; flex-direction: column; gap: 8px; }
.news-list:empty { display: none; }
.news-list li { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 12px; align-content: start; background: var(--m-card); border: 0; border-radius: var(--m-r); box-shadow: var(--m-shadow); padding: 10px; }
.news-list .thumb { display: flex; grid-column: 1; grid-row: 1 / 4; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--sky); color: var(--blue); align-items: center; justify-content: center; }
.news-list .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.news-list .thumb .ic { width: 30px; height: 30px; }
.news-list .date { grid-column: 2; grid-row: 1; font-size: .8rem; line-height: 1.5; }
.news-list li a { grid-column: 2; grid-row: 2; align-self: start; font-weight: 600; font-size: .95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list li a::after { content: ''; position: absolute; inset: 0; }
.news-list li a:hover { text-decoration: none; }
.news-list .file { grid-column: 2; grid-row: 3; justify-self: start; background: #FDEDEA; border-radius: 999px; padding: 0 9px; font-size: .74rem; }
.more { text-align: center; margin-top: 10px; }
.more a { display: block; background: #fff; border: 1px solid var(--m-edge); border-radius: 999px; padding: 9px; font-weight: 600; text-decoration: none; }

/* ---------- ตารางบริการแบบแตะเปิดรายวัน ---------- */
.sched-table { display: none; }
.m-sched { display: flex; flex-direction: column; gap: 8px; }
.m-day { background: var(--m-card); border-radius: var(--m-r); box-shadow: var(--m-shadow); overflow: hidden; }
.m-day summary { display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; list-style: none; }
.m-day summary::-webkit-details-marker { display: none; }
.m-day summary > .ic { color: var(--blue); transition: transform .2s; width: 18px; height: 18px; }
.m-day[open] summary > .ic { transform: rotate(90deg); }
.m-d { width: 44px; height: 44px; flex: none; border-radius: 22%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; }
.m-d.d1 { background: #FFEFA8; color: #5C4A00; } .m-d.d2 { background: #FFD9E6; color: #8C1D47; } .m-d.d3 { background: #D5F0DC; color: #14602F; }
.m-d.d4 { background: #FFE1C7; color: #8A4200; } .m-d.d5 { background: #D6EBFA; color: #0A4F85; } .m-d.d6 { background: #E8DDF8; color: #4E2C86; } .m-d.d7 { background: #FBD9D4; color: #8F2213; }
.m-dt { flex: 1; min-width: 0; }
.m-dt strong { display: flex; align-items: center; gap: 8px; color: var(--navy); line-height: 1.5; }
.m-dt em { display: none; font-style: normal; font-size: .72rem; background: var(--blue); color: #fff; border-radius: 999px; padding: 0 10px; }
.m-day.is-today .m-dt em { display: inline-block; }
.m-day.is-today { box-shadow: 0 0 0 2px var(--blue), var(--m-shadow); }
.m-dt small { display: block; color: var(--muted); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-day[open] .m-dt small { display: none; }
.m-slots { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.m-slot { background: var(--m-bg); border-radius: 12px; padding: 10px 12px; }
.m-slot p { margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.m-slot p span { background: var(--navy); color: #fff; font-weight: 700; border-radius: 999px; padding: 0 10px; }
.m-slot ul { margin: 0; padding-left: 18px; } .m-slot li { line-height: 1.55; margin-top: 2px; } .m-slot li::marker { color: var(--blue); }
.m-slot li.none { color: var(--muted); }
.closures { border: 0; border-radius: var(--m-r); background: var(--m-card); box-shadow: var(--m-shadow); padding: 12px 14px; font-size: .92rem; }
.closures strong { color: var(--navy); }
.closures li { margin-top: 6px; }
.note { font-size: .85rem; text-align: center; }

/* ---------- ผลการดำเนินงาน: การ์ดแทนตาราง ---------- */
.table-wrap { overflow: visible; }
.tbl.kpi { display: block; min-width: 0; }
.tbl.kpi thead { display: none; }
.tbl.kpi tbody { display: flex; flex-direction: column; gap: 8px; }
.tbl.kpi tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'nm res' 'br br' 'goal st'; gap: 6px 12px; background: var(--m-card); border-radius: var(--m-r); box-shadow: var(--m-shadow); padding: 12px 14px; }
.tbl.kpi td { border: 0; padding: 0; text-align: left; }
.tbl.kpi .no { display: none; }
.tbl.kpi .nm { grid-area: nm; font-weight: 600; line-height: 1.5; }
.tbl.kpi .res { grid-area: res; font-size: 1.4rem; color: var(--navy); text-align: right; }
.tbl.kpi .br { grid-area: br; }
.tbl.kpi .goal { grid-area: goal; font-size: .82rem; color: var(--muted); } .tbl.kpi .goal::before { content: 'เป้าหมายร้อยละ '; }
.tbl.kpi .st { grid-area: st; font-size: .82rem; text-align: right; }
.bar, .bar span { height: 8px; border-radius: 4px; }

/* ---------- ภาพกิจกรรม ---------- */
.album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.album { background: var(--m-card); border-radius: var(--m-r); box-shadow: var(--m-shadow); overflow: hidden; display: flex; flex-direction: column; }
.album img, .album .ph { height: auto; aspect-ratio: 4 / 3; border: 0; }
.album .t { margin: 8px 10px 2px; font-size: .88rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.album .m { margin: auto 10px 10px; font-size: .75rem; }
.album:only-child { grid-column: 1 / -1; }
.photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.photo-grid figure:first-child { grid-column: 1 / -1; }
.photo-grid img { height: auto; aspect-ratio: 4 / 3; border: 0; border-radius: 12px; }
.photo-grid figcaption { font-size: .8rem; line-height: 1.5; }
.lightbox { padding: 60px 8px; }
.lightbox .p, .lightbox .n { top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); }
.lightbox .p { left: 24px; } .lightbox .n { right: 24px; }
.lightbox button { border-radius: 22%; }

/* ---------- เกี่ยวกับหน่วยงาน ---------- */
.about { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
.director { flex: none; min-width: 0; background: var(--m-card); border-radius: var(--m-r); box-shadow: var(--m-shadow); padding: 18px 14px 16px; }
.director img { width: 150px; height: 150px; aspect-ratio: 1; object-position: top; border: 0; }
.director strong { margin: 12px 0 2px; font-size: 1.08rem; } .director span { font-size: .9rem; }
.about-text { flex: none; background: var(--m-card); border-radius: var(--m-r); box-shadow: var(--m-shadow); padding: 14px 16px 2px; }
.about-text:empty { display: none; }
.about-text:not(:has(h3)) { display: none; }
.about-text ol { padding-left: 20px; }

/* ---------- LINE ---------- */
#line { background: #E7F8EE; margin: 22px 14px 0; width: auto; padding: 16px; border-radius: var(--m-r); }
#line .sec-head { margin-bottom: 6px; flex-wrap: wrap; }
#line .sec-head h2 { color: #07562C; font-size: 1.08rem; }
#line .head-link, #line .lg-qr, #line .lg-way:first-child { display: none; }
#line .lg-lead { font-size: .92rem; margin-bottom: 12px; }
#line .lg-add { display: block; }
#line .lg-ways { display: flex; }
#line .lg-open { order: -1; }
#line .lg-way { border: 0; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: .85rem; }
#line .lg-way .lg-ic { display: none; }
#line .lg-way h3 { font-size: .92rem; }
#line .lg-more { text-align: center; font-size: .9rem; font-weight: 600; margin-top: 10px; }
.lg-open { margin: 0; display: block; } .lg-open .muted { display: none; }
.lg-btn { display: block; text-align: center; }

/* ---------- หน่วยงานที่เกี่ยวข้อง ---------- */
.links { grid-template-columns: 1fr; gap: 0; background: var(--m-card); border-radius: var(--m-r); box-shadow: var(--m-shadow); overflow: hidden; }
.links a { border: 0; text-align: left; display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; font-size: .94rem; }
.links a + a { border-top: 1px solid var(--m-edge); }
.links a::after { content: '›'; color: var(--blue); font-size: 1.3rem; line-height: 1; }

/* ---------- ติดต่อ ---------- */
.contact { max-width: none; }
.tbl.plain { display: block; background: var(--m-card); border-radius: var(--m-r); box-shadow: var(--m-shadow); padding: 4px 14px; }
.tbl.plain tbody { display: block; }
.tbl.plain tr { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; padding: 11px 0; }
.tbl.plain tr + tr { border-top: 1px solid var(--m-edge); }
.tbl.plain th, .tbl.plain td { display: block; border: 0; padding: 0; width: auto; }
.tbl.plain th { grid-row: 1 / 3; }
.contact th .ic { display: block; width: 40px; height: 40px; padding: 9px; border-radius: 22%; background: var(--sky); color: var(--blue); }
.tbl.plain th span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tbl.plain td { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: .95rem; }
.tbl.plain td a { display: inline-block; padding: 4px 0; font-weight: 600; }
.btn { border-radius: 999px; padding: 11px 20px; }
.contact .btn { display: block; text-align: center; }

/* ---------- ท้ายเว็บ ---------- */
.site-footer { margin-top: 28px; font-size: .86rem; }
.footer-in { flex-direction: column; flex-wrap: nowrap; gap: 16px; padding-top: 20px; padding-bottom: 14px; text-align: center; }
.f1, .f2, .f3 { flex: none; }
.site-footer a { padding: 4px 0; }
.copy { text-align: center; font-size: .76rem; }

/* ---------- เมนูล่าง ---------- */
.m-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; box-shadow: 0 -1px 0 var(--m-edge), 0 -6px 18px rgba(18, 48, 92, .08); padding-bottom: env(safe-area-inset-bottom); }
.m-tabbar a { height: var(--m-tab); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: #5A6B80; font-size: .74rem; font-weight: 600; line-height: 1.3; }
.m-tabbar a .ic { width: 44px; height: 28px; padding: 2px 10px; border-radius: 999px; }
.m-tabbar a[aria-current] { color: var(--navy); }
.m-tabbar a[aria-current] .ic { background: var(--sky); color: var(--blue); }

/* ---------- หน้าย่อย ---------- */
.page { padding-top: 10px; padding-bottom: 4px; }
.page h1 { font-size: 1.3rem; line-height: 1.5; margin: 6px 0 10px; }
.back { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 6px; }
.back a, .m-share { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; background: #fff; border: 1px solid var(--m-edge); border-radius: 999px; padding: 4px 16px; font: inherit; font-weight: 600; font-size: .9rem; color: var(--blue); cursor: pointer; }
.m-share[hidden] { display: none; }
.m-share .ic { width: 18px; height: 18px; }
.m-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 2px 14px; }
.m-chips a { flex: none; background: #fff; border: 1px solid var(--m-edge); border-radius: 999px; padding: 6px 16px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--navy); }
.page .sec { padding-top: 20px; }
.article { background: var(--m-bg); }
.crumb { font-size: .85rem; }
.article .cover { border: 0; border-radius: var(--m-r); box-shadow: var(--m-shadow); }
.article .lead { background: var(--sky); border-radius: var(--m-r); padding: 12px 14px; color: var(--navy); font-size: .98rem; }
.article .content { background: var(--m-card); border-radius: var(--m-r); box-shadow: var(--m-shadow); padding: 2px 16px; line-height: 1.75; }
.article .content:empty { display: none; }
.attach .btn { display: block; text-align: center; }
.lead { font-size: .98rem; }

/* ---------- หน้าคู่มือ LINE ---------- */
.lg-page .lg-qr { width: max-content; margin: 0 auto 12px; border-radius: var(--m-r); }
.lg-page .lg-qr img { width: 150px; height: 150px; }
.lg-page .lg-add { display: block; }
.lg-page .lg-ways { display: flex; }
.lg-page .lg-open { order: -1; }
.lg-way { border: 0; background: #fff; box-shadow: var(--m-shadow); border-radius: var(--m-r); }
.lg-steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -14px; padding: 2px 14px 12px; }
.lg-step { flex: 0 0 76%; scroll-snap-align: center; background: var(--m-card); border-radius: var(--m-r); box-shadow: var(--m-shadow); padding: 14px; }
.lg-page .phone { max-width: 210px; margin: 0 auto 10px; }
.lg-fam, .lg-faq, .lg-uses { grid-template-columns: 1fr; gap: 8px; }
.lg-fam li, .lg-faq div, .lg-uses li { background: var(--m-card); border: 0; border-radius: var(--m-r); box-shadow: var(--m-shadow); padding: 12px 14px; }
.lg-fam .mk { border: 0; border-radius: 22%; }
.lg-safe, .lg-help { border: 0; border-radius: var(--m-r); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .m-day summary > .ic { transition: none; } }
