:root {
  --primary: #1d3a8a;
  --primary-dark: #091e41;
  --primary-light: #e8eff4;
  --text-dark: #1f2a44;
  --text-accent: rgb(80, 120, 149);
  --text-light: #575d68;
  --accent: #69c9fd;
  --white: #ffffff;
  --bg-light: #f4f6f9;

  --radius: 999px;
  --transition: 0.3s ease;

  --space-xxs: 5px;
  --space-xs: 10px;
  --space-sm: 20px;
  --space-md: calc(40px + 2vw);
  --space-lg: calc(60px + 2vw);
  --space-xl: calc(80px + 2vw);

  --space-1: 5px;
  --space-2: 10px;
  --space-3: 20px;
  --space-4: 40px;
  --space-5: 60px;
  --space-6: 100px;

  --text-md: 16px;
  --text-lg: 20px;
}

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300..800;1,300..800&display=swap');

/* RESET */
html {
  font-size: 62.5%;
  direction: ltr;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Ubuntu', system-ui;
  font-weight: 400;
  line-height: 1.42857143;
  font-size: 1.6rem;
  margin: 0;
}

/* HELPERS */
/* MARGIN TOP */
.mt-xxs {
  margin-top: var(--space-xxs);
}
.mt-xs {
  margin-top: var(--space-xs);
}
.mt-sm {
  margin-top: var(--space-sm);
}
.mt-md {
  margin-top: var(--space-md);
}
.mt-lg {
  margin-top: var(--space-lg);
}
.mt-xl {
  margin-top: var(--space-xl);
}

/* MARGIN BOTTOM */
.mb-xxs {
  margin-bottom: var(--space-xxs);
}
.mb-xs {
  margin-bottom: var(--space-xs);
}
.mb-sm {
  margin-bottom: var(--space-sm);
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.mb-xl {
  margin-bottom: var(--space-xl);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  margin-top: 0;
  margin-bottom: var(--space-3);
  color: var(--text-dark);
  line-height: 1.4;
}

h1 {
  font-size: clamp(28px, 4vw, 42px);
}

h2 {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.3px;
}

h3 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  letter-spacing: -0.25px;
}

h4 {
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.2px;
}

h5 {
  font-size: clamp(16px, 1.8vw, 18px);
}

h6 {
  font-size: clamp(14px, 1.5vw, 16px);
}

p {
  /* font-size: 1.4rem; */
}

.no-scroll {
  overflow: hidden;
}

/* LANGUAGE SWITCH */
.lang-switch {
  display: flex;
  gap: 7.5px;
  align-items: center;

  .delimiter {
    color: rgba(255, 255, 255, 0.25);
  }
  .lang {
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);

    &.active {
      opacity: 1;
      font-weight: 600;
      color: var(--accent);
    }

    &:hover {
      opacity: 1;
    }
  }
}

/* HEADER */
.header {
  background: var(--white);
  padding: 2.5rem 0;

  .logo-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 25px;
    padding-left: calc(100px + 2vw);

    .logo {
      position: absolute;
      left: 0;
      bottom: -75px;
      display: flex;
      align-items: center;
      gap: 15px;
      border-radius: 50%;
      background-color: #fff;
      overflow: hidden;
      z-index: 2;

      img {
        max-width: calc(100px + 2vw);
        border: 5px solid #fff;
      }
    }

    .logo-text {
      font-size: 14px;
      font-weight: 400;
      line-height: 1.4;
      color: var(--text-dark);
      text-decoration: none;
      padding-left: 5px;
      margin-bottom: -1px;

      span {
        font-weight: 600;
        color: var(--primary);
      }
    }
  }

  .header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;

    .btn-login {
      text-decoration: none;
      color: var(--primary-dark);
      font-weight: 500;
      background: var(--primary-light);
      border: none;
      padding: 8px 2.5rem;
      border-radius: var(--radius);
      font-size: 14px;
      cursor: pointer;
      transition: var(--transition);

      &:hover {
        background: var(--primary);
        color: white;
      }
    }

    /* BURGER */
    .burger {
      width: 25px;
      cursor: pointer;

      span {
        display: block;
        height: 2px;
        background: var(--text-dark);
        margin: 5px 0;
        transition: var(--transition);
      }

      &.active {
        span:nth-child(1) {
          transform: rotate(45deg) translate(5px, 5px);
        }

        span:nth-child(2) {
          opacity: 0;
        }

        span:nth-child(3) {
          transform: rotate(-45deg) translate(5px, -5px);
        }
      }
    }
  }

  .lang-switch .delimiter {
    color: #000;
  }
  .lang-switch .lang {
    &.active {
      color: var(--primary);
    }
  }
}

