/* ============================================================
   Amyntaio Portal — Design System
   Παλέτα από το εγκεκριμένο mockup: ζεστό κρεμ, βαθύ πετρόλ,
   σκούρο slate, χρυσές πινελιές από το σήμα του Δήμου.
   ============================================================ */

:root {
  --cream: #f6f2e8;
  --cream-soft: #faf7f0;
  --paper: #ffffff;
  --ink: #1e2a33;
  --ink-soft: #4a5a66;
  --slate: #31424f;
  --slate-deep: #26343f;
  --teal: #2e6b70;
  --teal-deep: #1f5257;
  --teal-soft: #e3eeee;
  --gold: #b98d2f;
  --gold-soft: #f4ead2;
  --green: #5d7d52;
  --green-soft: #e8efe4;
  --line: #e7dfd0;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow:
    0 2px 6px rgba(30, 42, 51, 0.06), 0 12px 32px rgba(30, 42, 51, 0.08);
  --shadow-lg: 0 8px 40px rgba(30, 42, 51, 0.16);
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif:
    "Nunito", "Inter", system-ui, sans-serif; /* στρογγυλή display γραμματοσειρά */
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-soft);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--teal);
}
a:hover {
  color: var(--teal-deep);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: 64px 0;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--ink-soft);
  margin: 0 0 34px;
  max-width: 640px;
}
.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.section-head-row .section-sub {
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition:
    background 0.18s,
    transform 0.18s;
}
.btn:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
}
.btn.btn-ghost {
  background: transparent;
  color: var(--teal) !important;
  border: 1.5px solid var(--teal);
}
.btn.btn-ghost:hover {
  background: var(--teal-soft);
}
.btn.btn-light {
  background: #fff;
  color: var(--slate) !important;
}
.btn.btn-light:hover {
  background: var(--cream);
}

/* ------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand img {
  width: 64px;
  height: 64px;
}
.brand-name {
  font-weight: 800;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-name small {
  display: block;
  font-weight: 500;
  font-size: 10.5px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav {
  margin-left: auto;
}
.main-nav > ul,
.main-nav > div > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2px;
}
.main-nav a {
  display: block;
  padding: 10px 10px;
  border-radius: 8px;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}
.main-nav a:hover {
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.main-nav li.current-menu-item > a {
  color: var(--teal-deep);
}

/* dropdowns */
.main-nav li {
  position: relative;
}
.main-nav li.menu-item-has-children > a::after {
  content: " ▾";
  font-size: 10px;
  opacity: 0.55;
}
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 50;
  list-style: none;   /* 24/11: χωρίς bullets (ο browser βάζει circle στις εμφωλευμένες λίστες) */
  margin: 0;
}
.main-nav .sub-menu li { list-style: none; }
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  display: block;
}
.main-nav .sub-menu a {
  padding: 9px 14px;
  font-weight: 550;
  font-size: 14px;
  border-radius: 8px;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .main-nav .sub-menu {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 18px;
  }
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.nav-cta .btn {
  padding: 9px 16px;
  font-size: 13px;
  white-space: nowrap;
}
.lang-switch {
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink-soft);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}
.lang-switch:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

/* αγγλικό grid */
.en-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gold-soft);
  border: 1px solid #e5d5ac;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 34px;
  font-size: 14px;
}
.en-notice span {
  font-size: 22px;
}
.en-notice p {
  margin: 0;
  color: #6b5a26;
  line-height: 1.55;
}
.en-notice a {
  color: var(--teal-deep);
  font-weight: 600;
}

.en-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .en-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .en-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.map-cta {
  padding: 14px;
  text-align: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.nav-search-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.nav-search-btn:hover {
  border-color: var(--teal);
}
.nav-toggle {
  display: none;
}

/* mobile nav */
@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 12px;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
  }
  .nav-cta .btn {
    display: none;
  }
}

