/*
 * Holistic Life newsletter styles.
 * 1. Home: the sign-up bar under the hero (#block-ce12876aff).
 * 2. Newsletter popup (ruler-popup #5812).
 * Fonts are left to the theme on purpose.
 */

/* ------------------------------------------------------------------ */
/* 1. Home newsletter bar                                              */
/* ------------------------------------------------------------------ */
#block-ce12876aff {
  --hl-bar-bg: #edefe9;
  --hl-bar-ink: #1b1d1a;
  --hl-bar-green: #8ac29d;
  --hl-bar-green-dark: #74b088;

  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 13px 20px !important;
  min-height: 70px;
  background: var(--hl-bar-bg) !important;
  box-sizing: border-box;
}

/* tagline column */
#block-ce12876aff > #block-3134119896 {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

/* right column: holds label + form */
#block-ce12876aff > #block-OFu33nkv8F {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

#block-ce12876aff #block-f5116cec9a {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* "Εγγραφή στο Newsletter" with the divider in front of it */
#block-ce12876aff #block-341eb7ae95 {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 26px 0 0 !important;
  border: 0 !important;
}
#block-ce12876aff #block-341eb7ae95::before {
  content: "";
  display: block;
  width: 1.5px;
  height: 26px;
  margin: 0 28px 0 28px;
  background: var(--hl-bar-ink);
  flex: none;
}

#block-ce12876aff #block-EPcdjZhY1a,
#block-ce12876aff #block-a6b856d543 {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--hl-bar-ink) !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
  white-space: nowrap;
}

/* form column */
#block-ce12876aff #block-77293d25c4 {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

#block-ce12876aff #wpforms-5828,
#block-ce12876aff #wpforms-5828 form {
  margin: 0 !important;
  padding: 0 !important;
}
#block-ce12876aff #wpforms-5828 form {
  display: flex;
  align-items: center;
  gap: 22px;
}
#block-ce12876aff #wpforms-5828 .wpforms-field-container {
  flex: 1 1 auto;
  min-width: 0;
}
/* reCAPTCHA v3 holder is empty but would still take a flex gap */
#block-ce12876aff #wpforms-5828 .wpforms-recaptcha-container {
  position: absolute !important;
  width: 0;
  height: 0;
  overflow: hidden;
}
#block-ce12876aff #wpforms-5828 .wpforms-field-email {
  padding: 0 !important;
  margin: 0 !important;
}
#block-ce12876aff #wpforms-5828 input[type="email"] {
  width: 100% !important;
  max-width: none !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  background: #fff !important;
  border: 1px solid var(--hl-bar-green) !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  color: var(--hl-bar-ink) !important;
  font-size: 17px !important;
}
#block-ce12876aff #wpforms-5828 input[type="email"]::placeholder {
  color: #b9bdb7;
  opacity: 1;
}
#block-ce12876aff #wpforms-5828 input[type="email"]:focus {
  border-color: var(--hl-bar-green-dark) !important;
  box-shadow: 0 0 0 3px rgba(138, 194, 157, .25) !important;
  outline: none !important;
}
#block-ce12876aff #wpforms-5828 .wpforms-submit-container {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
}
#block-ce12876aff #wpforms-5828 button.wpforms-submit {
  height: 44px !important;
  min-width: 130px;
  margin: 0 !important;
  padding: 0 24px !important;
  background: var(--hl-bar-green) !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  transition: background-color .2s ease;
}
#block-ce12876aff #wpforms-5828 button.wpforms-submit:hover,
#block-ce12876aff #wpforms-5828 button.wpforms-submit:focus-visible {
  background: var(--hl-bar-green-dark) !important;
}
/* validation message sits under the field without pushing the bar open */
#block-ce12876aff #wpforms-5828 .wpforms-field-container { position: relative; }
#block-ce12876aff #wpforms-5828 em.wpforms-error,
#block-ce12876aff #wpforms-5828 label.wpforms-error {
  position: absolute;
  left: 0;
  top: calc(100% + 2px);
  font-size: 12px;
}
#block-ce12876aff .wpforms-confirmation-container-full {
  margin: 0 !important;
  padding: 10px 14px !important;
  font-size: 15px;
}

