/* www.diakoloukas.com — μία γραμματοσειρά, δύο κυπαρίσσι και κρεμ.
   Τα χρώματα ορίζονται στο config.py και εγχέονται ως μεταβλητές στο base.html. */

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--text);font-family:var(--font);
     font-weight:500;font-size:18px;line-height:1.7;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:var(--cypress-mid);text-decoration:none}
a:hover{color:var(--cypress-deep);text-decoration:underline}
:focus-visible{outline:3px solid var(--cypress-mid);outline-offset:2px}
h1,h2,h3,h4{margin:0;font-weight:600;line-height:1.14;color:var(--cypress);text-wrap:pretty}
p{margin:0 0 1em;text-wrap:pretty}
p:last-child{margin-bottom:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;z-index:99;background:var(--cypress);color:var(--paper);padding:10px 16px}

/* ---------- κεφαλίδα ---------- */
.topbar{background:var(--cream);border-bottom:1px solid var(--line);font-size:15px}
.topbar-in{display:flex;align-items:center;justify-content:space-between;min-height:42px;gap:16px;flex-wrap:wrap}
.topbar-links{display:flex;gap:26px;flex-wrap:wrap}
.topbar-links a,.topbar-links span{color:var(--text-soft)}
.topbar-lang{display:flex;gap:14px;letter-spacing:.08em;font-size:14.5px}
.topbar-lang strong{color:var(--cypress-mid)}
.topbar-lang span{color:var(--muted)}

