/* ═══════════════════════════════════════════════════════════
   footer.css — الفوتر الموحّد لكل صفحات الموقع (ألعاب تحدي)
   يُحمَّل عالمياً بلا شرط شورت كود — راجع tahadi_footer_assets()
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   Footer — ألعاب تحدي
   ═══════════════════════════════════════════════════════════ */
.th-site-footer {
    background: #0d1020;
    border-top: 1px solid #1E2233;
    padding: 20px 24px;
    font-family: 'Almarai', sans-serif;
    direction: rtl;
}
.th-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

/* الشعار */
.th-footer-logo a { display: block; text-decoration: none; }
.th-footer-logo-img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(1.05);
}

/* الروابط */
.th-footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.th-footer-links a {
    color: #8892A4;
    text-decoration: none;
    font-size: .8rem;
    transition: color .2s;
}
.th-footer-links a:hover { color: #C8943A; }
.th-footer-sep { color: #1E2233; font-size: .8rem; }

/* الأسفل */
.th-footer-bottom {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.th-footer-copy {
    font-size: .75rem;
    color: #4B5563;
    white-space: nowrap;
}
.th-footer-social {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Mobie */
@media (max-width: 768px) {
    .th-footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .th-footer-links { justify-content: center; }
    .th-footer-bottom { justify-content: center; flex-direction: column; gap: 8px; }
    .th-footer-copy { white-space: normal; text-align: center; }
}

/* إخفاء فوتر Astra الافتراضي عالمياً — فوترنا المخصص أعلاه هو الوحيد الذي يجب أن يظهر */
footer.site-footer,
#colophon {
    display: none !important;
}
