/* ============================================================
   DAD Portal — Design System
   Παλέτα από το εγκεκριμένο mockup: ζεστό κρεμ, βαθύ πετρόλ,
   σκούρο slate, χρυσές πινελιές από το σήμα του Δήμου.
   ============================================================ */

:root {
  --cream: #f3f6fc;
  --cream-soft: #fafbfe;
  --paper: #ffffff;
  --ink: #1e2a33;
  --ink-soft: #4a5a66;
  --slate: #2b3350;
  --slate-deep: #1f2740;
  --teal: #334897;
  --teal-deep: #25346e;
  --teal-soft: #e8edfa;
  --gold: #f09d3f;
  --gold-soft: #fdeeda;
  --green: #2fa864;
  --green-soft: #e3f4ea;
  --line: #e2e6f2;
  --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;
}
/* χωρίς κουκκίδες (::marker) σε κανένα επίπεδο του μενού */
.main-nav ul,
.main-nav li {
  list-style: none;
}
.main-nav li::marker {
  content: none;
}
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 50;
}
.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: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    /* κλειστό: αόρατο και λίγο πιο πάνω· άνοιγμα με fade + slide */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0s linear 0.25s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0s;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 12px;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    /* οι 3 γραμμές στοιβάζονται στο κέντρο και μετακινούνται με transform */
    grid-template-areas: "bar";
  }
  .nav-toggle__bar {
    grid-area: bar;
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--slate);
    transition:
      transform 0.28s ease,
      opacity 0.2s ease;
  }
  .nav-toggle__bar:nth-child(1) {
    transform: translateY(-6px);
  }
  .nav-toggle__bar:nth-child(3) {
    transform: translateY(6px);
  }
  /* ανοιχτό: η πάνω και η κάτω γραμμή γίνονται X, η μεσαία σβήνει */
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: rotate(-45deg);
  }
  @media (prefers-reduced-motion: reduce) {
    .main-nav,
    .main-nav.open,
    .nav-toggle__bar {
      transition: none;
    }
  }
  .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;
  line-height: 1.45;
  margin-top: 12px;
  min-height: 2.9em; /* χώρος για 2 γραμμές: η εναλλαγή Απλή/AI δεν αλλάζει το ύψος του hero */
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.hero-hint[hidden] {
  display: block; /* κρατά τον χώρο του, απλώς αόρατο */
  visibility: hidden;
  opacity: 0;
}
.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: 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 {
  background: linear-gradient(180deg, var(--cream-soft), var(--cream));
}
.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;
}
.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;
}

/* ------------------------------------------------ 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 .ti--logo {
  width: auto;
  background: none;
  border-radius: 0;
  justify-items: start;
}
.tool-card .ti--logo img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
.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;
}

/* ------------------------------------------------ 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 {
  filter: brightness(0) invert(1); /* λευκό λογότυπο στο footer (το ίδιο logo.svg μένει έγχρωμο στο header) */
}
.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);
}

/* περιγραφή όρου (π.χ. σελίδα SDG) πάνω από τη λίστα */
.term-desc {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.term-desc p {
  margin: 0 0 12px;
}
.term-desc p:last-child {
  margin-bottom: 0;
}
.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-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;
}
/* ευρετήριο επικοινωνίας: ενότητες που ανοιγοκλείνουν */
.dir-sec {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.dir-sec summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-weight: 800;
  font-size: 15px;
  color: var(--teal-deep);
  cursor: pointer;
  list-style: none;
}
.dir-sec summary::-webkit-details-marker {
  display: none;
}
.dir-sec summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  line-height: 1;
}
.dir-sec[open] summary::after {
  content: "−";
}
.dir-sec summary small {
  font-weight: 700;
  font-size: 12px;
  color: #6a7385;
  background: var(--cream-soft);
  border-radius: 100px;
  padding: 2px 9px;
}
.dir-sec .content {
  padding: 0;
}
.dir-sec td:first-child {
  font-weight: 600;
}
.dir-empty {
  color: #6a7385;
}
@media (max-width: 700px) {
  .dir-sec table,
  .dir-sec tbody,
  .dir-sec tr,
  .dir-sec td {
    display: block;
  }
  .dir-sec tr:first-child {
    display: none;
  }
  .dir-sec tr {
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
  }
  .dir-sec td {
    border: 0;
    padding: 2px 0 !important;
  }
  .dir-sec td:empty {
    display: none;
  }
}