@media (max-width: 991px) {
  .header .logo-text {
    position: absolute;
    width: max-content;
    top: -8px;
  }
}
@media (max-width: 768px) {
  .logo-container .logo-text {
    display: none;
  }
}
@media (max-width: 580px) {
  .header .header-actions .lang-switch {
    display: none;
  }
  .header .header-actions .burger {
    width: 32.5px;
    padding-right: 7.5px;
  }
}

/* HERO */
.hero {
  position: relative;
  padding: calc(80px + 5vh) 0;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/psoo-npdd-panellinia-enosi-optikwn-optometrwn.jpg') center/cover no-repeat;
    transform: scale(1.05);
    filter: blur(5px);
  }
  &::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
  }

  .container {
    position: relative;
    z-index: 2;
  }

  h1 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.35px;
    color: var(--text-dark);
    margin-bottom: 20px;
  }

  h5 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 25px;
    max-width: 650px;
    margin-inline: auto;
  }
}

.section {
  padding: var(--space-lg) 0;

  .section-heading {
    margin-bottom: var(--space-3);
  }
}

.section--about {
  p.description {
    max-width: 750px;
  }
}

.section--profession {
  padding-top: 0;

  .profession-image {
    img {
      width: 100%;
      border-radius: 10px;
      display: block;
    }
  }

  .profession-content {
    max-width: 550px;

    p {
      color: var(--text-light);
      font-size: clamp(14px, 1.4vw, 16px);
    }
  }

  .profession-links {
    list-style: none;
    padding: 0;
    margin: 0;

    li {
      border-bottom: 1px solid #e5e7eb;

      a {
        display: block;
        padding: var(--space-2) 0;
        text-decoration: none;
        color: var(--primary);
        font-weight: 500;
        position: relative;
        transition: var(--transition);

        &:hover {
          padding-left: 10px;
        }

        /* μικρό bullet */
        &::before {
          content: '•';
          margin-right: 8px;
        }
      }
    }
  }
}

.section--events {
  .event-featured {
    display: block;
    background: #eef2f6;
    padding: var(--space-3);
    text-decoration: none;
    transition: var(--transition);

    &:hover {
      background: #e3e8ef;
    }

    .event-date {
      color: var(--primary);
      font-size: 14px;
      line-height: 1.2;
      margin-bottom: var(--space-1);
    }

    h5 {
      font-size: 16px;
      font-weight: 500;
      margin-bottom: 0;
    }

    .event-cta {
      font-size: 14px;
      color: var(--primary);
    }
  }

  .event-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: var(--text-dark);

    &:hover {
      color: var(--primary);
    }
  }
}

.section--features {
  background: var(--primary-dark);

  .feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #fff;
    border-radius: 12px;
    padding: var(--space-4);

    text-align: center;
    text-decoration: none;

    height: 100%;
    min-height: 200px;

    transition: var(--transition);

    img {
      max-width: calc(30px + 4vw);
      margin-bottom: 2rem;
    }

    span {
      font-size: clamp(16px, 1.4vw, 18px);
      font-weight: 600;
      color: var(--primary);
      line-height: 1.4;
    }

    &:hover {
      transform: translateY(-6px);
      background: white;
    }
  }
  
  @media (max-width: 768px) {
    .feature-card {
      margin-bottom: var(--space-3);
    }
  }
}

