.single-grid article{
    margin-right: 36px;
    max-width: 900px;
    width: 100%;
}

.article-header .category{
    font-family: PFDasGroteskMonoPro-Bold;
    font-size: 13px;
    letter-spacing: 0.13px;
    line-height: 19px;
    order: -1;
    margin-bottom: 20px;
    color: #24686E;
}
.article-header .title{
    font-family: PFBrummell-Bold;
    font-size: 42px;
    letter-spacing: -0.42px;
    line-height: 100%;
    margin-bottom: 20px;
}
.article-header .lead{
    font-family: PFBrummell-Medium;
    font-size: 21px;
    letter-spacing: 0;
    line-height: 26px;
    margin-bottom: 20px;
}

.article-header .info{
    margin-bottom: 20px;
}

.article-header time,
.article-header .author{
    font-size: 13px;
    letter-spacing: 0.13px;
    line-height: 19px;
    font-family: PFDasGroteskMonoPro-Bold;
    text-transform: uppercase;
}
.article-header .author{

}


.article-header time{
    margin-left: 41px;
    position: relative;
    display: block;
}

.article-header time::before{
    content: "";
    position: absolute;
    left: -31px;
    width: 21px;
    top: 50%;
    border-top: 1px solid #CCCCCC;
}

.article-header .share{
    margin-bottom: 44px;
}

.media-wrapper{
    margin-bottom: 38px;
    color: #999999;
    font-size: 13px;
    letter-spacing: 0.13px;
    line-height: 19px;
    overflow: hidden;
}
.media-image{
    margin-bottom: 20px;
    position: relative;
}
.media-caption {
    text-transform: uppercase;
}
.wp-caption-text {
    color: #999999;
    font-size: 13px;
    letter-spacing: 0.13px;
    line-height: 19px;
    margin-top: 0.1rem;
}
.media-icon{
    position: absolute;
    padding: 10px;
}
.media-icon.play{
    right: 0;
    bottom: 0;
    background-color: #24686E;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 52px;
    height: 52px;
    transition: transform 0.3s;
    transform-origin: bottom right;
}

.media-icon.play img{
    /* width: 14px; */
    filter: invert(1);
}

.article-body{
    font-family: PFBrummell-Regular;
    font-size: 21px;
    line-height: 31px;    
}
.article-body div, .article-body iframe {
    max-width: 100%!important;
}
.article-body p{
    margin-bottom: 2rem;
}
.article-body p a, .lead p a {
    font-weight: 700;
    word-break: break-word;
    word-wrap: break-word;
    border-bottom: 1px solid #1ba59b;
}

.article-body strong{
    font-family: PFBrummell-Bold;
}

.article-body > h3{
    font-family: PFBrummell-Bold
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 2rem;
    color: #24686E;
}
.article-body ul {
    list-style: disc;
    padding-inline-start: 40px;
    margin-bottom: 2rem;
}
.article-body ol {
    list-style: decimal;
    padding-inline-start: 40px;
    margin-bottom: 2rem;
}

.article-footer{
    margin-bottom: 135px;
}

@media screen and (max-width: 980px) {
    .single-grid article{
        margin-right: 22px;
    }
    .article-footer{
        margin-bottom: 100px;
    }
}

@media screen and (max-width: 920px) {
    .article-header .title{
        font-size: 36px;
        letter-spacing: -0.36px;
    }
    .article-body > h3{
        font-size: 21px;
        line-height: 24px;
        margin-bottom: 1.5rem;
    }
    .media-image{
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 840px) {
    .single-grid .banners-section{
        display: none;
    }
    .single-grid article{
        margin-right: 0;
    }
    .article-header .share{
        margin-bottom: 34px;
    }
}
@media screen and (max-width: 780px) {
    .article-header .lead,
    .article-header .category{
        margin-bottom: 1rem;
    }
    .article-body > h3,
    .article-body,
    .article-header .lead{
        font-size: 19px;
        line-height: 23px;
    }
    .article-body p{
        margin-bottom: 1.5rem;
    }
    .article-footer{
        margin-bottom: 80px;
    }
    .media-wrapper{
        font-size: 11px;
        letter-spacing: 0.11px;
        line-height: 19px;
    }
}
@media screen and (max-width: 580px) {
    .article-header .lead,
    .article-header .category{
        margin-bottom: 14px;
    }
    .article-footer{
        margin-bottom: 60px;
    }
    .media-wrapper{
        margin-bottom: 28px;
    }
}
@media screen and (max-width: 520px) {
    .article-header .title{
        font-size: 28px;
        letter-spacing: -0.28px;
        line-height: 30px;
        margin-bottom: 1rem;
    }
    .article-body h3,
    .article-body,
    .article-header .lead{
        font-size: 17px;
        line-height: 21px;
    }
    .more-articles .card-info .title {
        font-size: 16px;
        line-height: 16px;
    }
    .article-header .info{
        display: block;
    }
    .article-header time{
        margin-left:0;
    }
    .article-header time::before{
        display: none;
    }
    .article-header .share{
        margin-bottom: 28px;
    }
    .article-body p{
        margin-bottom: 1rem;
    }
}

/* video in article */
.media-wrapper.video .media-image{
    cursor: pointer;
}
.media-wrapper.video:hover .media-icon.play{
    transform: scale(1.2);
}

.media-wrapper .video-container{
    position: absolute;
    left: -150%;
    top: 0;
    width: 100%;
    height: 100%;
    transition: left 0.3s;
}

.media-wrapper .video-container.on{
    left: 0;
}

#player{
    width: 100%!important;
    height: 100%!important;
}

