@media only screen and (max-width: 1024px) {
    .food-bg {
        margin-top: 20px;
    }

    .food-bg {
        padding: 10px;
        flex-direction: column-reverse;
    }

    .food-bg .text-group,
    .food-bg .image-group {
        text-align: center;
        margin-top: 0 !important;
    }

    .food-bg .text-group h4 {
        font-size: 14px;
    }

    .food-bg .text-group h3 {
        font-size: 16px;
    }

    .food-bg .image-group img {
        width: 60px;
    }

    .main-content .owl-prev {
        top: 22% !important;
        left: 20px;
        transform: translate(-40%, 0);
        position: absolute;
        color: var(--bs-secondary);
        background-color: var(--bs-primary);
    }

    .main-content .owl-next {
        top: 22% !important;
        right: -15px;
        transform: translate(-40%, 0);
        position: absolute;
        color: var(--bs-secondary);
    }
}


@media only screen and (max-width: 768px) {
    .food-bg {
        margin-top: 10px;
    }

    .franchise .text-group {
        padding-top: 0;
    }

    .franchise .text-group {
        padding-bottom: 10px;
    }

    .post-img-group {
        height: 250px !important;
    }

    .popular-post {
        margin-bottom: 20px;
    }

    .related-post-title {
        font-size: 16px;
    }

    .text-discover {
        font-size: 40px !important;
    }

}

@media only screen and (min-width: 425px) {
    .search-food-mobile {
        display: none !important;
    }

}

@media only screen and (max-width: 425px) {
    .food-bg {
        padding: 10px;
        flex-direction: column-reverse;
    }

    .food-bg .text-group,
    .food-bg .image-group {
        text-align: center;
        margin-top: 0 !important;
    }

    .food-bg .text-group h4 {
        font-size: 14px;
    }

    .food-bg .text-group h3 {
        font-size: 16px;
    }

    .food-bg .image-group img {
        width: 60px;
    }

    .post-img-group {
        height: 220px !important;
    }

    .popular-post {
        margin-bottom: 20px;
    }

    .swiper-slide {
        min-height: 50vh !important;
    }

    .swiper-button-prev {
        left: 65px !important;
        top: 55% !important;
        transform: translate(-55%, 0);
        position: absolute;
    }

    .swiper-button-next {
        top: 55% !important;
        right: 40px !important;
        transform: translate(-55%, 0);
        position: absolute;
    }

    .search {
        display: none;
    }

    .food-discover-text {
        font-size: 40px !important;
    }

    .text-discover {
        font-size: 18px !important;
    }

}

@media only screen and (max-width: 320px) {

    .post-img-group {
        height: 155px !important;
    }

    .popular-post {
        margin-bottom: 20px;
    }

    .food-discover-text {
        font-size: 40px !important;
    }
}