.site-head{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.head-in{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:118px;flex-wrap:wrap}
.brand{display:flex;flex-direction:column;gap:5px;color:inherit}
.brand:hover{text-decoration:none}
.brand-name{font-size:26px;font-weight:600;letter-spacing:.12em;color:var(--cypress);line-height:1;white-space:nowrap}
.brand-rule{width:62px;height:1.5px;background:var(--cypress-mid)}
.brand-role{font-size:12px;letter-spacing:.24em;color:var(--cypress);font-weight:600}
.brand-sub{font-size:13px;color:var(--muted);line-height:1.4}
.nav{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.nav a{font-size:16.5px;color:var(--text)}
.nav a.is-current{color:var(--cypress);font-weight:600;border-bottom:2px solid var(--cypress-mid);padding-bottom:4px}

.btn{display:inline-block;font-size:17px;font-weight:600;padding:14px 30px;border:1px solid var(--cypress)}
.btn:hover{text-decoration:none}
.btn-solid,.nav a.btn-solid,a.btn-solid{background:var(--cypress);color:var(--paper)}
.btn-solid:hover{background:var(--cypress-deep);border-color:var(--cypress-deep);color:var(--paper)}
.btn-ghost,.nav a.btn-ghost,a.btn-ghost{color:var(--cypress);background:transparent}
.btn-ghost:hover{background:var(--cypress);color:var(--paper)}
.nav .btn{font-size:16px;padding:12px 24px}

.crumbs{background:var(--cream);border-bottom:1px solid var(--line);font-size:15px;padding:12px 0;color:var(--muted)}
.crumbs span{color:var(--muted);margin:0 4px}
.crumbs .here{color:var(--cypress)}

/* ---------- ενότητες ---------- */
.section{padding:100px 0}
.section-paper{background:var(--paper)}
.section-cream{background:var(--cream)}
.section-dark{background:var(--cypress);color:var(--on-dark)}
.section-dark h1,.section-dark h2,.section-dark h3{color:var(--paper)}
.section-dark a{color:var(--on-dark-acc)}
.eyebrow{display:block;font-size:13.5px;letter-spacing:.2em;color:var(--cypress-mid);font-weight:600;margin-bottom:12px}
.section-dark .eyebrow{color:var(--on-dark-acc)}
.section-head{margin-bottom:52px}
.section-head h2{font-size:44px}

/* ---------- hero ---------- */
.hero{background:var(--paper);padding:0}
.hero-in{display:grid;grid-template-columns:1fr 468px;gap:72px;align-items:center;min-height:620px}
.hero-text{padding:72px 0;display:flex;flex-direction:column;gap:28px}
.hero h1{font-size:60px;line-height:1.08}
.hero p{font-size:21px;max-width:580px;margin:0}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;padding-top:8px}
.hero-photo{align-self:end;position:relative}
.hero-photo::after{content:"";position:absolute;left:-1px;bottom:0;width:4px;height:180px;background:var(--cypress-mid)}
.hero-photo img{width:468px;height:624px;object-fit:cover}

/* ---------- κάρτες ---------- */
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.card{background:var(--white);border:1px solid var(--line);border-top:3px solid var(--cypress-mid);
      padding:40px 36px;display:flex;flex-direction:column;gap:16px}
.card h3{font-size:30px;line-height:1.18}
.card .lead{font-size:18px;margin:0}
.card ul{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:11px}
.card li{position:relative;padding-left:16px;font-size:17px;line-height:1.55}
.card li::before{content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;border-radius:50%;background:var(--cypress-mid)}
.card .more{margin-top:auto;padding-top:24px;align-self:flex-start;font-weight:600;font-size:16.5px;
            border-bottom:1px solid var(--cypress-mid);padding-bottom:3px}
.card .more:hover{text-decoration:none;border-bottom-width:2px}
.card svg{width:32px;height:32px}

/* ---------- στάδια ---------- */
.step{border-top:2px solid var(--line);padding-top:20px;display:flex;flex-direction:column;gap:12px}
.step:first-child{border-top-color:var(--cypress)}
.step .num{font-size:36px;font-weight:600;color:var(--cypress-mid);line-height:1}
.step h3{font-size:19.5px}
.step p{font-size:17px;line-height:1.62;color:var(--text-soft);margin:0}

/* ---------- άρθρα ---------- */
.post-card{background:var(--white);border:1px solid var(--line);padding:34px 32px;
           display:flex;flex-direction:column;gap:14px}
.post-card .tag{display:flex;align-items:center;gap:10px;font-size:12.5px;letter-spacing:.14em;
                color:var(--cypress-mid);font-weight:600}
.post-card .tag::before{content:"";width:18px;height:2px;background:var(--cypress-mid)}
.post-card h3{font-size:26px;line-height:1.22}
.post-card p{font-size:17px;line-height:1.6;margin:0}
.post-card .meta{font-size:14px;color:var(--muted);margin-top:auto;padding-top:10px}

.article{max-width:760px;margin:0 auto;padding:80px 24px 100px}
.article h1{font-size:48px;margin-bottom:20px}
.article .meta{font-size:15px;color:var(--muted);margin-bottom:36px}
.article .answer{background:var(--cream);border-left:3px solid var(--cypress-mid);
                 padding:24px 28px;font-size:20px;margin-bottom:40px}
.article-body{font-size:19px;line-height:1.78}
.article-body h2{font-size:32px;margin:44px 0 16px}
.article-body h3{font-size:25px;margin:32px 0 12px}
.article-body ul,.article-body ol{padding-left:22px}
.article-body li{margin-bottom:8px}
.article-body strong{font-weight:700;color:var(--cypress)}
.article-body blockquote{margin:28px 0;padding:4px 0 4px 24px;border-left:3px solid var(--line);color:var(--text-soft)}
.faq{margin-top:56px;border-top:1px solid var(--line);padding-top:36px}
.faq h2{font-size:32px;margin-bottom:24px}
.faq details{border-bottom:1px solid var(--line);padding:16px 0}
.faq summary{cursor:pointer;font-size:20px;font-weight:600;color:var(--cypress)}
.faq p{margin:12px 0 0;font-size:18px}

/* ---------- επικοινωνία ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 480px;gap:72px;align-items:start}
.contact-list{display:flex;flex-direction:column;gap:18px;margin-top:26px}
.contact-item{display:flex;flex-direction:column;gap:2px}
.contact-item .label{font-size:13.5px;letter-spacing:.12em;color:var(--muted)}
.contact-item .value{font-size:18.5px;color:var(--cypress);font-weight:600}
.form{background:var(--white);border:1px solid var(--line);padding:36px;display:flex;flex-direction:column;gap:18px}
.form h2{font-size:28px}
.form label{display:flex;flex-direction:column;gap:6px;font-size:14.5px;color:var(--text-soft)}
.form input,.form select,.form textarea{font-family:var(--font);font-size:17px;padding:11px 14px;
      border:1px solid var(--line);background:#FBFAF6;color:var(--text)}
.form textarea{min-height:92px;resize:vertical}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form .consent{flex-direction:row;align-items:flex-start;gap:10px;font-size:14.5px;line-height:1.5}
.form .note{font-size:14px;line-height:1.6;color:var(--muted);margin:0}

/* ---------- βιογραφικό ---------- */
.cv-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px;
         border-top:1px solid var(--line-dark);padding-top:36px;margin-top:48px}
.cv-col h3{font-size:13px;letter-spacing:.2em;color:var(--on-dark-acc);font-weight:600;margin-bottom:14px}
.cv-item{margin-bottom:16px}
.cv-item .t{display:block;font-size:16.5px;color:var(--on-dark);line-height:1.5}
.cv-item .s{display:block;font-size:15px;color:var(--on-dark-soft);line-height:1.5}
.cv-item .g{display:block;font-size:15px;color:var(--on-dark-acc);line-height:1.5}

