/**
* Theme Name: YITH Proteo Child
* Description: This is a child theme of YITH Proteo, generated by YITH_Proteo_Wizard.
* Author: <a href="https://yithemes.com">YITH</a>
* Template: yith-proteo
* Version: 1.3.0
*/

/* home Style */


:root {
    --skouro_prasino: #004720;
    --anoixto_prasino: #14934D;
}

p {
    margin: 8px 0 !important;
}

.slick-prev, 
.slick-next {
    z-index: 999;
}

.slick-prev:before, 
.slick-next:before{
    color: var(--skouro_prasino) !important;
    font-size: 35px !important;
}

a {
    outline: none !important;
}

.eg_home_posts_1 .slick-slide {
    background: var(--skouro_prasino);
    position: relative;
    top: 20px;
}

.eg_home_posts_1 .wpr-grid-image-wrap {
    width: 95%;
    position: relative;
    top: -22px;
    z-index: 999 !important;
    margin-bottom: -30px;
}

.wpr-grid-item-date.elementor-repeater-item-5ffbfb4.wpr-grid-item-display-inline.wpr-grid-item-align-left::before {
    content: "";
    width: 30px;
    background-color: var(--anoixto_prasino);
    height: 10px;
    margin-right: 12px;
    display: inline-block;
}

.wpr-grid-item-date.elementor-repeater-item-5ffbfb4.wpr-grid-item-display-inline.wpr-grid-item-align-left {
    display: inline-flex;
    justify-content: center;
    align-items: baseline;
    align-content: center;
}

.eg_home_base_section_title h4 {
    font-size: 26px;
    color: var(--skouro_prasino);
    position: relative;
    float: left;
    padding-left: 0em;
    padding-right: 1em;
    margin: 0;
    top: 2px;
    letter-spacing: 0;
    white-space: nowrap;
    padding-bottom: 1em;
}

span.eg_topnews_title {
    font-size: 34px;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
    color: var(--skouro_prasino);
}

.sectiontitle-wrap {
    display: flex;
    margin-bottom: 2rem;
    margin-left: 60px;
    gap: 25px;
}

.section-title {
    font-size: 34px;
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    color: var(--skouro_prasino);
    margin: 0 !important;
}

.wrap-more-items {
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--skouro_prasino) !important;
    text-transform: uppercase;
}

.more-link:before {
    content: "/";
    margin-left: 0;
    margin-right: 1rem;
}

.more-link {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 !important;
    font-size: 16px;
    color: #000 !important;
}

.more-link:hover {
    text-decoration: unset !important;
}

/* Latest News | HOME */

.eg-home-slider .eg-card-media {
    height: 408px !important;
    width: 100%;
    overflow: hidden;
}

.eg-home-slider .eg-card-media img {
    width: 100%;
    object-fit: contain !important;
    display: block;
}

.eg-home-slider .eg-card-excerpt {
    margin: 0;
    font-size: 15px;
    opacity: 1;
    color: var(--skouro_prasino);
    font-weight: 600 !important;
}

button.slick-next.eg_slick_next.slick-arrow ,
button.slick-prev.eg_slick_prev.slick-arrow {
    background: none !important;
}

.slick-prev:before, .slick-next:before {
    font-family: 'slick';
    font-size: 42px;
    line-height: 1;
    opacity: 1;
    color: var(--skouro_prasino);
}


/* 
 * 
 * athlimata | HOME 
 * 
 * */

