/* newday.mk: black and white, serif news inside a sans interface. Only banners carry color. */

/* ---------- Fonts (self-hosted, SIL OFL 1.1) ---------- */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/source-serif-4-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/source-serif-4-latin-400-normal.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: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/source-serif-4-cyrillic-400-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/source-serif-4-latin-400-italic.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: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/source-serif-4-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/source-serif-4-latin-600-normal.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: "Source Serif 4"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/source-serif-4-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/source-serif-4-latin-700-normal.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: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.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: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-latin-500-normal.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: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-latin-600-normal.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: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/inter-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/inter-latin-700-normal.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: "Inter"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/inter-cyrillic-800-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/inter-latin-800-normal.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; }

/* ---------- Tokens ---------- */
:root {
  --ink: #111111;
  --paper: #ffffff;
  --text: #1a1a1a;
  --soft: #333333;
  --muted: #555555;
  --meta: #6e6e6e;
  --faint: #8a8a8a;
  --num: #c4c4c4;
  --rule: #e3e3e3;
  --rule-light: #eeeeee;
  --chip: #cfcfcf;
  --ad: #e20074;
  --ad-hover: #b8005e;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 32px;
  --aside: 300px;
  --gap: 48px;
  --max: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, .headline { text-wrap: balance; overflow-wrap: anywhere; }
.visually-hidden {
  position: absolute; 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: 8px; z-index: 20; background: var(--ink); color: var(--paper); padding: 8px 12px; font: 600 14px var(--sans); }
.skip-link:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--ink); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.logo { font: 800 24px/1 var(--sans); letter-spacing: -0.04em; color: var(--ink); white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo span { color: var(--faint); font-weight: 600; }
.nav { display: flex; gap: 22px; font: 500 14px/1 var(--sans); color: var(--soft); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); padding-bottom: 4px; }
.header-date { margin-left: auto; font: 500 13px/1 var(--sans); color: var(--meta); white-space: nowrap; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon { width: 20px; height: 14px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; }
.menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid var(--ink); }
.menu[open] .menu-icon { border-color: transparent; }
.menu[open] .menu-icon::after { top: 4px; border-color: var(--ink); }
.menu nav { position: absolute; right: 0; top: 48px; z-index: 10; background: var(--paper); border: 1px solid var(--ink); min-width: 200px; padding: 8px 0; }
.menu nav a { display: block; padding: 12px 18px; font: 600 16px/1.2 var(--sans); }

/* ---------- Markets strip ---------- */
.ticker { border-bottom: 1px solid var(--rule); }
.ticker .wrap { display: flex; gap: 24px; min-height: 34px; align-items: center; font: 500 12px/1 var(--sans); color: var(--muted); white-space: nowrap; overflow: hidden; }
.ticker b { color: var(--ink); font-weight: 700; }
.ticker .ticker-src { margin-left: auto; color: var(--faint); }

/* ---------- Page grid ---------- */
.page { display: grid; grid-template-columns: minmax(0, 1fr) var(--aside); gap: var(--gap); padding-top: 32px; padding-bottom: 56px; }
.page > main { min-width: 0; }
.aside { min-width: 0; }
/* Home and section pages: the banner stays in view while the list scrolls, on screens tall enough to show it whole */
@media (min-height: 720px) { .aside-sticky { position: sticky; top: 24px; } }

