/* Change all button background color */
.wp-block-button a:hover {
	color:white;
}

/* Change all button greek font */
.wp-block-button .wp-block-button__link {
  font-family: 'PT Sans', sans-serif !important;
}
/* Hide the native file input entirely */
input[type="file"].forminator-input-file-required {
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  z-index: -1;
}

/* Hide the default Forminator upload button */
.forminator-button-upload {
  display: none !important;
}

/* Custom language-specific upload button via ::before */
.forminator-file-upload::before {
  content: "Choose File"; /* default language */
  display: inline-block;
  background-color: #0073aa;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  margin-bottom: 10px;
}

/* Greek version when lang=el */
html[lang="el"] .forminator-file-upload::before {
  content: "Επιλέξτε Αρχείο";
}
.custom-consent-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0px;
  margin-bottom: 0px;
	font-family: inherit;
  font-size: 14px;
  position: relative;
}

/* Hide blog post date only from list*/
.wp-block-post-date {
    display: none !important;
}

/* remove blog post margin top */
.single-post .wp-block-post-date {
    display: block !important;
}
.entry-content p:first-of-type {
    margin-top: 0;
}
.archive .post .wp-post-image {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}
.coblocks-gallery--figure img {
  width: 100% !important;
  height: auto !important;
  max-width: 180px !important; /* Adjust size as needed */
  display: block;
  margin: 0 !important; /* Remove auto-centering */
  object-fit: contain !important;
  text-align: left; /* Ensures alignment within parent */
}

@import url('https://fonts.googleapis.com/css2?family=PT+Sans&display=swap');

body, h1, h2, h3, h4, h5, h6, p, a, li, span, div, nav, footer, header, button {
    font-family: 'PT Sans', sans-serif !important;
}

/* Ensures submenu inherits the same color */
nav ul ul li a {
  color: #005BA6 !important; /* or inherit if preferred */
}

nav ul ul li a:hover {
  color: #003f73 !important; /* optional: a darker hover version */
}
.wp-block-separator.full-width-separator {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%);
  height: 1px;
  background-color: #005BA6 !important;
  border: none;
  margin-top: 2rem;
  margin-bottom: 2rem;
}.wp-block-separator.full-width-separator {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  height: 1px !important;
  background-color: #005BA6 !important;
  border: none !important;
  display: block !important;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Remove bullets and align flags horizontally */
header li.lang-item {
  list-style: none !important;
  display: inline-block !important;
  margin: 0 5px !important;
  padding: 0 !important;
  vertical-align: middle;
}

/* Flag size */
header li.lang-item img {
  width: 23px !important;
  height: auto !important;
  display: inline-block !important;
}

/* Optional: hide current language flag */
header li.current-lang {
  display: none !important;
}
/* Hide Greek menu when HTML language is English */
html[lang="en-US"] nav.pll-lang-el {
  display: none !important;
}

/* Hide English menu when HTML language is Greek */
html[lang="el"] nav.pll-lang-en {
  display: none !important;
}

/* General header layout: align logo and menu in one row */
header .wp-block-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* for mobile responsiveness */
    padding: 0 20px; /* optional spacing */
}

