/* Playfair Display – self-hosted (bez Google Fonts CDN) */
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:400;font-display:swap;src:url('/fonts/playfair-400-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:400;font-display:swap;src:url('/fonts/playfair-400-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/playfair-400-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/playfair-400-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/playfair-600-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/playfair-600-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/playfair-700-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/playfair-700-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root {
  --bg: #100d0a;
  --bg-2: #16120d;
  --card: #171310;
  --card-2: #1d1712;
  --gold: #c9a24b;
  --gold-2: #e2c37e;      /* jasnejšie zlato pre veľké meno */
  --gold-soft: rgba(201, 162, 75, .12);
  --ink: #ece6da;         /* hlavný krémový text */
  --ink-2: #b6ad9e;       /* sekundárny */
  --muted: #8a8175;
  --faint: #5f574c;
  --line: rgba(201, 162, 75, .18);
  --line-soft: rgba(236, 230, 218, .08);
  /* druhý, zámerne tlmený akcent – používať len v malých dávkach */
  --accent-2: #c9805a;
  --accent-2-soft: rgba(201, 128, 90, .14);
  --watermark: rgba(201, 162, 75, .05);
  --watermark-top: rgba(201, 162, 75, .10);
  --glow: rgba(201, 162, 75, .08);
  --bg-tint: rgba(201, 162, 75, .045);
  --card-hi: #1b1611;
  --hairline: rgba(236, 230, 218, .05);
  --radius: 3px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);

  /* spätná kompatibilita so staršími stránkami (sviatky, prázdniny, tlač…) */
  --accent: var(--gold);
  --accent-ink: var(--gold-2);
  --accent-soft: var(--gold-soft);
  --warm: var(--gold);
  --warm-soft: var(--gold-soft);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Svetlý režim ---------- */
:root[data-theme="light"] {
  --bg: #faf6ee;
  --bg-2: #f1eadc;
  --card: #ffffff;
  --card-2: #f6f0e3;
  --gold: #9c7628;
  --gold-2: #7c5e1f;
  --gold-soft: rgba(156, 118, 40, .13);
  --ink: #241f17;
  --ink-2: #544b3c;
  --muted: #786f5f;
  --faint: #a89e8b;
  --line: rgba(156, 118, 40, .30);
  --line-soft: rgba(36, 31, 23, .10);
  --accent-2: #a8562e;
  --accent-2-soft: rgba(168, 86, 46, .12);
  --watermark: rgba(156, 118, 40, .07);
  --watermark-top: rgba(156, 118, 40, .14);
  --glow: rgba(156, 118, 40, .07);
  --bg-tint: rgba(156, 118, 40, .05);
  --card-hi: #fffdf8;
  --hairline: rgba(255, 255, 255, .75);
  --shadow: 0 10px 40px rgba(60, 50, 30, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  background-image: linear-gradient(180deg, var(--bg-tint), transparent 520px);
  background-repeat: no-repeat;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px 80px; }

/* mikro-popisok – podpisový prvok štýlu */
.eyebrow, h2, .label, .side-group .gt, .cal-head .dowh, .grid .dowh {
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Hlavička ---------- */
header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0 22px; margin-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
header.site a { text-decoration: none; color: var(--ink); }
.logo {
  font-family: var(--font-body);
  font-weight: 600; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .3em;
  color: var(--ink);
}
.logo span { color: var(--gold); }
nav a { margin-left: 22px; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
nav a:hover { color: var(--gold); }

/* ---------- HERO (titulka) ---------- */
.hero {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  grid-template-areas:
    "head head"
    "body teaser";
  column-gap: 46px;
  align-items: end;
}
.hero-head { grid-area: head; position: relative; z-index: 2; }
.hero-body { grid-area: body; position: relative; z-index: 2; margin-top: 4px; }
/* jemná teplá žiara – oživenie bez výrazných farieb */
.hero::before {
  content: ""; position: absolute; inset: -25% -12% -12% 18%;
  background: radial-gradient(58% 58% at 68% 42%, var(--glow), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .28em; font-size: .74rem; }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2-soft); }
.hero-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 9vw, 7.4rem);
  line-height: .95;
  letter-spacing: -.01em;
  color: var(--gold-2);
  overflow-wrap: break-word;   /* poistka pri veľmi dlhých menách */
}
/* jemný prechod v zlate – dodá menu hĺbku (s bezpečným fallbackom) */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-name {
    background: linear-gradient(170deg, var(--gold-2) 20%, var(--gold) 95%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.hero-name-2 {
  font-family: var(--font-display);
  font-weight: 400; font-style: italic;
  font-size: clamp(1.5rem, 4.5vw, 3rem);
  color: var(--ink-2);
  margin-top: 4px;
}
.hero-rule { display: flex; align-items: center; gap: 16px; margin: 30px 0 26px;
  text-transform: uppercase; letter-spacing: .26em; font-size: .72rem; color: var(--muted); }
.hero-rule .rule-line { width: 54px; height: 1px; background: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-others { margin-top: 22px; color: var(--muted); font-size: .9rem; }
/* ---------- Ozdobná iniciála v hero ----------
   Ručne kreslené písmeno v čičmianskom štýle (data/iniciraly.js), nie znak z písma.
   Preto majú Ľ, Š a Ž správny mäkčeň a nič sa opticky neodtrhne – znamienko je
   súčasťou kresby. Vytrácanie zlata nadol rieši prechod priamo v SVG. */
.hero-mark {
  position: absolute; top: 50%; right: 30%; transform: translateY(-50%);
  width: clamp(8rem, 16vw, 14rem);   /* musí sa zmestiť do medzery pred kartu vpravo */
  z-index: 0; pointer-events: none; user-select: none;
  opacity: .5;
}
.hero-mark svg { display: block; width: 100%; height: auto; }

/* ---------- Teaser významu mena v hero ---------- */
.hero-teaser {
  grid-area: teaser;
  position: relative; z-index: 2;
  border-left: 1px solid var(--line);
  padding: 4px 0 4px 22px;
  align-self: end;
}
.hero-teaser .t-label {
  text-transform: uppercase; letter-spacing: .22em; font-size: .68rem;
  color: var(--gold); margin-bottom: 10px;
}
.hero-teaser p {
  font-family: var(--font-display);
  font-size: 1.02rem; line-height: 1.65; color: var(--ink-2);
  margin-bottom: 14px;
}
.hero-teaser a {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--gold); text-decoration: none;
  text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 600;
}
.hero-teaser a:hover { color: var(--gold-2); }
.hero-teaser a .arr { transition: transform .15s ease; }
.hero-teaser a:hover .arr { transform: translateX(4px); }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none;
  background: var(--gold); color: #100d0a; border: 1px solid var(--gold);
  padding: 13px 26px; border-radius: var(--radius);
  font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  transition: background .15s ease, color .15s ease;
}
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn.secondary, .btn.ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.btn.secondary:hover, .btn.ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn.small { padding: 9px 18px; font-size: .72rem; }

/* ---------- Chipy ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 26px; }
.chip {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 999px;
  padding: 7px 15px; font-size: .8rem; color: var(--muted);
}
.chip b { color: var(--ink); font-weight: 600; }
.chip a { color: var(--gold) !important; text-decoration: none; }

/* ---------- Vinš dňa (titulka) ---------- */
.vins-karta {
  position: relative;
  background: linear-gradient(160deg, var(--card-hi), var(--card) 65%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px 28px;
  margin-bottom: 22px;
  box-shadow: inset 0 1px 0 var(--hairline);
}
.vins-hlavicka {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; margin-bottom: 14px;
}
.vins-label {
  text-transform: uppercase; letter-spacing: .22em;
  font-size: .68rem; color: var(--gold);
}
.vins-odkaz {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--gold); text-decoration: none; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; font-size: .68rem;
}
.vins-odkaz:hover { color: var(--gold-2); }
.vins-odkaz .arr { transition: transform .15s ease; }
.vins-odkaz:hover .arr { transform: translateX(3px); }
.vins-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  line-height: 1.75;
  color: var(--ink);
  white-space: pre-line;
}
@media (max-width: 640px) {
  .vins-karta { padding: 22px 20px 24px; }
  .vins-text { font-size: 1rem; line-height: 1.7; }
}

/* ---------- Stránka osobnosti ---------- */
.osob-hero { padding: 54px 0 40px; }
.osob-meno { font-size: clamp(2.2rem, 6vw, 4.4rem); }
.osob-uvod { font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); max-width: 68ch; }
.osob-zoznam { list-style: none; display: grid; gap: 7px; }
.osob-zoznam li {
  position: relative; padding-left: 18px; color: var(--ink-2);
  font-size: .95rem; line-height: 1.55;
}
.osob-zoznam li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.fakty { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.ft-riadok {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px;
  background: var(--card); padding: 11px 16px;
}
.ft-k {
  text-transform: uppercase; letter-spacing: .14em; font-size: .66rem;
  color: var(--gold); align-self: center;
}
.ft-v { color: var(--ink); font-size: .95rem; line-height: 1.5; }
.osob-zdroj { color: var(--faint); font-size: .78rem; margin-top: 16px; }
@media (max-width: 640px) {
  .ft-riadok { grid-template-columns: 1fr; gap: 3px; }
  .osob-hero { padding: 36px 0 28px; }
}

/* ---------- Karty ---------- */
.card {
  background: linear-gradient(180deg, var(--card-hi), var(--card) 62%);
  border: 1px solid var(--line-soft);
  box-shadow: inset 0 1px 0 var(--hairline);
  border-radius: var(--radius); padding: 26px 28px; margin-bottom: 22px;
}
.card h2 { margin-bottom: 16px; }

/* ---------- Pás štatistík ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 8px 0 30px; }
.stats.jeden { grid-template-columns: 1fr; }
.stats.jeden .stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.stats.jeden .stat .num { font-size: 2rem; }
.stats.jeden .stat p { flex-basis: 100%; }
.stat { border-top: 1px solid var(--line); padding-top: 18px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--gold); line-height: 1; }
.stat:nth-child(2) .num { color: var(--accent-2); }
.stat:nth-child(2) { border-top-color: var(--accent-2-soft); }
.stat .lab { margin: 8px 0 10px; }
.stat p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ---------- Vyhľadávanie ---------- */
.search-box input {
  width: 100%; padding: 14px 16px; font-size: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); color: var(--ink);
}
.search-box input::placeholder { color: var(--faint); }
.search-box input:focus { outline: none; border-color: var(--gold); }
.search-results { margin-top: 12px; }
.search-results .hit {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 11px 4px; border-bottom: 1px solid var(--line-soft); font-size: .96rem;
}
.search-results .hit:last-child { border-bottom: none; }
.search-results .hit .nm { font-weight: 600; min-width: 130px; font-family: var(--font-display); font-size: 1.1rem; }
.search-results .hit .nm a { color: var(--ink); text-decoration: none; }
.search-results .hit .nm a:hover { color: var(--gold); }
.search-results .hit .dt { color: var(--muted); }
.search-results .hit a { margin-left: auto; color: var(--gold); text-decoration: none; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.search-results .hitv { flex-basis: 100%; color: var(--muted); font-size: .86rem; }
.search-results .none { color: var(--muted); font-size: .9rem; padding: 8px 4px; }

/* ---------- Mesačná mriežka ---------- */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head .title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; text-transform: capitalize; color: var(--ink); }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  width: 38px; height: 38px; border-radius: var(--radius); cursor: pointer; font-size: 1rem;
}
.cal-nav button:hover { border-color: var(--gold); color: var(--gold); }

