/* ==========================================================================
   ΠΡΟΣΩΠΙΚΑ με την Έλενα Κατρίτση — static site
   One stylesheet, no frameworks. Header visible below 1240px (as the original).
   ========================================================================== */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/roboto-greek-300.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: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/roboto-latin-300.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; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/roboto-greek-400.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: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/roboto-latin-400.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; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/roboto-greek-500.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: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/roboto-latin-500.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; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/roboto-greek-700.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: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/roboto-latin-700.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: #fcfcfc;
  --text: #626262;
  --head: #161922;
  --theme: #980017;
  --wine: #6c0024;
  --muted: #6e6e6e;  /* WCAG AA: 5.1:1 σε λευκό (ήταν #a8a8a8, 2.4:1) */
  --footer: #2d2d2d;
  --footer-text: #ccc;
  --font: "Roboto", Arial, Tahoma, sans-serif;
  --container: 1220px;
  --gutter: 1%;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 14px/25px var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; border: 0; }
a { color: var(--theme); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: #6e0011; }
::selection { background: var(--theme); color: #fff; }
p { margin: 0 0 15px; }
ul, ol { margin: 0 0 15px; padding-left: 20px; }
hr { border: 0; height: 1px; background: rgba(0, 0, 0, .08); margin: 0 auto 15px; }
button, input { font: inherit; color: inherit; }
iframe { border: 0; width: 100%; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--head); margin: 0 0 15px; }
h1, .t-h1 { font-size: 35px; line-height: 35px; font-weight: 400; }
h2 { font-size: 30px; line-height: 34px; font-weight: 300; }
h3, .t-h3 { font-size: 18px; line-height: 20px; font-weight: 400; }
h4, .t-h4 { font-size: 21px; line-height: 25px; font-weight: 500; }
h5, .t-h5 { font-size: 15px; line-height: 25px; font-weight: 700; }
h6, .t-h6 { font-size: 14px; line-height: 25px; font-weight: 400; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color: var(--theme); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--theme); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
:focus-visible { outline: 2px solid var(--theme); outline-offset: 2px; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.align-center { margin-left: auto; margin-right: auto; text-align: center; }
img.align-center { margin-left: auto; margin-right: auto; }
.align-left { float: left; margin: 0 15px 15px 0; }
.align-right { float: right; margin: 0 0 15px 15px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; }
.container::after, .prose::after { content: ""; display: table; clear: both; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #eee; transition: box-shadow .3s var(--ease); }
.site-header.is-stuck { box-shadow: 0 2px 14px rgba(0, 0, 0, .07); }
.logo { display: block; flex: none; }
@media (min-width: 1240px) {
  .topbar { height: 76px; max-width: 1220px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; }
  .logo img { height: 56px; width: auto; }
  .nav-toggle { display: none; }
  .site-nav { margin-left: auto; }
  .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
  .menu a { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: #555; font-size: 15px; letter-spacing: .02em; }
  .menu a:hover, .menu .current a { color: var(--theme); }
  .menu .current a { box-shadow: inset 0 -2px 0 var(--theme); }
}
@media (max-width: 1239px) {
  .topbar { position: relative; height: 76px; max-width: 1220px; margin: 0 auto; padding: 0 4%; display: flex; align-items: center; }
  .logo img { height: 52px; width: auto; }
  .nav-toggle { margin-left: auto; position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    position: absolute; left: 10px; width: 24px; height: 2px; background: var(--head); transition: transform .3s var(--ease), background-color .2s;
  }
  .nav-toggle span { top: 21px; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
  .nav-toggle span::before { top: -8px; }
  .nav-toggle span::after { top: 8px; }
  .nav-open .nav-toggle span { background: transparent; }
  .nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }
  .site-nav {
    position: fixed; top: 76px; right: 0; bottom: 0; width: min(300px, 85vw); background: #fff; box-shadow: -8px 0 24px rgba(0, 0, 0, .08);
    transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto; visibility: hidden;
  }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .menu { list-style: none; margin: 0; padding: 20px 0; }
  .menu a { display: flex; align-items: center; gap: 10px; padding: 12px 25px; color: #555; font-size: 15px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
  .menu a:hover, .menu .current a { color: var(--theme); }
  .menu svg { flex: none; }
}

/* ---------- Builder grid ---------- */
.sec { position: relative; background-repeat: no-repeat; background-position: center top; }
.sec.bg-cover { background-size: cover; }
.sec-full > .container { max-width: none; }
.row, .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; }
.wrap { flex: 0 0 auto; position: relative; }
.wrap.va-middle { align-self: center; }
.wrap.va-middle > .item { align-self: center; }
.item { flex: 0 0 auto; margin: 0 var(--gutter) 40px; min-width: 0; }
.sec-full .item.w-1 { width: 100%; margin-left: 0; margin-right: 0; }
.wrap.w-1 { width: 100%; }       .item.w-1 { width: 98%; }
.wrap.w-1-2 { width: 50%; }      .item.w-1-2 { width: 48%; }
.wrap.w-1-3 { width: 33.333%; }  .item.w-1-3 { width: 31.333%; }
.wrap.w-2-3 { width: 66.666%; }  .item.w-2-3 { width: 64.666%; }
.wrap.w-1-4 { width: 25%; }      .item.w-1-4 { width: 23%; }
.wrap.w-3-4 { width: 75%; }      .item.w-3-4 { width: 73%; }
.sec-full .item.w-1-2 { width: 50%; margin-left: 0; margin-right: 0; }

@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .sec-full > .container { padding: 0; }
  .wrap[class*="w-"], .item[class*="w-"] { width: 100% !important; margin-left: 0; margin-right: 0; }
  .hide-m { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1239px) { .container { padding: 0 2%; } .hide-t { display: none !important; } }
@media (min-width: 1240px) { .hide-d { display: none !important; } }

.rich > :last-child { margin-bottom: 0; }
.it-text .rich { padding: 20px 0; }
.it-text h3 { line-height: 26px; }
.img { margin: 0; }
.img img { width: 100%; }
.img.align-center img { width: auto; max-width: 100%; margin: 0 auto; }
.video video { width: 100%; height: auto; background: #000; }

/* ---------- Home: hover tiles (3 per row, edge to edge) ---------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.tile a { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile-over {
  position: absolute; inset: 0; padding: 10% 10% 50px; background: rgba(152, 0, 23, .8); color: #fff;
  opacity: 0; transition: opacity .4s var(--ease); display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden;
}
.tile-title { font-size: 18px; line-height: 22px; font-weight: 400; color: #fff; margin: 0 0 15px; transform: translateY(10px); transition: transform .5s var(--ease); }
.tile-ex { font-size: 14px; line-height: 25px; color: #fff; transform: translateY(14px); transition: transform .6s var(--ease); }
.tile a:hover .tile-over, .tile a:focus-visible .tile-over { opacity: 1; }
.tile a:hover .tile-title, .tile a:hover .tile-ex { transform: none; }
.tile a:hover img { transform: scale(1.05); }
@media (max-width: 959px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .tiles { grid-template-columns: 1fr; } .tile-ex { display: none; } }
/* Κινητά/tablet (χωρίς hover): ο τίτλος φαίνεται πάντα, με λεπτή σκίαση μόνο στο κάτω μέρος ώστε η φωτογραφία να μένει καθαρή */
@media (hover: none) {
  .tile-over { opacity: 1; background: linear-gradient(to top, rgba(20, 0, 4, .72) 0, rgba(20, 0, 4, .35) 22%, rgba(20, 0, 4, 0) 45%); justify-content: flex-end; padding: 14px 16px; }
  .tile-ex { display: none; }
  .tile-title { transform: none; margin: 0; font-weight: 500; text-shadow: 0 1px 3px rgba(0, 0, 0, .8), 0 0 12px rgba(0, 0, 0, .5); }
}

/* ---------- Episode cards (Εκπομπές / αρχείο ανά έτος) ---------- */
.ep-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.ep-card { width: 31.333%; margin: 0 var(--gutter) 20px; display: flex; flex-direction: column; }
.it-portfolio .ep-card { margin-left: 1%; margin-right: 1%; }
.ep-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #eee; }
.ep-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .3s; }
.ep-card:hover .ep-img img { transform: scale(1.05); }
.ep-desc { background: #fff; padding: 20px; flex: 1; }
.ep-title { font-size: 15px; line-height: 25px; font-weight: 700; margin: 0; }
.ep-title a { color: var(--head); }
.ep-title a:hover { color: var(--theme); }
@media (max-width: 959px) { .ep-card { width: 48%; } }
@media (max-width: 559px) { .ep-card { width: 100%; margin-left: 0; margin-right: 0; } }

.year-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 15px; margin: 0 var(--gutter) 30px; padding: 15px; background: rgba(0, 0, 0, .02); border-bottom: 1px solid rgba(0, 0, 0, .04); }
.year-nav-label { color: var(--muted); }
.year-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.year-nav a { display: block; padding: 0 10px; line-height: 30px; color: var(--text); border-radius: 2px; transition: background-color .25s, color .25s; }
.year-nav a:hover { background: rgba(152, 0, 23, .08); color: var(--theme); }
.year-nav a[aria-current] { background: var(--theme); color: #fff; }

.archive { padding: 30px 0 40px; }
.archive-intro { padding-bottom: 20px; }
.archive-intro img { display: inline-block; }
.pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 20px 0 0; }
.pager .pages { display: flex; gap: 2px; }
.pager .pages a { display: block; width: 35px; line-height: 35px; text-align: center; background: rgba(152, 0, 23, .08); color: var(--theme); transition: background-color .25s, color .25s; }
.pager .pages a.current, .pager .pages a:hover { background: var(--theme); color: #fff; }
.pager .prev-page, .pager .next-page { line-height: 43px; }

/* ---------- Single episode ---------- */
.ep-head { padding: 30px var(--gutter) 0; }
.ep-head .entry-title { margin: 0 0 15px; padding: 0 10px; }
.post-meta { color: var(--muted); margin: 0 0 8px; padding: 0 10px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.post-meta a { color: var(--muted); border-bottom: 1px dotted var(--muted); }
.post-meta a:hover { color: var(--theme); border-color: var(--theme); }
.single { padding: 20px 0 0; }
.single-photo { margin: 0 var(--gutter) 40px; text-align: center; }
.single-photo img { width: 100%; }
.project-meta { margin: 0 var(--gutter) 40px; max-width: 398px; background: rgba(0, 0, 0, .01); border-bottom: 1px solid rgba(0, 0, 0, .03); }
.project-meta div { display: flex; gap: 20px; padding: 7px 15px 7px 10px; }
.project-meta dt { font-weight: 700; }
.project-meta dd { margin: 0; }
.single .prose { margin: 0 var(--gutter); padding-bottom: 30px; }
.prose img { display: inline-block; }
.prose .align-left { margin: 0 15px 15px 0; }

.related { padding: 20px 0 20px; }
.related-title { font-size: 21px; line-height: 25px; font-weight: 500; margin: 0 var(--gutter) 15px; padding: 0 0 0 0; }
.cards { display: flex; flex-wrap: wrap; }
.card { width: 31.333%; margin: 0 var(--gutter) 40px; }
.card-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-date { font-size: 12px; line-height: 18px; color: var(--muted); margin: 15px 0 5px; }
.card-title { font-size: 21px; line-height: 25px; font-weight: 500; margin: 0 0 15px; }
.card hr { display: none; }
.card .btn { display: inline-block; padding: 11px 20px; background: #f7f7f7; color: #747474; transition: background-color .25s, color .25s; }
.card .btn:hover { background: var(--theme); color: #fff; }
@media (max-width: 767px) {
  .card { width: 100%; margin-left: 0; margin-right: 0; }
  .ep-head .entry-title { font-size: 26px; line-height: 30px; padding: 0; }
  .post-meta { padding: 0; }
  .prose .align-left { float: none; margin: 0 0 15px; }
}

/* ---------- Buttons ---------- */
.btn-theme, .btn-line { display: inline-block; padding: 11px 20px; line-height: 25px; transition: background-color .25s, color .25s, border-color .25s; }
.btn-theme { background: var(--theme); color: #fff; }
.btn-theme:hover { background: #6e0011; color: #fff; }
.btn-line { border: 1px solid rgba(0, 0, 0, .15); color: var(--text); margin-left: 8px; }
.btn-line:hover { border-color: var(--theme); color: var(--theme); }

/* ---------- 404 ---------- */
.error-404 { padding: 110px 0 130px; text-align: center; }
.error-code { font-size: 130px; line-height: 1; font-weight: 300; color: rgba(152, 0, 23, .15); margin: 0 0 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--footer-text); border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 1% 29px; }
.copyright { margin: 0; }
.to-top { position: relative; flex: none; width: 42px; height: 42px; color: #65666c; transition: color .25s, transform .3s var(--ease); }
.to-top::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px;
  border: solid currentColor; border-width: 2px 0 0 2px; transform: translate(-50%, -25%) rotate(45deg);
}
.to-top:hover { color: #fff; transform: translateY(-3px); }
@media (max-width: 767px) { .footer-inner { padding: 25px 20px; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .9); opacity: 0; transition: opacity .3s var(--ease); cursor: zoom-out; padding: 30px; }
.lightbox.show { opacity: 1; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; transform: scale(.97); transition: transform .35s var(--ease); }
.lightbox.show img { transform: none; }
.lightbox button { position: absolute; top: 15px; right: 15px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.lightbox button::before, .lightbox button::after { content: ""; position: absolute; left: 11px; top: 21px; width: 22px; height: 2px; background: #fff; }
.lightbox button::before { transform: rotate(45deg); }
.lightbox button::after { transform: rotate(-45deg); }

/* ---------- Reveal on scroll (JS only) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer { display: none !important; } }

/* WordPress galleries inside episode text */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 4%; margin: 10px 0 30px; clear: both; }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.cols-1 { grid-template-columns: 1fr; }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery figure { margin: 0; overflow: hidden; }
.gallery img { width: 100%; transition: transform .8s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: 12px; line-height: 18px; color: var(--muted); padding-top: 6px; }
@media (max-width: 559px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ==========================================================================
   Σελίδα εκπομπής (νέα διάταξη — tools/episode_pages.py)
   ========================================================================== */
.page-episode { background: #fff; }
.episode { --narrow: 760px; --wide: 1080px; padding: 0 20px; }
.ep-top, .ep-body { max-width: var(--narrow); margin: 0 auto; }
.ep-hero, .ep-pn { max-width: var(--wide); margin-left: auto; margin-right: auto; }

/* Διαδρομή */
.crumbs ol { list-style: none; margin: 0; padding: 28px 0 0; display: flex; flex-wrap: wrap; font-size: 13px; line-height: 20px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 8px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--theme); }

/* Τίτλος και πληροφορίες προβολής */
.episode .entry-title { font-size: 40px; line-height: 1.15; font-weight: 400; margin: 12px 0 16px; overflow-wrap: break-word; }
.ep-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 28px; color: var(--text); }
.ep-air { display: inline-flex; align-items: center; gap: 8px; background: var(--theme); color: #fff; padding: 5px 14px; border-radius: 3px; font-weight: 500; line-height: 22px; }
.ep-air svg { flex: none; }
.ep-meta .cats a { color: var(--text); border-bottom: 1px dotted var(--muted); }
.ep-meta .cats a:hover { color: var(--theme); border-color: var(--theme); }

.ep-hero { margin-top: 0; margin-bottom: 36px; }
.ep-hero img { width: 100%; }

/* Κείμενο */
.episode .prose { font-size: 17px; line-height: 1.75; color: #333; }
.episode .prose p { margin: 0 0 20px; }
.episode .prose p.lead { font-size: 20px; line-height: 1.6; color: var(--head); font-weight: 300; }
.episode .prose strong, .episode .prose b { color: var(--head); font-weight: 500; }
.episode .prose h4 { font-size: 20px; line-height: 1.4; margin: 30px 0 12px; }
.episode .prose [style*="margin:0cm"] { margin-bottom: 20px !important; }
.episode .prose span[style*="color"] { color: inherit !important; }

/* Τίτλοι ενοτήτων */
.ep-sec-title { font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--theme); margin: 0 0 14px; }

/* Συντελεστές */
.ep-credits { margin: 34px 0 40px; padding: 18px 0 20px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.ep-credits dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
.ep-credits dt { font-size: 12px; line-height: 16px; color: var(--muted); }
.ep-credits dd { margin: 0; font-size: 15px; line-height: 22px; color: var(--head); }

/* Φωτογραφίες */
.ep-photos { margin: 0 0 40px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.photo-grid figure { margin: 0; }
.photo-grid a { display: block; overflow: hidden; background: #eee; cursor: zoom-in; }
.photo-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--ease); }
.photo-grid a:hover img { transform: scale(1.05); }
.photo-grid figcaption { font-size: 12px; line-height: 16px; color: var(--muted); padding-top: 6px; }

/* Κοινοποίηση */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 48px; }
.share-label { font-weight: 500; color: var(--head); margin-right: 6px; }
.share a, .share button { display: inline-flex; align-items: center; border: 1px solid #e3e3e3; background: #fff; color: #444; padding: 6px 14px; border-radius: 20px; font-size: 13px; line-height: 20px; cursor: pointer; transition: border-color .25s, color .25s; }
.share a:hover, .share button:hover { border-color: var(--theme); color: var(--theme); }
.share button.ok { border-color: #2e7d32; color: #2e7d32; }

/* Προηγούμενη / Επόμενη */
.ep-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid #eee; padding: 28px 0 40px; }
.ep-pn a { display: flex; align-items: center; gap: 14px; background: #f7f7f7; padding: 12px; color: var(--head); transition: background-color .25s; }
.ep-pn a:hover { background: #f0eaeb; }
.ep-pn .pn-next { flex-direction: row-reverse; text-align: right; }
.ep-pn img { flex: none; width: 120px; aspect-ratio: 16 / 10; object-fit: cover; }
.ep-pn small { display: block; color: var(--theme); font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.ep-pn .pn-title { display: block; font-size: 15px; line-height: 1.35; }

/* Δείτε επίσης */
.page-episode .related { background: #f6f6f6; padding: 40px 0 10px; }
.page-episode .related .container { max-width: 1120px; padding: 0 20px; }
.page-episode .related-title { font-size: 24px; line-height: 30px; font-weight: 400; margin: 0 0 22px; }
.page-episode .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.page-episode .card { width: auto; margin: 0 0 30px; }
.page-episode .card-img { aspect-ratio: 16 / 10; }
.page-episode .card-title { font-size: 17px; line-height: 1.35; margin: 0; }

@media (max-width: 767px) {
  .episode .entry-title { font-size: 28px; }
  .episode .prose p.lead { font-size: 19px; }
  .ep-hero { margin-left: -20px; margin-right: -20px; margin-bottom: 28px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .ep-pn { grid-template-columns: 1fr; }
  .ep-pn img { width: 90px; }
  .page-episode .cards { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .ep-credits dl { grid-template-columns: 1fr; } }

/* Lightbox: πλοήγηση μέσα στις φωτογραφίες */
.lightbox .lb-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); cursor: pointer; }
.lightbox .lb-nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox .lb-nav::before, .lightbox .lb-nav::after { content: none; }
.lightbox .lb-nav span { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border: solid #fff; border-width: 2px 2px 0 0; }
.lightbox .lb-prev { left: 15px; right: auto; top: 50%; }
.lightbox .lb-next { right: 15px; left: auto; top: 50%; }
.lightbox .lb-prev span { transform: translate(-30%, -50%) rotate(-135deg); }
.lightbox .lb-next span { transform: translate(-70%, -50%) rotate(45deg); }
.lightbox .lb-count { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #ccc; font-size: 13px; }
@media print { .share, .ep-pn, .page-episode .related { display: none !important; } }

/* ==========================================================================
   Δύο εκπομπές: ενότητες αρχικής, σελίδα εκπομπής (tools/diadromes.py)
   ========================================================================== */
.show-sec { background: #fff; }
.show-head { max-width: 760px; margin: 0 auto; padding: 56px 20px 34px; text-align: center; }
.show-sec-head .show-head { padding-top: 64px; }
.show-label { display: inline-block; margin: 0 0 12px; padding: 3px 12px; border-radius: 20px; background: var(--theme); color: #fff; font-size: 12px; line-height: 20px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.show-name { font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: .02em; color: var(--wine); margin: 0 0 6px; }
.show-sub { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.show-intro { margin: 0 auto 18px; max-width: 620px; color: #444; font-size: 17px; line-height: 1.65; }
.show-more { display: inline-block; font-weight: 500; color: var(--theme); border-bottom: 1px solid currentColor; }
.show-more:hover { color: #6e0011; }

/* Σελίδα εκπομπής */
.page-show { background: #fff; }
.show-hero { padding: 0 0 10px; }
.show-hero .container, .show-list .container { padding: 0 20px; max-width: 1120px; }
.show-hero .crumbs ol { padding-top: 28px; }
.show-hero .show-label { margin-top: 26px; }
.show-title { font-size: 46px; line-height: 1.1; font-weight: 700; color: var(--wine); margin: 0 0 14px; }
.show-title span { display: block; font-size: 20px; line-height: 1.4; font-weight: 300; color: var(--head); letter-spacing: 0; }
.show-hero .show-intro { margin: 0 0 30px; max-width: 700px; }
.show-list { padding: 0 0 50px; }
.show-list .ep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.show-list .ep-card { width: auto; margin: 0; background: #f7f7f7; }
.show-list .ep-img { aspect-ratio: 16 / 9; }
.show-list .ep-desc { background: none; padding: 18px 20px 22px; }
.ep-num { margin: 0 0 6px; font-size: 12px; line-height: 18px; color: var(--theme); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.show-list .ep-title { font-size: 19px; line-height: 1.35; font-weight: 500; margin: 0 0 10px; }
.ep-ex { margin: 0; font-size: 14px; line-height: 1.6; color: #555; }

/* Σελίδα επεισοδίου: «ΠΡΟΣΩΠΙΚΕΣ ΔΙΑΔΡΟΜΕΣ · Επεισόδιο 2» πάνω από τον τίτλο */
.ep-kicker { margin: 16px 0 0; font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .08em; color: var(--theme); }
.ep-kicker + .entry-title { margin-top: 6px; }

@media (max-width: 959px) { .show-list .ep-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .show-name { font-size: 30px; }
  .show-title { font-size: 32px; }
  .show-title span { font-size: 17px; }
  .show-head { padding: 40px 20px 26px; }
  .show-intro { font-size: 16px; }
}
@media (max-width: 559px) { .show-list .ep-grid { grid-template-columns: 1fr; } }

/* Οι τίτλοι ενοτήτων δεν κρύβονται κάτω από το σταθερό header όταν ανοίγουν με #anchor */
.show-sec, [id^="sh-"], [id^="ep-"] { scroll-margin-top: 90px; }

/* Νέα εκπομπή: βίντεο + logo (αρχική και σελίδα εκπομπής) */
.show-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; max-width: 1220px; margin: 0 auto; padding: 56px 20px 44px; }
.show-feature .show-head { max-width: none; margin: 0; padding: 0; text-align: left; }
.show-feature .show-intro { margin-left: 0; }
.show-video video { width: 100%; height: auto; background: #000; aspect-ratio: 16 / 9; }
.show-logo { display: block; width: auto; height: 100px; max-width: 100%; object-fit: contain; object-position: left center; }
.show-name-logo { line-height: 0; margin-bottom: 14px; }
.show-hero .show-feature { padding: 26px 0 34px; max-width: none; }
.show-title .show-logo { height: 110px; margin-bottom: 10px; }
.show-hero .show-label { margin-top: 0; }
.ep-kicker { display: flex; align-items: center; gap: 12px; }
.ep-kicker a { line-height: 0; }
.ep-kicker-logo { width: auto; height: 40px; }
@media (max-width: 959px) {
  .show-feature { grid-template-columns: 1fr; gap: 28px; padding-top: 0; }
  .show-sec .show-feature { padding: 0 0 36px; }
  .show-sec .show-feature .show-head { padding: 0 20px; text-align: center; }
  .show-sec .show-logo { margin: 0 auto; object-position: center; }
  .show-sec .show-intro { margin: 0 auto 18px; }
}
@media (max-width: 767px) {
  .show-logo { height: 72px; }
  .show-title .show-logo { height: 76px; }
  .ep-kicker-logo { height: 34px; }
}

/* ==========================================================================
   Προσβασιμότητα (WCAG 2.2 AA)
   ========================================================================== */
/* 1.4.1: τα links μέσα στο κείμενο ξεχωρίζουν και χωρίς χρώμα */
.prose a, .rich a, .consent-text a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover, .rich a:hover { text-decoration-thickness: 2px; }
/* 1.4.3 / 1.4.11: αντίθεση */
.card .btn { color: #5c5c5c; }
.to-top { color: #a3a3a8; }
/* 2.4.7: ορατή εστίαση και σε σκούρο φόντο / πάνω σε φωτογραφίες */
.site-footer :focus-visible, .lightbox :focus-visible, .sec[style*="#000"] :focus-visible, video:focus-visible { outline-color: #fff; }
.tile a:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.ep-pn a:focus-visible, .card-img:focus-visible, .ep-img:focus-visible { outline-offset: 3px; }
/* 1.3.1: οι υπότιτλοι μέσα στο κείμενο των εκπομπών (ήταν h4 χωρίς h2/h3 πριν) */
.episode .prose h2 { font-size: 20px; line-height: 1.4; font-weight: 500; margin: 30px 0 12px; color: var(--head); }

/* Footer: πολιτική απορρήτου + ρυθμίσεις cookies */
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 6px 0 0; }
.footer-links a, .link-btn { color: var(--footer-text); font: inherit; font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover, .link-btn:hover { color: #fff; }

/* Consent banner (GDPR) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-inner { pointer-events: auto; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; color: #333; border: 1px solid #ddd; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .18); padding: 22px 24px; }
.consent-title { font-size: 18px; line-height: 1.3; font-weight: 500; margin: 0 0 8px; color: var(--head); }
.consent-title:focus { outline: none; }
.consent-text { font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.consent-prefs { border: 0; margin: 0 0 14px; padding: 12px 0 0; border-top: 1px solid #eee; }
.consent-prefs[hidden] { display: none; }
.consent-opt { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin: 0 0 10px; cursor: pointer; }
.consent-opt input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--theme); }
.consent-opt b { display: block; font-weight: 500; color: var(--head); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.consent-btn { min-height: 44px; padding: 10px 18px; border-radius: 4px; border: 2px solid var(--theme); background: var(--theme); color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.consent-btn:hover { background: #6e0011; border-color: #6e0011; }
.consent-btn-line { background: #fff; color: var(--theme); }
.consent-btn-line:hover { background: #f8eef0; color: #6e0011; }
.consent-btn[hidden] { display: none; }
@media (max-width: 559px) {
  .consent { left: 8px; right: 8px; bottom: 8px; }
  .consent-inner { padding: 18px 16px; }
  .consent-actions { justify-content: stretch; }
  .consent-btn { flex: 1 1 100%; }
}
@media print { .consent { display: none !important; } }
/* Σελίδα «Πολιτική απορρήτου» */
.page-legal .prose h2 { font-size: 22px; line-height: 1.35; font-weight: 500; margin: 34px 0 12px; color: var(--head); }
.page-legal .prose h3 { font-size: 18px; line-height: 1.4; font-weight: 500; margin: 22px 0 8px; color: var(--head); }
.page-legal .prose ul { margin: 0 0 20px; padding-left: 22px; }
.page-legal .prose li { margin: 0 0 8px; }
.page-legal .prose .consent-btn { font-size: 15px; margin-left: 6px; vertical-align: middle; }
.page-legal .updated { font-size: 14px; color: var(--muted); margin-top: 36px; padding-bottom: 40px; }
/* 2.4.11: το στοιχείο με την εστίαση δεν κρύβεται κάτω από το σταθερό header */
html { scroll-padding-top: 96px; }

/* ---------- Responsive (έλεγχος 320–1366px) ---------- */
/* Λεζάντες από το παλιό WordPress έχουν σταθερό πλάτος (style="width:1034px") */
[id^="attachment_"] { max-width: 100%; }
/* Πολύ μεγάλες λέξεις / σύνδεσμοι δεν σπρώχνουν τη σελίδα εκτός οθόνης */
body { overflow-wrap: break-word; }
/* Σελιδοποίηση αρχείου: σε στενές οθόνες τα «Προηγούμενη/Επόμενη» πάνε σε νέα γραμμή */
.pager { flex-wrap: wrap; row-gap: 8px; }
/* Στόχοι αφής τουλάχιστον 24px ύψος (WCAG 2.5.8) */
.crumbs a { display: inline-block; }
.crumbs ol { line-height: 24px; }
/* Tablet (2 στήλες): το τελευταίο μονό πλακίδιο πιάνει όλο το πλάτος, χωρίς κενό κελί */
@media (min-width: 560px) and (max-width: 959px) {
  .tiles > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tiles > li:last-child:nth-child(odd) a { aspect-ratio: 32 / 9; }
  .tiles > li:last-child:nth-child(odd) img { position: absolute; inset: 0; }
}

/* Ταυτότητα νέας εκπομπής: ρόλος · ΟΝΟΜΑ (μεγάλα) · κανάλι */
.show-credit { margin: 0 0 22px; color: var(--head); }
.show-credit span { display: block; }
.show-credit-role { font-size: 18px; line-height: 1.4; font-weight: 700; color: #444; letter-spacing: .02em; }
.show-credit-name { font-size: 32px; line-height: 1.15; font-weight: 700; color: var(--wine); -webkit-text-stroke: .9px currentColor; letter-spacing: .04em; margin: 6px 0 8px; }
.show-credit-ch { font-size: 16px; line-height: 1.4; font-weight: 500; letter-spacing: .08em; color: var(--theme); }