/* ------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero-media,
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* κινηματογραφικό slideshow: αργό zoom/pan + crossfade (Ken Burns) */
.hero-slides img {
  opacity: 0;
  animation: heroKB 20s ease-in-out infinite;
  will-change: transform, opacity;
}
.hero-slides img:nth-child(2) {
  animation-delay: 10s;
}
@keyframes heroKB {
  0% {
    opacity: 0;
    transform: scale(1.06) translate(1.2%, -0.6%);
  }
  6% {
    opacity: 1;
  }
  50% {
    opacity: 1;
    transform: scale(1.16) translate(-1.2%, 0.8%);
  }
  62% {
    opacity: 0;
    transform: scale(1.18) translate(-1.5%, 1%);
  }
  100% {
    opacity: 0;
    transform: scale(1.06) translate(1.2%, -0.6%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides img {
    animation: none;
  }
  .hero-slides img:first-child {
    opacity: 1;
  }
}

/* γυάλινο πάνελ τίτλου */
.hero-glass {
  background: rgba(16, 26, 34, 0.32);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  padding: 40px 46px 44px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
@media (max-width: 640px) {
  .hero-glass {
    padding: 28px 20px 30px;
    border-radius: 20px;
  }
}
.hero-glass h1 {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 24px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 34, 42, 0.42) 0%,
    rgba(23, 34, 42, 0.18) 45%,
    rgba(23, 34, 42, 0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 90px 22px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.15;
  margin: 0 0 8px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero-sub {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 20px);
  opacity: 0.92;
  margin: 0 0 26px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.hero-search {
  max-width: 640px;
  margin: 0 auto;
}
.search-mode {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 14px;
}
.search-mode button {
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 18px;
  border-radius: 100px;
  cursor: pointer;
}
.search-mode button.active {
  background: #fff;
  color: var(--slate);
}
/* ο βοηθός: ζεστός, όχι «ρομποτικός» */
.search-mode button.ai-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.search-mode button.ai-mode .spark {
  display: inline-block;
  animation: sparkle 2.6s ease-in-out infinite;
}
.search-mode button.ai-mode.active {
  background: linear-gradient(120deg, #fff3d6, #ffe4b8 55%, #ffd9e8);
  color: #6b4a12;
}
@keyframes sparkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.25) rotate(12deg);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .search-mode button.ai-mode .spark {
    animation: none;
  }
}
.hero-search form {
  display: flex;
  background: #fff;
  border-radius: 100px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
}
.hero-search input[type="search"] {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 10px 20px;
  font-size: 16px;
  font-family: var(--font-body);
  background: transparent;
  color: var(--ink);
}
.hero-search button[type="submit"] {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
}
.hero-search button[type="submit"]:hover {
  background: var(--teal-deep);
}
.hero-hint {
  font-size: 13px;
  margin-top: 12px;
  opacity: 0.85;
}
.hero-scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  opacity: 0.8;
  font-size: 22px;
  animation: float 2.2s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translate(-50%, 7px);
  }
}

/* ------------------------------------------------ ticker (τελευταία νέα κάτω από hero) */
.ticker-wrap {
  position: relative;
  z-index: 3;
  margin-top: -46px;
  margin-bottom: 46px;
}
.ticker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ticker-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--line);
}
.ticker-card .tk-date {
  font-size: 12.5px;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-top: 3px;
}
.ticker-card a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
}
.ticker-card a:hover {
  color: var(--teal-deep);
}
@media (max-width: 760px) {
  .ticker {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------ gov.gr */
:root {
  --gov: #003375;
  --gov-light: #1c5ba5;
  --gov-soft: #eaf1fa;
}
.gg {
  display: inline-block;
  background: #fff;
  color: var(--gov);
  font-weight: 800;
  font-size: 0.78em;
  padding: 2px 9px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  vertical-align: middle;
}
.gov-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  background: var(--gov);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.15s;
}
.gov-hero-btn:hover {
  background: var(--gov-light);
}

.gov-strip {
  background: var(--gov);
  color: #fff;
  padding: 44px 0;
}
.gov-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.gov-strip-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.6vw, 28px);
  margin: 0 0 4px;
}
.gov-strip-head p {
  margin: 0;
  opacity: 0.8;
  font-size: 14px;
}
.gov-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gov-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 100px;
  transition: background 0.15s;
}
.gov-chip:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.gov-chip-more {
  background: #fff;
  color: var(--gov);
}
.gov-chip-more:hover {
  background: var(--gov-soft);
  color: var(--gov);
}

.gov-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gov);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s;
}
.gov-btn:hover {
  background: var(--gov-light);
}
.gov-btn-light {
  background: #fff;
  color: var(--gov) !important;
}
.gov-btn-light:hover {
  background: var(--gov-soft);
}

.gov-hero {
  background: linear-gradient(
    120deg,
    #002a60,
    var(--gov) 55%,
    var(--gov-light)
  );
  color: #fff;
  padding: 54px 0 46px;
}
.gov-hero .crumbs {
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 10px;
}
.gov-hero .crumbs a {
  color: #fff;
  text-decoration: none;
}
.gov-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 0 0 10px;
}
.gov-hero p {
  max-width: 560px;
  margin: 0 0 16px;
  opacity: 0.9;
}
.gov-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
}
.gov-list {
  display: grid;
  gap: 12px;
}
.gov-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid #d8e3f0;
  border-left: 4px solid var(--gov);
  border-radius: 10px;
  padding: 20px 22px;
}
@media (max-width: 700px) {
  .gov-item {
    grid-template-columns: 1fr;
  }
}
.gov-item .gi {
  font-size: 28px;
  text-align: center;
}
.gov-item h3 {
  margin: 0 0 5px;
  font-size: 16px;
  color: var(--gov);
}
.gov-item p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.gov-item p a {
  color: var(--gov-light);
}
.gov-note {
  margin-top: 28px;
  background: var(--gov-soft);
  border-radius: 10px;
  padding: 18px 22px;
  font-size: 14px;
}
.gov-note p {
  margin: 0;
}

/* ------------------------------------------------ "Θέλω να" */
.needto {
  /* 20/11 (πρόταση G): navy φόντο σαν τη λωρίδα gov.gr, κουκκιδωτή υφή (::before), λευκές κάρτες */
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0b2a5b, #16468f);
  color: #fff;
}
.needto::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.needto > .container { position: relative; z-index: 1; }
.needto .section-title { color: #fff; }
.needto .section-sub { color: rgba(255, 255, 255, .85); }
.needto-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .needto-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .needto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.needto-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px 22px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    border-color 0.18s;
  position: relative;
}
/* 20/11 (πρόταση G): λευκές κάρτες πάνω στο navy, χρυσό περίγραμμα στο hover */
.needto .needto-card {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.needto .needto-card:hover,
.needto .needto-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 0 0 3px var(--gold), 0 14px 34px rgba(0, 0, 0, .35);
}
.needto-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
  color: var(--ink);
}
.needto-card .ni {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--teal-soft);
}
.needto-card .ni img,
.needto-card .ni svg {
  width: 32px;
  height: 32px;
}
.needto-card b {
  font-size: 14.5px;
  line-height: 1.35;
  font-weight: 700;
}
.needto-card span {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.needto-card .soon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 100px;
  text-transform: uppercase;
}

