.elementor-43 .elementor-element.elementor-element-e6a7424{--display:flex;}.elementor-43 .elementor-element.elementor-element-e0b6f62{--display:grid;--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(max-width:1024px){.elementor-43 .elementor-element.elementor-element-e0b6f62{--grid-auto-flow:row;}}@media(max-width:767px){.elementor-43 .elementor-element.elementor-element-e0b6f62{--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;}}/* Start custom CSS for html, class: .elementor-element-bfa30b9 *//* --- สไตล์หลักของ Footer --- */
.custom-site-footer {
    background-color: #ffffff;
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    padding: 40px 20px;
    font-size: 13px;
    line-height: 1.5;
    border-top: 1px solid #e5e5e5;
}

.custom-site-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- การแบ่งคอลัมน์ส่วนบน (Grid Layout) --- */
.custom-site-footer .footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
    padding-bottom: 30px;
}

.custom-site-footer .footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333333;
}

.custom-site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-site-footer .footer-links li {
    margin-bottom: 10px;
}

.custom-site-footer .footer-links a {
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.custom-site-footer .footer-links a:hover {
    color: #0056b3;
}

/* สีลิงก์พิเศษตามรูป */
.custom-site-footer .text-red {
    color: #b32d2e !important; /* สีแดงเข้มตามภาพ */
}

/* --- โซเชียลมีเดียและไอคอน --- */
.custom-site-footer .social-links a {
    display: inline-flex;
    align-items: center;
}

/* ส่วนจำลองไอคอน (สามารถเปลี่ยนเป็น FontAwesome หรือ SVG ของคุณเองได้) */
.custom-site-footer .icon-social {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #888888; 
    border-radius: 3px;
    margin-right: 8px;
}

/* --- ส่วนดาวน์โหลดแอปและ QR Code --- */
.custom-site-footer .app-title {
    margin-top: 25px;
    margin-bottom: 12px;
}

.custom-site-footer .app-download-wrap {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.custom-site-footer .app-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.custom-site-footer .badge-link img {
    display: block;
    width: 110px;
    height: auto;
    border-radius: 4px;
}

.custom-site-footer .qr-code img {
    display: block;
    width: 80px;
    height: 80px;
    border: 1px solid #dddddd;
    padding: 2px;
    background: #fff;
}

/* --- เส้นคั่นกลาง --- */
.custom-site-footer .footer-divider {
    border: 0;
    border-top: 1px solid #ededed;
    margin: 0 0 25px 0;
}

/* --- ส่วนล่าง: ข้อความกฎหมาย (Disclaimer) --- */
.custom-site-footer .footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    font-size: 11px; /* ตัวอักษรขนาดเล็กตามแบบเว็บกฎหมายการเงิน */
    color: #666666;
    line-height: 1.6;
}

.custom-site-footer .footer-legal-col p {
    margin-top: 0;
    margin-bottom: 12px;
}

.custom-site-footer .footer-legal-col a {
    color: #0056b3;
    text-decoration: none;
}

.custom-site-footer .footer-legal-col a:hover {
    text-decoration: underline;
}

.custom-site-footer .copyright {
    color: #333333;
    margin-bottom: 15px !important;
}

/* ข้อความแจ้งเตือนสีน้ำเงินตามภาพ */
.custom-site-footer .text-blue-important {
    color: #0056b3;
    font-weight: 500;
}

/* ================= รองรับหน้าจออุปกรณ์เคลื่อนที่ (Responsive) ================= */
@media (max-width: 991px) {
    .custom-site-footer .footer-top {
        grid-template-columns: repeat(2, 1fr); /* ยุบเหลือ 2 คอลัมน์ในแท็บเล็ต */
    }
    .custom-site-footer .footer-bottom {
        grid-template-columns: 1fr; /* ข้อความกฎหมายเรียงต่อกันเป็นแถวเดียว */
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .custom-site-footer .footer-top {
        grid-template-columns: 1fr; /* ยุบเหลือ 1 คอลัมน์ในมือถือ */
        gap: 25px;
    }
    .custom-site-footer .app-download-wrap {
        flex-direction: row; /* คงความเป็นระเบียบของปุ่มแอปและคิวอาร์โค้ด */
    }
}/* End custom CSS */