.custom-footer-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.custom-footer-grid .footer-column-wrapper {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 15px;
    box-sizing: border-box;
}

.custom-footer-grid .widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.custom-footer-grid .widget {
    margin-bottom: 30px;
}

/* Responsiveness */
@media (max-width: 991px) {
    .custom-footer-grid .footer-column-wrapper {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .custom-footer-grid .footer-column-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.custom-4-column-footer {
    padding: 60px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.custom-footer-grid .wp-block-social-links {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 10px;
}

.custom-footer-grid .wp-block-social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #004a99; /* Example brand color, can be adjusted */
    border-radius: 50%;
    color: #fff;
    transition: transform 0.3s;
}

.custom-footer-grid .wp-block-social-links li a:hover {
    transform: translateY(-3px);
}

.custom-footer-grid .wp-block-social-links li svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.custom-footer-grid .footer-column-wrapper img {
    max-width: 100%;
    height: auto;
}

.custom-footer-grid h5 {
    color: inherit;
    margin-top: 0;
}
