/* Θεσσαλονίκη Τώρα: newsroom layout, wide page with a reading column for articles */
:root {
  --ink: #121417;
  --ink-2: #3D4652;
  --muted: #5B6470;
  --line: #D9DCE1;
  --line-2: #C4C8CF;
  --paper: #FFFFFF;
  --soft: #F1F3F5;
  --blue: #0B5FA5;
  --blue-soft: #EEF4FA;
  --ours: #C2410C;
  --ours-soft: #FDEEE4;
  --ours-ink: #9A3412;
  --warm: #F28B4B;
  --live: #D92D20;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Top bar and masthead */
.topbar { background: var(--ink); color: #E8EAED; font-size: 13px; }
.topbar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 10px; }
.topbar-in span:first-child { text-transform: capitalize; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 20px; }
.logo { font-family: var(--serif); font-size: clamp(28px, 5vw, 40px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.1; }
.logo:hover { color: var(--ink); }
.logo-accent { color: var(--blue); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 600; }
.nav a:not(.btn) { padding-block: 10px; }
.nav-ours { color: var(--ours); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 0; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { color: #FFFFFF; background: #094d86; }
.btn-warm { background: var(--warm); color: var(--ink); font-weight: 700; }

main.home { display: flex; flex-direction: column; gap: 56px; padding-block: 32px 64px; }

/* Lead + live feed */
.lead-row { display: flex; flex-wrap: wrap; gap: 40px; }
.lead { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lead img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.lead h1 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.lead p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.meta { font-size: 14px; color: var(--muted); }
.kicker { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ours); }
.badge { align-self: flex-start; padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--ours-soft); color: var(--ours-ink); }
.badge-dark { background: var(--ink); color: #FFFFFF; }

.live { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.live-head h2 { margin: 0; font-size: 20px; display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 5px; background: var(--live); display: inline-block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.feed { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-height: 640px; overflow-y: auto; }
.feed li { border-bottom: 1px solid var(--line); }
.feed a { display: flex; flex-direction: column; gap: 6px; padding-block: 13px; }
.feed .t { font-size: 16px; font-weight: 600; line-height: 1.35; }
.feed .m { font-size: 13px; color: var(--muted); }
.feed .tm { font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.empty { padding: 16px; border-radius: 8px; background: var(--soft); color: var(--ink-2); font-size: 15px; }

/* Section heads */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; padding-top: 14px; border-top: 3px solid var(--ink); }
.sec-head.ours { border-top-color: var(--ours); }
.sec-head h2 { margin: 0; font-family: var(--serif); font-size: 30px; }
.sec-head p { margin: 0; flex-basis: 100%; font-size: 15px; color: var(--muted); }
section { display: flex; flex-direction: column; gap: 24px; }

/* Our articles */
.wide-card { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.wide-card img { flex: 1 1 420px; min-width: 0; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.wide-card .txt { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.wide-card .h { font-family: var(--serif); font-size: clamp(24px, 3vw, 30px); line-height: 1.2; font-weight: 700; }
.wide-card .d { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px; }
.card { display: flex; flex-direction: column; gap: 10px; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.card .h { font-family: var(--serif); font-size: 22px; line-height: 1.25; font-weight: 700; }

/* Media columns */
.media-col { display: flex; flex-direction: column; }
.media-col h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); }
.media-col a { padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; line-height: 1.4; }
.media-col a span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Newsletter */
.newsletter { background: var(--ink); color: #FFFFFF; border-radius: 14px; padding: clamp(24px, 4vw, 40px); display: flex; flex-flow: row wrap; align-items: center; justify-content: space-between; gap: 24px; }
.newsletter-text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 8px; }
.newsletter h2 { margin: 0; font-family: var(--serif); font-size: 28px; }
.newsletter p { margin: 0; color: #C9CDD3; }
.newsletter-form { flex: 1 1 340px; display: flex; flex-wrap: wrap; gap: 12px; }
.newsletter-form input[type="email"] { flex: 1 1 220px; min-height: 48px; padding: 0 16px; border-radius: 8px; border: 0; font: inherit; font-size: 16px; color: var(--ink); background: #FFFFFF; }
.newsletter-form .btn { min-height: 48px; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px; font-size: 14px; color: var(--muted); }

/* Article page */
main.article-wrap { display: flex; flex-wrap: wrap; gap: 56px; padding-block: 40px 72px; }
article.story { flex: 999 1 640px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 22px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); }
.story h1 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4.5vw, 44px); line-height: 1.15; }
.story .sub { margin: 0; font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-block: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 22px; background: var(--blue); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 18px; }
.byline b { display: block; font-size: 15px; }
.byline span { font-size: 13px; color: var(--muted); }
figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
figcaption { font-size: 13px; color: var(--muted); }
.body { font-family: var(--serif); font-size: 19px; line-height: 1.75; color: #1F252C; }
.body > * { margin: 0 0 20px; }
.body h2 { margin-top: 32px; font-size: 28px; line-height: 1.25; color: var(--ink); }
.body h3 { margin-top: 24px; font-size: 22px; color: var(--ink); }
.body a { color: var(--blue); text-decoration: underline; }
.body img { border-radius: 8px; height: auto; }
.body blockquote { margin: 8px 0 20px; padding: 4px 0 4px 24px; border-left: 4px solid var(--ours); font-size: 23px; font-style: italic; color: var(--ink); }
.body ul, .body ol { padding-left: 24px; }
.body li { margin-bottom: 8px; }
.body .note { font-family: var(--sans); font-size: 15px; color: var(--muted); font-style: italic; }
.box { padding: 20px 24px; border-radius: 10px; font-family: var(--sans); font-size: 16px; line-height: 1.6; background: var(--blue-soft); }
.box strong:first-child { display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; font-family: var(--sans); }
.stats div { padding: 18px; border-radius: 10px; background: var(--soft); }
.stats b { display: block; font-size: 28px; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: var(--ink-2); line-height: 1.4; display: block; }

aside.side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
aside.side h2 { margin: 0 0 6px; font-size: 18px; }
.side-list { display: flex; flex-direction: column; }
.side-list a { padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; line-height: 1.4; }
.side-list .tm { color: var(--blue); font-weight: 700; margin-right: 6px; }
.side-list span.src { display: block; font-size: 13px; color: var(--muted); }
.mini { display: flex; gap: 14px; align-items: flex-start; }
.mini img { flex: 0 0 88px; width: 88px; height: 66px; object-fit: cover; border-radius: 8px; }
.mini span { font-family: var(--serif); font-size: 17px; font-weight: 500; line-height: 1.35; }
.side .newsletter { flex-direction: column; align-items: stretch; padding: 24px; }
.side .newsletter h2 { font-size: 22px; }
.side .newsletter-form, .side .newsletter-text { flex-basis: auto; }

.simple { padding-block: 64px; display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.simple h1 { margin: 0; font-family: var(--serif); font-size: 36px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