/* tighter type on smaller desktops */
@media (max-width: 1280px) {
  #block-ce12876aff #block-EPcdjZhY1a,
  #block-ce12876aff #block-a6b856d543 { font-size: 18px !important; }
  #block-ce12876aff #block-341eb7ae95::before { margin: 0 20px; }
  #block-ce12876aff #block-341eb7ae95 { padding-right: 20px !important; }
  #block-ce12876aff #wpforms-5828 form { gap: 14px; }
}

/* tablet: tagline on its own line, sign-up row below */
@media (max-width: 1024px) {
  #block-ce12876aff {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 18px 20px !important;
  }
  #block-ce12876aff > #block-3134119896 { text-align: center; }
  #block-ce12876aff #block-EPcdjZhY1a { white-space: normal; }
  #block-ce12876aff #block-341eb7ae95::before { display: none; }
}

/* phone: everything stacked and centred */
@media (max-width: 640px) {
  #block-ce12876aff #block-f5116cec9a {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  #block-ce12876aff #block-341eb7ae95 {
    justify-content: center;
    padding: 0 !important;
  }
  #block-ce12876aff #block-EPcdjZhY1a,
  #block-ce12876aff #block-a6b856d543 { font-size: 17px !important; }
  #block-ce12876aff #block-a6b856d543 { font-weight: 600; }
  #block-ce12876aff #wpforms-5828 form { gap: 10px; }
  #block-ce12876aff #wpforms-5828 button.wpforms-submit { min-width: 0; padding: 0 18px !important; }
}

/* ------------------------------------------------------------------ */
/* 2. Newsletter popup                                                 */
/* ------------------------------------------------------------------ */
#rpu-wrap-5812 {
  --hl-pop-ink: #0f1b21;
  --hl-pop-muted: #56636b;
  --hl-pop-line: #d3d9dd;
  --hl-pop-teal: #146b7b;
  --hl-pop-teal-dark: #0f5764;
  padding: 20px !important;
}

#rpu-wrap-5812 .rpu-inner {
  width: min(1100px, calc(100vw - 40px)) !important;
  max-width: 100% !important;
  border-radius: 26px !important;
  box-shadow: 0 30px 80px rgba(15, 27, 33, .22), 0 4px 18px rgba(15, 27, 33, .08) !important;
  background: #fbfcfb !important;
  overflow: hidden;
}

/* image column */
#rpu-wrap-5812 .rpu-side {
  flex: 0 0 41% !important;
  background-size: cover !important;
  background-position: left center !important;
  min-height: 600px;
}

/* content column */
#rpu-wrap-5812 .rpu-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(120% 60% at 100% 100%, rgba(120, 160, 110, .10), transparent 60%),
    #fbfcfb;
}
#rpu-wrap-5812 .rpu-content {
  padding: 72px 64px 56px 72px !important;
  color: var(--hl-pop-ink) !important;
}
#rpu-wrap-5812 .rpu-content > .nectar-blocks-row,
#rpu-wrap-5812 .rpu-content .nectar-blocks-column {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* heading */
#rpu-wrap-5812 #block-d27c3995a9 {
  margin: 0 !important;
  color: var(--hl-pop-ink) !important;
  font-size: clamp(36px, 4.3vw, 60px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em;
}

/* intro */
#rpu-wrap-5812 #block-e4k5TEOzcY {
  margin: 26px 0 0 !important;
  color: var(--hl-pop-muted) !important;
  font-size: clamp(17px, 1.6vw, 22px) !important;
  line-height: 1.45 !important;
}