.elementor-widget-image-carousel .swiper-slide {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.eh_home_athlimata img.swiper-slide-image {
    filter: invert(1);
    background: #FFB8DF;
    padding: 30px 30px;
    border-radius: 50% !important;
    text-align: center !important;
    margin-bottom: 12px;
}

.eh_home_athlimata figure.swiper-slide-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.eh_home_athlimata figcaption.elementor-image-carousel-caption {
    color: #fff;
    font-weight: 600 !important;
    padding-top: 5px;
    border-bottom: 3px solid #fff;
    text-transform: uppercase;
}

/* 
 * 
 * ΧΟΡΗΓΟΙ | HOME 
 * 
 */

.foogallery.fg-light.fg-shadow-outline .fg-item-inner {
    box-shadow: none !important;
}

/* 
 * 
 * 
 * 
 * Posts Category Style
 * 
 * 
 *  */

.eg-archive-slider .eg-card-media {
    height: 260px !important;
    width: 100%;
    overflow: hidden;
}

.eg-archive-slider .eg-card-media img {
    width: 100%;
    object-fit: contain !important;
    display: block;
}

.eg-slider-wrap {
    width: 100%;
}

.eg-home-slider .eg-card {
    padding: 0 15px;
}

.eg-archive-slider .eg-card {
    padding: 0 18px;
    border-bottom: 1px solid #d0d0d0;
}

.eg-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.eg-archive-slider.eg-card-media img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.eg-no-thumb {
    height: auto;
    background: #ddd;
}

.eg-card-body {
    background: #f4f4f4;
    color: #0b5a3a;
    padding: 20px 20px 20px 0;
    min-height: 180px;
}

.eg-card-meta {
    font-size: 15px;
    opacity: 1;
    margin-bottom: 10px;
    color: #000 !important;
    font-weight: 600;
}

.eg-card-meta::before {
    content: "";
    width: 30px;
    background-color: var(--skouro_prasino);
    height: 10px;
    margin-right: 2px;
    display: inline-block;
}

.eg-card-title {
    font-size: 25px;
    line-height: 1.2;
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--skouro_prasino)
}

.eg-archive-slider .eg-card-excerpt {
    margin: 0;
    font-size: 14px;
    opacity: 1;
    font-weight: 600;
}

@media (max-width:1024px) {

    .eg-card-media img,
    .eg-no-thumb {
        height: 340px;
    }
}

@media (max-width:768px) {
    .eg-card {
        padding: 0 10px;
    }

    .eg-card-media img,
    .eg-no-thumb {
        height: 260px;
    }

    .eg-card-body {
        padding: 18px;
    }
}

.footer_title h3{
	font-size: 22px !important;
    font-style: italic !important;
    font-weight: 900 !important;
    line-height: 1;
    color: #fff !important;
    margin: 0 !important;
}

/* 
 * 
 * 
 * home top SLider OVERWRITE | 
.eg_home_top_3ada_slider
 * 
 * 
 *  */


.eg_home_top_3ada_slider .eg-home-slider .eg-card {
    padding: 0 5px;
}

.eg_home_top_3ada_slider .eg-card-meta {
    font-size: 15px;
    opacity: 1;
    margin-bottom: 10px;
    color: #ffffff !important;
    font-weight: 600;
}

.eg_home_top_3ada_slider .eg-card-body {
    background: var(--skouro_prasino) !important;
    color: #fff;
    padding: 20px 20px 20px 20px !important;
    min-height: 180px;
}

.eg_home_top_3ada_slider .eg-home-slider .eg-card-media {
    max-height: 270px !important;
    width: 96%;
    overflow: hidden;
    text-align: left;
}

.eg_home_top_3ada_slider .eg-home-slider .eg-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--skouro_prasino) !important;
}

.eg_home_top_3ada_slider .eg-card-title {
    font-size: 20px;
    line-height: 1.2;
    margin: 0 0 10px;
    font-weight: 700;
    color: #ffffff;
    min-height: 70px;
}

.eg_home_top_3ada_slider .eg-home-slider .eg-card-excerpt {
    color: #fff;
}

.eg-card-meta::before {
    background-color: var(--anoixto_prasino);
}

.eg_home_top_3ada_slider .eg-home-slider .eg-card{
  position: relative;
  padding: 0 5px;
}

.eg_home_top_3ada_slider .eg-home-slider .eg-card::before{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
transform: none;
  width: 5%;
  height: 35px;           /* acts like border-top thickness */
  background: #EFEFEF;
}