/* ---- τεχνητή νοημοσύνη ---- */
.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;
  }
}

/* header: μεγαλύτερο λογότυπο χωρίς stretch + πιο άνετο μενού */
.header-inner {
  min-height: 96px;
  gap: 18px;
}
.container.header-inner {
  max-width: 1300px;
}
.brand {
  gap: 14px;
}
.brand img {
  width: auto;
  height: 68px;
  max-width: 160px;
  object-fit: contain;
}
.brand-name {
  font-size: 18px;
}
.brand-name small {
  font-size: 11px;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 700;
  padding: 11px 12px;
}
@media (max-width: 1520px) {
  .main-nav a {
    font-size: 13.5px;
    padding: 10px 8px;
  }
  .brand img {
    height: 58px;
  }
  .brand-name {
    font-size: 16px;
  }
  .brand-name small {
    display: none;
  }
  .header-inner {
    gap: 12px;
  }
}
@media (max-width: 1280px) {
  .main-nav a {
    font-size: 12.5px;
    padding: 9px 6px;
  }
  .brand img {
    height: 52px;
  }
  .brand-name {
    font-size: 14.5px;
  }
}
@media (max-width: 1100px) {
  .brand-name {
    display: none;
  }
}

/* social στο header (ίδια με του footer, σε ανοιχτό φόντο) */
.header-social {
  gap: 6px;
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid var(--line);
}
.header-social a {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--teal-deep);
  font-size: 14px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.header-social a:hover,
.header-social a:focus-visible {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
@media (max-width: 1520px) {
  .nav-cta {
    gap: 6px;
  }
  .nav-cta .btn {
    padding: 9px 13px;
  }
  .header-social {
    gap: 5px;
    padding-left: 8px;
  }
  .header-social a {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
}
/* στενότερα: τα social μένουν μόνο στο footer, για να χωρά το μενού */
@media (max-width: 1180px) {
  .header-social {
    display: none;
  }
}

/* hero: πιο ανοιχτά, ζωντανά χρώματα στην αεροφωτογραφία */
.hero-slides img {
  filter: brightness(1.14) saturate(1.12);
}
.hero::after,
.hero-media::after {
  opacity: 0.82;
}

/* καλωσόρισμα Δημάρχου ψηλά (DAD) */
.mayor-top {
  padding: 34px 0 8px;
}
.mayor-top .mayor-card {
  max-width: 1000px;
}
.mayor-top .mq-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}
.mayor-top .mayor-card img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 3px solid var(--teal-soft);
  background: #fff;
}
@media (max-width: 640px) {
  .mayor-top .mayor-card img {
    width: 104px;
    height: 104px;
  }
}

/* πλάτος: τίποτα δεν ξεφεύγει οριζόντια */
html,
body {
  overflow-x: clip;
}
@media (max-width: 560px) {
  .header-inner {
    min-height: 68px;
    gap: 8px;
  }
  .brand img {
    height: 42px;
  }
  .brand-name {
    display: none;
  }
  .nav-cta {
    gap: 6px;
  }
  .lang-switch,
  .nav-search-btn,
  .nav-toggle {
    width: 38px;
    height: 38px;
  }
  .nav-cta .btn {
    display: none;
  }
  .hero-glass {
    margin-inline: 10px;
    max-width: calc(100vw - 20px);
  }
  .band {
    min-height: 0;
    padding: 18px;
  }
  .band--adespota {
    flex-direction: column;
    align-items: flex-start;
  }
  .band--adespota .band__girl,
  .band--adespota .band__paw {
    display: none;
  }
  .band--adespota .band__copy,
  .band--politiki .band__copy {
    max-width: 100%;
  }
  .band--politiki {
    flex-direction: column;
    align-items: flex-start;
  }
  #home-map {
    height: 320px;
  }
}

/* HERO QUICK RAIL (toolbox Figma) */
.quick {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(18, 26, 58, 0.22);
  width: 210px;
}
.quick__row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 6px 6px;
  border-radius: 12px;
  transition: background 0.15s ease;
}
.quick__row:hover {
  background: var(--teal-soft);
}
.quick__ico {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
}
.quick__ico img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.quick__ico--emoji {
  font-size: 27px;
  line-height: 1;
}
.quick__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  line-height: 1.25;
  text-align: left;
}

@media (max-width: 1280px) {
  .quick {
    display: none;
  }
}

