/**
 * Site footer — pure CSS (no Tailwind utilities on footer markup).
 * Colors/borders use output.css theme variables when present.
 */

footer.site-footer {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: var(--color-gray-200, #e5e7eb);
    background-color: #ffffff;
    box-sizing: border-box;
    width: 100%;
    color: var(--color-gray-800, #1f2937);
}

footer.site-footer .site-footer__inner {
    max-width: var(--container-7xl, 80rem);
    margin-left: auto;
    margin-right: auto;
    padding: 3.5rem 1rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    footer.site-footer .site-footer__inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    footer.site-footer .site-footer__inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

footer.site-footer .site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    footer.site-footer .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    footer.site-footer .site-footer__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 3rem;
    }
}

footer.site-footer .site-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: inherit;
}

footer.site-footer .site-footer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    line-height: 0;
    flex-shrink: 0;
}

footer.site-footer .site-footer__logo img {
    width: 45px;
    height: auto;
    object-fit: contain;
    display: block;
}

footer.site-footer .site-footer__brand-name {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: var(--color-gray-800, #1f2937);
}

footer.site-footer .site-footer__brand-accent {
    color: #2bc5d4;
}

footer.site-footer .site-footer__about {
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--color-gray-600, #4b5563);
    max-width: 20rem;
    margin: 0;
}

footer.site-footer h4.site-footer__heading {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-800, #1f2937);
    margin: 0 0 1rem;
}

footer.site-footer .site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer.site-footer .site-footer__links li + li {
    margin-top: 0.625rem;
}

footer.site-footer a.site-footer__link {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--color-gray-600, #4b5563);
    text-decoration: none;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

footer.site-footer a.site-footer__link:hover,
footer.site-footer a.site-footer__link:focus-visible {
    color: var(--color-gray-900, #111827);
}

footer.site-footer .site-footer__bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: var(--color-gray-200, #e5e7eb);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 640px) {
    footer.site-footer .site-footer__bottom {
        flex-direction: row;
    }
}

footer.site-footer .site-footer__copy,
footer.site-footer .site-footer__tagline {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--color-gray-500, #6b7280);
    margin: 0;
}

footer.site-footer .site-footer__tagline {
    text-align: center;
}

@media (min-width: 640px) {
    footer.site-footer .site-footer__tagline {
        text-align: right;
    }
}

@media (min-width: 2000px) {
    footer.site-footer .site-footer__inner {
        max-width: 90rem;
    }
}

@media (min-width: 2560px) {
    footer.site-footer .site-footer__inner {
        max-width: 96rem;
    }
}

@media (max-width: 359px) {
    footer.site-footer .site-footer__inner {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    footer.site-footer .site-footer__grid {
        gap: 1.5rem;
    }

    footer.site-footer .site-footer__tagline {
        font-size: 0.6875rem;
        line-height: 1.25rem;
    }
}