/* ------------------------------------------------ Επικαιρότητα (tabs) */
.timeliness-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 34px;
  align-items: start;
}
@media (max-width: 900px) {
  .timeliness-layout {
    grid-template-columns: 1fr;
  }
}
.tl-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 96px;
}
@media (max-width: 900px) {
  .tl-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
  }
}
.tl-tab {
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  border-left: 3px solid transparent;
}
.tl-tab:hover {
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.tl-tab.active {
  background: var(--paper);
  color: var(--teal-deep);
  border-left-color: var(--teal);
  box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .tl-tab {
    border-left: 0;
    border-bottom: 3px solid transparent;
  }
  .tl-tab.active {
    border-bottom-color: var(--teal);
  }
}

.tl-panel {
  display: none;
}
.tl-panel.active {
  display: block;
  animation: fadein 0.25s ease;
}
@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.tl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 700px) {
  .tl-grid {
    grid-template-columns: 1fr;
  }
}

.doc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    border-color 0.15s;
}
.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
  color: var(--ink);
}
.doc-card .dc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.doc-card h3 {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.45;
  font-weight: 650;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tl-more {
  margin-top: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.tone-teal {
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.tone-slate {
  background: #e5eaee;
  color: var(--slate);
}
.tone-gold {
  background: var(--gold-soft);
  color: #8a6a20;
}
.tone-green {
  background: var(--green-soft);
  color: #46603c;
}
.badge-doc {
  background: #fdeaea;
  color: #a33;
}

/* ------------------------------------------------ Θεματικές */
.themes-band {
  background: var(--slate);
  color: #fff;
}
.themes-band .section-title,
.themes-band .section-sub {
  color: #fff;
}
.themes-band .section-sub {
  opacity: 0.75;
}
.themes-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14.5px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.theme-chip:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}
.theme-chip small {
  opacity: 0.65;
  font-size: 12px;
  font-weight: 500;
}

/* ------------------------------------------------ Επισκέπτης */
.visitor-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: 22px;
  overflow: hidden;
  background: var(--green-soft);
  box-shadow: var(--shadow);
}
@media (max-width: 860px) {
  .visitor-card {
    grid-template-columns: 1fr;
  }
}
.visitor-body {
  padding: 46px 44px;
}
.visitor-body .section-title {
  margin-bottom: 10px;
}
.visitor-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}
.visitor-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.visitor-links a::before {
  content: "→";
  color: var(--green);
  font-weight: 800;
}
.visitor-links a:hover {
  color: var(--green);
}
.visitor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}

/* ------------------------------------------------ Ξυνό Νερό */
.xn-band {
  position: relative;
  background: linear-gradient(115deg, #0e3a4d, #17607a 55%, #2b93a8);
  color: #fff;
  overflow: hidden;
}

/* κύματα που «ταξιδεύουν» στη βάση της λωρίδας */
.xn-waves {
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  pointer-events: none;
}
.xn-waves i {
  position: absolute;
  inset: 0;
  display: block;
  background-repeat: repeat-x;
  background-position: 0 bottom;
  background-size: 900px 90px;
}
.xn-waves .w1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 90'%3E%3Cpath d='M0 55 Q112 25 225 55 T450 55 T675 55 T900 55 V90 H0 Z' fill='rgba(255,255,255,0.10)'/%3E%3C/svg%3E");
  animation: xnWave 14s linear infinite;
}
.xn-waves .w2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 90'%3E%3Cpath d='M0 68 Q112 45 225 68 T450 68 T675 68 T900 68 V90 H0 Z' fill='rgba(255,255,255,0.16)'/%3E%3C/svg%3E");
  animation: xnWave 9s linear infinite reverse;
}
@keyframes xnWave {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: 900px;
  }
}