/* ΕΚΔΗΛΩΣΕΙΣ */
.events-band {
  background: var(--cream-soft);
}
.ev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 16px;
  margin-top: 10px;
}
.ev-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.ev-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(31, 39, 64, 0.12);
}
.ev-date {
  flex: none;
  width: 58px;
  text-align: center;
  background: var(--teal-soft);
  border-radius: 12px;
  padding: 8px 4px;
}
.ev-date b {
  display: block;
  font-size: 23px;
  line-height: 1.1;
  color: var(--teal-deep);
}
.ev-date small {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
}
/* κουτί ημερομηνίας στο χρώμα της κατάστασης */
.ev-card--prosechos .ev-date {
  background: #e6effc;
}
.ev-card--prosechos .ev-date b,
.ev-card--prosechos .ev-date small {
  color: #2f6fd6;
}
.ev-card--se-exelixi .ev-date {
  background: #e3f5ec;
}
.ev-card--se-exelixi .ev-date b,
.ev-card--se-exelixi .ev-date small {
  color: #1e9e63;
}
.ev-card--oloklirothike .ev-date {
  background: #fbe7e7;
}
.ev-card--oloklirothike .ev-date b,
.ev-card--oloklirothike .ev-date small {
  color: #d23b3b;
}
.ev-status {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #8a93a6;
}
.ev-status.ev-st-prosechos {
  color: #2f6fd6;
}
.ev-status.ev-st-se-exelixi {
  color: #1e9e63;
}
.ev-status.ev-st-oloklirothike {
  color: #d23b3b;
}
.ev-body h3 {
  margin: 4px 0 6px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--slate);
}
.ev-when {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: #6a7385;
}
.ev-when span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ev-when i {
  flex: none;
  width: 13px;
  font-size: 12px;
  text-align: center;
}