.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.grid .dowh { text-align: center; padding: 12px 0; background: var(--bg); color: var(--faint); }
.cell {
  min-height: 82px; background: var(--card); padding: 10px 8px;
  font-size: .72rem; display: flex; flex-direction: column; gap: 4px;
  text-decoration: none; color: var(--ink); transition: background .12s ease;
}
.cell:hover { background: var(--card-2); }
.cell .dnum { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.cell .dname { color: var(--muted); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; }
.cell.empty { background: var(--bg); }
.cell.weekend .dnum { color: var(--accent-2); }
.cell.today { background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold); }
.cell.today .dnum { color: var(--gold); }
.cell.today .dname { color: var(--gold-2); }

/* ---------- Detail dňa (po kliknutí v kalendári) ---------- */
.den-detail {
  margin-top: 18px; padding: 20px 22px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.den-detail .dd-hlavicka {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; margin-bottom: 16px;
}
.den-detail .dd-datum {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink);
}
.den-detail .dd-zavri {
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-size: 1.1rem; line-height: 1; padding: 4px 8px;
}
.den-detail .dd-zavri:hover { color: var(--gold); }
.den-detail .dd-sviatok {
  display: inline-block; background: var(--accent-2-soft); color: var(--accent-2);
  border-radius: 999px; padding: 3px 13px; font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px;
}
.dd-sekcia { margin-bottom: 15px; }
.dd-sekcia:last-of-type { margin-bottom: 18px; }
.dd-label {
  text-transform: uppercase; letter-spacing: .18em; font-size: .66rem;
  color: var(--gold); margin-bottom: 8px;
}
.dd-mena { display: flex; flex-wrap: wrap; gap: 8px; }
.dd-mena a {
  display: inline-block; text-decoration: none;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 6px 13px; color: var(--ink); font-size: .95rem;
  transition: border-color .12s ease, color .12s ease;
}
.dd-mena a:hover { border-color: var(--gold); color: var(--gold); }
.dd-mena.hlavne a {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--gold-2); border-color: var(--line);
}
.dd-mena.hlavne a:hover { color: var(--gold); border-color: var(--gold); }
.dd-prazdne { color: var(--muted); font-size: .9rem; }
.dd-osoby { list-style: none; display: grid; gap: 8px; }
.dd-osoby li { font-size: .92rem; color: var(--ink-2); line-height: 1.45; }
.dd-osoby li b { color: var(--ink); font-weight: 600; }
.dd-osoby li span { color: var(--muted); font-size: .86rem; }
.dd-osoby li .dd-info {
  display: block; color: var(--ink-2); font-size: .86rem;
  line-height: 1.6; margin: 4px 0 12px;
  padding-left: 12px; border-left: 2px solid var(--line-soft);
  max-width: 65ch;
}
.dd-viac {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px;
  color: var(--gold); text-decoration: none; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; font-size: .68rem;
}
.dd-viac:hover { color: var(--gold-2); }
.dd-viac .arr { transition: transform .15s ease; }
.dd-viac:hover .arr { transform: translateX(3px); }