.eg_home_top_3ada_slider .slick-prev {
    left: -52px;
}

.eg_home_top_3ada_slider .slick-next {
    right: -40px;
}

.eg-home-top-static{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
}

@media (max-width: 1024px){
  .eg-home-top-static{ grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px){
  .eg-home-top-static{ grid-template-columns: 1fr !important; }
}

body.page, body.post {
    margin: 0;
    overflow-x: hidden !important;
}

body:not(.home) .entry-content {
  padding: 0 50px 50px !important;
}

.entry-header {
  margin-block: 32px 0;
}

/*
 * 
 * MOBILE STYLE *
 * 
 * 
 */

@media (max-width: 480px){
  .eg-sp {
  margin: 0 auto;
  padding: 0 15px !important;
}
	
	.eg-sp-block {
  margin-top: 25px;
  background: #f4f4f4;
  padding: 40px 10px !important;
}
	
 .eg-sp-content {
    font-size: 16px !important;
    line-height: 1.60 !important;
    color: #000000;
    text-align: justify;
  }
	
	.sectiontitle-wrap {
  display: flex;
  margin-bottom: 12px !important;
  margin-left: 0 !important;
  gap: 25px;
  padding-top: 12px !important;
}
	
	.sectiontitle-wrap-athlimata {
  flex-direction: row;
  justify-content: center;
}
	
	.section-title {
  font-size: 26px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  color: var(--skouro_prasino);
}
	
	.eg-sp-section-title {
    letter-spacing: .04em !important;
    text-transform: uppercase;
    margin: 0 0 12px;
    font-size: 26px !important;
}
	
	.eg_home_top_3ada_slider .eg-home-slider .eg-card-media {
  max-height: 265px !important;
  width: 96%;
  overflow: hidden;
  text-align: left;
}
	
.eg_slick_next,
.eg_slick_prev {
}
}

/*  * MOBILE STYLE * END*/

.slick-prev::before, .slick-next::before {
  color: #14934d !important;
  font-size: 35px !important;
}

.eg_topnews_at_home .eg-home-slider .eg-card-media {
    height: 260px !important;
	max-height: 260px !important;
    width: 100%;
    overflow: hidden;
}

.eg_topnews_at_home .eg-home-slider .eg-card-media {
    height: 265px !important;
    width: 100%;
    overflow: hidden;
}

.elementor-element.elementor-element-13fb778.elementor-widget.elementor-widget-html {
    width: 100%;
}

.slick-next:before {
    content: '\203A' !important;
}

.slick-prev:before {
    content: '\2039' !important;
}

.eh_home_athlimata .elementor-image-carousel-caption {
	cursor: pointer;
}

/* Caption */
.eh_home_athlimata figcaption.elementor-image-carousel-caption{
  color:#fff;
  font-weight:600 !important;
  padding-top:5px;
  text-transform:uppercase;

  /* για το underline */
  position:relative;
  display:inline-block;          /* να είναι όσο το κείμενο */
  padding-bottom:6px;            /* απόσταση κειμένου-γραμμής */
  border-bottom:none !important; /* σβήσε το παλιό border */
}

/* Η γραμμή */
.eh_home_athlimata figcaption.elementor-image-carousel-caption::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:3px;
  background:#fff;

  transform:scaleX(0);           /* ξεκινάει από 0 */
  transform-origin:center;       /* ξεκινάει από το κέντρο */
  transition:transform .35s ease;/* “σιγά” */
}

/* Hover στο figure (ή στο parent που κάνεις hover) */
.eh_home_athlimata figure:hover figcaption.elementor-image-carousel-caption::after{
  transform:scaleX(1);           /* ανοίγει μέχρι τέρμα */
}

/* (προαιρετικό) για keyboard focus */
.eh_home_athlimata figure:focus-within figcaption.elementor-image-carousel-caption::after{
  transform:scaleX(1);
}

a.eg-gallery-grid__item:hover {
    opacity: 0.8 !important;
}
