/*
Theme Name: Ένωση Μικρασιατών Νέας Ερυθραίας
Theme URI: https://example.org/
Description: Θέμα για την Ένωση Μικρασιατών Νέας Ερυθραίας – ιστορία, μουσείο, αίθουσα εκδηλώσεων, κείμενα και τραγούδια των πατρίδων. Μετά την ενεργοποίηση: Εμφάνιση → Περιεχόμενο Ένωσης για αυτόματη εισαγωγή σελίδων και μενού.
Version: 2.0.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: enosi
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/


:root {
  --ink: #1f2430;
  --ink-soft: #4a5060;
  --muted: #6f7482;
  --paper: #fbf8f2;
  --paper-2: #f3ece0;
  --card: #ffffff;
  --line: #e4dccd;
  --aegean: #1e3a5f;
  --aegean-2: #2c5282;
  --aegean-tint: #e7eef7;
  --red: #9e2a2b;        /* «Ερυθραία» — το κόκκινο του τόπου */
  --red-dark: #7a1f20;
  --gold: #b88a3e;
  --radius: 6px;
  --wrap: 1180px;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", "Segoe UI", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(31, 36, 48, .06), 0 6px 20px rgba(31, 36, 48, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aegean-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--aegean); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ---------- Header ---------- */
.top-bar {
  background: var(--aegean);
  color: #dfe7f1;
  font-family: var(--sans);
  font-size: 13.5px;
}
.top-bar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.top-bar a { color: #fff; text-decoration: none; }
.top-bar span + span::before { content: "·"; margin: 0 8px; opacity: .6; }

.site-header { background: rgba(251, 248, 242, .97); border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px rgba(31, 36, 48, .05); position: sticky; top: 0; z-index: 50; }
@supports (backdrop-filter: blur(6px)) { .site-header { background: rgba(251, 248, 242, .9); backdrop-filter: blur(6px); } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.site-branding { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.site-logo { width: 66px; height: 66px; flex: none; object-fit: contain; }
.site-title { font-size: 1.2rem; font-weight: 700; color: var(--aegean); line-height: 1.15; margin: 0; }
.site-description { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin: 3px 0 0; letter-spacing: .02em; }

.main-navigation { font-family: var(--sans); font-size: 15px; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation > ul { display: flex; gap: 2px; align-items: center; }
.main-navigation li { position: relative; }
.main-navigation a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; border-radius: var(--radius); white-space: nowrap; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--red); background: var(--paper-2); }
.main-navigation .menu-item-has-children > a::after { content: "▾"; font-size: 11px; margin-left: 5px; opacity: .6; }
.main-navigation .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 6px; display: none; z-index: 60;
}
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { display: block; }
.main-navigation .sub-menu a { padding: 8px 12px; }
.main-navigation .menu-cta > a { background: var(--red); color: #fff; margin-left: 6px; }
.main-navigation .menu-cta > a:hover { background: var(--red-dark); color: #fff; }
.menu-toggle { display: none; font-family: var(--sans); background: var(--aegean); color: #fff; border: 0; border-radius: var(--radius); padding: 9px 14px; font-size: 15px; cursor: pointer; }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .main-navigation > ul { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--card); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: 75vh; overflow: auto; }
  .main-navigation.toggled > ul { display: flex; }
  .main-navigation .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .main-navigation .menu-item-has-children > a::after { content: ""; }
  .main-navigation .menu-cta > a { margin: 8px 0 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; color: var(--red); font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin-bottom: .45em; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.hero-figure { margin: 0; background: var(--card); padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(.6deg); }
.hero-figure figcaption { font-family: var(--sans); font-size: 13px; color: var(--muted); padding: 8px 4px 0; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-block; font-family: var(--sans); font-size: 15px; font-weight: 600; text-decoration: none; padding: 12px 20px; border-radius: var(--radius); border: 1.5px solid var(--aegean); color: var(--aegean); background: transparent; cursor: pointer; }
.btn:hover { background: var(--aegean); color: #fff; }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 44px; } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); font-family: var(--sans); font-size: 15.5px; }
.more-link { font-family: var(--sans); font-size: 15px; font-weight: 600; text-decoration: none; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4em; }
.card h3 a { text-decoration: none; color: var(--aegean); }
.card h3 a:hover { color: var(--red); }
.card p { font-size: 16px; color: var(--ink-soft); margin-bottom: .8em; }
.card .cat { font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 8px; }
.card .read { margin-top: auto; font-family: var(--sans); font-size: 14.5px; font-weight: 600; text-decoration: none; }

/* Feature (Μουσείο / Αίθουσα) */
.feature { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.feature-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--aegean-tint); display: grid; place-items: center; color: var(--aegean); }
.feature-icon svg { width: 32px; height: 32px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 0; }
.timeline li { padding: 18px 18px 6px 0; position: relative; border-top: 2px solid var(--aegean); }
.timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--paper-2); border: 3px solid var(--red); }
.timeline .year { font-size: 1.6rem; font-weight: 700; color: var(--red); display: block; line-height: 1.2; margin-top: 4px; }
.timeline p { font-size: 15.5px; color: var(--ink-soft); margin: 4px 0 0; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; gap: 0; border-left: 2px solid var(--aegean); } .timeline li { padding: 4px 0 18px 22px; border-top: 0; } .timeline li::before { top: 10px; left: -8px; } }

/* Patrides chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { font-family: var(--sans); font-size: 15px; background: var(--card); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }

/* Quote band */
.quote-band { background: var(--aegean); color: #f1ead9; text-align: center; padding: 70px 0; }
.quote-band blockquote { margin: 0 auto; max-width: 820px; font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.45; font-style: italic; }
.quote-band cite { display: block; margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: 15px; letter-spacing: .08em; color: #d9c08f; text-transform: uppercase; }

/* Events */
.event { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.event:last-child { border-bottom: 0; }
.event-date { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 0; font-family: var(--sans); }
.event-date .d { display: block; font-size: 1.7rem; font-weight: 700; color: var(--red); line-height: 1.1; }
.event-date .m { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.event h3 { margin: 0 0 4px; font-size: 1.15rem; }
.event h3 a { color: var(--aegean); text-decoration: none; }
.event h3 a:hover { color: var(--red); }
.event p { margin: 0; font-size: 16px; color: var(--ink-soft); }

/* Sample-content notice */
.sample-note { font-family: var(--sans); font-size: 14px; background: #fff7e0; border: 1px dashed var(--gold); color: #6b5221; padding: 10px 14px; border-radius: var(--radius); margin: 0 0 22px; }
.ph { background: #fff7e0; border-bottom: 1px dashed var(--gold); padding: 0 3px; }

/* ---------- Article pages ---------- */
.page-header { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.breadcrumbs { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }
.page-header .entry-title { margin: 0; }
.entry-meta { font-family: var(--sans); font-size: 14.5px; color: var(--muted); margin-top: 10px; }

.content-area { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 48px; padding-bottom: 72px; }
.content-area.full { grid-template-columns: minmax(0, 1fr); }
.content-area.full > .entry-content { max-width: none; }
.content-area.full > .entry-content > p, .content-area.full > .entry-content > ul, .content-area.full .elementor-widget-text-editor > p, .content-area.full .elementor-widget-text-editor > ul { max-width: 820px; }
@media (max-width: 960px) { .content-area { grid-template-columns: 1fr; gap: 40px; } }

.entry-content { max-width: 720px; }
.entry-content h2 { margin-top: 1.6em; padding-top: .4em; border-top: 1px solid var(--line); }
.entry-content h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.entry-content h3 { margin-top: 1.4em; color: var(--red); font-size: 1.1rem; font-family: var(--sans); text-transform: none; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content li > p { margin: 0; }
.entry-content blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--red); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-soft); }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 8px; }
.entry-content .dialogue { padding-left: 0; }
.entry-content .verse { font-style: italic; padding: 14px 22px; border-left: 3px solid var(--gold); background: var(--card); }
.entry-content .lead { font-size: 1.15rem; color: var(--ink-soft); }
.entry-content .signature { text-align: right; font-style: italic; color: var(--ink-soft); margin-top: 2em; }
.entry-content .tote-pou p strong:first-child { color: var(--red); }
.entry-content .biblio { font-size: 16px; }

.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--sans); }
.post-navigation a { text-decoration: none; display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.post-navigation a:hover { border-color: var(--aegean-2); }
.post-navigation small { display: block; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.post-navigation .next { text-align: right; }

/* Sidebar */
.widget-area .widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 22px; }
.widget-title { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--red); margin: 0 0 12px; }
.widget ul { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 15px; }
.widget li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }
.widget li a { text-decoration: none; color: var(--ink); }
.widget li a:hover { color: var(--red); }
.widget p { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); }
.search-form { display: flex; gap: 6px; }
.search-form input { flex: 1; min-width: 0; }

/* Songs */
.song-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .song-list { grid-template-columns: 1fr; } }
.song { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.song h2 { font-size: 1.15rem; letter-spacing: .04em; border: 0 !important; padding: 0 !important; margin: 0 0 .8em !important; }
.song p { margin: 0 0 .1em; font-style: italic; font-size: 17px; }
.song p.gap { margin-top: .9em; }
.song p.refrain { color: var(--red); }

/* Map viewer */
.map-viewer { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.map-viewer a { display: block; cursor: zoom-in; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-family: var(--sans); font-size: 15.5px; padding: 10px 12px; border: 1px solid #cfc6b5; border-radius: var(--radius); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--aegean-2); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 130px; resize: vertical; }

.info-list { list-style: none; padding: 0 !important; margin: 0 0 1.2em; }
.info-list li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.info-list li strong { font-family: var(--sans); font-size: 14px; color: var(--muted); font-weight: 600; padding-top: 2px; }
@media (max-width: 520px) { .info-list li { grid-template-columns: 1fr; gap: 2px; } }

.gallery-placeholder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.2em 0 1.6em; }
.gallery-placeholder div { aspect-ratio: 4 / 3; background: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 10px, #ece3d3 10px, #ece3d3 20px); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; font-family: var(--sans); font-size: 13px; color: var(--muted); text-align: center; padding: 8px; }
@media (max-width: 520px) { .gallery-placeholder { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #17263b; color: #c9d2de; font-family: var(--sans); font-size: 15px; border-top: 3px solid var(--gold); margin-top: 0; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: 52px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9d2de; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-title { font-family: var(--serif); color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.site-info { border-top: 1px solid rgba(255,255,255,.1); }
.site-info .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 18px; grid-template-columns: none; font-size: 13.5px; color: #93a0b3; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- WordPress ---------- */
.main-navigation .current-menu-ancestor > a, .main-navigation .current-menu-parent > a, .main-navigation .current_page_item > a { color: var(--red); background: var(--paper-2); }
.main-navigation .menu-cta.current-menu-item > a { color: #fff; background: var(--red-dark); }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption, .wp-block-image figcaption { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.wp-caption { max-width: 100%; }
.entry-content img { border-radius: var(--radius); }
.entry-content::after { content: ""; display: table; clear: both; }
.post-thumbnail { margin: 0 0 1.6em; }
.card-thumb { margin: -24px -24px 18px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pagination { margin-top: 40px; font-family: var(--sans); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; }
.pagination .current { background: var(--aegean); color: #fff; border-color: var(--aegean); }
.form-notice { font-family: var(--sans); font-size: 15px; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; }
.form-notice.ok { background: #e8f4ea; border: 1px solid #9cc9a4; color: #1f5a2b; }
.form-notice.err { background: #fbeaea; border: 1px solid #e0a3a3; color: #7a1f20; }
.enosi-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.archive-description { color: var(--ink-soft); max-width: 720px; margin-top: 12px; }
.archive-description p:last-child { margin-bottom: 0; }
.event-meta { font-family: var(--sans); font-size: 14.5px; color: var(--muted); margin-bottom: 4px; }
.no-results { color: var(--muted); font-family: var(--sans); }
.front-content { padding-top: 56px; }
.comments-area { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 16px; }
.comment-list { padding-left: 1.2em; }
.comment-list .comment { margin-bottom: 18px; }
.comment-form input[type="submit"] { background: var(--red); color: #fff; border: 0; border-radius: var(--radius); padding: 10px 18px; font-weight: 600; cursor: pointer; }

/* Widgets με blocks */
.widget h2, .widget .wp-block-heading { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--red); margin: 0 0 12px; }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.widget .wp-block-search__label { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-weight: 700; }
.widget .wp-block-search__button { font-family: var(--sans); background: var(--aegean); color: #fff; border: 0; border-radius: var(--radius); padding: 8px 12px; }
.widget .wp-block-latest-comments { padding: 0; font-family: var(--sans); font-size: 15px; }

/* ---------- Φωτογραφίες, στατιστικά, πλαίσια (έκδοση 2) ---------- */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; margin: 1.2em 0 2em; }
.photo-grid.four { grid-template-columns: repeat(4, 1fr); margin: 0; }
@media (max-width: 760px) { .photo-grid.four { grid-template-columns: 1fr 1fr; } }
.photo-grid figure, figure.photo { margin: 0; }
.photo-grid a, figure.photo a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.photo-grid a:hover, figure.photo a:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(31,36,48,.08), 0 10px 26px rgba(31,36,48,.12); }
.photo-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.photo-grid.docs img { object-fit: contain; background: #f4eee2; }
.photo-grid figcaption, figure.photo figcaption { font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.45; }
figure.photo { margin: 1.6em 0; }
figure.photo img { width: 100%; border-radius: 3px; }
.entry-content figure.photo.alignright { float: right; width: 280px; margin: .35em 0 1.2em 1.8em; }
@media (max-width: 620px) { .entry-content figure.photo.alignright { float: none; width: auto; margin: 1.4em 0; } }
.entry-content h2 { clear: both; }
a.lightbox { cursor: zoom-in; }

.lb-overlay { position: fixed; inset: 0; background: rgba(15, 20, 30, .93); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px 70px; }
.lb-overlay[hidden] { display: none; }
.lb-overlay figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-overlay img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 4px; background: #fff; }
.lb-overlay figcaption { color: #e9e3d6; font-family: var(--sans); font-size: 15px; margin-top: 12px; text-align: center; max-width: 760px; }
.lb-overlay button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-overlay button:hover, .lb-overlay button:focus-visible { background: rgba(255, 255, 255, .3); }
.lb-overlay button[hidden] { display: none; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }
@media (max-width: 620px) { .lb-overlay { padding: 70px 10px; } .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1.4em 0 2em; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 12px; text-align: center; }
.stats strong { display: block; font-size: 1.75rem; color: var(--red); line-height: 1.2; }
.stats span { font-family: var(--sans); font-size: 14px; color: var(--muted); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

.callout { background: var(--aegean); color: #f1ead9; border-radius: var(--radius); padding: 18px 22px; margin: 1.4em 0; font-size: 16.5px; }
.callout strong { color: #fff; }
.callout .callout-title { font-family: var(--sans); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #d9c08f; margin: 0 0 6px; font-weight: 600; }
.callout p { margin-bottom: .4em; }
.callout p:last-child { margin-bottom: 0; }
.callout a { color: #fff; }

.entry-content blockquote.excerpt p { font-style: italic; }
.entry-content blockquote.testimony { background: #fffdf8; }
.entry-content .source, .entry-content blockquote .source { font-family: var(--sans); font-size: 14px; color: var(--muted); font-style: normal; margin-top: .8em; }
.highlight { font-size: 1.12rem; background: var(--paper-2); border-left: 4px solid var(--gold); padding: 12px 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.see-also { clear: both; font-family: var(--sans); font-size: 15.5px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-top: 1.6em; }
.footnotes { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 2em; }
.footnotes hr { border: 0; border-top: 1px solid var(--line); }
.entry-content ul.checklist { list-style: none; padding-left: 0; }
.entry-content ul.checklist li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); margin: 0; }
.entry-content ul.checklist li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.entry-content ol.bibliography li { margin-bottom: .7em; }
.event-meta { font-family: var(--sans); font-size: 14.5px; color: var(--muted); margin-bottom: 4px; }
.entry-content .event h3 { font-family: var(--serif); color: var(--aegean); font-size: 1.12rem; margin: 0 0 4px; }
.entry-content .event { padding: 14px 0; }
.card-note { font-family: var(--sans); font-size: 14.5px !important; color: var(--ink) !important; background: var(--paper-2); border-radius: var(--radius); padding: 8px 12px; }

/* ---------- Elementor ----------
   Οι ενότητες παίρνουν την εμφάνισή τους από κλάσεις CSS του θέματος
   (Elementor → Για προχωρημένους → Κλάσεις CSS). Ό,τι αλλάξει κανείς στο Elementor
   (αποστάσεις, χρώματα) υπερισχύει. */
.elementor .e-con.enosi-box { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --container-widget-width: 100%; }
.elementor .e-con.enosi-box.section { --padding-top: 64px; --padding-bottom: 64px; }
.elementor .e-con.enosi-box.quote-band { --padding-top: 70px; --padding-bottom: 70px; }
.elementor .e-con.enosi-box.wrap { max-width: var(--wrap); margin-left: auto; margin-right: auto; --padding-left: 20px; --padding-right: 20px; }
.elementor .e-con.enosi-box.grid { display: grid; gap: 22px; --gap: 22px; }
.elementor .e-con.enosi-box.home-split { gap: 56px; }
.elementor .e-con.hero > .e-con.wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; --padding-top: 64px; --padding-bottom: 64px; }
@media (max-width: 860px) { .elementor .e-con.hero > .e-con.wrap { grid-template-columns: 1fr; gap: 32px; --padding-top: 40px; --padding-bottom: 44px; } }
.elementor .elementor-widget.card { margin: 0; display: block; }
.elementor .elementor-widget.card p:last-child { margin-bottom: 0; }
.elementor .elementor-widget.card .read { display: inline-block; }
.elementor .elementor-widget-text-editor .btn-row { margin-top: 26px; }
.elementor .hero-figure img { width: 100%; }
.elementor .hero-figure .widget-image-caption { font-family: var(--sans); font-size: 13px; color: var(--muted); padding: 8px 4px 0; text-align: left; margin: 0; }
.elementor .elementor-widget-text-editor h1 { margin-top: 0; }
.elementor .elementor-widget-heading .elementor-heading-title { line-height: 1.25; }
.entry-content .elementor-widget-heading h2.elementor-heading-title { margin: 1.6em 0 .55em; padding-top: .4em; border-top: 1px solid var(--line); }
.entry-content .elementor > .e-con:first-child > .elementor-widget-heading:first-child h2.elementor-heading-title { margin-top: 0; padding-top: 0; border-top: 0; }
.entry-content .elementor .e-con { margin-bottom: 0; }
.entry-content .elementor-widget-image { margin: 1.6em 0; }
.entry-content .elementor-widget-image figure { margin: 0; }
.muted { color: var(--ink-soft); }

/* Γκαλερί φωτογραφιών του Elementor με την εμφάνιση του αρχείου. */
.enosi-gallery .gallery { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin: 1.2em 0 2em !important; }
.enosi-gallery.docs .gallery { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (max-width: 560px) { .enosi-gallery .gallery { grid-template-columns: 1fr 1fr; } }
.enosi-gallery .gallery-item { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; text-align: left; }
.enosi-gallery .gallery-icon { width: 100%; }
.enosi-gallery .gallery-icon a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.enosi-gallery .gallery-icon a:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(31,36,48,.08), 0 10px 26px rgba(31,36,48,.12); }
/* Πορτρέτα: κάθετο κάδρο, το κάδρο κόβει από κάτω ώστε να μη χάνονται κεφάλια. */
.enosi-gallery .gallery-icon img { display: block; width: 100% !important; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border: 0 !important; border-radius: 3px; }
/* Έγγραφα: ολόκληρα, χωρίς κόψιμο. */
.enosi-gallery.docs .gallery-icon img { object-fit: contain; object-position: center; background: #f4eee2; }
.enosi-gallery .gallery-caption { display: block !important; font-family: var(--sans); font-size: 13.5px; line-height: 1.45; color: var(--muted); padding: 0; margin-top: 8px; text-align: left !important; }
.enosi-gallery br { display: none; }

/* ---------- Contact Form 7 ---------- */
.wpcf7 .form-grid label { display: block; font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.wpcf7 .form-grid .wpcf7-form-control-wrap { display: block; margin-top: 6px; font-weight: 400; }
.wpcf7 .wpcf7-submit { width: auto; }
.wpcf7 .wpcf7-not-valid-tip { font-family: var(--sans); font-size: 13.5px; color: var(--red); margin-top: 4px; }
.wpcf7 .wpcf7-not-valid { border-color: var(--red); }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border-radius: var(--radius); font-family: var(--sans); font-size: 15px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #2e7d4f; background: #eaf6ee; color: #1d5434; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: var(--red); background: #fbeeee; color: var(--red-dark); }
.wpcf7-spinner { vertical-align: middle; }
