/* Site footer of every Divi page. Markup: build/data/footer.html, put into the pages by build/site-footer.mjs
   (which also stamps ?v=<hash of this file> on the <link>). Self-contained: no Divi or .ibp rules needed.
   The link list carries the top menu's menu-item-N classes, so items hidden in the admin
   "เปิด/ปิดส่วนของหน้าเว็บ" page disappear here too. */
#main-footer.ibs-footer { background: linear-gradient(135deg, #00208a 0%, #00145c 100%); color: rgba(255, 255, 255, .78); font-family: 'Prompt', 'Sarabun', Helvetica, Arial, sans-serif; font-size: 15.5px; line-height: 1.7; }
.ibs-footer, .ibs-footer * { box-sizing: border-box; }
.ibs-footer p { margin: 0; padding: 0; }
.ibs-footer ul { margin: 0; padding: 0; list-style: none; }
.ibs-footer a { text-decoration: none; }
.ibs-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.ibs-footer__main { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; width: min(1120px, 100% - 40px); margin: 0 auto; padding: 56px 0 44px; }
.ibs-footer__logo { display: inline-flex; align-items: center; gap: 14px; color: #fff; font-size: 19px; font-weight: 600; line-height: 1.3; }
.ibs-footer__logo:hover { color: #fff; }
.ibs-footer__logo img { display: block; width: auto; height: 54px; padding: 7px 12px; border-radius: 12px; background: #fff; }
.ibs-footer__about { max-width: 460px; margin-top: 16px !important; color: rgba(255, 255, 255, .78); }
.ibs-footer__h { margin-bottom: 14px !important; font-size: 13.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.ibs-footer li + li { margin-top: 9px; }
.ibs-footer li a { color: rgba(255, 255, 255, .78); transition: color .2s ease; }
.ibs-footer li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ibs-footer__addr { margin-bottom: 16px !important; }
.ibs-footer__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 18px; border: 1.5px solid rgba(255, 255, 255, .65); border-radius: 999px; color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.35; transition: background-color .2s ease, border-color .2s ease; }
.ibs-footer__btn:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
.ibs-footer__btn svg { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ibs-footer__bottom span { display: inline-block; }
.ibs-footer__bottom { padding: 16px 20px; background: rgba(0, 0, 0, .22); font-size: 14px; color: rgba(255, 255, 255, .7); text-align: center; }
@media (max-width: 980px) {
	.ibs-footer__main { grid-template-columns: 1fr 1fr; }
	.ibs-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.ibs-footer__main { grid-template-columns: 1fr; gap: 30px; width: min(1120px, 100% - 32px); padding: 44px 0 36px; }
}
@media (prefers-reduced-motion: reduce) { .ibs-footer * { transition: none !important; } }
