/* DataDive základ pre konvertor — výťah z datadive-blog/web/assets/site.css (tokeny, hlavička, päta, tlačidlá, cookie lišta). Nemeň farby. */
:root {
    --ink: #0A3D44;
    --ink-2: #0f5560;
    --ink-deep: #061d21;
    --accent: #FFB627;
    --accent-2: #e59f0d;
    --bg: #f6f4ee;
    --paper: #fff;
    --text: #17272a;
    --muted: #63797d;
    --line: #e4dfd1;
    --r: 18px;
    --container: 1200px;
    --read: 700px;
    --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
    --shadow: 0 1px 2px rgba(6,29,33,.05), 0 10px 30px rgba(6,29,33,.07);
    --shadow-up: 0 2px 4px rgba(6,29,33,.06), 0 18px 40px rgba(6,29,33,.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.hero-grid > *, .with-side > *, .grid > *, .foot-grid > *, .numbers-row > * { min-width: 0; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 400 16px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.12; margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }


/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6,29,33,.94);
    backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .bar { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.brand-logo { height: 28px; width: auto; max-width: 60px; }
.brand-word { font: 800 22px/1 var(--display); letter-spacing: -.03em; }
.brand-word b { color: var(--accent); font-weight: 800; }
.topics { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.topics::-webkit-scrollbar { display: none; }
.topics a { color: #b9d2d3; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px;
    border-radius: 999px; white-space: nowrap; transition: .15s; }
.topics a:hover { color: #fff; background: rgba(255,255,255,.08); }
.topics a.on { color: var(--ink-deep); background: var(--accent); }
.tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang { display: flex; background: rgba(255,255,255,.09); border-radius: 999px; padding: 3px; }
.lang a { text-decoration: none; color: #b9d2d3; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.lang a.on { background: #fff; color: var(--ink-deep); }
.social { display: flex; gap: 6px; }
.social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #cfe3e3;
    background: rgba(255,255,255,.08); transition: .15s; }
.social a:hover { background: var(--accent); color: var(--ink-deep); transform: translateY(-1px); }

/* ---------- shared bits ---------- */
.chip { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--ink-deep); text-decoration: none; }
.chip.solid { position: static; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.meta .dot { opacity: .5; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; font: 600 13.5px 'Inter', sans-serif;
    text-decoration: none; background: var(--paper); border: 1px solid var(--line); color: var(--ink); cursor: pointer; transition: .15s; }
.pill:hover { border-color: var(--ink); transform: translateY(-1px); }
.pill.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill.accent { background: var(--accent); border-color: var(--accent); color: var(--ink-deep); }
.pill.accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
/* ---------- footer ---------- */
.site-footer { background: var(--ink-deep); color: #b3cccd; margin-top: 70px; padding: 54px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.foot-about { font-size: 14.5px; max-width: 320px; margin: 16px 0 0; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer li a { text-decoration: none; font-size: 15px; }
.site-footer li a:hover { color: var(--accent); }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* ---------- responsive ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 18px; background: #0f172a; color: #e5e7eb; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.3); font-size: 14px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; }
.consent a { color: inherit; text-decoration: underline; }
.consent div { display: flex; gap: 8px; }
@media (max-width: 720px) {
    .container { padding: 0 16px; }
    .site-header .bar { gap: 14px; height: 58px; }
    .topics, .social { display: none; }
    .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* konvertor: jazykový prepínač s viac jazykmi môže na mobile pretekať */
.lang { flex-wrap: nowrap; }
