.home .componentHero {
    --flag-height: .38rem;
}

.home .componentHero .swiper .swiper-slide {
    display: flex;
    flex-direction: column;
}

.home .componentHero .swiper .swiper-slide .recipe-footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2.125rem 0 2.5rem;
    border-bottom: calc(var(--flag-height) + .001rem) solid var(--white);
    box-sizing: border-box;
}

.home .componentHero .swiper .swiper-slide .recipe-footer:before,
.home .componentHero .swiper .swiper-slide .recipe-footer:after {
    content: '';
    position: absolute;
    width: 33%;
    height: var(--flag-height);
    left: 0;
    bottom: calc(var(--flag-height) * -1);
    background-color: var(--green);
}

.home .componentHero .swiper .swiper-slide .recipe-footer:after {
    left: initial;
    right: 0;
    background-color: var(--red);
}
/* end moving flag */

.home .componentHero .swiper .swiper-slide h3,
.home .componentHero .swiper .swiper-slide p {
    width: 80vw;
    max-width: 25rem;
    margin: 0 auto;
    text-align: center;
}

.home .componentHero .swiper .swiper-slide h3 {
    font-family: "Brygada 1918", serif;
    font-size: 1.875rem;
    line-height: 1;
    margin-bottom: .5rem;
}

.home .componentHero .swiper .swiper-slide .cta {
    --line-height: 1.875rem;
    line-height: var(--line-height);
    border-radius: calc(var(--line-height) / 2);
    padding: 0 1rem;
    font-size: .813rem;
    margin-top: 1rem;
}

.home .componentHero .swiper .swiper-slide a:has(img) {
    order: 2;
}

.home .componentHero .swiper .swiper-slide img {
    max-height: 21.875rem;
    object-fit: cover;
}

@media screen and (min-width: 64rem) {

    :root {
        --swiper-pagination-bottom: 1.5rem;
    }

    .home .componentHero .swiper .swiper-slide {
        flex-direction: row-reverse;
    }

    .home .componentHero .swiper .swiper-slide a:has(img) ,
    .home .componentHero .swiper .swiper-slide .recipe-footer {
        flex: 1;
        width: 50%;
    }

    .home .componentHero .swiper .swiper-slide img {
        max-height: 31.25rem;
        height: 31.25rem;
    }

    .home .componentHero .swiper .swiper-slide .recipe-footer {
        justify-content: center;
    }

    .home .componentHero .swiper .swiper-slide h3,
    .home .componentHero .swiper .swiper-slide p {
        max-width: 22rem;
    }

    .home .componentHero .swiper .swiper-slide p {
        font-size: 1.25rem;
        font-size: 1.375rem;
    }

    .home .componentHero .swiper .swiper-slide h3 {
        font-size: var(--h1-size);
        line-height: var(--h1-line-height);
        margin-bottom: 1rem;
    }

    .home .componentHero .swiper .swiper-slide .cta {
        font-size: 1rem;
        margin-top: 2.25rem;
    }

    .home .componentHero .swiper .swiper-slide .recipe-footer {
        border: none;
    }

    .home .componentHero .swiper .swiper-slide .recipe-footer:before,
    .home .componentHero .swiper .swiper-slide .recipe-footer:after {
        content: initial;
    }

    /* moving flag slider */
    /* .home .componentHero .swiper {
        position: relative;
    }

    .home .componentHero:has(.swiper .swiper-slide) {
        position: relative;
        background-color: var(--white);
    }

    .home .componentHero .swiper-slide {
        border-bottom: calc(var(--flag-height) + .001rem) solid var(--white);
    }

    .home .componentHero .swiper-slide:before,
    .home .componentHero .swiper-slide:after {
        content: '';
        position: absolute;
        width: 33%;
        height: var(--flag-height);
        left: 0;
        bottom: calc(var(--flag-height) * -1);
        background-color: var(--green);
    }

    .home .componentHero .swiper-slide:after {
        left: initial;
        right: 0;
        background-color: var(--red);
    } */
    /* end moving flag slider */

    /* start fixed flag slider */
    .home .componentHero:has(.swiper .swiper-slide) {
        position: relative;
        border-bottom: calc(var(--flag-height) + .001rem) solid var(--white);
    }

    .home .componentHero:has(.swiper .swiper-slide):before,
    .home .componentHero:has(.swiper .swiper-slide):after {
        content: '';
        position: absolute;
        width: 33%;
        height: var(--flag-height);
        left: 0;
        bottom: calc(var(--flag-height) * -1);
        background-color: var(--green);
    }

    .home .componentHero:has(.swiper .swiper-slide):after {
        left: initial;
        right: 0;
        background-color: var(--red);
    }

    .home .componentHero .swiper .swiper-slide{
        gap: 0;
    }
    /* end fixed flag slider */
}