/* CITY ON (Figma) */
.cityon {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
  background: #f1f1f1;
}
.cityon__deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  opacity: 0.9;
}
.cityon__deco--tr {
  right: 0;
  top: 36px;
  width: 258px;
  height: 79px;
}
.cityon__deco--bl {
  left: 0;
  bottom: 0;
  width: 176px;
  height: 241px;
}
.cityon__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cityon__col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1 1 420px;
  min-width: 300px;
}
.cityon__lead {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.cityon__logo {
  width: 180px;
  height: auto;
  object-fit: contain;
}
.cityon__title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.12;
  color: #3d3d3d;
}
.cityon__title strong {
  font-weight: 800;
  color: var(--teal);
}
.cityon__sub {
  font-size: 16.5px;
  line-height: 1.55;
  color: #5a6172;
  max-width: 480px;
}
.cityon__cta {
  font-size: 23px;
  font-weight: 800;
  color: var(--teal);
}
.cityon__stores {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cityon__store {
  display: inline-flex;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.cityon__store:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}
.cityon__store img {
  display: block;
  object-fit: contain;
}
.cityon__shot {
  flex: 0 1 440px;
  min-width: 260px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
}
/* βίντεο: μεγαλύτερο, παίζει μόνο του (χωρίς κουμπιά/αλληλεπίδραση), σταθερή αναλογία του poster */
video.cityon__shot {
  display: block;
  flex: 1 1 560px;
  max-width: 680px;
  aspect-ratio: 519 / 484;
  /* να μη φαίνεται πού αρχίζει/τελειώνει: χωρίς γωνίες, περίγραμμα, σκιά ή φόντο */
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  /* το λευκό/ανοιχτό φόντο του βίντεο «λιώνει» μέσα στο #f1f1f1 της ενότητας */
  mix-blend-mode: multiply;
  pointer-events: none; /* ούτε κλικ, ούτε δεξί κλικ/μενού βίντεο */
}
video.cityon__shot::-webkit-media-controls {
  display: none !important;
}

/* section navigation (δέντρο σελίδων, accordion) */
.section-nav h4 a {
  color: var(--teal-deep);
  text-decoration: none;
}
.section-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.section-nav li {
  position: relative;
}
.section-nav li a {
  display: block;
  padding: 8px 34px 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}
.section-nav li a:hover {
  background: var(--teal-soft);
}
.section-nav li.current_page_item > a {
  background: var(--teal-deep);
  color: #fff;
  font-weight: 800;
}
.section-nav li.current_page_ancestor > a {
  color: var(--teal-deep);
  font-weight: 800;
}
.section-nav li > ul {
  display: none;
  margin-left: 14px;
  border-left: 2px solid var(--line);
  padding-left: 4px;
}
.section-nav li.is-open > ul {
  display: block;
}
.section-nav li > ul a {
  font-size: 13.5px;
  font-weight: 550;
  padding: 6px 30px 6px 10px;
}
.sn-toggle {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal-deep);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.sn-toggle:hover {
  background: var(--teal-soft);
}
.page-layout .article-body {
  min-width: 0;
}

/* ημερολόγιο εκδηλώσεων */
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-dow {
  text-align: center;
  font-size: 12.5px;
  font-weight: 800;
  color: #6a7385;
  padding: 6px 0;
  text-transform: uppercase;
}
.cal-cell {
  min-height: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cal-empty {
  background: transparent;
  border-color: transparent;
}
.cal-num {
  font-size: 13px;
  font-weight: 800;
  color: #6a7385;
}
.cal-today {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-soft) inset;
}
.cal-has .cal-num {
  color: var(--teal-deep);
}
.cal-ev {
  display: block;
  font-size: 12px;
  line-height: 1.25;
  padding: 4px 6px;
  border-radius: 6px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  text-decoration: none;
  font-weight: 700;
}
.cal-ev:hover {
  background: var(--teal);
  color: #fff;
}
@media (max-width: 760px) {
  .cal-cell {
    min-height: 56px;
    padding: 4px;
  }
  .cal-ev {
    font-size: 0;
    padding: 0;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background: var(--teal);
  }
  .cal-head h2 {
    font-size: 20px;
  }
}

/* περιεχόμενο σελίδων από dad.gr: εικόνες, πίνακες, στοίχιση */
.content img {
  max-width: 100%;
  height: auto;
}
.content img.alignleft,
.content .alignleft {
  float: left;
  margin: 4px 22px 12px 0;
  max-width: 42%;
}
.content img.alignright,
.content .alignright {
  float: right;
  margin: 4px 0 12px 22px;
  max-width: 42%;
}
.content img.aligncenter,
.content .aligncenter {
  display: block;
  margin: 14px auto;
}
.content::after {
  content: "";
  display: table;
  clear: both;
}
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14.5px;
}
.content table td,
.content table th {
  border: 1px solid var(--line);
  padding: 8px 10px;
  vertical-align: middle;
  text-align: center;
}
.content table th {
  background: var(--teal-deep);
  font-weight: 800;
}
.content table img {
  max-width: 140px;
  max-height: 110px;
  width: auto;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
}
.content table a img {
  transition: transform 0.15s ease;
}
.content table a:hover img {
  transform: scale(1.05);
}
.content figure {
  margin: 14px 0;
}
.content .gallery {
  clear: both;
}
.content p:empty {
  display: none;
}
.page-posts {
  margin-top: 34px;
  clear: both;
}
.page-posts h3 {
  font-size: 20px;
  margin: 0 0 12px;
}
.page-posts .doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* σελίδες-ευρετήρια (υποσελίδες) */
.page-index {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.page-index h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--slate);
}
.page-index ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px 18px;
}
.page-index a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 14.5px;
}
.page-index a:hover {
  background: var(--teal-soft);
}

/* QA Μελίνας */
.mn-toggle {
  display: none;
}
.quick__label {
  text-align: left;
}
.hero-hint {
  min-height: 40px;
}
.hero-hint[hidden] {
  display: block;
  visibility: hidden;
}
.band:hover,
.band:hover * {
  color: #fff;
}
.side-cta .btn {
  background: var(--teal);
  color: #fff !important;
  border-color: var(--teal);
}
.side-cta .btn.btn-ghost {
  background: transparent;
  color: var(--teal-deep) !important;
}
.side-cta .btn:hover {
  background: var(--teal-deep);
  color: #fff !important;
}
.needto-card .ni {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
}
.needto-card .ni img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: transparent;
}
.needto-card .ni-svg .dic {
  width: 30px;
  height: 30px;
  color: var(--teal-deep);
}
.quick__ico img {
  background: transparent;
}
.tl-tabs {
  flex-wrap: wrap;
}
.cityon__stores img {
  background: transparent;
}
.cityon__shot {
  background: transparent;
}
.visitor-photo img {
  object-fit: cover;
  height: 100%;
}