/* ---------- Zoznamy ---------- */
.upcoming { list-style: none; }
.upcoming li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
}
.upcoming li:last-child { border-bottom: none; }
.upcoming .d { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 92px; font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; }
.upcoming .n { font-weight: 600; font-family: var(--font-display); font-size: 1.1rem; }
.upcoming .n a { color: var(--ink); text-decoration: none; }
.upcoming .n a:hover { color: var(--gold); }
.upcoming .send { margin-left: auto; font-size: .76rem; color: var(--gold); text-decoration: none; white-space: nowrap; text-transform: uppercase; letter-spacing: .1em; }
.upcoming .send:hover { color: var(--gold-2); }

.name-info p { margin-bottom: 10px; }
.name-info .tag {
  display: inline-block; background: var(--gold-soft); color: var(--gold);
  border-radius: 999px; padding: 3px 14px; font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; margin-right: 6px;
}

/* ---------- „Dnešný deň" panel na iných stránkach (datebox) ---------- */
.today {
  display: flex; gap: 30px; align-items: stretch;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 30px 32px; margin-bottom: 24px;
}
.datebox {
  flex: 0 0 150px; text-align: center;
  background: var(--gold-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 12px;
  display: flex; flex-direction: column; justify-content: center;
}
.datebox .dow { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); }
.datebox .num { font-family: var(--font-display); font-size: 4rem; font-weight: 700; line-height: 1.05; color: var(--gold-2); }
.datebox .mon { font-size: .95rem; color: var(--ink-2); }
.datebox .meta { font-size: .72rem; color: var(--muted); margin-top: 10px; line-height: 1.4; }
.today-main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.today-main .label { color: var(--muted); }
.today-main .name { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3rem); font-weight: 600; color: var(--gold-2); margin: 6px 0 4px; }
.today-main .name a { color: inherit; text-decoration: none; }
.today-main .others { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.today-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pozdrav – builder ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; }
.field input[type=text] {
  width: 100%; padding: 12px 14px; font-size: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); color: var(--ink);
}
.field input[type=text]:focus { outline: none; border-color: var(--gold); }
.field input[type=text]::placeholder { color: var(--faint); }

