/* Η Παρέα των Εκδρομιστών, v2: κάρτες επιβίβασης, polaroid σε χάρτη, συνομιλία και καρτ ποστάλ.
   Αρχική: data-mode="teaser" · σελίδα /parea: data-mode="full" */
.ekc,.ekc-modal{--navy:#1e3a8a;--navy-d:#152a66;--ink:#0f172a;--muted:#64748b;--line:rgba(15,23,42,.1);--orange:#f59e0b;--orange-d:#d97706;--cream:#fffdf6;--hand:"Playpen Sans",cursive;
  font-family:inherit;color:var(--ink);max-width:1180px;margin:0 auto;padding:44px clamp(16px,4vw,40px) 56px;box-sizing:border-box}
.ekc *,.ekc *::before,.ekc *::after{box-sizing:border-box}
.ekc h1,.ekc h2,.ekc h3,.ekc p{margin:0}
.ekc img{max-width:none}

/* κεφαλίδα της σελίδας /parea */
.ekc-head{position:relative;text-align:center;margin:0 0 34px;padding:46px 20px 40px;border-radius:28px;color:#fff;overflow:hidden;
  background:radial-gradient(circle at 15% 20%,rgba(255,255,255,.08) 0 2px,transparent 3px) 0 0/26px 26px,linear-gradient(160deg,var(--navy),var(--navy-d))}
.ekc-head::before{content:"✈";position:absolute;right:9%;top:22px;font-size:34px;opacity:.85;transform:rotate(18deg)}
.ekc-head::after{content:"";position:absolute;left:-5%;right:-5%;top:42px;height:120px;border-top:3px dashed rgba(255,255,255,.28);border-radius:50%;pointer-events:none}
.ekc-head h1,.ekc-head h2{position:relative;font-size:36px!important;font-weight:800!important;color:#fff!important;letter-spacing:-.5px;line-height:1.15}
.ekc-head p{position:relative;color:rgba(255,255,255,.85);font-size:15.5px;margin-top:10px}
.ekc-fav{position:relative;display:inline-flex;align-items:center;gap:6px;margin-top:18px;padding:9px 18px;border-radius:999px;background:#fff;color:var(--navy)!important;font-size:14px;font-weight:800;text-decoration:none}

/* μετρητές */
.ekc-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 30px}
.ekc-stat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;text-align:center}
.ekc-stat b{display:block;font-size:30px;font-weight:800;color:var(--navy)}
.ekc-stat span{font-size:13px;color:var(--muted)}

/* ενότητες */
.ekc-card{position:relative;margin:0 0 40px}
.ekc .ekc-title{letter-spacing:normal!important;display:flex;align-items:center;gap:10px;font-size:26px!important;font-weight:800!important;line-height:1.25!important;color:var(--ink)!important;margin-bottom:6px}
.ekc-sub{color:var(--muted);font-size:15px;line-height:1.6;margin-bottom:22px!important;max-width:760px}

/* ---------- ψηφοφορία: κάρτες επιβίβασης ---------- */
.ekc-poll{display:grid;gap:16px}
.ekc-pass{position:relative;display:grid;grid-template-columns:200px 1fr 170px;align-items:stretch;width:100%;min-height:150px;padding:0;border:0;border-radius:22px;background:#fff;
  box-shadow:0 14px 34px rgba(15,23,42,.10),0 0 0 1px var(--line);text-align:left;font:inherit;color:var(--ink);cursor:pointer;overflow:hidden;transition:transform .2s,box-shadow .2s}