/* hover: πάντα ορατό κείμενο/εικονίδιο */
.btn:hover {
  color: #fff;
}
.btn.btn-ghost:hover {
  color: var(--teal-deep);
}
.needto-card:hover b,
.needto-card:hover span {
  color: var(--teal-deep);
}
.tool-card:hover h3 {
  color: var(--teal-deep);
}
.tool-card:hover .ti .dic {
  color: var(--teal-deep);
}
.quick__row:hover .quick__label {
  color: var(--teal-deep);
}
.main-nav a:hover,
.main-nav .sub-menu a:hover {
  color: var(--teal-deep);
}
.filter-box li a:hover {
  color: var(--teal-deep);
}
.side-nav a:hover .dic,
.section-nav li a:hover {
  color: var(--teal-deep);
}
.ev-card:hover h3 {
  color: var(--teal-deep);
}
.sdg-cell:hover {
  outline: 3px solid var(--gold);
}

/* mobile menu: υπομενού ως ομάδες, χωρίς bullets, συμπαγές */
@media (max-width: 980px) {
  .main-nav .sub-menu {
    list-style: none;
    margin: 0 0 8px;
    padding: 0 0 0 14px;
    border-left: 2px solid var(--line);
  }
  .main-nav .sub-menu li {
    list-style: none;
  }
  .main-nav .sub-menu a {
    font-size: 14px;
    padding: 7px 10px;
    white-space: normal;
  }
  .main-nav > ul > li,
  .main-nav > div > ul > li {
    border-bottom: 1px solid var(--line);
    padding: 4px 0;
  }
  .main-nav > ul > li > a,
  .main-nav > div > ul > li > a {
    font-weight: 800;
    font-size: 15px;
    color: var(--teal-deep);
  }
  .main-nav li.menu-item-has-children > a::after {
    content: "";
  }
}

/* mobile menu: υπομενού κλειστά, άνοιγμα με το +/− (main.js) */
.mn-toggle {
  display: none;
}
@media (max-width: 980px) {
  .main-nav li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .main-nav li.menu-item-has-children > a {
    flex: 1;
  }
  .main-nav li.menu-item-has-children > .sub-menu {
    display: none;
    flex-basis: 100%;
  }
  .main-nav li.menu-item-has-children.mn-open > .sub-menu {
    display: block;
  }
  .mn-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--teal-deep);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }
}

/* gov.gr λογότυπο */
.gg-logo {
  height: 26px;
  width: auto;
  border-radius: 6px;
  vertical-align: middle;
  margin-right: 6px;
}
.gov-strip h2 .gg-logo {
  height: 34px;
}
.gov-btn .gg-logo,
.gov-hero-btn .gg-logo {
  height: 22px;
}

