/*
 * Version 3: a copy of v2.css (2026-11-19) to work on; version 2 stays as it is. The design's thin borders are
 * back here (client 2026-11-19), the larger heading line height stays. Loaded only at the version 3
 * secret address (inc/preview.php), with v3/homepage.php.
 *
 * Version 2 (the starting point): the look of the first AI design
 * (podklady/Bezpečie nesmie byť náhoda - stanesatoznova.sk.html) 1:1, filled with the content of our site
 * (client 2026-11-19: "95 % rovnako ako tá .html, obsah z našej stránky"). Values are copied from the design;
 * its inline styles became classes. Loaded alone: main.css and home.css are not on this page.
 * The design's gradients, glows, noise and ghost text are kept on purpose (client's wish for v2); the marquee
 * was removed and the headings got more line height than the design (carons touched the line above), 2026-11-19.
 */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/montserrat-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/montserrat-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;
}

/* ---- Design: base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #060505; color: #f6f1ec; font-family: Montserrat, system-ui, sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0; }
a { color: #ff7a33; }
a:hover { color: #ffa066; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.page { min-height: 100%; background: #060505; color: #f6f1ec; position: relative; overflow-x: clip; }
.page::after { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.07; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); position: relative; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 12px 16px; background: #f6f1ec; color: #060505; font-weight: 800; }
.skip:focus { top: 16px; }

/* ---- Design: header ---- */
.top { position: sticky; top: 0; z-index: 30; }
.help { background: linear-gradient(90deg, #ed5706, #ff7a1a 50%, #ed5706); }
.help a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; color: #060505; font-weight: 800; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; text-align: center; }
.help a:hover { color: #060505; background: #ffffff22; }
.bar { background: #060505ee; border-bottom: 1px solid #2a1a14; }
.bar-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; min-width: 0; text-decoration: none; }
.brand img { display: block; width: auto; height: 60px; }
.nav { display: flex; gap: 26px; }
.nav a { color: #d6cdc6; text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 0; }
.nav a:hover { color: #ff7a33; }
.exit { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 2px solid #f6f1ec; color: #f6f1ec; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 4px; text-decoration: none; white-space: nowrap; }
.exit:hover { background: #f6f1ec; color: #060505; }

/* ---- Design: type ---- */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #ff7a33; margin: 0; }
h1, h2, h3, h4 { font-family: Montserrat, system-ui, sans-serif; margin: 0; text-wrap: balance; color: #f6f1ec; }
h1 { font-size: clamp(36px, 6.4vw, 90px); line-height: 1.2; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4.8vw, 66px); line-height: 1.22; font-weight: 900; text-transform: uppercase; letter-spacing: -0.015em; }
h3 { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.3; font-weight: 800; letter-spacing: -0.005em; }
p { margin: 0; }
.grad { background: linear-gradient(100deg, #ff8a2a, #ed5706 40%, #e5262b 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.9vw, 20px); color: #dcd3cc; max-width: 62ch; }
.muted { color: #b8aea7; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 4px; font-weight: 800; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; background: linear-gradient(100deg, #ff7a1a, #ed5706); color: #060505; box-shadow: 0 0 36px #ed570655; }
.btn:hover { background: linear-gradient(100deg, #ff9a4d, #ff7a1a); color: #060505; }

/* Stacks (the design's inline flex columns) */
.stack-14 { display: flex; flex-direction: column; gap: 14px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-20 { display: flex; flex-direction: column; gap: 20px; }
.stack-22 { display: flex; flex-direction: column; gap: 22px; }
.stack-36 { display: flex; flex-direction: column; gap: 36px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }
.stack-56 { display: flex; flex-direction: column; gap: 56px; }
.stack-72 { display: flex; flex-direction: column; gap: 72px; }
.head { max-width: 900px; }

/* ---- Design: hero ---- */
.hero { position: relative; overflow: hidden; padding-top: clamp(48px, 8vw, 110px); padding-bottom: clamp(120px, 22vw, 330px); background: radial-gradient(ellipse 70% 60% at 88% 105%, #ed570566, transparent 70%), radial-gradient(ellipse 50% 50% at 0% 0%, #e5262b30, transparent 70%), #060505; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 40%, transparent 40%, #000000cc 100%); }
.ghost { position: absolute; left: -0.04em; bottom: -0.12em; z-index: 0; font-weight: 900; font-size: clamp(76px, 17.5vw, 270px); line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px #ed570650; white-space: nowrap; pointer-events: none; user-select: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px 64px; align-items: end; }
.hero-main { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.hero-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hero-cap { color: #e4dad3; font-weight: 500; max-width: 34ch; }
.hero-link { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
.hdot { display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.06em; border-radius: 50%; background: #e5262b; box-shadow: 0 0 0.35em #e5262b, 0 0 0.9em #e5262b99; animation: pulse 3.2s ease-in-out infinite; }
.stat-n { font-weight: 900; font-size: clamp(88px, 13.5vw, 184px); line-height: 0.8; letter-spacing: -0.05em; background: linear-gradient(180deg, #ff5a3c 0%, #e5262b 45%, #e5262b00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ---- Design: sections ---- */
.section { padding-top: clamp(64px, 10vw, 132px); padding-bottom: clamp(64px, 10vw, 132px); scroll-margin-top: 120px; position: relative; }
.section--tight { padding-top: clamp(24px, 4vw, 48px); }
.alt { background: linear-gradient(180deg, #0d0807, #130a07 60%, #0a0605); }
.alt::before, .mapsec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #ed5706 30%, #e5262b 70%, transparent); }
.mapsec { background: radial-gradient(ellipse 70% 50% at 50% 0%, #e5262b2e, transparent 70%), linear-gradient(180deg, #0b0606, #080505); }

/* Map box from the design, holding our interactive map; the frame keeps our height rule (85 % of the screen) */
.mapbox { position: relative; width: 100%; background: radial-gradient(ellipse at 50% 50%, #1a0d0a, #070505 80%); border: 1px solid #3a1d14; border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 80px #000000; }
.mapbox iframe { display: block; width: 100%; height: min(calc((100dvh - 120px) * 0.85), 48rem); min-height: 32rem; border: 0; }

.note { border: 1px solid #3a1d14; border-radius: 6px; padding: clamp(20px, 3vw, 32px); background: linear-gradient(160deg, #150b08, #0b0706); }
.note p { color: #cfc5be; font-size: 16px; }
.note--wide { max-width: 900px; }
.note .note-lead { color: #eae3dd; font-size: 17px; }
.note .note-lead--strong { font-weight: 700; }

/* Stories */
.intro-big { font-size: clamp(20px, 2.6vw, 30px); line-height: 1.5; font-weight: 600; color: #f6f1ec; }
.cards { display: flex; flex-direction: column; gap: 28px; padding: 0; list-style: none; }
.fcard { display: flex; flex-wrap: wrap; background: linear-gradient(120deg, #170c08, #0b0706 70%); border: 1px solid #3a1d14; border-radius: 6px; overflow: hidden; }
.fimg { flex: 1 1 300px; min-height: 240px; background: radial-gradient(ellipse at 50% 60%, #ed570640, transparent 70%), #080505; display: flex; align-items: center; justify-content: center; padding: 24px; min-width: 0; }
.fimg svg, .fimg img { width: 100%; max-width: 340px; height: auto; display: block; }
.ftxt { flex: 2 1 340px; padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; justify-content: center; min-width: 0; }
.ftxt p { color: #cfc5be; }
.ftxt h3 { line-height: 1.28; font-size: clamp(22px, 3vw, 34px); text-transform: uppercase; font-weight: 900; letter-spacing: -0.01em; }

/* Orange box */
.hl { background: linear-gradient(125deg, #ff8a2a 0%, #ed5706 45%, #d4380a 100%); color: #060505; border-radius: 6px; padding: clamp(28px, 6vw, 80px); box-shadow: 0 0 120px #ed570640; }
.hl h2, .hl p { color: #060505; }
.hl-statement { font-size: clamp(34px, 7vw, 96px); line-height: 1.2; }
.hl-demand { font-size: clamp(26px, 4.8vw, 64px); line-height: 1.22; }
.hl-q { font-size: 12px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
.hl-text { font-size: clamp(18px, 2vw, 24px); font-weight: 700; line-height: 1.3; max-width: 46ch; }
.hl-accent { display: block; margin-top: 12px; }

/* Accordion: the design's rows, as <details> (no script needed) */
.acc { border-top: 1px solid #3a1d14; }
.acc:last-child { border-bottom: 1px solid #3a1d14; }
.acc summary { list-style: none; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc-b { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 24px 0; color: #f6f1ec; font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: clamp(17px, 2vw, 24px); line-height: 1.35; text-align: left; }
.acc-b:hover { color: #ff7a33; }
.acc-title { font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; }
.acc-sign { flex: 0 0 auto; font-size: 34px; line-height: 1; color: #ed5706; font-weight: 500; }
.acc-sign::before { content: "+"; }
.acc[open] .acc-sign::before { content: "−"; }
.acc-p { padding: 0 0 28px; color: #b8aea7; max-width: 70ch; }

/* Timeline (its vertical line is the design's spine, not a border, and stays) */
.tl { position: relative; padding: 0; list-style: none; }
.tl::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, #e5262b, #ed5706 65%, transparent); }
.tl-i { position: relative; display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 22px 0 22px 48px; }
.tl-i::before { content: ""; position: absolute; left: 0; top: 32px; width: 20px; height: 20px; border-radius: 50%; background: #060505; border: 3px solid #ed5706; }
.tl-i:first-child::before { background: #e5262b; border-color: #e5262b; box-shadow: 0 0 22px #e5262b; }
.tl-d { flex: 0 0 170px; font-weight: 900; font-size: clamp(20px, 2.4vw, 28px); color: #ff7a33; letter-spacing: -0.01em; }
.tl-t { flex: 1 1 280px; min-width: 0; color: #eae3dd; }
.tl-i--campaign { flex-direction: column; gap: 22px; }
.tl-row { display: flex; flex-wrap: wrap; gap: 4px 32px; }
.tl-campaign { font-weight: 900; font-size: clamp(22px, 3vw, 36px); text-transform: uppercase; color: #f6f1ec; line-height: 1.28; }
.tl-campaign-text { display: flex; flex-direction: column; gap: 16px; max-width: 70ch; color: #cfc5be; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: radial-gradient(ellipse at 50% 50%, #3a0f08, #0a0605 75%); border: 1px solid #5a2a1c; border-radius: 6px; overflow: hidden; }
.video iframe { display: block; width: 100%; height: 100%; border: 0; }
video.video { display: block; height: auto; object-fit: contain; }

/* Organisations: the design's dark grid, cells link to the websites */
.orgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1px; background: #3a1d14; border: 1px solid #3a1d14; border-radius: 6px; overflow: hidden; padding: 0; list-style: none; }
.org { background: #0a0706; min-width: 0; }
.org a, .org-in { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 22px 26px; text-decoration: none; }
.org b { font-weight: 700; color: #f6f1ec; }
.org span { color: #b8aea7; font-size: 15px; }
.org a:hover b { color: #ff7a33; }
/* 20 organisations (the design had 15): on three columns the last one spans two, so no empty cell shows the
   brown of the grid lines. Three columns start where the wrap fits 3 × 320 px. */
@media (min-width: 1042px) { .org:last-child { grid-column: span 2; } }

/* Appeal: the design's note, with the whole letter */
.letter-points { display: flex; flex-direction: column; gap: 12px; padding-left: 24px; color: #cfc5be; font-size: 16px; }
.letter-points li::marker { color: #ff7a33; font-weight: 800; }

/* Closing (second part of the brief), in the design's language */
.closing-text { display: flex; flex-direction: column; gap: 16px; max-width: 62ch; }

/* Press */
.press { padding: 0; list-style: none; }
.prow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; padding: 22px 0; border-top: 1px solid #3a1d14; }
.prow:last-child { border-bottom: 1px solid #3a1d14; }
.prow-d { flex: 0 0 110px; color: #ff7a33; font-weight: 700; }
.prow-t { flex: 1 1 280px; min-width: 0; color: #f6f1ec; }

/* Support line above the footer */
.support { position: relative; padding: 40px 0; background: #0a0605; text-align: center; }
.support::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #ed5706 30%, #e5262b 70%, transparent); }
.support-in { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.support p { max-width: 62ch; margin: 0 auto; color: #dcd3cc; font-size: 16px; font-weight: 500; }
.support-logo { width: 220px; }

/* ---- Design: footer ---- */
.foot { background: radial-gradient(ellipse 60% 80% at 100% 100%, #ed570630, transparent 70%), #040303; border-top: 1px solid #3a1d14; padding-top: 64px; padding-bottom: 56px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px 48px; align-items: start; }
.foot-logo { display: block; width: 170px; max-width: 100%; height: auto; }
.foot-title { font-weight: 700; font-size: 19px; }
.foot-tel { font-weight: 900; font-size: clamp(28px, 4vw, 38px); text-decoration: none; letter-spacing: -0.01em; color: #ff7a33; }
.foot-mail { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 14px; border-top: 1px solid #3a1d14; padding-top: 24px; }

/* The menu stays on one line beside the quick exit (measured with "Interaktívna mapa", 20. 11. 2026): tighter from
   1240 px, smaller from 1100 px, hidden under 980 px (the exit must never wrap to a second row) */
@media (max-width: 1240px) { .nav { gap: 16px; } .nav a { letter-spacing: 0.04em; } }
@media (max-width: 1100px) { .nav a { font-size: 12px; } }
@media (max-width: 980px) { .nav { display: none; } }
/* Text pages (v3/page.php): the privacy policy and other long texts from the editor */
.textpage-title { font-size: clamp(30px, 4.6vw, 56px); }
.prose { max-width: 78ch; color: #dcd3cc; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; letter-spacing: 0; }
.prose h3 { margin-top: 1.6em; font-size: clamp(18px, 2vw, 21px); }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose a { color: #ff7a33; text-underline-offset: 2px; overflow-wrap: anywhere; }
.prose strong { color: #f6f1ec; }
.prose .wp-block-table { margin-left: 0; margin-right: 0; overflow-x: auto; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid #3a1d14; text-align: left; vertical-align: top; }
.prose th { color: #f6f1ec; background: #150b08; }
.prose figcaption { margin-top: 8px; font-size: 14px; color: #b8aea7; }
.foot-link { color: inherit; text-underline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hdot { animation: none; } }
