:root{
  /* defaults = classic */
  --bg: #f6f1e7;
  --panel: #ffffff;
  --ink: #1e1e1e;
  --muted: #666;
  --border: rgba(0,0,0,.08);
  --primary: #8b1f2a;
  --primary-2: #6f1821;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --max: 1180px;

  --header-bg: rgba(246,241,231,.92);
}

/* ========== Theme 1: CLASSIC (same as default) ========== */
html[data-theme="classic"]{
  color-scheme: light;
}

/* ========== Theme 2: PAPER (καθαρό, πιο “λευκό/εκδοτικό”) ========== */
html[data-theme="paper"]{
  color-scheme: light;
  --bg: #f7f7f5;
  --panel: #ffffff;
  --ink: #161616;
  --muted: #5a5a5a;
  --border: rgba(0,0,0,.08);
  --primary: #7d1e28;
  --primary-2: #61151e;
  --shadow: 0 10px 30px rgba(0,0,0,.07);
  --header-bg: rgba(247,247,245,.92);
}

/* ========== Theme 3: DUSK (dark mode, σοβαρό) ========== */
html[data-theme="dusk"]{
  color-scheme: dark;
  --bg: #0f1217;
  --panel: #151a22;
  --ink: #e7eaf0;
  --muted: #a9b0bd;
  --border: rgba(255,255,255,.10);
  --primary: #d36a74;
  --primary-2: #ff9aa3;
  --shadow: 0 14px 40px rgba(0,0,0,.45);
  --header-bg: rgba(15,18,23,.78);
}