.section--actions {
  .actions-list {
    display: flex;
    flex-direction: column;
  }

  .action-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);

    padding: var(--space-2) 0;
    border-bottom: 1px solid #e5e7eb;

    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);

    .date {
      background: var(--primary);
      color: white;
      font-size: 12px;
      padding: 6px 10px;
      border-radius: 4px;
      white-space: nowrap;
    }

    .text {
      font-size: clamp(14px, 1.4vw, 16px);
    }

    &:hover {
      color: var(--primary);
    }
  }

  /* RIGHT BANNER */
  .action-banner {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;

    img {
      width: 100%;
      display: block;
    }

    .overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: flex-end;
      padding: var(--space-3);

      background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));

      span {
        color: white;
        font-size: clamp(18px, 2vw, 22px);
        font-weight: 600;
      }
    }

    &:hover img {
      transform: scale(1.05);
    }

    img {
      transition: var(--transition);
    }
  }
}

.section--news {
  .news-card {
    display: block;
    text-decoration: none;
    color: inherit;

    transition: var(--transition);

    .news-image {
      overflow: hidden;
      border-radius: 10px;
      margin-bottom: var(--space-3);

      img {
        width: 100%;
        display: block;
        transition: var(--transition);
      }
    }

    .news-content {
      h3 {
        font-size: clamp(16px, 1.5vw, 18px);
        font-weight: 600;
        margin-bottom: var(--space-1);
      }

      p {
        font-size: 14px;
        color: var(--text-light);
        margin-bottom: var(--space-2);
      }

      .news-date {
        font-size: 12px;
        color: var(--primary);
      }
    }

    &:hover {
      .news-image img {
        transform: scale(1.05);
      }

      h3 {
        color: var(--primary);
      }
    }
  }
}

/* PAGES */

.page-content {
  padding-bottom: calc(2.5rem + 2.5vw);
}

.page-hero {
  background: var(--primary-dark);
  padding: var(--space-4) 0;

  h1 {
    text-align: center;
    font-size: var(--h2);
    color: var(--white);
  }
}

.section--inner {
  padding: var(--space-5) 0;
}

.inner-content {
  max-width: 900px;

  h2 {
    margin-bottom: var(--space-3);
  }

  h4 {
    font-weight: 600;
  }
}

/* PAGE: PERIFEREIES */
/* ------------------------------ */

.peripheries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);

  @media (max-width: 991px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (max-width: 580px) {
    grid-template-columns: 1fr;
  }

  .periphery-card {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-2);
    padding: calc(2.5rem + 1vw);

    background: var(--bg-light);
    /* border: 1px solid #e5e7eb; */
    /* border-top: 3px solid var(--primary); */
    border-radius: 4px;

    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);

    &:hover {
      border-top-color: var(--accent);
      transform: translateY(-4px);
      box-shadow: 0 18px 24px rgba(5, 16, 36, 0.2);

      .periphery-card__link {
        color: var(--accent);
      }
    }

    .periphery-card__badge {
      display: inline-flex;
      border-radius: 5px;
      background: rgba(105, 201, 253, 0.12);
      border: 1px solid rgba(105, 201, 253, 0.25);
      color: var(--primary);
      font-size: 13px;
      font-weight: 600;
      padding: 2px 8px;
    }

    h3.periphery-card__title {
      font-size: clamp(18px, 1.8vw, 24px);
      font-weight: 500;
      line-height: 1.5;
      color: var(--text-dark);
      margin: 0;
      flex: 1;
    }

    .periphery-card__link {
      font-size: 14px;
      font-weight: 500;
      color: var(--primary);
      margin-top: 1rem;
      transition: var(--transition);
    }
  }
}

/* PAGE: PERIFEREIA */
/* ------------------------------ */
.page--perifereiako-tmima {
  .committee__list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 560px;
  }

  /* Row */
  .cm {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #edf0f4;
  }

  .cm:last-child {
    border-bottom: none;
  }

  /* Number */
  .cm__num {
    font-size: 12px;
    color: #bcc9db;
    width: 24px;
    text-align: right;
    flex-shrink: 0;
  }

  /* Dot */
  .cm__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bcc9db;
    flex-shrink: 0;
  }

  /* Name */
  .cm__name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
  }

  /* Role */
  .cm__role {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 300;
    white-space: nowrap;
  }

  /* President modifier */
  .cm--president .cm__dot {
    background: var(--primary);
  }

  .cm--president .cm__name {
    color: var(--primary);
  }

  .cm--president .cm__role {
    color: var(--primary);
    font-weight: 500;
  }
}

