/* AWM Invest - Light institutional (v3.34 consolidated, final) */

/* ===== Design tokens ===== */
:root{
  --bg:#fff;
  --surface:#fff;
  --surface-2:#f7f9fc;

  --text:#0b1320;
  --muted:#4b5563;
  --muted-2:#6b7280;

  --border:#e5e7eb;

  --accent:#2b4cff;
  --accent-2:#1f3dff;

  --shadow-sm:0 1px 2px rgba(16,24,40,.06);
  --shadow-md:0 14px 40px rgba(16,24,40,.10);

  --radius:14px;

  --container:1120px;

  --s2:8px;
  --s3:12px;
  --s4:16px;
  --s5:20px;
  --s6:24px;
  --s7:32px;
  --s8:40px;
  --s10:72px;

  --focus:3px solid rgba(43,76,255,.25);
  --hover:rgba(15,23,42,.04);

  --gutter-desktop: 24px;
  --gutter-mobile: 16px;
}

/* ===== Base ===== */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
.small{font-size:14px;color:var(--muted)}
:focus{outline:var(--focus);outline-offset:2px}

/* ===== Layout helpers ===== */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--s6);
}
.section{padding:var(--s10) 0}
.section-title{display:flex;flex-direction:column;gap:10px;margin-bottom:var(--s6)}
.section-kicker{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2)}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  padding:12px 16px;
  border-radius:12px;
  font-weight:600;
  box-shadow:var(--shadow-sm);
  cursor:pointer;
  text-decoration:none;
  line-height:1;
}
.btn:hover{background:var(--hover);text-decoration:none}
.btn:active{transform:translateY(1px)}
.btn-primary{
  background:var(--accent);
  color:#fff;
  border-color:transparent;
  box-shadow:0 10px 24px rgba(43,76,255,.20);
}
.btn-primary:hover{background:var(--accent-2)}
.btn-secondary{background:#fff}
.btn-ghost{background:transparent;box-shadow:none}

/* ===== Cards & grids ===== */
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding:var(--s6);
  min-width:0;
}
.grid{display:grid;gap:var(--s6)}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.prose{max-width:78ch;color:var(--muted)}

/* ✅ MOBILE: všetky 2/3 stĺpcové gridy -> 1 stĺpec */
@media (max-width: 820px){
  .grid-2{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
}

/* ===== Header ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(10px);
}
.site-header .container{
  padding-left: calc(var(--gutter-desktop) + env(safe-area-inset-left));
  padding-right: calc(var(--gutter-desktop) + env(safe-area-inset-right));
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  height:auto;
  min-height:72px;
  padding:12px 0;
}

/* Brand/logo */
.brand{
  display:flex;
  align-items:center;
  line-height:0;
  flex:0 0 auto;
  min-width:0;
}
.brand-logo{
  display:block;
  width:240px;
  height:auto;
  max-width:240px;
}

/* Desktop nav */
.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  flex:1 1 auto;
  white-space:nowrap;
  min-width:0;
}
.nav a{
  font-weight:600;
  color:var(--text);
  padding:8px 10px;
  border-radius:10px;
}
.nav a:hover{background:var(--hover);text-decoration:none}
.nav a.is-active{background:rgba(43,76,255,.08); color:var(--accent); text-decoration:none}

/* Dropdown */
.nav-dropdown{position:relative;display:inline-flex;align-items:center}
.nav-dropdown-toggle{
  all:unset;
  cursor:pointer;
  font-weight:600;
  padding:8px 10px;
  border-radius:10px;
}
.nav-dropdown-toggle:hover{background:var(--hover)}
.nav-dropdown-toggle.is-active{background:rgba(43,76,255,.08); color:var(--accent)}
.nav-dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:260px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:var(--shadow-md);
  padding:10px;
}
.nav-dropdown-menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
}
.nav-dropdown-menu a:hover{background:var(--hover);text-decoration:none}
.nav-dropdown-menu a.is-active{background:rgba(43,76,255,.08); color:var(--accent); text-decoration:none}

/* CTA right */
.header-cta{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}
.nav-toggle{display:none}

/* ===== Mobile header behavior ===== */
@media (max-width:980px){
  .site-header .container{
    padding-left: calc(var(--gutter-mobile) + env(safe-area-inset-left));
    padding-right: calc(var(--gutter-mobile) + env(safe-area-inset-right));
  }
  .nav{display:none}
  .header-cta-desktop{display:none}
  .nav-toggle{display:inline-flex}
  .header-inner{min-height:66px;padding:14px 0;gap:12px}
  .brand-logo{
    width:auto;
    max-width:70vw;
    height:48px;
  }
}