/* φυσαλίδες — είναι ανθρακούχο, άλλωστε */
.xn-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.xn-bubbles b {
  position: absolute;
  bottom: -14px;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.12) 65%
  );
  animation: xnRise 7s ease-in infinite;
}
.xn-bubbles b:nth-child(1) {
  left: 8%;
  width: 7px;
  height: 7px;
  animation-duration: 6.5s;
}
.xn-bubbles b:nth-child(2) {
  left: 18%;
  width: 12px;
  height: 12px;
  animation-delay: 1.8s;
}
.xn-bubbles b:nth-child(3) {
  left: 31%;
  width: 6px;
  height: 6px;
  animation-delay: 3.4s;
  animation-duration: 5.5s;
}
.xn-bubbles b:nth-child(4) {
  left: 47%;
  width: 9px;
  height: 9px;
  animation-delay: 0.9s;
}
.xn-bubbles b:nth-child(5) {
  left: 61%;
  width: 13px;
  height: 13px;
  animation-delay: 2.6s;
  animation-duration: 8s;
}
.xn-bubbles b:nth-child(6) {
  left: 74%;
  width: 7px;
  height: 7px;
  animation-delay: 4.2s;
}
.xn-bubbles b:nth-child(7) {
  left: 86%;
  width: 10px;
  height: 10px;
  animation-delay: 1.2s;
  animation-duration: 6s;
}
.xn-bubbles b:nth-child(8) {
  left: 94%;
  width: 6px;
  height: 6px;
  animation-delay: 3s;
}
@keyframes xnRise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  8% {
    opacity: 0.9;
  }
  50% {
    transform: translateY(-120px) translateX(8px) scale(1.05);
  }
  100% {
    transform: translateY(-240px) translateX(-6px) scale(0.8);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xn-waves i,
  .xn-bubbles b,
  .xn-bottle {
    animation: none !important;
  }
}
.xn-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 44px;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 240px;
}
.xn-bottle {
  height: 250px;
  width: auto;
  flex: none;
  margin-bottom: -38px;
  align-self: flex-end;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
  animation: xnBob 5.5s ease-in-out infinite;
}
@keyframes xnBob {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(-1.5deg) translateY(-8px);
  }
}
.xn-text {
  padding: 30px 0;
}
.xn-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 5px 15px 5px 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.xn-brand img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
}
.xn-band h2 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(21px, 2.8vw, 30px);
  margin: 0 0 8px;
}
.xn-band p {
  margin: 0 0 16px;
  max-width: 640px;
  opacity: 0.92;
  font-size: 15px;
  line-height: 1.65;
}
.xn-btn {
  color: #17607a !important;
  font-weight: 700;
}
@media (max-width: 720px) {
  .xn-inner {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }
  .xn-bottle {
    height: 170px;
    margin-bottom: -20px;
    order: 2;
  }
  .xn-text {
    padding-bottom: 8px;
  }
  .xn-band p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ------------------------------------------------ banner χάρτη */
.map-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.map-banner .mb-bg {
  position: absolute;
  inset: 0;
}
.map-banner .mb-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(31, 82, 87, 0.93) 0%,
    rgba(31, 82, 87, 0.72) 55%,
    rgba(31, 82, 87, 0.4) 100%
  );
}
.mb-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding-top: 46px;
  padding-bottom: 46px;
}
.map-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 6px;
}
.map-banner p {
  margin: 0 0 14px;
  opacity: 0.88;
  font-size: 15px;
}
.mb-chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.mb-chips span {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ------------------------------------------------ Δήμος band */
.dimos-band {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--slate-deep);
}
.dimos-band .bg {
  position: absolute;
  inset: 0;
}
.dimos-band .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.dimos-band .container {
  position: relative;
}
.dimos-band .section-title {
  color: #fff;
}
.dimos-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
@media (max-width: 760px) {
  .dimos-links {
    grid-template-columns: 1fr;
  }
}
.dimos-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 4px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.dimos-links a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.18s;
}
.dimos-links a:hover {
  color: var(--gold-soft);
}
.dimos-links a:hover::after {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------ Διαύγεια */
.diavgeia .dv-list {
  display: grid;
  gap: 10px;
}
.dv-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  text-decoration: none;
  color: var(--ink);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.dv-item:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.dv-item .dv-date {
  font-size: 13px;
  color: var(--ink-soft);
}
.dv-item .dv-subject {
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dv-item .dv-ada {
  font-size: 12px;
  color: var(--teal);
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .dv-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
.dv-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
}
.dv-live {
  width: 9px;
  height: 9px;
  background: #2fa84f;
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(47, 168, 79, 0.15);
  }
}

/* ------------------------------------------------ Σε αριθμούς */
.numbers-band {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--teal-deep);
}
.numbers-band .bg {
  position: absolute;
  inset: 0;
}
.numbers-band .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.numbers-band .container {
  position: relative;
}
.numbers-band .section-title {
  color: #fff;
  text-align: center;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 40px;
  text-align: center;
}
@media (max-width: 860px) {
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.num-item .n {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1;
}
.num-item .l {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.8;
  letter-spacing: 0.03em;
}
.num-item .n small {
  font-size: 0.5em;
}

/* ------------------------------------------------ Ψηφιακά εργαλεία */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}
.tool-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--ink);
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.tool-card .ti {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: var(--teal-soft);
}
.tool-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.tool-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.tool-card .soon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold-soft);
  color: #8a6a20;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.tools-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-soft);
}
.tools-note a {
  font-weight: 600;
}

/* ------------------------------------------------ σύνδεσμοι */
.links-strip {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 34px 0;
}
.links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
}
.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  padding: 9px 20px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.ext-link:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-deep);
}

