.af__footer {
    background-color: #111;
    color: #ccc;
    padding: 60px 20px 30px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 22px;
    /* base: 16px -> 22px */
}

.af__footer .af__container {
    max-width: 1200px;
    margin: auto;
}

.af__footer .af__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.af__footer .af__col {
    flex: 1 1 180px;
    min-width: 160px;
}

.af__footer .low-gap {
    flex: 1 1 180px;
    min-width: 160px !important;
    max-width: 180px;
}

/* Search Terms column needs more room to avoid wrapping */
.af__footer .af__col.low-gap:last-of-type {
    min-width: 260px !important;
    max-width: 280px;
    margin-right: 20px;
}

.af__footer .af__logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.af__footer .af__col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 22px;
}

.af__footer .af__col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.af__footer .af__col ul li {
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    list-style: none !important;
}

.af__footer .af__col ul li::before,
.af__footer .af__col ul li::after {
    display: none !important;
    content: none !important;
}

.af__footer .af__col ul li a {
    text-decoration: none !important;
    color: #f9fafb !important;
    transition: color 0.3s;
    font-family: 'Times New Roman', Times, serif !important;
    font-size: 17px !important;
    white-space: nowrap !important;
    display: inline-block !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.af__footer .af__col ul li a:hover {
    color: #0075f2 !important;
}

.af__footer .af__socials {
    margin-top: 30px;
}

.af__footer .af__socials a {
    display: inline-block;
    margin-right: 10px;
    font-size: 22px;
    /* 16px -> 22px */
    color: #ccc;
    transition: color 0.3s;
}

.af__footer .af__socials a:hover {
    color: #0075f2;
}

.af__footer .af__bottom {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 20px;
    /* 14px -> 20px */
    color: #777;
}

/* Mobile Responsive Styles */
@media (max-width: 767px) {
    .af__footer .af__grid {
        justify-content: center;
        gap: 30px;
    }

    .af__footer .af__col {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: center;
    }

    .af__footer .low-gap {
        flex: 1 1 100%;
        max-width: 100% !important;
        min-width: 100% !important;
        margin-right: 0 !important;
    }

    .af__footer .af__col.low-gap:last-of-type {
        min-width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
    }

    .af__footer .af__logo {
        margin: 0 auto 15px;
    }
}