/*
    |--------------------------------------------------------------------------
    | FOOTER BATAM24.COM
    | Compact Sky Blue Navigation
    |--------------------------------------------------------------------------
    */

    #footer {
        --b24-sky: #38bdf8;
        --b24-sky-light: #7ddcff;
        --b24-sky-dark: #159dd1;
        --b24-green: #39c44a;
        --b24-white-soft: rgba(255, 255, 255, 0.72);
        --b24-border: rgba(255, 255, 255, 0.12);
    }

    /*
    |--------------------------------------------------------------------------
    | NAVIGASI HALAMAN
    |--------------------------------------------------------------------------
    */

    #footer .b24-footer-navigation {
        position: relative;
        clear: both;
        margin-top: 30px;
        padding: 25px 0 22px;
        border-top: 1px solid var(--b24-border);
    }

    /* Garis warna logo Batam24 */
    #footer .b24-footer-navigation::before {
        position: absolute;
        top: -2px;
        left: 0;
        width: 190px;
        height: 3px;
        border-radius: 20px;
        background: linear-gradient(
            90deg,
            var(--b24-sky) 0%,
            var(--b24-sky-light) 72%,
            var(--b24-green) 100%
        );
        content: "";
    }

    #footer .b24-navigation-layout {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    /*
    |--------------------------------------------------------------------------
    | JUDUL NAVIGASI
    |--------------------------------------------------------------------------
    */

    #footer .b24-navigation-heading {
        flex: 0 0 190px;
        min-width: 0;
    }

    #footer .b24-navigation-title {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 0 0 5px;
        color: #ffffff;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
        letter-spacing: 0.3px;
        text-transform: uppercase;
    }

    #footer .b24-navigation-title::before {
        display: block;
        flex: 0 0 8px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--b24-sky);
        box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.12);
        content: "";
    }

    #footer .b24-navigation-description {
        margin: 0;
        padding-left: 17px;
        color: rgba(255, 255, 255, 0.48);
        font-size: 11px;
        line-height: 1.55;
    }

    /*
    |--------------------------------------------------------------------------
    | TOMBOL MENU
    |--------------------------------------------------------------------------
    */

    #footer .b24-navigation-list {
        display: flex;
        flex: 1;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        min-width: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #footer .b24-navigation-list li {
        display: block;
        margin: 0;
        padding: 0;
    }

    #footer .b24-navigation-link {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 8px 14px;
        overflow: hidden;
        color: rgba(255, 255, 255, 0.78) !important;
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid rgba(255, 255, 255, 0.11);
        border-radius: 30px;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.3;
        white-space: nowrap;
        text-decoration: none !important;
        transition:
            color 0.22s ease,
            background-color 0.22s ease,
            border-color 0.22s ease,
            transform 0.22s ease,
            box-shadow 0.22s ease;
    }

    #footer .b24-navigation-link:hover,
    #footer .b24-navigation-link:focus {
        color: #06212d !important;
        background: var(--b24-sky);
        border-color: var(--b24-sky);
        text-decoration: none !important;
        transform: translateY(-2px);
        box-shadow: 0 7px 18px rgba(56, 189, 248, 0.18);
    }

    #footer .b24-navigation-link:focus-visible {
        outline: 2px solid var(--b24-sky-light);
        outline-offset: 3px;
    }

    /*
    |--------------------------------------------------------------------------
    | TOMBOL UTAMA
    |--------------------------------------------------------------------------
    | Aktif otomatis jika nama menu:
    | - Pasang Iklan
    | - Kirim Berita
    |--------------------------------------------------------------------------
    */

    #footer .b24-navigation-link.is-featured {
        color: #06212d !important;
        background: var(--b24-sky);
        border-color: var(--b24-sky);
        font-weight: 700;
    }

    #footer .b24-navigation-link.is-featured::after {
        display: inline-block;
        margin-left: 7px;
        font-size: 14px;
        line-height: 1;
        content: "›";
        transition: transform 0.22s ease;
    }

    #footer .b24-navigation-link.is-featured:hover,
    #footer .b24-navigation-link.is-featured:focus {
        background: var(--b24-sky-light);
        border-color: var(--b24-sky-light);
    }

    #footer .b24-navigation-link.is-featured:hover::after,
    #footer .b24-navigation-link.is-featured:focus::after {
        transform: translateX(3px);
    }

    /*
    |--------------------------------------------------------------------------
    | FOOTER BOTTOM
    |--------------------------------------------------------------------------
    */

    #footer .footer-bottom {
        border-top-color: rgba(255, 255, 255, 0.08);
    }

    #footer .b24-footer-identity {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        color: rgba(255, 255, 255, 0.5);
        font-size: 11px;
        line-height: 1.5;
    }

    #footer .b24-footer-identity-dot {
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--b24-sky);
        box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
    }

    /*
    |--------------------------------------------------------------------------
    | TABLET
    |--------------------------------------------------------------------------
    */

    @media screen and (max-width: 991px) {
        #footer .b24-navigation-layout {
            align-items: flex-start;
            flex-direction: column;
            gap: 17px;
        }

        #footer .b24-navigation-heading {
            flex: none;
            width: 100%;
        }

        #footer .b24-navigation-description {
            padding-left: 17px;
        }

        #footer .b24-navigation-list {
            width: 100%;
        }
    }

    /*
    |--------------------------------------------------------------------------
    | MOBILE
    |--------------------------------------------------------------------------
    */

    @media screen and (max-width: 767px) {
        #footer .b24-footer-navigation {
            margin-top: 20px;
            padding-top: 23px;
            padding-bottom: 19px;
        }

        #footer .b24-footer-navigation::before {
            width: 130px;
        }

        #footer .b24-navigation-layout {
            gap: 15px;
        }

        #footer .b24-navigation-title {
            font-size: 14px;
        }

        #footer .b24-navigation-description {
            font-size: 11px;
        }

        /*
         * Menu digeser secara horizontal.
         * Footer tidak menjadi terlalu panjang.
         */
        #footer .b24-navigation-list {
            flex-wrap: nowrap;
            width: calc(100% + 30px);
            margin-right: -15px;
            margin-left: -15px;
            padding-right: 15px;
            padding-bottom: 7px;
            padding-left: 15px;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-behavior: smooth;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }

        #footer .b24-navigation-list::-webkit-scrollbar {
            display: none;
        }

        #footer .b24-navigation-list li {
            flex: 0 0 auto;
        }

        #footer .b24-navigation-link {
            min-height: 37px;
            padding: 8px 14px;
            font-size: 12px;
        }

        #footer .footer-bottom-left,
        #footer .footer-bottom-right {
            float: none;
            width: 100%;
            text-align: center;
        }

        #footer .footer-bottom-right {
            margin-top: 8px;
        }
    }

    /*
    |--------------------------------------------------------------------------
    | AKSESIBILITAS: KURANGI ANIMASI
    |--------------------------------------------------------------------------
    */

    @media (prefers-reduced-motion: reduce) {
        #footer .b24-navigation-link {
            transition: none;
        }
    }
    
    
    /*
|--------------------------------------------------------------------------
| FOOTER - MOST VIEWED POSTS
|--------------------------------------------------------------------------
| Compact 5 artikel
|--------------------------------------------------------------------------
*/