/* καλωσόρισμα δημάρχου — διακριτικό */
.mayor-note {
  padding: 40px 0;
}
.mayor-card {
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 36px;
  box-shadow: var(--shadow);
}
@media (max-width: 640px) {
  .mayor-card {
    flex-direction: column;
    text-align: center;
  }
}
.mayor-card img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 3px solid var(--gold-soft);
  flex: none;
}
.mayor-card .mq {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.mayor-card .ms {
  margin: 0 0 14px;
  font-size: 14px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.logo-link {
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  height: 84px;
  width: 178px;
  filter: grayscale(0.4);
  opacity: 0.85;
  transition: all 0.18s;
}
.logo-link:hover {
  filter: none;
  opacity: 1;
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.logo-link img {
  max-height: 58px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.logo-more {
  background: var(--teal);
  color: #fff;
  text-align: center;
  filter: none;
  opacity: 1;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  text-decoration: none;
}
.logo-more small {
  font-weight: 600;
  font-size: 11px;
}
.logo-more:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}
.logo-link-lg {
  height: auto;
  width: 200px;
  flex-direction: column;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px;
}
.logo-link-lg span {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.4;
}

/* ------------------------------------------------ footer */
.site-footer {
  background: var(--slate-deep);
  color: #cfd8de;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding: 56px 0 40px;
}
@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
}
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 16px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.site-footer a {
  color: #cfd8de;
  text-decoration: none;
  font-size: 14.5px;
}
.site-footer a:hover {
  color: #fff;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-brand img {
  width: 56px;
  height: 56px;
}
.footer-brand b {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  display: block;
}
.footer-contact li {
  display: flex;
  gap: 9px;
  font-size: 14.5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom a {
  color: #cfd8de;
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-row a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 15px;
}
.social-row a:hover {
  background: var(--teal);
  border-color: var(--teal);
}

/* ============================================================
   ΕΣΩΤΕΡΙΚΕΣ ΣΕΛΙΔΕΣ
   ============================================================ */
.page-hero {
  background: linear-gradient(120deg, var(--slate-deep), var(--teal-deep));
  color: #fff;
  padding: 52px 0 44px;
}
.page-hero .crumbs {
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 10px;
}
.page-hero .crumbs a {
  color: #fff;
  text-decoration: none;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 40px);
  margin: 0;
}
.page-hero .ph-meta {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.page-hero .badge {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ---- archive: λίστα εγγράφων (η μεγάλη διόρθωση) ---- */
.archive-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  padding: 44px 0 70px;
}
@media (max-width: 920px) {
  .archive-layout {
    grid-template-columns: 1fr;
  }
}

.filter-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 22px;
}
@media (max-width: 920px) {
  .filter-panel {
    position: static;
  }
}
.filter-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.filter-box h4 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.filter-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.filter-box li a {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 550;
}
.filter-box li a:hover {
  background: var(--teal-soft);
}
.filter-box li.active a {
  background: var(--teal);
  color: #fff;
}
.filter-box li a small {
  color: var(--ink-soft);
}
.filter-box li.active a small {
  color: rgba(255, 255, 255, 0.75);
}
.filter-box select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
}

.doc-list {
  display: grid;
  gap: 12px;
}
.doc-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  text-decoration: none;
  color: var(--ink);
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.doc-row:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateX(3px);
  color: var(--ink);
}
.doc-row .dr-date {
  text-align: center;
  line-height: 1.1;
}
.doc-row .dr-date b {
  display: block;
  font-size: 21px;
  color: var(--teal-deep);
}
.doc-row .dr-date span {
  font-size: 11.5px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.doc-row h3 {
  margin: 0 0 7px;
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.45;
}
.doc-row .dr-badges {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.doc-row .dr-side {
  font-size: 22px;
  color: var(--line);
  transition: color 0.15s;
}
.doc-row:hover .dr-side {
  color: var(--teal);
}
@media (max-width: 640px) {
  .doc-row {
    grid-template-columns: 1fr;
  }
  .doc-row .dr-date {
    display: flex;
    gap: 6px;
    align-items: baseline;
  }
}

.count-note {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
}
.pagination .page-numbers.current {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.pagination .page-numbers:hover:not(.current) {
  border-color: var(--teal);
}

/* ---- single ---- */
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  padding: 44px 0 70px;
}
@media (max-width: 980px) {
  .single-layout {
    grid-template-columns: 1fr;
  }
}
.article-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 44px;
}
@media (max-width: 640px) {
  .article-body {
    padding: 26px 20px;
  }
}
.article-body .content {
  font-size: 16.5px;
  line-height: 1.75;
}
.article-body .content p {
  margin: 0 0 1.1em;
}
.article-body .content a {
  word-break: break-word;
}
.article-body .content img {
  border-radius: 10px;
}
.article-themes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.article-themes a {
  background: var(--teal-soft);
  color: var(--teal-deep);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
}
.article-themes a:hover {
  background: var(--teal);
  color: #fff;
}

.attach-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
}
.attach-box h4 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.attach-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.attach-box a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--cream-soft);
  border-radius: 9px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 550;
  line-height: 1.4;
  word-break: break-word;
}
.attach-box a:hover {
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.attach-box .fico {
  flex: none;
  font-size: 16px;
}

.postnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}
.postnav a {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.4;
}
.postnav a:hover {
  border-color: var(--teal);
}
.postnav a small {
  display: block;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.postnav .next {
  text-align: right;
}

/* ---- generic page / search ---- */
.plain-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 44px 22px 70px;
}
.plain-wrap .article-body {
  padding: 40px 44px;
}

.search-count {
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* ---- επικοινωνία ---- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}
@media (max-width: 960px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}
.ccard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-align: center;
}
.ccard .ci {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}
.ccard h3 {
  margin: 0 0 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.ccard p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.ccard a {
  text-decoration: none;
}
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 44px;
  box-shadow: var(--shadow);
}
.contact-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.dir-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.dir-head input {
  flex: 1;
  min-width: 260px;
  max-width: 420px;
  padding: 12px 18px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--paper);
}
.dir-head input:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}
.dir-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}
.dir-tools select {
  padding: 12px 18px;
  max-width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--paper);
  color: inherit;
  cursor: pointer;
}
.dir-tools select:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}

.dir-table .content {
  overflow-x: auto;
}
.dir-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.dir-table th,
.dir-table td {
  padding: 10px 12px !important;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.dir-table tr:first-child {
  background: var(--slate);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: sticky;
  top: 0;
}
.dir-table tr:nth-child(even) {
  background: var(--cream-soft);
}
.dir-table tr:hover:not(:first-child) {
  background: var(--teal-soft);
}
.dir-table a {
  word-break: break-all;
}

/* ---- τεχνητή νοημοσύνη ---- */
.ai-hero {
  background: linear-gradient(125deg, #1f3a4a, #2e6b70 60%, #3d8a8f);
}
.badge-soon {
  background: rgba(255, 200, 80, 0.22) !important;
  border-color: rgba(255, 200, 80, 0.5) !important;
}
.lead-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 820px;
  margin: 0 0 34px;
}
.ai-status {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 760px) {
  .ai-status {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ai-step {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  opacity: 0.6;
}
.ai-step span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--line);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 6px;
}
.ai-step b {
  font-size: 14.5px;
}
.ai-step small {
  font-size: 12.5px;
  color: var(--ink-soft);
}
.ai-step.done {
  opacity: 1;
  border-color: var(--green);
}
.ai-step.done span {
  background: var(--green);
  color: #fff;
}
.ai-step.active {
  opacity: 1;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}
.ai-step.active span {
  background: var(--teal);
  color: #fff;
}
.ai-step.active::after {
  content: "τώρα";
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .ai-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .ai-grid {
    grid-template-columns: 1fr;
  }
}
.ai-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
}
.ai-card span {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}
.ai-card h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
}
.ai-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.ai-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .ai-how {
    grid-template-columns: 1fr;
  }
}
.ai-how h3 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--teal-deep);
}
.ai-how p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.ai-privacy {
  margin-top: 40px;
  background: var(--cream-soft);
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  padding: 22px 26px;
}
.ai-privacy h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.ai-privacy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.ai-cta {
  margin-top: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ai-cta p {
  margin: 0;
  font-size: 15px;
}

/* ---- ψηφιακές υπηρεσίες ---- */
.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .plat-grid {
    grid-template-columns: 1fr;
  }
}
.plat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
}
.plat-card .pi {
  font-size: 34px;
}
.plat-card h3 {
  margin: 0;
  font-size: 18px;
}
.plat-card p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 760px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}
.cat-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
}
.cat-box h3 {
  margin: 0 0 12px;
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--teal-deep);
}
.cat-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cat-box li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.cat-box li a {
  text-decoration: none;
  color: var(--ink);
}
.cat-box li a:hover {
  color: var(--teal);
}
.cat-box li a::after {
  content: " ↗";
  font-size: 11px;
  opacity: 0.45;
}