/* PAGE: EPIKOINONIA */
/* ------------------------------ */
.page--epikoinonia {
  .section--contact {
    padding: var(--space-lg) 0;
  }

  /* Contact info list */
  .contact-info {
    display: flex;
    flex-direction: column;
  }

  .contact-info__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #edf0f4;
  }

  .contact-info__item:last-child {
    border-bottom: none;
  }

  .contact-info__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .contact-info__icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .contact-info__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aab0bd;
    margin-bottom: 4px;
  }

  .contact-info__value {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.7;
  }

  .contact-info__value a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
  }

  .contact-info__value a:hover {
    color: var(--accent);
  }

  /* Hours bar */
  .contact-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid #edf0f4;
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
  }

  .contact-hours__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
  }

  .contact-hours__text {
    font-size: 13px;
    color: var(--text-light);
  }

  .contact-hours__text strong {
    color: var(--text-dark);
    font-weight: 500;
  }

  /* Map */
  .contact-map {
    margin-top: 24px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #edf0f4;
  }

  .contact-map iframe {
    display: block;
    min-height: 300px;
  }

  /* Form card */
  .contact-form {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
  }

  .contact-form__heading {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f2f5;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .contact-form {
      padding: 24px 20px;
      margin-top: 32px;
    }
  }
}

/* ------------------------------ */

/* MEMBERS LIST */
.members-list {
  padding-left: 20px;

  li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
  }

  strong {
    font-weight: 600;
  }
}

/* PAGE: NEA */
.section--posts {
  padding: var(--space-5) 0;

  /* TOOLBAR */
  .posts-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-5);
  }

  .posts-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;

    a {
      text-decoration: none;
      color: var(--text-dark);
      border: 1px solid var(--border-color);
      padding: 10px 16px;
      border-radius: 100px;

      transition: var(--transition);

      &.active,
      &:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
      }
    }
  }

  /* CATEGORY */
  .post-category {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 100px;
    background: rgba(20, 61, 141, 0.08);
    color: var(--primary);

    font-size: 13px;
    font-weight: 600;
  }

  /* GRID POSTS */
  .post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--bg-light);
    transition: var(--transition);
    border-radius: 10px;
    overflow: hidden;

    &:hover {
      transform: translateY(-4px);
    }
  }

  .post-card-image {
    img {
      width: 100%;
      aspect-ratio: 1.3;
      object-fit: cover;
    }
  }

  .post-card-content {
    padding: var(--space-3);

    h3 {
      font-size: 22px;
      line-height: 1.35;

      margin: var(--space-2) 0;
    }

    p {
      color: var(--text-light);
      margin-bottom: var(--space-3);
    }
  }

  /* META */
  .post-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;

    color: var(--text-light);
    font-size: 14px;
  }

  /* PAGINATION */
  .pagination-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: var(--space-5);

    a {
      width: 44px;
      height: 44px;

      display: flex;
      align-items: center;
      justify-content: center;

      text-decoration: none;
      border: 1px solid var(--border-color);
      color: var(--text-dark);
      transition: var(--transition);

      &.active,
      &:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
      }

      &.next {
        width: auto;
        padding: 0 20px;
      }
    }
  }
}

/* MOBILE */
@media (max-width: 991px) {
  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post-image img {
    min-height: 280px;
  }
}

@media (max-width: 767px) {
  .posts-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .posts-search input {
    width: 100%;
  }
}

/* PAGE: POST */
/* ------------------------------ */
.page-hero--post {
  min-height: auto;
  padding: var(--space-6) 0 var(--space-5);

  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    url('https://via.placeholder.com/1920x600') center/cover;

  .post-hero-wrapper {
    max-width: 900px;
  }

  h1 {
    margin: var(--space-2) 0;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1.1;
    text-wrap: balance;
  }
}

