/* Αποσιωποιητικά — Σπύρος Τζώρτζης */

/* Alegreya italic (weights 400 & 600) */
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400 600; font-display: swap; src: url('fonts/alegreya-italic-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400 600; font-display: swap; src: url('fonts/alegreya-italic-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400 600; font-display: swap; src: url('fonts/alegreya-italic-greek-ext.woff2') format('woff2'); unicode-range: U+1F00-1FFF; }
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400 600; font-display: swap; src: url('fonts/alegreya-italic-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400 600; font-display: swap; src: url('fonts/alegreya-italic-vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400 600; font-display: swap; src: url('fonts/alegreya-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400 600; font-display: swap; src: url('fonts/alegreya-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Alegreya normal (weights 400, 600 & 700) */
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/alegreya-normal-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/alegreya-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/alegreya-normal-greek-ext.woff2') format('woff2'); unicode-range: U+1F00-1FFF; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/alegreya-normal-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/alegreya-normal-vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/alegreya-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/alegreya-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Victor Mono italic 400 */
@font-face { font-family: 'Victor Mono'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/victormono-italic-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Victor Mono'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/victormono-italic-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Victor Mono'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/victormono-italic-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Victor Mono'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/victormono-italic-vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Victor Mono'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/victormono-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Victor Mono'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/victormono-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Victor Mono normal (weights 300–700) */
@font-face { font-family: 'Victor Mono'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/victormono-normal-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Victor Mono'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/victormono-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Victor Mono'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/victormono-normal-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Victor Mono'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/victormono-normal-vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Victor Mono'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/victormono-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Victor Mono'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/victormono-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #FFEFE5;
  --text: #181A27;
  --text-muted: #7a7c8d;
  --accent: #008E8F;
  --accent-light: #33b3b4;
  --border: #e8dfd5;
  --max-width: 720px;
  --font-heading: "Alegreya", "Palatino Linotype", "Times New Roman", serif;
  --font-body: "Victor Mono", "Courier New", monospace;
  --font-sans: system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  letter-spacing: 0.01em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
a:hover { color: var(--accent-light); border-bottom-color: var(--accent); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; width: 100%; }

/* Site header (index + category pages) */
.site-header { text-align: center; padding: 3rem 0 2rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.site-header h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
  color: var(--accent);
}
.site-header .subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Category navigation on index */
.category-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.category-nav a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: none;
  padding: 0.25rem 0;
}
.category-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Top nav on post + category pages */
.top-nav {
  padding: 1rem 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.top-nav a { color: var(--text-muted); font-weight: 600; }
.top-nav a:hover { color: var(--accent); }

/* Post preview cards (index + category pages) */
.post-preview {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.post-preview:last-child { border-bottom: none; }
.post-preview h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
.post-preview h2 a { color: var(--text); border-bottom: none; }
.post-preview h2 a:hover { color: var(--accent); }
.post-preview .excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.post-preview .meta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Post header (single post page) */
.post-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.post-header h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--accent);
}
.post-header .meta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.post-header .meta a { color: var(--accent); }

/* Post body content */
.post-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}
.post-body p { margin-bottom: 1.25rem; }
.post-body em { font-style: italic; }
.post-body strong { font-weight: 700; }
.post-body img { max-width: 100%; height: auto; display: block; margin: 1.5rem auto; border-radius: 4px; }
.post-body iframe { max-width: 100%; border: none; border-radius: 4px; }
.post-body .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 1.5rem 0;
}
.post-body .video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}

/* Post footer */
.post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Site header link (inner pages) */
.site-header h1 a { color: inherit; border-bottom: none; }
.site-header h1 a:hover { color: var(--accent-light); border-bottom: none; }

/* Category label (below nav on category pages) */
.category-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.75rem 0 0.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

/* Site footer */
.site-footer {
  margin-top: 3rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
  html { font-size: 15px; }
  .container { padding: 0 1rem; }
  .site-header { padding: 2rem 0 1.5rem; }
  .site-header h1 { font-size: 2.5rem; }
  .post-header h1 { font-size: 2rem; }
  .post-preview h2 { font-size: 1.4rem; }
  .category-nav { gap: 0.25rem 0.75rem; }
  .category-nav a { font-size: 0.7rem; }
}

@media print {
  body { background: #fff; }
  .site-header, .category-nav, .top-nav, .post-footer { display: none; }
  .post-body { font-size: 12pt; }
}
