/* aegeanmeltemi.com — restored project homepage.
   The archived original ran WordPress Twenty Seventeen: ~200 KB of theme CSS plus jQuery for a
   parallax header. This is the same layout written directly, so the page keeps its look without
   the framework — it is a static archive of a finished EU project, not a live CMS. */

:root {
  --ink:      #1a1a1a;
  --ink-2:    #454b4f;
  --ink-3:    #6b7378;
  --line:     #e3e6e8;
  --sea:      #0a5a7a;
  --sea-deep: #073f56;
  --sand:     #f7f5f1;
  --max:      1100px;
  --meas:     72ch;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-2);
  background: #fff;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }

a { color: var(--sea); text-decoration: none; border-bottom: 1px solid rgba(10, 90, 122, .35); }
a:hover, a:focus { color: var(--sea-deep); border-bottom-color: var(--sea-deep); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #fff; color: var(--sea); padding: 12px 20px;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- header + hero */
.site-head {
  position: relative;
  min-height: 62vh;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
  background: var(--sea-deep);
}
.site-head::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 30, 44, .62), rgba(4, 30, 44, .30) 45%, rgba(4, 30, 44, .78));
}
.site-head-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* Lift the content above the photo and its scrim — but NOT the photo itself: it is a direct
   child, and turning it position:relative drops it back into the flow, which stretches the
   header to the full height of the image (1090px instead of 62vh). */
.site-head > *:not(.site-head-img) { position: relative; z-index: 2; }

.brandbar { padding: 26px 0 0; }
.brandbar-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.brandmark { width: 54px; height: auto; border: 0; }
.brandbar a { border: 0; }
.site-title {
  font-size: clamp(1.75rem, 4.4vw, 3rem);
  color: #fff; margin: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.site-tagline {
  margin: 2px 0 0; color: #d9ecf3; font-size: .9375rem; letter-spacing: .06em;
  text-transform: uppercase;
}

.site-nav { padding: 18px 0 30px; }
.site-nav ul {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  margin: 0; padding: 0; list-style: none;
}
.site-nav a {
  display: inline-block; padding: 8px 2px;
  color: #eaf5f9; border-bottom: 2px solid transparent;
  font-weight: 600; font-size: .9375rem;
}
.site-nav a:hover, .site-nav a:focus, .site-nav a[aria-current] {
  color: #fff; border-bottom-color: #7fd4ee;
}

.hero-copy { padding: 0 0 46px; max-width: 46rem; }
.hero-copy h2 {
  color: #fff; font-size: clamp(1.375rem, 3.2vw, 2rem); margin-bottom: .3em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.hero-copy p { color: #e6f2f7; margin: 0; }

/* ---------------------------------------------------------------- sections */
.sect { padding: 64px 0; border-top: 1px solid var(--line); }
.sect:first-of-type { border-top: 0; }
.sect.alt { background: var(--sand); }
.sect h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  padding-top: 14px; position: relative;
}
.sect h2::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 46px; height: 3px; border-radius: 2px; background: var(--sea);
}
.sect h3 { font-size: 1.1875rem; margin-top: 1.6em; }
.sect p, .sect li { max-width: var(--meas); }
.lede { font-size: 1.1875rem; color: var(--ink-2); }

blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px;
  border-left: 4px solid var(--sea);
  font-size: 1.125rem; font-style: italic; color: var(--ink);
}

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }
.cols p, .cols li { max-width: none; }

.pill-row { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; margin: 26px 0 0; }
.pill-row figure { margin: 0; text-align: center; width: 120px; }
.pill-row img { display: block; margin: 0 auto 6px; }
.pill-row figcaption { font-size: .8125rem; color: var(--ink-3); line-height: 1.4; }

.partners { list-style: none; padding: 0; margin: 18px 0 0; }
.partners li { padding: 10px 0 10px 26px; position: relative; border-bottom: 1px solid var(--line); }
.partners li::before {
  content: "\2693"; position: absolute; left: 0; top: 10px; color: var(--sea);
}

.figure-wide { margin: 32px 0 0; }
.figure-wide img { display: block; border: 1px solid var(--line); border-radius: 4px; }
.figure-wide figcaption { font-size: .875rem; color: var(--ink-3); margin-top: 8px; }

.note {
  margin: 34px 0 0; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sea);
  border-radius: 4px;
}
.note p { margin: 0; max-width: none; }
.note strong { color: var(--ink); }

.contact-line { font-size: 1.125rem; }

.social { display: flex; gap: 14px; align-items: center; margin: 18px 0 0; }
.social a { border: 0; }

/* ---------------------------------------------------------------- footer */
.site-foot {
  padding: 44px 0 56px; border-top: 1px solid var(--line);
  background: #fff; color: var(--ink-3); font-size: .9375rem;
}
.site-foot-eu { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.site-foot p { max-width: var(--meas); }
.site-foot a { color: var(--sea); }

@media (max-width: 640px) {
  .site-head { min-height: 78vh; }
  .sect { padding: 46px 0; }
  .pill-row { gap: 18px; }
  .pill-row figure { width: 96px; }
}