/* SINGLE POST */
.section--single-post {
  padding: var(--space-5) 0;

  .single-post {
    background: white;
  }

  /* IMAGE */
  .single-post-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--space-2);

    img {
      width: 100%;
      display: block;
    }
  }

  /* CONTENT */
  .single-post-content {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-dark);

    .lead {
      font-size: clamp(20px, 2vw, 28px);
      line-height: 1.6;
      color: var(--text-dark);
      margin-bottom: var(--space-4);
    }

    blockquote {
      position: relative;

      margin: var(--space-5) 0;
      padding: var(--space-3) var(--space-4);
      border-left: 4px solid var(--primary);
      background: var(--bg-light);
      font-size: clamp(16px, 2vw, 22px);
      line-height: 1.4;
      font-weight: 500;
    }

    img {
      max-width: 100%;
      padding: 10px;
      /*width: 100%;*/
      /*border-radius: 20px;*/
      /*margin: var(--space-4) 0;*/
    }
  }

  /* SIDEBAR */
  .post-sidebar {
    position: sticky;
    top: 120px;

    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  /* WIDGET */
  .sidebar-widget {
    /* background: var(--bg-light); */
    /* border-radius: 10px; */
    /* padding: var(--space-4); */

    h4 {
      margin-bottom: var(--space-3);
    }
  }

  /* RELATED */
  .related-posts {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .related-post {
    display: flex;
    gap: 14px;

    text-decoration: none;
    color: inherit;

    img {
      width: 110px;
      height: 90px;
      object-fit: cover;
      border-radius: 12px;
      flex-shrink: 0;
    }

    h5 {
      font-size: 16px;
      line-height: 1.4;
      margin-top: 6px;
    }
  }

  .related-date {
    font-size: 13px;
    color: var(--text-light);
  }

  /* CTA */
  .sidebar-widget--cta {
    /* color: white; */
    background-color: var(--bg-light);
    padding: var(--space-4);

    p {
      opacity: 0.9;
      margin-bottom: var(--space-3);
    }
  }

  /* META */
  .post-meta--hero {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;

    color: var(--text-light);
  }
}

/* MOBILE */
@media (max-width: 991px) {
  .post-sidebar {
    margin-top: var(--space-5);
    position: static;
  }
}

@media (max-width: 767px) {
  .single-post-content {
    font-size: 16px;

    .lead {
      font-size: 20px;
    }

    blockquote {
      padding: var(--space-3);
      font-size: 22px;
    }
  }
}


/* PAGE: LINKS */
/* ------------------------------ */
.section--links-page {
  padding: var(--space-5) 0;

  /* TOOLBAR */
  .links-toolbar {
    display: flex;
    justify-content: flex-end;

    margin-bottom: var(--space-4);
  }

  /* LIST */
  .links-list {
    display: flex;
    flex-direction: column;
    max-width: 800px;
  }

  /* ITEM */
  .links-item {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 24px 0;
    text-decoration: none;
    color: var(--text-dark);

    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.3;

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);

    &::after {
      content: '→';
      opacity: 0;
      transform: translateX(-6px);
      transition: var(--transition);
      color: var(--primary);
    }

    &:hover {
      color: var(--primary);
      padding-left: 10px;
      border-color: rgba(20, 61, 141, 0.25);

      &::after {
        opacity: 1;
        transform: translateX(0);
      }
    }
  }
}



/* END OF PAGES */
/* ------------------------------ */
/* ------------------------------ */

/* ------------------------------ */
/* COMPONENTS */