/* ===== Mobile menu drawer ===== */
.mobile-menu[hidden]{display:none !important;}
.mobile-menu{
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(10,15,25,.45);
  padding:0;
  margin:0;
  overflow:visible;
}

/* Drawer panel */
.mobile-menu-inner{
  position:absolute;
  top:0;
  right:0;
  left:auto;
  width:min(420px, 92vw);
  max-width:100%;
  height:100dvh;
  overflow-y:auto;
  overflow-x:visible;
  -webkit-overflow-scrolling:touch;
  background:#fff;
  border-left:1px solid var(--border);
  box-shadow:var(--shadow-md);
  padding:18px;
  padding-right: calc(18px + env(safe-area-inset-right));
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
  box-sizing:border-box;
}

.mobile-menu-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.mobile-menu-inner a{
  display:block;
  padding:12px 12px;
  border-radius:12px;
  font-weight:600;
  max-width:100%;
}
.mobile-menu-inner a:hover{background:var(--hover);text-decoration:none}
.mobile-menu-close{box-shadow:none}

/* details “Strategie” + rámčeky */
.mobile-details{
  border:1px solid var(--border);
  border-radius:14px;
  padding:6px;
  margin:10px 0 14px;
  max-width:100%;
}
.mobile-details summary{
  cursor:pointer;
  list-style:none;
  font-weight:700;
  padding:10px 10px;
}
.mobile-details summary::-webkit-details-marker{display:none}
.mobile-sub a{font-weight:600;padding:10px 10px;max-width:100%}

.mobile-cta{display:grid;gap:10px;margin-top:10px}
.mobile-meta{margin-top:14px;display:flex;gap:14px;flex-wrap:wrap}

/* ===== Hero (base) ===== */
.hero{
  padding:var(--s10) 0;
  background:
    radial-gradient(900px 220px at 18% 0%, rgba(43,76,255,.14), transparent 60%),
    radial-gradient(900px 220px at 85% 0%, rgba(43,76,255,.08), transparent 55%);
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.25fr .9fr;
  gap:var(--s8);
  align-items:start;
}
.hero h1{
  font-size:clamp(36px, 4.2vw, 56px);
  line-height:1.05;
  margin:0 0 14px;
}
.hero p{margin:0 0 16px;color:var(--muted);max-width:62ch}
.hero-badges{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 18px}
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:#fff;
  box-shadow:var(--shadow-sm);
  font-weight:600;
  color:var(--text);
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
@media (max-width:900px){
  .hero-inner{grid-template-columns:1fr;gap:var(--s7)}
}

/* ===== HERO v3 (homepage split) ===== */
.hero.hero--v3{ padding: 64px 0; }
.hero.hero--v3 .hero-inner.hero-v3{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap:24px;
  align-items:start;
}
.hero.hero--v3 .hero-lead{ margin:0; max-width:70ch; color:var(--muted); }

/* Right frame bigger + clickable tiles */
.hero.hero--v3 .hero-v3__right{ display:block; }
.hero.hero--v3 .hero-strategy-overview__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:12px;
}
.hero.hero--v3 .hero-strategy-chip--link{
  display:block;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
  background:var(--surface-2);
  text-decoration:none;
  color:inherit;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.hero.hero--v3 .hero-strategy-chip--link:hover{
  transform: translateY(-1px);
  border-color: rgba(59,130,246,.45);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  text-decoration:none;
}
.hero.hero--v3 .hero-strategy-chip__title{ font-weight:900; margin:0 0 6px; font-size:20px; }
.hero.hero--v3 .hero-strategy-chip__text{ margin:0; color:var(--muted); font-size:16px; line-height:1.45; }
.hero.hero--v3 .hero-strategy-chip__cta{ margin-top:10px; font-weight:800; color:var(--accent); }

.hero.hero--v3 .hero-strategy-overview__footer{ margin-top:12px; }
.hero.hero--v3 .hero-downlink{
  display:inline-block;
  color:var(--muted);
  text-decoration:none;
  border-bottom:1px dashed var(--border);
  padding-bottom:2px;
}
.hero.hero--v3 .hero-downlink:hover{ color:var(--text); }

/* Responsive */
@media (max-width:980px){
  .hero.hero--v3{ padding: 42px 0; }
  .hero.hero--v3 .hero-inner.hero-v3{ grid-template-columns:1fr; }
}

/* HERO v3 balance left */
.hero.hero--v3 .hero-v3__left{ padding-top: 8px; }
.hero.hero--v3 .hero-micro{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color: var(--muted);
  font-weight: 600;
}
@media (max-width:980px){
  .hero.hero--v3 .hero-v3__left{ padding-top: 0; }
}

/* ===== Process CTA ===== */
.process-cta{
  text-align:center;
  margin-top:16px;
}

/* ===== Forms ===== */
input, textarea, select, button{font:inherit}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea, select{
  width:100%;
  max-width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 12px;
  background:#fff;
  box-shadow:var(--shadow-sm);
  margin:0;
}
textarea{min-height:140px;resize:vertical}

/* CONTACT FORM mobile spacing */
@media (max-width: 820px){
  #kontakt .card form.form > div{ margin: 0 0 14px !important; }
  #kontakt .card form.form > div > label{
    display:block !important;
    margin: 0 0 8px !important;
    line-height: 1.25;
    font-weight: 600;
  }
  #kontakt .card form.form > div > input,
  #kontakt .card form.form > div > textarea{
    display:block !important;
    width:100% !important;
    margin: 0 !important;
  }
  #kontakt .card form.form > div:last-of-type{ margin-bottom: 16px !important; }
  #kontakt .card form.form textarea#contact_message{ margin-bottom: 16px !important; }
  #kontakt .card form.form > button.btn.btn-primary{
    width: 100% !important;
    justify-content: center;
    margin-top: 0 !important;
  }
  input, textarea, select{font-size:16px}
}

