/*pagination section css*/
.pagination-ctn{
    margin-top: 5vw;
}

.pagination-ctn .page-numbers{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    list-style: none;
    text-decoration: none;
    padding-left: 0;
}

.pagination-ctn .page-numbers li a:not(.next):not(.prev){
    color: #ac2f2a;
    border: 1px solid #ac2f2a;
    width: 2vw;
    height: 2vw;
    border-radius: 50%;
    max-width: 30px;
    max-height: 30px;
    font-size: 1vw;
    transition: all 0.3s ease;
}

.pagination-ctn .page-numbers li a:not(.next):not(.prev):hover{
    background: #ac2a2f;
    color: #fff;
}

.pagination-ctn .page-numbers li .current{
    background: #ac2f2a;
    color: #fff;
    border: 1px solid #ac2f2a;
    width: 2vw;
    height: 2vw;
    border-radius: 50%;
    max-width: 30px;
    max-height: 30px;
    font-size: 1vw;
}

.pagination-ctn .page-numbers li img{
    width: 2.5vw;
    max-width: 36px;
    transition: all 0.3s ease;
}

.pagination-ctn .page-numbers li a:hover img{
    transform: scale(1.2);
}

@media(max-width: 768px){
    .pagination-ctn{
        margin-top: 15vw;
        margin-bottom: 10vw;
    }
    .pagination-ctn .page-numbers{
        gap: 2vw;
    }
    .pagination-ctn .page-numbers li .current,
    .pagination-ctn .page-numbers li a:not(.next):not(.prev){
        width: 8vw;
        height: 8vw;
        font-size: 3vw;
    }
    .pagination-ctn .page-numbers li img{
        width: 9vw;
    }
}


/*dropdown list css*/
.dropdown-ctn{
/*    position: absolute;
    top: -100%;
    left: 440%;*/
    width: 20vw;
    
    display: flex;
    align-items: baseline;
    gap: 1vw;
    color: #ac2a2f;
    cursor: pointer;
}

.list-dropdown{
    display: flex;
    align-items: baseline;
    flex-direction: column;
    color: #ac2a2f;
    position: relative;
}
.list-dropdown::after{
    position: absolute;
    content: "";
    background: url('/wp-content/themes/swanson/src/image/down.svg') no-repeat;
    background-size: 100%;
    background-position: center;
    width: 10px;
    height: 10px;
    top: 50%;
    right: 5%;
    transform: translate(-50%, -50%);
}

.dropdown-ctn h5,
.list-dropdown h5{
    margin-bottom: 0;
    font-size: 1vw;
}

.select-box{
    border: 1px solid #ac2a2f;
    width: 13vw;
    padding: 0.1vw 3vw 0.1vw 1vw;
    background: #fff;
    height:2vw;
    display: flex;
    align-items: center;
}

.dropdown-ctn .select{ 
    outline: none;
    border: 1px solid #ac2a2f;
    background: #fff;
    color: #ac2a2f;
    font-size: 1vw;
    width: 13vw;
/*    height: 2vw;*/
    padding: 0.5vw 1vw;
    list-style: none;
    display: none;
    z-index: 12;
    position: absolute;
    margin-top: 2vw;
    border-top: none;
}
.dropdown-ctn .select.show{
    display: block;
}


.dropdown-ctn .select li{
    position: relative;
    margin-bottom: 5px;
    border-bottom: 1px solid #ac2a2f;
    padding: 0.2vw 0;
}

.dropdown-ctn .select li input{
    position: absolute;
    width: 12vw;
    left:50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    cursor: pointer;
    height: 2vw;
}

@media(max-width: 768px){
       .dropdown-ctn{
            width: 65vw;
        }
        .select-box{
            width: 30vw;
            height: 5vw;
        }
        .dropdown-ctn h5, .list-dropdown h5{
            font-size: 2vw;
        }
        .dropdown-ctn .select{
            width: 30vw;
            margin-top: 5vw;
            font-size: 2vw;
        }
        .dropdown-ctn .select li{
            margin-bottom: 8px;
        } 
}

