/* The Goat: τα ίδια χρώματα και γράμματα με την εφαρμογή (constants/goatTheme.ts, config/municipalities.ts) */

@font-face { font-family: 'Commissioner'; font-weight: 400; font-display: swap; src: url('/assets/fonts/commissioner-400.woff2') format('woff2'); }
@font-face { font-family: 'Commissioner'; font-weight: 600; font-display: swap; src: url('/assets/fonts/commissioner-600.woff2') format('woff2'); }
@font-face { font-family: 'Commissioner'; font-weight: 700; font-display: swap; src: url('/assets/fonts/commissioner-700.woff2') format('woff2'); }
@font-face { font-family: 'Commissioner'; font-weight: 900; font-display: swap; src: url('/assets/fonts/commissioner-900.woff2') format('woff2'); }

:root {
  --blue: #0A3FCF;
  --blue-deep: #072C93;
  --lace: #F7ECCD;
  --lace-dim: rgba(247, 236, 205, 0.78);
  --gold: #F0B429;
  --ink: #0A1F4D;
  --ink-dim: #46557A;
  --paper: #FBF5E3;
  --argostoli: #C8300F;
  --sami: #005C54;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 30px 70px rgba(5, 15, 50, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg, var(--blue));
  color: var(--lace);
  font: 600 18px/1.5 'Commissioner', system-ui, sans-serif;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
/* Το χρώμα που αλλάζει με το scroll (site.js): σταθερό στρώμα πίσω από όλα, σε δική του επιφάνεια */
.page-tint { position: fixed; inset: 0 0 auto; z-index: -1; height: 100vh; height: 100lvh; pointer-events: none; transform: translateZ(0); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--gold); color: var(--ink); font-weight: 900; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }

/* Τίτλοι: Commissioner Black, σφιχτά, όπως στις οθόνες της εφαρμογής */
.display, .display2, .stop-title, .town h3 { font-weight: 900; letter-spacing: -0.035em; margin: 0; }
.display { font-size: clamp(50px, 13.6vw, 100px); line-height: 0.92; }
.display2 { font-size: clamp(40px, 7vw, 84px); line-height: 0.95; }
.display3 { margin: 0; font-weight: 900; font-size: clamp(28px, 4vw, 44px); line-height: 0.95; letter-spacing: -0.03em; }
.display span, .display2 span, .stop-title span { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.place { display: flex; align-items: center; gap: 0.3em; margin: 0 0 14px; color: var(--gold); font-weight: 900; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.02em; }
.place svg { width: 0.8em; height: auto; }
.lead { max-width: 34ch; margin: 22px 0 0; color: var(--lace-dim); font-size: clamp(18px, 1.9vw, 22px); line-height: 1.45; }

/* Πάνω μπάρα */
.top { position: absolute; inset: 0 0 auto; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.top-links { display: flex; align-items: center; gap: 10px; }
.nav-link { padding: 8px 4px; font-weight: 700; font-size: 16px; text-decoration: none; }
.nav-link[aria-current='page'] { box-shadow: inset 0 -3px var(--gold); }
@media (max-width: 600px) { .top-links { gap: 6px; } .nav-link { font-size: 15px; } }
.pill { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.pill-line { box-shadow: inset 0 0 0 2px rgba(247, 236, 205, 0.45); }
.pill-gold { background: var(--gold); color: var(--ink); }
@media (max-width: 600px) { .pill-gold { display: none; } }

/* Κουμπιά για τα stores */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
/* Το badge της Apple μένει όπως είναι: ίδιο ύψος με το διπλανό κουμπί και κενό τουλάχιστον το 1/4 του ύψους του */
.store-badge { display: block; flex: none; border-radius: 10px; }
.store-badge img { display: block; height: 56px; width: auto; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 14px; border-radius: 12px; background: var(--ink); color: var(--lace); text-decoration: none; box-shadow: inset 0 0 0 2px rgba(247, 236, 205, 0.16); transition: transform 0.15s ease; }
a.store:hover { transform: translateY(-2px); }
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: 12px; font-weight: 600; opacity: 0.8; }
.store strong { display: block; font-size: 22px; font-weight: 900; line-height: 1.05; letter-spacing: -0.01em; }
.store-soon { background: transparent; box-shadow: inset 0 0 0 2px rgba(247, 236, 205, 0.35); color: var(--lace-dim); }

/* Κινητό */
.phone { position: relative; width: min(290px, 68vw); padding: 10px; border-radius: 46px; background: var(--ink); box-shadow: var(--shadow); }
.phone > img, .phone > video { width: 100%; height: auto; border-radius: 37px; }
.phone > video { aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); }

/* Ο Goat: κομμάτια με αρθρώσεις, όπως το AnimatedGoat της εφαρμογής */
.goat { position: absolute; aspect-ratio: 586 / 640; }
.goat-body { position: absolute; inset: 0; transform-origin: 50% 100%; will-change: transform; }
.goat-body img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.goat-dust { position: absolute; left: 5%; bottom: -5%; width: 90%; aspect-ratio: 4 / 1; border: 3px solid var(--lace); border-radius: 50%; background: rgba(247, 236, 205, 0.25); opacity: 0; pointer-events: none; }
.goat-tap { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.goat:not(.ready) { visibility: hidden; }

/* Αρχή */
.hero { position: relative; overflow: hidden; padding: 100px 0 64px; }
.lace-bg { position: absolute; z-index: 0; opacity: 0.12; pointer-events: none; }
.hero .lace-bg { right: -14%; top: 4%; width: min(820px, 95vw); transform: scaleX(-1); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.hero-visual { position: relative; display: grid; place-items: center; padding-top: 112px; }
.hero-visual .phone { transform: rotate(-4deg); }
.hero-goat { right: 4%; bottom: 100%; width: clamp(120px, 15vw, 160px); margin-bottom: -6px; }
@media (min-width: 900px) {
  .hero { padding: 120px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 40px; }
  .hero-visual { padding-top: 130px; }
}
/* Στο κινητό τα δύο κουμπιά χωράνε δίπλα δίπλα, για να φαίνεται νωρίτερα ο Goat */
@media (max-width: 480px) {
  .hero .lead { font-size: 17px; }
  .stores { gap: 14px; margin-top: 24px; }
  .store-badge img { height: 50px; }
  .store { flex: 1 1 0; min-width: 0; gap: 8px; min-height: 50px; padding: 6px 10px; border-radius: 10px; }
  .store svg { width: 24px; height: 24px; }
  .store small { font-size: 10.5px; }
  .store strong { font-size: 17px; }
}

/* Η διαδρομή */
.route { position: relative; padding: 72px 0 140px; overflow-x: clip; }
.route-head { margin-bottom: clamp(56px, 9vw, 96px); }
.route-lead { margin: 14px 0 0; color: var(--gold); font-weight: 900; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.02em; }
.route-track { position: relative; }
.route-svg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route-line { fill: none; stroke: var(--gold); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 24 17; }
.route-mask-line { fill: none; stroke: #fff; stroke-width: 40; }
.stops { position: relative; z-index: 1; display: grid; gap: clamp(88px, 13vw, 150px); margin: 0; padding: 0; list-style: none; }
.stop { position: relative; display: grid; gap: 30px; align-items: center; }
.stop-text { padding-left: 72px; }
.stop:nth-child(even) .stop-text { padding-left: 0; padding-right: 72px; }
.stop-title { font-size: clamp(36px, 5.2vw, 62px); line-height: 0.95; }
.stop-text p { max-width: 32ch; margin: 18px 0 0; color: var(--lace-dim); font-size: clamp(17px, 1.7vw, 20px); }
.stop-phone { display: grid; place-items: center; }
.stop-phone .phone { width: min(270px, 64vw); transform: rotate(3deg); }
.stop:nth-child(even) .stop-phone .phone { transform: rotate(-3deg); }
@media (min-width: 900px) {
  .stop { grid-template-columns: 1fr 1fr; gap: 56px; }
  .stop:nth-child(even) .stop-text { order: 2; }
  .stop-text { padding-left: 112px; }
  .stop:nth-child(even) .stop-text { padding-right: 112px; }
}

/* Οι πινέζες: αχνές μέχρι να περάσει ο Goat */
.pin { position: absolute; top: 2px; left: 0; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border: 5px solid rgba(247, 236, 205, 0.35); border-radius: 50%; color: transparent; font-weight: 900; font-size: 22px; transform: scale(0.5); transition: transform 0.25s ease, background-color 0.2s, border-color 0.2s, color 0.2s; }
.stop:nth-child(even) .pin { left: auto; right: 0; }
.stop.on .pin { background: var(--gold); border-color: var(--ink); color: var(--ink); transform: scale(1); transition: transform 0.45s cubic-bezier(0.3, 1.8, 0.5, 1), background-color 0.15s, border-color 0.15s, color 0.15s; }
/* Στις πολύ μεγάλες οθόνες η διαδρομή περνά από το περιθώριο, έξω από τα κείμενα. Μόνο όπου χωράει ολόκληρος
   ο Goat: με το site στα 1360 px, το περιθώριο φτάνει από τα 1600 px και πάνω */
@media (min-width: 1600px) {
  .pin { left: -84px; }
  .stop:nth-child(even) .pin { right: -84px; }
  .stop-text { padding-left: 0; }
  .stop:nth-child(even) .stop-text { padding-right: 0; }
}

/* Η ειδοποίηση που πέφτει στην πρώτη στάση */
.notif { position: absolute; z-index: 2; top: 6%; left: 7%; right: 7%; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 18px; background: rgba(251, 246, 233, 0.97); color: var(--ink); box-shadow: 0 16px 34px rgba(5, 15, 50, 0.35); opacity: 0; transform: translateY(-40px) scale(0.96); transition: opacity 0.25s, transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1); }
.notif img { width: 38px; height: 38px; border-radius: 9px; }
.notif div { flex: 1; min-width: 0; line-height: 1.2; }
.notif b { display: block; font-size: 14px; font-weight: 900; }
.notif span { display: block; overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.notif i { align-self: flex-start; font-size: 11px; font-style: normal; opacity: 0.6; }
.stop.on .notif { opacity: 1; transform: none; transition-delay: 0.25s; }

.route-goat { position: absolute; top: 0; left: 0; z-index: 3; width: clamp(58px, 7vw, 92px); pointer-events: none; transition: opacity 0.25s; }

/* Οι τρεις δήμοι: σύρεις όπως στην αρχική της εφαρμογής */
.towns { padding: 40px 0 130px; }
.towns .lead { max-width: 40ch; }
.town-strip { display: grid; grid-auto-columns: min(78%, 340px); grid-auto-flow: column; gap: 14px; margin-top: 44px; padding: 0 var(--gutter) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.town-strip::-webkit-scrollbar { display: none; }
.town { position: relative; display: flex; flex-direction: column; gap: 22px; min-height: 500px; padding: 28px 24px 0; overflow: hidden; border-radius: 30px; background: var(--c); scroll-snap-align: start; box-shadow: inset 0 0 0 2px rgba(247, 236, 205, 0.12); }
.town h3 { font-size: clamp(42px, 5vw, 60px); line-height: 0.9; }
.town .phone { width: 82%; margin: auto auto -32%; padding: 8px; border-radius: 38px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.town .phone > img { border-radius: 31px; }
@media (min-width: 900px) {
  .town-strip { grid-auto-columns: 1fr; max-width: 1360px; margin-inline: auto; overflow: visible; }
}

/* Το Reel */
.reel { padding: 20px 0 140px; }
.reel-grid { display: grid; gap: 44px; align-items: center; justify-items: start; }
.reel .phone { width: min(300px, 72vw); justify-self: center; transform: rotate(2deg); }
@media (min-width: 900px) { .reel-grid { grid-template-columns: 1fr auto; } }

/* Χωρίς λογαριασμό */
.promise { padding: 110px 0 120px; background: var(--paper); color: var(--ink); }
.promise .display2 { max-width: 14ch; }
.promise-list { display: grid; gap: 30px; margin: 52px 0 0; padding: 0; list-style: none; }
.promise-list li { padding-top: 20px; border-top: 3px dashed rgba(10, 31, 77, 0.22); }
.promise-list h3 { margin: 0 0 8px; font-size: 24px; font-weight: 900; letter-spacing: -0.02em; }
.promise-list p { margin: 0; color: var(--ink-dim); }
.promise .more { display: inline-block; margin-top: 40px; color: var(--blue); font-weight: 700; }
@media (min-width: 900px) { .promise-list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Κατέβασέ το */
.download { position: relative; padding: 120px 0 130px; overflow: hidden; text-align: center; }
.download .lace-bg { left: 50%; top: 10%; width: min(900px, 120vw); transform: translateX(-50%); }
.download .wrap { position: relative; z-index: 1; }
.download-goat-box { position: relative; width: clamp(150px, 20vw, 210px); margin: 0 auto 26px; aspect-ratio: 586 / 640; }
.download-goat-box .goat { inset: 0; }
.download .display2 span:last-child { color: var(--gold); }
.download .stores { justify-content: center; }
.download .note { margin: 18px 0 0; color: var(--lace-dim); }

/* Κάτω μέρος: σε όλο το πλάτος, με τεράστιο «The Goat» και τον Goat πάνω στα γράμματα */
.foot { position: relative; overflow: hidden; padding: 64px 0 0; background: var(--ink); color: var(--lace-dim); font-size: 15px; }
.foot-grid { display: grid; gap: 34px 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-brand { grid-column: 1 / -1; max-width: 420px; }
.foot-brand p { margin: 14px 0 0; }
.foot-brand .stores { margin-top: 20px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-title { margin: 0 0 4px; color: var(--gold); font-weight: 900; font-size: 15px; }
.foot-col a { display: inline-flex; gap: 8px; align-items: center; color: var(--lace); font-weight: 700; text-decoration: none; }
.foot-col a:hover { color: var(--gold); }
.foot-col .dot { width: 9px; height: 9px; }
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
  .foot-brand { grid-column: auto; }
}
/* Ο Goat στέκεται πάνω στη διακεκομμένη γραμμή, δεξιά */
.foot-bottom { position: relative; z-index: 1; display: grid; gap: 10px; margin-top: clamp(84px, 9vw, 120px); padding-block: 22px 28px; border-top: 2px dashed rgba(247, 236, 205, 0.16); font-size: 14px; }
.foot-goat-box { position: absolute; right: calc(var(--gutter) + 8px); bottom: 100%; width: clamp(64px, 7vw, 104px); aspect-ratio: 586 / 640; margin-bottom: -4px; }
.foot-goat-box .goat { inset: 0; }
.foot-bottom p { max-width: 72ch; margin: 0; }
.foot-credit { display: flex; flex-wrap: wrap; gap: 6px 24px; }
@media (min-width: 900px) { .foot-bottom { grid-template-columns: 1fr auto; align-items: end; } }

/* Αρχική: «Δεν θες εφαρμογή; Δες τα κι εδώ» */
.web { padding: 30px 0 130px; }
.web-tiles { display: grid; gap: 16px; margin-top: 40px; }
.web-tile { display: flex; flex-direction: column; gap: 12px; min-height: 340px; padding: 26px; border-radius: 30px; color: var(--ink); text-decoration: none; transition: transform 0.15s ease; }
.web-tile:hover { transform: translateY(-3px); }
.web-guide { background: var(--paper); }
.web-news { background: var(--gold); }
.web-tile h3 { margin: auto 0 0; font-weight: 900; font-size: clamp(34px, 4.4vw, 52px); line-height: 0.95; letter-spacing: -0.03em; }
.web-tile p { max-width: 36ch; margin: 0; color: var(--ink-dim); font-size: 17px; }
.web-news p { color: rgba(10, 31, 77, 0.78); }
.web-go { font-weight: 900; font-size: 17px; color: var(--blue); }
.web-news .web-go { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.web-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.web-collage img { width: 100%; aspect-ratio: 1; border-radius: 16px; object-fit: cover; background: rgba(10, 31, 77, 0.1); }
.web-dates { display: flex; flex-wrap: wrap; gap: 8px; }
.web-dates span { padding: 8px 14px; border-radius: 999px; background: var(--c); color: var(--lace); font-weight: 900; font-size: 15px; }
@media (min-width: 900px) { .web-tiles { grid-template-columns: 1.25fr 0.75fr; } }

/* Οδηγός και νέα: κοινά */
.page-head { padding: 90px 0 4px; }
.page-head .display3 { max-width: 22ch; }
.page-sub { margin: 8px 0 0; color: var(--lace-dim); font-size: 15px; }
.filters { padding: 14px 0 6px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.seg { display: flex; gap: 2px; max-width: 100%; padding: 4px; border-radius: 999px; background: rgba(10, 31, 77, 0.38); }
.seg-item { display: inline-flex; gap: 7px; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--lace); font: 700 14px/1 'Commissioner', sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; }
.seg-item:hover { background: rgba(247, 236, 205, 0.1); }
.seg-item[aria-current='page'], .seg-item[aria-pressed='true'] { background: var(--lace); color: var(--ink); }
.seg .dot { width: 9px; height: 9px; }
.kinds { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.kinds::-webkit-scrollbar { display: none; }
.kind-chip { display: inline-flex; flex: none; gap: 6px; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(247, 236, 205, 0.4); color: var(--lace); font-weight: 700; font-size: 14px; text-decoration: none; }
.kind-chip:hover { box-shadow: inset 0 0 0 2px var(--lace); }
.kind-chip[aria-current='page'] { background: var(--lace); box-shadow: none; color: var(--ink); }
.kind-chip .kind-icon { width: 15px; height: 15px; }
.kind-chip .n { font-weight: 600; font-size: 12px; opacity: 0.6; }
.find { flex: 1 1 190px; }
.search { display: flex; gap: 10px; align-items: center; height: 42px; padding: 0 14px; border-radius: 999px; background: rgba(10, 31, 77, 0.38); }
.search:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.search svg { width: 18px; height: 18px; flex: none; opacity: 0.8; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--lace); font: 600 16px 'Commissioner', sans-serif; }
.search input::placeholder { color: var(--lace-dim); }
@media (min-width: 900px) {
  .filters { position: sticky; top: 0; z-index: 6; background: var(--bg, var(--blue)); box-shadow: 0 10px 24px -20px rgba(5, 15, 50, 0.9); }
  .find { max-width: 300px; margin-left: auto; }
}
@media (max-width: 899px) {
  .kinds { width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .find { flex-basis: 100%; }
}
@media (max-width: 600px) {
  .seg { width: 100%; }
  .seg-item { flex: 1; padding: 0 4px; font-size: 13px; gap: 5px; }
}
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 165px), 1fr)); gap: 12px; margin: 14px 0 30px; padding: 0; list-style: none; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; } }
.card[hidden] { display: none; }
.card a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 20px; background: rgba(10, 31, 77, 0.3); box-shadow: inset 0 0 0 2px rgba(247, 236, 205, 0.08); text-decoration: none; transition: transform 0.15s ease; }
.card a:hover { transform: translateY(-3px); }
.card-media, .place-media, .post-media { position: relative; display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--c) 78%, #0A1F4D); }
.card-media { aspect-ratio: 3 / 2; }
/* Οι κάρτες που δεν φαίνονται δεν σχεδιάζονται, ώσπου να πλησιάσουν */
.cards > .card { content-visibility: auto; contain-intrinsic-size: auto 290px; }
.cards > .card > a:focus-visible { outline-offset: -3px; }
.card-media img, .place-media img, .post-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-icon { width: 34%; height: auto; color: rgba(247, 236, 205, 0.32); }
.badge { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 900; font-size: 11px; }
.card-body { padding: 10px 12px 14px; }
.card-kind { display: flex; gap: 5px; align-items: center; margin: 0; color: var(--gold); font-weight: 700; font-size: 12px; }
.kind-icon { width: 15px; height: 15px; flex: none; }
.card-body h3 { margin: 4px 0 3px; font-weight: 900; font-size: 17px; line-height: 1.12; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.card-where { margin: 0; color: var(--lace-dim); font-size: 13px; line-height: 1.35; }
.card-extra { margin: 6px 0 0; font-weight: 700; font-size: 12px; }
@media (min-width: 900px) { .card-body h3 { font-size: 19px; } .card-body { padding: 12px 14px 16px; } }
.empty { padding: 30px 0 60px; color: var(--lace-dim); text-align: center; }
.empty a { color: var(--gold); font-weight: 700; }
.empty[hidden] { display: none; }

/* Η λωρίδα «κατέβασέ το» στο τέλος */
.cta-band { padding: 70px 0 110px; }
.cta-band .wrap { display: grid; gap: 22px; align-items: center; }
.cta-goat { position: relative; width: 150px; aspect-ratio: 586 / 640; }
.cta-goat .goat { inset: 0; }
.cta-band .lead { margin-top: 12px; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: auto 1fr; gap: 40px; } }

/* Σελίδα ενός μέρους */
.place-page { padding-top: 96px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--lace-dim); font-weight: 700; font-size: 14px; }
.crumbs a { color: var(--lace); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.place-grid { display: grid; gap: 28px; align-items: start; }
.place-media { aspect-ratio: 4 / 3; border-radius: 28px; box-shadow: var(--shadow); }
.place-media .card-icon { width: 30%; }
.place-info .display2 { margin-top: 8px; overflow-wrap: anywhere; }
.place-where { margin: 12px 0 0; color: var(--lace-dim); font-weight: 700; font-size: 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.facts li { padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(247, 236, 205, 0.4); font-weight: 700; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: rgba(10, 31, 77, 0.4); color: var(--lace); font: 900 16px 'Commissioner', sans-serif; text-decoration: none; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--ink); }
.place-address { margin: 14px 0 0; color: var(--lace-dim); font-size: 15px; }
.place-text { max-width: 68ch; margin: 36px 0; font-size: 18px; }
.place-text p { margin: 0 0 14px; }
.credit { color: var(--lace-dim); font-size: 13px; }
.place-map { display: block; width: 100%; height: 340px; margin: 8px 0 48px; border: 0; border-radius: 24px; background: rgba(10, 31, 77, 0.3); }
.nearby .cards { margin-top: 18px; }
@media (min-width: 900px) { .place-grid { grid-template-columns: 1.1fr 0.9fr; gap: 44px; } }

/* Νέα και εκδηλώσεις */
.feed { margin: 20px 0 40px; }
.feed-note { color: var(--lace-dim); font-size: 15px; }
.feed-note a { color: var(--gold); font-weight: 900; }
.feed-title { margin: 30px 0 12px; color: var(--gold); font-weight: 900; font-size: 26px; letter-spacing: -0.02em; }
.posts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.post a, .post summary { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px; border-radius: 20px; background: rgba(10, 31, 77, 0.3); color: inherit; text-decoration: none; cursor: pointer; list-style: none; }
.post summary::-webkit-details-marker { display: none; }
.post a:hover, .post summary:hover { background: rgba(10, 31, 77, 0.42); }
.post-media { aspect-ratio: 1; border-radius: 14px; }
.post-media .card-icon { width: 46%; }
.date-badge { display: grid; place-content: center; color: var(--lace); text-align: center; line-height: 1; }
.date-badge b { font-weight: 900; font-size: 34px; }
.date-badge span { margin-top: 4px; font-weight: 700; font-size: 13px; }
.post-body { min-width: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 2px 0 0; color: var(--lace-dim); font-weight: 700; font-size: 13px; }
.post-meta .when { color: var(--gold); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--lace); }
.post h3 { margin: 6px 0; font-weight: 900; font-size: 19px; line-height: 1.2; overflow-wrap: anywhere; }
.excerpt { display: -webkit-box; margin: 0; overflow: hidden; color: var(--lace-dim); font-size: 15px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.post-full { padding: 6px 16px 16px; font-size: 16px; }
.notice { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 12px 0; padding: 14px 16px; border-radius: 16px; background: rgba(10, 31, 77, 0.4); }
.empty-line { color: var(--lace-dim); }
.post-skeleton { display: grid; grid-template-columns: 92px 1fr; gap: 14px; height: 116px; padding: 12px; border-radius: 20px; background: rgba(10, 31, 77, 0.22); }
.post-skeleton span { border-radius: 14px; background: rgba(247, 236, 205, 0.1); animation: pulse 1.2s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: 0.45; } }
@media (min-width: 700px) { .post a, .post summary, .post-skeleton { grid-template-columns: 120px 1fr; } }
@media (min-width: 1000px) { .posts { grid-template-columns: 1fr 1fr; } }

/* G.O.A.T.: «γιατί φοράει κορώνα» */
/* Greatest Of All T̶i̶m̶e̶ Towns: η λέξη τεράστια, και το «ime» διορθώνεται σε «owns» σαν με στυλό.
   Χωρίς JavaScript ή με λιγότερη κίνηση φαίνεται κατευθείαν διορθωμένο. Το site.js βάζει .gw-ready και μετά .go. */
.crown { padding: clamp(70px, 8vw, 120px) 0 150px; overflow-x: clip; }
.crown-grid { display: grid; gap: 40px; align-items: end; }
.crown .place svg { width: 1.1em; }
@media (min-width: 1100px) { .crown-grid { grid-template-columns: auto minmax(0, 440px); gap: clamp(48px, 6vw, 110px); } }
.goat-word { margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gw { display: grid; font-weight: 900; font-size: clamp(60px, 12.5vw, 200px); line-height: 0.9; letter-spacing: -0.045em; color: var(--lace); }
.gw-line { display: block; white-space: nowrap; }
.gw b { position: relative; color: var(--gold); }
/* Η κορώνα κάθεται λοξά πάνω στο G */
.gw-crown { position: absolute; left: 0.08em; top: -0.05em; width: 0.46em; transform: rotate(-14deg); transform-origin: 50% 100%; }
.gw-last { margin-top: 0.42em; }
.gw-fix { position: relative; display: inline-block; }
.gw-fix s { color: var(--lace); opacity: 0.4; text-decoration: none; }
.gw-strike { position: absolute; left: -0.04em; top: 0.36em; width: calc(100% + 0.08em); height: 0.3em; overflow: visible; pointer-events: none; }
.gw-strike path { fill: none; stroke: var(--gold); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.gw-fix ins { position: absolute; left: 0.04em; bottom: 0.78em; color: var(--gold); font-size: 0.72em; text-decoration: none; letter-spacing: -0.03em; transform: rotate(-6deg) skewX(-6deg); transform-origin: 0 100%; }
.gw-caret { position: absolute; left: -0.16em; bottom: -0.18em; color: var(--gold); font-style: normal; font-size: 0.8em; line-height: 1; }
/* Η διόρθωση παίζει μία φορά, όταν φανεί η λέξη (και ξανά αν την πατήσεις) */
.gw-ready .gw-strike path { stroke-dashoffset: 1; }
.gw-ready .gw-fix s { opacity: 1; }
.gw-ready .gw-fix ins { opacity: 0; transform: translateY(0.25em) rotate(-6deg) skewX(-6deg) scale(0.5); }
.gw-ready .gw-caret { opacity: 0; }
.gw-ready .gw-crown { opacity: 0; transform: translateY(-1.2em) rotate(-40deg); }
.gw-ready.go .gw-strike path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.32s cubic-bezier(0.6, 0, 0.4, 1) 0.35s; }
.gw-ready.go .gw-strike path + path { transition-delay: 0.62s; }
.gw-ready.go .gw-fix s { opacity: 0.4; transition: opacity 0.3s 0.7s; }
.gw-ready.go .gw-fix ins { opacity: 1; transform: rotate(-6deg) skewX(-6deg); transition: opacity 0.2s 1s, transform 0.5s cubic-bezier(0.3, 1.7, 0.5, 1) 1s; }
.gw-ready.go .gw-caret { opacity: 1; transition: opacity 0.2s 0.95s; }
.gw-ready.go .gw-crown { opacity: 1; transform: rotate(-14deg); transition: opacity 0.15s 1.45s, transform 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) 1.45s; }

/* Η ίδια διόρθωση, μικρή, στο κάτω μέρος */
.foot-motto { color: var(--lace); font-weight: 900; font-size: 17px; letter-spacing: -0.01em; }
.foot-motto s { color: var(--lace-dim); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.foot-motto b { color: var(--gold); font-weight: 900; }

/* Σελίδα δημοσίευσης */
.post-page { padding-top: 96px; }
.post-article { max-width: 760px; }
.post-article .display2 { margin: 10px 0 0; overflow-wrap: anywhere; }
.post-article .post-meta { font-size: 14px; }
.post-when { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin: 18px 0 0; padding: 10px 16px; border-radius: 16px; background: rgba(10, 31, 77, 0.38); font-weight: 900; font-size: 18px; }
.post-when span { color: var(--gold); font-weight: 700; font-size: 14px; }
.post-image { display: block; width: 100%; max-height: 520px; margin: 24px 0 0; border-radius: 24px; object-fit: cover; box-shadow: var(--shadow); }
.post-text { margin: 24px 0 0; font-size: 18px; }
.post-text p { margin: 0 0 14px; }

/* Κοινοποίηση */
.share-menu { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.share-menu[hidden] { display: none; }
.share-menu a, .share-menu button { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--lace); color: var(--ink); font: 700 14px 'Commissioner', sans-serif; text-decoration: none; cursor: pointer; }

/* Υπόδειξη για την άλλη γλώσσα */
.lang-hint { position: fixed; inset: auto 12px 12px; z-index: 50; display: flex; gap: 12px; align-items: center; max-width: 440px; margin-inline: auto; padding: 12px 12px 12px 16px; border-radius: 18px; background: var(--ink); color: var(--lace); box-shadow: 0 16px 40px rgba(5, 15, 50, 0.45); font-size: 15px; }
.lang-hint[hidden] { display: none; }

/* Πίσω στην αρχή: φαίνεται όταν έχεις κατέβει πάνω από μία οθόνη (site.js), πάνω από την υπόδειξη γλώσσας όταν υπάρχει */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--gold); color: var(--ink); box-shadow: 0 10px 26px rgba(5, 15, 50, 0.4); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.85); transition: opacity 0.2s, transform 0.25s cubic-bezier(0.3, 1.5, 0.5, 1), visibility 0s 0.25s; }
.to-top.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top.on:hover { transform: translateY(-3px); }
.to-top svg { width: 24px; height: 24px; }
.lang-hint:not([hidden]) ~ .to-top { bottom: calc(92px + env(safe-area-inset-bottom)); }
.lang-hint a { color: var(--gold); font-weight: 900; }
.lang-hint p { flex: 1; margin: 0; }
.lang-hint button { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(247, 236, 205, 0.12); color: var(--lace); font: inherit; font-size: 18px; cursor: pointer; }

/* Σελίδες κειμένου: απόρρητο και υποστήριξη */
.doc { background: var(--paper); color: var(--ink); }
.doc .top { position: relative; background: var(--blue); color: var(--lace); }
.doc-main { max-width: 70ch; margin-inline: auto; padding: 56px var(--gutter) 96px; font-weight: 400; font-size: 17px; line-height: 1.65; }
.doc-main h1 { margin: 0 0 8px; font-weight: 900; font-size: clamp(38px, 6vw, 64px); line-height: 0.95; letter-spacing: -0.035em; }
.doc-main h2 { margin: 36px 0 8px; color: var(--blue); font-weight: 900; font-size: 24px; letter-spacing: -0.02em; }
.doc-main h3 { margin: 22px 0 4px; font-weight: 700; font-size: 18px; }
.doc-main p { margin: 0 0 12px; }
.doc-main a { color: var(--blue); font-weight: 700; }
.doc-main .date { color: var(--ink-dim); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