/* Contact form toast (AJAX confirmation) */
.form-toast{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 700;
}
.form-toast.is-ok{
  border-color: rgba(16,185,129,.35);
  background: rgba(16,185,129,.08);
}
.form-toast.is-err{
  border-color: rgba(239,68,68,.35);
  background: rgba(239,68,68,.07);
}

/* ===== Footer ===== */
.site-footer{
  border-top:1px solid var(--border);
  background:var(--surface);
  padding:var(--s8) 0;
}
.footer-inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap:var(--s7);
}
.footer-links{display:grid;gap:10px}
.footer-links a{color:var(--muted);font-weight:600}
.footer-links a:hover{color:var(--text);text-decoration:none}
@media (max-width:900px){
  .footer-inner{grid-template-columns:1fr}
}

/* =========================================================
   Strategy pages (shared for /strategie/*)
   Uses <body class="page-strategie"> from header.php
   Also supports older marker .strategy-page if present.
   ========================================================= */

/* Header/title section */
.page-strategie .strategy-hero,
.strategy-page .strategy-hero{
  text-align:center;
  margin: 0 auto var(--s6);
  max-width: 78ch;
}
.page-strategie .strategy-title,
.strategy-page .strategy-title{
  margin: 0;
  color: var(--accent);
  letter-spacing: .02em;
}
.page-strategie .strategy-subtitle,
.strategy-page .strategy-subtitle{
  margin: 10px auto 0;
  color: var(--muted);
  max-width: 68ch;
}

/* Blue headings inside cards */
.page-strategie .strategy-h2,
.strategy-page .strategy-h2{
  margin-top: 0;
  color: var(--accent);
}

