/*
 * SHARED FOOTER STYLES - SINGLE SOURCE OF TRUTH
 * Extracted from index.html as the reference implementation
 * Used across: index.html, blog.html, and all blog articles
 */

/* Link styles for footer */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer styles */
.footer {
    background: linear-gradient(to bottom, #f5f5f5 0%, #ffffff 100%);
    font-family: 'Roboto', sans-serif; /* Force Roboto font for entire footer */
}

.footer-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem;
    padding-top: 1.5rem;
    text-align: left;
}

.footer-content-last {
    max-width: 100%;
    margin-top: 10rem;
    padding: 1rem 2rem;
    min-height: 50px;
}

.footer-content-last .flex {
    display: flex;
    align-items: center; /* Optional: vertically center the items */
    justify-content: space-between;
}

.footer-content .flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-content-last .flex .logo {
    height: 1.6rem;
    margin-right: 0.75rem;
}

.footer-content .flex .logo span {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
}

.footer-content .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.footer-content .grid .col {
    margin-bottom: 1.5rem;
}

.footer-content .grid .col h2 {
    font-family: 'Roboto', sans-serif; /* Using Roboto font */
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #374151;
}

.footer-content .grid .col ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.footer-content .grid .col ul li {
    margin-bottom: 0.75rem;
}

.footer-content .grid .col ul li a {
    color: #6b7280;
}

.footer-content .grid .col ul li a:hover {
    color: #4b5563;
}

.footer-content hr {
    margin: 2rem auto;
    border: 1px solid #d1d5db;
}

.footer-content-last .copyright {
    font-size: 0.875rem;
    color: #6b7280;
}

.footer-content .social-links {
    display: flex;
    margin-top: 1rem;
}

.footer-content .social-links a {
    color: #6b7280;
    margin-right: 0.75rem;
}

.footer-content .social-links a:hover {
    color: #4b5563;
}

.footer-content .social-links svg {
    width: 1rem;
    height: 1rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .footer-content .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content-last {
        max-width: 100%;
        margin-top: 3rem;
        padding: 1rem 2rem;
    }

    .footer-content-last .copyright {
        font-size: 0.9rem;
        color: #6b7280;
    }

    .footer-content-last .flex .logo {
        height: 1.3rem;
    }
}