/* ฟอนต์หลัก + ตัวแปรสี */ :root{ --primary:#1a6a11; /* สีหลักเข้ม */ --primary-600:#1f7a15; --primary-100:#e6f5e6; /* พื้นอ่อน */ --ink:#18321c; /* สีตัวอักษร */ --border:#cfe8cf; /* สีเส้นขอบอ่อน */ --card:#ffffff; /* พื้นการ์ด */ } *{box-sizing:border-box} html,body{height:100%} body{ margin:0; min-height:100svh; /* ให้ footer ชิดล่างเสมอ */ display:flex; flex-direction:column; font-family:"Kanit", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color:var(--ink); background:linear-gradient(180deg,#f4faf4, #eef7ef 40%, #eaf4eb); } .container{width:min(1100px,92%);margin-inline:auto} /* HERO */ .hero{ background: radial-gradient(1200px 300px at 50% 0, #dff0e0 0, transparent 60%), linear-gradient(180deg,#e9f6ea,#f7fbf7 60%); border-bottom:1px solid var(--border); } .hero__inner{padding:28px 0} .hero__title{ margin:0; font-weight:700; font-size:clamp(26px,4vw,40px); color:var(--primary); text-shadow:0 1px 0 #fff; } /* MAIN PANEL */ .main{padding:22px 0 40px} .panel{ background:var(--card); border:2px solid var(--border); border-radius:14px; box-shadow:0 10px 24px rgba(0,0,0,.06); overflow:hidden; } .panel__header{ background:linear-gradient(180deg,#f1fbf1,#e7f6e7); border-bottom:1px solid var(--border); padding:18px 22px; } .panel__title{margin:0;font-size:clamp(18px,2.5vw,24px);color:var(--primary-600)} .list{list-style:none;margin:0;padding:0} .row{ display:grid; grid-template-columns: 260px 1fr; gap:16px; align-items:center; padding:14px 18px; border-bottom:1px solid var(--border); } .row:last-child{border-bottom:none} .row__label{ background:var(--primary-100); color:var(--primary); border:1px solid var(--border); border-radius:10px; padding:12px 14px; font-weight:600; text-align:left; } .row__desc{color:#35553a;padding:8px 2px} /* RESPONSIVE */ @media (max-width: 760px){ .row{grid-template-columns:1fr} } /* FOOTER (Sticky to bottom) */ .site-footer{ margin-top:auto; /* ดัน footer ไปชิดล่างเมื่อคอนเทนต์น้อย */ background:var(--primary); color:#fff; } .footer__grid{ display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap:28px; padding:26px 0; } .footer__brand{font-size:18px;font-weight:700;margin-bottom:6px} .footer__title{font-size:16px;font-weight:600;margin-bottom:8px} .footer__text{margin:8px 0 0;line-height:1.6} .footer__text.small{font-size:12px;opacity:.95} .footer__links{list-style:none;padding:0;margin:0} .footer__links li{margin:6px 0} .footer__links a{color:#e8ffea;text-decoration:none} .footer__links a:hover{opacity:.9;text-decoration:underline} .socials{display:flex;gap:10px;margin:8px 0 4px} .socials__btn{ display:inline-flex;align-items:center;justify-content:center; width:38px;height:38px;border-radius:999px; background:#ffffff22;color:#fff;text-decoration:none;font-weight:700; border:1px solid #ffffff33; } .socials__btn:hover{background:#ffffff33} @media (max-width: 900px){ .footer__grid{grid-template-columns:1fr;gap:14px} }