/* เว็บไซต์โรงเรียนอนุบาลธารทิพย์ · ธีมที่อนุมัติ 14 พ.ย. 2569 (แดงเลือดหมู + ทอง) */
@font-face { font-family: 'Plex Thai'; src: url('fonts/plex-thai-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Plex Thai'; src: url('fonts/plex-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Plex Thai'; src: url('fonts/plex-thai-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Plex Thai'; src: url('fonts/plex-latin-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Plex Looped'; src: url('fonts/looped-thai-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Plex Looped'; src: url('fonts/looped-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Plex Looped'; src: url('fonts/looped-thai-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Plex Looped'; src: url('fonts/looped-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

:root {
  --wine: #8b1238; --wine-2: #6c0b29; --wine-3: #5e0a20; --wine-4: #4a0818; --wine-5: #3d0716;
  --rose: #c62d58; --coral: #e8475f;
  --gold: #ffd88a; --gold-2: #f5c75a; --gold-ink: #4a2a00;
  --bg: #fff3f5; --line: #f1d0da; --line-2: #efc9d5;
  --ink: #3a1424; --ink-2: #7a3a50; --white: #ffffff;
  --head: 'Plex Thai', 'Plex Looped', 'Noto Sans Thai', 'Leelawadee UI', Tahoma, sans-serif;
  --text: 'Plex Looped', 'Noto Sans Thai Looped', 'Noto Sans Thai', 'Leelawadee UI', Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.75 var(--text); }
h1, h2, h3 { font-family: var(--head); line-height: 1.3; margin: 0; }
a { color: var(--wine); }
a:hover { color: var(--wine-3); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 99; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--ink-2); }
.ic { flex: none; }
a[href^="tel:"] { white-space: nowrap; }

/* ---------- ปุ่ม ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 999px; font-family: var(--head); font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-main { color: var(--white); background: linear-gradient(180deg, #d33a63 0%, #9c1640 55%, var(--wine-2) 100%); box-shadow: 0 8px 20px rgba(120, 16, 50, .32), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-main:hover { color: var(--white); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(120, 16, 50, .4), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-glass { color: var(--white); border: 1px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.btn-glass:hover { color: var(--white); background: rgba(255, 255, 255, .22); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 17px; }

/* ---------- แถบบนสุดและหัวเว็บ ---------- */
.topbar { background: var(--wine-3); color: #ffe3ec; font-size: 14px; }
.topbar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #ffe3ec; text-decoration: none; display: inline-flex; align-items: center; min-height: 30px; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar-contact, .topbar-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.topbar .staff { color: var(--gold); font-weight: 600; }
.site-head { background: var(--white); position: relative; z-index: 5; }
.head-in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding-top: 12px; padding-bottom: 4px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 0 0 3px #e2b04a, 0 6px 16px rgba(108, 11, 41, .25); }
.brand b { display: block; font-family: var(--head); font-size: 21px; color: var(--wine); line-height: 1.25; }
.brand small { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.nav { order: 3; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 0 6px; margin-left: -9px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 600; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--wine); }
.nav a[aria-current] { color: var(--wine); border-bottom-color: var(--wine); }
.head-cta { flex: none; margin-left: auto; }
.mnav { display: none; }
.glow-line { height: 3px; background: linear-gradient(90deg, rgba(198, 45, 88, 0), var(--rose) 18%, #ff8a7a 50%, var(--rose) 82%, rgba(198, 45, 88, 0)); box-shadow: 0 0 14px rgba(232, 71, 95, .55); position: relative; z-index: 4; }

/* ---------- ภาพหลักหน้าแรก ---------- */
.hero {
  min-height: 600px; display: flex; align-items: center; color: var(--white);
  background:
    linear-gradient(90deg, #3d0716 0%, #4a0818 38%, rgba(78, 9, 28, .6) 47%, rgba(94, 10, 32, .15) 62%, rgba(94, 10, 32, 0) 76%),
    linear-gradient(rgba(139, 18, 56, .2), rgba(139, 18, 56, .2)),
    url('hero.webp') right -20px top 30% / auto 120% no-repeat,
    #4a0818;
}
.hero-in { width: 100%; padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero h1 { font-size: 56px; max-width: 620px; text-shadow: 0 2px 24px rgba(255, 140, 120, .35); }
.hero p { margin: 0; max-width: 560px; font-size: 19px; color: #ffe9f0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.badge-gold { padding: 5px 14px; border-radius: 999px; font: 600 14px/1.5 var(--head); color: var(--gold-ink); background: linear-gradient(180deg, #fff2c8, var(--gold-2)); }

.announce { background: linear-gradient(90deg, #fff1c6, #ffe2a0); border-bottom: 1px solid #f0cf7c; color: var(--gold-ink); }
.announce-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
.announce a { font-weight: 600; }
.tag-wine { padding: 2px 12px; border-radius: 999px; background: var(--wine); color: var(--white); font: 600 13px/1.6 var(--head); }

/* ---------- ส่วนต่าง ๆ ---------- */
.sec { padding-top: 48px; padding-bottom: 8px; }
.sec:last-child { padding-bottom: 56px; }
.narrow { max-width: 920px; }
.h-line { font-size: 27px; margin-bottom: 22px; }
.h-line::after { content: ''; display: block; width: 56px; height: 4px; margin-top: 10px; border-radius: 4px; background: linear-gradient(90deg, var(--wine), var(--coral) 60%, var(--gold-2)); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 16px; }
.sec-head a { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 1px 0 var(--line-2), 0 14px 30px rgba(139, 18, 56, .06); }
.nw { white-space: nowrap; }
.wash { background: radial-gradient(50% 90% at 0% 0%, rgba(232, 71, 95, .16), rgba(232, 71, 95, 0) 70%), radial-gradient(40% 80% at 100% 100%, rgba(245, 199, 90, .18), rgba(245, 199, 90, 0) 70%), linear-gradient(180deg, var(--bg) 0%, #fbdde5 100%); border-bottom: 1px solid var(--line-2); padding-bottom: 40px; }
.ic-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; color: var(--white); background: linear-gradient(160deg, var(--rose), var(--wine-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 14px rgba(139, 18, 56, .25); }

.services { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.service { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; text-decoration: none; color: var(--ink); background: linear-gradient(90deg, var(--wine), var(--coral) 55%, var(--gold-2)) top / 100% 4px no-repeat, var(--white); border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(139, 18, 56, .08); transition: transform .15s, box-shadow .15s; }
.service:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(139, 18, 56, .16); }
.service b { font-family: var(--head); font-size: 17px; line-height: 1.35; }
.service span:last-child { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

.band { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 36px; padding: 44px; border-radius: 28px; color: var(--white); background: radial-gradient(50% 120% at 100% 0%, rgba(255, 215, 140, .35), transparent 70%), linear-gradient(118deg, var(--wine-4) 0%, #7a0e2c 55%, #b51d4a 100%); box-shadow: 0 24px 48px rgba(94, 10, 32, .28), inset 0 1px 0 rgba(255, 255, 255, .18); }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(108deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .07) 45%, rgba(255, 255, 255, 0) 60%); pointer-events: none; }
.band-mark { position: absolute; right: -60px; top: 50%; width: 360px; height: 360px; transform: translateY(-50%); opacity: .07; border-radius: 50%; pointer-events: none; }
.band-text { position: relative; flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.band h2 { font-size: 34px; }
.band p { margin: 0; color: #ffe3ec; }
.band a { color: var(--gold); font-weight: 600; }
.eyebrow { font: 600 14px/1.4 var(--head); letter-spacing: .12em; color: var(--gold); }
.stats { position: relative; flex: 1 1 360px; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 14px; }
.stat { padding: 20px 14px; border-radius: 18px; text-align: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); }
.stat b { display: block; font: 700 34px/1.2 var(--head); }
.stat span { font-size: 14px; color: #ffe3ec; }
.gold-text { background: linear-gradient(180deg, #fff6dc 0%, var(--gold) 60%, #f5b94a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: 0 10px 24px rgba(139, 18, 56, .08); transition: transform .15s, box-shadow .15s; }
.news-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(139, 18, 56, .16); }
.thumb { width: 100%; height: 190px; object-fit: cover; display: block; }
.ph { display: grid; place-items: center; color: rgba(255, 255, 255, .9); }
.ph-rose { background: radial-gradient(circle at 30% 30%, #ffe4ea, #f3b9c9); color: var(--wine); }
.ph-wine { background: linear-gradient(135deg, #7a0e2c, #c62d58); }
.ph-gold { background: radial-gradient(circle at 30% 30%, #fff3d4, #f5d48a); color: #8a5a00; }
.news-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.news-card .meta { font-size: 13px; color: #9c1640; font-weight: 600; }
.news-card b { font-family: var(--head); font-size: 17px; line-height: 1.5; }
.news-card .sum { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.event { display: flex; gap: 14px; align-items: flex-start; }
.event .date { flex: none; width: 58px; padding: 6px 0; border-radius: 14px; text-align: center; background: #fbe4ec; color: var(--wine); line-height: 1.2; }
.event .date b { display: block; font: 700 22px/1.2 var(--head); }
.event .date small { font-size: 13px; }
.event.holiday .date { background: #fff1c6; color: #8a5a00; }
.event > span:last-child b { display: block; font-weight: 600; }
.event > span:last-child small { color: var(--ink-2); font-size: 14px; }
.verse { border-radius: 22px; padding: 28px; color: var(--gold-ink); background: linear-gradient(160deg, #fff1c6, #f9d888); border: 1px solid #f0cf7c; display: flex; flex-direction: column; gap: 10px; }
.verse p { margin: 0; font-size: 20px; line-height: 1.6; }
.verse .ref { font-size: 15px; }
.eyebrow-dark { font: 600 14px/1.4 var(--head); }

.albums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.album { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.album-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.album b { padding: 12px 16px 0; font-size: 15.5px; line-height: 1.5; }
.album span { padding: 0 16px 14px; font-size: 13.5px; color: var(--ink-2); }

/* ---------- หน้าย่อย ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--white); padding: 52px 0; background: radial-gradient(circle at 85% 20%, rgba(255, 216, 138, .28), transparent 45%), linear-gradient(118deg, var(--wine-4) 0%, #7a0e2c 55%, #b51d4a 100%); }
.page-hero.art { padding: 64px 0; background: linear-gradient(90deg, rgba(61, 7, 22, .94) 0%, rgba(94, 10, 32, .8) 45%, rgba(61, 7, 22, .2) 100%), linear-gradient(rgba(139, 18, 56, .2), rgba(139, 18, 56, .2)), url('hero.webp') 70% 6% / cover no-repeat, var(--wine-4); }
.page-hero .wrap { position: relative; display: flex; flex-direction: column; gap: 10px; }
.page-hero h1 { font-size: 44px; }
.page-hero p { margin: 0; max-width: 680px; color: #ffe3ec; font-size: 18px; }
.crumbs { font-size: 15px; color: #ffe3ec; }
.crumbs a { color: #ffe3ec; }
.prose { font-size: 17px; }
.prose h3 { font-size: 22px; color: var(--wine); margin: 26px 0 8px; }
.prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 24px; }
.empty { padding: 28px; border-radius: 20px; background: var(--white); border: 1px dashed var(--line-2); color: var(--ink-2); }
.empty p { margin: 0 0 6px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.contact-card b { font-family: var(--head); }
.contact-card p { margin: 2px 0 0; overflow-wrap: anywhere; }

.round dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.round dl div { padding: 14px 16px; border-radius: 16px; background: #fbe4ec; }
.round dt { font-size: 14px; color: var(--ink-2); }
.round dd { margin: 0; font-weight: 600; color: var(--wine); }
.tw { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th { text-align: left; color: var(--ink-2); font-weight: 600; padding: 10px 8px; border-bottom: 2px solid var(--line-2); white-space: nowrap; }
td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.pill-ok, .pill-off, .pill-gold { display: inline-flex; align-items: center; padding: 2px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.pill-ok { background: #e5f4e4; color: #1f6b2c; }
.pill-off { background: #f3e7ea; color: var(--ink-2); }
.pill-gold { background: #fff1c6; color: #7a4a00; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 20px; background: linear-gradient(90deg, var(--wine), var(--coral) 55%, var(--gold-2)) top / 100% 4px no-repeat, var(--white); border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(139, 18, 56, .06); }
.step .num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 19px/1 var(--head); color: var(--white); background: linear-gradient(160deg, var(--rose), var(--wine-2)); }
.step .num.gold { color: var(--gold-ink); background: linear-gradient(160deg, #fff2c8, var(--gold-2)); }
.step b { font-family: var(--head); font-size: 18px; }
.step span:last-child { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 16px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line-2); font-size: 15px; color: var(--wine-3); }
.notice .ic { color: var(--wine); margin-top: 3px; }
.kinder { background: linear-gradient(160deg, #fff1c6, #f9d888); border-color: #f0cf7c; color: var(--gold-ink); }

.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #f0cfdc; background: var(--white); color: var(--ink); text-decoration: none; font-size: 15.5px; }
.chip[aria-current] { color: var(--white); border-color: transparent; background: linear-gradient(180deg, var(--rose), var(--wine-2)); font-weight: 600; }
.search { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--white); border: 1px solid #f0cfdc; color: var(--ink-2); min-width: 260px; }
.search input { border: 0; background: none; font: inherit; color: var(--ink); min-width: 0; flex: 1; min-height: 40px; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 3px rgba(232, 71, 95, .25); border-color: var(--rose); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.pager a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

.post .meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; color: var(--ink-2); font-size: 15px; }
.tag-rose { padding: 2px 12px; border-radius: 999px; background: #fbe4ec; color: var(--wine); font-weight: 600; font-size: 14px; }
.post .cover { width: 100%; border-radius: 16px; margin-bottom: 18px; display: block; }
.post .lead { font-size: 19px; color: var(--wine-3); margin: 0 0 16px; }
.file-link { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.file-link b { display: block; overflow-wrap: anywhere; }
.file-link small { color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.gallery figcaption { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li + li { border-top: 1px solid var(--line); }
.doc-list a { display: flex; gap: 12px; align-items: flex-start; padding: 14px 4px; text-decoration: none; color: var(--ink); }
.doc-list b { display: block; }
.doc-list small { color: var(--ink-2); }
.month { margin-bottom: 18px; }
.preview-bar { background: var(--gold-2); color: var(--gold-ink); text-align: center; font-weight: 600; padding: 8px 16px; }

/* ---------- ส่วนท้าย ---------- */
.site-foot { margin-top: 56px; color: #ffe9f0; background: radial-gradient(60% 80% at 90% 0%, rgba(255, 150, 100, .25), transparent 70%), linear-gradient(120deg, #4e0a1e 0%, var(--wine-2) 40%, var(--wine) 100%); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-top: 44px; padding-bottom: 32px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.foot-brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px #e2b04a; }
.foot-brand b { font-family: var(--head); font-size: 19px; color: var(--white); }
.site-foot p { margin: 0 0 8px; font-size: 15px; line-height: 1.7; }
.site-foot h2 { font-size: 15px; color: var(--gold); margin-bottom: 8px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li a { display: inline-flex; align-items: center; min-height: 36px; font-size: 15px; }
.site-foot a { color: #ffe9f0; }
.site-foot a:hover { color: var(--white); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .18); text-align: center; padding: 16px 24px; font-size: 14px; color: #ffd6e2; }

/* ---------- จอเล็ก ---------- */
@media (max-width: 1060px) {
  .nav { display: none; }
  .head-in { padding-bottom: 12px; flex-wrap: nowrap; }
  .mnav { display: block; position: relative; }
  .mnav summary { list-style: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid #f0cfdc; display: grid; place-items: center; color: var(--wine); cursor: pointer; }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav[open] summary { background: #fbe4ec; }
  .mnav nav { position: absolute; right: 0; top: 54px; width: min(320px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: 0 20px 40px rgba(94, 10, 32, .2); display: flex; flex-direction: column; z-index: 20; }
  .mnav nav a:not(.btn) { display: flex; align-items: center; min-height: 46px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .mnav nav a[aria-current] { background: #fbe4ec; color: var(--wine); }
  .mnav nav .btn { margin-top: 8px; }
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col, .foot-in { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; background: linear-gradient(180deg, rgba(61, 7, 22, .1) 0%, rgba(61, 7, 22, .55) 45%, rgba(61, 7, 22, .95) 100%), linear-gradient(rgba(139, 18, 56, .2), rgba(139, 18, 56, .2)), url('hero.webp') 60% 0 / cover no-repeat, var(--wine-4); }
  .hero .hero-in { padding-top: 230px; padding-bottom: 32px; }
  .round dl { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .topbar-contact { gap: 0 14px; }
  .hide-sm { display: none !important; }
  .head-in { gap: 8px; }
  .topbar-contact { display: none; }
  .topbar-in { justify-content: flex-end; }
  .brand { flex: 1 1 auto; min-width: 0; gap: 10px; }
  .brand img { width: 46px; height: 46px; }
  .brand b { font-size: 17px; }
  .brand small { display: none; }
  .head-cta { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16.5px; }
  .hero-cta .btn { width: 100%; }
  .sec { padding-top: 36px; }
  .h-line { font-size: 22px; }
  .wash { padding-bottom: 36px; }
  .services { gap: 10px; }
  .service { padding: 16px 8px 14px; align-items: center; text-align: center; gap: 8px; }
  .service b { font-size: 14.5px; }
  .service span:last-child { display: none; }
  .ic-badge { width: 42px; height: 42px; }
  .band { padding: 26px 20px; gap: 20px; border-radius: 22px; }
  .band h2 { font-size: 24px; }
  .band-mark { width: 240px; height: 240px; right: -70px; }
  .stats { gap: 8px; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
  .stat { padding: 12px 6px; }
  .stat b { font-size: 24px; }
  .stat span { font-size: 12.5px; }
  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .news-card { flex-direction: row; }
  .news-card .thumb { width: 104px; height: auto; min-height: 96px; flex: none; }
  .news-card-body { padding: 12px 14px; }
  .news-card b { font-size: 15.5px; }
  .news-card .sum { display: none; }
  .card { padding: 20px; border-radius: 18px; }
  .page-hero { padding: 36px 0; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 16px; }
  .steps, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .albums { gap: 10px; }
  .album-img { height: 120px; }
  .search { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .topbar, .site-head, .glow-line, .site-foot, .mnav { display: none !important; } body { background: #fff; } }

/* บุคลากร */
.narrow-in { max-width: 820px; margin: 0 auto 36px; }
.staff-group { margin-top: 36px; }
.staff-group:first-child { margin-top: 0; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 20px; margin-top: 18px; }
.person { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 24px rgba(139, 18, 56, .07); text-align: center; }
.person img, .person-ph { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: radial-gradient(circle at 50% 35%, #fff6f0, #f3dfe3); }
.person-ph { display: grid; place-items: center; color: #9c1640; }
.person figcaption { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.person b { font-family: var(--head); font-size: 15.5px; line-height: 1.45; }
.person small { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 640px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .person b { font-size: 14.5px; } }