.ekc-pass:hover{transform:translateY(-3px);box-shadow:0 20px 40px rgba(15,23,42,.16),0 0 0 1px var(--line)}
.ekc-pass-ph{position:relative;overflow:hidden;background:#0f172a}
.ekc-pass-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ekc-pass-main{display:flex;flex-direction:column;justify-content:center;padding:18px 26px}
.ekc-pass-main small{font-size:12px;font-weight:800;letter-spacing:2px;color:var(--muted)}
.ekc-pass-main b{font-size:38px;font-weight:800;line-height:1.05;color:var(--navy);letter-spacing:-.5px;margin:2px 0 8px}
.ekc-pass-meta{font:600 12.5px ui-monospace,Menlo,monospace;letter-spacing:1px;color:#64748b}
.ekc-pass-stub{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px;border-left:2px dashed #cbd5e1;background:#f8fafc}
.ekc-pass-stub::before,.ekc-pass-stub::after{content:"";position:absolute;left:-13px;width:24px;height:24px;border-radius:50%;background:var(--ekc-bg,#fff);box-shadow:inset 0 0 0 1px var(--line)}
.ekc-pass-stub::before{top:-12px}
.ekc-pass-stub::after{bottom:-12px}
.ekc-pass-go{display:inline-block;padding:12px 18px;border-radius:999px;background:var(--orange);color:var(--ink);font-size:15px;font-weight:800;white-space:nowrap;box-shadow:0 8px 18px rgba(245,158,11,.3)}
.ekc-pass:hover .ekc-pass-go{background:var(--orange-d)}
.ekc-pass-stub b{font-size:34px;font-weight:800;color:var(--navy)}
.ekc-pass-stub small{font-size:12.5px;color:var(--muted)}
.ekc-pass-stub em{font-style:normal;font-size:12.5px;font-weight:800;color:var(--orange-d)}
.ekc-bar{position:relative;width:100%;height:8px;border-radius:99px;background:#e2e8f0;overflow:hidden}
.ekc-bar i{position:absolute;left:0;top:0;bottom:0;border-radius:99px;background:var(--orange);transition:width .9s ease}
.ekc-poll.is-done .ekc-pass{cursor:default}
.ekc-poll.is-done .ekc-pass:hover{transform:none}
.ekc-pass.is-mine{box-shadow:0 14px 34px rgba(245,158,11,.25),0 0 0 3px var(--orange)}
.ekc-note{margin-top:14px!important;color:var(--muted);font-size:14px;text-align:center}

/* ---------- φωτογραφίες: polaroid σε χάρτη ---------- */
.ekc-board{position:relative;border-radius:26px;padding:34px 26px 28px;background:
  radial-gradient(circle at 20% 30%,rgba(30,58,138,.07) 0 120px,transparent 121px),
  radial-gradient(circle at 75% 65%,rgba(30,58,138,.06) 0 160px,transparent 161px),
  repeating-linear-gradient(0deg,transparent 0 47px,rgba(30,58,138,.06) 47px 48px),
  repeating-linear-gradient(90deg,transparent 0 47px,rgba(30,58,138,.06) 47px 48px),#f3f6fb}
.ekc-month{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:30px;align-items:center;margin-bottom:34px}
.ekc-month img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border:14px solid #fff;border-bottom-width:46px;box-shadow:0 18px 36px rgba(15,23,42,.2);transform:rotate(-2deg)}
.ekc-month h3{font-family:var(--hand);font-size:30px!important;font-weight:700!important;color:var(--navy)!important;margin:12px 0 8px}
.ekc-month p{font-family:var(--hand);font-size:17px;line-height:1.6;color:#334155}
.ekc-badge{display:inline-block;padding:7px 14px;border:2.5px solid #2248a0;border-radius:8px;color:#2248a0;font-size:13px;font-weight:800;letter-spacing:1.5px;transform:rotate(-4deg)}
.ekc-more-row{display:flex;justify-content:center;margin:22px 0 4px}
.ekc-wall{display:grid;grid-template-columns:repeat(4,1fr);gap:26px 20px}
.ekc-ph{position:relative;margin:0;padding:10px 10px 0;background:#fff;box-shadow:0 10px 22px rgba(15,23,42,.14);transform:rotate(-2deg)}
.ekc-ph:nth-child(even){transform:rotate(1.8deg)}
.ekc-ph:nth-child(3n){transform:rotate(-.6deg)}
.ekc-ph::before{content:"";position:absolute;z-index:2;top:-11px;left:50%;width:70px;height:22px;margin-left:-35px;background:rgba(247,214,120,.85);transform:rotate(-4deg)}
.ekc-ph:nth-child(even)::before{background:rgba(160,205,230,.85);transform:rotate(3deg)}
.ekc-ph img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}
.ekc-ph figcaption{padding:9px 4px 12px;font-family:var(--hand);font-size:14px;line-height:1.3;color:#475569;text-align:center}
.ekc-ph figcaption b{display:block;font-size:15.5px;color:var(--navy)}
.ekc-board .ekc-stamp{position:absolute;right:22px;top:-34px;width:118px;transform:rotate(-12deg);opacity:.9;pointer-events:none}
.ekc-empty{display:grid;justify-items:center;gap:8px;padding:30px 18px;text-align:center;font-family:var(--hand);color:#475569;font-size:16px;line-height:1.6}
.ekc-empty b{font-size:22px;color:var(--navy)}
.ekc-empty::before{content:"";display:block;width:150px;height:120px;margin-bottom:6px;border:9px solid #fff;border-bottom-width:30px;box-shadow:0 10px 22px rgba(15,23,42,.14);transform:rotate(-4deg);
  background:linear-gradient(135deg,#dbeafe,#fef3c7)}

/* κουμπιά */
.ekc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border-radius:999px;border:0;background:var(--orange);color:var(--ink)!important;font:inherit;font-size:15.5px;font-weight:800;text-decoration:none;cursor:pointer;box-shadow:0 10px 22px rgba(245,158,11,.28)}
.ekc-btn:hover{background:var(--orange-d)}
.ekc-btn.is-ghost{background:#fff;color:var(--navy)!important;border:2px solid var(--navy);box-shadow:none}
.ekc-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:26px}

/* ---------- ερωτήσεις: συνομιλία ---------- */
.ekc-qa{display:grid;gap:22px;margin-bottom:30px}
.ekc-chat{display:grid;gap:10px}
.ekc-bub{max-width:78%;padding:14px 18px;border-radius:20px;font-size:15px;line-height:1.6}
.ekc-bub small{display:block;font-size:12px;font-weight:800;letter-spacing:.3px;margin-bottom:4px;opacity:.75}
.ekc-bub.is-q{justify-self:start;background:#f1f5f9;color:var(--ink);border-bottom-left-radius:6px}
.ekc-bub.is-a{justify-self:end;display:flex;gap:12px;align-items:flex-start;background:linear-gradient(160deg,var(--navy),var(--navy-d));color:#fff;border-bottom-right-radius:6px}
.ekc-bub.is-a small{color:#ffd166;opacity:1}
.ekc-av{flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#fff;object-fit:contain;padding:2px}
.ekc-a p + p{margin-top:8px}

/* φόρμες */
.ekc-form{display:grid;gap:12px}
.ekc-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ekc-form label{display:grid;gap:5px;font-size:13.5px;font-weight:700;color:#334155}
.ekc-form input[type=text],.ekc-form input[type=email],.ekc-form textarea{width:100%;padding:12px 14px;border:1.5px solid #cbd5e1;border-radius:12px;font:inherit;font-size:15px;font-weight:400;background:#fff;color:var(--ink)}
.ekc-form textarea{min-height:100px;resize:vertical}
.ekc-form input:focus,.ekc-form textarea:focus{outline:none;border-color:var(--navy)}
.ekc-form .ekc-check{display:flex;gap:10px;align-items:flex-start;font-weight:500;font-size:13px;line-height:1.5;color:var(--muted)}
.ekc-form .ekc-check input{margin-top:3px;width:18px;height:18px;flex:0 0 auto}
.ekc-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.ekc-drop{display:grid;place-items:center;gap:6px;min-height:130px;border:2px dashed #cbd5e1;border-radius:14px;padding:16px;text-align:center;color:var(--muted);font-weight:500;cursor:pointer;background:#f8fafc}
.ekc-drop img{max-height:180px;max-width:100%;border-radius:10px}
.ekc-drop input{display:none}
.ekc-msg{font-size:14px;font-weight:700;text-align:center;min-height:20px}
.ekc-msg.is-ok{color:#15803d}
.ekc-msg.is-err{color:#b91c1c}

/* καρτ ποστάλ για την ερώτηση */
.ekc-postcard{position:relative;padding:30px 30px 24px;border-radius:6px;background:
  linear-gradient(90deg,transparent calc(100% - 190px),rgba(30,58,138,.18) calc(100% - 190px),rgba(30,58,138,.18) calc(100% - 188px),transparent calc(100% - 188px)),var(--cream);
  box-shadow:0 2px 3px rgba(0,0,0,.06),0 18px 36px rgba(15,23,42,.12);border:1px solid #efe7d6}
.ekc-postcard::before{content:"";position:absolute;top:18px;right:20px;width:92px;height:110px;border:3px dotted #cbd5e1;border-radius:4px;
  background:url("https://ekdromistas.com/wp-content/uploads/2026/11/sfragida-ekdromistas-tips-mple.png") center/86% no-repeat;opacity:.85}
.ekc-pc-title{font-family:var(--hand);font-size:24px;font-weight:700;color:var(--navy);margin-bottom:4px!important;padding-right:210px}
.ekc-postcard > .ekc-row,.ekc-postcard > label{margin-right:200px}
.ekc-postcard .ekc-actions{justify-content:flex-start}

/* παράθυρο αποστολής φωτογραφίας */
.ekc-modal{position:fixed;inset:0;z-index:1000001;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(15,23,42,.6)}
.ekc-modal.is-open{display:flex}
.ekc-modal-box{position:relative;width:100%;max-width:560px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border-radius:22px;padding:26px}
.ekc .ekc-x,.ekc-modal .ekc-x{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:36px;height:36px;min-width:0;min-height:0;margin:0;padding:0!important;border-radius:50%;border:0;background:#f1f5f9;color:#0f172a;font:600 17px/1 system-ui,-apple-system,sans-serif;text-align:center;cursor:pointer}

@media (max-width:860px){
  .ekc-wall{grid-template-columns:repeat(3,1fr)}
  .ekc-month{grid-template-columns:1fr}
  .ekc-postcard{background:var(--cream)}
  .ekc-postcard > .ekc-row,.ekc-postcard > label{margin-right:0}
  .ekc-pc-title{padding-right:110px}
}
@media (max-width:640px){
  .ekc{padding:30px 16px 40px}
  .ekc[data-mode=full]{padding-top:72px}
  .ekc-head{padding:36px 16px 30px;border-radius:22px}
  .ekc-head h1,.ekc-head h2{font-size:27px!important}
  .ekc .ekc-title{font-size:21px!important}
  .ekc-stats{gap:8px}
  .ekc-stat b{font-size:22px}
  .ekc-stat span{font-size:11.5px}
  .ekc-pass{grid-template-columns:96px 1fr 104px;min-height:112px;border-radius:18px}
  .ekc-pass-main{padding:12px 12px}
  .ekc-pass-main b{font-size:24px}
  .ekc-pass-meta{display:none}
  .ekc-pass-stub{padding:10px 8px}
  .ekc-pass-go{padding:10px 12px;font-size:13px}
  .ekc-pass-stub b{font-size:24px}
  .ekc-board{padding:26px 14px 20px}
  .ekc-board .ekc-stamp{width:84px;top:-26px;right:10px}
  .ekc-wall{grid-template-columns:repeat(2,1fr);gap:20px 14px}
  .ekc-bub{max-width:92%}
  .ekc-row{grid-template-columns:1fr}
  .ekc-postcard{padding:22px 18px 18px}
  .ekc-postcard::before{width:64px;height:78px;top:12px;right:12px}
  .ekc-pc-title{font-size:20px;padding-right:80px}
}

/* αρχική: όταν οι φωτογραφίες είναι 5 έως 8, μικραίνουν για να χωρέσουν */
.ekc-home .ekc-wall.is-dense{gap:22px 14px}
.ekc-home .ekc-wall.is-dense.n5{grid-template-columns:repeat(5,minmax(0,1fr))}
.ekc-home .ekc-wall.is-dense.n6{grid-template-columns:repeat(6,minmax(0,1fr))}
.ekc-home .ekc-wall.is-dense.n7{grid-template-columns:repeat(7,minmax(0,1fr))}
.ekc-home .ekc-wall.is-dense.n8{grid-template-columns:repeat(8,minmax(0,1fr))}
.ekc-home .ekc-wall.is-dense .ekc-ph{padding:7px 7px 0}
.ekc-home .ekc-wall.is-dense .ekc-ph::before{top:-8px;width:46px;height:15px;margin-left:-23px}
.ekc-home .ekc-wall.is-dense figcaption{padding:6px 2px 9px;font-size:12px;overflow-wrap:anywhere}
.ekc-home .ekc-wall.is-dense figcaption b{font-size:13px}
@media (max-width:860px){.ekc-home .ekc-wall.is-dense[class]{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:640px){.ekc-home .ekc-wall.is-dense[class]{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}}