#footer .f-random-list {
    margin: 0;
    padding: 0;
}

#footer .f-random-list li {
    display: table;
    float: none;

    width: 100%;

    margin: 0 0 9px;
    padding: 0;

    min-height: 52px;
}

/*
| Gambar
*/
#footer .f-random-list li .list-left {
    display: table-cell;

    width: 74px !important;
    height: 52px !important;

    vertical-align: top;

    overflow: hidden;

    border-radius: 5px;
}

#footer .f-random-list li .list-left a {
    display: block;

    width: 74px;
    height: 52px;

    overflow: hidden;

    border-radius: 5px;
}

#footer .f-random-list li .list-left img,
#footer .f-random-list li .list-left .img-cover,
#footer .f-random-list li .list-left .img-post {
    display: block !important;

    width: 74px !important;
    height: 52px !important;

    min-width: 74px !important;
    max-width: 74px !important;
    min-height: 52px !important;
    max-height: 52px !important;

    margin: 0 !important;

    object-fit: cover !important;
}

/*
| Judul
*/
#footer .f-random-list li .list-right {
    display: table-cell;

    padding: 0 0 0 10px !important;

    vertical-align: top;
}

#footer .f-random-list li .list-right .title {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    font-weight: 500;
    line-height: 17px !important;

    text-transform: none;
}

#footer .f-random-list li .list-right .title a {
    display: block;

    color: #ccc;

    text-decoration: none;
}

#footer .f-random-list li .list-right .title a:hover {
    color: #fff;
}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media screen and (max-width: 767.98px) {

    #footer .f-random-list li {
        margin-bottom: 8px;

        min-height: 46px;
    }

    #footer .f-random-list li .list-left {
        width: 64px !important;
        height: 46px !important;
    }

    #footer .f-random-list li .list-left a {
        width: 64px;
        height: 46px;
    }

    #footer .f-random-list li .list-left img,
    #footer .f-random-list li .list-left .img-cover,
    #footer .f-random-list li .list-left .img-post {
        width: 64px !important;
        height: 46px !important;

        min-width: 64px !important;
        max-width: 64px !important;

        min-height: 46px !important;
        max-height: 46px !important;
    }

    #footer .f-random-list li .list-right {
        padding-left: 9px !important;
    }

    #footer .f-random-list li .list-right .title {
        font-size: 11.5px !important;
        line-height: 16px !important;
    }
}
    
    
#footer .f-widget-follow ul li .tiktok:hover {
    background-color: #000000;
    color: #ffffff !important;
}

#footer .f-widget-follow ul li .tiktok svg {
    width: 15px;
    height: 15px;
    vertical-align: middle;
}
    
    
/* =========================================================
   BATAM24 - MOBILE FLOATING DONATE
========================================================= */

.b24-mobile-donate-floating {
    display: none;
}


/* MOBILE ONLY */
@media screen and (max-width: 767px) {

    .b24-mobile-donate-floating {
        position: fixed;

        right: 14px;

        /*
         * Dibuat lebih tinggi dari tombol scroll-to-top
         */
        bottom: 65px;

        z-index: 9998;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        padding: 0;

        border: 2px solid #173a5e;
        border-radius: 50%;

        background: #ffffff;

        text-decoration: none !important;

        box-shadow:
            0 4px 14px rgba(0, 0, 0, 0.16);

        transition:
            transform .18s ease,
            background .18s ease,
            box-shadow .18s ease;
    }


    .b24-mobile-donate-floating svg {
        width: 18px;
        height: 18px;

        fill: #173a5e;

        transition: fill .18s ease;
    }


    .b24-mobile-donate-floating:hover,
    .b24-mobile-donate-floating:focus,
    .b24-mobile-donate-floating:active {
        background: #173a5e;

        transform: translateY(-2px);

        box-shadow:
            0 7px 18px rgba(0, 0, 0, 0.20);
    }


    .b24-mobile-donate-floating:hover svg,
    .b24-mobile-donate-floating:focus svg,
    .b24-mobile-donate-floating:active svg {
        fill: #ffffff;
    }

}



