/* ==========================================================================
   Pojoknegeri – FOOTER & MOBILE APP BOTTOM BAR
   Matches Concept References:
   - singlepost-pc.png & beranda-pc.png
   - beranda-mobile.png
   ========================================================================== */

/* ─── 1. SITE FOOTER (Enterprise Dark Navy Concept) ─── */
.diksi-footer {
    background: #0f1c24 !important;
    color: #c8d8e2 !important;
    padding: 48px 0 36px !important;
    font-size: 13.5px;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    position: relative;
    z-index: 50;
    margin-top: 0;
}

.diksi-footer .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

.diksi-footer-grid {
    display: grid !important;
    grid-template-columns: 280px 130px 210px 160px minmax(180px, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
    border: 0 !important;
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.diksi-footer-brand {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.diksi-footer-brand img {
    max-width: 160px !important;
    height: auto !important;
    display: block;
}

.diksi-footer-desc {
    font-size: 11.5px !important;
    line-height: 1.6 !important;
    color: #9ab0bc !important;
    margin: 0 !important;
}

.diksi-footer-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 16px !important;
    letter-spacing: .2px !important;
    text-transform: none !important;
}

.diksi-footer-nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.diksi-footer-nav a {
    font-size: 12px !important;
    color: #9ab0bc !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.diksi-footer-nav a:hover {
    color: #ffffff !important;
}

.diksi-footer-split-wrap {
    display: flex !important;
    gap: 20px !important;
}

.diksi-footer-social-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.diksi-footer-social-icons {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
    flex-wrap: wrap !important;
}

.diksi-footer-social-icons a {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.diksi-footer-social-icons a:hover {
    background: #FF3B30 !important;
    border-color: #FF3B30 !important;
    transform: translateY(-1px);
}

.diksi-footer-copyright-text p {
    font-size: 11px !important;
    color: #7f95a3 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.diksi-footer-bottom {
    display: none !important;
    border: 0 !important;
}

/* ─── 2. MOBILE BOTTOM APP BAR (beranda-mobile.png) ─── */
.diksi-mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid #EAEAE6;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

.diksi-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #4B5563;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 8px;
    transition: color 0.15s ease;
}

.diksi-tab-icon-wrap {
    width: 56px;
    height: 30px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    transition: all 0.15s ease;
}

.diksi-tab-item.active .diksi-tab-icon-wrap {
    background: #FEE2E2;
    color: #E31E25;
}

.diksi-tab-item.active,
.diksi-tab-item.active span {
    color: #E31E25;
    font-weight: 700;
}

/* ─── 3. Responsive Rules ─── */
@media (max-width: 900px) {
    .diksi-footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px 16px !important;
    }
    .diksi-footer-brand {
        grid-column: 1 / -1 !important;
    }
    .diksi-footer-social-col {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 768px) {
    .diksi-footer {
        margin: 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .diksi-footer .container {
        padding: 28px 20px 84px !important;
        max-width: 100% !important;
    }

    .diksi-footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 16px !important;
    }

    .diksi-footer-brand {
        grid-column: 1 / -1 !important;
    }

    .diksi-footer-social-col {
        grid-column: 1 / -1 !important;
    }

    .diksi-mobile-bottom-bar {
        display: flex;
    }
}