/* Desktop: center text in cards, keep lists readable */
@media (min-width: 981px){
  .page-strategie .strategy-card,
  .strategy-page .strategy-card{
    text-align: center;
  }

  .page-strategie .strategy-card h2,
  .page-strategie .strategy-card h3,
  .strategy-page .strategy-card h2,
  .strategy-page .strategy-card h3{
    text-align: center;
  }

  .page-strategie .strategy-card p,
  .strategy-page .strategy-card p{
    text-align: center;
  }

  /* lists: centered as a block, bullets left-aligned inside */
  .page-strategie .strategy-card ul,
  .strategy-page .strategy-card ul{
    display: inline-block;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Bottom action buttons aligned and same height */
.page-strategie .strategy-actions,
.strategy-page .strategy-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top: var(--s6);
}
.page-strategie .strategy-actions .btn,
.strategy-page .strategy-actions .btn{
  min-width: 240px;
  height: 44px;
  white-space: nowrap;
}

/* Make the second CTA also “blue” (secondary but strong) */
.page-strategie .strategy-actions .btn.btn-secondary,
.strategy-page .strategy-actions .btn.btn-secondary{
  border-color: rgba(43,76,255,.45);
  color: var(--accent);
  background: rgba(43,76,255,.06);
  box-shadow: none;
}
.page-strategie .strategy-actions .btn.btn-secondary:hover,
.strategy-page .strategy-actions .btn.btn-secondary:hover{
  background: rgba(43,76,255,.10);
  text-decoration: none;
}

/* Mobile stacking */
@media (max-width: 820px){
  .page-strategie .strategy-actions,
  .strategy-page .strategy-actions{
    flex-direction: column;
    align-items: stretch;
  }
  .page-strategie .strategy-actions .btn,
  .strategy-page .strategy-actions .btn{
    width: 100%;
    min-width: 0;
  }
}

/* =========================================================
   GLOBAL TYPO + HEADINGS SYSTEM (SITE-WIDE)
   Goals:
   - All long-form text = justify
   - Unified readable width (px) for long paragraphs
   - Unified heading colors everywhere
   ========================================================= */

/* 0) Nastav jednotnú čitateľnú šírku (px)
   920–1040px je typicky “inštitucionálny” layout; vyberám 980px ako stred. */
:root{
  --text-measure: 980px; /* jednotná šírka textu (px) */
  --heading-blue: var(--blue-700, #1f57ff);
  --heading-dark: var(--text, #0f172a);
  --kicker-muted: var(--muted, rgba(15, 23, 42, .65));
}

/* 1) Jednotná farebná štruktúra nadpisov */
.section-kicker{
  color: var(--kicker-muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title h1,
h1{
  color: var(--heading-dark);
}

/* H2/H3 ako “modrá štruktúra” – v kartách aj v obsahu */
.card h2,
.card h3,
.section h2,
.section h3{
  color: var(--heading-blue);
}

/* 2) GLOBAL: justify pre texty (paragrafy + prose + tabuľky)
   Pozn.: justify na mobile môže vizuálne robiť “rieky”; ale chceš to jednotne,
   tak to nechávame aj na mobile. */
.site-main p,
.site-main .prose,
.site-main li,
.site-main td,
.site-main th{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;              /* lepšie zalamovanie v CZ/SK */
  -webkit-hyphens: auto;
  overflow-wrap: break-word;  /* ochrana pri dlhých slovách/url */
}

/* 3) Jednotná šírka dlhých textov (px) – bez toho, aby sme rozbíjali gridy.
   Aplikujeme len na “dlhé odseky”, nie na celé karty, aby 2×2 grid na indexe
   ostal nedotknutý. */
.site-main .card p,
.site-main .card .prose,
.site-main .section-title p,
.site-main .section-title .prose{
  max-width: var(--text-measure);
  margin-left: auto;
  margin-right: auto;
}

/* 4) V kartách nech nadpisy zostanú prirodzene zarovnané (nech sú konzistentné),
   ale text pod nimi bude mať jednotnú measure vyššie. */
.site-main .card h2,
.site-main .card h3{
  margin-left: auto;
  margin-right: auto;
  max-width: var(--text-measure);
}

/* 5) Zoznamy: aby odrážky neboli “rozsypané” (justify vie na li robiť divné medzery),
   držíme vnútorný blok zoznamu na measure, ale li ostáva justify (podľa požiadavky). */
.site-main .card ul,
.site-main .card ol{
  max-width: var(--text-measure);
  margin-left: auto;
  margin-right: auto;
}

/* 6) Sekčné titulky zjednotené – typicky centrované ako na /onas/
   (nadpis a perex), text perexu má measure. */
.section-title{
  text-align: center;
}

/* 7) Header: “Strategie” (button) nech má rovnaký font-weight ako ostatné položky
   (toto rieši rozdiel medzi <a> a <button>) */
.site-header .nav a,
.site-header .nav .nav-dropdown-toggle{
  font-weight: 700;
}

/* =========================================================
   FIX PACK (strategie header align, FAQ width+justify, registrace form)
   ========================================================= */

/* 1) STRATEGIE (/strategie/*): hlavička stránky nech sedí na rovnakú šírku ako karty
   - na screenshote je vidieť, že title blok pôsobí "mimo" zarovnania [Source: iqrFgJ4X]
*/
.page-strategie .section-title{
  max-width: 1120px;       /* musí sedieť s .container max-width (ak máš iné, uprav číslo) */
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;      /* musí sedieť s .container paddingom */
  padding-right: 24px;
}

/* (nech je to pekne centrované ako hero titulky) */
.page-strategie .section-title,
.page-strategie .section-title p,
.page-strategie .section-title .prose{
  text-align: center;
}

/* 2) FAQ (/faq/): odstrániť efekt "ľavý stĺpec + prázdno vpravo" + text do bloku
   - na screenshote je obsah nalepený doľava a veľké prázdno vpravo [Source: nEkm5DW3]
   Tento blok je zámerne tolerantný: ak je FAQ v nejakom 2-col gride, prehodí ho na 1-col.
*/
.page-faq .grid.grid-2,
.page-faq .grid-2{
  grid-template-columns: 1fr !important;
}

/* text do bloku v FAQ (aj odrážky zostanú normálne) */
.page-faq .card p,
.page-faq .card .prose,
.page-faq .card li{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* 3) REGISTRACE (/registrace/): odstrániť "vonkajší rám" formulára + zjednotiť rozostupy
   - žlté zvýraznenie chce preč: border/shadow okolo celého formulára [Source: XpTo5hYP]
   - oranžové: malé rozostupy medzi label/field pri niektorých poliach
*/
.page-registrace .card.form-card,
.page-registrace .card.form-wrap,
.page-registrace .card:has(form){
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* formulár ako taký: nech má jednotné gapy (funguje pre input/select/textarea) */
.page-registrace form .form-grid,
.page-registrace form{
  gap: 14px;
}

/* label + pole: rovnaká medzera ako pri prvých poliach (na screenshote zelené) */
.page-registrace form label{
  display: block;
  margin-bottom: 8px;
}

/* každý blok poľa nech má rovnaký odstup */
.page-registrace form .form-field,
.page-registrace form .form-group{
  margin: 0 0 14px 0;
}

/* select/textarea často vyzerajú inak – zjednotíme */
.page-registrace form input,
.page-registrace form select,
.page-registrace form textarea{
  width: 100%;
}

/* mobil: ešte viac “dychu” */
@media (max-width: 820px){
  .page-registrace form .form-group,
  .page-registrace form .form-field{
    margin-bottom: 16px;
  }
}

/* =========================================================
   REGISTRACE (page-registrace) – unified spacing + checkbox rows + button gap
   Based on screenshots: [45IzxwHN], [pLj1LRwh]
   ========================================================= */

.page-registrace-section .reg-wrap{
  max-width: 900px;
  margin: 0 auto;
}

/* odstrániť vonkajší rám (card) */
.page-registrace .form-card{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* form rytmus */
.page-registrace .reg-form{
  display: grid;
  gap: 16px;
}

/* 2-col pre meno/priezvisko, mobile 1-col */
.page-registrace .form-grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 820px){
  .page-registrace .form-grid-2{ grid-template-columns: 1fr; }
}

/* label spacing */
.page-registrace .reg-form .form-label{
  display: block;
  margin: 0 0 8px 0;
}

/* groups without random margins */
.page-registrace .reg-form .form-group{
  margin: 0;
}

/* checkbox row */
.page-registrace .reg-form .check-row{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  line-height: 1.45;
}
.page-registrace .reg-form .check-row > input[type="checkbox"]{
  flex: 0 0 auto;
  margin-top: 3px;
}
.page-registrace .reg-form .check-row > span{
  display: block;
}

/* info note block */
.page-registrace .reg-form .form-note{
  background: rgba(31, 87, 255, 0.06);
  border: 1px solid rgba(31, 87, 255, 0.14);
  border-left: 4px solid var(--blue-700, #1f57ff);
  padding: 14px 16px;
  border-radius: 14px;
}

/* button further down */
.page-registrace .reg-form .form-actions{
  margin-top: 12px;
}
.page-registrace .reg-form .form-actions .btn{
  width: 100%;
  justify-content: center;
}

/* =========================================================
   REGISTRACE: checkboxy + text musia byť v jednom riadku (nie 2 stĺpce)
   Fix pre layout zobrazený na screenshote: eyYmKZx0
   ========================================================= */

.page-registrace #registrace-form .checkbox-label{
  /* zrušíme “space-between” / pravý stĺpec efekt */
  display: flex !important;
  align-items: flex-start;
  justify-content: flex-start !important;
  gap: 10px;

  width: 100%;
  max-width: 100%;
}

/* checkbox nesmie byť float/absolute – musí byť normálne na začiatku riadku */
.page-registrace #registrace-form .checkbox-label input[type="checkbox"],
.page-registrace #registrace-form .form-checkbox{
  position: static !important;
  float: none !important;
  margin: 3px 0 0 0 !important;  /* optické zarovnanie k 1. riadku textu */
  flex: 0 0 auto;
}

/* text musí zabrať zvyšok riadku, nie byť úzky stĺpec vpravo */
.page-registrace #registrace-form .checkbox-label span{
  flex: 1 1 auto;
  min-width: 0;          /* dôležité pri flexe – aby sa text správne lámal */
  max-width: none !important;
}

/* ak by checkbox bloky boli náhodou v 2-col gride, nech vždy zaberú celý riadok */
.page-registrace #registrace-form .checkbox-label{
  grid-column: 1 / -1;
}

/* =========================================================
   HOTFIX  – Registrace checkbox layout + form rhythm
   Works even if body class page-registrace is missing.
   ========================================================= */

/* A) Podpora pre triedy použité v HTML (grid-cols-1, grid-cols-md-2) */
.grid-cols-1{ grid-template-columns: 1fr; }
@media (min-width: 820px){
  .grid-cols-md-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* B) Zjednotenie rytmu registračného formulára (bez závislosti na body class) */
#registrace-form{
  display: grid;
  gap: 16px;
}

/* vnútorný 2-col grid pre meno/priezvisko */
#registrace-form .grid.grid-cols-1{
  display: grid;
  gap: 16px;
}

/* form-group bez náhodných spodných marginov */
#registrace-form .form-group{
  margin: 0 !important;
}

