#insights-footer {
    background-color: #ffffff;
    padding: 20px 0 60px 0;
    color: #333333;
    overflow: hidden;
}

#insights-footer .footer-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
    border-top: 1px solid #e0e0e0;
}

#insights-footer .article-footer {
    margin-top: 0px;
    padding-top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

#insights-footer .share-buttons h5 {
    color: #333333;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

#insights-footer h3 {
    color: #333333;
}

#insights-footer .share-btn {
    display: inline-block;
    background-color: #333333;
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    margin-right: 10px;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

#insights-footer .share-btn:hover {
    background-color: #d00909;
}

#insights-footer .back-to-insights {
    margin-top: 20px;
}

#insights-footer .back-link {
    color: #d00909;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

#insights-footer .back-link:hover {
    color: #333333;
}

#insights-footer .image-text-grid {
    width: 100%;
}

#insights-footer .image-text-grid h4 {
    color: #d00909;
}

#insights-footer .image-text-grid p {
    color: #333333;
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
    #insights-footer {
        padding: 18px 0 50px 0;
    }

    #insights-footer .footer-container {
        max-width: 700px;
        padding: 25px 30px;
    }

    #insights-footer .share-buttons h5 {
        font-size: 15px;
    }

    #insights-footer .share-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    #insights-footer .back-link {
        font-size: 15px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    #insights-footer {
        padding: 15px 0 45px 0;
    }

    #insights-footer .footer-container {
        padding: 20px 15px;
        width: 80%;
    }

    #insights-footer .article-footer {
        flex-direction: column;
        gap: 20px;
    }

    #insights-footer .share-buttons h5 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    #insights-footer .share-btn {
        padding: 8px 14px;
        font-size: 13px;
        margin-right: 8px;
        margin-bottom: 8px;
    }

    #insights-footer .back-link {
        font-size: 15px;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    #insights-footer {
        padding: 12px 0 40px 0;
    }

    #insights-footer .footer-container {
        padding: 15px 10px;
    }

    #insights-footer .share-buttons h5 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    #insights-footer .share-btn {
        padding: 7px 12px;
        font-size: 12px;
        margin-right: 6px;
        margin-bottom: 6px;
    }

    #insights-footer .back-link {
        font-size: 14px;
    }

    #insights-footer .back-to-insights {
        margin-top: 15px;
    }
}
