/**
 * Footer Styles
 */

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
    background: var(--lh-secondary);
    color: var(--lh-white);
}

/* ==========================================================================
   Footer Main
   ========================================================================== */
.footer-main {
    padding: var(--lh-spacing-xxl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--lh-spacing-xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ==========================================================================
   Footer About
   ========================================================================== */
.footer-about {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: var(--lh-spacing-md);
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-family: var(--lh-font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--lh-spacing-md);
    color: var(--lh-white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--lh-spacing-lg);
    line-height: 1.7;
}

.footer-about .social-links {
    margin-top: var(--lh-spacing-md);
}

/* ==========================================================================
   Footer Columns
   ========================================================================== */
.footer-column {
    /* Widget styles */
}

.footer-column .widget-title {
    font-family: var(--lh-font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--lh-spacing-md);
    color: var(--lh-white);
}

.footer-column .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column .widget ul li {
    margin-bottom: var(--lh-spacing-sm);
}

.footer-column .widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--lh-transition-fast);
}

.footer-column .widget ul li a:hover {
    color: var(--lh-accent);
}

/* Contact Widget */
.footer-column .contact-info {
    gap: var(--lh-spacing-md);
}

.footer-column .contact-item {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column .contact-item .icon {
    color: var(--lh-accent);
}

.footer-column .contact-item a:hover {
    color: var(--lh-accent);
}

/* CTA Widget */
.footer-column .widget-cta-box {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--lh-spacing-lg);
    border-radius: var(--lh-radius-md);
}

.footer-column .cta-title {
    color: var(--lh-white);
    margin-bottom: var(--lh-spacing-sm);
}

.footer-column .cta-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--lh-spacing-md);
}

/* ==========================================================================
   Footer Bottom
   ========================================================================== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--lh-spacing-lg) 0;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--lh-spacing-md);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ==========================================================================
   Footer Navigation
   ========================================================================== */
.footer-nav .footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--lh-spacing-md);
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .footer-nav .footer-menu {
        gap: var(--lh-spacing-lg);
    }
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    transition: color var(--lh-transition-fast);
}

.footer-menu li a:hover {
    color: var(--lh-white);
}

/* ==========================================================================
   Recent Posts Widget
   ========================================================================== */
.recent-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-post-item {
    display: flex;
    gap: var(--lh-spacing-sm);
    margin-bottom: var(--lh-spacing-md);
    padding-bottom: var(--lh-spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--lh-radius-sm);
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content {
    flex: 1;
    min-width: 0;
}

.recent-post-title {
    display: block;
    color: var(--lh-white);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recent-post-title:hover {
    color: var(--lh-accent);
}

.recent-post-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}
