/* Reduce footer link font-size one step smaller for compact layout */
        footer .list-unstyled a,
        footer .list-inline a,
        footer .footer-copyright-bar a,
        footer .ezpagesBarFooter .nav-link,
        footer .icons-social a,
        footer .list-unstyled li a {
            font-size: 0.75rem; /* ~12px */
        }
        @media (max-width: 575px) {
            footer .list-unstyled a,
            footer .list-inline a {
                font-size: 0.6875rem; /* ~11px */
            }
        }

        /* Dark-mode footer readability fix */
        html[data-theme="dark"] .ts-footer,
        .theme-dark .ts-footer {
            background-color: #0f1115 !important;
            color: #e2e7ef !important;
            border-top-color: #2b3240 !important;
        }

        html[data-theme="dark"] .ts-footer .text-dark,
        .theme-dark .ts-footer .text-dark {
            color: #f2f5fa !important;
        }

        html[data-theme="dark"] .ts-footer .text-secondary,
        html[data-theme="dark"] .ts-footer .text-muted,
        .theme-dark .ts-footer .text-secondary,
        .theme-dark .ts-footer .text-muted {
            color: #b8c0cc !important;
        }

        html[data-theme="dark"] .ts-footer a:hover,
        .theme-dark .ts-footer a:hover {
            color: #ffffff !important;
        }

        html[data-theme="dark"] .ts-footer .footer-copyright-bar,
        .theme-dark .ts-footer .footer-copyright-bar {
            color: #d6dde8 !important;
        }

        html[data-theme="dark"] .ts-footer .footer-copyright-bar a,
        .theme-dark .ts-footer .footer-copyright-bar a {
            color: #eaf0f8 !important;
        }

.icons-social { font-size: 28px; }