:root{
    --colorBg : #F8F9F9;
    --color: #1c1d1d;
    --colorFt : #F8F5F0;
    --colorPrimary : #2E7061;
    --colorSec : #0EBE98;
    --colorLife : #1a1e66;
    --colorLifeLight: #e7fcff;
    /* --colorPink : #F73361; */
    --colorPink : #9b2f48;
    --colorEmphasisMed : #3C3D3D;
    --colorEmphasisLow : #979898;
    --wrapperWidth : 1280px;
    --wrapperWidthLg : 1460px;
    --mobilePadding : 16px;
}


body, div, h1, h2, h3, h4, h5, h6, p, ol, ul, blockquote, figure{
    margin:0;
    padding:0;
    font-weight: normal;
}

body{
    position: relative;
    font-weight: 400;
    max-width: 2500px;
    margin:0 auto;
    font-family: "Inter Tight", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--color);
    background-color: var(--colorBg);
}

img{
    max-width: 100%;
    height: auto;
    display: block;
}

a{
    text-decoration: none;
    color: inherit;
}

ul, ol{
    list-style: none;
}

ul.flex > li:last-of-type{
    margin-right: 0!important;
}
ul.flex.col > li:last-of-type{
    margin-bottom: 0!important;
}
ul.flex.border > li:last-of-type{
    border-right: 0!important;
}
ul.flex.col.border > li:last-of-type{
    border-bottom: 0!important;
}

input{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border:none;
    outline: none;
}

address{
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}


[style*="--aspect-ratio"] > :first-child {
    width: 100%;
}
[style*="--aspect-ratio"] > img {
    height: auto;
}
@supports (--custom:property) {
    [style*="--aspect-ratio"] {
        position: relative;
    }
    [style*="--aspect-ratio"]::before {
        content: "";
        display: block;
        padding-bottom: calc(100% / (var(--aspect-ratio)));
    }
    [style*="--aspect-ratio"] > :first-child {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }
}

