/**
 * Footer Styles - Dailydishy Theme
 * Extracted from footer.php inline styles
 */

.site-footer {
    background: var(--dh-green-light);
    color: var(--dh-text-muted);
    font-family: var(--dh-font-ui);
    margin-top: 0;
    contain: layout style;
}

/* Wave */
.footer-wave {
    display: block;
    line-height: 0;
    margin-bottom: -1px;
    background: var(--dh-white);
}

.footer-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* Body */
.footer-body {
    padding: 52px 0 44px;
}

.footer-inner {
    width: 100%;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Brand */
.footer-logo {
    display: inline-block;
    margin-bottom: 14px;
    text-decoration: none;
    line-height: 1;
}

.footer-logo img,
.footer-logo .custom-logo {
    max-height: 44px !important;
    width: auto !important;
    display: block;
    object-fit: contain;
}

a.custom-logo-link {
    display: block;
    width: 200px;
    max-width: 100%;
}

.footer-logo-text {
    font-family: var(--dh-font-serif-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dh-green);
    line-height: 1;
}

.footer-bio {
    font-size: 0.83rem;
    line-height: 1.75;
    color: var(--dh-text-muted);
    margin: 0;
    max-width: 280px;
}

/* Headings */
.footer-heading {
    font-family: var(--dh-font-serif-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dh-text);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--dh-green-mid);
    position: relative;
    letter-spacing: 0.01em;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--dh-green);
    border-radius: 2px;
}

/* Links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links li a {
    font-size: 0.82rem;
    color: var(--dh-text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--dh-ease), gap var(--dh-ease);
}

.footer-links li a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--dh-green);
    opacity: 0.4;
    flex-shrink: 0;
    transition: opacity var(--dh-ease), transform var(--dh-ease);
}

.footer-links li a:hover {
    color: var(--dh-green);
    gap: 11px;
}

.footer-links li a:hover::before {
    opacity: 1;
    transform: scale(1.4);
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid var(--dh-green-mid);
    background: var(--dh-green-mid);
    padding: 14px 40px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.74rem;
    color: var(--dh-text-muted);
    margin: 0;
}

.footer-copy a {
    color: var(--dh-green);
    text-decoration: none;
    font-weight: 500;
}

.footer-copy a:hover {
    text-decoration: underline;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-links a {
    font-size: 0.74rem;
    color: var(--dh-text-muted);
    text-decoration: none;
    transition: color var(--dh-ease);
}

.footer-bottom-links a:hover {
    color: var(--dh-green);
}

.footer-bottom-links span {
    color: var(--dh-green);
    font-size: 0.8rem;
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px 28px;
        padding: 0 24px;
    }

    .footer-brand {
        grid-column: 1/-1;
    }

    .footer-bio {
        max-width: 100%;
    }

    .footer-bottom {
        padding: 14px 24px;
    }
}

@media (max-width: 520px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 20px;
    }

    .footer-body {
        padding: 36px 0 28px;
    }

    .footer-bottom {
        padding: 12px 20px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
}