/* ---- μεγάλος χάρτης ---- */
.map-page {
  padding-bottom: 40px;
}
.map-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 18px 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mf-chip {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 100px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s;
}
.mf-chip:hover {
  border-color: var(--teal);
}
.mf-chip.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.mf-chip small {
  opacity: 0.7;
}
#big-map {
  height: calc(100vh - 260px);
  min-height: 480px;
}
.map-credit {
  font-size: 12px;
  color: var(--ink-soft);
  padding-top: 12px;
}
.leaflet-popup-content {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ---- ΕΣΠΑ banner στο footer ---- */
.espa-strip {
  background: #fff;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.espa-strip img {
  max-height: 74px;
  width: auto;
}

/* 404 */
.err-wrap {
  text-align: center;
  padding: 110px 22px;
}
.err-wrap .code {
  font-family: var(--font-serif);
  font-size: 96px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

/* helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* διακριτική ένδειξη πιλοτικής λειτουργίας (header) */
.pilot-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a6414;
  background: var(--gold-soft);
  border: 1px solid #e6cf8f;
  border-radius: 100px;
  padding: 5px 9px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 10.5px;
}
.pilot-chip:hover {
  background: #f1e2b8;
  color: #6b4c0c;
}
@media (max-width: 1180px) {
  .pilot-chip {
    display: none;
  }
}

/* photo grid — gallery κατηγορίες (π.χ. Ο Τόπος μας) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.photo-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--slate);
  color: #fff;
  text-decoration: none;
}
.photo-card--lg {
  grid-column: span 2;
  grid-row: span 2;
}
.photo-card img,
.photo-card__empty {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.photo-card__empty {
  background: linear-gradient(135deg, var(--teal), var(--slate));
}
.photo-card:hover img {
  transform: scale(1.06);
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.72) 100%
  );
}
.photo-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.photo-card__cat {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.photo-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.photo-card--lg h3 {
  font-size: 26px;
}
.photo-card__ex {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.3s ease,
    max-height 0.3s ease;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}
.photo-card__ex * {
  color: #fff !important;
}
.photo-card:hover .photo-card__ex,
.photo-card--lg .photo-card__ex {
  opacity: 0.92;
  max-height: 60px;
}
@media (max-width: 920px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .photo-card--lg {
    grid-column: span 2;
    grid-row: span 1;
  }
}
@media (max-width: 560px) {
  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }
  .photo-card--lg {
    grid-column: span 1;
  }
}

/* --- Εικονίδια γραμμής (amy_icon) & λογότυπο gov.gr — έλεγχος DAD --- */
.dic {
  vertical-align: -0.22em;
  flex: none;
}
.badge .dic {
  vertical-align: -0.18em;
  margin-right: 2px;
}
.fico .dic,
.ci .dic {
  vertical-align: -0.3em;
}
.needto-card .ni .dic,
.tool-card .ti .dic {
  display: block;
  margin: 0 auto;
}
.gg-logo {
  height: 1.35em;
  width: auto;
  vertical-align: -0.3em;
  margin-right: 6px;
}
.hero .gg-logo {
  height: 1.2em;
}

/* --- Εγκύκλιοι (page-egkyklioi.php) --- */
.egk-law {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.egk-intro {
  margin-bottom: 28px;
}
.egk-h2 {
  font-size: 24px;
  margin: 0 0 16px;
}
.egk-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 34px;
  padding: 22px 24px;
  background: var(--teal-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}
.egk-note-icon {
  color: var(--teal-deep);
  flex: none;
  padding-top: 2px;
}
.egk-note h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.egk-note p {
  margin: 0 0 12px;
  line-height: 1.6;
}
.egk-search {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0 10px;
}
.egk-search input {
  flex: 1 1 240px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.egk-search .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.egk-small {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0 !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- εικόνες άρθρων: πλέγμα για συνεχόμενες + lightbox ---- */
.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.img-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 !important;
  cursor: zoom-in;
}
.article-body img {
  cursor: zoom-in;
}
.amy-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(12, 18, 24, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  cursor: zoom-out;
}
.amy-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}
.amy-lightbox .lb-close {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 34px;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  line-height: 1;
}

/* ---- φόρμα επικοινωνίας ---- */
.contact-form-wrap {
  margin: 54px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.contact-form .cf-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) {
  .contact-form .cf-row {
    grid-template-columns: 1fr;
  }
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--slate);
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream-soft);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
}
.contact-form textarea {
  resize: vertical;
}
.cf-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
.form-note {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-weight: 600;
  font-size: 14.5px;
}
.form-note--ok {
  background: var(--green-soft);
  color: #3d5a34;
  border: 1px solid #c6d8bd;
}
.form-note--err {
  background: #fdecea;
  color: #90322c;
  border: 1px solid #f2c7c3;
}

/* ============================================================
   Αρχική: διάφανο header πάνω από το hero, συμπαγές όταν κυλά η σελίδα,
   και λεπτό διάφανο γυάλινο πλαίσιο (λογική lefkada.gov.gr).
   Μόνο σε desktop· κάτω από 980px το header μένει συμπαγές με burger.
   ============================================================ */
