/* SYNPE Exact Header - matches screenshot proportions */
.synpe-xh-header,
.synpe-xh-header * {
  box-sizing: border-box;
  font-family: "Manrope", Arial, sans-serif !important;
}

.synpe-xh-header {
  width: 100%;
  position: relative;
  z-index: 999999;
  background: #ffffff;
  margin: 0;
  padding: 0;
}

.synpe-xh-topbar {
  height: 31px;
  min-height: 31px;
  background: #015fc9;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.synpe-xh-topbar-inner {
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
  padding: 0 14px;
}

.synpe-xh-toplink {
  color: #ffffff !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 31px;
  letter-spacing: 0;
  opacity: 1;
  white-space: nowrap;
}

.synpe-xh-toplink:hover {
  color: #ffffff !important;
  opacity: .82;
}

.synpe-xh-topicon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.synpe-xh-topicon svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}

.synpe-xh-mainbar {
  height: 60px;
  min-height: 60px;
  position: relative;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: none;
}

.synpe-xh-logo-wrap {
  position: absolute;
  left: 31px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 52px;
  z-index: 4;
}

.synpe-xh-logo {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  border: 0 !important;
}

.synpe-xh-logo img {
  display: block;
  width: 197px;
  max-width: 197px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.synpe-xh-nav {
  height: 53px;
  min-height: 53px;
  background: #f3f6fa;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  box-shadow: none;
}

.synpe-xh-menu-list,
.synpe-xh-menu-list ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.synpe-xh-menu-list {
  height: 53px;
  min-height: 53px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.synpe-xh-menu-list > li {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  height: 53px;
  min-height: 53px;
  display: flex;
  align-items: stretch;
}

.synpe-xh-menu-list > li > a {
  color: #647080 !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 53px;
  height: 53px;
  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 13px !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 1 !important;
  transition: color .16s ease, background .16s ease;
}

.synpe-xh-menu-list > li:first-child > a {
  width: 45px;
  min-width: 45px;
  padding: 0 !important;
  font-size: 0 !important;
  color: #8b96a5 !important;
}

.synpe-xh-menu-list > li:first-child > a:before {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>') center / contain no-repeat;
}

.synpe-xh-menu-list > li > a:hover,
.synpe-xh-menu-list > li:hover > a {
  color: #015fc9 !important;
  opacity: 1 !important;
}

.synpe-xh-menu-list > li.menu-item-has-children > a:after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .75;
}

.synpe-xh-menu-list > li.current-menu-item > a,
.synpe-xh-menu-list > li.current-menu-ancestor > a,
.synpe-xh-menu-list > li.current_page_item > a,
.synpe-xh-menu-list > li.current_page_ancestor > a,
.synpe-xh-menu-list > li > a[href*="epikoinonia"],
.synpe-xh-menu-list > li > a[href*="contact"] {
  background: #015fc9 !important;
  color: #ffffff !important;
}

.synpe-xh-menu-list > li:last-child > a,
.synpe-xh-menu-list > li > a[href*="epikoinonia"],
.synpe-xh-menu-list > li > a[href*="contact"] {
  border-radius: 0 7px 7px 0 !important;
  background: #015fc9 !important;
  color: #ffffff !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.synpe-xh-menu-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 0 0 8px 8px;
  padding: 8px 0 !important;
  margin: 0 !important;
  box-shadow: 0 15px 35px rgba(22, 36, 61, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
  z-index: 1000000;
}

.synpe-xh-menu-list > li:nth-last-child(-n+3) > .sub-menu {
  left: auto;
  right: 0;
}

.synpe-xh-menu-list li:hover > .sub-menu,
.synpe-xh-menu-list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.synpe-xh-menu-list .sub-menu li {
  display: block;
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.synpe-xh-menu-list .sub-menu a {
  display: block;
  width: 100%;
  color: #647080 !important;
  background: #ffffff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  padding: 10px 18px !important;
  margin: 0 !important;
}

.synpe-xh-menu-list .sub-menu a:hover {
  color: #015fc9 !important;
  background: #f4f8ff !important;
}

.synpe-xh-menu-list .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  border-radius: 8px;
}

.synpe-xh-menu-list > li:nth-last-child(-n+3) .sub-menu .sub-menu {
  left: auto;
  right: 100%;
}

.synpe-xh-phone-wrap {
  position: absolute;
  right: 31px;
  top: 50%;
  transform: translateY(-50%);
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 4;
}

.synpe-xh-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #16243d !important;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1;
}

.synpe-xh-phone-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #015fc9;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.synpe-xh-phone-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

.synpe-xh-phone-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.05;
}

