/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.offers-condition {
    background: #fffac9;
    margin: 0 auto;
    padding: 10px 0;
}

.offers-condition p {
    color: #333;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
}

.offers-condition p a {
    color: #0097d7;
    text-decoration: none;
}

.custom-container {
    max-width: 1350px;
    background-color: #fff;
}


/* Container for offers */
#offer-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5;
}

/* Primary offer banner */
.primary-offer {
    margin-bottom: 20px;
}

.primary-offer__banner img {
    width: 100%;
    border-radius: 10px;
}

/* Grid layout for secondary banners */
.secondary-offers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Individual secondary banner */
.secondary-banner {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.secondary-banner__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.secondary-banner__image:hover img {
    transform: scale(1.05);
}

/* Make sure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Container fluid custom styles */
.container-fluid.custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .secondary-offers {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #offer-home {
        padding: 10px;
    }

    .secondary-offers {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .secondary-banner {
        margin-bottom: 10px;
    }

    .offers-condition p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .offers-condition p {
        font-size: 12px;
    }

    .secondary-banner__image img {
        border-radius: 5px;
    }
}