/* form */
#rpu-wrap-5812 #wpforms-5813 {
  margin: 34px 0 0 !important;
  padding: 0 !important;
}
#rpu-wrap-5812 #wpforms-5813 form { margin: 0 !important; }
#rpu-wrap-5812 #wpforms-5813 .wpforms-field-container { position: relative; }
#rpu-wrap-5812 #wpforms-5813 .wpforms-field-email {
  padding: 0 !important;
  margin: 0 !important;
}
#rpu-wrap-5812 #wpforms-5813 input[type="email"] {
  width: 100% !important;
  max-width: none !important;
  height: 60px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  background: #fff !important;
  border: 1px solid var(--hl-pop-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: var(--hl-pop-ink) !important;
  font-size: 19px !important;
}
#rpu-wrap-5812 #wpforms-5813 input[type="email"]::placeholder {
  color: #7e8a91;
  opacity: 1;
}
#rpu-wrap-5812 #wpforms-5813 input[type="email"]:focus {
  border-color: var(--hl-pop-teal) !important;
  box-shadow: 0 0 0 3px rgba(20, 107, 123, .15) !important;
  outline: none !important;
}
#rpu-wrap-5812 #wpforms-5813 .wpforms-submit-container {
  margin: 14px 0 0 !important;
  padding: 0 !important;
}
#rpu-wrap-5812 #wpforms-5813 button.wpforms-submit {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100% !important;
  height: 62px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  background: var(--hl-pop-teal) !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-size: 21px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  transition: background-color .2s ease;
}
#rpu-wrap-5812 #wpforms-5813 button.wpforms-submit::after {
  content: "";
  width: 28px;
  height: 16px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 8h25M19 1l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 8h25M19 1l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
#rpu-wrap-5812 #wpforms-5813 button.wpforms-submit:hover,
#rpu-wrap-5812 #wpforms-5813 button.wpforms-submit:focus-visible {
  background: var(--hl-pop-teal-dark) !important;
}
#rpu-wrap-5812 #wpforms-5813 button.wpforms-submit:hover::after { transform: translateX(4px); }
#rpu-wrap-5812 #wpforms-5813 .wpforms-submit-spinner { display: none !important; }
#rpu-wrap-5812 #wpforms-5813 em.wpforms-error,
#rpu-wrap-5812 #wpforms-5813 label.wpforms-error { margin-top: 6px; font-size: 13px; }

/* small print */
#rpu-wrap-5812 #block-xaBv1CQ79n {
  margin: 20px 0 0 !important;
  text-align: center;
  color: var(--hl-pop-muted) !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
}

/* close button: thin X */
#rpu-wrap-5812 .rpu-close {
  top: 26px !important;
  right: 28px !important;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  font-size: 0 !important;
  color: #2a353b !important;
  z-index: 3;
  border-radius: 50%;
  transition: background-color .2s ease;
}
#rpu-wrap-5812 .rpu-close::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  margin: auto;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 3l24 24M27 3L3 27'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 3l24 24M27 3L3 27'/%3E%3C/svg%3E") center / contain no-repeat;
}
#rpu-wrap-5812 .rpu-close:hover { background: rgba(15, 27, 33, .06); }

@media (max-width: 1099.98px) {
  #rpu-wrap-5812 .rpu-content { padding: 56px 44px 44px 48px !important; }
  #rpu-wrap-5812 .rpu-side { min-height: 520px; }
}

/* tablet portrait: smaller image column */
@media (max-width: 860px) {
  #rpu-wrap-5812 .rpu-side { flex-basis: 36% !important; }
  #rpu-wrap-5812 .rpu-content { padding: 52px 32px 36px 36px !important; }
}