/* rýchly výber mena (mená toho istého dňa) */
.vyber-mien { margin: -6px 0 18px; }
.vyber-mien .vm-label {
  text-transform: uppercase; letter-spacing: .16em; font-size: .66rem;
  color: var(--muted); margin-bottom: 8px;
}
.vyber-mien .vm-zoznam { display: flex; flex-wrap: wrap; gap: 7px; }
.vyber-mien button {
  border: 1px solid var(--line-soft); background: transparent; color: var(--ink);
  padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: .9rem;
  transition: border-color .12s ease, color .12s ease;
}
.vyber-mien button:hover { border-color: var(--gold); color: var(--gold); }
.vyber-mien button.active {
  background: var(--gold); border-color: var(--gold); color: #100d0a; font-weight: 600;
}
.vyber-mien button.rozsirene { color: var(--muted); }
.vyber-mien button.rozsirene:hover, .vyber-mien button.rozsirene.active { color: var(--gold); }
.vyber-mien button.rozsirene.active { color: #100d0a; }

.styles { display: flex; flex-wrap: wrap; gap: 8px; }
.styles button {
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  padding: 9px 17px; border-radius: 999px; cursor: pointer; font-size: .88rem;
}
.styles button.active { background: var(--gold); border-color: var(--gold); color: #100d0a; font-weight: 600; }

.preview {
  background: linear-gradient(150deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; margin: 20px 0; font-size: 1.15rem; line-height: 1.7;
  position: relative; min-height: 120px; white-space: pre-line;
  font-family: var(--font-display); color: var(--ink);
}
.preview .sig { margin-top: 14px; color: var(--muted); font-style: italic; }
.shuffle { position: absolute; top: 12px; right: 14px; background: none; border: none; cursor: pointer; font-size: 1.25rem; opacity: .6; }
.shuffle:hover { opacity: 1; }

.share-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  padding: 11px 16px; border-radius: var(--radius); cursor: pointer;
  font-size: .9rem; font-weight: 500; text-decoration: none;
}
.share-btn:hover { border-color: var(--gold); color: var(--gold); }
.share-btn.primary { background: var(--gold); border-color: var(--gold); color: #100d0a; font-weight: 600; }
.share-btn.primary:hover { background: var(--gold-2); color: #100d0a; }

.qr-box { display: none; margin-top: 20px; text-align: center; padding: 22px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg-2); }
.qr-box.open { display: block; }
.qr-box img, .qr-box svg { max-width: 220px; height: auto; background: #fff; padding: 8px; border-radius: 4px; }
.qr-box p { color: var(--muted); font-size: .88rem; margin-top: 12px; }
@media (max-width: 640px) { .qr-box { display: none !important; } }

/* ---------- Karta pozdravu (príjemca) ---------- */
.card-view {
  text-align: center; padding: 56px 30px;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); margin-top: 12px;
}
.card-view .big-emoji { font-size: 3rem; margin-bottom: 12px; }
.card-view h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 6vw, 2.4rem); margin-bottom: 20px; color: var(--gold-2); }
.card-view .text { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75; max-width: 540px; margin: 0 auto 18px; white-space: pre-line; color: var(--ink); }
.card-view .from { color: var(--muted); font-style: italic; margin-bottom: 30px; }
.card-view .cta { font-size: .88rem; color: var(--muted); margin-top: 28px; }
.card-view .cta a { color: var(--gold); font-weight: 600; }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #100d0a; padding: 11px 24px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.toast.show { opacity: 1; }

/* ---------- Layout s bočným menu ---------- */
.layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 34px; align-items: start; }
.sidebar { position: sticky; top: 22px; }
.side-group { margin-bottom: 24px; }
.side-group .gt { margin: 0 0 10px 14px; color: var(--faint); }
.side-link {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 14px; border-radius: var(--radius);
  color: var(--ink-2); text-decoration: none; font-size: .92rem;
  border-left: 2px solid transparent;
  transition: color .15s ease, background .15s ease;
}
.side-link .ico { width: 17px; height: 17px; flex: 0 0 17px; opacity: .7; }
.side-link:hover .ico, .side-link.active .ico { opacity: 1; }
.side-link:hover { color: var(--gold); background: var(--card); }
.side-link.active { color: var(--gold); background: var(--gold-soft); border-left-color: var(--gold); font-weight: 600; }
.side-link.soon { color: var(--faint); cursor: default; }
.side-link.soon:hover { background: none; color: var(--faint); }
.side-link .badge {
  margin-left: auto; font-size: .58rem; font-weight: 600;
  background: var(--line-soft); color: var(--muted);
  padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em;
}

