/* =========================================
   OFFERWALL SECTION
   SAME DESIGN AS FEATURE CARDS
========================================= */

#offerwalls {
    padding: 35px 0;
    background: #f7fbf8;
}

#offerwalls .offer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
    margin-top: 22px;
}

#offerwalls .offer-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 210px;
    padding: 25px 19px;
    background: #fff;
    border: 1px solid #dceee3;
    border-radius: 17px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(6, 77, 48, .055);
    overflow: hidden;
    transition: transform .25s ease,
                box-shadow .25s ease,
                border-color .25s ease;
}

#offerwalls .offer-box::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #159957, #B42332);
    transition: .3s ease;
}

#offerwalls .offer-box:hover {
    transform: translateY(-5px);
    border-color: #a8dec0;
    box-shadow: 0 12px 28px rgba(6, 77, 48, .11);
}

#offerwalls .offer-box:hover::after {
    width: 100%;
}

/* OFFERWALL LOGO */

#offerwalls .offer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 58px;
    margin-bottom: 12px;
}

#offerwalls .offer-logo img {
    display: block;
    max-width: 155px;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* TITLE */

#offerwalls .offer-box h4 {
    color: #183b2c;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.35;
    margin: 5px 0 9px;
}

/* DESCRIPTION */

#offerwalls .offer-box p {
    color: #607568;
    font-size: 13.5px;
    line-height: 1.7;
    margin: 0;
}

/* EMPTY MESSAGE */

#offerwalls .offer-empty {
    padding: 35px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #dceee3;
    border-radius: 15px;
    color: #607568;
}

#offerwalls .offer-empty i {
    font-size: 32px;
    color: #159957;
}


/* TABLET */
@media (max-width: 991px) {
    #offerwalls .offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* MOBILE */
@media (max-width: 576px) {
    #offerwalls {
        padding: 25px 0;
    }

    #offerwalls .offer-box {
        min-height: 190px;
        padding: 19px 12px;
    }

    #offerwalls .offer-logo {
        height: 58px;
    }

    #offerwalls .offer-logo img {
        max-width: 125px;
        max-height: 50px;
    }

    #offerwalls .offer-box h4 {
        font-size: 15px;
    }

    #offerwalls .offer-box p {
        font-size: 12px;
    }
}

/* SMALL MOBILE - ALWAYS 2 CARDS */
@media (max-width: 380px) {
    #offerwalls .offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    #offerwalls .offer-box {
        min-height: 180px;
        padding: 15px 8px;
    }

    #offerwalls .offer-logo img {
        max-width: 100%;
        max-height: 45px;
    }

    #offerwalls .offer-box h4 {
        font-size: 14px;
    }

    #offerwalls .offer-box p {
        font-size: 11px;
        line-height: 1.5;
    }
}
@media (max-width: 576px) {
    #offerwalls .offer-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    #offerwalls .offer-box {
        width: 100%;
        min-width: 0;
        padding: 14px 8px;
        box-sizing: border-box;
    }
}