.media-wrapper .video-container .close{
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 100;
    background-color: #24686E;
    cursor: pointer;
}

.media-wrapper .video-container .close img{
    filter: invert(1);
    transform: translate(5px, -5px);
}

.media-wrapper.video.active{
    pointer-events: none;
}
.media-wrapper.video.active .close{
    pointer-events: all;
}


/* more articles */


.more-articles{
    border-top: 2px solid #D5D5D5;
    border-bottom: 2px solid #D5D5D5;
    max-width: 637px;
    padding-block: 2rem;
    margin-block: 3rem;
}

.more-articles-header{
    font-size: 13px;
    line-height: 19px;
    letter-spacing: 0.13px;
    margin-bottom: 2rem;
    color: #999999;
}

.more-articles-wrapper {
    justify-content: flex-start;
    gap: 15px;
}
.more-articles .grid-card{
    width: calc((100% - 36px) / 2);
    /*margin-right: 20px;*/
}

@media screen and (max-width: 680px) {
    .more-articles{
        margin-block: 2rem;
    }
}
@media screen and (max-width: 640px) {
    .more-articles .grid-card{
        width: calc((100% - 22px) / 2);
    }
}
@media screen and (max-width: 560px) {
    .more-articles .grid-card{
        width: 100%;
    }
    /*.more-articles .grid-card:last-of-type{
        display: none;
    }*/
}

/* tags */

.article-footer .tags-wrapper{
    font-size: 13px;
    letter-spacing: 0.13px;
    line-height: 19px;
}
.tags-wrapper{
    padding-top: 1rem;
    border-top: 2px solid #f2f2f2;
}
.tag-heading{
    font-family: PFDasGroteskMonoPro-Bold;
    color: #24686E;
    padding-block: 8px;
    margin-right: 20px;
}
.tag{
    font-family: PFDasGroteskMonoPro-Bold;
    background-color: #F2F2F2;
    padding: 8px 20px;
    margin-right: 1rem;
}

@media screen and (max-width: 560px) {
    .tag{
        margin-right: 10px;
        margin-bottom: 10px;
    }
    ul.tags.flex {
        flex-wrap: wrap;
    }
}

/* expert single */

.expert-single .article-main-image{
    margin-bottom: 0;
}
.expert-single .article-main-image .media-image{
    margin-bottom: 0;
}

.expert-single .expert-header-wrapper{
    padding: 17px 20px 17px 23px;
    background-color: #24686E;
    color: #fff;
    width: 333px;
    margin-bottom: 52px;
    justify-content: space-between;
    align-items: center;
}


/* .expert-single .expert-header-info{
    justify-content: space-between;
} */

.expert-single .expert-header-info .expertise{
    color: #A8D5D9;
}

.expert-single .expert-header-wrapper .expert-image{
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 50%;
}


.expert-single .expert-header-info h3{
    font-size: 13px;
    letter-spacing: 0.13px;
    line-height: 17px;    
}

.expert-footer{
    color: #fff;
    background-color: #24686E;
    padding: 28px 30px 40px 28px;
    margin-bottom: 38px;
}

.expert-footer .header{
    font-size: 21px;
    line-height: 24px;    
}

.expert-footer-info-wrapper{
    margin-top: 1.5rem;
}

