/*
Theme Name: Theme Suire
Theme URI: 
Author: Digital Korner
Author URI: https://www.digitalkorner.fr/
Description: Theme for Minoterie Suire
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suire
This theme, like WordPress, is licensed under the GPL.
*/

/*
    Font
*/



/*
    General Styles
*/
a{
    color: inherit;
}

.wp-block-categories{
    list-style: none;
    padding: 0 !important;
    display: contents;
    justify-content: center;
}

mark, .has-santelia-script-font-family, .cta a, .addtoany_header{
    font-family: "santelia-rough-two", sans-serif !important;
    font-weight: 400;
    font-style: normal;
}

@media ( max-width: 850px ) {
    .wp-block-categories{
        gap: 10px !important;
    }
}

.wp-block-categories li a{
    color: var(--wp--preset--color--m-400);
    font-size: var(--wp--preset--font-size--default);
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
}

.taxonomy-category a, .taxonomy-farine_tag a{
    text-decoration: none;
}

footer{
    margin-block-start: 0px !important;
    margin-bottom: 61px !important;
    z-index: 5;
    position: relative;
}

@media ( max-width: 850px ) {
    footer{
        margin-bottom: 40px !important;
    }
}

@media ( max-width: 600px ) {
    footer .wp-block-buttons{
        justify-content: center;
    }
}

/*
    Navigation
*/

header nav li a::after{
    content: "";
    background: url("./assets/icons/hover-line.svg");
    background-size: contain;
    background-position: center;
    display: block;
    width: 0%;
    background-repeat: no-repeat;
    height: 6px;
    position: absolute;
    top: 100%;
    transform: translateX(-75%);
    transition: all .25s;
}

header nav li a:hover::after{
    width: 100%;
    transform: translateX(0%);
}

.current-menu-item{
    color: var(--wp--preset--color--v-300);
}
.current-menu-item::after{
    content: "";
    background: url("./assets/icons/current-line.svg");
    background-size: contain;
    background-position: center;
    display: block;
    width: 100%;
    background-repeat: no-repeat;
    height: 6px;
    position: absolute;
    top: 100%;
}
.nav{
    transition: all .25s;
    margin-block-start: 0 !important;
}

.scrolled{
    background: rgba(254, 253, 250, 0.50) !important;
    backdrop-filter: blur(12px);
}

.menu{
    transition: all .25s ease-in-out;
}
.scrolled .menu{
    padding: 0.5em 2.3em !important;
}

@media ( min-width: 850px ) {
    .wp-block-navigation__submenu-container{
        border-radius: 0px 2px 2px 0px;
        background: var(--wp--preset--color--white);
        box-shadow: 0px 8px 8px -4px rgba(65, 75, 90, 0.05), 0px 20px 24px -4px rgba(65, 75, 90, 0.15);
        border: none !important;
    }
}

.wp-block-navigation__submenu-container a{
    color: var(--wp--preset--color--b-400) !important;
    text-transform: none !important;
}

.wp-block-navigation__submenu-container a:hover{
    color: var(--wp--preset--color--v-200) !important;
}

.scrolled .wp-block-site-logo img{
    transition: all .25s ease-in;
    width: 150px !important;
}

@media screen and (max-width: 850px) {
    .wp-block-navigation__responsive-container-content{
        padding: 2rem !important;
    }
    
}

@media ( max-width: 850px ) {
    .scrolled{
        background: rgba(254, 253, 250, 0.70) !important;
        backdrop-filter: none;
    }   

    .menu .wp-block-site-logo img{
        width: 106px !important;
    }

    .menu a{
        font-weight: 700;
    }
    .has-child .wp-block-navigation-submenu a{
        margin: 10px 0px !important;
        font-weight: normal !important;
    }
}


@media ( min-width: 850px ) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
      display: none !important;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
      display: block !important;
    }
}
@media ( min-width: 600px ) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
      display: flex;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
      display: none;
    }
}