/* _page-title.css */
/* ------------------------------ */
.page-title {
  position: relative;
  background: url('../images/psoo-npdd-menu.jpg') center/cover no-repeat;
  padding: calc(50px + 2.5vw) 0 calc(calc(50px + 2.5vw) + 3px);
  overflow: hidden;

  /* &:after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(9, 30, 65, 0.15);
    width: 100%;
    height: 100%;
    z-index: 0;
  } */

  .container {
    position: relative;
    z-index: 1;
  }

  /* Decorative circles */
  .page-title__geo--1 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    width: calc(280px + 2vw);
    height: calc(280px + 2vw);
    border: 44px solid rgba(105, 201, 253, 0.2);
    top: -60px;
    right: -50px;
    mix-blend-mode: screen;
  }

  .page-title__geo--2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    width: calc(160px + 2vw);
    height: calc(160px + 2vw);
    border: 5px dotted rgba(105, 201, 253, 0.15);
    bottom: -70px;
    right: calc(150px + 5vw);
    mix-blend-mode: screen;
  }

  /* Breadcrumb */
  .page-title__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-3);
    font-size: 13px;
    list-style: none;
    padding: 0;
  }

  .page-title__breadcrumb a {
    color: rgba(105, 201, 253, 0.8);
    text-decoration: none;
    transition: var(--transition);
  }

  .page-title__breadcrumb a:hover {
    color: #69c9fd;
  }

  .page-title__breadcrumb span {
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
  }

  .page-title__breadcrumb span[aria-current] {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
  }

  /* Tag */
  .page-title__tag {
    display: inline-block;
    background: rgba(105, 201, 253, 0.12);
    border: 1px solid rgba(105, 201, 253, 0.25);
    color: #69c9fd;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: var(--space-2);
  }

  /* Heading */
  .page-title__heading {
    color: var(--white);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.3px;
    max-width: 720px;
    margin-bottom: 0;
  }

  /* Subtitle */
  .page-title__sub {
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 520px;
    margin-top: var(--space-2);
    margin-bottom: 0;
  }

  /* Bottom bar */
  .page-title__bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
  }

  .page-title__bar-accent {
    height: 100%;
    width: calc(80px + 10vw);
    background: #69c9fd;
  }

  /* Modifier: single page */
  .page-title--single .page-title__tag {
    background: rgba(29, 58, 138, 0.6);
    border-color: rgba(105, 201, 253, 0.2);
  }

  .page-title--single .page-title__bar-accent {
    width: 120px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .page-title__geo--1 {
    width: 180px;
    height: 180px;
  }

  .page-title__geo--2 {
    display: none;
  }
}

/* DEFAULT EDITOR STYLES */
/* ------------------------------ */

.cms-editor-content {
  max-width: 800px;
  padding-block: calc(2.5rem + 2vw);

  /* Consistent spacing between every direct child */
  > * + * {
    margin-top: 2.5rem;
  }

  /* Tighter gap after headings → their following element */
  > * + h2 {
    margin-top: calc(3.5rem + 1vw);
  }

  > h2 + *,
  > h3 + *,
  > h4 + * {
    margin-top: 2.5rem;
  }

  /* More breathing room after hr */
  > hr + * {
    /* margin-top: 2.25rem; */
  }

  h2 {
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    font-weight: 500;
    color: var(--text-dark);
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-light);
    position: relative;
  }

  h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
  }

  h3 {
    font-size: clamp(1.6rem, 2vw, 2rem);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    /* margin-top: 32px;
    margin-bottom: 14px; */
  }

  h3:first-child {
    margin-top: 0;
  }

  h4 {
    font-size: clamp(1.5rem, 1.8vw, 1.8rem);
    font-weight: 500;
    color: var(--text-accent);
  }

  p {
    font-size: 1.6rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
  }

  p:has(> strong:only-child) {
    /* font-size: 13px; */
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: -0.5rem;
  }

  p:has(> strong:only-child) + p {
    /* font-size: 15px; */
    font-weight: 500;
    color: var(--text-dark);
    margin-top: 6px;
  }

  p:last-child {
    margin-bottom: 0;
  }

  hr {
    border: none;
    position: relative;
    height: 1px;
    background: linear-gradient(to right, var(--primary), var(--primary-light), transparent);
  }

  hr::before {
    content: '';
    position: absolute;
    left: 0;
    top: -3px;
    width: 24px;
    height: 7px;
    background: var(--primary);
    border-radius: 0 4px 4px 0;
  }

  a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
  }

  a:hover {
    color: var(--accent);
  }

  /* UL */
  ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
  }

  ul li {
    /* font-size: 14px; */
    color: var(--text-dark);
    padding: 6px 0 6px 16px;
    border-bottom: 1px solid #f4f5f7;
    position: relative;
  }

  ul li:last-child {
    border-bottom: none;
  }

  ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
  }

  ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: member;
  }

  ol li {
    counter-increment: member;
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f4;
    /* font-size: 14px; */
  }

  ol li:last-child {
    border-bottom: none;
  }

  ol li::before {
    content: counter(member, decimal-leading-zero);
    font-size: 1.4rem;
    color: #d1d5db;
    flex-shrink: 0;
    width: 22px;
    text-align: right;
  }

  ol li strong {
    color: var(--text-dark);
    font-weight: 500;
    flex: 1;
  }

  ol li em {
    font-style: normal;
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
    margin-left: auto;
  }

  ol li:first-child::before {
    /* color: var(--primary); */
  }

  ol li:first-child strong {
    color: var(--primary);
  }

  ol li:first-child em {
    color: var(--primary);
    font-weight: 500;
  }
}
/* ------------------------------ */
/* ------------------------------ */
/* ------------------------------ */

