/*
 * Styles for the Main Site Footer
 * VERSION 2.1: Cleaned & Optimized for Cache Compatibility.
 */

.site-footer {
    background-color: var(--py-secondary-color);
    color: #e2e8f0;
    padding: 50px 0 20px;
    margin-top: 40px;
}

.footer-widgets {
    display: grid;
    /* Adjusted minmax for better mobile responsiveness */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #2d3748;
    padding-bottom: 30px;
}

/* Styling for default widgets inside the footer */
.footer-widget-area .widget {
    margin-bottom: 20px;
}

.footer-widget-area .widget-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--py-primary-color);
    padding-bottom: 8px;
    display: inline-block;
}

.footer-widget-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-area ul li {
    margin-bottom: 10px;
}

.footer-widget-area ul li a {
    color: #a0aec0;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-widget-area ul li a:hover {
    color: #fff;
}

.site-info {
    text-align: center;
    font-size: 14px;
    color: #a0aec0;
}

.site-info p {
    margin: 5px 0;
}

.site-info .footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.site-info .footer-links a {
    color: #a0aec0;
    text-decoration: none;
}

.site-info .footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}