/*  containers */

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.flex.col {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.flex.centered{
    justify-content: center;
    align-items: center;
}


/*  general */


/*  κλείδωμα του scroll στο background
    σε περίπτωση που έχουμε ένα στοιχείο
    που καλύπτει όλη την οθόνη */
.stop-scrolling {
    height: 100%;
    overflow: hidden;
}
    
    
    
/*  κεντράρισμα εικόνας*/
.img-center{
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
}
    
    
/*  κρύψιμο οριζόντιας μπάρας κύλισης*/
.scrollbar-hide{
    overflow-x: scroll;
    -ms-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.pntr{
    cursor: pointer;
}

.auto{
    margin-inline: auto;
}

/* wrappers */

.wrapper{
    max-width: var(--wrapperWidth);
    padding-inline: 2rem;
    margin-inline: auto;
}

.wrapper.pr-0{
    padding-right: 0;
}


@media screen and (max-width: 1200px) {  
    .wrapper{
        padding-inline: 2rem;
    } 
    .wrapper.tab-pr-0{
        padding-right: 0;
    }   
}
@media screen and (max-width: 940px) {  
    .wrapper{
        padding-inline: 24px;
    }    
}
@media screen and (max-width: 620px) {  
    .wrapper{
        padding-inline: var(--mobilePadding);
    }    
}

/* bg-img */

.bg-img{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0; top: 0;
    z-index: -1;
}

/* sections */

section.black > .wrapper{
    background-color: #000;
    color: #fff!important;
}
section.green > .wrapper{
    background-color: var(--colorPrimary);
    color: #fff!important;
}
section.lightgreen > .wrapper{
    background-color: #b3dacd;
}
section > .wrapper{
    margin-bottom: 1rem;
    padding: 2rem;
}
section.inner > .wrapper{
    max-width: calc(var(--wrapperWidth) - 4rem);
}

@media screen and (max-width: 920px) {  
    section > .wrapper{
        padding: 1.5rem;
    }
}
@media screen and (max-width: 520px) {  
    section > .wrapper{
        padding: 1rem;
    }
}

/* grid */

.grid{
    /* --gridGap : 1.5rem; */
    /* --columnWidth : calc(((100% -  (var(--columns) - 1) * (var(--gridGap))) / var(--columns) )); */
    display: grid;
    /* grid-template-columns: repeat(var(--columns), var(--columnWidth)); */
    grid-gap: 2rem;
    grid-template-columns: 343px 1fr 343px;
}


@media screen and (max-width: 1020px) {  
    /* .grid{ --columns: 3!important;}
    .grid.tab-4{ --columns: 4!important; }     
    .grid.tab-2{ --columns: 2!important; }     */
}

@media screen and (max-width: 840px) {  
    /* .grid{
        grid-template-columns: 1fr 1fr;
    }   */
}


/* cards */

/* card general */

.card{
    position: relative;
    container-type: inline-size;
}

.card.row{
    display: flex;
}
/* .card.row > div{
    width: 50%;
} */
.card.row.img-sm{
    gap: 8px;
}
.card.row.img-sm > div{
    flex-grow: 1;
}

.card.cover{
    display: grid;
    position: relative;
}
.card.cover::before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0; top: 0;
    background-color: rgba(0,0,0,0.32);
    /* border-radius: 10px; */
}
.card.cover > div{
    grid-column: 1/-1;
    grid-row: 1/-1;
}

.card > a{
    position: absolute;
    width: 100%; height: 100%;
    left: 0; right: 0;

}

.blog.card{
    background-color: #DCF4EE;
    padding: 1rem;
    text-align: center;
    border-radius: 4px;
}

@media screen and (max-width: 800px) {  
    .card.cover{
        display: block;
    }
    .card.cover::before{
        display: none;
    }
}

/* card-image */

.card--image{
    margin-bottom: 8px;
    /* border-radius: 10px; */
    overflow: hidden;
}
.card.row .card--image{
    margin-bottom: 0;
    height: fit-content;
}
.card.row.img-r .card-image{
    order:2;
}
.card.row.img-sm .card--image {
    flex: 0 0 84px;
    aspect-ratio: 1;
}
.card.cover .card--image{
    /* z-index: -1; */
    margin-bottom: 0;
}

.blog .card--image{
    width:130px;
    aspect-ratio: 1;
    margin-inline: auto;
    border-radius: 50%;
    margin-bottom: 0;
}


/* card info general */
.card-info{
    display: flex;
    flex-direction: column;
}

.card-info > *:last-child{
    margin-bottom: 0!important;
}
.card.row .card-info{
    padding-left: 1rem;
}
.card.row.img-r .card-info{
    padding-inline: 0  1rem;
}

.card.cover .card--info{
    /* display: flex; */
    align-content: end;
    color: #fff;
    padding: 2rem;
    position: relative;
}
.card.cover.center .card-info{
    align-items: center;
    justify-content: center;
}
.card.cover.bottom .card-info{
    justify-content: flex-end;
}

.blog .card--info{
    display: flex;
    flex-direction: column;
    margin-top: -14px;
}

@media screen and (max-width: 800px) {  
    .card.cover .card--info{
        padding:1rem 0;
        color: #1c1d1d;
    }
    .green .card.cover .card--info,
    .black .card.cover .card--info{
        color: #fff;
    }
}


/* card info category */

.card--category{
    --pillColor : var(--colorEmphasisLow);
    color: #e9ebea;
}
.card--info .categories{
    display: flex;
    gap: 8px;
}


/* card info title */

.card--title{
    margin-bottom: 4px;
}

.card.cover .card--title{
    margin-bottom: 8px;
}


.card.row.img-sm .card--title{
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 19px; /* 135.714% */
    letter-spacing: 0.5px;
}

.black .card--title{
    color: #fff!important;
}

.blog .card--title{
    text-align: left;
}

/* card info lead */

.card .lead > p:not(:last-of-type){
    margin-bottom: 0.5rem;
}

@media screen and (max-width: 580px) {  
    .card--lead{display: none;}
}


/* card info buttons */

.card--info-btns{
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.cover .card--info-btns{
    margin-bottom: 8px;
}

/* card details */

.card--details{
    align-items: center;
    justify-content: space-between;
}
.card.cover .card--details{
    margin-bottom: 8px;
}


/* card author */

.card--author{
    align-items: center;
    gap: 4px;
}

.author-icon{
    border-radius: 50px;
    overflow: hidden;  
    width: 24px;
    height: 24px;
}

.blog .card--author{
    order: -1;
    margin-bottom: .5rem;
    background-color: var(--colorPrimary);
    width: fit-content;
    margin-inline: auto;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 6px 12px;
    position: relative;
    z-index: 2;
}
/* card time */

.card--time{
    color : var(--colorEmphasisMed);
}
.cover .card--time{
    color: #fff;
}


@media screen and (max-width: 800px) {  
    .cover .card--time{
        color: #1c1d1d;
    }
}


/* card share */

.card-share-btn{
    filter: brightness(1) invert(1);
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/* card play */

.card--video{
    position: absolute;
    right: .5rem;
    top: .5rem;
    width: 2rem;
    height: 2rem;
    background-color: var(--colorPrimary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card--video img{
    width: 50%;
    filter: brightness(0) invert(1);
}

@media screen and (max-width: 520px) {  
    .mob-card .card--video{
        left: .25rem;
        top: .25rem;
        width: 1.2rem;
        height: 1.25rem;
    }
    .mob-card.right .card--video{
        left: unset;
        right: .25rem;
        top: .25rem;
        width: 1.2rem;
        height: 1.25rem;
    }
}

@container (width > 500px) {
    .card--video{
        right: 1rem;
        top: 1rem;
        width: 3rem;
        height: 3rem;    
    }
}

@container (width < 300px) {
    .card--video{
        width: 1.5rem;
        height: 1.5rem;    
    }
}
@container (width < 200px) {
    .card--video{
        right: .25rem;
        top: .25rem;
        width: 1.25rem;
        height: 1.25rem;    
    }
}


/* mobile cards */

@media screen and (max-width: 520px) { 
    .mob-card{
        display: flex;
        gap: 1rem;
    }
    .mob-card.right{
        flex-direction: row-reverse;        
    }
    .mob-card .card--image{
        width: 140px;
        flex-shrink: 0;
        margin-bottom: 0;
    }
    .mob-card .card--author,
    .mob-card .card--info-btns{
        display: none;
    }
}

@media screen and (max-width: 380px) { 
    .mob-card{
        gap: .5rem
    }
}

.blog .card--date{
    display: none;
}

/* section headers */

.section-header{
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    padding-bottom: 1rem;
    text-transform: capitalize;
}
.section-header h2{
    font-size: 45px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: -.25px;
    text-transform: capitalize;
}
.section-header h3{
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 34px; /* 154.545% */
    text-transform: capitalize;
}

.section-header .header-icon{
    width: 28px;
    height: 28px;
    margin-right: 8px;
    margin-top: 12px;
    align-self: flex-start; 
}

.section-header .header-icon img{
    width: 100%;
}

.section-header.multi-line{
    flex-wrap: wrap;
    border-bottom: none;
    justify-content: space-between;
    align-items: center;
}

.section-header.multi-line > div{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section-header.multi-line > .top-row{
    margin-bottom: 0.5rem;
}
.section-header.multi-line > .top-row.border{
    border-bottom: 1px solid #fff;
}

.green .section-header h2,
.black .section-header h2{color: #fff;}

.green .section-header .header-icon{
    filter: brightness(0) invert(1);
}

@media screen and (max-width: 1020px) { 
    .section-header h2{
        font-size: 50px;
        line-height: 55px;
    }
}
@media screen and (max-width: 760px) { 
    .section-header h2{
        font-size: 40px;
        line-height: 45px;
    }
    .section-header .header-icon{
        margin-top: 8px;
    }
}
@media screen and (max-width: 520px) { 
    .section-header h2{
        font-size: 32px;
        line-height: 40px;
    }
    .section-header .header-icon{
        width: 22px;
        height: 22px;
    }
}

/*  socials */

.social ul{
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.social li{
    width: 24px;
    height: 24px;
    background-position: center;
    background-size:contain;
    background-repeat: no-repeat;
    margin-right: 16px;
}

.social.border li{
    border:1px solid #000;
}
.social.border.rnd li{
    border-radius: 50%;
}
.social.white li{
    filter: invert(1);
}

.social.round li{
    background-color: #fff;
    border-radius: 50%;
}

.social ul li:last-of-type{
    margin-right: 0;
}
.social ul li.pin{
    background-image: url(../assets/icons/pin.svg);
}
.social ul li.fb{
    background-image: url(../assets/icons/fb.svg);
}
.social ul li.tw{
    background-image: url(../assets/icons/tw.svg);
    /* background-size:5px 10px; */
}
.social ul li.yt{
    background-image: url(../assets/icons/yt.svg);
}
.social ul li.ig{
    background-image: url(../assets/icons/ig.svg);
}
.social ul li.ln{
    background-image: url(../assets/icons/ln.svg);
}
.social ul li.tt{
    background-image: url(../assets/icons/tt.svg);
}
.social ul li.sf{
    background-image: url(../assets/icons/sf.svg);
}
.social ul li.ap{
    background-image: url(../assets/icons/ap.svg);
}
.social ul li.rss{
    background-image: url(../assets/icons/rss.svg);
    /* background-size:20px 20px; */
}
.social ul li.wup{
    background-image: url(../assets/icons/wup.svg);
    background-size:contain;
    background-color: transparent;
    border-radius: 0;
}

.social ul li.lg{
    width: 2.25rem;
    height: 1.85rem;
    margin-right: 3rem;
}

.social ul li > a{
    width: 100%;
    height: 100%;
    display: inline-block;
}

.social.md ul li{
    width: 36px;
    height: 36px;
    margin-right: 32px;
}

.social.md ul li.fb{
    background-image: url(../icons/fb.svg);
    background-size:10px 20px;
}
.social.md ul li.tw{
    background-image: url(../icons/tw.svg);
    background-size:19px 15px;
}

.darkmode .social ul li{
    filter: invert(1);
}
body:has(.page-life)  .social ul li{
    filter: brightness(0) saturate(100%) invert(15%) sepia(23%) saturate(7286%) hue-rotate(237deg) brightness(74%) contrast(111%);
}

@media screen and (max-width: 680px) {
    .social ul li{
        margin-right: 2rem;
    }
}
@media screen and (max-width: 620px) {
    .social ul li{
        width: 40px;
        height: 40px;
    }
}
@media screen and (max-width: 480px) {
    .social ul li{
        margin-right: 26px;
    }
}

/* search */
.search-header-wrapper{
    position: relative;
}
.search-icon{
    width: 36px;
    height: 36px;
    /* background-image: url(../assets/icons/search.svg); */
    /* background-size:50%;
    background-position: center;
    background-size:contain;
    background-repeat: no-repeat; */
    cursor: pointer;
}

.search-icon.white{
    filter: invert(1);
}
.search-inner-wrapper{
    position: absolute;
    right: 0;
    top: 0;
    overflow: hidden;
    width: 0;
    position: absolute;
    background-color: #000;
    transition: width 0.3s;
}
.search-form{
    width: 200px;
    display: flex;
    align-items: center;
}
.search-inner-wrapper.on{
    width: 200px;
}

.search-form input{
    background: transparent;
    color: #fff;
    /* border-bottom: 1px solid #fff; */
}

.search-close.btn-container{
    width: 25px;
    height: 25px;
}
.search-close .line{
    transform-origin: center;
    top: 50%!important;
}
.search-close .line:first-of-type{
    transform: rotate(-45deg);
}
.search-close .line:last-of-type{
    transform: rotate(45deg);
}

/* main header and menus */

.fixed-header{
    position: fixed;
    left:0;
    top: 0;
    width: 100%;
    padding-block: 1rem;
    background-color: var(--colorBg);
    z-index: 100;
}


/* buttons */

button{
    border: none;
    outline: none;
    cursor: pointer;
}

.btn{
    padding: 10px 24px;  
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 150% */
    letter-spacing: 0.1px;  
    color: #fff;
    background-color: var(--colorPrimary);
    border-radius: 5px;
}
.btn:disabled{ 
    color: #5b5c5c;
    background-color: #dadbdb;
}

.btn.empty{
    background-color: transparent;
    color: var(--colorPrimary); 
    border:1px solid;   
}

.btn.empty:hover{
    background-color: var(--colorPrimary);
    color: var(--colorBg);     
}

.all-btn{
    margin-top: 1rem;
    width:  90%;
    min-width: 300px;  
    max-width: 420px; 
}

.btn-container{
    width: 3rem;
    height: 2rem;
    padding: 0.5rem;
}

.btn-container > div{
    height: 100%;
    width: 100%;
    position: relative;
    cursor: pointer;
}


.btn-container .line{
    width: 100%;
    border-top: 1px solid #fff;
    position: absolute;
    left: 0;
    top: 50%;
}

.btn-container .line:first-of-type{top: 0;}
.btn-container .line:last-of-type{top: 100%;}

@media screen and (max-width: 840px) { 
    .all-btn{
        min-width: unset;
    }
}

/* pills */

.pills-empty .pill{
    background-color: transparent;
    border:1px solid;
}

.pills-col-primary .pill{
    --pillColor : var(--colorPrimary);
    color: var(--pillColor);
}

body:has(.page-life) .pill{
    --pillColor : var(--colorLife);
}

.pill{
    /* border-radius: 20px; */
    padding: 6px 12px;
    text-align: center; 
    background-color: var(--colorEmphasisLow); 
    color: #E9EBEA;
    transition: all .3s;
    text-transform: uppercase;
    height: fit-content;
}
.pills-empty .pill:hover,
.pill.selected{
    background-color: var(--pillColor);
    color: var(--colorBg);
}


.has-hero-card >.card-wrapper:first-of-type .pill{
    background-color: var(--colorPrimary);
}

/* ads */

.box{
    margin-inline: auto;
    max-width: 300px;
    width: 100%;  
}

.box > div{
    background-color: var(--colorEmphasisLow);
    position: sticky;
    top: 168px;
}

.row-box{
    height: 300px;
}
.row-box > div{
    height: 100%;
}

.box.side-box > div{
    height: 600px;
    /* border-radius: 10px; */
}
/* newsletter */

.newsletter > *{
    --newsLetterBg : #DADBDB;
    --newsLetterColor : #5B5C5C;
    background-color: var(--newsLetterBg);
    color: var(--newsLetterColor);
}

.newsletter-header{
    width: fit-content;
    padding: 12px 24px 8px 16px;
    align-items: center;
    gap: 8px;
    border-radius: 10px 10px 0 0;
}

.newsletter-header .icon{
    background-color: #000;
    padding: 6px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
}
.newsletter-header .icon img{
    width: 16px;
    height: 16px;
}
.newsletter-form{
    padding: 16px;
    border-radius: 0 10px 10px 10px;
}
.newsletter-form form{
    margin-top: 16px;
    gap: 16px;
}

.newsletter .email-field{
    width: 100%;
    border:1px solid;
    border-radius: 40px;
    padding: 4px 24px; 
    position: relative;
    height: 56px;
    display: flex;
}
.newsletter-form form input[type=email]{
    color: var(--newsLetterColor);   
    background-color: transparent;
}
.newsletter-form form label{
    position: absolute;
    background-color: var(--newsLetterBg);
    width: fit-content;
    left: 24px; 
    top: -10px;
    padding-inline: 4px;
}
.newsletter-form form button{
    width:fit-content;
    min-width: 320px;
}

/* related */

.related-wrapper + .box,
.related-wrapper:not(:has(+ .box)){
    position: sticky;
    top: 140px;
}
.related-wrapper:has(+ .box){
    margin-bottom: 24px;
    padding-bottom: 2rem;
    border-bottom: 1px solid #DADBDB;
}

.related-wrapper:has(.related-tags) .section-header{
    padding-bottom: 0;
}

.related-wrapper{
    padding-top: 20px;    
}

@media screen and (max-width: 920px) { 
    .related-wrapper + .box,
    .related-wrapper:not(:has(+ .box)){
        position: static;
        top: 0;
    }
}

/* panel */

.panel{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    display: none;
}

.panel.panel-on{
    display: block;
    background-color: rgba(0,0,0,0.32);
    pointer-events: all;
    z-index: 10;
}