/* Additive fixes for the frozen snapshot. Loaded last on every page, so it can
   only override, never restructure.

   1. Tablet / small-laptop header (576–991px). The fixed header shrink-wrapped
      to its content (867px at a 768px viewport) and the hamburger sat at x=810,
      i.e. outside the clipped area, so the menu could not be opened at all in
      that range. Pinning the header to the viewport brings the toggle back and
      lets the drawer use the full width.
  2. Keyboard focus stays visible on the dark header/footer.                   */

@media (max-width: 991.98px) {
  .l-primary-header {
    width: 100% !important;
    max-width: 100vw !important;
  }
  .l-primary-header--responsive__nav {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden;
  }
  .l-primary-header--responsive__nav ul.menu,
  .l-primary-header--responsive__nav nav {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.l-primary-header a:focus-visible,
.l-primary-footer a:focus-visible,
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* 3. Contrast: the theme paints card excerpts and sidebar dates #888 on white
   (3.54:1, below the 4.5:1 AA minimum for body text). #5f5f5f is 6.4:1 and
   visually the same weight of grey. */
.o-blog-post__content p,
.o-blog-post__meta,
span.post-date,
.widget .post-date,
#recent-posts-2 .post-date,
#text-2 .textwidget p,
.l-primary-footer__copyright__text p {
  color: #5f5f5f !important;
}

/* The theme's accent green (#02c39a) on the #f7f8f9 footer panel is 2.1:1 —
   unreadable for the contact link. Darkened to 4.6:1 for text only; buttons,
   headings and every other use of the accent are untouched. */
#text-2 .textwidget p a {
  color: #08755c !important;
}

/* 4. /as-epikoinonisoyme/ (page-id-10388): the map column is gone, so the two
   remaining contact cards fill the row and their text is centred. */
.page-id-10388 .elementor-widget-image-box,
.page-id-10388 .elementor-image-box-wrapper,
.page-id-10388 .elementor-image-box-content {
  text-align: center;
}
.page-id-10388 .elementor-image-box-img {
  margin-left: auto;
  margin-right: auto;
}
.page-id-10388 .elementor-image-box-title,
.page-id-10388 .elementor-image-box-description {
  text-align: center;
}
/* full-bleed was too wide for two short lines: keep the row centred but let the
   panel sit at a readable measure */
@media (min-width: 992px) {
  .page-id-10388 .elementor-element-e98c6d8 {
    max-width: 760px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    /* the column kept the min-height it needed for the map */
    min-height: auto !important;
  }
  .page-id-10388 .elementor-element-e98c6d8 .elementor-element-populated {
    min-height: auto !important;
  }
}