.nav-toggle {
  display: none; border: 1px solid var(--line); background: transparent;
  color: var(--gold); font-size: 1.15rem; border-radius: var(--radius);
  width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center;
}

/* prvky vpravo v hlavičke (prepínač režimu + mobilné menu) */
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line); background: transparent;
  color: var(--gold); font-size: 1.05rem; border-radius: var(--radius); cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold-2); }

footer.site {
  margin-top: 66px; padding-top: 36px; border-top: 1px solid var(--line-soft);
  color: var(--muted);
}
.foot-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px; margin-bottom: 32px;
}
.foot-brand .foot-logo {
  font-family: var(--font-body); font-weight: 600;
  text-transform: uppercase; letter-spacing: .28em;
  color: var(--ink); margin-bottom: 12px; font-size: .95rem;
}
.foot-brand .foot-logo span { color: var(--gold); }
.foot-brand p { color: var(--muted); font-size: .88rem; line-height: 1.6; max-width: 250px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-h {
  text-transform: uppercase; letter-spacing: .18em; font-size: .68rem;
  color: var(--gold); margin-bottom: 5px;
}
.foot-col a { color: var(--ink-2); text-decoration: none; font-size: .9rem; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom {
  border-top: 1px solid var(--line-soft); padding-top: 20px;
  color: var(--faint); font-size: .76rem;
  text-transform: uppercase; letter-spacing: .12em;
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
}
@media (max-width: 760px) {
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-brand { grid-column: 1 / -1; }
}

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .layout { display: block; }
  .nav-toggle { display: inline-flex; }
  .hero { display: block; }
  .hero-mark { display: none; }
  .hero-teaser { margin-top: 34px; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .sidebar {
    display: none; position: fixed; top: 0; left: 0; bottom: 0; z-index: 60;
    width: min(78vw, 300px); background: var(--bg-2);
    padding: 24px 18px; overflow-y: auto; box-shadow: 0 0 60px rgba(0, 0, 0, .6);
  }
  body.nav-open .sidebar { display: block; }
  body.nav-open::before { content: ""; position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .6); }
}

@media (max-width: 640px) {
  .today { flex-direction: column; gap: 20px; padding: 22px; }
  .datebox { flex: none; }
  .cell { min-height: 58px; }
  .cell .dname { display: none; }
  .cell.today .dname, .cell.named .dname { display: block; }
}

/* ---------- Vyhľadávanie v bočnom menu ---------- */
.side-search { margin-bottom: 22px; }
.ss-pole {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 0 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ss-pole:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.ss-pole .ico { width: 16px; height: 16px; flex: 0 0 16px; color: var(--faint); }
.ss-pole:focus-within .ico { color: var(--gold); }
.ss-pole input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  color: var(--ink); font: inherit; font-size: .9rem; padding: 9px 0;
}
.ss-pole input::placeholder { color: var(--faint); }
.ss-x {
  border: 0; background: none; color: var(--faint); cursor: pointer;
  font-size: 1.2rem; line-height: 1; padding: 0 2px;
}
.ss-x:hover { color: var(--gold); }

.ss-vysledky {
  margin-top: 6px; border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--card); overflow-x: hidden; overflow-y: auto; max-height: 340px;
}
.ss-skupina {
  text-transform: uppercase; letter-spacing: .16em; font-size: .6rem;
  color: var(--faint); padding: 9px 12px 5px;
}
.ss-polozka + .ss-skupina { border-top: 1px solid var(--line-soft); margin-top: 4px; }
.ss-polozka {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 7px 12px; color: var(--ink); text-decoration: none; font-size: .9rem;
}
.ss-polozka:hover, .ss-polozka.aktivna { background: var(--gold-soft); color: var(--gold); }
.ss-datum { color: var(--faint); font-size: .78rem; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.ss-polozka:hover .ss-datum, .ss-polozka.aktivna .ss-datum { color: var(--gold-2); }
.ss-nic { padding: 12px; color: var(--faint); font-size: .86rem; }

/* ---------- Výroky osobností ---------- */
.vyrok { margin: 0 0 20px; padding-left: 18px; border-left: 2px solid var(--line); }
.vyrok:last-of-type { margin-bottom: 6px; }
.vyrok blockquote {
  margin: 0; font-family: var(--font-display); font-size: 1.08rem;
  line-height: 1.62; color: var(--ink); font-style: italic;
}
.vyrok blockquote::before { content: "„"; color: var(--gold); }
.vyrok blockquote::after { content: "“"; color: var(--gold); }
.vyrok figcaption {
  margin-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline;
  font-size: .82rem; color: var(--muted);
}
.vyrok cite { font-style: normal; }
.vyrok cite::before { content: "— "; }
.vyrok-pozn {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--faint); border: 1px dashed var(--line); border-radius: 2px; padding: 2px 7px;
}