/* label spacing jednotne */
#registrace-form .form-label{
  display:block;
  margin: 0 0 8px 0 !important;
}

/* C) Checkboxy musia byť „v jednom riadku“: checkbox + text hneď vedľa seba */
#registrace-form .checkbox-label{
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;

  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* checkbox nesmie byť odsunutý/pozicionovaný */
#registrace-form .checkbox-label input[type="checkbox"],
#registrace-form .form-checkbox{
  position: static !important;
  float: none !important;
  flex: 0 0 auto !important;
  margin: 3px 0 0 0 !important;
}

/* text má zabrať zvyšok šírky a normálne sa lámať */
#registrace-form .checkbox-label span{
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  white-space: normal !important;
}

/* ak by checkboxy boli v gride, nech idú cez celý riadok */
#registrace-form .checkbox-label{
  grid-column: 1 / -1;
}

/* D) tlačidlo musí byť ďalej pod textom */
#registrace-form #submit-btn{
  margin-top: 12px !important;
  width: 100%;
}

/* =========================================================
   HOTFIX – FAQ: karta nech využije šírku kontajnera + justify
   (aj keď nemáš page-faq class)
   ========================================================= */

/* Najbezpečnejšie: ak je FAQ v /faq/ a obsah je v .card, nech nie je úzky stĺpec */
body .site-main .card{
  /* nič nemeníme globálne – len typografiu už máš; šírku riešime cez kontajner */
}