@media(max-width: 390px){
    .dropdown-ctn{
        width: 65vw;
    }
    
    .list-dropdown{
        margin-left: 1vw;
    }
    
    .select-box{
        width: 50vw;
        height: 10vw;
        padding-left: 3vw;
    }
    .dropdown-ctn h5, .list-dropdown h5{
        font-size: 4vw;
    }
    .dropdown-ctn .select{
        width: 50vw;
        margin-top: 10vw;
        font-size: 4vw;
        padding-left: 3vw
    }
    .dropdown-ctn .select li{
        margin-bottom: 5px;
        margin-top: 2px;
    }
}
/*dropdown list css end*/


.breadcrumb-wrapper{
    width: 55vw;
}

.campaign-section{
    padding-left: 0;
    padding-right: 0;
    
    background:url('/wp-content/themes/swanson/src/image/campaign_home_meal_bg.png') no-repeat;
    background-size: 100% 100%;
    background-position: center;
    
    margin-top: 7vw;
}

.campaign-section .banner-wrapper{
    position: relative;
}

.banner-wrapper .section-bg{
    width: 100vw;
}


.banner-wrapper .banner-frame{
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 455px;
    width: 25vw;
}

.recipe-wrapper{
/*    width: 80vw;
    margin: 0 auto;*/
    width: 100vw;
    padding-bottom: 10vw;
    position: relative;
}

.recipe-wrapper .campaign-header-ctn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 75vw;
    margin: 0 auto;
    flex-wrap: wrap;
    border-bottom: 1px solid #ac2a2f;
}

.recipe-container{
/*    display: flex;*/
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8vw 2vw;
    margin: 3vw auto;
    width: 70vw
}

.recipe-container .post-link{
    text-decoration: none;
    margin: 0 auto;
    position: relative;
}
.recipe-container .post-link::before{
    position: absolute;
    content: "";
    background: url('/wp-content/themes/swanson/src/image/campaign_home_meal_recipes_hover.svg') no-repeat;
    background-size: 100%;
    background-position: center;
    width: 3vw;
    max-width: 37px;
    height: 9vw;
    max-height: 98px;
    top: 4%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
}

.recipe-ctn{
    background: url('/wp-content/themes/swanson/src/image/campaign_home_meal_recipe_bg.png') no-repeat;
    background-position: center;
    background-size: 100% 100%;
    max-width: 360px;
    max-height: 360px;
    width: 20vw;
    height: 20vw;
    position: relative;
    text-align: center;
    box-shadow: 12px 12px 10px rgba(0,0,0,0.4);
    z-index: 1;
}

.recipe-ctn::after{
    position: absolute;
    content: "";
    background: url('/wp-content/themes/swanson/src/image/campaign_home_meal_recipe_bg_frame.png') no-repeat;
    background-position: center;
    background-size: 100% 100%;
    width: 80%;
    height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    z-index: -1;
}

.recipe-ctn .recipe-name{
    padding: 4vw 0 0;
    font-size: 1.5vw;
    color: #ac2a2f;
    font-weight: 600;
}

.recipe-ctn .recipe-img{
    max-width: 290px;
    max-height: 168px;
    width: 16vw;
}

.recipe-ctn .product-img-ctn{
    display: flex;
    align-items: center;
    gap: 1vw;
    
    position: absolute;
    top: 60%;
    left: 43%;
    transform: translate(-150%, 10%);
}

.product-img-ctn .product-img{
    width: 5vw;
    max-width: 92px;
}

.easiness-ctn{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4vw;
    width: 16vw;
    margin: 1vw auto 0;
}

.easiness-ctn img{
    width: 1.5vw;
    max-width: 28px;
}

@media(max-width: 768px){
    .breadcrumb-wrapper{
        width: 80vw;
    }
    
    .recipe-wrapper .campaign-header-ctn{
        border-bottom: 0;
    }
    
    .recipe-container{
        grid-template-columns: 1fr 1fr;
        width: 85vw;
    }
    .recipe-ctn{
        width: 35vw;
        height: 35vw;
    }
    .recipe-ctn .recipe-name{
        font-size: 2.5vw;
    }
    .recipe-ctn .recipe-img{
        width: 30vw;
    }
    .product-img-ctn .product-img{
        width: 9vw;
    }
    .easiness-ctn{
        width: 30vw;
    }
    .easiness-ctn img{
        width: 3.5vw;
    }
}

