@charset "UTF-8";

/* SPECIAL OFFER BANNER
   Split band under the hero: decorative photo left (desktop only) +
   special-offer cards right. Cards flip to white bg / black text on hover.
   Rules are scoped under .offer-band so nothing bleeds into the .offers
   section or the interior Special Offers page cards. */

.offer-band {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
    background-color: var( --primary-color );
}

.offer-band .offer-media {
    flex: 0 0 43.23%;
    overflow: hidden;
}

.offer-band .offer-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-band .offer-cards {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp( 40px, 4.167vw, 80px ) 40px;
}

.offer-band .offer-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.offer-band .offer-card {
    flex: 1 1 0;
    max-width: 260px;
    min-height: clamp( 96px, 6.25vw, 120px );
    display: flex;
    border: 1px solid rgba( 255, 255, 255, 0.35 );
    border-radius: 5px;
    padding: 12px;
    box-sizing: border-box;
    transition: background-color .3s ease, border-color .3s ease;
}

.offer-band .offer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.offer-band .offer-title {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
    color: var( --white );
    font-family: var( --body-font );
    font-weight: 500;
    font-size: clamp( 16px, 1.146vw, 22px );
    line-height: 1.25;
    transition: color .3s ease;
}

.offer-band .offer-card:hover {
    background-color: var( --white );
    border-color: var( --white );
}

.offer-band .offer-card:hover .offer-title {
    color: var( --black );
}

@media ( max-width: 1024px ) {
    /* No photo from 1024px down — full-width teal band, cards stay in a row */
    .offer-band .offer-media {
        display: none;
    }

    .offer-band .offer-cards {
        width: 100%;
        padding: 48px 30px;
    }
}

@media ( max-width: 767px ) {
    /* Phone — stack the cards */
    .offer-band .offer-list {
        flex-direction: column;
        align-items: center;
        max-width: 480px;
        margin: 0 auto;
        gap: 20px;
    }

    .offer-band .offer-card {
        width: 100%;
        max-width: 100%;
    }
}