.site-header { transition: background .28s ease, box-shadow .28s ease, border-color .28s ease; }
.site-header .header-inner { transition: min-height .25s ease; }

@media (min-width: 981px) {
  .home .site-header {
    position: fixed; top: 0; left: 0; right: 0;
    background: transparent; border-bottom-color: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .home.admin-bar .site-header { top: 32px; }
  .home .site-header.is-solid {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(20, 40, 60, .08);
  }
  /* απαλό σκούρο fade πίσω από το μενού ώστε να διαβάζονται τα λευκά λεκτικά */
  .home .site-header:not(.is-solid)::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 240px;
    z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 24, 40, .55) 0%, rgba(8, 24, 40, .28) 45%, rgba(8, 24, 40, 0) 100%);
  }
  .home .site-header:not(.is-solid) .header-inner { min-height: 98px; }
  .home .site-header:not(.is-solid) .brand,
  .home .site-header:not(.is-solid) .brand-name small,
  .home .site-header:not(.is-solid) .main-nav > ul > li > a,
  .home .site-header:not(.is-solid) .main-nav > div > ul > li > a {
    color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
  }
  .home .site-header:not(.is-solid) .brand-name small { opacity: .9; }
  .home .site-header:not(.is-solid) .main-nav > ul > li > a:hover,
  .home .site-header:not(.is-solid) .main-nav > div > ul > li > a:hover {
    background: rgba(255, 255, 255, .16); color: #fff;
  }
  .home .site-header:not(.is-solid) .brand img { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
  .home .site-header:not(.is-solid) .lang-switch,
  .home .site-header:not(.is-solid) .nav-search-btn,
  .home .site-header:not(.is-solid) .pilot-chip {
    color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  /* τα αναδυόμενα υπομενού μένουν λευκά με σκούρα γράμματα */
  .home .site-header:not(.is-solid) .main-nav .sub-menu a { color: var(--ink); text-shadow: none; }
  .home .site-header:not(.is-solid) .main-nav .sub-menu a:hover { background: var(--teal-soft); color: var(--teal-deep); }

  .home .hero { min-height: 640px; }
  .home .hero-content { padding-top: 112px; padding-bottom: 70px; }
}

/* γυάλινο πλαίσιο: στενότερο, πιο διάφανο, λιγότερο θόλωμα ώστε να φαίνεται η φωτογραφία */
.home .hero-content { width: min(760px, 100%); }
.home .hero-glass {
  width: min(660px, 100%); margin: 0 auto;
  padding: 22px 32px 24px; border-radius: 24px;
  background: rgba(22, 46, 63, .40);
  backdrop-filter: blur(8px) saturate(1.15); -webkit-backdrop-filter: blur(8px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
}
.home .hero-glass h1 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; margin: 0 0 2px; text-shadow: 0 2px 4px rgba(0, 0, 0, .48); }
.home .hero-sub { font-size: 17px; font-weight: 400; opacity: 1; margin: 0 0 12px; text-shadow: 0 2px 4px rgba(0, 0, 0, .48); }
.home .hero-search { max-width: 560px; }
.home .search-mode { margin-bottom: 10px; }
.home .hero-search form { padding: 5px; }
.home .hero-search input[type="search"] { padding: 9px 18px; font-size: 15.5px; min-width: 0; }
.home .hero-search button[type="submit"] { width: 42px; height: 42px; flex: none; }
.home .gov-hero-btn { margin-top: 10px; font-size: 15px; padding: 8px 20px 8px 14px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.home .hero-scroll { display: none; }

@media (max-width: 768px) {
  .home .hero { min-height: 540px; }
  .home .hero-content { padding-top: 54px; padding-bottom: 64px; }
  .home .gov-hero-btn { font-size: 12px; padding: 7px 14px 7px 10px; }
  .home .hero-glass { padding: 18px 18px 20px; border-radius: 18px; }
  .home .hero-glass h1 { font-size: 25px; }
  .home .hero-sub { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .header-inner { transition: none; }
}

/* --- Πάνελ νέων κάτω από το hero (αντικαθιστά το ticker), λογική lefkada.gov.gr --- */
.news-panel { position: relative; z-index: 3; margin-top: -26px; background: var(--paper); border-radius: 30px 30px 0 0; box-shadow: 0 -6px 18px rgba(0, 0, 0, .12); padding: 26px 0 22px; }
.np-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.np-head h2 { font-family: var(--font-serif); font-size: 22px; margin: 0; }
.np-ctl { display: flex; align-items: center; gap: 8px; }
.np-all { font-weight: 600; font-size: 14px; color: var(--teal-deep); text-decoration: none; margin-right: 8px; }
.np-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.np-btn:hover { border-color: var(--teal); color: var(--teal-deep); }
.np-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.np-track::-webkit-scrollbar { display: none; }
.np-card { display: flex; gap: 14px; scroll-snap-align: start; min-height: 128px; }
.np-img { flex: none; width: 110px; height: 110px; border-radius: 10px; overflow: hidden; background: #eef2f6; display: block; transition: transform .18s ease, box-shadow .18s ease; }
.np-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.np-ph { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; }
.np-c0 { background: #e8eef3 url(../img/news/ph-0.svg) center/cover; }
.np-c1 { background: #e8eef3 url(../img/news/ph-4.svg) center/cover; }
.np-c2 { background: #e8eef3 url(../img/news/ph-5.svg) center/cover; }
.np-c3 { background: #e8eef3 url(../img/news/ph-2.svg) center/cover; }
.np-c4 { background: #e8eef3 url(../img/news/ph-3.svg) center/cover; }
.np-c5 { background: #e8eef3 url(../img/news/ph-1.svg) center/cover; }
.np-c6 { background: #e8eef3 url(../img/news/ph-6.svg) center/cover; }
/* 23/11: νέο χωρίς εικόνα -> λογότυπο Δήμου σε απαλό φόντο */
.np-ph.np-logo { display: grid; place-items: center; background: linear-gradient(145deg, var(--cream-soft), var(--teal-soft)); }
.np-img .np-logo img { width: 56%; height: auto; object-fit: contain; opacity: .92; }
.np-body { display: flex; flex-direction: column; min-width: 0; }
.np-date { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 4px; }
.np-title { font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-more { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--teal-deep); text-decoration: none; }
.np-card:hover .np-img { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(20, 40, 60, .14); }
.np-card:hover .np-title, .np-title:focus-visible { color: var(--teal-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.np-card:hover .np-more { text-decoration: underline; }
@media (max-width: 992px) { .np-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .np-track { grid-auto-columns: 88%; } .news-panel { border-radius: 20px 20px 0 0; margin-top: -18px; } .np-head h2 { font-size: 19px; } }

/* --- Καταφύγιο Αδέσποτων Ζώων: λωρίδα χαμηλά στην αρχική (εκτός κύριου μενού) --- */
.kat-band { background: var(--green-soft); }
.kat-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center; }
.kat-ico { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: #fff; color: var(--green); box-shadow: var(--shadow); margin-bottom: 14px; }
.kat-text p { color: var(--ink-soft); max-width: 560px; margin: 0 0 22px; }
.kat-text .btn { background: var(--green); }
.kat-text .btn:hover { background: #4b6a41; }
.kat-side { background: #fff; border: 1px solid #d5e0cf; border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.kat-stat { display: flex; align-items: baseline; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.kat-stat b { font-family: var(--font-serif); font-size: 40px; line-height: 1; color: var(--green); }
.kat-stat span { color: var(--ink-soft); font-weight: 600; }
.kat-news { list-style: none; margin: 0; padding: 0; }
.kat-news li { padding: 8px 0; border-bottom: 1px solid #eef1ec; }
.kat-news li:last-child { border-bottom: 0; padding-bottom: 0; }
.kat-news a { color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; line-height: 1.45; }
.kat-news a:hover { color: var(--teal-deep); text-decoration: underline; }
@media (max-width: 860px) { .kat-inner { grid-template-columns: 1fr; gap: 26px; } }

/* --- Λογότυπο: σωστές αναλογίες (το αρχείο δεν είναι τετράγωνο) και λίγο μεγαλύτερο --- */
.brand img { width: auto; height: 64px; }
@media (min-width: 981px) {
  .brand img { height: 72px; transition: height .25s ease; }
  .home .site-header:not(.is-solid) .brand img { height: 78px; }
  /* με ένα στοιχείο λιγότερο στο μενού χωρούν μεγαλύτερα λεκτικά */
  .main-nav > ul > li > a, .main-nav > div > ul > li > a { font-size: 14.5px; padding: 10px 11px; }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .main-nav > ul > li > a, .main-nav > div > ul > li > a { font-size: 13.5px; padding: 10px 8px; }
}

/* --- Header: να χωρά χωρίς ξεχείλισμα σε στενό desktop και σε κινητό --- */
@media (min-width: 981px) and (max-width: 1180px) {
  .brand img, .home .site-header:not(.is-solid) .brand img { height: 62px; }
  .brand-name { font-size: 15px; }
  .header-inner { gap: 10px; }
  .main-nav > ul > li > a, .main-nav > div > ul > li > a { font-size: 13px; padding: 10px 6px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { padding: 9px 12px; }
}
@media (max-width: 480px) {
  .site-header .container { padding-left: 14px; padding-right: 14px; }
  .header-inner { gap: 8px; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { height: 50px; }
  .brand-name { font-size: 14.5px; }
  .brand-name small { display: none; }
  .nav-cta { gap: 6px; }
  .home .gov-hero-btn { font-size: 11.5px; padding: 7px 12px 7px 9px; gap: 7px; }
}
@media (min-width: 981px) and (max-width: 1060px) {
  /* πολύ στενό desktop: μόνο το σήμα, για να χωρά το μενού σε μία γραμμή */
  .brand-name { display: none; }
}

/* --- Αναζήτηση στο μενού μόνο στις εσωτερικές σελίδες· στην αρχική υπάρχει η αναζήτηση του hero --- */
.home .nav-search-btn { display: none; }
@media (min-width: 1181px) and (max-width: 1280px) {
  .main-nav > ul > li > a, .main-nav > div > ul > li > a { font-size: 14px; padding: 10px 8px; }
  .header-inner { gap: 10px; }
}

/* --- Hero: κουμπί gov.gr με επίσημο λογότυπο και βελάκι, όπως lefkada.gov.gr --- */
.gg-arrow { transition: transform .15s ease-out; display: inline-block; }
.gov-hero-btn:hover .gg-arrow, .gov-hero-btn:focus .gg-arrow { transform: translateX(4px); }
.hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.home .hero-btns .gov-hero-btn { margin-top: 0; }
.home .hero-search button[type="submit"] { display: grid; place-items: center; }
.hero-search input[type="search"]:focus, .hero-search input[type="search"]:focus-visible { outline: none; }
.hero-search form:focus-within { outline: 3px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .gg-arrow { transition: none; } }

@media (max-width: 360px) {
  .brand img { height: 44px; }
  .brand-name { font-size: 13px; }
  .lang-switch { padding: 6px 6px; }
  .nav-toggle { width: 40px; height: 40px; }
  .nav-search-btn { width: 38px; height: 38px; }
}

/* --- Λογότυπο χωρίς υπότιτλο: το όνομα του Δήμου λίγο μεγαλύτερο --- */
@media (min-width: 1181px) { .brand-name { font-size: 19px; } }