@media(max-width: 420px){
    .breadcrumb-wrapper{
        margin-bottom: 15px;
        border-bottom: 1px solid #ac2a2f;
        padding: 15px 0;
        width: 80vw;
    }
    .campaign-section{
        margin-top: 15vw;
    }
    .campaign-wrapper .recipe-wrapper{
        width: 100vw;
    }
    .recipe-wrapper .campaign-header-ctn{
        margin-bottom: 20vw;
        width: 80vw;
    }
    .recipe-container{
        grid-template-columns: 1fr;
        width: 90vw;
        gap: 10vw;
    }
    .recipe-ctn{
        max-width: 330px;
        max-height: 330px;
        width: 80vw;
        height: 80vw;
        margin-bottom: 10vw;
    }
    .recipe-ctn .recipe-name{
        padding: 12vw 0 0;
        font-size: 6vw;
    }
    .recipe-ctn .recipe-img{
        width: 65vw;
    }
    .recipe-ctn .product-img-ctn{
        top: 55%;
    }
    .product-img-ctn .product-img{
        width: 22vw;
    }
    .easiness-ctn{
        width: 68vw;
        margin: 4vw auto 0;
        gap: 1.5vw;
    }
    .easiness-ctn img{
        width: 7.5vw
    }
    .recipe-container .post-link::before{
        max-width: 34px;
        max-height: 90px;
        width: 8vw;
        height: 27vw;
        top: 2%;
    }
    
}



/*Frame css and aniamtion*/
.mealFrame{
    position: absolute;
    z-index: 1;
    bottom: 0;
}

.mealFrame.frame1{
    left: 8%;
    top: 7%;
    transform: translate(-50%, -50%);
    max-width: 235px;
    width: 13vw;
    animation: frame1 2s infinite;
}
@keyframes frame1{
    0{
        transform: translate(-50%, -50%) scale(1);
    }
    50%{
        transform: translate(-50%, -50%) scale(1.05);
    }
    100%{
        transform: translate(-50%, -50%) scale(1);
    }
}

.mealFrame.frame2{
    right: -8%;
    top: 6%;
/*    transform: translate(-50%, -50%);*/
    max-width: 290px;
    width: 16vw;
    opacity: 0;
}
.mealFrame.frame2.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame2;
    animation-duration: 1s;
}
@keyframes frame2{
    from{
        transform: translate(-38%, -50%);
    }
    to{
        transform: translate(-50%, -50%)
    }
}

