    /* PageSpeed CLS fix: the ~54 Thai location links re-wrap when Sarabun swaps in
       (font-display:swap) → the whole footer container shifts (~0.33 CLS). Metric-matched
       fallback so they don't reflow. @font-face is self-contained here so main-footer works
       on any sandbox page. Scoped to the footer — shared style.css untouched. */
    @font-face {
        font-family: "Sarabun-fallback";
        src: local("Arial");
        size-adjust: 108%;
        ascent-override: 96%;
        descent-override: 24%;
        line-gap-override: 0%;
    }

    .footer_widget,
    .footer_link .link li a {
        font-family: "Sarabun", "Sarabun-fallback", sans-serif;
    }

    /* Reserve the mobile telegram nav icon's box so async FontAwesome swap-in doesn't
       shift the nav (flagged in the CLS report). Scoped rule — nav.blade.php untouched. */
    .navtel .fa-telegram,
    a[aria-label="Join fiwfan on telegram"] .fa-telegram {
        display: inline-block;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
    }

    .footer_area .footer_copyright {
        background: #030712;
        color: #B3B7C2;
    }

    .footer_area .footer_copyright a {
        color: #fff;
        text-decoration: none;
        transition: color .15s ease;
    }

    .footer_area .footer_copyright a:hover {
        color: #e1306c;
        text-decoration: none;
    }

    .footer_disclaimer {
        font-size: 12px;
        line-height: 1.6;
        color: #B3B7C2;
        margin: 0 0 28px;
        max-width: 1100px;
    }

    .footer_grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 28px 32px;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer_col_title {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: #fff;
        margin: 0 0 14px;
    }

    .footer_links_list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer_links_list li {
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.5;
    }

    .footer_links_list li:last-child {
        margin-bottom: 0;
    }

    .footer_links_list a,
    .footer_links_list button {
        color: #B3B7C2;
        background: none;
        border: 0;
        padding: 0;
        font: inherit;
        text-align: left;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: color .15s ease;
    }

    .footer_links_list a:hover,
    .footer_links_list button:hover {
        color: #fff;
    }

    .footer_links_list .stop-trafficking-icon {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .footer_bottom_bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
        padding-top: 20px;
    }

    .footer_social_links {
        display: flex;
        align-items: center;
        gap: 10px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer_social_links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        transition: transform .2s ease, background .2s ease, color .2s ease;
        text-decoration: none;
    }

    .footer_social_links a:hover {
        transform: translateY(-2px);
        color: #fff;
    }

    .footer_social_links a.tiktok:hover    { background: #000; }
    .footer_social_links a.youtube:hover   { background: #ff0000; }
    .footer_social_links a.instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
    .footer_social_links a.x:hover         { background: #000; }

    .footer_social_links svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

    .footer_copyright_text {
        color: #B3B7C2;
        margin: 0;
        font-size: 13px;
    }

    @media (max-width: 991px) {
        .footer_grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 24px;
        }
    }

    @media (max-width: 575px) {
        .footer_area .footer_copyright {
            padding-left: 4px;
            padding-right: 4px;
        }
        .footer_grid {
            grid-template-columns: 1fr;
            gap: 22px;
        }
        .footer_bottom_bar {
            justify-content: center;
            flex-direction: column-reverse;
            gap: 14px;
            text-align: center;
        }
        .footer_disclaimer {
            font-size: 11.5px;
        }
    }