/* Výrok dňa na titulke */
.vyrok-dna blockquote {
  margin: 0; font-family: var(--font-display); font-size: 1.25rem;
  line-height: 1.6; color: var(--ink); font-style: italic;
}
.vyrok-dna blockquote::before { content: "„"; color: var(--gold); }
.vyrok-dna blockquote::after { content: "“"; color: var(--gold); }
.vyrok-dna .vd-autor {
  margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline;
}
.vyrok-dna .vd-meno {
  font-weight: 600; color: var(--gold); text-decoration: none; font-size: .95rem;
}
.vyrok-dna .vd-meno:hover { text-decoration: underline; }
.vyrok-dna .vd-dielo { color: var(--muted); font-size: .84rem; }
.vyrok-dna .vd-akcie { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Stránky jednotlivých dní ---------- */
.den-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-bottom: 22px; font-size: .86rem;
}
.den-nav a { color: var(--muted); text-decoration: none; }
.den-nav a:hover { color: var(--gold); }
.den-nav a:nth-child(2) { color: var(--faint); font-size: .8rem; }

.den-hero .den-datum { line-height: 1.05; }
.den-hero .hero-name-2 { color: var(--gold-2); }

.den-mena { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.4; margin: 0 0 10px; }
.den-mena a { color: var(--gold); text-decoration: none; }
.den-mena a:hover { text-decoration: underline; }
.den-mena-r { line-height: 1.7; margin: 0; }
.den-mena-r a { color: var(--ink-2); text-decoration: none; }
.den-mena-r a:hover { color: var(--gold); }
.den-podnadpis {
  text-transform: uppercase; letter-spacing: .16em; font-size: .66rem;
  color: var(--faint); margin: 18px 0 6px;
}
.den-vysvetlenie { color: var(--muted); font-size: .88rem; margin: 10px 0 0; line-height: 1.6; }
.den-vysvetlenie a { color: var(--gold); text-decoration: none; }
.den-vysvetlenie a:hover { text-decoration: underline; }