/* ---------- Small type ---------- */
.kick { font: 700 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.eyebrow { font: 600 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.meta { font: 500 12px/1.3 var(--sans); color: var(--meta); margin-top: 8px; }
.src {
  display: inline-block; font: 600 10.5px/1 var(--sans); color: var(--soft);
  border: 1px solid var(--chip); border-radius: 3px; padding: 3px 6px; margin-left: 5px;
  white-space: nowrap; vertical-align: 2px;
}

/* ---------- Home: the edition ---------- */
.edition-head { padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.greeting { font: 700 40px/1.1 var(--serif); letter-spacing: -0.02em; margin: 12px 0 10px; }
.edition-sub { font: 500 14px/1.4 var(--sans); color: var(--muted); }
.edition-list > li { display: grid; grid-template-columns: 56px minmax(0, 1fr) 128px; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.edition-list .num { font: 800 28px/1 var(--sans); letter-spacing: -0.04em; color: var(--num); padding-top: 14px; }
.edition-list h2 { font: 700 21px/1.24 var(--serif); letter-spacing: -0.01em; }
.edition-list .summary { font: 400 15px/1.55 var(--serif); color: var(--soft); margin-top: 6px; }
.edition-list .thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--rule-light); }
.edition-list .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.edition-list > li.feed-banner { display: none; }
.edition-list > li.feed-banner .slot { margin: 0; }

/* ---------- Article ---------- */
.crumb { font: 600 11px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.crumb b { color: var(--ink); }
.headline { font: 700 40px/1.12 var(--serif); letter-spacing: -0.015em; margin: 12px 0; }
.deck { font: 400 19px/1.5 var(--serif); color: var(--soft); }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 12.5px/1.3 var(--sans); color: var(--meta); padding: 12px 0; margin: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.meta-row .checked { color: var(--ink); font-weight: 700; }
.story-figure { margin: 0 0 8px; }
.story-figure img { width: 100%; background: var(--rule-light); }
.story-figure figcaption { font: 500 12px/1.3 var(--sans); color: var(--faint); margin-top: 8px; }
.body p { font: 400 18px/1.7 var(--serif); color: var(--text); margin: 20px 0; }
.sides { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); margin: 28px 0; }
.sides > div { padding: 16px 18px; }
.sides > div + div { border-left: 1px solid var(--ink); }
.side-text { font: 400 16.5px/1.5 var(--serif); color: var(--text); margin-top: 4px; }
.sides .src { margin: 10px 0 0; }
.corrections { background: #f5f5f5; padding: 14px 16px; margin: 24px 0; }
.corrections p { font: 400 15px/1.55 var(--serif); }
.corrections b { font: 700 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.sources { border-top: 2px solid var(--ink); margin-top: 32px; padding-top: 14px; }
.sources h2 { font: 800 15px/1.2 var(--sans); letter-spacing: -0.01em; margin-bottom: 4px; }
.sources li { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule-light); font: 400 14px/1.4 var(--sans); color: var(--soft); }
.sources li b { color: var(--ink); font-weight: 700; }
.sources li a { overflow-wrap: anywhere; }
.sources li time { color: var(--faint); white-space: nowrap; font-size: 13px; }
.next { display: flex; align-items: center; gap: 16px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); margin-top: 32px; padding: 18px 0; }
.next:hover { text-decoration: none; }
.next:hover .next-title { text-decoration: underline; text-underline-offset: 3px; }
.next .num { font: 800 28px/1 var(--sans); color: var(--num); letter-spacing: -0.04em; }
.next .next-text { flex: 1; min-width: 0; }
.next small { display: block; font: 600 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.next .next-title { font: 700 19px/1.25 var(--serif); }
.next .arrow { font: 400 26px/1 var(--sans); }
.next-bar { display: none; }

/* ---------- Aside: this edition ---------- */
.in-edition { border-top: 2px solid var(--ink); padding-top: 12px; margin-top: 28px; }
.in-edition h2 { font: 700 19px/1.2 var(--serif); }
.in-edition .aside-sub { display: block; font: 500 12px/1.3 var(--sans); color: var(--meta); margin-top: 4px; }
.in-edition ol { margin-top: 8px; }
.in-edition li { border-bottom: 1px solid var(--rule-light); }
.in-edition li a { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 9px 0; font: 500 13.5px/1.35 var(--sans); color: var(--muted); }
.in-edition li i { font-style: normal; font-weight: 800; color: var(--num); }
.in-edition li[aria-current="true"] a { color: var(--ink); font-weight: 700; }
.in-edition li[aria-current="true"] i { color: var(--ink); }

/* ---------- Banners ---------- */
.slot { margin: 0 0 24px; }
.slot-label { font: 600 9.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); text-align: center; margin-bottom: 6px; }
.banner { display: block; width: 300px; max-width: 100%; margin: 0 auto; }
.banner img { width: 300px; height: 250px; }
.house {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px;
  width: 300px; max-width: 100%; height: 250px; margin: 0 auto; padding: 26px;
  background: var(--ad); color: #ffffff; font-family: var(--sans);
}
.house:hover { background: var(--ad-hover); text-decoration: none; }
.house-name { font: 800 27px/1 var(--sans); letter-spacing: -0.01em; }
.house-line { font: 500 15px/1.35 var(--sans); }
.house-cta { font: 700 13px/1 var(--sans); background: #ffffff; color: var(--ad); padding: 9px 14px; border-radius: 4px; }
.inline-slot { margin: 28px 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--ink); padding: 28px 0 40px; }
.site-footer .wrap { display: grid; gap: 14px; }
.footer-nav, .footer-pages { display: flex; flex-wrap: wrap; gap: 8px 20px; font: 500 13px/1.4 var(--sans); color: var(--soft); }
.footer-line { font: 400 12.5px/1.5 var(--sans); color: var(--faint); }

/* ---------- Drafts (local preview only) ---------- */
/* A strip above the header, never over a control */
.draft-ribbon { background: var(--ink); color: var(--paper); font: 800 11px/1 var(--sans); letter-spacing: 0.16em; padding: 6px 16px; text-align: center; }

/* ---------- Section, archive and static pages ---------- */
.edition-list.no-num > li { grid-template-columns: minmax(0, 1fr) 128px; }
.edition-list .empty { display: block; padding: 24px 0; font: 400 16px/1.5 var(--serif); color: var(--muted); }
.archive-list li { border-bottom: 1px solid var(--rule); }
.archive-list a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font: 600 17px/1.3 var(--serif); }
.archive-count { font: 500 13px/1.3 var(--sans); color: var(--meta); white-space: nowrap; }
.static-page .body p { max-width: 680px; }
.static-page .body a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tablet ---------- */
@media (max-width: 959px) {
  :root { --gutter: 24px; }
  .page { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .aside { display: none; }
  .edition-list > li.feed-banner { display: block; padding: 24px 0; }
}

/* ---------- Phone ---------- */
@media (max-width: 599px) {
  :root { --gutter: 16px; }
  .site-header .wrap { min-height: 56px; gap: 12px; }
  .logo { font-size: 21px; }
  .nav, .header-date { display: none; }
  .menu { display: block; }
  .ticker .wrap { gap: 16px; font-size: 11px; }
  .ticker .ticker-src { display: none; }
  .page { padding-top: 20px; }
  .greeting { font-size: 30px; }
  .edition-list > li { grid-template-columns: 34px minmax(0, 1fr) 72px; gap: 10px; padding: 16px 0; }
  .edition-list .num { font-size: 20px; padding-top: 2px; }
  .edition-list h2 { font-size: 18px; }
  .edition-list .summary { display: none; }
  .edition-list.no-num > li { grid-template-columns: minmax(0, 1fr) 72px; }
  .headline { font-size: 28px; }
  .deck { font-size: 17px; }
  .body p { font-size: 17.5px; line-height: 1.68; }
  .story-figure { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .story-figure figcaption { padding: 0 var(--gutter); }
  .sides { grid-template-columns: 1fr; }
  .sides > div + div { border-left: 0; border-top: 1px solid var(--ink); }
  .sources li { grid-template-columns: 1fr; gap: 2px; }
  .next { display: none; }
  .next-bar {
    display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    background: var(--paper); border-top: 2px solid var(--ink);
    padding: 10px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  }
  .next-bar:hover { text-decoration: none; }
  .next-bar .num { font: 800 20px/1 var(--sans); color: var(--num); }
  .next-bar .next-text { flex: 1; min-width: 0; }
  .next-bar small { display: block; font: 600 9.5px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
  .next-bar .next-title { font: 700 15px/1.25 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .next-bar .arrow { font: 400 22px/1 var(--sans); }
  .has-next-bar { padding-bottom: 96px; }
}

/* ---------- Horoscope ---------- */
/* The sky line: one shared sentence about the day, set apart in italic serif */
.horo-sky { font: italic 400 17px/1.45 var(--serif); color: var(--soft); }
.edition-head .horo-sky { margin-top: -2px; }

/* The sign illustration (Task 10); a light square until the images exist */
.horo-art { display: block; aspect-ratio: 1 / 1; background: var(--rule-light); overflow: hidden; }
.horo-art img { width: 100%; height: 100%; object-fit: cover; }

/* Ratings: five square marks, black for the score, light grey for the rest */
.marks { display: inline-flex; gap: 3px; }
.marks i { width: 8px; height: 8px; background: var(--rule); }
.marks i.on { background: var(--ink); }

/* ---------- /horoskop/: the twelve signs ---------- */
.horo-list > li { display: grid; grid-template-columns: 64px minmax(0, 1fr) 150px; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.horo-list .horo-art { width: 64px; }
.horo-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.horo-name h2, .horo-name h3 { font: 700 21px/1.2 var(--serif); letter-spacing: -0.01em; }
.horo-range { font: 500 12px/1.3 var(--sans); color: var(--meta); white-space: nowrap; }
.horo-list .summary { font: 400 15px/1.55 var(--serif); color: var(--soft); margin-top: 6px; }
.ratings { display: grid; gap: 8px; padding-top: 5px; }
.ratings > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ratings dt { font: 600 10.5px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ratings dd { margin: 0; line-height: 0; }
.horo-list.weekly > li { grid-template-columns: 64px minmax(0, 1fr); }
.horo-list > li.horo-banner { display: block; padding: 24px 0; }
.horo-list > li.horo-banner .slot { margin: 0; }
.horo-week-link { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--rule); padding: 18px 0; }
.horo-week-link:hover { text-decoration: none; }
.horo-week-link:hover .next-title { text-decoration: underline; text-underline-offset: 3px; }
.horo-week-link .next-text { flex: 1; min-width: 0; }
.horo-week-link small { display: block; font: 600 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.horo-week-link .next-title { font: 700 19px/1.25 var(--serif); }
.horo-week-link .arrow { font: 400 26px/1 var(--sans); }

/* ---------- /horoskop/<sign>/ ---------- */
.horo-sign-head { display: grid; grid-template-columns: 144px minmax(0, 1fr); gap: 24px; align-items: center; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.horo-sign-head .horo-art { width: 144px; }
.horo-sign-head .headline { font-size: 34px; margin: 10px 0 8px; }
.horo-text p { font: 400 19px/1.7 var(--serif); color: var(--text); margin: 24px 0; }
.horo-ratings { margin: 0; border-top: 1px solid var(--rule); }
.horo-ratings > div { display: grid; grid-template-columns: 96px auto 1fr; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.horo-ratings dt { font: 700 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.horo-ratings dd { margin: 0; line-height: 0; }
.horo-ratings .marks { gap: 4px; }
.horo-ratings .marks i { width: 14px; height: 14px; }
.horo-ratings .of { font: 500 13px/1 var(--sans); color: var(--meta); }
.horo-signs { border-top: 2px solid var(--ink); margin-top: 32px; padding-top: 12px; display: none; }
.horo-signs h2 { font: 800 15px/1.2 var(--sans); letter-spacing: -0.01em; }
.horo-signs ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; margin-top: 4px; }
.horo-signs a { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule-light); font: 600 15px/1.2 var(--serif); }
.horo-signs small { display: block; font: 500 11px/1.3 var(--sans); color: var(--meta); margin-top: 3px; }
.horo-signs li[aria-current="true"] a { font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); }

/* Aside: the twelve signs as a list, the current one in bold */
.sign-list li a { grid-template-columns: 1fr auto; }
.sign-list li a span { font-weight: 500; color: var(--faint); font-size: 12px; }

/* ---------- /horoskop/nedelen/ ---------- */
.horo-week > section { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.horo-week .horo-art { width: 64px; }
.horo-week p { font: 400 17px/1.65 var(--serif); color: var(--text); margin-top: 8px; }
.horo-week > .horo-banner { display: block; padding: 24px 0; }
.horo-week > .horo-banner .slot { margin: 0; }

/* ---------- The pause page ---------- */
.horo-pause { padding: 8px 0 24px; border-bottom: 1px solid var(--rule); }
.horo-pause .deck { margin-top: 4px; }
.horo-back { display: inline-block; margin-top: 24px; border: 1px solid var(--ink); padding: 12px 16px; font: 700 14px/1 var(--sans); }
.horo-back:hover { background: var(--ink); color: var(--paper); text-decoration: none; }

/* ---------- The home box ---------- */
.horo-box { border-top: 2px solid var(--ink); padding-top: 12px; margin-top: 28px; }
.horo-box h2 { font: 700 19px/1.2 var(--serif); }
.horo-box .horo-sky { font-size: 14px; color: var(--muted); margin-top: 4px; }
.horo-box ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; margin-top: 8px; }
.horo-box li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--rule-light); font: 600 13.5px/1.2 var(--sans); color: var(--soft); }
.horo-box .horo-more { display: inline-block; margin-top: 10px; font: 700 13px/1 var(--sans); }
.horo-box-phone { display: none; }

/* The home aside also holds the box: with five previous editions it is about 830px tall, so sticky only where it fits */
@media (min-height: 720px) and (max-height: 899px) { .aside-sticky.aside-tall { position: static; } }

/* ---------- Horoscope review (drafts preview only) ---------- */
.horo-review { border-top: 2px solid var(--ink); margin-top: 32px; padding-top: 12px; }
.edition-head + .horo-review { border-top: 0; margin-top: 8px; }
.horo-review h2 { font: 700 21px/1.2 var(--serif); display: flex; gap: 12px; align-items: baseline; }
.horo-review .review-status { font: 700 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--meta); }
.horo-review .horo-sky { margin-top: 4px; }
.horo-review-sign { border-bottom: 1px solid var(--rule-light); padding: 12px 0; }
.horo-review-sign h3 { font: 700 17px/1.2 var(--serif); margin-bottom: 6px; }
.horo-review-sign .ratings { display: flex; gap: 20px; margin-bottom: 6px; }
.horo-review-sign p { font: 400 16px/1.6 var(--serif); color: var(--text); margin-top: 6px; }

@media (max-width: 959px) {
  .horo-signs { display: block; }
  .horo-box-phone { display: block; margin-top: 8px; }
}

@media (max-width: 599px) {
  .horo-list > li { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 16px 0; }
  .horo-list.weekly > li { grid-template-columns: 52px minmax(0, 1fr); }
  .horo-list .horo-art { width: 52px; }
  .horo-name h2, .horo-name h3 { font-size: 19px; }
  .horo-list .summary { font-size: 15px; }
  .horo-list .ratings { grid-column: 2; display: flex; gap: 20px; padding-top: 2px; }
  .horo-list .ratings > div { flex-direction: column; align-items: flex-start; gap: 6px; }
  .horo-sign-head { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: start; }
  .horo-sign-head .horo-art { width: 88px; }
  .horo-sign-head .headline { font-size: 25px; margin: 8px 0 6px; }
  .horo-sign-head .horo-sky { font-size: 15.5px; }
  .horo-text p { font-size: 17.5px; line-height: 1.68; }
  .horo-ratings > div { grid-template-columns: 82px auto 1fr; gap: 12px; }
  .horo-signs ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .horo-box li a { padding: 13px 0; font-size: 14px; }
  .horo-week > section { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .horo-week .horo-art { width: 48px; }
  .horo-week p { font-size: 16.5px; }
}