/* phone: image becomes a short banner on top */
@media (max-width: 600px) {
  #rpu-wrap-5812 { padding: 12px !important; }
  #rpu-wrap-5812 .rpu-inner {
    width: calc(100vw - 24px) !important;
    border-radius: 20px !important;
    max-height: calc(100vh - 24px) !important;
  }
  #rpu-wrap-5812 .rpu-side {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: 170px;
    background-position: 20% 22% !important;
  }
  #rpu-wrap-5812 .rpu-content { padding: 28px 22px 24px !important; }
  #rpu-wrap-5812 #block-d27c3995a9 { font-size: 32px !important; }
  #rpu-wrap-5812 #block-e4k5TEOzcY { margin-top: 14px !important; font-size: 16px !important; }
  #rpu-wrap-5812 #wpforms-5813 { margin-top: 22px !important; }
  #rpu-wrap-5812 #wpforms-5813 input[type="email"] { height: 52px !important; font-size: 17px !important; }
  #rpu-wrap-5812 #wpforms-5813 button.wpforms-submit { height: 54px !important; font-size: 18px !important; }
  #rpu-wrap-5812 #block-xaBv1CQ79n { font-size: 14px !important; margin-top: 14px !important; }
  #rpu-wrap-5812 .rpu-close {
    top: 10px !important;
    right: 10px !important;
    background: rgba(255, 255, 255, .85);
    color: #0f1b21 !important;
  }
  #rpu-wrap-5812 .rpu-close::before { width: 20px; height: 20px; }
}

/* ------------------------------------------------------------------ */
/* 3. Header social links as icons (Social menu: .hl-social--*)        */
/* ------------------------------------------------------------------ */
#top .hl-social > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  color: inherit;
  opacity: .78;
  transition: opacity .2s ease;
}
#top .hl-social > a:hover,
#top .hl-social > a:focus-visible { opacity: 1; }
#top .hl-social > a .menu-title-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
#top .hl-social > a::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask: var(--hl-icon) center / contain no-repeat;
          mask: var(--hl-icon) center / contain no-repeat;
}
#top .hl-social > a::after { display: none !important; }
#top .hl-social--instagram {
  --hl-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Ccircle cx='17.4' cy='6.6' r='1.1' fill='%23000' stroke='none'/%3E%3C/svg%3E");
}
#top .hl-social--facebook {
  --hl-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-7.6h2.6l.4-3h-3V8.5c0-.9.3-1.5 1.5-1.5h1.6V4.3c-.3 0-1.2-.1-2.3-.1-2.3 0-3.9 1.4-3.9 4v2.2H7.8v3h2.6V21h3.1z'/%3E%3C/svg%3E");
}
#top #menu-social { display: flex; align-items: center; gap: 6px; }
#top #menu-social > li { margin: 0 !important; padding: 0 !important; }
#top #menu-social > li > a { margin: 0 !important; }

/* ------------------------------------------------------------------ */
/* 4. Account page (/logariasmos/): centred page title                 */
/* ------------------------------------------------------------------ */
body.page-id-5652 .page-header-no-bg .section-title,
body.page-id-5652 .page-header-no-bg .section-title h1 {
  text-align: center !important;
}
body.page-id-5652 .page-header-no-bg .section-title { float: none; width: 100%; }

/* ------------------------------------------------------------------ */
/* 5. Homepage mobile: issue buttons row wraps instead of overflowing  */
/* ------------------------------------------------------------------ */
@media (max-width: 690px) {
  #block-34788c9a01 { flex-wrap: wrap !important; gap: 12px !important; }
  #block-34788c9a01 > .nectar-blocks-button { max-width: 100%; }
}

/* ------------------------------------------------------------------ */
/* 6. Header bar: items with class "hl-ocm-only" (Σχετικά, Περιοδικό)  */
/*    appear only in the off-canvas menu                               */
/* ------------------------------------------------------------------ */
#top .hl-ocm-only { display: none !important; }

/* ------------------------------------------------------------------ */
/* 7. Off-canvas menu: smaller type                                    */
/* ------------------------------------------------------------------ */
#slide-out-widget-area .off-canvas-menu-container ul.menu > li > a {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.3 !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
#slide-out-widget-area .off-canvas-menu-container .sub-menu a {
  font-size: 15px !important;
  line-height: 1.4 !important;
}
/* mobile: Nectar copies the header menu (+ socials) into the panel; the
   off-canvas menu is the same "Main Menu", so drop the duplicate list */
@media (max-width: 1024px) {
  #slide-out-widget-area .off-canvas-menu-container:not(.mobile-only) { display: none !important; }
}