.synpe-xh-phone-text strong {
  color: #16243d !important;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.synpe-xh-phone-text small {
  color: #8b96a5 !important;
  font-size: 10px;
  font-weight: 500;
  margin-top: 5px;
  line-height: 1;
}

.synpe-xh-burger {
  display: none;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 36px;
  border: 0;
  background: #015fc9;
  border-radius: 7px;
  padding: 8px 9px;
  cursor: pointer;
  z-index: 8;
}

.synpe-xh-burger span {
  display: block;
  height: 2px;
  background: #ffffff;
  margin: 4px 0;
  border-radius: 999px;
}

@media (max-width: 1500px) {
  .synpe-xh-menu-list > li > a {
    font-size: 11.5px;
    padding: 0 10px !important;
  }

  .synpe-xh-menu-list > li:last-child > a,
  .synpe-xh-menu-list > li > a[href*="epikoinonia"],
  .synpe-xh-menu-list > li > a[href*="contact"] {
    padding-left: 13px !important;
    padding-right: 13px !important;
  }
}

@media (max-width: 1220px) {
  .synpe-xh-logo-wrap { left: 18px; }
  .synpe-xh-logo img { width: 170px; max-width: 170px; }
  .synpe-xh-phone-wrap { right: 18px; }
  .synpe-xh-phone-text strong { font-size: 16px; }
  .synpe-xh-phone-icon { width: 36px; height: 36px; min-width: 36px; }
  .synpe-xh-menu-list > li > a { font-size: 11px; padding: 0 8px !important; }
  .synpe-xh-menu-list > li:first-child > a { width: 38px; min-width: 38px; }
}

@media (max-width: 1040px) {
  .synpe-xh-mainbar {
    height: 67px;
    min-height: 67px;
    justify-content: flex-start;
  }

  .synpe-xh-logo-wrap {
    left: 15px;
  }

  .synpe-xh-logo img {
    width: 190px;
    max-width: 190px;
  }

  .synpe-xh-phone-wrap {
    display: none;
  }

  .synpe-xh-burger {
    display: block;
  }

  .synpe-xh-nav {
    display: none;
    position: absolute;
    left: 15px;
    right: 15px;
    top: calc(100% + 6px);
    height: auto;
    min-height: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 16px 45px rgba(22,36,61,.18);
    padding: 8px 0;
    z-index: 1000000;
  }

  .synpe-xh-header.synpe-xh-open .synpe-xh-nav {
    display: block;
  }

  .synpe-xh-menu-list {
    display: block;
    height: auto;
    min-height: 0;
  }

  .synpe-xh-menu-list > li {
    display: block;
    height: auto;
    min-height: 0;
  }

  .synpe-xh-menu-list > li:first-child > a,
  .synpe-xh-menu-list > li > a,
  .synpe-xh-menu-list > li:last-child > a,
  .synpe-xh-menu-list > li > a[href*="epikoinonia"],
  .synpe-xh-menu-list > li > a[href*="contact"] {
    width: 100%;
    height: auto;
    min-height: 0;
    line-height: 1.3;
    justify-content: flex-start;
    font-size: 14px !important;
    color: #3d4655 !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    padding: 13px 18px !important;
  }

  .synpe-xh-menu-list > li:first-child > a:before {
    content: "Αρχική";
    width: auto;
    height: auto;
    -webkit-mask: none;
            mask: none;
    background: transparent;
    color: #3d4655;
    font-size: 14px;
  }

  .synpe-xh-menu-list .sub-menu,
  .synpe-xh-menu-list > li:nth-last-child(-n+3) > .sub-menu,
  .synpe-xh-menu-list .sub-menu .sub-menu,
  .synpe-xh-menu-list > li:nth-last-child(-n+3) .sub-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: #f8fbff !important;
    padding: 0 !important;
    min-width: 0;
    display: block;
  }

  .synpe-xh-menu-list .sub-menu a {
    background: #f8fbff !important;
    padding-left: 34px !important;
  }
}

@media (max-width: 520px) {
  .synpe-xh-topbar-inner {
    gap: 14px;
  }
  .synpe-xh-toplink {
    font-size: 11px;
  }
  .synpe-xh-mainbar {
    height: 62px;
    min-height: 62px;
  }
  .synpe-xh-logo img {
    width: 172px;
    max-width: 172px;
  }
}