/*
    Contact navigation
*/
.is-style-fixed{
    position: fixed;
    bottom: 0px;
    z-index: 10;
    width: 100%;
    box-shadow: 0px -6px 24px 0px rgba(0, 0, 0, 0.25);
}
.callUs, .contactUs, .mobilebuttonFlour{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.callUs{
    cursor: pointer;
}
.callUs::before{
    content: url('./assets/icons/phone.svg');
    display: block;
    width: 24px;
    height: 24px;
}

.contactUs::before{
    content: url('./assets/icons/clock.svg');
    display: block;
    width: 24px;
    height: 24px;
}

.mobilebuttonFlour::before{
    content: url('./assets/icons/download-flour.svg');
    display: block;
    width: 24px;
    height: 24px;
}

.block-editor-rich-text__editable.mobilebuttonFlour{
    display: flex !important;
}

.mobilebuttonFlour{
    display: none;
}


@media ( max-width: 850px ) {

    .contactUs, .buttonFlour{
        display: none !important;
    }
    .mobilebuttonFlour{
        display: inline-flex;
    }

    .menu{
        justify-content: space-between;
    }

    .current-menu-item::after{
        background-position: left;
    }

    .callUs, .mobilebuttonFlour{
        font-size: 12px !important;
    }

    .is-style-fixed{
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* 
    Front Page
*/
.hero{
    margin-top: 0px !important;
}

@media ( max-width: 850px ) {
    .hero .wp-block-cover{
        min-height: 580px !important;
    }
    .hero .wp-block-cover img{
        object-position: bottom !important;
        object-fit: contain !important;
    }
}


/* 
    Blog
*/

.cat-item{
    background-color: var(--wp--preset--color--white);
    box-shadow: 0px 4px 15px 0px rgba(144, 112, 88, 0.15);
    padding: 10px 0px;
    width: 200px;
    display: grid;
    justify-items: center;
    position: relative;
    transition: all .25s;
}

.cat-item img{
    z-index: 1;
    object-fit: contain;
    width: 50px;
}
.cat-item a{
    z-index: 2;
}
.cat-item a::after{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.cat-item::before{
    content: url('./assets/icons/shapeCategory.svg');
    display: flex;
    justify-content: center;
    width: 100%;
    height: 60%;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 10px;
    left: 0px;
    z-index: 0;
    filter: invert(99%) sepia(1%) saturate(7465%) hue-rotate(321deg) brightness(97%) contrast(98%);
}

.current-cat, .cat-item:hover{
    background-color: var(--wp--preset--color--m-200);
}

.current-cat::before, .cat-item:hover::before{
    filter: invert(100%);
}

.current-cat a, .cat-item:hover a{
    color: var(--wp--preset--color--white) !important;
}

.mainPost .sticky, .mainPost li{
    position: relative;
}
.mainPost .sticky-post{
    position: absolute;
    bottom: 30px;
    left: 200px;
    max-width: 500px;
}

.mainPost figure img{
    height: 600px;
    object-fit: cover;
    width: 100%;
}

.mainPost .sticky .wp-block-post-featured-image::before, .mainPost li .wp-block-post-featured-image::before{
    content: url('./assets/shapes/shape.svg');
    width: 100%;
    bottom: -4px;
    display: block;
    position: absolute;
}

.has-seeds-after{
    position: relative;
    width: fit-content;
}

.has-seeds-after::after{
    content: "";
    background: url('./assets/icons/blue-seeds.svg');
    display: block;
    width: 110px;
    height: 80px;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: -50px;
    right: -60px;
    transform: rotate(60deg);
}

.related-posts{
    position: relative;
}
.related-posts::after{
    content: "";
    background: url('./assets/icons/relatedPostsCorn.svg');
    display: block;
    width: 200px;
    height: 430px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom left;
    position: absolute;
    bottom: -40px;
    left: 0px;
    z-index: -1;
}

@media ( max-width: 850px ) {

    .blog-header{
        margin-bottom: 35px !important;
    }

    .mainPost .sticky figure, .mainPost li figure{
        height: 300px !important;
    }

    .mainPost .sticky figure img, .mainPost li figure img{
        height: 330px !important;
    }

    .mainPost .sticky-post{
        position: relative;
        top: 0%;
        left: 0%;
        background: url('./assets/shapes/shapeResponsive.svg');
        background-repeat: no-repeat;
        background-size: cover;
        padding: 30px;
        text-align: center;
        margin: auto;
    }

    .mainPost .sticky .wp-block-post-featured-image::before, .mainPost li .wp-block-post-featured-image::before{
        content: none;
    }

    .cat-item{
        width: 150px;
    }
}

/*
Breacrumb
*/
#seokey-breadcrumbs{
    color: var(--wp--preset--color--m-500);
}
#seokey-breadcrumbs a:first-child{
    margin: 0 12px 0 0;
}
#seokey-breadcrumbs a{
    text-decoration: none;
    margin: 0 12px;
}
#seokey-breadcrumbs a:first-child{
    content: url("./assets/icons/home.svg");
}