/* Ak má FAQ wrapper náhodou inline max-width, toto ho prebije len pre typické FAQ nadpisy */
.site-main .card h2 + p,
.site-main .card h3 + p{
  text-align: justify;
}

/* FAQ: karta má byť plná šírka kontajnera, text do bloku */
.page-faq .faq-card{
  max-width: 100% !important;
}
.page-faq .faq-card p,
.page-faq .faq-card li{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Strategie: hero (kicker+h1+subtitle) nech sedí šírkou ako container */
.page-strategie .strategy-hero{
  max-width: var(--container) !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--s6);
  padding-right: var(--s6);
}

/* =========================================================
   REGISTRACE: checkbox + text v jednom riadku (žiadne 2 stĺpce)
   Fix pre stav zo screenshotu: CtoocUAg
   ========================================================= */

.page-registrace #registrace-form .form-group > label.checkbox-label{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  gap:12px !important;

  width:100% !important;
  max-width:100% !important;

  /* dôležité: zrušíme “pravý stĺpec” správanie */
  text-align:left !important;
}

.page-registrace #registrace-form .form-group > label.checkbox-label > input[type="checkbox"]{
  flex:0 0 auto !important;
  margin:3px 0 0 0 !important;
  position:static !important;
  float:none !important;
}

.page-registrace #registrace-form .form-group > label.checkbox-label > span{
  flex:1 1 auto !important;
  min-width:0 !important;        /* aby sa text lámal normálne */
  width:auto !important;
  max-width:none !important;
  white-space:normal !important;
}

/* aby sa checkbox-label nikdy nesnažil ísť do 2-col gridu */
.page-registrace #registrace-form .form-group > label.checkbox-label{
  grid-column: 1 / -1 !important;
}

/* =========================================================
   FINAL FIX: Strategy subtitle centered + Registrace check-row one-line layout
   ========================================================= */

/* A) /strategie/* – podtitulok musí byť vycentrovaný (override global justify na p) */
.page-strategie .strategy-hero .strategy-subtitle{
  text-align: center !important;
  text-justify: auto !important;
  max-width: 980px;          /* aby sa pekne lámal, nie do príliš dlhého riadku */
  margin: 10px auto 0 !important;
}

/* B) /registrace/ – checkbox + text MUSIA byť v jednom riadku, nie 2 stĺpce */
.page-registrace #registrace-form label.check-row{
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 12px !important;

  width: 100% !important;
  max-width: none !important;

  /* zrušíme akékoľvek staré layouty */
  float: none !important;
  position: static !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* checkbox nech je vždy na začiatku riadku */
