#main-footer {
    background-color: #f8f8f8; /* Very light grey background */
    padding: 60px 0 20px 0;
    color: #333;
    font-size: 0.95rem;
    background-image: url('../images/background/footer-bg.jpg'); /* Placeholder background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Needed for potential overlays */
}

#main-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

#main-footer .footer-col h3 {
    font-size: 1.5rem;
    color: #db4242; /* Accent red color */
    font-weight: bold;
    margin-bottom: 20px;
}

#main-footer .footer-col p {
    line-height: 1.6;
    margin-bottom: 15px;
}

#main-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#main-footer .footer-col ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

#main-footer .footer-col ul li img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    margin-top: 2px; /* Align icon with text */
    flex-shrink: 0;
}

#main-footer .footer-col ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

#main-footer .footer-col ul li a:hover {
    color: #db4242; /* Accent red on hover */
}

/* Recent Posts */
.recent-post-item {
    display: flex;
    align-items: flex-start; /* Align content to the top */
    margin-bottom: 20px;
}

.post-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
    flex-shrink: 0;
}

.post-info {
    display: flex;
    flex-direction: column;
}

.post-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.post-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: 2px; /* Slight margin from date */
}

.post-title a {
    color: #333; /* Dark grey color for the link */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #db4242; /* Accent red on hover */
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    #main-footer .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    #main-footer .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #main-footer .footer-col ul li {
        justify-content: center;
    }

    .recent-post-item {
        justify-content: center;
    }
}
