.site-footer__link,
.site-footer__legal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.site-footer__link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1rem;
    width: 1rem;
    height: 1rem;
    color: #ff1117;
}

.site-footer__link-icon svg {
    width: 100%;
    height: 100%;
}

.site-footer__link-icon img,
.menu-link__icon img,
.news-home__mobile-nav-icon img,
.home-sidebar__quick-link-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.site-footer__link-icon--legal {
    width: 0.95rem;
    height: 0.95rem;
}

.tejpal-menu-icon-image {
    object-fit: contain;
}

.home-sidebar__quick-links-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-sidebar__quick-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 0.9rem;
    width: 0.9rem;
    height: 0.9rem;
}

.home-sidebar__quick-link-icon svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .news-home__mobile-nav {
        display: block;
        padding: 0.4rem 0.6rem calc(0.4rem + env(safe-area-inset-bottom));
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .news-home__mobile-nav::-webkit-scrollbar {
        display: none;
    }

    .news-home__mobile-nav-track {
        display: flex;
        align-items: stretch;
        justify-content: space-evenly;
        gap: 0;
        width: 100%;
        min-width: 100%;
    }

    .news-home__mobile-nav-link {
        display: grid;
        align-items: center;
        justify-items: center;
        gap: 0.15rem;
        flex: 1 1 0;
        min-width: 0;
        min-height: 3rem;
        padding: 0.05rem 0.3rem;
        border-radius: 14px;
        transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    }

    .news-home__mobile-nav-link:hover,
    .news-home__mobile-nav-link:focus-visible {
        color: #ff1117;
        background: transparent;
        outline: none;
        transform: translateY(-1px);
    }

    .news-home__mobile-nav-link.is-current {
        color: #ff1117 !important;
        background: transparent;
    }

    .news-home__mobile-nav-icon,
    .news-home__mobile-nav-icon svg {
        width: 1.15rem;
        height: 1.15rem;
    }

    .news-home__mobile-nav-label {
        display: block;
        white-space: nowrap;
        font-size: 0.65rem;
        line-height: 1.1;
    }

    .news-home__mobile-nav-link.is-current .news-home__mobile-nav-icon,
    .news-home__mobile-nav-link.is-current .news-home__mobile-nav-icon svg {
        color: #ff1117;
    }

    .news-home__mobile-nav-link.is-current .news-home__mobile-nav-icon img {
        filter: brightness(0) saturate(100%) invert(18%) sepia(94%) saturate(7485%) hue-rotate(354deg) brightness(96%) contrast(118%);
    }
}