/* contact form */
/* ------------------------------ */

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Ubuntu', system-ui;
  color: var(--text-dark);
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  outline: none;
  transition:
          border-color var(--transition),
          background var(--transition);
  appearance: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
}

.form-control::placeholder {
  color: #c4c9d4;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Ubuntu', system-ui;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
          background var(--transition),
          transform 0.15s;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn--primary:active {
  transform: scale(0.98);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn--full {
  width: 100%;
}

/* ------------------------------ */
/* ------------------------------ */

/* CTA TOP */
.footer-cta {
  background: url('../images/psoo-npdd-panellinia-enosi-optikwn-optometrwn-future.jpg') center/cover no-repeat;
  padding: calc(50px + 2.5vw) 0;
  position: relative;

  /* &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
  } */

  .container {
    position: relative;
    z-index: 2;
  }

  h2 {
    color: white;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 500;
    margin: 0;
  }
}

/* MAIN FOOTER */
.footer {
  position: relative;
  background: var(--primary-dark);
  color: white;
  padding: var(--space-5) 0;

  h4 {
    font-size: 14px;
    margin-bottom: var(--space-2);
    letter-spacing: 1px;
  }

  .footer-main {
    max-width: calc(100% - calc(300px + 5vw));
  }

  .footer-brand {
    img {
      width: 100px;
      margin-bottom: var(--space-2);
    }

    p {
      font-size: 14px;
      line-height: 1.5;
    }
  }

  .footer-title {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: var(--space-3);
    letter-spacing: 1px;
    color: #fff;
  }

  .footer-links,
  .footer-contact {
    list-style: none;
    padding: 0;

    li {
      margin-bottom: 8px;

      a {
        text-decoration: none;
        color: white;

        &:hover {
          opacity: 0.7;
        }
      }
    }
  }

  .footer-contact {
    li > .footer-label {
      display: block;
      font-size: 14px;
      color: #75b0d0;
      padding-bottom: 2px;
    }
  }

  .socials {
    display: flex;
    gap: 10px;
    margin-top: var(--space-2);

    span {
      width: 30px;
      height: 30px;
      background: white;
      color: #0f2a52;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      font-size: 12px;
    }
  }
}

/* FLOAT FORM */
.footer-form {
  position: absolute;
  height: calc(100% + 50px);
  right: 0;
  bottom: 0;

  background: var(--primary-light);
  padding: calc(35px + 1.5vw);

  form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    min-width: 380px;

    input,
    textarea {
      width: 100%;
      border: none;
      padding: 13px 10px;
      border-radius: 7px;
      background-color: #d9e5ed;
    }

    textarea {
      min-height: 100px;
    }

    .form-title {
      font-weight: 600;
      letter-spacing: 0;
    }

    .btn {
      background-color: var(--primary-dark);
      min-width: 200px;
    }

    .footer-form-status {
      color: green;
    }
  }
}

@media (max-width: 1280px) {
  .footer .footer-main {
    max-width: 100%;
  }
  .footer .footer-main > div {
    margin-bottom: var(--space-4);
  }
  .footer .footer-form {
    position: relative;
    margin-top: 5rem;
  }
}

@media (max-width: 768px) {
  .footer-form {
    margin-top: 2.5rem;
  }
  .footer-form form {
    min-width: 100%;
  }
  .footer .footer-main > div {
    text-align: center;
  }
}

/* BOTTOM */
.footer-bottom {
  background: #fff;
  font-size: 1.3rem;
  padding: 2.5rem 0;

  a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
  }
}
/* ------------------------------ */
/* ------------------------------ */