.expert-footer-image{
    border-radius: 50%;
    width: 58px;
    height: 58px;
    background-color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.expert-footer-info{
    font-size: 18px;
    line-height: 24px;
    margin-left: 26px;
}

.expert-footer .name,
.expert-footer .expertise{
    font-size: 13px;
    line-height: 17px;
    letter-spacing: 0.13px;
}

.expert-footer .name{
    margin-top: 1rem;
}

.expert-footer .expertise{
    color: #A8D5D9;
}

.expert-footer-info-mob{
    display: none;
}

@media screen and (max-width: 720px) {
    .expert-single .expert-header-wrapper{
        width: 400px;
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 560px) {
    .expert-single .expert-header-wrapper{
        padding: 11px 11px 11px 23px;
        width: 100%;
        margin-bottom: 22px;
    }
}

@media screen and (max-width: 520px) {
    .expert-footer-info-wrapper{
        display: grid;
        grid-template-columns: 58px 1fr;
        grid-gap: 20px 17px;
    } 


    .expert-footer-info{
        grid-column: 1/-1;
        margin-left: 0;
        font-size: 17px;
        line-height: 21px;
    }  

    .expert-footer-info-mob{
        grid-column: 2/3;
        grid-row: 1/2;
        display: block;
    }
    .expert-footer-info .name,
    .expert-footer-info .expertise{
        display: none;
    }
}

/* search */

.search-results-wrapper{
    border-top:1px solid #D6E6E6;       
}

.search-results-wrapper .search-info{
    font-size: 13px;
    letter-spacing: 1.17px;
    line-height: 26px;
    color: #253840;
    text-align: center;
    margin-block: 28px 53px;
}

.search-page-header{
    margin-block: 64px 53px;
}

.search-header{
    /* margin-bottom: 38px;
    text-align: center;
    font-size: 42px;
    line-height: 100%;
    letter-spacing: -0.42px; */
}

.search-results-wrapper .grid-card{
    margin-bottom: 3rem;
}

@media screen and (max-width: 980px) {
    .search-page-header{
        margin-top: 16px;
    }
    .search-results-wrapper .grid-card{
        margin-bottom: 2rem;
    }
    .search-results-wrapper .search-info{
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 640px) {
    .search-results-wrapper .grid-card{
        margin-bottom: 22px;
    }
    .search-results-wrapper .search-info{
        margin-bottom: 28px;
    }
}

/* mini search section */

.mini-index-wrapper > div{
    padding-inline: 1rem;
}

.mini-search .lead{
    width: 335px;
    margin-inline: auto;
}

.mini-search .search-box{   
    margin-top : 2rem;
}
.mini-search .search-text.mob{   
    display: none;
}

.mini-index .all-btn{
    background-color: #000;
    color: #fff;
    font-size: 13px;
    /* line-height: 26px; */
    padding: 10px 17px;
    width: fit-content;
    margin: 1rem auto 0;
    transition: background 0.3s;
    cursor: pointer;
}

.mini-index .all-btn:hover{
    background-color: #24686E;
}

@media screen and (max-width: 940px) {
    .mini-index-wrapper.flex-50{
        display: block;
    }
    .mini-index-wrapper.flex-50 > div{
        width: 100%;
        padding-inline: 0;
    }
    .mini-index-wrapper .mini-search{
        padding-bottom: 40px;
        border-bottom: 1px solid #EAEAEA;
        margin-bottom: 25px;
    }
    .mini-index-wrapper .mini-search .section-header{
        margin-bottom: 0;
    }
}


@media screen and (max-width: 680px) {
    .mini-index .all-btn{
        margin-top: 0.5rem;
    }    
}
@media screen and (max-width: 620px) {
    .mini-index-wrapper .mini-search{
        padding-bottom: 30px;
    }
    .mini-search .search-text.mob{   
        display: block;
    }
    .mini-search .search-text.desk{   
        display: none;
    }
}

@media screen and (max-width: 580px) {
    .mini-index .section-header.description-header{
        border-bottom: 1px solid #EAEAEA;
        margin-bottom: 27px;
        padding-bottom: 27px;
    }
}
@media screen and (max-width: 520px) {
    .mini-index-wrapper > div{
        padding-inline: 0;
    }
}

/* bmi */

.bmi-page-header{
    margin-bottom: 2rem;
}

.bmi-wrapper{
    border-top: 1px solid #D6E6E6;
    padding-top: 46px; 
    margin-bottom: 208px;   
}

.bmi-components{
    justify-content: center;
    align-items: center;
}

.bmi-box{
    width: 329px;  
    height: 201px;
    background-color: #F2F2F2;
}

.bmi-box.bmi-data{
    background-color: #24686E;  
    color: #fff;
    padding: 26px 34px;
}

.bmi-caret{
    width: 21px;
    margin-inline: 2rem;
}

.bmi-caret > img{
    width: 100%;
}

.bmi-input{
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 18px;
    line-height: 21.6px;
    letter-spacing: -0.18px;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.bmi-input > input{
    border: 1px solid #000;
    font-size: 18px;
    line-height: 21.6px;
    letter-spacing: -0.18px;
    padding: 4px;
    text-align: center;
}

.bmi-input > label{
    margin-right: 1rem;
    width: 152px;
    text-align: left;
}

.bmi-btn{
    font-size: 13px;
    line-height: 26px;
    padding:8px 17px;
    background-color: #000;
    color: #fff;
    width: 156px;
    margin-inline: auto;
    margin-top: 1rem;
    text-align: center;
    cursor: pointer;
}

.bmi-form{
    flex-direction: column; 
    align-items: center;
    height: 100%;
}

.bmi-results{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bmi-box h4{
    font-size: 13px;
    line-height: 16px;
    letter-spacing: -0.13px;
}

.bmi-result{
    font-size: 55px;
    line-height: 65px;
    letter-spacing: -0.55px;   
    margin-block: 9px; 
}
.bmi-text-result{
    font-size: 21px;
    line-height: 25px;
    letter-spacing: -0.21px;   
    color: #24686E; 
}

@media screen and (max-width: 1020px) {
    .bmi-wrapper{
        margin-bottom: 106px;
    }
}
@media screen and (max-width: 790px) {
    .bmi-box.bmi-data{
        padding-inline: 1rem;
    }  
    .bmi-caret{
        margin-inline: 1rem;
    }  
    .bmi-wrapper{
        margin-bottom: 70px;
    }
}

@media screen and (max-width: 650px) {
    .bmi-components{
        flex-direction: column;
    }
    .bmi-box.bmi-data{
        padding-inline: 2rem;
    }  
    .bmi-caret{
        margin-inline: 0;
        margin-block: 1rem;
        transform-origin: center;
        transform: rotate(90deg);
    }  
}


@media screen and (max-width: 650px) {
    .bmi-box.bmi-data{
        padding-inline: 1rem;
    }
}

@media screen and (max-width: 620px) {
    .bmi-page-header{
        margin-bottom : 20px;
    }
    .bmi-wrapper{
        padding-top: 20px;
    }
}

@media screen and (max-width: 520px) {
    .bmi-box{
        width: 100%;
    }
    .bmi-input {
        justify-content: center;
    }
    .bmi-wrapper{
        margin-bottom: 56px;
    }
}

@media screen and (max-width: 330px) {
    .bmi-input > label{
        margin-right: 0.5rem; 
    }
    .bmi-box.bmi-data{
        padding-inline: 0.5rem;
    }
}

/* calories page */

.calories-page-header{
    border-bottom: 1px solid #D6E6E6; 
    padding-bottom: 38px;
    margin-bottom: 26px;   
}

/* letters index */

.letters-wrapper{
    margin-bottom: 3.435rem;
}

.letters-header{
    /* font-size: 13px;
    line-height: 26px;
    letter-spacing: 1.17px;
    margin-bottom: 22px;
    color: #24686E;
    text-align: center; */
}

.letters{
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 720px;
    margin-inline: auto;
}

.letter{
    width: 2.75rem;
    height: 2.75rem;
    background-color: #F2F2F2;
    color: #264653;
    font-size: 1.125rem;
    line-height: 2.625rem;
    /* font-family: 'PFDasGroteskProBold'; */
    border-radius: 50%;
    margin-right: 16px;
    margin-bottom: 0.75rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.letter:nth-of-type(12){
    margin-right: 0;
}

.letter:hover{
    background-color: #24686E;
    color: #fff;
}

.letter.selected{
    background-color: #24686E;
    color: #fff;
}

@media screen and (max-width: 760px) {
    .letters-wrapper{
        margin-bottom: 0;
    }
    .letter:nth-of-type(12),
    .letter{
        margin-right: calc((100% - (8 * 44px)) / 7);
    }
    .letter:nth-of-type(8n){
        margin-right: 0;
    }
    
}
@media screen and (max-width: 510px) {
    .letter:nth-of-type(8n),
    .letter:nth-of-type(12),
    .letter{
        margin-right: calc((100% - (6 * 44px)) / 5);
    }
    .letter:nth-of-type(6n){
        margin-right: 0;
    }
}
@media screen and (max-width: 350px) {
    .letter:nth-of-type(6n),
    .letter:nth-of-type(8n),
    .letter:nth-of-type(12),

    .letter{
        margin-right: calc((100% - (4 * 44px)) / 3);
    }
    .letter:nth-of-type(4n){
        margin-right: 0;
    }
}

/* calories */

.calories-wrapper .letters-wrapper{
    margin-bottom: 0;
}

.cal-section{
    max-width: 720px;
    margin-inline: auto ;
    flex-wrap: wrap;
    margin-block: 32px 120px;
}

/* .cal-label{
    width: 100%;
    font-size: 30px;
    line-height: 42px;
    border-bottom: 1px solid #D6E6E6;
    padding-block: 1rem;
    margin-bottom: 38px;
    color: #24686E;
} */

.cal-section .cal-container{
    flex: 0 0 calc(100% - 190px);
}
.cal-section .cal-counter{
    flex: 0 0 162px;
    background-color: #24686E;
    padding: 1rem;
    text-align: center;
    margin-left: 28px;
    max-height: 180px;
    position: sticky;
    top: 100px;
    margin-bottom: 100px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cal-counter .title{
    font-size: 13px;
    line-height: 16px;
    letter-spacing: -0.13px;
    /* margin-bottom: 1rem; */
    /* font-family: "PFDasGroteskProRegular"; */
}

.cal-counter .counter{
    font-size: 55px;
    line-height: 65px;
    margin-top: 5px;
    /* font-family: "PFDasGroteskProBold"; */
}

.calory-item{
    justify-content: flex-end;
    align-items: center;
    font-size: 1.1875rem;
    padding: 0.5rem 0;
    /* border-bottom: 1px solid #e6e6e6; */
    /* font-family: "PFDasGroteskProRegular"; */
    cursor: pointer;
}

.calory-item:nth-of-type(even){
    padding-block: 1.125rem;
}

.calory-item.cal-header{
    padding-top: 0;
}

.cal-wrapper{
    opacity: 1;
    transition: opacity 0.3s;
}

.cal-wrapper.hide{
    opacity: 0;
}

.cal-wrapper .calory-item{
    padding-left: 3rem;
    position: relative;
}

.cal-wrapper .calory-item:nth-of-type(odd){
    background-color: #F2F2F2;
    border-radius: 8px;
}

.cal-wrapper .calory-item:before{
    content : "";
    width: 21px;
    height: 21px;
    background-color: #fff;
    border:1px solid #B3B3B3;
    border-radius: 50%;
    position: absolute;
    left:11px;
    top: 50%;
    transform: translateY(-50%);
}

.cal-wrapper .calory-item.selected:before{
    background-color: #24686E;
}

.cal-wrapper .calory-item.selected:after{
    content: "";
    width:4px;
    height: 12px;
    position: absolute;
    top:50%;
    left: 20px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform-origin: center;
    transform: translateY(-50%) rotate(45deg);
}

.calory-item h3{
    font-size: 1.1875rem;
    /* font-family: "PFDasGroteskProBold"; */
}

.calory-item .cals{
    flex: 0 0 70px;
    text-align: center;
    margin-left: 0.5rem;
}
.calory-item .quantity{
    flex: 0 0 130px;
    text-align: center;
}
.calory-item .food{
    /* flex-basis: 400px; */
    text-align: left;
    margin-right: auto;
}

.cal-header .food{
    padding-left: 3rem;
}

.reset-counter{
    background-color: #000;
    font-size: 13px;
    line-height: 100%;
    padding: 10px 5px; 
    text-align: center;
    cursor: pointer;   
    width: 100%;
    max-width: 200px;
}

/* @media screen and (max-width: 1080px) {
    .cal-section .cal-container{
        flex: 0 0 calc(100% - 300px - 2rem);
        margin-bottom: 140px;
    }
    .cal-section .cal-counter{
        margin-left: 2rem; 
    }
} */
/* @media screen and (max-width: 980px) {
    .cal-section .cal-container{
        flex: 0 0 calc(100% - 232px - 1.5rem);
    }
    .cal-section .cal-counter{
        flex: 0 0 232px;
        margin-left: 1.5rem;
        padding: 1.5rem; 
        height: fit-content;
    }
} */

/* @media screen and (max-width: 820px) {
    .cal-section .cal-container{
        flex: 0 0 calc(100% - 200px - 1.25rem);
        margin-bottom: 50px;
    }
    .cal-section .cal-counter{
        flex: 0 0 200px;
        margin-left: 1.25rem;
        padding: 1rem; 
    }
    .cal-counter .counter{
        font-size: 2rem;
        line-height: 2.25rem;
        margin-bottom: 1.5rem;
    }
    .cal-counter .title{
        font-size:1rem;
        line-height: 1.5rem;
        margin-bottom: 0.75rem;
    }
} */

@media screen and (max-width: 760px) {
    .cal-section{
        flex-direction: column;
    }
    .cal-section .cal-counter{
        margin-left: 0;
        margin-bottom: 2rem;
        flex: unset;
        order: -1;
        top: 69px;
    }
    .cal-counter .title{
        margin-bottom: 0.25rem;
    }
    .cal-counter .counter{
        margin-bottom: 0.75rem;
    }
    .cal-label{
        text-align: center;
    }
}

@media screen and (max-width: 580px) {
    .cal-section{
        margin-block: 33px 80px;
    }
    .cal-section .cal-counter{
        margin-bottom: 0.5rem;
    }
    .calory-item{
        padding-top:0.5rem;
        padding-bottom:0.5rem;
    }
    .calory-item,
    .calory-item h3{
        font-size: 17px;
    }
    .calory-item .cals {
        flex: 0 0 65px;
        margin-left: 0.5rem;
    }
    .calory-item .quantity{
        flex: 0 0 112px;
        margin-left: 0.5rem;
    }
}

@media screen and (max-width: 520px) {
    /* .cal-wrapper .calory-item{
        padding-left: 1.5rem;
    }
    .calory-item,
    .calory-item h3{
        font-size: 0.875rem;
    } 
    .calory-item .cals {
        flex: 0 0 58px;
        margin-left: 0.5rem;
    }   
    .cal-wrapper .calory-item:before{
        width: 1rem;
        height: 1rem;
    }
    .cal-wrapper .calory-item.selected:after{
        height: 8px;
    } */
    .calory-item{
        display: grid;
        grid-template-columns: 1fr 80px;
        grid-template-rows: repeat(2, auto);
    }
    .calory-item:nth-of-type(even){
        padding-block: 8px;
    }

    .calory-item .cals{
        grid-column: -2 / -1;
        grid-row: 1 / -1;
    }
    .calory-item .cal-item-name{
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        margin-bottom: 4px;
    }
    .calory-item .quantity{
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        margin-left: 0;
        text-align: left;
    }
    .calory-item.cal-header .quantity{
        padding-left: 3rem;
    }


    /* .cal-section .cal-counter{
        width: calc(100% + 52px);
        margin-left: -26px;
    } */
}

/* index popular page */

.index-popular-header{
    text-align: center;
}

.index-page-header .search-box{
    margin-block: 2rem 74px;    
}

.index-popular{
    border-top: 1px solid #D6E6E6;
    border-bottom: 1px solid #D6E6E6;
    padding-block: 2rem 1rem;
}

.index-wrapper .letters-header{
    margin-top: 2rem;    
}

.index-popular-wrapper{
    justify-content: center;
    flex-wrap: wrap;
}

.index-list-container{
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: 120px;
}

.index-list{
    /* display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(var(--rows), auto);
    grid-gap: 0.5rem;
    grid-auto-flow: column; */
    column-count: 3;
}

.index-list-item{
    font-size: 18px;
    line-height: 30px;
    padding-block: 0.25rem;
}

@media screen and (max-width: 780px) {
    .index-list-container{
        margin-bottom: 80px;
    }
}
@media screen and (max-width: 680px) {
    .index-list{
        column-count: 2;

        /* grid-template-columns: repeat(2, 1fr);
        --rows: 7!important; */

    }
}
@media screen and (max-width: 580px) {
    .index-wrapper .letters-header{
        margin-block: 22px;
    }
    .index-page-header .search-box{
        margin-bottom: 2rem;
    }
    .index-popular{
        padding-bottom: 0.5rem;
    }
    .index-list-container{
        margin-bottom: 60px;
    }
}
@media screen and (max-width: 520px) {
    .index-list-item{
        font-size: 17px;
    }    
    .index-list{
        column-count: 1;
    }
}