.page-registrace #registrace-form label.check-row > input[type="checkbox"]{
  flex: 0 0 auto !important;
  margin: 3px 0 0 0 !important;   /* optické zarovnanie k 1. riadku textu */
  position: static !important;
  float: none !important;
}

/* text nech zaberie zvyšok šírky a láme sa normálne (nie úzky pravý stĺpik) */
.page-registrace #registrace-form label.check-row > span{
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;

  display: block !important;
  white-space: normal !important;
  text-align: left !important;

  /* poistka proti “stĺpcovému” správaniu */
  column-count: 1 !important;
}

/* ak by sa check-row ocitol v gride, nech ide cez celý riadok */
.page-registrace #registrace-form label.check-row{
  grid-column: 1 / -1 !important;
}

/* =========================================================
   REGISTRACE: check-row reset (zruší pravý úzky stĺpec)
   Stav zo screenshotu: 6hnu5Uk0
   ========================================================= */

.page-registrace #registrace-form label.check-row{
  /* musí byť jeden riadok: checkbox + text vedľa seba */
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 12px !important;

  /* zrušiť akékoľvek staré “layout triky” */
  position: static !important;
  inset: auto !important;
  float: none !important;
  transform: none !important;

  width: 100% !important;
  max-width: 100% !important;

  /* ak by niečo nastavovalo text-align a rozbíjalo to */
  text-align: left !important;

  /* aby sa label správal ako normálny blok v toku */
  margin: 0 !important;
  padding: 0 !important;
}

/* checkbox vždy na začiatku */
.page-registrace #registrace-form label.check-row > input[type="checkbox"]{
  flex: 0 0 auto !important;
  position: static !important;
  inset: auto !important;
  float: none !important;
  transform: none !important;
  margin: 3px 0 0 0 !important;
}

/* text nesmie byť absolútne pozicionovaný ani úzko obmedzený */
.page-registrace #registrace-form label.check-row > span{
  flex: 1 1 auto !important;
  min-width: 0 !important;

  display: block !important;

  position: static !important;
  inset: auto !important;
  float: none !important;
  transform: none !important;

  width: auto !important;
  max-width: none !important;

  white-space: normal !important;
  text-align: left !important;

  /* poistky proti “stĺpcom” */
  column-count: 1 !important;
  columns: auto !important;
}

/* ak sú check-row niekde v gride, nech zaberú celý riadok */
.page-registrace #registrace-form label.check-row{
  grid-column: 1 / -1 !important;
}
/* =========================================================
   REGISTRACE – FIX: grid item shrink (span width ~90px)
   Donúti #registrace-form na 1 stĺpec + stretch položiek
   ========================================================= */

.page-registrace #registrace-form{
  display: grid !important;
  grid-template-columns: 1fr !important;   /* vždy 1 stĺpec v tejto časti */
  justify-items: stretch !important;       /* kľúčové: položky sa nesmú zmrštiť */
  align-items: start !important;
}

/* check-row musí zabrať plnú šírku gridu */
.page-registrace #registrace-form label.check-row{
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}

/* checkbox na začiatok */
.page-registrace #registrace-form label.check-row > input[type="checkbox"]{
  flex: 0 0 auto !important;
  margin: 3px 0 0 0 !important;
}

/* text musí dostať reálnu šírku (nie 90px) */
.page-registrace #registrace-form label.check-row > span{
  flex: 1 1 0 !important;      /* basis 0 = vezmi všetok zvyšný priestor */
  width: 100% !important;      /* poistka proti úzkemu “stĺpiku” */
  min-width: 0 !important;
  max-width: none !important;
  white-space: normal !important;
  text-align: left !important;
}

/* =========================================================
   REGISTRACE – hard fix: span stuck at ~90px
   Donúti text vedľa checkboxu zabrať šírku riadku.
   ========================================================= */

.page-registrace #registrace-form{
  justify-items: stretch !important;
}

/* label musí byť na 100% šírky */
.page-registrace #registrace-form label.check-row{
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 12px !important;

  width: 100% !important;
  min-width: 100% !important;  /* dôležité: nech sa grid item nikdy nezmrští */
}

/* checkbox fixná šírka */
.page-registrace #registrace-form label.check-row > input[type="checkbox"]{
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 3px 0 0 0 !important;
}

/* KĽÚČ: textový span natvrdo zoberie zvyšok riadku (a už nebude 90px) */
.page-registrace #registrace-form label.check-row > span{
  flex: 0 0 calc(100% - 30px) !important; /* 18px checkbox + gap rezerva */
  width: calc(100% - 30px) !important;
  max-width: none !important;
  min-width: 0 !important;

  display: block !important;
  white-space: normal !important;
  text-align: left !important;
}