/* BOOTSTRAP RESETS */

.row.g-xl {
  --bs-gutter-x: 60px;
  --bs-gutter-y: 0;
}
.row.g-fluid {
  --bs-gutter-x: clamp(30px, 5vw, 80px);
}

.container {
  --bs-gutter-x: 3.5rem;
}

.btn {
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 99px;
  padding: 1.4rem 3rem;
}
.btn-primary-custom {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);

  &:hover {
    color: white;
    background: #162c70;
  }
}

/* END OF BOOTSTRAP RESETS */

/* OVERLAY MENU */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  background:
          linear-gradient(rgba(9, 30, 65, 0.35), rgba(9, 30, 65, 0.35)),
          url('../images/psoo-npdd-menu.jpg') center/cover;

  opacity: 0;
  visibility: hidden;
  transition: var(--transition);

  overflow-x: hidden;
  overflow-y: auto;

  &.open {
    opacity: 1;
    visibility: visible;
  }

  .menu-logo {
    img {
      max-width: 120px;
    }
  }

  .menu-content {
    padding-bottom: 2.5rem;
  }

  .menu-col.col-mobile {
    display: none;

    .btn-login {
      width: 100%;
      text-align: center;
      color: var(--primary);
      background-color: var(--primary-light);
      padding-block: 15px;
      margin-top: var(--space-4);
    }
  }
}
@media (max-width: 768px) {
  .menu-overlay .menu-col.col-mobile {
    display: block;
  }
}

/* TOP */
.menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;

  color: white;

  .menu-close {
    cursor: pointer;
    font-size: 24px;
  }
}

/* GRID */
.menu-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 60px;
  padding-top: 60px;
}

.menu-group {
  h4 {
    cursor: pointer;
    position: relative;
    color: #6ec1ff;
    font-size: 18px;
    margin-bottom: 15px;

    &::after {
      content: '+';
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      right: 5px;
      font-size: 24px;
      font-weight: 100;
      color: rgba(255, 255, 255, 0.5);
      transition: var(--transition);
    }
  }

  .submenu {
    max-height: none;
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: calc(25px + 2vw);
  }

  .submenu a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    padding-block: 5px;
    transition: var(--transition);

    &:hover {
      color: #6ec1ff;
    }
  }

  &.open {
    h4::after {
      content: '−';
    }

    .submenu {
      max-height: 500px;
    }
  }
}

/* COLUMN */
.menu-col {
  display: flex;
  flex-direction: column;
}

/* LEFT INFO */
.menu-col.info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 60px;

  h3 {
    color: white;
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 500;
    line-height: 1.6;
    text-align: right;
  }

  p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    text-align: right;
  }

  a {
    color: #fff;
    text-decoration: none;
  }

  .info-top {
    text-align: right;
  }
  .btn-login {
    color: var(--primary);
    background-color: var(--primary-light);
    padding-block: 10px;
  }
}

@media (max-width: 991px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }
  .menu-grid .menu-col.info {
    display: none;
  }
}

@media (min-width: 769px) {
  .menu-group h4:after {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 0px;
    padding-top: 0;
  }

  .menu-group {
    .submenu {
      max-height: 0;
      margin-bottom: 0;
    }
    h4 {
      margin: 0;
      padding-block: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    }
  }
  .menu-group.open {
    h4 {
      border-bottom: none;
    }
    .submenu {
      padding-bottom: 15px;
    }
  }

  .menu-col.info {
    border: none;
    padding: 0;
  }

  .menu-top {
    /* padding-inline: 5px; */
  }
}

@media (max-width: 580px) {
  .menu-overlay .menu-top {
    padding-inline: 25px;
  }
  .menu-overlay .menu-content {
    padding-inline: 25px;
  }
}
