/* ===========================================================================
   KorinthosTV — business news theme
   1. Tokens  2. Base  3. Header  4. Cards  5. Home  6. Article
   7. Archives  8. Newsletter & footer  9. Responsive
   ======================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F3F5F8;
  --bg-tint: #EBF0F6;
  --ink: #0C1B2E;
  --ink-2: #1D2D42;
  --text: #404C5C;
  --muted: #6E7A89;
  --line: #DDE3EA;
  --line-2: #C6CED8;
  --nav: #0C1B2E;
  --accent: #0F3D75;
  --accent-2: #1C5FA8;
  --hot: #B3121D;

  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Literata', Georgia, 'Times New Roman', serif;

  --radius: 3px;
  --wrap: 1300px;
  --gutter: clamp(16px, 3.4vw, 40px);
  --ease: cubic-bezier(.25, .6, .35, 1);
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.site {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 800px; }

.eyebrow { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--accent); color: #fff; padding: 12px 20px; font-weight: 600; }
.skip-link:focus { left: 0; top: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 3. Header ------------------------------------------------------------- */
.masthead { position: relative; z-index: 60; background: var(--bg); }

.utility-bar { background: var(--bg-soft); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.utility-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 36px; }
.utility-left { display: flex; align-items: center; gap: 14px; }
.utility-date { font-weight: 600; color: var(--ink-2); }
.utility-clock { font-variant-numeric: tabular-nums; }
.utility-tagline { letter-spacing: .04em; }
.utility-links { display: flex; gap: 15px; align-items: center; font-weight: 500; }
.utility-links a:hover { color: var(--accent); }
.utility-admin { color: var(--accent) !important; font-weight: 600; }

.live-pill {
  display: inline-flex; align-items: center; gap: 7px; background: var(--hot); color: #fff;
  padding: 4px 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; flex: none; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* Τρεις ισοπλατείς ζώνες ώστε το λογότυπο να κάθεται πάντα στο οπτικό κέντρο,
   ανεξάρτητα από το πόσο πλάτος πιάνουν τα κουμπιά αριστερά και δεξιά. */
.masthead-main .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: 24px; padding-block: clamp(14px, 2vw, 22px);
}
.masthead-side { display: flex; align-items: center; gap: 6px; min-width: 0; }
.masthead-side-right { justify-content: flex-end; gap: 0; }
.masthead-actions { display: flex; align-items: stretch; gap: 0; }