@media ( max-width: 850px ) {
    #seokey-breadcrumbs{
        font-size: 10px;
    }
}



/* 
    Buttons block
*/
.wp-block-button a, .submit-button{
    position: relative;
    z-index: 1;
    transition: all .25s;
}

.wp-block-button a:hover, .submit-button:hover{
    transform: scale(1.05);
}

.wp-block-button a::after, .submit-button::after{
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 1px;
    transform: rotate(2deg);
    transition: .25s;
    border: 1px solid;
    border-color: inherit;
    background-color: inherit;
    left: 1px;
    z-index: -1;
}

.wp-block-button > .has-b-300-background-color{
    background-color: var(--wp--preset--color--b-300) !important;
    color: var(--wp--preset--color--white) !important;
}


.wp-block-button > .has-b-300-background-color:hover{
    background-color: rgba(0, 51, 160, 0.5) !important;
    border-color: transparent !important;
}

.wp-block-button:hover > .has-b-300-background-color::after{
    border-color: var(--wp--preset--color--b-300) !important;
}

.wp-block-button:hover a::after, .submit-button:hover::after{
    transform: rotate(-1deg);
    background: transparent;
}

.wp-block-buttons > .is-style-outline .has-v-300-color:hover{
    background-color: rgba(0, 150, 57, 0.5) !important;
    border-color: transparent !important;
    color: var(--wp--preset--color--white) !important;
}
.wp-block-buttons > .is-style-outline .has-v-300-color::after{
    border-color: var(--wp--preset--color--v-300) !important;
}

.wp-block-buttons > .is-style-outline .has-white-color:hover, footer .submit-button:hover{
    background-color: rgba(255, 255, 255, 0.5)!important;
    border-color: transparent !important;
    color: var(--wp--preset--color--white) !important;
}
.wp-block-buttons > .is-style-outline .has-white-color::after, footer .submit-button::after{
    border-color: var(--wp--preset--color--white) !important;
}

@media ( max-width: 850px ) {
    .wp-block-button a, .submit-button{
        font-size: 12px !important;
    }
}



/* 
    Classic #1 Patterns 
*/

.classic-1{
    position: relative;
}