.den-sviatok { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold); margin: 0; }
.den-typ {
  text-transform: uppercase; letter-spacing: .14em; font-size: .68rem;
  color: var(--muted); margin: 8px 0 0;
}

.den-zoznam { list-style: none; margin: 0; padding: 0; }
.den-zoznam li { padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.den-zoznam li:last-child { border-bottom: none; }

.den-vins {
  font-family: var(--font-display); font-size: 1.05rem; font-style: italic;
  line-height: 1.75; color: var(--ink); margin: 0;
}

.den-osoby { list-style: none; margin: 0; padding: 0; }
.den-osoby li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line-soft);
}
.den-osoby li:last-child { border-bottom: none; }
.den-osoby a { color: var(--ink); text-decoration: none; font-weight: 600; }
.den-osoby a:hover { color: var(--gold); }
.den-rok {
  color: var(--gold); font-variant-numeric: tabular-nums; font-size: .88rem;
  flex: 0 0 46px;
}
.den-povolanie { color: var(--muted); font-size: .85rem; }

.den-dlazdice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.den-dlazdica {
  display: flex; flex-direction: column; gap: 5px; padding: 14px 16px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  text-decoration: none; background: var(--card);
}
.den-dlazdica:hover { border-color: var(--gold); }
.den-dlazdica .dd-datum {
  text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; color: var(--faint);
}
.den-dlazdica .dd-meno {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--ink);
}
.den-dlazdica:hover .dd-meno { color: var(--gold); }

@media (max-width: 560px) {
  .den-dlazdice { grid-template-columns: 1fr; }
  .den-nav a:nth-child(2) { display: none; }
  .den-mena { font-size: 1.25rem; }
}

/* prepojené osobnosti v sekcii „V ten istý deň sa narodili“ */
.osob-suvisiace a { color: var(--ink); text-decoration: none; }
.osob-suvisiace a:hover { color: var(--gold); text-decoration: underline; }

/* ============================================================
   HORNÉ MENU (nahrádza bočný panel)
   Bočný <aside> zostáva v HTML všetkých stránok, ale slúži už
   len ako zásuvka na mobile – vďaka tomu netreba pregenerovať
   tisíce statických stránok.
   ============================================================ */
header.site {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 0 16px; margin-bottom: 0;
  border-bottom: 1px solid var(--line-soft);
}
header.site .logo { flex: 0 0 auto; }

.topnav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; }
.tn-link {
  padding: 9px 14px; border-radius: var(--radius);
  color: var(--muted); text-decoration: none;
  font-size: .93rem; white-space: nowrap;
  border: 0; background: none; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 5px;
}
.tn-link:hover { color: var(--gold); }
.tn-link.active { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }

.tn-viac { position: relative; }
.tn-viac-btn .ico { width: 14px; height: 14px; opacity: .7; }
.tn-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 230px; padding: 6px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.tn-menu.open { display: block; }
.tn-polozka {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  color: var(--ink); text-decoration: none; font-size: .9rem; border-radius: var(--radius);
}
.tn-polozka .ico { width: 16px; height: 16px; flex: 0 0 16px; opacity: .65; }
.tn-polozka:hover { background: var(--gold-soft); color: var(--gold); }
.tn-polozka.active { color: var(--gold); font-weight: 600; }

/* vyhľadávanie v hlavičke */
.hlavicka-search { margin-bottom: 0; flex: 0 1 300px; position: relative; }
.hlavicka-search .ss-vysledky {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70;
  box-shadow: var(--shadow);
}

/* obsah na celú šírku – bočný panel už layout nedelí */
.layout { display: block; }
.sidebar { display: none; }

/* prepínač témy vpravo */
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

@media (max-width: 900px) {
  header.site { gap: 12px; padding: 14px 0 12px; }
  .topnav { display: none; }                 /* nahradí ju zásuvka */
  .hlavicka-search { order: 3; flex: 1 1 100%; }
  .nav-toggle { display: inline-flex; }

  /* zásuvka s celým menu */
  .sidebar {
    display: none; position: fixed; z-index: 80; inset: 0 auto 0 0;
    width: min(310px, 84vw); padding: 22px 18px;
    background: var(--bg-2); border-right: 1px solid var(--line);
    overflow-y: auto;
  }
  body.nav-open .sidebar { display: block; }
  body.nav-open::after {
    content: ""; position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.5);
  }
}
@media (min-width: 901px) { .nav-toggle { display: none; } }

/* poradie prvkov v hlavičke: logo · menu · hľadanie · prepínač témy */
header.site .logo { order: 1; }
header.site .topnav { order: 2; }
header.site .hlavicka-search { order: 3; margin-left: auto; }
header.site .header-actions { order: 4; margin-left: 0; }
@media (max-width: 900px) {
  header.site .hlavicka-search { order: 5; margin-left: 0; }
  header.site .header-actions { order: 4; margin-left: auto; }
}

/* hlavička sa na širokej obrazovke nesmie zalomiť – radšej sa zmestí */
@media (min-width: 901px) {
  header.site { flex-wrap: nowrap; }
  header.site .logo { letter-spacing: .16em; font-size: 1rem; }
  .topnav { flex: 0 1 auto; min-width: 0; }
  .tn-link { padding: 9px 11px; font-size: .89rem; }
  .hlavicka-search { flex: 0 1 280px; min-width: 160px; }
  .hlavicka-search .ss-pole { padding: 0 10px; }
  .hlavicka-search .ss-pole input { padding: 8px 0; font-size: .86rem; }
}

/* ---------- Titulka: vinš a kalendár vedľa seba ---------- */
.titulka-dvojstlpec {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 20px; align-items: start; margin-bottom: 20px;
}
.titulka-dvojstlpec > * { margin-bottom: 0; }
.titulka-dvojstlpec .vins-karta { height: 100%; }
@media (max-width: 900px) {
  /* minmax(0,…) je nutné – bez neho si kalendár vynúti vlastnú šírku a stránka pretečie */
  .titulka-dvojstlpec { grid-template-columns: minmax(0, 1fr); }
}

.hero > *:not(.hero-mark) { position: relative; z-index: 1; }

/* eyebrow v zlatej – podpisový prvok titulky */
.hero-eyebrow { color: var(--gold); }
.hero-eyebrow .dot { background: var(--gold); box-shadow: 0 0 10px var(--gold-soft); }

/* Mesačný kalendár na úzkych displejoch: bunky sa musia vedieť zmenšiť.
   Bez minmax(0,…) si 7 stĺpcov vynúti šírku podľa najdlhšieho mena. */
@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cell { min-width: 0; padding: 8px 3px; overflow: hidden; }
  .cell .dnum { font-size: .8rem; }
  .cell .dname {
    font-size: .55rem; line-height: 1.15; overflow: hidden;
    overflow-wrap: anywhere; hyphens: auto;
  }
  .grid .dowh { font-size: .58rem; padding: 8px 0; }
}