/* εικονίδια svg αντί emoji */
.dic {
  vertical-align: -4px;
  flex: none;
}
.ti .dic,
.ni-svg .dic {
  width: 30px;
  height: 30px;
  color: var(--teal);
}
.ni-dad img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.attach-box h4 .dic,
.section-nav h4 .dic {
  color: var(--teal);
  margin-right: 4px;
}
.fico .dic,
.side-nav a .dic,
.filter-box .dic {
  color: var(--teal);
}
.badge .dic {
  width: 15px;
  height: 15px;
  margin-right: 3px;
  vertical-align: -3px;
}
.pi .dic {
  width: 34px;
  height: 34px;
  color: var(--teal);
}
.cat-box h3 .dic {
  color: var(--teal);
  margin-right: 6px;
}
.mb-chips .dic {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

/* thumbnails σε κάρτες/λίστες: η φωτό πιάνει όλο το ύψος, τίτλος & ημερομηνία δίπλα της */
.doc-card.has-thumb {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 6px 16px;
  align-items: start;
}
.dc-thumb {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.dc-thumb img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.doc-card.has-thumb .dc-meta {
  grid-column: 2;
  grid-row: 1;
}
.doc-card.has-thumb h3 {
  grid-column: 2;
  grid-row: 2;
  margin-top: 2px;
}
.doc-row.has-thumb {
  display: grid;
  grid-template-columns: auto 72px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}
.dr-thumb img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
@media (max-width: 640px) {
  .doc-card.has-thumb {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .dc-thumb {
    grid-row: auto;
  }
  .dc-thumb img {
    width: 100%;
    height: 150px;
  }
  .doc-card.has-thumb .dc-meta,
  .doc-card.has-thumb h3 {
    grid-column: 1;
    grid-row: auto;
  }
  .doc-row.has-thumb {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .doc-row.has-thumb .dr-date {
    grid-column: 1 / -1;
  }
}

/* χάρτης αρχικής */
#home-map {
  height: 460px;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  z-index: 0;
}
.hm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  font-size: 13px;
  color: #5a6172;
}
.hm-legend i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: -1px;
}

/* promo bands (Figma) */
.bands {
  padding: 10px 0 34px;
}
.bands__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.band {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 190px;
  padding: 22px 26px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.band:hover {
  color: #fff; /* όχι το γενικό a:hover χρώμα */
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(31, 39, 64, 0.18);
}
.band--politiki {
  background: linear-gradient(120deg, #1f2b5c, #334897);
}
.band--adespota {
  background: linear-gradient(120deg, #f0a24a, #e77b3a);
}
.band--media {
  padding: 0;
  background: #eef1f7;
}
.band--media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.band__logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.band__logos img {
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}
.band__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.band__copy strong {
  font-family: var(--font-serif);
  font-size: 22px;
}
.band__copy span {
  font-size: 14.5px;
  line-height: 1.45;
  opacity: 0.95;
}
.band__btn {
  font-style: normal;
  margin-top: 6px;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 700;
  font-size: 13.5px;
  width: max-content;
}
.band__girl {
  position: absolute;
  right: 12px;
  bottom: 0;
  height: 170px;
  width: auto;
}
.band__paw {
  position: absolute;
  right: 150px;
  top: 12px;
  width: 42px;
  height: 42px;
  opacity: 0.7;
}
.band--adespota .band__copy {
  max-width: 62%;
}
@media (max-width: 800px) {
  .bands__grid {
    grid-template-columns: 1fr;
  }
  .band__girl {
    display: none;
  }
  .band--adespota .band__copy {
    max-width: 100%;
  }
}

/* πυλώνες + μηνύματα περιεχομένου */
.pyl-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.pyl-chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.pyl-chip:hover {
  background: var(--teal);
  color: #fff;
}
.notice-box {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 10px;
  margin: 16px 0;
}
.content .wp-block-image {
  margin: 18px 0;
}
.content .wp-block-image img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
}
.badge-soon {
  background: rgba(120, 220, 160, 0.25);
}
.badge-st-prosechos {
  background: rgba(90, 150, 240, 0.25) !important;
  border-color: rgba(90, 150, 240, 0.5) !important;
}
.badge-st-se-exelixi {
  background: rgba(120, 220, 160, 0.25) !important;
  border-color: rgba(120, 220, 160, 0.5) !important;
}
.badge-st-oloklirothike {
  background: rgba(240, 90, 90, 0.25) !important;
  border-color: rgba(240, 90, 90, 0.5) !important;
}
.ev-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ev-box li {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  font-size: 14.5px;
}

/* sidebar: κουμπιά αποφάσεων */
.side-decisions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-decisions .btn {
  text-align: center;
  font-size: 14px;
}

/* αναζήτηση αποφάσεων */
.sd-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 26px;
}
.sd-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
}
.sd-form input,
.sd-form select {
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-size: 14.5px;
  background: #fff;
  min-width: 130px;
}
.sd-form input[name="q"] {
  min-width: 280px;
  flex: 1;
}
.sd-count {
  margin: 0 0 16px;
  color: #6a7385;
  font-size: 14px;
}
.sd-pager {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}

/* ψηφιακές υπηρεσίες: κουτί City ON */
.cityon-mini {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 0 0 30px;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef3fd 0%, #eaf6f0 100%);
  border: 1px solid var(--line);
}
.cityon-mini img {
  flex: none;
}
.cm-body {
  flex: 1 1 320px;
  min-width: 260px;
}
.cm-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--slate);
}
.cm-body p {
  margin: 0;
  font-size: 14.5px;
  color: #5a6172;
  line-height: 1.5;
}
.cm-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: none;
}

/* footer: WCAG badge */
.fl-wcag {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  padding: 14px 0 4px;
}
.fl-wcag img {
  border-radius: 4px;
  background: #fff;
  padding: 2px;
}

/* category sidebar: ενεργή κατηγορία — έντονη αντίθεση */
.filter-box li.active a {
  background: var(--teal-deep);
  color: #fff;
  font-weight: 800;
}
.filter-box li.active a:hover {
  background: var(--teal);
  color: #fff;
}

/* single: πλουσιότερο sidebar */
.single-layout aside {
  position: sticky;
  top: 24px;
  align-self: start;
}
.side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--slate);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease;
}
.side-nav a:hover {
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.side-sdg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.side-sdg img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: block;
  transition: transform 0.15s ease;
}
.side-sdg a:hover img {
  transform: scale(1.08);
}
.side-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-cta .btn {
  text-align: center;
}