.classic-1::before{
    content: "";
    background: url('./assets/icons/seeds-white.svg');
    display: block;
    width: 355px;
    height: 260px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.classic-1::after{
    content: "";
    background: url('./assets/icons/bread.svg');
    display: block;
    width: 270px;
    height: 211px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

@media screen and (max-width: 850px) {
    .classic-1::before{
        width: 230px;
        height: 80px;
    }

    .classic-1::after{
        display: none;
    }
}

/* 
    Classic #2 Patterns 
*/

.classic-2{
    position: relative;
}

.classic-2::before{
    content: "";
    background: url('./assets/icons/corncob-regular.svg');
    display: block;
    width: 150px;
    height: 370px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.classic-2::after{
    content: "";
    background: url('./assets/icons/baguette.svg');
    display: block;
    width: 350px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
    position: absolute;
    bottom: 50px;
    right: 0px;
}

@media screen and (max-width: 850px) {
    .classic-2::before{
        width: 85px;
        height: 130px;
        top: 90%;
    }

    .classic-2::after{
        display: none;
    }
}

/* 
    Contact Form
*/
.contact-form{
    position: relative;
    z-index: 1;
}

.contact-form::before{
    content: "";
    background: url('./assets/icons/form-corncob.svg');
    display: block;
    width: 240px;
    height: 600px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    bottom: 0px;
    right: 85%;
    z-index: -1;
}


/* 
    Icons Patterns 
*/

.wp-icons{
    position: relative;
}
.wp-icons::before{
    content: "";
    background: url('./assets/icons/pain.svg');
    display: block;
    width: 170px;
    height: 140px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    bottom: 0px;
    right: 0px;
    z-index: -1;
}

.has-graines{
    position: relative;
}
.has-graines::before{
    content: "";
    background: url('./assets/icons/graines.svg');
    display: block;
    width: 110px;
    height: 80px;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: -50px;
    left: -60px;
}

@media screen and (max-width: 850px) {
    .wp-icons .wp-block-columns{
        gap: 40px !important;
    }
}

/* 
    Highlights Patterns 
*/

.wp-highlights, .wp-highlights-main{
    position: relative;
}

.wp-highlights::before{
    content: "";
    background: url('./assets/icons/LightGraines.svg');
    display: block;
    width: 170px;
    height: 140px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.wp-highlights-main::before{
    content: "";
    background: url('./assets/icons/corncob.svg');
    display: block;
    width: 150px;
    height: 360px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    bottom: 0px;
    right: 0px;
}
@media screen and (max-width: 850px) {
    .highlight-title{
        padding: 0px !important;
    }

    .wp-highlights-main::before{
        bottom: 40%;
    }

    .wp-highlights::before{
        bottom: 40px;
        left: 15px;
        width: 75px;
        height: 125px;
    }
}


/* 
    Featured Image
*/
.the-featured-image::after{
    content: "";
    background: url('./assets/icons/featured-image.svg');
    display: block;
    width: 300px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    position: absolute;
    bottom: 20%;
    left: 85%;
    z-index: -1;
}
@media screen and (max-width: 850px) {
    .the-featured-image::after{
        display: none;
    }
}

/* 
    FAQ Patterns 
*/

.schema-faq-section{
    box-shadow: 0px 4px 15px 0px rgba(144, 112, 88, 0.15);
    border: none !important;
    padding: 28px 36px !important;
    background-color: var(--wp--preset--color--white) !important;
}

.schema-faq-question{
    font-size: 22px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 28px !important;
    color: var(--wp--preset--color--b-300) !important;
}

.schema-faq-answer{
    border: none !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 30px !important;
    color: var(--wp--preset--color--m-600) !important;
}

.schema-faq-question::after{
    content: url('./assets/icons/plus.svg') !important;
    right: 28px !important;
}

.faq-q-open{
    border: none !important;
}
.faq-q-open::after{
    content: url('./assets/icons/less.svg') !important;
}

.faq{
    position: relative;
}

.faq::before{
    content: "";
    background: url('./assets/icons/corncob-regular.svg');
    display: block;
    width: 200px;
    height: 500px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

@media screen and (max-width: 850px) {
    .faq{
        padding-bottom: 160px !important;
    }
    .faq::before{
        height: 250px;
        bottom: -110px;
        z-index: 0;
    }
}


/*
    Farine Block
*/

.farine figure{box-shadow: none !important;}

.single-flour h4{
    margin: 12px 0px;
}
.single-flour .flour-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.single-flour .flour-tags svg{
    position: absolute;
    width: 100%;
}
.single-flour .tag-flour{
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    color: var(--wp--preset--color--m-400);
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
}

.single-flour img{
    object-position: left !important;
}

.single-flour img:hover{
    opacity: 0.8;
    transform: scale(1.2); 
    transition: all .25s ease-in-out;
} 
.single-flour figure{
    overflow: hidden;
}

@media screen and (max-width: 850px) {
    .single-farine h1{
        text-align: center;
    }
    
    .single-farine .wp-block-post-terms{
        text-align: center;
    }
}



/*
    Farine Archive

*/
.filter-tag form{
    display: flex;
    flex-wrap: wrap;
}
.filter-tag form input{
    opacity: 0;
}
.filter-tag input[type="radio"]:checked+label, .filter-tag input[type="radio"]+label:hover{ 
    color: var(--wp--preset--color--white);
}

.filter-tag input[type="radio"]:checked+label::before, .filter-tag input[type="radio"]+label:hover::before{ 
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./assets/icons/flour-tag-checked.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    background-position: center;
    z-index: -1;
    transform: scaleY(1.2) scaleX(1.05);
}

.filter-tag form label{
    display: flex;
    position: relative;
    padding: 10px 20px;
    gap: 12px;
    color: var(--wp--preset--color--m-400);
    cursor: pointer;
}

.filter-tag form label::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./assets/icons/flour-tag.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    background-position: center;
    transform: scaleY(1.2) scaleX(1.05);
}


.tax-farine_tag main{
    position: relative;
}
.tax-farine_tag main::after{
    content: "";
    background: url('./assets/icons/featured-image.svg');
    display: block;
    width: 200px;
    height: 400px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    position: absolute;
    bottom: -80px;
    right: 0px;
}

.archive .wp-block-post-terms.taxonomy-farine_tag{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.archive .wp-block-post-terms.taxonomy-farine_tag a:first-child,
.archive .wp-block-post-terms.taxonomy-farine_tag span:first-child{
    margin-left: 0px;
}
.archive .wp-block-post-terms.taxonomy-farine_tag a,
.archive .wp-block-post-terms.taxonomy-farine_tag span{
    margin-left: 10px;
}

.archive .wp-block-post-terms.taxonomy-farine_tag a::after,
.archive .wp-block-post-terms.taxonomy-farine_tag span::after{
    position: absolute;
    content: "";
    background: url('./assets/icons/flour-tag.svg');
    background-size: 100% 100%; 
    width: 100%;
    height: 100%;
}
.archive .wp-block-post-terms.taxonomy-farine_tag span.wp-block-post-terms__separator{
    display: none;
}
.archive .wp-block-post-terms.taxonomy-farine_tag a,
.archive .wp-block-post-terms.taxonomy-farine_tag span{
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 30px;
}

.tax-farine_category .wp-block-post-featured-image img, .tax-farine_tag .wp-block-post-featured-image img{
    object-position: left;
}

.single-farine .wp-block-post-terms a{
    text-decoration: underline !important;
}

.infos img{
    width: 100px;
}

@media screen and (max-width: 850px) {
    .tax-farine_tag main::after{
        width: 110px;
    }
}

/*

Last News Patterns

*/

.has-blue-seeds{
    position: relative;
}

.has-blue-seeds::before{
    content: "";
    background: url('./assets/icons/blue-seeds.svg');
    display: block;
    width: 110px;
    height: 80px;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: -50px;
    left: -60px;
}

.last-post .wp-block-read-more, .sticky .wp-block-read-more, .cta a{
    position: relative;
    display: inline-flex;
}
.last-post .wp-block-read-more::after, .sticky .wp-block-read-more::after, .cta a::after{
    content: url('./assets/icons/green-arrow.svg');
    display: block;
    width: 11px;
    height: 40px; 
    margin-left: 12px;
    transition: all .25s; 
}

.last-post .wp-block-read-more:hover, .sticky .wp-block-read-more:hover, .cta a:hover{
    opacity: 0.8;
}

.last-post .wp-block-read-more:hover::after, .sticky .wp-block-read-more:hover::after, .cta a:hover::after{
    transform: translateX(-10px);
}

/*
Logos Blocks
*/

.is-style-logos-only .wp-block-social-link a{
    position: relative;
}
.is-style-logos-only .wp-block-social-link a::before{
    /* scontent: ""; */
    display: block;
    content: url('./assets/icons/roundshape.svg');
    transform: scale(1.2);
    position: absolute;
    left: -8%;
    top: -5%;
}

.is-style-logos-only > .has-white-color a::before{
    filter: brightness(0) invert(1);
}

/*
    flour
*/

#form-control{
    cursor: pointer;
}

.download-form{
    margin-top: 10px;
    border-bottom: 1px solid var(--wp--preset--color--b-500);
}

.download-form input[type="submit"]{
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    background-color: var(--wp--preset--color--v-300);
    color: var(--wp--preset--color--white);
    border: none !important;
    cursor: pointer;
    font-family: var(--wp--preset--font-family--jakarta-plus);
    font-weight: 700;
}


/*
    Page Header 
*/

.page-header{
    z-index: 1;
    position: relative;
    max-width: 1060px;
    margin: auto;
    margin-top: -200px;
    background-color: var(--wp--preset--color--c-50);
}

.wp-block-query-pagination-next{
    position: relative;
    display: flex;
    align-items: center;
}
.wp-block-query-pagination-next::after{
    content: '';
    background-image: url('./assets/icons/brown-arrow.svg');;
    display: block;
    width: 21px;
    height: 6px;
    margin-left: 8px;
}

.wp-block-query-pagination-previous{
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 8px;
}
.wp-block-query-pagination-previous::before{
    background-image: url('./assets/icons/brown-arrow.svg');
    content: "";
    width: 21px;
    height: 6px;
    transform: rotate(180deg);
    margin-right: 8px;
}


.current{
    color: var(--wp--preset--color--v-300);
    font-weight: bold;
    text-decoration: underline;
}

.page-numbers{
    margin-right: 8px;
}

/*
    Testimonials Patterns 
*/

.testimonials{
    position: relative;
}

.testimonials::before{
    content: "";
    background: url('./assets/icons/seeds.svg');
    display: block;
    width: 300px;
    height: 200px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
    position: absolute;
    top: 0px;
    left: 0px;
}

@media screen and (max-width: 850px) {
    .testimonials::before{
        width: 180px;
        height: 160px;
    }
}


/*
    VENDOR (Plugins)
*/


/* Add to Any */
.addtoany_share_save_container{
    display: flex;
    align-items: center;
    margin-top: 80px !important;
}
.addtoany_header{
    margin-right: 24px !important;
    color: var(--wp--preset--color--v-200) !important;
}

/* Polylang */
.current-lang::after{
    display: none !important;
}

.wp-block-polylang-navigation-language-switcher a img{
    padding-right: .4rem;
}

.wp-block-polylang-navigation-language-switcher{
    border: none !important;
    background: transparent !important;
    color: var(--wp--preset--color--b-300) !important;
}

.wp-block-polylang-navigation-language-switcher ul{
    background: #fff !important;
    border-radius: 0px !important;
    border-width: 1px !important;
    border-style: solid !important;
    color: var(--wp--preset--color--v-300) !important;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.256), 16px) !important;
    line-height: 1.5 !important;
    padding-right: 25px !important;
    padding-left: 25px !important;
    text-transform: uppercase !important;
}
.wp-block-polylang-navigation-language-switcher ul::after{
    content: "" !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    position: absolute !important;
    top: 1px !important;
    transform: rotate(2deg) !important;
    transition: .25s !important;
    border: 1px solid !important;
    border-color: inherit !important;
    background-color: inherit !important;
    left: 1px !important;
    z-index: -1 !important;
}

.wp-block-navigation-item__label{
    display: contents;
}

.wp-block-polylang-navigation-language-switcher.wp-block-navigation__submenu-container{
    width: fit-content !important;
}

.lang-item a{
    display: flex !important;
    align-items: center;
}
.lang-item a::after{
    display: none;
}

.lang-item .wp-block-navigation-item__label{
    display: contents;
}

.lang-item img{
    width: 24px !important;
    height: 24px !important;
    border-radius: 100%;
}


@media ( max-width: 850px ) {
    .wp-block-polylang-navigation-language-switcher ul::after {
        content: none !important;
    }
    .wp-block-polylang-navigation-language-switcher ul{
        border: 0 !important;
    }
    .wp-block-polylang-navigation-language-switcher > a {
        display: none !important;
    }
}

/* GRAVITY FORMS*/
.gfield_required{
    color: var(--wp--preset--color--white);
}
.gfield_consent_description{
    border: none !important;
}
.gfield_consent_label{
    font-size: 12px !important;
}

.submit-button{
    background-color: transparent !important;
    color: var(--wp--preset--color--white) !important;
    border: 1px solid var(--wp--preset--color--white) !important;
    border-radius: 2px !important;
}
footer input[type="submit"]{
    background-color: transparent !important;
    color: var(--wp--preset--color--white) !important;
}
/* KADENCE */

/*Slider*/
.kadence-blocks-gallery-item{
    background-color: var(--wp--preset--color--white) !important;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding-top: 20px;
    width: 280px;
}

.kb-gallery-carousel-item{
    transition: all .25s;
    margin-top: 20px !important;
}
.kb-gallery-carousel-item:hover{
    opacity: 0.7;
}

/* .kb-gallery-ul .kb-splide .splide__track{
    overflow: visible !important;
} */

.kb-gallery-image-contain{
    width: 260px !important;
    padding-top: 20px !important;
}

.kb-gallery-image-contain img{
    width: 100% !important;
}

.splide__pagination__page.is-active{
    background-color: var(--wp--preset--color--v-300) !important;
    position: relative;
}
.splide__pagination__page.is-active::before{
    display: block;
    content: '';
    background:  url('./assets/icons/roundshape_green.svg');
    width: 200%;
    height: 200%;
    position: absolute;
    left: -50%;
    background-size: contain;
    background-repeat: no-repeat;
    top: -50%;
}
.kb-splide .splide__pagination{
    position: relative !important;
    margin-top: 32px;
}
.kb-splide .splide__pagination li{
    margin-right: 12px;
}

@media ( max-width: 850px ) {
    .kb-gallery-ul .kb-splide .splide__slide{
        margin-right: 60px !important;
    }
}


.wp-block-kadence-testimonials .slick-prev{
    content: '';
    left: -2rem !important;
    background: transparent !important;
    opacity: 1 !important;
    width: 4rem !important;
}
.wp-block-kadence-testimonials .slick-prev::before{
    content: url("./assets/icons/prev-arrow.svg");
    transition: all .25s;
}

.wp-block-kadence-testimonials .slick-prev:hover::before{
    transform: scale(1.2) translateX(-10px);
}

.wp-block-kadence-testimonials .slick-next{
    content: '';
    right: -2rem !important;
    background: transparent !important;
    opacity: 1 !important;
    width: 4rem !important;
}
.wp-block-kadence-testimonials .slick-next::after{
    content: url("./assets/icons/next-arrow.svg");
    transition: all .25s;
}

.wp-block-kadence-testimonials .slick-next:hover::after{
    transform: scale(1.2) translateX(10px);
}

@media ( max-width: 850px ) {
    .wp-block-kadence-testimonials .slick-prev{
        left: -0.5rem !important;
        width: 2rem !important;
    }
    .wp-block-kadence-testimonials .slick-next{
        right: -0.5rem !important;
        width: 2rem !important;
    }
}


/* Accordion*/
.kt-blocks-accordion-header{
    background: transparent !important;
}
.kt-blocks-accordion-title{
    color: var(--wp--preset--color--b-300) !important;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    cursor: pointer;
}
.kt-accordion-pane{
    background: var(--wp--preset--color--white) !important;
    box-shadow: 0px 4px 15px 0px rgba(144, 112, 88, 0.15);
    border: none !important;
    padding: 28px 36px !important;
    margin-bottom: 20px;
}
.kt-accordion-panel-inner{
    padding-left: 14px !important;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    color: var(--wp--preset--color--m-600);
}

.kt-blocks-accordion-icon-trigger{
    content: url('./assets/icons/plus.svg') !important;
    width: 40px;
    height: 40px;
    right: 28px !important;
}
.kt-accordion-panel-active > .kt-blocks-accordion-icon-trigger{
    content: url('./assets/icons/less.svg') !important;
    right: 28px !important;
}
.kt-blocks-accordion-icon-trigger:hover{
    transform: scale(1.2);
    cursor: pointer;
}

@media ( max-width: 850px ) {
    .kt-accordion-pane{
        padding: 0 10px 0 0 !important;
    }
    .kt-blocks-accordion-title{
        font-size: 18px !important;
    }
    .kt-accordion-panel-inner{
        font-size: 14px !important;
        line-height: 24px !important;
    }
    .kt-blocks-accordion-icon-trigger, .kt-accordion-panel-active > .kt-blocks-accordion-icon-trigger{
        right: 0px !important;
    }
}

/*
    Easy Table of Contents
*/

.single .summary{
    position: fixed;
    left: 0;
}

.page .summary{
    position: sticky;
}
.summary{
    top: 20%;
    display: inline-flex;
    z-index: 8;
    width: 20%;
}
#ez-toc-container{
    position: absolute;
    width: 100%;
}

#ez-toc-container{
    box-shadow: 0px 8px 8px -4px rgba(65, 75, 90, 0.05), 0px 20px 24px -4px rgba(65, 75, 90, 0.15);
    width: 75%;
    z-index: 5;
    background-color: var(--wp--preset--color--white);
    border: none !important;
}
#ez-toc-container a{
    color: var(--wp--preset--color--b-600) !important;
}