.menu-button {
  display: inline-flex; align-items: center; gap: 8px; background: none; border: 0;
  padding: 9px 12px; border-radius: 8px; cursor: pointer; color: var(--ink);
  font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .1em;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.menu-button:hover { background: var(--bg-soft); color: var(--accent); }
.menu-button svg { width: 18px; height: 18px; }
.menu-bars { display: grid; gap: 3.5px; }
.menu-bars span { width: 18px; height: 2px; background: currentColor; display: block; border-radius: 2px; }
.masthead-stat {
  display: grid; align-content: center; gap: 2px; padding-inline: 20px; border-left: 1px solid var(--line);
  font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase;
}
.masthead-stat b { font-family: var(--serif); font-size: 19px; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.masthead-actions .icon-button { margin-left: 20px; align-self: center; }
.masthead-side-right .ghost-button { margin-left: 18px; align-self: center; }

.brand { display: grid; justify-items: center; gap: 5px; text-align: center; }
.brand-name {
  display: inline-flex; align-items: stretch; font-family: "Arial Narrow", Inter, sans-serif;
  font-size: clamp(26px, 3.6vw, 40px); font-weight: 900;
  letter-spacing: -.055em; color: var(--ink); line-height: .92; text-transform: uppercase;
}
.brand-main { display: inline-flex; align-items: center; }
.brand-accent { display: inline-flex; align-items: center; margin-left: .09em; padding: .06em .16em .04em; background: #f20d16; color: #fff; letter-spacing: -.07em; }
.brand-sub { font-family: var(--sans); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand.small .brand-name { font-size: 20px; }

.icon-button {
  width: 38px; height: 38px; display: grid; place-items: center; gap: 4px;
  background: #fff; border: 1px solid var(--line-2); color: var(--ink); transition: all .18s var(--ease);
}
.icon-button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.icon-button svg { width: 17px; height: 17px; }
.menu-toggle span { width: 16px; height: 2px; background: currentColor; display: block; }

.ghost-button {
  border: 1px solid var(--accent); background: var(--accent); color: #fff; padding: 11px 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; transition: all .18s var(--ease);
}
.ghost-button:hover { background: var(--ink); border-color: var(--ink); }

.primary-nav { position: sticky; top: 0; z-index: 55; background: var(--nav); }
.primary-nav .wrap { display: flex; align-items: center; gap: 20px; }
/* Horizontal scrolling is only needed on narrow screens; on desktop it would
   clip the category drop-downs. */
.primary-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; margin: 0; padding: 0; list-style: none; flex: 1; }
.primary-nav ul::-webkit-scrollbar { display: none; }
.primary-nav li > a {
  display: block; padding: 11px 0; white-space: nowrap; position: relative;
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em; color: rgba(255, 255, 255, .78);
  transition: color .18s var(--ease);
}
.primary-nav li > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent-2); transform: scaleX(0); transition: transform .2s var(--ease); }
.primary-nav li > a:hover { color: #fff; }
.primary-nav li > a:hover::after, .primary-nav li > a.active::after { transform: scaleX(1); }
.primary-nav li > a.active { color: #fff; }
.primary-nav .wrap { position: relative; }
.primary-nav li { position: static; }
.primary-nav .caret {
  display: inline-block; width: 5px; height: 5px; margin-left: 7px; vertical-align: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .5; transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.primary-nav li:hover .caret { opacity: 1; transform: rotate(45deg) translate(1px, 1px); }

/* Category drop-down: the latest four stories, so the menu answers
   "what is new here?" instead of only pointing at another page. */
/* Anchored to the nav container, not the item: a drop-down under one of the
   last links would otherwise hang off the right edge of the page. */
.mega {
  position: absolute; top: 100%; left: 0; z-index: 70; width: min(720px, 100%);
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent);
  box-shadow: 0 18px 44px rgba(11, 21, 36, .16);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.primary-nav li.has-menu:hover .mega,
.primary-nav li.has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { padding: 18px 20px 20px; }
.mega-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.mega-head span { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.mega-head a { font-size: 11.5px; font-weight: 700; color: var(--accent); }
.mega-head a:hover { text-decoration: underline; }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mega-card { display: grid; gap: 8px; align-content: start; min-width: 0; }
.mega-thumb { display: block; overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 3; }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mega-card:hover .mega-thumb img { transform: scale(1.06); }
.mega-title {
  font-family: var(--serif); font-size: 13.5px; font-weight: 700; line-height: 1.32; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.mega-card:hover .mega-title { color: var(--accent); }
.mega-date { font-size: 11px; color: var(--muted); }

.mega-list { width: min(560px, 100%); left: auto; right: 0; }
.category-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 24px; }
.category-columns a { display: flex; align-items: center; gap: 9px; padding: 9px 0; font-size: 13.5px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.category-columns a:hover { color: var(--accent); }
.category-columns .dot { width: 8px; height: 8px; flex: none; }
.category-columns .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-columns b { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

.nav-search {
  display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14); padding: 7px 14px; color: rgba(255, 255, 255, .7);
  font-size: 12px; font-weight: 500; flex: none; transition: all .18s var(--ease);
}
.nav-search svg { width: 14px; height: 14px; }
.nav-search:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.ticker { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--bg); height: 44px; }
.ticker-label { flex: none; display: flex; align-items: center; gap: 8px; padding-inline: 16px; background: var(--hot); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; }

.ticker-viewport { position: relative; flex: 1; min-width: 0; overflow: hidden; }
.ticker-list { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.ticker-list li {
  position: absolute; inset: 0; display: flex; align-items: center; padding-inline: 20px;
  opacity: 0; transform: translateY(70%); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.ticker-list li.active { opacity: 1; transform: none; pointer-events: auto; }
.ticker-list li.leaving { transform: translateY(-70%); }
.ticker-list a {
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .18s var(--ease);
}
.ticker-list a:hover { color: var(--accent); }

.ticker-nav { flex: none; display: flex; align-items: center; gap: 4px; padding-inline: 12px; border-left: 1px solid var(--line); }
.ticker-nav button {
  width: 24px; height: 24px; display: grid; place-items: center; background: transparent;
  border: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1;
  transition: all .18s var(--ease);
}
.ticker-nav button:hover { border-color: var(--accent); color: var(--accent); }
.ticker-count { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 26px; text-align: center; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(12, 27, 46, .55); }
.drawer[hidden] { display: none; }
.drawer-panel { width: min(330px, 88vw); height: 100%; background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 22px; animation: slide-in .25s var(--ease); }
@keyframes slide-in { from { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.drawer-nav { display: grid; }
.drawer-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 12.5px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.drawer-nav a:hover { color: var(--accent); }
.drawer-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); font-weight: 500; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(255, 255, 255, .99); display: grid; place-items: center; }
.search-overlay[hidden] { display: none; }
.search-inner { width: min(720px, 90vw); text-align: center; position: relative; }
.search-inner form { display: flex; margin-top: 16px; border: 2px solid var(--ink); }
.search-close { position: absolute; top: -70px; right: 0; }
.search-inner input { flex: 1; background: transparent; border: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(19px, 3vw, 27px); font-weight: 700; padding: 15px 18px; }
.search-inner input:focus { outline: none; }
.search-inner form button { background: var(--ink); border: 0; color: #fff; font-size: 11px; letter-spacing: .12em; font-weight: 700; padding-inline: 24px; }
.search-suggestions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-size: 12.5px; color: var(--muted); align-items: center; }
.search-suggestions a { border: 1px solid var(--line-2); padding: 7px 14px; font-weight: 600; color: var(--ink-2); transition: all .18s var(--ease); }
.search-suggestions a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* 4. Cards -------------------------------------------------------------- */
.chip {
  display: inline-block; font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--chip, var(--accent)); border-left: 3px solid var(--chip, var(--accent));
  padding: 0 0 0 8px; margin-bottom: 10px; text-transform: uppercase; vertical-align: middle;
}
.ribbon {
  display: inline-block; background: var(--hot); color: #fff; font-family: var(--sans); font-size: 10px;
  font-weight: 700; letter-spacing: .1em; padding: 3px 8px; margin: 0 8px 10px 0; vertical-align: middle;
}

.meta { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 500; }
.meta .sep { color: var(--line-2); }

.card { position: relative; }
.card-media { display: block; overflow: hidden; background: var(--bg-soft); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }
.card h1 a, .card h2 a, .card h3 a, .card h4 a { transition: color .18s var(--ease); }
.card:hover h1 a, .card:hover h3 a, .card:hover h4 a { color: var(--accent); }
.media-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,16,28,0) 30%, rgba(8,16,28,.6) 65%, rgba(8,16,28,.94) 100%); }

.card-lead .card-media { aspect-ratio: 16 / 9; margin-bottom: 18px; }
.card-lead h1 { font-size: clamp(25px, 3.1vw, 39px); margin-bottom: 12px; line-height: 1.16; }
.card-lead p { color: var(--text); font-size: 16px; max-width: 62ch; margin-bottom: 12px; }

.card-headline { display: grid; grid-template-columns: minmax(0, 1fr) 78px; gap: 14px; align-items: start; padding-block: 15px; border-top: 1px solid var(--line); }
.card-headline .card-media { order: 2; aspect-ratio: 1; }
.card-headline .card-body { order: 1; }
.card-headline .chip { font-size: 9.5px; margin-bottom: 6px; border-left-width: 2px; padding-left: 6px; }
.card-headline h3 { font-size: 16px; line-height: 1.32; margin-bottom: 6px; }
.card-headline .meta { font-size: 11.5px; }

.card-feature .card-media { aspect-ratio: 16 / 10; }
.card-feature .card-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; }
.card-feature h2 { font-size: 20px; margin-bottom: 6px; color: #fff; }

.card-standard .card-media { aspect-ratio: 3 / 2; margin-bottom: 14px; }
.card-standard h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.28; }
.card-standard p { color: var(--muted); font-size: 13.5px; margin-bottom: 10px; }

.card-wide { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 22px; padding-bottom: 24px; border-bottom: 1px solid var(--line); align-items: start; }
.card-wide .card-media { aspect-ratio: 4 / 3; }
.card-wide h3 { font-size: clamp(19px, 1.9vw, 25px); margin-bottom: 9px; line-height: 1.22; }
.card-wide p { color: var(--muted); font-size: 14px; }

.card-list { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 13px; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.card-list .card-media { aspect-ratio: 1; }
.card-list h4 { font-size: 15px; margin-bottom: 4px; line-height: 1.3; }

.card-minimal { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.card-minimal h3 { font-size: 16.5px; margin-bottom: 5px; }

/* 5. Home --------------------------------------------------------------- */
.lead-board { border-bottom: 1px solid var(--line); padding-block: clamp(22px, 2.8vw, 34px); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 46px); }
.lead-list { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 34px); }
.lead-list .card-headline:first-of-type { border-top: 0; padding-top: 0; }
.rail-title { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--ink); padding-bottom: 11px; border-bottom: 3px solid var(--ink); margin-bottom: 4px; }
.rail-more { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 600; color: var(--accent); }
.rail-more:hover { text-decoration: underline; }

.layout-columns { display: grid; grid-template-columns: minmax(0, 1fr) 348px; gap: clamp(26px, 3.4vw, 54px); padding-bottom: 66px; }
.column-side { display: grid; gap: 30px; align-content: start; position: sticky; top: 74px; }
.column-main { min-width: 0; }
.article-column { min-width: 0; }

.section { padding-block: clamp(24px, 2.8vw, 36px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; border-top: 3px solid var(--cat, var(--ink)); padding-top: 12px; }
.section-head h2 { font-size: clamp(19px, 2vw, 25px); }
.section-head h2 .count { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 600; }
.section-more { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .09em; color: var(--accent); white-space: nowrap; }
.section-more::after { content: ' →'; }
.section-more:hover { color: var(--ink); }
.section-note { color: var(--muted); font-size: 13.5px; margin: -12px 0 20px; max-width: 64ch; }

.stream { display: grid; gap: 24px; margin-bottom: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(20px, 2.4vw, 30px); }
/* Category blocks: a wide lead, a row of three, then a short list — so the
   page keeps the same density all the way down instead of thinning out. */
.block-layout { display: grid; gap: 26px; }
.block-lead .card-wide { border-bottom: 0; padding-bottom: 0; }
.block-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 28px); padding-top: 22px; border-top: 1px solid var(--line); }
.block-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px 26px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line); }

/* Alternate the lead side so consecutive sections do not look identical. */
.column-main > .section:nth-of-type(even) .block-lead .card-wide,
.wide-sections > .section:nth-of-type(even) .block-lead .card-wide { direction: rtl; }
.column-main > .section:nth-of-type(even) .block-lead .card-wide > *,
.wide-sections > .section:nth-of-type(even) .block-lead .card-wide > * { direction: ltr; }
.block-list:empty { display: none; }
.block-layout:has(.block-list:empty) { grid-template-columns: minmax(0, 1fr); }
.stream:empty { display: none; }
.stream:last-child { margin-bottom: 0; }

.widget { background: var(--bg); }
.widget-title { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--ink); margin-bottom: 14px; padding-bottom: 11px; border-bottom: 3px solid var(--ink); display: block; }

.wire-list { list-style: none; margin: 0; padding: 0; display: grid; }
.wire-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); position: relative; }
.wire-time { font-size: 12px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; padding-top: 1px; }
.wire-list a { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; display: block; }
.wire-list a:hover { color: var(--accent); }
.wire-list small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }

.rank-list { list-style: none; margin: 0; padding: 0; display: grid; }
.rank-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rank-list li:last-child { border-bottom: 0; }
.rank-number { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--line-2); line-height: 1.1; }
.rank-list li:hover .rank-number { color: var(--accent); }
.rank-list h4 { font-size: 14.5px; line-height: 1.32; margin-bottom: 5px; }
.rank-list li:hover h4 a { color: var(--accent); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a { border: 1px solid var(--line); padding: 6px 11px; font-size: 12px; color: var(--text); display: flex; gap: 6px; align-items: center; font-weight: 500; transition: all .18s var(--ease); }
.tag-cloud a small { color: var(--muted); font-size: 10px; }
.tag-cloud a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag-cloud a:hover small { color: rgba(255, 255, 255, .7); }

.widget-cta { background: var(--bg-soft); padding: 22px; border-top: 3px solid var(--accent); }
.widget-cta h3 { font-size: 19px; margin: 8px 0; line-height: 1.25; }
.widget-cta p { color: var(--text); font-size: 13.5px; }
.widget-cta .button { width: 100%; }

.button {
  display: inline-block; border: 1px solid var(--accent); background: var(--accent); color: #fff;
  padding: 12px 22px; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  text-align: center; transition: all .18s var(--ease);
}
.button:hover { background: var(--ink); border-color: var(--ink); }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.button.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 6. Article ------------------------------------------------------------ */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 400; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--accent-2); transition: width .1s linear; }

.breadcrumb { max-width: 900px; display: flex; gap: 7px; flex-wrap: wrap; font-size: 12px; color: var(--muted); padding-block: 20px 0; font-weight: 500; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--ink-2); max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.article-head { max-width: 900px; padding-top: 20px; padding-bottom: 28px; }
.article-head h1 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 16px; line-height: 1.14; }
.article-head .lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.55; max-width: 64ch; font-family: var(--sans); }

.byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.byline-avatar, .author-avatar {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 13px;
}
.byline-text { display: grid; gap: 2px; }
.byline-author { font-weight: 700; font-size: 14px; color: var(--ink); }
.byline-author a:hover { color: var(--accent); }
.byline-meta { font-size: 12px; color: var(--muted); display: flex; gap: 7px; flex-wrap: wrap; }

.article-cover { max-width: 1140px; margin: 0 auto clamp(24px, 3vw, 40px); padding-inline: var(--gutter); }
.article-cover img { width: 100%; max-height: 62vh; object-fit: cover; }
.article-cover figcaption { margin: 10px 0 0; font-size: 12px; color: var(--muted); border-left: 3px solid var(--line-2); padding-left: 10px; }