/* SDG — Βιώσιμη Πόλη */
.sdg-band {
  background: var(--cream);
}
.sdg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.sdg-cell {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.sdg-cell img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.sdg-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(31, 39, 64, 0.18);
}
.sdg-count {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2740;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 2px 7px;
}
.sdg-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 16px;
  background: var(--green-soft);
  border-radius: 14px;
}
.sdg-strip-label {
  font-weight: 800;
  font-size: 13.5px;
  color: var(--slate);
}
.sdg-badge img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: block;
  transition: transform 0.15s ease;
}
.sdg-badge:hover img {
  transform: scale(1.08);
}

/* PROMO SLIDER (Figma DAD): ύψος από την αναλογία των banner (3:1, π.χ. 2880×960), χωρίς κόψιμο κειμένου */
.promo {
  --promo-ratio: 3 / 1;
  --promo-nav: 62px;
  --promo-gap: 38px;
  position: relative;
  width: 100%;
  aspect-ratio: var(--promo-ratio);
  max-height: 600px;
  overflow: hidden;
  background: #0b1d2b;
  touch-action: pan-y;
}
.promo__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.promo__slide {
  flex: 0 0 100%;
  height: 100%;
}
.promo__slide > a {
  display: block;
  height: 100%;
}
.promo__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ποτέ κόψιμο: σε πολύ φαρδιές οθόνες ή λάθος αναλογία μένουν σκούρες μπάρες στα πλάγια */
  display: block;
}
.promo__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--promo-nav);
  height: var(--promo-nav);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  opacity: 0.9;
}
.promo__nav:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.promo__nav--prev {
  left: var(--promo-gap);
}
.promo__nav--next {
  right: var(--promo-gap);
}
.promo__nav img {
  width: 100%;
  height: 100%;
}
.promo__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
}
/* WCAG 2.5.8: επιφάνεια αφής 24×24 (διάφανο κουμπί), η ορατή κουκκίδα είναι το ::before */
.promo__dot {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.promo__dot::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.2s ease;
}
.promo__dot[aria-current="true"]::before {
  background: #fff;
  width: 22px;
  border-radius: 5px;
}
.promo__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
  border-radius: 6px;
}
@media (max-width: 1024px) {
  .promo {
    --promo-nav: 46px;
    --promo-gap: 18px;
  }
  .promo__dots {
    bottom: 6px;
  }
}
@media (max-width: 600px) {
  .promo__nav {
    display: none; /* στο κινητό: swipe */
  }
  .promo__dots {
    bottom: 2px;
    gap: 0;
  }
  .promo__dot::before {
    width: 7px;
    height: 7px;
  }
  .promo__dot[aria-current="true"]::before {
    width: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .promo__track {
    transition: none;
  }
}

/* Βιώσιμη Ανάπτυξη: πίνακας πυλώνων x SDG */
.sdg-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.sdg-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
}
.sdg-table th,
.sdg-table td {
  border-bottom: 1px solid var(--line);
  padding: 8px 6px;
  text-align: center;
}
.sdg-table thead th {
  background: var(--cream);
  position: sticky;
  top: 0;
}
.sdg-table thead img {
  width: 44px;
  height: 44px;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  transition: transform 0.15s ease;
}
.sdg-table thead a:hover img {
  transform: scale(1.12);
}
.sdg-th-pillar {
  text-align: left !important;
  font-size: 13.5px;
  color: var(--slate);
  min-width: 210px;
  padding-left: 14px !important;
}
.sdg-td-pillar {
  text-align: left !important;
  padding-left: 14px !important;
}
.sdg-td-pillar a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate);
  font-weight: 700;
  font-size: 14px;
}
.sdg-td-pillar img {
  flex: none;
}
.sdg-dot {
  color: #fd9d24;
  font-size: 22px;
  line-height: 1;
}
.sdg-dotcell {
  min-width: 44px;
}

/* Διαβουλεύσεις (αρχική, από την Πλατφόρμα Διαβούλευσης) */
.consult-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.consult-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.consult-card:hover {
  box-shadow: 0 12px 30px rgba(20, 30, 60, 0.12);
  transform: translateY(-2px);
}
.consult-img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 7;
  background: var(--teal-soft) center / cover no-repeat;
}
.consult-status {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 11.5px;
  font-weight: 800;
  color: #d23b3b;
}
.consult-status.is-open {
  color: #1e9e63;
}
.consult-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 18px 20px 20px;
}
.consult-body h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  color: var(--slate);
}
.consult-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6a7385;
}
.consult-cta {
  margin-top: auto;
  font-size: 14px;
  font-weight: 800;
  color: var(--teal-deep);
}
@media (max-width: 760px) {
  .consult-grid {
    grid-template-columns: 1fr;
  }
}
.attach-box.side-cta a:not(.btn-ghost) {
  background-color: #002a60 !important;
}

