/* =========================================================
   Site Footer — News Portal Style
   ========================================================= */
:root {
    --footer-navy: #0c3a63;
    --footer-blue: #14588f;
    --footer-yellow: #f4c430;
    --footer-pink: #e6417a;
    --footer-white: #ffffff;
    --footer-gray: #b9c8d6;
}

* {
    box-sizing: border-box;
}
/* =========================================================
   Main Footer
   ========================================================= */
.site-footer {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    font-family: 'Poppins', 'Noto Sans Telugu', sans-serif;
}
/* =========================================================
   Top Block
   ========================================================= */
.footer-top {
    background: var(--footer-navy);
    padding: 14px 16px;
}
.footer-top-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
/* Logo */
.footer-logo {
    flex-shrink: 0;
    display: flex;
    align-items: baseline;
    gap: 2px;
    text-decoration: none;
}
.footer-logo .logo-main {
    font-family: 'Noto Sans Telugu', 'Playfair Display', serif;
    font-weight: 800;
    font-size: 30px;
    color: var(--footer-white);
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

.footer-logo .logo-suffix {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--footer-yellow);
    align-self: flex-end;
    margin-bottom: 4px;
}

/* =========================================================
   Footer Links
   ========================================================= */

.footer-center {
    flex: 1;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links li:not(:last-child)::after {
    content: '|';
    color: var(--footer-gray);
    margin-left: 10px;
}

.footer-links a {
    color: var(--footer-white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--footer-yellow);
}

/* =========================================================
   Bottom Block
   ========================================================= */

.footer-bottom {
    background: var(--footer-blue);
    padding: 10px 16px;
}

.footer-bottom-inner {
    position: relative;
    max-width: 1300px;
    min-height: 30px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   Copyright
   ========================================================= */

.footer-copyright {
    width: 100%;
    text-align: center;
    color: var(--footer-white);
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================================
   Footer Icons
   ========================================================= */

.footer-meta-icons {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ABC Badge */
.footer-abc-badge {
    background: var(--footer-navy);
    color: var(--footer-white);
    font-size: 10px;
    font-weight: 800;
    border-radius: 3px;
    padding: 3px 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Theme Toggle */
.footer-theme-toggle {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--footer-yellow);
    color: var(--footer-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.footer-theme-toggle:hover {
    opacity: 0.9;
}

/* Back To Top */

.footer-totop {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: var(--footer-pink);
    color: var(--footer-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}
.footer-totop:hover {
    opacity: 0.9;
    color: var(--footer-white);
}

/* =========================================================
   Responsive — Tablet
   ========================================================= */

@media (max-width: 991px) {
    .footer-top-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .footer-center {
        width: 100%;
    }
    .footer-bottom-inner {
        padding-right: 0;
    }
    .footer-meta-icons {
        position: static;
        transform: none;
        margin-left: auto;
    }
    .footer-bottom-inner {
        justify-content: space-between;
    }
    .footer-copyright {
        text-align: center;
    }
}

/* =========================================================
   Responsive — Mobile
   ========================================================= */

@media (max-width: 600px) {
    .footer-top {
        padding: 12px 10px;
    }
    .footer-logo .logo-main {
        font-size: 26px;
    }
    .footer-links {
        gap: 4px 8px;
    }
    .footer-links a {
        font-size: 11px;
    }
    .footer-links li:not(:last-child)::after {
        margin-left: 8px;
    }
    .footer-bottom {
        padding: 10px;
    }
    .footer-bottom-inner {
        min-height: auto;
        flex-direction: column;
        gap: 8px;
        padding: 0;
    }

    .footer-copyright {
        font-size: 11px;
        line-height: 1.6;
        text-align: center;
    }

    .footer-meta-icons {
        position: static;
        transform: none;
        margin: 0 auto;
    }
}