#ez-toc-container .ez-toc-heading-level-2{
    border-left: 5px solid var(--wp--preset--color--b-600);
    margin-bottom: 15px;
}
#ez-toc-container a::before{
    content: "";
    margin-right: 0.2em;
}

.toc_close{
    width: 5% !important;
}

.ez-toc-icon-toggle-span, .ez-toc-title-toggle label{
    border: none !important;
}

.ez-toc-icon-toggle-span svg{
    display: none;
}

.ez-toc-icon-toggle-span::before{
    content: " ";
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    background: url("./assets/icons/chevrons.svg") no-repeat center center;
    background-size: 1.5em 1.5em;
    transform: rotate(0deg);
    transition: all .25s;
}

.toc_close .ez-toc-icon-toggle-span::before{
    transform: rotate(180deg);
}

@media ( max-width: 850px ) {
    .single .summary, .page .summary{
        position: relative;
        width: 100%;
        height: 50px;
    }
}

/*
    YARPP
*/

.yarpp-template-thumbnails h3{
    font-size: 42px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 52px   !important;
    color: var(--wp--preset--color--b-400);
}
.yarpp-thumbnail-title{
    font-size: 22px !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 28px !important;
    color: var(--wp--preset--color--b-300);
}
.yarpp-thumbnail{
    border: none !important;
}
.yarpp-related h3{
    text-transform: none !important;
}
.yarpp-related a:hover > h4{
    color: var(--wp--preset--color--v-300) !important;
}
.yarpp-related .related-flour{
    box-shadow: none !important;
    overflow: hidden !important;
}