/* Logo image styles 
.wp-block-site-logo img,
.custom-logo {
    height: auto;
    max-height: 120px;
    width: auto;
    object-fit: contain;
    display: block;
}

 Adjust logo size for desktop 
@media (min-width: 768px) {
    .wp-block-site-logo img,
    .custom-logo {
        max-height: 120px;
    }
}
*/
/* Adjust logo size for mobile */
@media (max-width: 767px) {
    .wp-block-site-logo img,
    .custom-logo {
        max-height: 45px;
    }

    header .wp-block-group {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.wp-block-columns.align-top > .wp-block-column {
  vertical-align: top;
}


/* Hide Greek blocks when in English */
body.pll-lang-en .pll-lang-el {
  display: none !important;
}

/* Hide English blocks when in Greek */
body.pll-lang-el .pll-lang-en {
  display: none !important;
}


body.pll-lang-el .pll-lang-en {
  display: none !important;
}

/* Για να μη σπάει η λέξη ΑΠΟΦΑΣΙΣΤΙΚΟΤΗΤΑ σε δύο σειρές */
.wp-block-heading.has-text-align-center.is-testimonial-name.has-large-font-size {
  white-space: nowrap;       /* μην επιτρέπεις αλλαγή γραμμής */
  word-break: keep-all;      /* διατήρησε τη λέξη ακέραιη */
  overflow-wrap: normal;     /* μην την "αναγκάζεις" να σπάσει */
}

/* Προαιρετικά - σε κινητά άφησέ το να σπάει αν δεν χωράει */
@media (max-width: 768px) {
  .wp-block-heading.has-text-align-center.is-testimonial-name.has-large-font-size {
    white-space: normal;
  }
}

/* ================================
   Custom background for 4 pages
   (Greenstead theme)
   ================================ */

/* Βασικό φόντο σελίδας */
.page-id-990,
.page-id-990 .wp-site-blocks,
.page-id-990 .wp-site-blocks > *,
.page-id-1153,
.page-id-1153 .wp-site-blocks,
.page-id-1153 .wp-site-blocks > *,
.page-id-2652,
.page-id-2652 .wp-site-blocks,
.page-id-2652 .wp-site-blocks > *,
.page-id-2653,
.page-id-2653 .wp-site-blocks,
.page-id-2653 .wp-site-blocks > * {
  background-color: #e5f4fa !important;
}

/* Ενοποίηση header + footer */
.page-id-990 footer,
.page-id-1153 footer,
.page-id-2652 footer,
.page-id-2653 footer,
.page-id-990 .wp-block-template-part[area="footer"],
.page-id-1153 .wp-block-template-part[area="footer"],
.page-id-2652 .wp-block-template-part[area="footer"],
.page-id-2653 .wp-block-template-part[area="footer"] {
  background-color: #e5f4fa !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Επαναφορά separator (λεπτή μπλε γραμμή) */
.page-id-990 footer .wp-block-separator,
.page-id-1153 footer .wp-block-separator,
.page-id-2652 footer .wp-block-separator,
.page-id-2653 footer .wp-block-separator {
  display: block !important;
  height: 2px !important;
  border: 0 !important;
  background: currentColor !important;
  opacity: 0.35 !important;
  margin: 1.5rem 0 !important;
}

/* Εξαφάνιση σκούρας λωρίδας κάτω από το footer */
.page-id-990 body::after,
.page-id-1153 body::after,
.page-id-2652 body::after,
.page-id-2653 body::after,
.page-id-990 .wp-site-blocks::after,
.page-id-1153 .wp-site-blocks::after,
.page-id-2652 .wp-site-blocks::after,
.page-id-2653 .wp-site-blocks::after,
.page-id-990 footer > .wp-block-group:last-child,
.page-id-1153 footer > .wp-block-group:last-child,
.page-id-2652 footer > .wp-block-group:last-child,
.page-id-2653 footer > .wp-block-group:last-child,
.page-id-990 .footer-credits,
.page-id-1153 .footer-credits,
.page-id-2652 .footer-credits,
.page-id-2653 .footer-credits,
.page-id-990 .site-info,
.page-id-1153 .site-info,
.page-id-2652 .site-info,
.page-id-2653 .site-info {
  border-top: 0 !important;
  box-shadow: none !important;
  background: #e5f4fa !important;
  content: none !important;
}

/* Διόρθωση jQuery UI Datepicker */
.page-id-990 #ui-datepicker-div,
.page-id-1153 #ui-datepicker-div,
.page-id-2652 #ui-datepicker-div,
.page-id-2653 #ui-datepicker-div,
.page-id-990 .ui-datepicker,
.page-id-1153 .ui-datepicker,
.page-id-2652 .ui-datepicker,
.page-id-2653 .ui-datepicker,
.page-id-990 .ui-widget-content,
.page-id-1153 .ui-widget-content,
.page-id-2652 .ui-widget-content,
.page-id-2653 .ui-widget-content {
  background: #e5f4fa !important;
  border: 0 !important;
  box-shadow: none !important;
}

.page-id-990 .ui-datepicker .ui-datepicker-header,
.page-id-1153 .ui-datepicker .ui-datepicker-header,
.page-id-2652 .ui-datepicker .ui-datepicker-header,
.page-id-2653 .ui-datepicker .ui-datepicker-header {
  background: #e5f4fa !important;
  border: 0 !important;
  box-shadow: none !important;
}

.page-id-990 .ui-state-hover, 
.page-id-990 .ui-state-focus, 
.page-id-990 .ui-state-active,
.page-id-1153 .ui-state-hover, 
.page-id-1153 .ui-state-focus, 
.page-id-1153 .ui-state-active,
.page-id-2652 .ui-state-hover, 
.page-id-2652 .ui-state-focus, 
.page-id-2652 .ui-state-active,
.page-id-2653 .ui-state-hover, 
.page-id-2653 .ui-state-focus, 
.page-id-2653 .ui-state-active {
  outline: none !important;
  box-shadow: none !important;
}

/* ================================
   Greenstead – Custom BG σε 4 σελίδες
   + οριστική εξαφάνιση της κάτω λωρίδας
   ================================ */

/* Φόντο + κάλυψη όλου του viewport */
.page-id-990,
.page-id-990 body,
.page-id-990 .wp-site-blocks,
.page-id-990 .wp-site-blocks > *,
.page-id-1153,
.page-id-1153 body,
.page-id-1153 .wp-site-blocks,
.page-id-1153 .wp-site-blocks > *,
.page-id-2652,
.page-id-2652 body,
.page-id-2652 .wp-site-blocks,
.page-id-2652 .wp-site-blocks > *,
.page-id-2653,
.page-id-2653 body,
.page-id-2653 .wp-site-blocks,
.page-id-2653 .wp-site-blocks > * {
  background-color: #e5f4fa !important;
}

.page-id-990 body,
.page-id-1153 body,
.page-id-2652 body,
.page-id-2653 body {
  margin: 0 !important;        /* μην αφήνεις περιθώρια που δημιουργούν γραμμή */
  min-height: 100vh !important; /* για να «πιάνει» το viewport */
}

.page-id-990 .wp-site-blocks,
.page-id-1153 .wp-site-blocks,
.page-id-2652 .wp-site-blocks,
.page-id-2653 .wp-site-blocks {
  min-height: 100vh !important; /* γεμίζει όλο το ύψος */
}

/* Αν το browser υποστηρίζει :has, βάψε και το html μόνο σε αυτές τις σελίδες */
@supports selector(:has(body)) {
  html:has(body.page-id-990),
  html:has(body.page-id-1153),
  html:has(body.page-id-2652),
  html:has(body.page-id-2653) {
    background-color: #e5f4fa !important;
  }
}

/* Ενοποίηση footer */
.page-id-990 footer,
.page-id-1153 footer,
.page-id-2652 footer,
.page-id-2653 footer,
.page-id-990 .wp-block-template-part[area="footer"],
.page-id-1153 .wp-block-template-part[area="footer"],
.page-id-2652 .wp-block-template-part[area="footer"],
.page-id-2653 .wp-block-template-part[area="footer"] {
  background-color: #e5f4fa !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Διατήρηση separator (λεπτή μπλε γραμμή) μέσα στο footer */
.page-id-990 footer .wp-block-separator,
.page-id-1153 footer .wp-block-separator,
.page-id-2652 footer .wp-block-separator,
.page-id-2653 footer .wp-block-separator {
  display: block !important;
  height: 2px !important;
  border: 0 !important;
  background: currentColor !important;
  opacity: 0.35 !important;
  margin: 1.5rem 0 !important;
}

/* Μηδένισε πιθανά border-top στο πολύ κάτω μέρος */
.page-id-990 footer > .wp-block-group:last-child,
.page-id-1153 footer > .wp-block-group:last-child,
.page-id-2652 footer > .wp-block-group:last-child,
.page-id-2653 footer > .wp-block-group:last-child,
.page-id-990 .footer-credits,
.page-id-1153 .footer-credits,
.page-id-2652 .footer-credits,
.page-id-2653 .footer-credits,
.page-id-990 .site-info,
.page-id-1153 .site-info,
.page-id-2652 .site-info,
.page-id-2653 .site-info {
  border-top: 0 !important;
  box-shadow: none !important;
  background: #e5f4fa !important;
}

/* jQuery UI Datepicker (να μη «γράφει» σκούρα γραμμή) */
.page-id-990 #ui-datepicker-div,
.page-id-1153 #ui-datepicker-div,
.page-id-2652 #ui-datepicker-div,
.page-id-2653 #ui-datepicker-div,
.page-id-990 .ui-datepicker,
.page-id-1153 .ui-datepicker,
.page-id-2652 .ui-datepicker,
.page-id-2653 .ui-datepicker,
.page-id-990 .ui-widget-content,
.page-id-1153 .ui-widget-content,
.page-id-2652 .ui-widget-content,
.page-id-2653 .ui-widget-content {
  background: #e5f4fa !important;
  border: 0 !important;
  box-shadow: none !important;
}

.page-id-990 .ui-datepicker .ui-datepicker-header,
.page-id-1153 .ui-datepicker .ui-datepicker-header,
.page-id-2652 .ui-datepicker .ui-datepicker-header,
.page-id-2653 .ui-datepicker .ui-datepicker-header {
  background: #e5f4fa !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* Πεζά γράμματα σε όλα τα menu links */
.wp-block-navigation a,
.wp-block-navigation-item__label {
  text-transform: none !important;
}

/* Κουμπί για Δωρεά / Donate */
.wp-block-navigation-item__content[href="https://eig-foundation.com/donate/"],
.wp-block-navigation-item__content[href="https://eig-foundation.com/el/donate-2/"] {
  background-color: #005ba7 !important; /* μπλε EIG */
  color: #ffffff !important;
  padding: 8px 20px !important;
  border-radius: 999px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: none !important;
  box-shadow: none !important;
}

/* Hover effect */
.wp-block-navigation-item__content[href="https://eig-foundation.com/donate/"]:hover,
.wp-block-navigation-item__content[href="https://eig-foundation.com/el/donate-2/"]:hover {
  background-color: #0072d1 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

@media (min-width: 782px) {
  /* Πιάνει μόνο το δεξί ελληνικό column όταν έχεις βάλει την κλάση */
  .wp-block-columns .wp-block-column.gr-scholar-text > p:first-child {
    margin-top: 0 !important;
  }
  /* Plan B - αν οφείλεται στο ίδιο το column αντί για το p */
  .wp-block-columns .wp-block-column.gr-scholar-text {
    margin-top: -10px; /* ρύθμισέ το -6 έως -12 */
  }
}

@media (max-width: 767px) {
	.padding-for-mobile {
		padding-left: 20px;
	}
	.padding-for-mobile-35 {
		padding-left: 38px;
	}
}

/* Adjust logo size for mobile */
@media (max-width: 767px) {
	.header-site-logo img {
		max-height: fit-content;
	}
}
/* Container */
.eig-newsletter-full {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: left; /* Align left */
    padding-top: 20px;
    margin-bottom: 60px; /* Extra space from content below */
}

/* Title */
.eig-newsletter-title {
    color: #005ba7;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Form layout */
.eig-newsletter-full form {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* Jetpack-style Input */
.eig-newsletter-full input[type="email"] {
    flex: 1;
    height: 50px;
    padding: 15px 23px;
    font-size: 16px;
    border: 1px solid #c8c8c8;
    border-radius: 0;
    box-sizing: border-box;
}

/* Jetpack-style Button */
.eig-newsletter-full button {
    height: 50px;
    padding: 15px 23px;
    font-size: 16px;
    font-weight: 600;
    background: #ffffff;
    color: #005baa;
    border: 1px solid #c8c8c8;
    border-radius: 0;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.eig-newsletter-full button:hover {
    background: #f0f0f0;
}

/* Anti-bot field hidden */
.eig-newsletter-full .anti-bot {
    position: absolute;
    left: -9999px;
}
.eig-newsletter-full {
    margin-bottom: 40px !important;
}
/* Responsive: newsletter form */
@media (max-width: 768px) {
  .eig-newsletter-full form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .eig-newsletter-full input[type="email"] {
    width: 100%;
    font-size: 18px;
    height: 55px;
  }

  .eig-newsletter-full button {
    width: 100%;
    height: 55px;
    font-size: 18px;
  }
}