.article-body { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 28px; align-items: start; max-width: 900px; }
.related { max-width: 900px; }
.share-rail { position: sticky; top: 84px; display: grid; gap: 8px; justify-items: center; }
.share-rail span { writing-mode: vertical-rl; font-size: 9px; font-weight: 700; letter-spacing: .16em; color: var(--muted); margin-bottom: 4px; }
.share-rail a, .share-rail button {
  width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink-2); font-size: 14px; transition: all .18s var(--ease);
}
.share-rail a:hover, .share-rail button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.prose { font-family: var(--serif); font-size: 18px; line-height: 1.76; color: #26313F; }
.prose h2 { font-size: clamp(21px, 2.3vw, 27px); margin: 1.7em 0 .5em; }
.prose h3 { font-size: clamp(18px, 1.9vw, 21px); margin: 1.5em 0 .4em; }
.prose h4 { font-size: 17px; margin: 1.3em 0 .4em; }
.prose a { color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(15, 61, 117, .3); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose blockquote {
  margin: 1.7em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--accent);
  font-size: 1.08em; font-weight: 500; color: var(--ink);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 1.1em 0; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker, .prose ol li::marker { color: var(--accent); font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose code { font-size: .85em; background: var(--bg-soft); padding: 2px 6px; color: var(--ink); }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 9px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose img { margin: 1.4em 0; width: 100%; height: auto; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-family: var(--sans); font-size: .84em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.prose > p:empty, .prose > div:empty { display: none; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-block: 32px 0; max-width: 900px; }
.article-tags span { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.article-tags a { border: 1px solid var(--line); padding: 7px 13px; font-size: 12px; color: var(--ink-2); font-weight: 600; transition: all .18s var(--ease); }
.article-tags a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.author-box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; margin-block: 34px; padding: 22px; background: var(--bg-soft); border-left: 3px solid var(--accent); max-width: 900px; }
.author-box .author-avatar { width: 56px; height: 56px; font-size: 17px; }
.author-box h3 { font-size: 19px; margin: 4px 0 7px; }
.author-box p { color: var(--muted); font-size: 14px; }
.author-box a { font-family: var(--sans); font-size: 12.5px; font-weight: 700; color: var(--accent); }

.post-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-block: 32px; max-width: 900px; }
.post-nav-item { border: 1px solid var(--line); padding: 18px; display: grid; gap: 6px; transition: all .18s var(--ease); }
.post-nav-item:hover { border-color: var(--accent); }
.post-nav-item span { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.post-nav-item strong { font-family: var(--serif); font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.post-nav-item.next { text-align: right; }

/* Comments */
.comments { padding-bottom: 70px; max-width: 900px; }
.comment-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 18px; }
.comment-list.depth-1, .comment-list.depth-2 { margin-left: 44px; margin-top: 16px; padding-left: 18px; border-left: 2px solid var(--line); }
.comment { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 13px; }
.comment-avatar { width: 38px; height: 38px; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink-2); font-size: 12px; font-weight: 700; }
.comment-head { display: flex; gap: 10px; align-items: baseline; margin-bottom: 3px; }
.comment-head strong { color: var(--ink); font-size: 14px; }
.comment-body p { font-size: 14.5px; margin-bottom: 5px; }
.comment-reply { background: transparent; border: 0; padding: 0; color: var(--accent); font-size: 12px; font-weight: 700; }
.comments-empty { color: var(--muted); padding: 20px 0 26px; border-bottom: 1px solid var(--line); }

.comment-form { display: grid; gap: 14px; background: var(--bg-soft); padding: clamp(20px, 3vw, 30px); border-top: 3px solid var(--accent); }
.comment-form h3 { font-size: 20px; }
.comment-form label { display: grid; gap: 6px; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.comment-form input, .comment-form textarea {
  background: #fff; border: 1px solid var(--line-2); color: var(--ink);
  padding: 12px 14px; font-family: var(--sans); font-size: 14.5px;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); }
.comment-form .field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.comment-form .button { justify-self: start; }
.comment-form small { color: var(--muted); font-size: 12px; }
.honeypot { position: absolute !important; left: -9999px; }
.reply-notice { background: var(--bg-tint); padding: 10px 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.reply-notice button { background: none; border: 0; color: var(--accent); font-size: 12px; text-decoration: underline; }

/* Article layout with reading rail */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 348px; gap: clamp(28px, 3.6vw, 56px); padding-bottom: 70px; align-items: start; }
.article-column { min-width: 0; }
.article-column .article-body,
.article-column .article-tags,
.article-column .author-box,
.article-column .post-nav,
.article-column .comments,
.article-column .related { max-width: none; }
.article-side { display: grid; gap: 26px; align-content: start; position: sticky; top: 74px; }

.more-list { display: grid; gap: 15px; }
.category-list { list-style: none; margin: 0; padding: 0; display: grid; }
.category-list li { border-bottom: 1px solid var(--line); }
.category-list li:last-child { border-bottom: 0; }
.category-list a { display: flex; align-items: center; gap: 9px; padding: 10px 0; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.category-list a:hover { color: var(--accent); }
.category-list .dot { width: 8px; height: 8px; flex: none; }
.category-list b { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Banners */
.banner-slot { display: grid; gap: 18px; }
.banner { position: relative; background: var(--bg-soft); overflow: hidden; }
.banner img { width: 100%; height: auto; display: block; transition: opacity .2s var(--ease); }
.banner a:hover img { opacity: .92; }
.banner-slot.inline { margin: 2.2em 0; }
.banner-slot.wide { margin: 34px 0; }
.banner-slot.leaderboard { margin-inline: auto; }
.banner-header { padding-block: 18px; }
.banner-slot.leaderboard { max-width: 1000px; }

/* 7. Archives & static -------------------------------------------------- */
.page-head { border-bottom: 1px solid var(--line); padding-block: clamp(26px, 3.4vw, 44px) clamp(20px, 2.4vw, 30px); }
.page-head h1 { font-size: clamp(27px, 4vw, 44px); margin: 9px 0 11px; }
.page-head p { color: var(--muted); max-width: 66ch; font-size: 15px; }
.page-head-meta { font-family: var(--sans); font-size: 11.5px; font-weight: 600; color: var(--muted); margin-top: 12px; }
.page-head .eyebrow { color: var(--cat, var(--accent)); }

.inline-search { display: flex; border: 2px solid var(--ink); max-width: 540px; margin-top: 18px; background: #fff; }
.inline-search input { flex: 1; background: transparent; border: 0; color: var(--ink); font-size: 16px; font-weight: 500; padding: 13px 15px; }
.inline-search input:focus { outline: none; }
.inline-search button { background: var(--ink); border: 0; color: #fff; font-size: 11px; letter-spacing: .1em; font-weight: 700; padding-inline: 20px; }

.result-list { display: grid; gap: 26px; }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state h2 { font-size: clamp(21px, 2.4vw, 28px); margin-bottom: 10px; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

.pagination { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 42px; flex-wrap: wrap; }
.page-num, .page-arrow {
  min-width: 42px; height: 42px; display: grid; place-items: center; padding-inline: 14px;
  border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2); transition: all .18s var(--ease);
}
.page-num:hover, .page-arrow:hover { border-color: var(--accent); color: var(--accent); }
.page-num.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-gap { color: var(--muted); }

.static .prose { margin-block: 32px 58px; }
.error-shell { text-align: center; padding-block: clamp(46px, 7vw, 92px) 70px; }
.error-code { font-family: var(--serif); font-size: clamp(66px, 14vw, 148px); font-weight: 700; line-height: .9; color: var(--bg-soft); display: block; }
.error-shell h1 { font-size: clamp(23px, 3.4vw, 36px); margin: 8px 0 12px; }
.error-shell p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.error-actions { display: flex; gap: 12px; justify-content: center; margin: 26px 0 58px; flex-wrap: wrap; }
.error-shell .grid-3 { text-align: left; }

/* Notices */
.notices { max-width: var(--wrap); margin: 16px auto 0; padding-inline: var(--gutter); display: grid; gap: 10px; }
.notice { display: flex; align-items: center; gap: 11px; padding: 13px 16px; background: var(--bg-tint); border-left: 3px solid var(--accent); font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.notice span { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex: none; }
.notice-error { background: #FBEBEC; border-left-color: var(--hot); }
.notice-error span { background: var(--hot); }

/* 8. Newsletter & footer ------------------------------------------------ */
.newsletter-band { background: var(--bg-soft); border-block: 1px solid var(--line); }
.newsletter-band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-block: clamp(30px, 3.6vw, 50px); }
.newsletter-band .newsletter-banner-only { display: block; }
.newsletter-copy h2 { font-size: clamp(21px, 2.6vw, 30px); margin: 9px 0; max-width: 22ch; }
.newsletter-copy p { color: var(--text); max-width: 54ch; font-size: 14.5px; }
.newsletter-form { display: flex; background: #fff; border: 1px solid var(--line-2); }
.newsletter-form input { flex: 1; background: transparent; border: 0; color: var(--ink); padding: 16px 17px; font-size: 14.5px; }
.newsletter-form input:focus { outline: none; }
.newsletter-form button { background: var(--accent); border: 0; color: #fff; padding-inline: 26px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; transition: background .18s var(--ease); }
.newsletter-form button:hover { background: var(--ink); }
.newsletter-ad { min-width: 0; }
.newsletter-ad .banner-slot { margin: 0; }
.newsletter-ad .banner { overflow: hidden; background: #fff; border: 1px solid var(--line-2); border-radius: 4px; }
.newsletter-ad .banner img { display: block; width: 100%; height: clamp(120px, 12vw, 170px); object-fit: cover; }

.site-footer { background: var(--nav); color: rgba(255, 255, 255, .66); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: clamp(28px, 3.4vw, 40px) 26px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-identity { display: grid; gap: 12px; min-width: 0; }
.footer-identity p { color: rgba(255, 255, 255, .5); font-size: 13.5px; max-width: 46ch; margin: 0; line-height: 1.6; }
.footer-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-telegram {
  display: inline-flex; align-items: center; gap: 8px; background: #229ED9; color: #fff;
  font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .06em;
  padding: 11px 18px; border-radius: 8px; transition: background .16s var(--ease);
}
.footer-telegram:hover { background: #1c88bb; color: #fff; }
.footer-telegram svg { width: 17px; height: 17px; }
.site-footer .brand { justify-items: start; }
.site-footer .brand-name { color: #fff; font-size: clamp(23px, 2.6vw, 30px); }
.site-footer .brand-accent { color: #fff; }
.site-footer .brand-sub { color: rgba(255, 255, 255, .35); }
.footer-social-buttons { display: flex; gap: 8px; }
.footer-social-buttons a {
  width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; font-weight: 700; font-size: 13px; transition: all .18s var(--ease);
}
.footer-social-buttons a:hover { background: var(--accent); border-color: var(--accent); }

.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 30px 36px; padding-block: 32px 38px; }
.footer-brand p { color: rgba(255, 255, 255, .5); max-width: 42ch; font-size: 13.5px; margin-bottom: 12px; }

/* Η θεματολογία σε δύο στήλες με μετρητή, ώστε να χωρούν όλες οι κατηγορίες
   χωρίς να τραβάει το footer σε ύψος. */
.footer-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.footer-categories li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.footer-categories span { font-size: 11px; color: rgba(255, 255, 255, .3); font-variant-numeric: tabular-nums; }
.footer-contact .footer-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255, 255, 255, .5); transition: color .18s var(--ease); }
.footer-legal a:hover { color: #fff; }
.footer-note { font-family: var(--serif); color: rgba(255, 255, 255, .38); font-size: 13.5px; }
.footer-col h3 { font-family: var(--sans); font-size: 10.5px; letter-spacing: .14em; color: #fff; margin-bottom: 14px; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a, .footer-col span { font-size: 13.5px; color: rgba(255, 255, 255, .58); transition: color .18s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: rgba(255, 255, 255, .38); }

.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 42px; height: 42px; z-index: 90;
  background: var(--ink); border: 0; color: #fff;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), background .18s;
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--accent); }

/* Entrance animation ------------------------------------------------------
   Everything is gated behind html.anim, which JavaScript adds on load. If the
   script never runs the page renders normally instead of staying invisible. */
html.anim .lead-grid > *,
html.anim .column-main > .section > .section-head,
html.anim .wide-sections > .section > .section-head,
html.anim .grid-3 > .card,
html.anim .stream > .card,
html.anim .block-lead,
html.anim .block-grid > .card,
html.anim .block-list > .card,
html.anim .column-side > *,
html.anim .article-head,
html.anim .article-cover,
html.anim .article-column > *,
html.anim .article-side > *,
html.anim .page-head > *,
html.anim .result-list,
html.anim .newsletter-band .wrap > * {
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
}

/* The hiding selectors above carry more weight than a single class, so the
   reveal has to win explicitly — otherwise sections never become visible. */
html.anim .is-in {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity .45s var(--ease), transform .5s cubic-bezier(.2, .8, .3, 1);
}

/* Οι εικόνες ξεθωριάζουν μέσα αντί να «πετάγονται» μόλις κατέβουν. */
.card-media img, .slide-media img, .mega-thumb img, .article-cover img {
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.card-media img.loaded, .slide-media img.loaded, .mega-thumb img.loaded,
.article-cover img.loaded, html:not(.anim) .card-media img,
html:not(.anim) .slide-media img, html:not(.anim) .mega-thumb img,
html:not(.anim) .article-cover img { opacity: 1; }

/* Το content-visibility δοκιμάστηκε εδώ αλλά εμπόδιζε τον IntersectionObserver
   να δει τα στοιχεία μέσα στις παραλειπόμενες ενότητες: έμεναν αόρατα. */

/* Top bar that fills while the next page is being fetched. */
.route-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 500;
  background: linear-gradient(90deg, var(--accent), var(--accent-2, #3E8FD9));
  opacity: 0; pointer-events: none;
  transition: width .3s var(--ease), opacity .25s var(--ease);
}
.route-progress.active { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html.anim .lead-grid > *,
  html.anim .column-main > .section > .section-head,
html.anim .wide-sections > .section > .section-head,
  html.anim .grid-3 > .card,
  html.anim .stream > .card,
  html.anim .block-lead,
  html.anim .block-grid > .card,
  html.anim .block-list > .card,
  html.anim .column-side > *,
  html.anim .article-head,
  html.anim .article-cover,
  html.anim .article-column > *,
  html.anim .article-side > *,
  html.anim .page-head > *,
  html.anim .section > .grid-3,
  html.anim .result-list,
  html.anim .newsletter-band .wrap > * { opacity: 1; transform: none; }
  .route-progress { display: none; }
}

/* 9. Responsive --------------------------------------------------------- */
@media (max-width: 1080px) {
  .layout-columns, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .column-side, .article-side { position: static; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .lead-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .lead-list { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .block-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .block-list { grid-template-columns: minmax(0, 1fr); }
  .newsletter-band .wrap { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nav-search span { display: none; }
  .mega { display: none; }
  /* Μία κυλιόμενη σειρά αντί για στοίβα 8 σειρών — το `overflow-x` δεν έκανε
     τίποτα όσο το `flex-wrap: wrap` επέτρεπε στα στοιχεία να αναδιπλώνονται. */
  .primary-nav ul { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .primary-nav ul::-webkit-scrollbar { display: none; }
  .masthead-stat { display: none; }
}

@media (max-width: 760px) {
  .utility-bar { display: none; }
  .masthead-main { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 3px 14px rgba(11,21,36,.07); }
  .masthead-main .wrap { position: relative; grid-template-columns: 46px minmax(0,1fr) 46px; min-height: 68px; padding-block: 8px; gap: 6px; }
  .masthead-side-left { display: contents; }
  .masthead-side-left .menu-button:first-child { grid-column: 1; grid-row: 1; }
  .masthead-side-left .menu-button:nth-child(2) { grid-column: 3; grid-row: 1; }
  .masthead-main .brand { grid-column: 2; grid-row: 1; min-width: 0; }
  .masthead-side-right { display: none; }
  .menu-button { width: 42px; height: 42px; padding: 0; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--bg-soft); color: var(--nav); }
  .menu-button svg { width: 20px; height: 20px; }
  .menu-bars { gap: 4px; }
  .menu-bars span { width: 19px; }
  .brand-name { font-size: clamp(24px,8vw,31px); }
  .brand-sub { max-width: 190px; font-size: 7px; letter-spacing: .17em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ghost-button, .nav-search, .primary-nav { display: none; }
  .ticker { height: 40px; }
  .ticker-label { padding-inline: 11px; font-size: 9px; }
  .ticker-list li { padding-inline: 12px; font-size: 12px; }
  .ticker-nav { display: none; }
  .drawer { background: rgba(7,16,29,.72); backdrop-filter: blur(3px); }
  .drawer-panel { width: min(360px,91vw); padding: 0; gap: 0; background: #f7f8fa; box-shadow: 20px 0 55px rgba(4,12,24,.28); }
  .drawer-head { padding: 19px 18px 17px; background: var(--nav); border-bottom: 3px solid var(--hot); }
  .drawer-head .brand-name { color: #fff; font-size: 24px; }
  .drawer-head .brand-sub { color: rgba(255,255,255,.58); }
  .drawer-head .icon-button { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.09); color: #fff; border-radius: 50%; }
  .drawer-nav { padding: 12px 14px; overflow-y: auto; }
  .drawer-nav a { position: relative; padding: 13px 38px 13px 13px; border-bottom: 1px solid #e2e6eb; border-radius: 7px; font-size: 13px; letter-spacing: .035em; }
  .drawer-nav a::after { content: '›'; position: absolute; right: 14px; top: 50%; transform: translateY(-52%); color: var(--accent); font-size: 21px; font-weight: 400; }
  .drawer-nav a:active { background: #fff; color: var(--accent); }
  .drawer-foot { margin-top: auto; padding: 17px 18px calc(17px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
  .card-wide { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .block-grid { grid-template-columns: minmax(0, 1fr); }
  .column-main > .section:nth-of-type(even) .block-lead .card-wide { direction: ltr; }
  .article-body { grid-template-columns: minmax(0, 1fr); }
  .share-rail { position: static; display: flex; flex-wrap: wrap; justify-content: flex-start; padding-bottom: 16px; }
  .share-rail span { writing-mode: horizontal-tb; margin: 0 6px 0 0; align-self: center; }
  .prose { font-size: 17px; }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .post-nav-item.next { text-align: left; }
  .comment-form .field-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .author-box { grid-template-columns: minmax(0, 1fr); }
  .comment-list.depth-1, .comment-list.depth-2 { margin-left: 10px; padding-left: 12px; }
  .footer-top { justify-content: flex-start; }
}

@media (max-width: 480px) { .brand-sub { display: none; } }

@media (min-width: 761px) { .menu-toggle { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* Μήνυμα εγκατάστασης εφαρμογής --------------------------------------------- */
.install-prompt {
  position: fixed; left: 50%; bottom: 16px; z-index: 450;
  width: min(560px, calc(100vw - 24px));
  transform: translate(-50%, 130%);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  background: var(--dark); color: #fff; padding: 14px 16px;
  border-radius: var(--radius); box-shadow: 0 16px 40px rgba(11, 21, 36, .32);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  opacity: 0;
}
.install-prompt.visible { transform: translate(-50%, 0); opacity: 1; }
.install-icon { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.install-text { display: grid; gap: 3px; min-width: 0; }
.install-text strong { font-size: 14.5px; font-weight: 700; }
.install-text span { font-size: 12.5px; color: rgba(255, 255, 255, .66); line-height: 1.4; }
.install-text b { color: #fff; font-weight: 600; }
.install-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.install-yes {
  background: var(--accent-2, #1E5FA8); border: 0; color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm, 4px); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; white-space: nowrap;
}
.install-yes:hover { filter: brightness(1.12); }
.install-no {
  background: transparent; border: 0; color: rgba(255, 255, 255, .6);
  font-size: 12px; padding: 8px 6px; white-space: nowrap;
}
.install-no:hover { color: #fff; }

@media (max-width: 560px) {
  .install-prompt { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .install-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

/* Μεγέθυνση κεντρικής φωτογραφίας άρθρου. */
.article-cover-trigger { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; }
.article-cover-trigger > img { display: block; width: 100%; }
.article-cover-zoom { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(8,18,32,.8); color: #fff; font-size: 25px; box-shadow: 0 4px 18px rgba(0,0,0,.25); }
.image-lightbox[hidden] { display: none; }
.image-lightbox { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 56px 24px 28px; background: rgba(3,8,16,.94); backdrop-filter: blur(5px); }
.image-lightbox img { display: block; max-width: min(94vw, 1500px); max-height: calc(100vh - 110px); width: auto; height: auto; object-fit: contain; box-shadow: 0 18px 70px rgba(0,0,0,.5); }
.image-lightbox p { position: absolute; left: 50%; bottom: 13px; translate: -50% 0; margin: 0; max-width: 90vw; color: rgba(255,255,255,.85); font-size: 13px; text-align: center; }
.image-lightbox-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 18px; z-index: 1; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.3); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.image-lightbox-close:hover { background: #fff; color: #111; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 640px) {
  .image-lightbox { padding: 54px 10px 24px; }
  .article-cover-zoom { right: 10px; bottom: 10px; width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .install-prompt { transition: none; }
}

/* Slider κορυφής -----------------------------------------------------------
   Χτισμένος με scroll-snap: το σύρσιμο στο κινητό δουλεύει από τον browser,
   χωρίς βιβλιοθήκη 140 KB. Το JS προσθέτει μόνο αυτόματη κύλιση και βελάκια. */
.hero-slider { padding-block: clamp(18px, 2.4vw, 28px) 0; }
.slider-frame { position: relative; border: 1px solid var(--line); border-bottom: 0; }

.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.slider-track::-webkit-scrollbar { display: none; }

.slide { scroll-snap-align: start; position: relative; min-width: 0; }
.slide-media { display: block; position: relative; overflow: hidden; aspect-ratio: 21 / 9; background: var(--bg-soft); }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-fade {
  position: absolute; inset: 0;
  /* Πιο βαθιά σκίαση: σε φωτεινές φωτογραφίες ο τίτλος γινόταν δυσανάγνωστος. */
  background: linear-gradient(180deg, rgba(8,16,28,.10) 0%, rgba(8,16,28,.30) 38%,
                              rgba(8,16,28,.78) 72%, rgba(8,16,28,.96) 100%);
}
.slide-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 3vw, 40px); max-width: 860px; }
.slide-body h2 {
  font-size: clamp(22px, 3.2vw, 42px); line-height: 1.14; margin-bottom: 10px; color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.slide-body h2 a:hover { opacity: .88; }
.slide-body p {
  color: rgba(255, 255, 255, .84); font-size: 15px; margin-bottom: 10px; max-width: 62ch;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.slide-body .meta { color: rgba(255, 255, 255, .7); }
.slide-body .meta .sep { color: rgba(255, 255, 255, .4); }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .9); border: 0; color: var(--ink);
  font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s var(--ease), opacity .2s;
}
.slider-arrow:hover { background: #fff; }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }
.slider-arrow[disabled] { opacity: .3; cursor: default; }

.slider-dots { position: absolute; right: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 40px); z-index: 3; display: flex; gap: 7px; }
.slider-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .4); cursor: pointer; transition: background .2s var(--ease), width .2s var(--ease);
}
.slider-dots button.active { background: #fff; width: 24px; border-radius: 5px; }

@media (max-width: 760px) {
  .slide-media { aspect-ratio: 4 / 3; }
  .slider-arrow { display: none; }
  .slider-dots { left: clamp(18px, 3vw, 40px); right: auto; bottom: 14px; }
  .slide-body p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .slider-track { scroll-behavior: auto; }
}

/* Αγγελίες εργασίας μέσα στο site ------------------------------------------ */
.primary-nav li.nav-cta { margin-left: auto; }
.primary-nav li.nav-cta ~ li.nav-cta { margin-left: 8px; }
.primary-nav li.nav-cta > a {
  display: flex; align-items: center; gap: 7px;
  background: var(--accent-2); color: #fff; padding: 7px 15px; margin-block: 4px;
  border-radius: 4px; transition: background .2s var(--ease);
}
.primary-nav li.nav-cta > a::after { display: none; }
.primary-nav li.nav-cta > a:hover { background: #fff; color: var(--nav); }
.primary-nav li.nav-cta svg { width: 15px; height: 15px; flex: none; }

.jobs-band { border-top: 1px solid var(--line); }
.jobs-band-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 3vw, 44px); align-items: center;
  background: var(--bg-tint); padding: clamp(22px, 3vw, 34px);
}
.jobs-band-copy h2 { font-size: clamp(21px, 2.6vw, 30px); margin: 9px 0 10px; }
.jobs-band-copy p { color: var(--text); font-size: 14.5px; max-width: 46ch; }
.jobs-band-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.job-counts { display: flex; gap: 22px; margin-top: 14px; }
.job-counts span { font-size: 12px; color: var(--muted); display: grid; }
.job-counts b { font-family: var(--serif); font-size: 24px; color: var(--ink); line-height: 1.1; }

.job-list { display: grid; gap: 2px; }
.job-item {
  display: grid; gap: 3px; padding: 12px 14px; background: #fff;
  border-left: 3px solid var(--accent); transition: transform .18s var(--ease);
}
.job-item:hover { transform: translateX(3px); }
.job-title { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.job-meta { font-size: 12px; color: var(--muted); }
.job-meta i { font-style: normal; margin-inline: 6px; color: var(--line-2); }
.job-empty { padding: 18px; background: #fff; border-left: 3px solid var(--line-2); font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.widget-jobs { background: var(--bg-tint); border-color: transparent; padding: 20px; }
.widget-jobs .job-counts { margin: 0 0 14px; gap: 18px; }
.widget-jobs .job-counts b { font-size: 21px; }
.widget-jobs .button { width: 100%; margin-top: 14px; }

@media (max-width: 900px) {
  .jobs-band-inner { grid-template-columns: minmax(0, 1fr); }
  .primary-nav li.nav-cta { margin-left: 0; }
}

/* Τίτλοι και περιλήψεις σπάνε πάντα μέσα στην κάρτα τους, ακόμη και όταν
   μια λέξη (ή ένα εισαγωγικό κολλημένο σε λέξη) δεν έχει σημείο σπασίματος. */
.card-body h2, .card-body h3, .card-body h4, .card-body p,
.slide-body h2, .slide-body p, .mega-title, .list-item h4 { overflow-wrap: anywhere; }

/* ---------- Υπο-slides: οι υπόλοιπες ιστορίες του slider σαν κάρτες από κάτω ---------- */
.slider-thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-top: 0;
}
.slider-thumb {
  position: relative; display: flex; align-items: stretch; gap: 10px; text-align: left;
  background: #fff; border: 0; padding: 13px 14px; cursor: pointer; min-width: 0;
  font: inherit; color: inherit; transition: background .18s var(--ease), box-shadow .18s var(--ease);
}
.slider-thumb:hover { background: var(--bg-soft); }
/* Η ενεργή κάρτα «κουμπώνει» με το slide από πάνω: γεμάτο πλαίσιο σε χρώμα τόνου. */
.slider-thumb.active {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--accent-2), 0 -1px 0 var(--accent-2);
}

/* Λεπτή γραμμή πάνω από την ενεργή κάρτα που «γεμίζει» όσο τρέχει ο χρόνος. */
.slider-thumb-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: transparent; overflow: hidden; }
.slider-thumb.active .slider-thumb-bar { background: rgba(0, 0, 0, .07); }
.slider-thumb-bar::after {
  content: ''; position: absolute; inset: 0; background: var(--accent-2);
  transform: scaleX(0); transform-origin: left;
}
.slider-thumb.active .slider-thumb-bar::after { animation: thumb-fill var(--slide-delay, 6000ms) linear forwards; }
.slider-thumbs.paused .slider-thumb.active .slider-thumb-bar::after { animation-play-state: paused; }
@keyframes thumb-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.slider-thumb-media { flex: 0 0 64px; height: 46px; border-radius: 4px; overflow: hidden; background: var(--bg-soft); }
.slider-thumb-media img { width: 100%; height: 100%; object-fit: cover; }
.slider-thumb-text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.slider-thumb-kicker {
  font-size: 10px; font-weight: 700; letter-spacing: .07em; color: var(--accent-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.slider-thumb-title {
  font-size: 13px; line-height: 1.35; font-weight: 600; color: var(--ink); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.slider-thumb.active .slider-thumb-title { color: var(--nav); }

@media (max-width: 1080px) {
  .slider-thumbs {
    grid-auto-columns: minmax(212px, 1fr); overflow-x: auto;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .slider-thumbs::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
  .slider-thumbs { grid-auto-columns: minmax(180px, 1fr); }
  .slider-thumb { padding: 10px 12px; gap: 8px; }
  .slider-thumb-media { flex-basis: 52px; height: 40px; }
  .slider-thumb-title { font-size: 12.5px; }
}

/* ---------- Ενότητες πλήρους πλάτους ----------
   Η δεξιά στήλη τελειώνει στα ~1.900px ενώ η αριστερή συνέχιζε για ~14.000px,
   οπότε από τις κατηγορίες και κάτω η σελίδα ανοίγει σε όλο το πλάτος και
   κάθε ενότητα δείχνει μία κύρια είδηση, τέσσερις κάρτες και τρεις τίτλους. */
.wide-sections { padding-bottom: 66px; }
.wide-sections > .section:first-child { border-top: 1px solid var(--line); }
.wide-sections .block-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wide-sections .block-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wide-sections .grid-3 { grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }

/* Σε τετράδα οι περιλήψεις κάνουν τις κάρτες άνισες — τις κόβουμε στις 3 σειρές
   και στοιχίζουμε τα μετα-στοιχεία στο κάτω μέρος κάθε κάρτας. */
.wide-sections .block-grid .card { display: flex; flex-direction: column; }
.wide-sections .block-grid .card-body { flex: 1; display: flex; flex-direction: column; }
.wide-sections .block-grid .card-body p {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.wide-sections .block-grid .card-body .meta { margin-top: auto; }

@media (max-width: 1080px) {
  .wide-sections .block-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wide-sections .block-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .wide-sections .block-grid { grid-template-columns: minmax(0, 1fr); }
  /* Στο κινητό όλα μπαίνουν σε μία στήλη· κρατάμε λιγότερα ανά ενότητα ώστε
     η αρχική να μη γίνει ατέλειωτη. */
  .wide-sections .block-grid > .card:nth-child(n+3),
  .wide-sections .block-list > .card:nth-child(n+3) { display: none; }
}

/* ---------- Πρόσκληση εγγραφής στο Telegram ---------- */
.tg-pop {
  position: fixed; inset: auto 0 0 auto; z-index: 180;
  padding: 0 clamp(14px, 3vw, 28px) clamp(14px, 3vw, 28px) 0;
}
.tg-pop[hidden] { display: none; }
.tg-pop-card {
  position: relative; width: min(340px, calc(100vw - 28px));
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 22px 18px; text-align: center;
  box-shadow: 0 18px 48px rgba(12, 27, 46, .22);
  animation: tg-in .38s cubic-bezier(.2, .8, .3, 1) both;
}
@keyframes tg-in { from { opacity: 0; transform: translateY(22px) scale(.97); } }
.tg-pop.closing .tg-pop-card { animation: tg-out .22s ease forwards; }
@keyframes tg-out { to { opacity: 0; transform: translateY(14px) scale(.98); } }

.tg-pop-close {
  position: absolute; top: 8px; right: 10px; width: 30px; height: 30px;
  background: none; border: 0; font-size: 24px; line-height: 1; color: var(--muted);
  cursor: pointer; border-radius: 8px;
}
.tg-pop-close:hover { background: var(--bg-soft); color: var(--ink); }

.tg-pop-icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 12px;
  border-radius: 50%; background: linear-gradient(135deg, #229ED9, #2AABEE); color: #fff;
  box-shadow: 0 6px 18px rgba(34, 158, 217, .38);
}
.tg-pop-icon svg { width: 28px; height: 28px; margin-right: 2px; }
.tg-pop-kicker { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; color: #229ED9; margin-bottom: 6px; }
.tg-pop-card h3 { font-family: var(--serif); font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.tg-pop-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0 0 14px; }
.tg-pop-count {
  font-size: 12px; font-weight: 600; color: var(--ink); background: var(--bg-soft);
  border-radius: 20px; padding: 5px 12px; display: inline-block; margin-bottom: 14px;
}
.tg-pop-join {
  display: block; background: #229ED9; color: #fff; font-family: var(--sans);
  font-size: 12.5px; font-weight: 800; letter-spacing: .08em; padding: 13px 18px;
  border-radius: 9px; transition: background .16s var(--ease), transform .1s;
}
.tg-pop-join:hover { background: #1c88bb; color: #fff; }
.tg-pop-join:active { transform: translateY(1px); }
.tg-pop-later {
  display: block; width: 100%; margin-top: 8px; background: none; border: 0;
  font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; padding: 8px;
}
.tg-pop-later:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 520px) {
  .tg-pop { inset: auto 0 0 0; padding: 0 10px 10px; }
  .tg-pop-card { width: 100%; padding: 18px 18px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-pop-card, .tg-pop.closing .tg-pop-card { animation: none; }
}

/* Κεντραρισμένο λογότυπο — προσαρμογές για μικρές οθόνες */
@media (max-width: 900px) {
  /* Κρατάμε τις ίσες ζώνες ώστε το λογότυπο να μένει στο κέντρο· απλώς
     μικραίνουμε ό,τι είναι εκατέρωθεν. */
  .masthead-main .wrap { gap: 8px; }
  .masthead-side-right .masthead-stat { display: none; }
  .menu-button .menu-word { display: none; }
  .menu-button { padding: 9px; }
}
@media (max-width: 520px) {
  .brand { justify-items: center; }
  .masthead-side-right .ghost-button { margin-left: 0; }
}

/* Θεματολογία στην πλαϊνή στήλη — ανέβηκε ψηλά, δείχνει πραγματικές κατηγορίες. */
.topic-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.topic-cloud a {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-left: 3px solid var(--cat, var(--accent));
  padding: 6px 11px; font-family: var(--sans); font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; color: var(--ink); background: #fff;
  transition: border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease);
}
.topic-cloud a:hover { background: var(--cat, var(--accent)); border-color: var(--cat, var(--accent)); color: #fff; }
.topic-cloud small { font-size: 10px; font-weight: 600; color: var(--muted); }
.topic-cloud a:hover small { color: rgba(255, 255, 255, .75); }

@media (max-width: 760px) {
  .footer-top { flex-direction: column; align-items: stretch; }
  .footer-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 420px) {
  .footer-categories { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Ζωντανή μετάδοση (business) ---------- */
.live-pill.on-air { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.live-pill.on-air .live-dot { background: #fff; }

.page-live main { background: var(--bg-soft, #f4f6f9); }
.live-stage { padding-block: clamp(20px, 3vw, 32px) clamp(30px, 4vw, 52px); }
.live-stage-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(20px, 2.6vw, 34px); align-items: start; }
.live-player-col { min-width: 0; }

/* Ταινία «ΖΩΝΤΑΝΑ ΤΩΡΑ» πάνω από τον player */
.live-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--accent-2); }
.live-tag .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); animation: live-blink 1.5s infinite; }
.live-tag.off { color: var(--muted); }
.live-tag.off .live-dot { background: var(--muted); animation: none; }

.live-player {
  position: relative; aspect-ratio: 16 / 9; background: #0a0f16 var(--poster, none) center/cover no-repeat;
  overflow: hidden; border-radius: 10px; box-shadow: 0 16px 40px rgba(16, 32, 55, .18);
}
.live-player video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.live-player:fullscreen { border-radius: 0; aspect-ratio: auto; height: 100%; }

.live-overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 15px;
  background: linear-gradient(180deg, rgba(10, 15, 22, .25), rgba(10, 15, 22, .6)); cursor: pointer; }
.live-overlay[hidden] { display: none; }
.live-bigplay { width: 82px; height: 82px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent-2); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .18s var(--ease); }
.live-bigplay svg { width: 36px; height: 36px; margin-left: 4px; }
.live-overlay:hover .live-bigplay { transform: scale(1.06); }
.live-overlay-text { font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .16em; color: rgba(255, 255, 255, .85); }

.live-spinner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.live-spinner[hidden] { display: none; }
.live-spinner { flex-direction: column; gap: 14px; }
.live-spinner span { width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .22); border-top-color: #fff; animation: live-spin .8s linear infinite; }
.live-spinner em { font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .06em;
  color: rgba(255, 255, 255, .75); }
@keyframes live-spin { to { transform: rotate(360deg); } }

.live-error { position: absolute; inset: auto 0 76px 0; text-align: center; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.live-error[hidden] { display: none; }
.live-error strong { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .08em; }
.live-error p { font-size: 12.5px; color: rgba(255, 255, 255, .7); margin: 4px 0 0; }

.live-controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px;
  padding: 26px 14px 12px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .8));
  opacity: 1; transition: opacity .25s var(--ease); }
.live-player.idle .live-controls { opacity: 0; pointer-events: none; }
.live-controls button { background: none; border: 0; color: #fff; cursor: pointer; padding: 7px; border-radius: 6px; display: grid; place-items: center; transition: background .15s; }
.live-controls button:hover { background: rgba(255, 255, 255, .16); }
.live-controls svg { width: 21px; height: 21px; }
.live-controls svg[hidden] { display: none; }
.live-spacer { flex: 1; }
.live-volume { width: 84px; accent-color: var(--accent-2); cursor: pointer; }
.live-badge { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; background: var(--accent-2); color: #fff;
  font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 4px 9px; border-radius: 3px; }
.live-badge .live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: live-blink 1.6s infinite; }
@keyframes live-blink { 50% { opacity: .25; } }

.live-quality { position: relative; }
.live-quality > button { font-family: var(--sans); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; padding: 7px 10px; }
.live-quality-menu { position: absolute; right: 0; bottom: calc(100% + 8px); background: rgba(10, 15, 22, .97);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; padding: 5px; min-width: 128px; display: grid; gap: 2px; }
.live-quality-menu[hidden] { display: none; }
.live-quality-menu button { justify-content: flex-start; width: 100%; font-size: 12.5px; padding: 8px 11px; }
.live-quality-menu button.active { background: var(--accent-2); }

.live-offline { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px;
  text-align: center; padding: 24px; background: linear-gradient(180deg, rgba(15, 32, 55, .82), rgba(10, 15, 22, .94)); }
.live-offline-badge { font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: .16em; color: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .3); padding: 4px 11px; border-radius: 20px; }
.live-offline h2 { color: #fff; font-size: clamp(20px, 3vw, 28px); }
.live-offline p { color: rgba(255, 255, 255, .66); font-size: 14px; max-width: 46ch; margin: 0; }
.live-offline .button { margin-top: 8px; }

/* Λευκή business κάρτα κάτω από τον player με τίτλο & στοιχεία */
.live-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; margin-top: 14px; box-shadow: var(--card-shadow, 0 1px 3px rgba(16,32,55,.06)); }
.live-eyebrow { font-family: var(--sans); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: var(--accent-2); }
.live-meta h1 { color: var(--ink); font-size: clamp(20px, 3vw, 28px); margin: 5px 0 5px; }
.live-meta p { color: var(--muted); font-size: 14px; margin: 0; }
.live-share { display: flex; gap: 7px; }
.live-share a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink);
  font-weight: 700; font-size: 13px; border-radius: 6px; transition: all .18s var(--ease); }
.live-share a:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }

/* Πρόγραμμα ημέρας ως λευκή κάρτα */
.live-schedule { margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; box-shadow: var(--card-shadow, 0 1px 3px rgba(16,32,55,.06)); }
.live-schedule-title { font-family: var(--sans); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.live-schedule ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 4px 24px; }
.live-schedule li { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft, #eef1f5); }
.live-schedule span { font-family: var(--serif); font-size: 16px; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.live-schedule b { font-size: 13.5px; font-weight: 600; color: var(--ink); }

/* Πλαϊνή στήλη — λευκά widget, ίδια με το υπόλοιπο site */
.live-side { display: grid; gap: 18px; position: sticky; top: 74px; }

@media (max-width: 1080px) {
  .live-stage-inner { grid-template-columns: minmax(0, 1fr); }
  .live-side { position: static; }
}
@media (max-width: 640px) {
  .live-controls { gap: 4px; padding: 22px 8px 8px; }
  .live-volume { display: none; }
  .live-bigplay { width: 64px; height: 64px; }
  .live-meta { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Επιλογέας καναλιών κάτω από τον player */
.live-channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin-top: 12px; }
.live-channel {
  text-align: left; background: #fff; border: 1px solid var(--line);
  color: var(--ink); padding: 11px 14px; border-radius: 8px; cursor: pointer;
  display: grid; gap: 3px; transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.live-channel:hover { border-color: var(--accent-2); box-shadow: 0 3px 10px rgba(16, 32, 55, .08); }
.live-channel.active { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.live-channel-name { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.live-channel small { font-size: 11.5px; color: var(--muted); }
.live-channel.active small { color: rgba(255, 255, 255, .8); }

/* Πίνακας καναλιών στο admin */
.live-table .url-cell { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.live-table tr.is-default > td { background: rgba(200, 30, 45, .05); }
.live-table .edit-row > td { background: var(--bg-soft, #f7f8fa); padding-top: 6px; padding-bottom: 14px; }
.channel-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 14px; align-items: end; }
.channel-form .short { max-width: 90px; }
.inline-form { display: inline-flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pill { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; padding: 2px 8px; border-radius: 3px; }
.pill-live { background: var(--accent-2); color: #fff; margin-left: 8px; }
.pill-on { background: #dcfce7; color: #166534; }
.pill-off { background: #e5e7eb; color: #4b5563; }
.empty-note { color: var(--muted); font-size: 13.5px; padding: 18px; }
.panel-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1080px) { .panel-grid { grid-template-columns: minmax(0, 1fr); } }

/* Σύνδεσμος LIVE στο κύριο μενού — μινιμαλιστικό: κόκκινο κείμενο + κουκκίδα. */
.nav-live { display: flex; align-items: center; margin-right: 4px; }
.nav-live > a {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans); font-weight: 800; letter-spacing: .08em; font-size: 12.5px;
  color: #e0202e; padding: 6px 4px;
}
.nav-live > a::after { display: none; }
.nav-live > a:hover { color: #b3111f; }
.nav-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #e0202e; flex: none; }
/* Στον αέρα: η κουκκίδα παλλεται· εκτός αέρα μένει σβηστή/γκρι. */
.nav-live.on-air .nav-live-dot { animation: nav-live-pulse 1.6s ease-out infinite; }
@keyframes nav-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224, 32, 46, .6); }
  70%  { box-shadow: 0 0 0 6px rgba(224, 32, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 32, 46, 0); }
}
.nav-live:not(.on-air) > a { color: #9aa7b5; }
.nav-live:not(.on-air) .nav-live-dot { background: #9aa7b5; }
@media (prefers-reduced-motion: reduce) { .nav-live .nav-live-dot { animation: none; } }

/* Άμεση επικοινωνία μέσω Viber. */
.viber-contact {
  position: fixed; left: 18px; bottom: 18px; z-index: 9995;
  display: grid; place-items: center; width: 54px; height: 54px;
  padding: 5px; border: 1px solid rgba(115,96,242,.22); border-radius: 16px;
  background: rgba(255,255,255,.97); color: #172033 !important; text-decoration: none;
  box-shadow: 0 12px 36px rgba(20,27,45,.16), 0 2px 8px rgba(20,27,45,.08);
  backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.viber-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: 12px; background: #7360f2; color: #fff; }
.viber-icon svg { width: 27px; height: 27px; }
.viber-copy { display: grid; gap: 2px; line-height: 1.1; }
.viber-copy small { color: #7360f2; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.viber-copy strong { color: #172033; font-size: 12px; font-weight: 750; white-space: nowrap; }
.viber-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.viber-contact:hover { transform: translateY(-2px); border-color: rgba(115,96,242,.45); box-shadow: 0 16px 42px rgba(47,38,112,.22); }
.viber-contact:active { transform: translateY(0); }
@media (max-width: 560px) {
  .viber-contact { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); min-height: 0; width: 52px; height: 52px; padding: 4px; border-radius: 15px; justify-content: center; }
  .viber-icon { width: 42px; height: 42px; border-radius: 12px; }
  .viber-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
