/* MAIN */
body.page-template-ingredients-glossary{
    overflow: hidden;
}
.flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.alc{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-template-glossary .wrap{
    position: relative;
    margin: 0 auto;
    width: 1288px;
    max-width: 96%;
}
.page-template-glossary .site-main{
    padding: 0;
}
.glossary-top-text .top-text-wrap{
    margin: 0 auto 32px;
    max-width: 738px;
    text-align: center;
}
.glossary-top-text h1{
    color: #313131;
    text-align: center;
    font-size: 56px!important;
    font-style: normal!important;
    font-weight: 700!important;
    line-height: 105.8%;
    text-transform: uppercase;
    margin-bottom: 32px;
}
.glossary-top-text p{
    line-height: 140%;
    color: #373737;
}
.glossary-search{
    background: url("../img/glossary-top-image-red.jpg") no-repeat;
    position: relative;
    background-position: bottom center;
    background-size: cover;
    margin-bottom: 88px;
    padding: 100px 0 324px;
}
.glossary-search form{
    display: flex;
    align-items: center;
    column-gap: 30px;
    max-width: 850px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.glossary-search form input{
    flex-basis: 100%;
    height: 52px;
    box-sizing: border-box;
    border-radius: 100px;
    border: 1px solid #E9E9E9;
    background: #FFF;
    padding: 0 100px ;

    color: #565656;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 52px;
    background-image: url('../img/search-grey.svg');
    background-repeat: no-repeat;
    background-position: 32px 5px;
    background-size: auto;
}
.glossary-search form .btn{
    min-width: 190px;
    height: 52px;
}
.letters-block{
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #DADADA;
    gap: 47px;
    justify-content: flex-start;
}
.letters-block a{
    background: #fff;
    color: #DC6E4A;
    border: 2px solid #DC6E4A;
    border-radius: 50%;
    box-sizing: border-box;
    line-height: 52px;
    text-align: center;
    transition: all 0.4s ease;
    height: 52px;
    min-width: 52px;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.42px;
}
.letters-block a.active,
.letters-block a:hover{
    background: #DC6E4A;
    filter: drop-shadow(0px 10px 21px rgba(240, 179, 87, 0.33));
    color: #fff;
}

.glossary-block h2{
    color: #313131;
    text-align: center;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 105.8%;
    text-transform: uppercase;
    margin-bottom: 57px;
}
.current-letter{
    position: relative;
}
.current-letter-title{
    background: #DC6E4A;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 40px;

    font-weight: 700;
    font-size: 40px;
    line-height: 100px;
    text-align: center;
    color: #FFFFFF;
}
.current-letter-title.searched{
    width: auto;
    background: transparent;
    color: #000;
}
.glossary-block{
    display: none;
}
.glossary-block.active{
    display: block;
}
.current-letter .cliverse-ingredients{
    display: flex;
    flex-flow: column wrap;
    align-content: space-between;
    padding: 36px 22px 77px;
    margin: 0;
    height: 1000px;
    margin-bottom: 140px;
}

.current-letter .cliverse-ingredient{
    margin-bottom: 40px;
    width: 48%;
}
.cliverse-ingredient::before { counter-increment: items; }
.cliverse-ingredient:nth-child(2n+1) { order: 1; }
.cliverse-ingredient:nth-child(2n) { order: 2; }

.cliverse-ingredients::before,
.cliverse-ingredients::after { content: ""; flex-basis: 100%; width: 0; order: 2; }

.current-letter h4{
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 105%;
    font-weight: 700;
    color: #313131;
}
.cliverse-ingredient p{
    color: #373737;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}
.cliverse-ingredients-btn-wrap{
    position: absolute;
    bottom: 30px;
    right: 0;
    left: 0;
}
.current-letter .refresh{
    display: flex;
    justify-content: center;
    align-items: center;
}
.current-letter .refresh,
.current-letter .more{
    background: #DC6E4A;
    border-radius: 50%;
    font-size: 27px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    cursor: pointer;
    margin: 0 auto;
    font-weight: 300;
    position: relative;
    opacity: 1;
    transition: all 0.4s ease;
}
.current-letter .refresh:hover,
.current-letter .more:hover{
    box-shadow: 0px 9px 20px rgba(60, 131, 130, 0);
    background-position: 100% 0;
}
.current-letter .more:before{
    content: '';
    position: absolute;
    width: 26px;
    height: 2px;
    background: #fff;
    top: calc(50% - 1px);
    left: 50%;
    transform: translateX(-50%);
}

.current-letter .more:after{
    content: '';
    position: absolute;
    width: 2px;
    height: 26px;
    background: #fff;
    left: calc(50% - 1px);
    top: 50%;
    transform: translateY(-50%);
}
.current-letter .top{
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(91deg, rgba(149,218,187,1) 3%, rgba(118,199,162,1) 47%, rgba(149,218,187,1) 98%);
    background-size: 300% 100%;
    box-shadow: 0px 9px 20px rgba(60, 131, 130, 0.25);
    bottom: 13px;
    right: -50px;
    cursor: pointer;
    opacity: 1;
    transition: all 0.4s ease;
}
.current-letter .top:hover{
    box-shadow: 0px 9px 20px rgba(60, 131, 130, 0);
    background-position: 100% 0;
}
.current-letter .top:before{
    content: '';
    position: absolute;
    height: 50px;
    width: 3px;
    background: #fff;
    left: calc(50% - 1.5px);
    top: 50%;
    transform: translateY(-50%);
}
.current-letter .top:after{
    content: '';
    position: absolute;
    height: 28px;
    width: 28px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    left: calc(50% - 14px);
    top: 28px;
    transform: rotate(45deg);
}

@media screen and (max-width: 1366px) {
    .current-letter .top{
        right: 0px;
    }
}

@media screen and (max-width: 1024px) {
    .current-letter .cliverse-ingredient{
        width: 100%;
        margin-bottom: 25px;
    }
    .current-letter .cliverse-ingredients{
        padding: 20px 10px 77px;
        margin-bottom: 30px;
    }
    .cliverse-ingredients-btn-wrap{
        bottom: 0;
    }
    .glossary-search{
        min-height: auto;
        padding: 30px 0 250px;
    }
    .letters-block{
        justify-content: center;
    }
    .current-letter .top{
        width: 68px;
        height: 68px;
        bottom: 0;
    }
    .current-letter .top:before{
        height: 25px;
    }
    .current-letter .top:after{
        width: 18px;
        height: 18px;
        left: calc(50% - 10px);
        top: 22px;
    }
}
@media screen and (max-width: 768px) {
    .glossary-search{
        margin-bottom: 60px;
    }
    .glossary-top-text h1{
        font-size: 32px!important;
    }
    .glossary-block h2{
        font-size: 22px;
        margin-bottom: 24px;
    }
    .glossary-top-text .top-text-wrap{
        margin: 0 auto 20px;
    }
    .glossary-top-text .top-text-wrap p{
        font-size: 14px;
    }
    .glossary-search form input{
        width: 100%;
        flex: none;
        height: 44px;
        line-height: 44px;
        background-size: 28px;
        background-position: 12px 8px;
        padding: 0 15px 0 48px;
    }
    .letters-block{
        column-gap: 20px;
        row-gap: 20px;
        padding-bottom: 24px;
        margin-bottom: 32px;
    }
    .letters-block a{
        min-width: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 20px;
    }
    .current-letter-title{
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 28px;
        margin: 0 auto 30px;
    }
    .current-letter h4{
        font-size: 22px;
        margin-bottom: 15px;
    }
    .current-letter .refresh svg{
        width: 30px;
        height: 30px;
    }
    .current-letter .refresh,
    .current-letter .more{
        width: 60px;
        height: 60px;
    }
}
@media screen and (max-width: 480px) {
    .glossary-search{
        padding: 82px 0 183px;
        background: url("../img/glossary-top-image-mobile-red.png") no-repeat;
        background-size: cover;
    }
}


/* related section styles */
.cliverse-home-posts-title{
    color: #000;
    text-align: center;
    font-size: 56px!important;
    font-style: normal !important;
    font-weight: 700!important;
    line-height: 105.8%;
    text-transform: uppercase;
    margin-bottom: 60px;
}
.cliverse-homepage-posts .item {
    box-shadow: 0px 9px 26px rgba(198, 198, 198, 0.25);
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
}
.homepage-recent-posts-left .related-post-info{
    padding: 30px;
}
.cliverse-homepage-posts .related-post-category a{
    font-weight: 600;
    font-size: 16px;
    line-height: 105.8%;
    text-transform: uppercase;
    color: #313131;
    margin-bottom: 15px;
    display: block;
}
.homepage-recent-posts-left .related-post-category a{
    margin-bottom: 12px;
}
.cliverse-homepage-posts .related-post-title a{
    font-weight: 700;
    font-size: 20px;
    line-height: 105.8%;
    color: #000000;
    margin-bottom: 15px;
    display: block;
    min-height: 42px;
}
.homepage-recent-posts-left .related-post-title a{
    font-size: 26px;
    min-height: auto;
}

.cliverse-homepage-posts .homepage-recent-post-excerpt {
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #373737;
}
.related-post-bottom-info{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cliverse-homepage-posts .related-post-author{
    display: flex;
    align-items: center;
    column-gap: 15px;
}
.cliverse-homepage-posts .related-post-author .related-post-author-image{
    border: 1px solid #FFFFFF;
    filter: drop-shadow(0px 5px 4px #E9E9E9);
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    box-sizing: border-box;
    overflow: hidden;
}
.cliverse-homepage-posts .related-post-author img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cliverse-homepage-posts .related-post-author .related-post-author-name{
    font-weight: 400;
    font-size: 16px;
    line-height: 1.05;
    color: #000000;
}
.cliverse-homepage-posts .related-post-readmore{
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #DC6E4A;
    position: relative;
    padding-right: 19px;
}
.cliverse-homepage-posts .related-post-readmore-minimized{
    display: block;
    width: 25px;
    height: 25px;
    background-image: url("../img/read-more-angle.svg");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
.cliverse-homepage-posts .related-post-readmore:after{
    content: '';
    width: 10px;
    height: 14px;
    position: absolute;
    background-image: url("../img/read-more-angle.svg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    top: calc(50% - 8px);
    right: 0;
    transition: all 0.4s ease;
}
.cliverse-homepage-posts .related-post-readmore:hover{
    color: #DC6E4A;
    opacity: 1;
}
.cliverse-homepage-posts .related-post-readmore:hover:after{
    right: -5px;
}
.cliverse-homepage-posts .homepage-recent-posts-left .related-post-image{
    flex: 1;
}
.cliverse-homepage-posts .homepage-recent-posts-left .related-post-image img{
    height: 100%;
    object-fit: cover;
}
.cliverse-homepage-category-posts .related-post-image{
    display: block;
    height: 222px;
}
.cliverse-homepage-category-posts .related-post-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cliverse-homepage-category-posts .related-post-info{
    padding: 25px;
}
.community-popular-section .container{
    width: 1510px;
}
.community-popular-section .community-popular{
    margin: 0 110px;
}
.community-popular-section .swiper-button-prev,
.community-popular-section .swiper-button-next{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    color:  #313131;
    transition: all 0.4s ease;
    border: 1px solid #fff;
    outline: none;
}
.community-popular-section .swiper-button-prev:hover,
.community-popular-section .swiper-button-next:hover{
    border-color: #DADADA;
    outline: none;
}
.community-popular-section .swiper-button-prev:after,
.community-popular-section .swiper-button-next:after{
    font-size: 30px;
}
.community-popular-section .swiper-wrapper{
    padding-bottom: 56px;
}
.swiper-pagination-bullet{
    width: 12px;
    height: 12px;
    background: #DADADA;
    opacity: 1;
    margin: 0 5px;
    outline: none;
}
.swiper-pagination-bullet-active{
    background: #313131 !important;
    outline: none;
}
.btn-wrap{
    text-align: center;
}
.btn{
    cursor: pointer;
    background: #2F375B;
    border-radius: 49px;
    display: inline-block;
    text-align: center;
    min-width: 300px;
    padding: 21px 0;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.08;
    color: #FFFFFF!important;
    transition: all 0.4s ease;
}
.btn:hover{
    color: #fff;
    opacity: 0.5;
}
@media screen and (max-width: 767px) {
    .cliverse-home-posts-title{
        font-size: 30px!important;
        margin-bottom: 32px;
    }
    .btn{
        min-width: 240px;
        padding: 11px 0;
        font-size: 20px;
    }
    .community-popular-section .community-popular{
        margin: 0 24px 32px;
    }
    .community-popular-section .swiper-button-prev, .community-popular-section .swiper-button-next{
        display: none;
    }
    .cliverse-homepage-posts .related-post-title a{
        min-height: auto;
    }
    .community-popular-section .swiper-pagination{
        display: block;
    }
}

/* related section styles end */