/* ---------- υποσέλιδο ---------- */
.site-foot{background:var(--cypress-deep);color:var(--on-dark-soft);padding:64px 0 32px;font-size:16px}
.site-foot .brand-name{color:var(--paper);font-size:21px;letter-spacing:.1em}
.site-foot .brand-rule{background:var(--on-dark-acc);width:54px;display:block;margin:6px 0}
.site-foot .brand-role{color:var(--on-dark-acc);display:block;font-size:12px}
.site-foot .brand-sub{color:var(--on-dark-soft);display:block;font-size:13.5px}
.foot-grid{display:grid;grid-template-columns:1.9fr 1fr 1fr 1fr;gap:40px}
.foot-brand p{margin:18px 0 0;line-height:1.75;max-width:340px}
.foot-col h2{font-size:12.5px;letter-spacing:.2em;color:var(--on-dark-acc);font-weight:600;margin-bottom:13px}
.foot-col a{display:block;color:var(--on-dark);margin-bottom:13px;font-size:16px}
.foot-rule{height:1px;background:#2E4139;margin:36px 0}
.foot-bottom{display:flex;justify-content:space-between;gap:40px;align-items:flex-start;
             font-size:14px;line-height:1.65;color:#8E9A94}
.foot-bottom p{max-width:760px;margin:0}
.foot-bottom span{white-space:nowrap}

/* ---------- λίστες ---------- */
.post-list{display:flex;flex-direction:column}
.post-row{border-top:1px solid var(--line);padding:26px 0;display:flex;flex-direction:column;gap:9px}
.post-row:last-child{border-bottom:1px solid var(--line)}
.post-row h2{font-size:30px;line-height:1.2}
.post-row p{font-size:18px;margin:0;color:var(--text-soft)}
.post-row .meta{font-size:14px;color:var(--muted)}

/* ---------- ρέον περιεχόμενο σελίδας ---------- */
.page-body{max-width:760px;font-size:19px;line-height:1.78}
.page-body h2{font-size:32px;margin:44px 0 16px}
.page-body h3{font-size:25px;margin:32px 0 12px}
.page-body ul,.page-body ol{padding-left:22px}
.page-body li{margin-bottom:8px}

/* ---------- ανταπόκριση ---------- */
@media (max-width:1100px){
  .hero-in{grid-template-columns:1fr;gap:40px}
  .hero-photo{align-self:start}
  .hero-photo img{width:100%;max-width:468px;height:auto}
  .contact-grid{grid-template-columns:1fr;gap:48px}
  .grid-3,.grid-4,.cv-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  body{font-size:17.5px}
  .section{padding:64px 0}
  .hero h1{font-size:42px}
  .hero p{font-size:19px}
  .section-head h2{font-size:34px}
  .article h1{font-size:36px}
  .grid-2,.grid-3,.grid-4,.cv-cols,.foot-grid,.form .row{grid-template-columns:1fr}
  .head-in{min-height:0;padding:16px 24px;gap:16px}
  .brand-name{font-size:21px;white-space:normal}
  .nav{gap:16px}
  .nav a{font-size:16px}
  .foot-bottom{flex-direction:column;gap:16px}
  .card{padding:30px 26px}
}
@media print{
  .topbar,.nav,.crumbs,.site-foot .foot-grid{display:none}
  body{font-size:12pt;background:#fff}
}

/* τίτλοι άρθρων: χρώμα τίτλου, όχι χρώμα συνδέσμου */
.post-card h3 a,.post-row h2 a,.article h1 a{color:var(--cypress)}
.post-card h3 a:hover,.post-row h2 a:hover{color:var(--cypress-mid);text-decoration:underline}
.section-dark .btn-ghost{color:var(--on-dark-acc);border-color:var(--on-dark-acc)}
.section-dark .btn-ghost:hover{background:var(--on-dark-acc);color:var(--cypress)}


/* ---------- μενού χωρίς JavaScript ---------- */
/* Το <details> δεν χρησιμεύει εδώ: όσο είναι κλειστό, ο browser κρύβει το
   περιεχόμενό του με content-visibility και καμία δήλωση display δεν το επαναφέρει.
   Χρησιμοποιούμε checkbox + label, που λειτουργεί σε κάθε browser χωρίς script. */
.nav{position:relative}
.nav-toggle{position:absolute;width:1px;height:1px;opacity:0;margin:0;padding:0;border:0}
.nav-burger{display:none;align-items:center;gap:10px;cursor:pointer;user-select:none;
  font-size:16px;font-weight:600;color:var(--cypress);padding:10px 14px;border:1px solid var(--cypress)}
.nav-burger .bars{width:18px;height:12px;border-top:2px solid currentColor;
  border-bottom:2px solid currentColor;position:relative}
.nav-burger .bars::after{content:"";position:absolute;left:0;top:4px;width:18px;height:2px;background:currentColor}
.nav-toggle:focus-visible + .nav-burger{outline:3px solid var(--cypress-mid);outline-offset:2px}
.menu-items{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
@media (min-width:861px){
  /* Το ονοματεπώνυμο μένει σε μία γραμμή, οπότε η πλοήγηση αναδιπλώνεται μέσα
     στη δική της στήλη αντί να πέφτει σε δεύτερη σειρά κάτω από το λογότυπο. */
  .head-in{flex-wrap:nowrap}
  .nav{min-width:0;flex:1 1 auto;justify-content:flex-end}
  .menu-items{justify-content:flex-end;gap:22px;row-gap:12px}
  .nav a{font-size:16px}
  .nav .btn{font-size:15.5px;padding:11px 20px}
}
@media (max-width:860px){
  .nav-burger{display:inline-flex}
  .menu-items{display:none}
  .nav-toggle:checked ~ .menu-items{display:flex;position:absolute;left:0;right:auto;top:calc(100% + 10px);
    z-index:30;flex-direction:column;align-items:stretch;gap:0;min-width:min(260px, calc(100vw - 48px));
    background:var(--paper);border:1px solid var(--line);box-shadow:0 10px 30px rgba(27,42,36,.14)}
  .nav-toggle:checked ~ .menu-items a{padding:14px 20px;border-bottom:1px solid var(--line)}
  .nav-toggle:checked ~ .menu-items a.is-current{border-bottom:1px solid var(--line);border-left:3px solid var(--cypress-mid)}
  .nav-toggle:checked ~ .menu-items .btn{margin:0;text-align:center;border:0}
}

/* ---------- κινητό: σειρά hero ---------- */
@media (max-width:760px){
  .hide-sm{display:none}
  .hero-in{display:flex;flex-direction:column;gap:0;min-height:0}
  .hero-text{display:contents}
  .hero .eyebrow{order:1;margin:36px 0 14px;font-size:12.5px}
  .hero h1{order:2;font-size:40px;margin-bottom:24px}
  .hero-photo{order:3;margin-bottom:28px;align-self:stretch}
  .hero-photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 22%}
  .hero-photo::after{height:100px}
  .hero p{order:4;font-size:18.5px;margin-bottom:28px}
  .hero-actions{order:5;flex-direction:column;align-items:stretch;gap:12px;padding:0 0 56px}
  .hero-actions .btn{text-align:center;padding:16px 20px;font-size:17.5px}
}

@media (max-width:760px){
  .site-head .brand-name{font-size:15px;letter-spacing:.06em;white-space:nowrap}
  .site-head .brand-role{font-size:10.5px;letter-spacing:.2em}
  .site-head .brand-sub{font-size:12px}
  .site-foot .brand-name{font-size:15px;letter-spacing:.06em;white-space:nowrap}
}

/* ---------- πίνακες ---------- */
.page-body table,.article-body table{width:100%;border-collapse:collapse;margin:24px 0;font-size:17px}
.page-body th,.article-body th{text-align:left;background:var(--cream);color:var(--cypress);
  font-weight:600;padding:12px 14px;border:1px solid var(--line)}
.page-body td,.article-body td{padding:12px 14px;border:1px solid var(--line);vertical-align:top;line-height:1.6}
@media (max-width:760px){
  .page-body table,.article-body table{display:block;overflow-x:auto;font-size:16px}
  .page-body th,.page-body td{min-width:140px}
}


/* ---------- μήνυμα συγκατάθεσης cookies ---------- */
.cc{position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--paper);
    border-top:2px solid var(--cypress);box-shadow:0 -8px 30px rgba(27,42,36,.12)}
.cc[hidden]{display:none}
.cc-in{max-width:var(--wrap);margin:0 auto;padding:20px 24px;display:flex;align-items:center;
       justify-content:space-between;gap:28px;flex-wrap:wrap}
.cc-in p{margin:0;font-size:17px;max-width:760px}
.cc-btns{display:flex;gap:12px;flex-wrap:wrap}
.cc-btns .btn{font-size:16px;padding:12px 26px;cursor:pointer;font-family:var(--font);font-weight:600}
@media (max-width:600px){ .cc-in{padding:18px 20px;gap:16px} .cc-btns{width:100%} .cc-btns .btn{flex:1} }