.yarpp-related .related-flour img:hover{
    opacity: 0.8;
    transform: scale(1.2); 
    transition: all .25s ease-in-out;
} 



/*
    Custom Class CSS
*/
.hide{
    display: none !important;
}

.bg-corn::after{
    content: "";
    background: url('./assets/icons/featured-image.svg');
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
    position: absolute;
    top: -30%;
    left: 0%;
    z-index: -10;
}

.columns-3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8rem;
    list-style: none;
    margin-bottom: 0;
    margin-top: 0;
    max-width: 100%;
    padding: 0;
}
.columns-4{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8rem;
}

.cta{
    border-radius: 2px;
    border: 1px solid var(--wp--preset--color--m-300);
    background-color: var(--wp--preset--color--c-50);
    box-shadow: 0px 8px 8px -4px rgba(65, 75, 90, 0.05), 0px 20px 24px -4px rgba(65, 75, 90, 0.15);
    padding: 30px 20px;
    position: relative;
    height: 100%;
    display: grid;
    align-items: center;
}
.cta > *{
    position: relative;
    z-index: 1;
    margin-left: 0px !important;
}
.cta::before{
    content: "";
    background: url('./assets/icons/cta.svg');
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

.cta a{
    text-decoration: none;
    color: var(--wp--preset--color--v-300);
}

.document{
    margin-top: 10px !important;
}

.document a{
   display: flex;
   align-items: center;
   gap: 10px;
}
.document a::before{
    content: url("./assets/icons/download.svg");
    display: block;
    width: 24px;
    height: 24px;
}
.feature-image{
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
}

@media ( max-width: 850px ) {
    .hide-on-mobile{
        display: none !important;
    }
}


.no-shadow{
    box-shadow: none !important;
}

.polaroid img{
    background-color: var(--wp--preset--color--white) !important;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 20px 10px 90px 10px !important;
    transform: scale(0.9);
}

.rotate-left{
    transform: rotate(-5deg) scale(0.9);
}

.rotate-right{
    transform: rotate(5deg) scale(0.9);
}

@media ( max-width: 850px ) {
    .text-center{
        text-align: center;
    }
    .justify-center{
        justify-content: center;
    }
}

.underline, .hover-underline{
    position: relative;
    width: fit-content;
}
.underline::after{
    content: "";
    background: url("./assets/icons/underline.svg");
    background-size: contain;
    background-position: left;
    display: block;
    width: 100%;
    background-repeat: no-repeat;
    height: 6px;
    position: absolute;
    top: 100%;
}
.underline::before, .hover-underline::before{
    content: "";
    background: url("./assets/icons/current-line.svg");
    background-size: contain;
    background-position: center;
    display: block;
    width: 0%;
    background-repeat: no-repeat;
    height: 6px;
    position: absolute;
    top: 100%;
    transform: translateX(-100%);
    transition: all .25s;
}
.underline:hover::after{
    display: none;
}
.underline:hover::before, .hover-underline:hover::before{
    width: 100%;
    transform: translateX(0%);
}




@media ( max-width: 850px ) {
    body{
     --wp--style--global--content-size: 650px;
    }
    .columns-4, .columns-3{
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media ( max-width: 600px ) {
    body{
     --wp--style--global--content-size: 350px;
    }
}

@media ( max-width: 400px ) {
    body{
     --wp--style--global--content-size: 290px;
    }
}


/*
    ACF Gallery
*/
.display-gallery{
    display: block;
    align-items: center;
    justify-content: center;
}
.gallery-image-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 5px; 
    height: 150px;
    width: 150px;
    margin: 1rem;
    cursor: pointer;
}

.gallery-image-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.gallery-image-container:hover img{
    transform: scale(1.1);
    opacity: 0.7;
}

@media (max-width: 850px) {
    .display-gallery{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .gallery-image-container {
        width: calc(50% - 2rem);
        margin: .05rem;
    }
}