.mealFrame.frame3{
    left: 8%;
    top: 18%;
/*    transform: translate(-50%, -50%);*/
    max-width: 164px;
    width: 9vw;
    opacity: 0;
}
.mealFrame.frame3.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame3;
    animation-duration: 3s;
}
@keyframes frame3{
    from{
        transform: translate(-195%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}

.mealFrame.frame4{
    right: 0%;
    top: 16%;
    transform: translate(-50%, -50%);
    max-width: 135px;
    width: 8vw;
    animation: frame4 2s infinite;
}
@keyframes frame4{
    0%{
        transform: translate(-50%, -50%) scale(1);
    }
    50%{
        transform: translate(-50%, -50%) scale(1.05);
    }
    100%{
       transform: translate(-50%, -50%) scale(1); 
    }
}

.mealFrame.frame5{
    left: 3%;
    top: 33%;
/*    transform: translate(-50%, -50%);*/
    max-width: 140px;
    width: 8vw;
    opacity: 0;
}
.mealFrame.frame5.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame5;
    animation-duration: 1s;
}
@keyframes frame5{
    from{
        transform: translate(-145%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}

.mealFrame.frame6{
    right: 0%;
    top: 27%;
/*    transform: translate(-50%, -50%);*/
    max-width: 183px;
    width: 10vw;
    opacity: 0;
}
.mealFrame.frame6.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame6;
    animation-duration: 2s;
}
@keyframes frame6{
    from{
        transform: translate(95%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}

.mealFrame.frame7{
    right: -8%;
    top: 41%;
/*    transform: translate(-50%, -50%);*/
    max-width: 263px;
    width: 14vw;
    opacity: 0;
}
.mealFrame.frame7.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame7;
    animation-duration: 2s;
}
@keyframes frame7{
    from{
        transform: translate(28%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}

.mealFrame.frame8{
    left: 5%;
    top: 50%;
/*    transform: translate(-50%, -50%);*/
    max-width: 145px;
    width: 8vw;
    opacity: 0;
}
.mealFrame.frame8.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame8;
    animation-duration: 2s;
}
@keyframes frame8{
    from{
        transform: translate(-166%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}


.mealFrame.frame9{
    right: -10%;
    top: 55%;
/*    transform: translate(-50%, -50%);*/
    max-width: 332px;
    width: 18vw;
    opacity: 0;
}
.mealFrame.frame9.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame9;
    animation-duration: 2s;
}
@keyframes frame9{
    from{
        transform: translate(5%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}

.mealFrame.frame10{
    left: 7%;
    top: 68%;
/*    transform: translate(-50%, -50%);*/
    max-width: 281px;
    width: 15vw;
    opacity: 0;
}
.mealFrame.frame10.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame10;
    animation-duration: 3s;
}
@keyframes frame10{
    from{
        transform: translate(-145%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}


.mealFrame.frame11{
    left: 9%;
    top: 78%;
/*    transform: translate(-50%, -50%);*/
    max-width: 363px;
    width: 19vw;
    opacity: 0;
}
.mealFrame.frame11.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame11;
    animation-duration: 3s;
}
@keyframes frame11{
    from{
        transform: translate(-150%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}

.mealFrame.frame12{
    right: 4%;
    top: 73%;
/*    transform: translate(-50%, -50%);*/
    max-width: 112px;
    width: 6vw;
    opacity: 0;
}
.mealFrame.frame12.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame12;
    animation-duration: 4s;
}
@keyframes frame12{
    from{
        transform: translate(160%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}


.mealFrame.frame13{
    right: -10%;
    top: 90%;
/*    transform: translate(-50%, -50%);*/
    max-width: 352px;
    width: 19vw;
    opacity: 0
}
.mealFrame.frame13.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame13;
    animation-duration: 2s;
}
@keyframes frame13{
    from{
        transform: translate(0%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}

.mealFrame.frame14{
    left: 5%;
    top: 95%;
/*    transform: translate(-50%, -50%);*/
    max-width: 105px;
    width: 6vw;
    opacity: 0
}
.mealFrame.frame14.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame14;
    animation-duration: 3s;
}
@keyframes frame14{
    from{
        transform: translate(-50%, -150%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}

@media(max-width: 480px){
    .desktop-recipe-container,
    .desktop-pagination-ctn{
        display: none
    }
    .mobile-recipe-container{
        display: grid !important;
    }
    .mobile-pagination-ctn{
        display: block !important;
    }
}

@media(max-width: 420px){    
    .mealFrame.frame1{
        top: 6%;
    }
    .mealFrame.frame2{
        right: -8%;
        top: 4%;
    } 
    .mealFrame.frame3{
        width: 14vw;
        top: 19%;
    }
    .mealFrame.frame4{
        width: 8vw;
        top: 18%;
    }   
    .mealFrame.frame5{
        width: 9vw;
        top: 34%;
    }   
    .mealFrame.frame6{
        top: 33%;
        right: -5%;
    }  
    .mealFrame.frame7{
        top: 50%;
    } 
    .mealFrame.frame8{
        top: 47%;
    }   
    .mealFrame.frame9{
        top: 65%;
    }  
    .mealFrame.frame10{
        top: 60%;
    }
    .mealFrame.frame11{
        top: 79%;
    }
    .mealFrame.frame12{
        right:0;
        width: 12vw;
    } 
    .mealFrame.frame13{
        top: 93%;
    } 
    .mealFrame.frame14{
        width: 12vw;
    }
}

/*Frame css and aniamtion end*/