/* HS hero tags (pills) */
.strategy-hero-tags{
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  text-align: center;
}

.strategy-tag{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap; /* každý tag drž spolu, ale zalamuje sa medzi tagmi */
}

/* =========================================================
   HERO (Edukace + Strategie) – sjednocení subtitle a tagů
   Vložit ideálně na KONEC assets/css/main.css
   ========================================================= */

/* Subtitle: vždy na střed, bez omezení šířky řádku */
.strategy-hero .strategy-subtitle{
  text-align: center;
  max-width: none !important; /* sjednocení zalamování mezi stránkami */
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Tagy/chipy v hero sekci – základ (desktop/tablet) */
.strategy-hero .strategy-hero-tags{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 10px;
  margin-top: 14px;
}

/* Vzhled chipu (platí i pro edukace i strategie) */
.strategy-hero .strategy-hero-tags .strategy-tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(30, 64, 175, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
}

/* -------------------------
   MOBIL: vertikální přehled
   ------------------------- */
@media (max-width: 520px){

  /* Tagy v hero: místo „hromady slov“ uděláme přehlednou mřížku */
  .strategy-hero .strategy-hero-tags{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
    align-items: stretch;
  }

  /* Chip na mobilu vyplní buňku – působí to jako „štítky v seznamu“ */
  .strategy-hero .strategy-hero-tags .strategy-tag{
    width: 100%;
    white-space: normal;     /* dovolí zalomení u delších tagů */
    text-align: center;
    padding: 9px 10px;
    font-size: 12px;
  }
}

/* Extra úzké mobily: 1 sloupec */
@media (max-width: 360px){
  .strategy-hero .strategy-hero-tags{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   KARTY ČLÁNKŮ (Edukace + Strategie) – centrování obsahu
   Cíl: přehledové karty v indexech (klikatelné <a> karty)
   ========================================================= */

.strategy-stack > a.card.strategy-card{
  text-align: center;
}

/* Nadpis a popisek v kartě */
.strategy-stack > a.card.strategy-card .strategy-h2,
.strategy-stack > a.card.strategy-card h2,
.strategy-stack > a.card.strategy-card .prose{
  text-align: center;
}

/* Popisek zarovnat a držet pěkně uprostřed */
.strategy-stack > a.card.strategy-card .prose{
  margin-left: auto;
  margin-right: auto;
}

/* Tagy v kartách – vycentrovat a udělat z nich čitelné chipy i na mobilu */
.strategy-stack > a.card.strategy-card .strategy-hero-tags{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 10px;
}

/* Mobil: trochu menší mezery a čitelnější rozložení */
@media (max-width: 520px){
  .strategy-stack > a.card.strategy-card .strategy-hero-tags{
    gap: 8px 8px;
  }
}

/* =========================================================
   ČLÁNKY (Edukace + Strategie) – centrování OBSAHU v kartě
   Řeší úvodní věty (<p class="prose">) pod nadpisy, které
   zůstávaly zarovnané doleva. [Source](https://www.genspark.ai/api/files/s/uLUB1eBE)
   ========================================================= */

.strategy-page .strategy-card{
  text-align: center;
}

/* pojistka pro prose odstavce uvnitř karty */
.strategy-page .strategy-card .prose{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   TOC na stránkach /strategie – chipy ako prehľadný zoznam
   ========================================================= */

.toc-tags{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 10px;
  margin-top: 10px;
}

.toc-tags .strategy-tag{
  text-decoration: none; /* aby <a> nebolo podčiarknuté */
  cursor: pointer;
}

/* Mobil: vertikálne prehľadné rozloženie (2 stĺpce / 1 stĺpec) */
@media (max-width: 520px){
  .toc-tags{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
    align-items: stretch;
  }

  .toc-tags .strategy-tag{
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 360px){
  .toc-tags{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   STRATEGIE – TOC bez "card" rámu + lepšie umiestnenie
   ========================================================= */

.strategy-toc.card.strategy-card{
  /* odstráni zelený vonkajší rám (card look) */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  /* zruší vnútorné odsadenie, aby ostali len chipy */
  padding: 0 !important;

  /* posun vyššie medzi hero a prvý box (doladíš podľa chuti) */
  margin-top: -10px !important;
  /* margin-bottom: 30px !important; */
}

/* ak by ti to stále nechávalo nejaké "zaoblenie" alebo čiaru */
.strategy-toc.card.strategy-card::before,
.strategy-toc.card.strategy-card::after{
  display: none !important;
  content: none !important;
}

/* Odstup medzi TOC chipmi a prvým rámom */
.toc-tags{
  margin-bottom: 20px; /* skús 6–10px podľa chuti */
}