/* άρθρο: Εκτύπωση + Κοινοποίηση */
.article-tools {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.article-print i {
  font-size: 15px;
}
.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.article-share__label {
  font-weight: 700;
  font-size: 14px;
  color: var(--teal);
  margin-right: 4px;
}
.share-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}
.share-btn:hover,
.share-btn:focus-visible {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}
.article-share__msg {
  font-size: 13px;
  color: #1e9e63;
  font-weight: 600;
}

/* εκτύπωση: μόνο ο τίτλος και το άρθρο */
@media print {
  .site-header,
  .site-footer,
  .single-layout > aside,
  .postnav,
  .article-tools,
  .crumbs,
  #dad-lb {
    display: none !important;
  }
  .single-layout {
    display: block !important;
  }
  .page-hero {
    background: none !important;
    color: #000 !important;
    padding: 0 0 12px !important;
  }
  .page-hero h1 {
    color: #000 !important;
  }
  body {
    background: #fff !important;
  }
  .article-body a {
    color: #000;
    text-decoration: underline;
  }
}

/* WCAG 2.4.1: σύνδεσμος παράκαμψης, εμφανίζεται μόνο με το πληκτρολόγιο (Tab) */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}
#main-content:focus {
  outline: none;
}

/* Χάρτης Ιστότοπου (page-sitemap.php) */
.sitemap-xml {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 30px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--teal-soft);
  font-size: 14.5px;
}
.sitemap-xml a {
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}
.sitemap-xml a:hover {
  text-decoration: underline;
}
.sitemap-xml span {
  color: #6a7385;
  font-size: 13px;
}
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 40px;
}
.sitemap-col--wide {
  grid-column: 1 / -1;
}
.sitemap-col h2 {
  margin: 0 0 12px;
  font-size: 19px;
  color: var(--teal-deep);
}
.sitemap-col h2:not(:first-child) {
  margin-top: 28px;
}
.sitemap-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sitemap-col ul ul {
  margin: 4px 0 6px 16px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}
.sitemap-col li {
  margin: 0;
}
.sitemap-col a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
}
.sitemap-col a:hover {
  color: var(--teal);
  text-decoration: underline;
}
.sitemap-col--wide > ul {
  columns: 3 260px;
  column-gap: 40px;
}
.sitemap-col--wide > ul > li {
  break-inside: avoid;
}
@media (max-width: 900px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
}

/* Slider φωτογραφιών μέσα στο περιεχόμενο (λίστες εικόνων του παλιού site, inc/setup.php) */
.amy-gslider {
  position: relative;
  margin: 22px 0 28px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
}
.amy-gslider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.amy-gslider__track::-webkit-scrollbar {
  display: none;
}
.amy-gslider__track:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: -3px;
}
.amy-gslider__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 4 / 3;
  max-height: 520px;
}
.amy-gslider .amy-gslider__slide a,
.amy-gslider .amy-gslider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}
.amy-gslider .amy-gslider__slide img {
  object-fit: contain;
  margin: 0;
  border-radius: 0;
}
.amy-gslider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 28, 60, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.amy-gslider__nav:hover,
.amy-gslider__nav:focus-visible {
  background: rgba(20, 28, 60, 0.8);
}
.amy-gslider__nav:disabled {
  opacity: 0;
  pointer-events: none;
}
.amy-gslider__nav--prev {
  left: 12px;
}
.amy-gslider__nav--next {
  right: 12px;
}
.amy-gslider__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(20, 28, 60, 0.35);
}
/* WCAG 2.5.8: επιφάνεια αφής 24×24, η ορατή κουκκίδα είναι το ::before */
.amy-gslider__dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.amy-gslider__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
.amy-gslider__dot[aria-current="true"]::before {
  background: #fff;
}
@media (max-width: 600px) {
  .amy-gslider__nav {
    width: 36px;
    height: 36px;
  }
  .amy-gslider__nav--prev {
    left: 6px;
  }
  .amy-gslider__nav--next {
    right: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .amy-gslider__track {
    scroll-behavior: auto;
  }
}