/* ========== Theme 4: CONTRAST (high contrast, “καθαρό μάτι”) ========== */
html[data-theme="contrast"]{
  color-scheme: light;
  --bg: #ffffff;
  --panel: #ffffff;
  --ink: #000000;
  --muted: #222;
  --border: rgba(0,0,0,.22);
  --primary: #000000;
  --primary-2: #000000;
  --shadow: 0 0 0 rgba(0,0,0,0); /* καθόλου “αέρας” για καθαρότητα */
  --header-bg: rgba(255,255,255,.96);
}

    *{ box-sizing: border-box; }
    html,body{ margin:0; padding:0; }
    body{
      background: var(--bg);
      color: var(--ink);
      font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      line-height: 1.65;
    }
    a{ color: var(--primary); text-decoration: none; }
    a:hover{ text-decoration: underline; }

    .no-scroll{ overflow: hidden; }

    /* Header */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

    .header-inner{
      max-width: var(--max);
      margin: 0 auto;
      padding: 14px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    .brand{
      display:flex;
      align-items:center;
      gap: 14px;
      min-width: 0;
    }
    .brand-logo{
      width: 52px;
      height: 52px;
      object-fit: contain;
      border-radius: 10px;
      background: rgba(255,255,255,.5);
      border: 1px solid var(--border);
    }
    .brand-titles{ min-width: 0; }
    .brand-el{
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      font-size: 12px;
      line-height: 1.2;
      color: var(--primary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .brand-en{
      font-size: 11px;
      color: var(--muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .icon-btn{
      border: 1px solid var(--border);
      background: var(--panel);
      border-radius: 12px;
      padding: 10px 12px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 6px 18px rgba(0,0,0,.06);
    }
    .icon-btn:hover{ border-color: rgba(0,0,0,.14); }

    /* Page grid */
    .wrap{
      max-width: var(--max);
      margin: 0 auto;
      padding: 18px;
    }
    .layout{
      display: grid;
      grid-template-columns: 260px 1fr 280px;
      gap: 18px;
      align-items: start;
    }

    /* Left nav (desktop) */
    .sidebar-left{
      background: var(--panel);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 14px;
    }

    /* Main content */
    main{
      background: var(--panel);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 22px 22px 26px;
      min-height: 60vh;
    }

    h1{
      margin: 0 0 10px;
      font-size: 34px;
      letter-spacing: -0.02em;
    }
    .lead{
      font-family: "Noto Serif", serif;
      color: #2a2a2a;
      font-size: 18px;
      margin: 0 0 18px;
    }
    .bullets{
      margin: 16px 0 0;
      padding-left: 18px;
    }
    .cta-row{
      display:flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
    }
    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap: 8px;
      padding: 10px 14px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: #fff;
      color: var(--primary);
      font-weight: 700;
      text-decoration:none;
    }
    .btn.primary{
      background: var(--primary);
      color: #fff;
      border-color: transparent;
    }
    .btn.primary:hover{ background: var(--primary-2); text-decoration:none; }

    /* Right sidebar */
    .sidebar-right{
      position: sticky;
      top: 86px;
      background: var(--panel);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 14px;
    }
    .card-title{
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 10px;
    }
    .announce{
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 12px;
      background: rgba(246,241,231,.35);
    }
    .announce h3{
      margin: 0 0 6px;
      font-size: 15px;
      color: var(--ink);
    }
    .announce p{
      margin: 0 0 10px;
      color: var(--muted);
      font-size: 13px;
    }
    .badge-logo{
      margin-top: 12px;
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow: hidden;
      background: #fff;
      display:flex;
      align-items:center;
      justify-content:center;
      padding: 12px;
    }
    .badge-logo img{
      max-width: 100%;
      height: auto;
      display:block;
      opacity: .95;
    }

    /* Nav styles (reuse for both desktop + drawer) */
    .nav{ display:flex; flex-direction:column; gap: 6px; }
    .nav-link, .nav-sublink{
      display:block;
      padding: 10px 10px;
      border-radius: 12px;
      color: var(--ink);
      border: 1px solid transparent;
    }
    .nav-link:hover, .nav-sublink:hover{
      background: rgba(139,31,42,.06);
      border-color: rgba(139,31,42,.12);
      text-decoration:none;
    }
    .nav-sublink{ padding-left: 26px; color: #333; font-size: 14px; }

    .nav-group{
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow: hidden;
      background: #fff;
    }
    .nav-group-btn{
      width:100%;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
      padding: 10px 10px;
      background: transparent;
      border:0;
      cursor:pointer;
      font-weight:700;
      text-align:left;
      color: var(--ink);
    }
    .nav-group-btn:hover{ background: rgba(0,0,0,.03); }
    .nav-group-panel{ padding: 4px 0 8px; }
    .nav-group.open .chev{ transform: rotate(180deg); }

    /* Drawer */
    .drawer-backdrop{
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.35);
      z-index: 60;
      opacity: 0;
      transition: opacity .18s ease;
    }
    .drawer{
      position: fixed;
      top: 0;
      left: 0;
      height: 100vh;
      width: min(92vw, 360px);
      background: var(--panel);
      border-right: 1px solid var(--border);
      box-shadow: 20px 0 60px rgba(0,0,0,.18);
      z-index: 70;
      transform: translateX(-102%);
      transition: transform .18s ease;
      padding: 14px;
    }
    .drawer-top{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 12px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 12px;
    }
    .drawer-title{ font-weight: 900; letter-spacing: -0.02em; }
    .drawer.is-open{ transform: translateX(0); }
    .drawer-backdrop.is-open{ opacity: 1; }

    /* Responsive */
    @media (max-width: 1020px){
      .layout{ grid-template-columns: 260px 1fr; }
      .sidebar-right{ position: relative; top: auto; }
    }
    @media (max-width: 860px){
      .layout{ grid-template-columns: 1fr; }
      .sidebar-left{ display:none; }
      .sidebar-right{ position: relative; top:auto; }
      .brand-el{ letter-spacing: .08em; font-size: 11px; }
    }
    .theme-wrap{ position: relative; }

.menu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 180px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 80;
}

.menu-item{
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 10px 10px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.menu-item:hover{
  background: rgba(139,31,42,.08);
}
html[data-theme="dusk"] .menu-item:hover{
  background: rgba(211,106,116,.14);
}

html[data-theme="dusk"] .nav-group{
  background: #151a22;
  border-color: rgba(255,255,255,.14);
}

html[data-theme="dusk"] .nav-group-btn,
html[data-theme="dusk"] .nav-link,
html[data-theme="dusk"] .nav-sublink,
html[data-theme="dusk"] .menu-item{
  color: #e7eaf0;
}

html[data-theme="dusk"] .nav-sublink{
  color: #cfd5df;
}

html[data-theme="dusk"] .nav-group-btn:hover,
html[data-theme="dusk"] .nav-link:hover,
html[data-theme="dusk"] .nav-sublink:hover{
  background: rgba(211,106,116,.14);
  border-color: rgba(211,106,116,.25);
}

html[data-theme="dusk"] .nav-link.active,
html[data-theme="dusk"] .nav-sublink.active{
  color: #ff9aa3;
}

html[data-theme="dusk"] .icon-btn,
html[data-theme="dusk"] .menu{
  background: #151a22;
  color: #e7eaf0;
  border-color: rgba(255,255,255,.16);
}
/* Migrated content styles */
.nav-link.active,.nav-sublink.active{font-weight:700;color:var(--primary-2);}
main h2{font-family:"Noto Serif", Georgia, serif;font-size:24px;line-height:1.25;margin:0 0 12px;color:var(--primary);}
.lead{font-size:18px;color:var(--muted);}
.content-card,.member-card,.faq-item{background:var(--panel);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);padding:20px;margin:0 0 18px;overflow-wrap:anywhere;}
.content-card p:first-child{margin-top:0;}
.meta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px 14px;margin:10px 0 14px;padding:12px;border:1px solid var(--border);border-radius:12px;background:rgba(139,31,42,.05);font-size:14px;}
.attachments{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;}
.file-link{display:inline-flex;align-items:center;padding:9px 12px;border:1px solid var(--border);border-radius:999px;background:rgba(139,31,42,.08);font-weight:600;}
.content-image{margin:10px 0;max-width:100%;}.content-image img{max-width:100%;height:auto;border-radius:10px;border:1px solid var(--border);}
.faq-list{display:grid;gap:12px;}.faq-item summary{cursor:pointer;font-weight:700;color:var(--primary);}.faq-item>*:not(summary){margin-left:0;}
.tool-row{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 16px;}
.tool-row input,.contact-form input,.contact-form textarea{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--border);background:var(--panel);color:var(--ink);font:inherit;}
.tool-row input{flex:1;min-width:240px;}.result-count,.small-note{color:var(--muted);font-size:14px;margin:0 0 12px;}
.member-list{display:grid;gap:12px;}.member-card h2{font-size:20px;}.member-meta{display:grid;gap:6px;font-size:15px;}
.contact-form{display:grid;gap:14px;margin-top:18px;}.contact-form label{display:grid;gap:6px;font-weight:600;}
.contact-actions{display:flex;gap:10px;flex-wrap:wrap;}
.btn.secondary{background:var(--panel);color:var(--primary);border-color:var(--border);}
.btn.secondary:hover{border-color:var(--primary);text-decoration:none;}
html[data-theme="dusk"] .btn.secondary{background:#151a22;color:#ff9aa3;border-color:rgba(255,255,255,.16);}
.links-section{box-shadow:none;}
.links-list{display:grid;gap:10px;margin:8px 0 0;padding-left:22px;}
.links-list a{font-weight:600;}
main ul,main ol{padding-left:24px;}main img{max-width:100%;height:auto;}
@media (max-width:760px){.content-card,.member-card,.faq-item{padding:16px;}main h2{font-size:21px;}.meta-grid{grid-template-columns:1fr;}}
