/* ==========================================================================
   PracujemDoma.cz – design 2026
   ========================================================================== */
:root {
  --navy: #0d2a4f;
  --navy-2: #133a6b;
  --blue: #2563c0;
  --blue-dark: #1b4c97;
  --blue-50: #eef4fd;
  --blue-100: #d9e6fa;
  --red: #e0162b;
  --red-dark: #bd0f21;
  --green: #16a34a;
  --ink: #0f1b2d;
  --ink-2: #44526a;
  --muted: #5a687d;
  --line: #e4e9f1;
  --bg: #f5f7fb;
  --card: #fff;
  --r-lg: 20px;
  --r: 14px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .05);
  --shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 6px 20px -6px rgba(15, 27, 45, .10);
  --shadow-lg: 0 2px 6px rgba(15, 27, 45, .06), 0 20px 44px -12px rgba(15, 27, 45, .22);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; line-height: 1.5; }
.center { text-align: center; }
.req { color: var(--red); }
.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip { position: absolute; left: -9999px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow-lg); }
:focus-visible { outline: 3px solid rgba(37, 99, 192, .45); outline-offset: 2px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding-top: 48px; padding-bottom: 48px; }
.section-top { padding-top: 16px; }
.section-narrow { max-width: 860px; }
.section-tint { background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 10px;
}
.eyebrow .icon { width: 16px; height: 16px; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, box-shadow .15s, transform .1s, color .15s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 99, 192, .6); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-accent { background: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(224, 22, 43, .6); }
.btn-accent:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-100); color: var(--blue); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-50); color: var(--navy); }
.btn-large { padding: 15px 28px; font-size: 1.02rem; border-radius: 14px; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; color: var(--ink-2); background: transparent; border: 0; cursor: pointer;
}
.icon-btn:hover { background: var(--bg); color: var(--blue); }
.icon-btn .icon { width: 22px; height: 22px; }

/* ---------- hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(15, 27, 45, .25); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo img { width: 200px; }
.main-nav { display: flex; gap: 4px; margin-left: 12px; }
.main-nav > a {
  padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
}
@media (max-width: 1320px) and (min-width: 901px) { .main-nav > a[href="/#jak-to-funguje"] { display: none; } }
.main-nav > a:hover { color: var(--ink); background: var(--bg); }
.main-nav > a.is-active { color: var(--blue); background: var(--blue-50); }
.nav-mobile-cats { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }

/* ---------- drobečky ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); padding-top: 18px; padding-bottom: 4px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; display: inline-flex; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs .icon { width: 16px; height: 16px; }
.breadcrumbs > *:not(:last-child)::after { content: ""; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid #b6c0d0; border-top: 1.5px solid #b6c0d0; transform: rotate(45deg); display: inline-block; align-self: center; }
.breadcrumbs span[aria-current] { color: var(--ink-2); font-weight: 500; }

/* ---------- hero (úvod) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(80, 140, 255, .45), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(224, 22, 43, .28), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero::after { /* jemná mřížka */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding-top: 44px; padding-bottom: 48px; }
.hero .eyebrow { color: #b9d3ff; text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 600; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 14px; }
.hero .hl { background: linear-gradient(90deg, #ff5a6b, #ff9a8b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.08rem; color: rgba(255, 255, 255, .8); max-width: 540px; margin-bottom: 22px; }
.hero-lead strong { color: #fff; }

.hero-search {
  display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 16px; padding: 8px 8px 8px 16px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); max-width: 620px; color: var(--muted);
}
.hero-search > .icon { width: 22px; height: 22px; }
.hero-search input {
  flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; padding: 10px 4px !important; font-size: 1rem; background: transparent;
}
.hero-search select {
  width: auto; border: 0 !important; border-left: 1px solid var(--line) !important; border-radius: 0 !important;
  box-shadow: none !important; padding: 8px 28px 8px 12px !important; color: var(--ink-2); font-weight: 600; background-color: transparent;
}
.hero-search .btn { padding: 12px 22px; }
.hero-search-light { box-shadow: var(--shadow); border: 1px solid var(--line); margin: 18px auto 18px 0; }
.empty .hero-search-light { margin: 18px auto; }

.hero-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; max-width: 620px; }
.hero-cats span { color: rgba(255, 255, 255, .6); font-size: .85rem; margin-right: 2px; }
.hero-cats a {
  padding: 5px 12px; border-radius: 999px; font-size: .85rem; font-weight: 500; text-decoration: none;
  color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  transition: background .15s, border-color .15s;
}
.hero-cats a:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .35); color: #fff; }

/* vizuál: náhled aplikace + telefon s SMS */
.hero-visual { position: relative; padding: 18px 70px 64px 0; }
.mock {
  background: #fff; border-radius: 18px; overflow: hidden; color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); transform-origin: left center;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f4f9; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dbe5; }
.mock-bar i:first-child { background: #ff6b6b; } .mock-bar i:nth-child(2) { background: #ffc94d; } .mock-bar i:nth-child(3) { background: #4cd38a; }
.mock-bar em { margin-left: 10px; flex: 1; font-style: normal; font-size: .72rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 3px 10px; }
.mock-body { padding: 16px; display: grid; gap: 10px; }
.mock-title { margin: 0 0 2px; font-weight: 800; font-size: .95rem; }
.mock-ad { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.mock-ad .cat-ico { width: 36px; height: 36px; border-radius: 10px; }
.mock-ad .cat-ico .icon { width: 18px; height: 18px; }
.mock-ad div { flex: 1; min-width: 0; line-height: 1.3; }
.mock-ad strong { display: block; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-ad small { font-size: .72rem; color: var(--muted); }
.mock-go { width: 26px; height: 26px; border-radius: 50%; background: var(--bg); color: var(--muted); display: flex; align-items: center; justify-content: center; }
.mock-go .icon { width: 14px; height: 14px; }
.mock-ad:first-of-type { border-color: var(--blue-100); background: var(--blue-50); }
.mock-ad:first-of-type .mock-go { background: var(--blue); color: #fff; }

.mock-phone {
  position: absolute; right: -18px; bottom: -6px; width: 168px; padding: 26px 12px 14px; border-radius: 28px;
  background: #0b1424; border: 3px solid #26344d; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  animation: float 6s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 8px; left: 50%; width: 52px; height: 6px; margin-left: -26px; border-radius: 6px; background: #26344d; }
.sms-bubble { background: #26344d; color: #e7eefb; font-size: .78rem; line-height: 1.4; padding: 10px 12px; border-radius: 14px 14px 14px 4px; }
.sms-bubble small { display: block; color: #8fa3c2; font-size: .66rem; margin-bottom: 3px; }
.sms-bubble b { color: #fff; letter-spacing: .08em; }
.sms-unlocked { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 10px; border-radius: 10px; background: #16a34a; color: #fff; font-size: .74rem; font-weight: 700; }
.sms-unlocked .icon { width: 14px; height: 14px; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink);
  padding: 10px 16px 10px 10px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .88rem; line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: .76rem; }
.fc-2 { left: -28px; bottom: 18px; animation-delay: -3s; }
.fc-check { width: 34px; height: 34px; border-radius: 50%; background: #dcfce7; color: var(--green); display: flex; align-items: center; justify-content: center; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.section-ads { padding-top: 40px; }

/* ---------- ikony kategorií ---------- */
.cat-ico { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cat-ico .icon { width: 22px; height: 22px; }
.cat-ico-lg { width: 52px; height: 52px; border-radius: 14px; }
.cat-ico-lg .icon { width: 26px; height: 26px; }
.cat-ico-xl { width: 60px; height: 60px; border-radius: 16px; }
.cat-ico-xl .icon { width: 30px; height: 30px; }
.c-blue   { background: #e6efff; color: #2563c0; }
.c-orange { background: #fff1e3; color: #d9640b; }
.c-violet { background: #f1eaff; color: #7c3aed; }
.c-green  { background: #e3f8eb; color: #15803d; }
.c-teal   { background: #e0f6f6; color: #0f8a8a; }
.c-slate  { background: #eef1f6; color: #4b5b73; }

/* ---------- sekce: nadpisy ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; }
.section-head.center { justify-content: center; text-align: center; margin-bottom: 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

.seg-links { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 2px; }
.seg-links a { padding: 7px 16px; border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--ink-2); text-decoration: none; }
.seg-links a:hover { color: var(--ink); }
.seg-links a.is-active { background: var(--navy); color: #fff; }

/* ---------- dlaždice oborů ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cat-tile {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; text-decoration: none; color: var(--ink);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cat-tile .cat-ico { grid-row: span 2; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.cat-tile-name { font-weight: 700; font-size: 1.05rem; }
.cat-tile-count { font-size: .85rem; color: var(--muted); }

/* ---------- dva sloupce ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.main-col { min-width: 0; }
.aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 16px); }
.aside-ad { text-align: center; }
.ad-label { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-placeholder {
  display: flex; align-items: center; justify-content: center; min-height: 120px; border-radius: var(--r);
  background: repeating-linear-gradient(45deg, #eef1f6, #eef1f6 10px, #f5f7fb 10px, #f5f7fb 20px); color: var(--muted); font-size: .8rem;
}
.aside .ad-placeholder { min-height: 280px; }
.ad-slot { margin: 24px 0; }

/* ---------- karty ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.card-pad { padding: 22px; }
.card-title { font-size: 1.05rem; margin-bottom: 8px; }
.partners ul { list-style: none; margin: 0; padding: 0; }
.partners li { padding: 12px 0; border-top: 1px solid var(--line); }
.partners li:first-child { border-top: 0; padding-top: 0; }
.partners a { font-weight: 600; font-size: .92rem; text-decoration: none; }
.partners p { font-size: .8rem; color: var(--muted); margin: 2px 0 0; line-height: 1.45; }

/* ---------- inzeráty ---------- */
.ad-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ad-card {
  position: relative; display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.ad-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ad-card.is-top { border-color: #ffd2d7; background: linear-gradient(135deg, #fff 60%, #fff5f6); }
.ad-card-body { flex: 1; min-width: 0; }
.ad-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 6px; font-size: .8rem; }
.ad-cat { color: var(--muted); font-weight: 600; text-decoration: none; position: relative; z-index: 1; }
a.ad-cat:hover { color: var(--blue); }
.ad-loc { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); text-decoration: none; position: relative; z-index: 1; }
.ad-loc .icon { width: 14px; height: 14px; }
.ad-title { margin: 0 0 6px; font-size: 1.08rem; line-height: 1.35; }
.ad-title a { color: var(--ink); text-decoration: none; }
.ad-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); } /* celá karta je odkaz */
.ad-card:hover .ad-title a { color: var(--blue); }
.ad-excerpt {
  color: var(--ink-2); font-size: .93rem; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ad-go {
  align-self: center; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--bg); color: var(--muted); transition: background .15s, color .15s, transform .15s;
}
.ad-go .icon { width: 18px; height: 18px; }
.ad-card:hover .ad-go { background: var(--blue); color: #fff; transform: translateX(2px); }
.ad-inline { list-style: none; }
.ad-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ad-grid .ad-card { flex-direction: column; }
.ad-grid .ad-go { display: none; }
.ad-grid .ad-excerpt { -webkit-line-clamp: 3; }

.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; }
.badge .icon { width: 13px; height: 13px; }
.badge-nabidky { background: #dcfce7; color: #15803d; }
.badge-poptavky { background: #fef3c7; color: #a16207; }
.badge-top { background: #ffe4e8; color: var(--red-dark); }

/* ---------- stránkování ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 28px 0 0; align-items: center; justify-content: center; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .95rem;
}
.pagination a { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .pg-current { background: var(--navy); color: #fff; }
.pagination .pg-gap { color: var(--muted); min-width: 20px; padding: 0; }

/* ---------- hlavička stránky (kategorie, formulář…) ---------- */
.page-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0 0; }
.page-hero-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; }
.page-hero-text { flex: 1; min-width: 220px; }
.page-hero h1 { margin: 0 0 4px; }
.page-hero .eyebrow { margin-bottom: 4px; }
.page-hero p.muted { margin: 0; }
.page-hero-compact { padding-bottom: 28px; }
.page-hero > .wrap:only-child { padding-bottom: 28px; }
.chips { position: relative; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 16px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.chips-wrap { -webkit-mask-image: none; mask-image: none; }
.chips::-webkit-scrollbar { display: none; }
.chips-wrap { flex-wrap: wrap; justify-content: center; overflow: visible; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: .88rem; text-decoration: none;
}
.chip span { font-size: .75rem; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 1px 7px; }
.chip:hover { border-color: var(--blue-100); color: var(--blue); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-active span { background: rgba(255, 255, 255, .15); color: #fff; }

/* ---------- odběr ---------- */
.subscribe .card-title { margin-top: 12px; }
.subscribe-form { display: grid; gap: 8px; margin: 12px 0 10px; }
.subscribe .tiny { margin: 0; }
.subscribe .tiny .icon { width: 14px; height: 14px; vertical-align: -2px; }

/* ---------- jak to funguje ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 32px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.step p { color: var(--ink-2); margin: 0; }
.step-ico {
  width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-50); color: var(--blue); margin-bottom: 16px; flex: none;
}
.step-ico .icon { width: 24px; height: 24px; }
.step-ico-sm { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 0; }
.step-ico-sm .icon { width: 20px; height: 20px; }
.step-ico-green { background: #dcfce7; color: var(--green); }
.step-ico-red { background: #ffe4e8; color: var(--red); }

/* ---------- bezpečnost ---------- */
.safety { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px; }
.safety-intro p { color: var(--ink-2); margin: 0; }
.safety-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.safety-list li { display: flex; gap: 12px; }
.safety-list li > .icon { width: 22px; height: 22px; color: var(--green); background: #dcfce7; border-radius: 50%; padding: 3px; margin-top: 2px; }
.safety-list strong { display: block; margin-bottom: 2px; }
.safety-list span { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); }

/* ---------- detail inzerátu ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.detail { padding: 32px; }
.detail-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.detail-head h1 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); overflow-wrap: anywhere; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 4px 0 10px; font-size: .85rem; }
.detail-body { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; max-width: 70ch; }
.detail-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; }
.share { display: flex; gap: 6px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: 600 .85rem var(--font); cursor: pointer; text-decoration: none;
}
.share-btn:hover { border-color: var(--blue-100); color: var(--blue); }
.share-btn .icon { width: 17px; height: 17px; }
.tip { display: flex; gap: 14px; align-items: flex-start; background: #f0fdf4; border-color: #c9f0d6; }
.tip > .icon { width: 24px; height: 24px; color: var(--green); margin-top: 1px; }
.tip p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.tip a { display: inline-flex; align-items: center; gap: 3px; }
.tip a .icon { width: 14px; height: 14px; }

.detail-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 16px); }
.contact-card { padding: 24px; border-top: 4px solid var(--red); box-shadow: var(--shadow); }
.contact-card.is-open { border-top-color: var(--green); }
.contact-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.contact-head .step-ico { margin: 0; }
.contact-head h2 { font-size: 1.15rem; margin: 0; }
.contact-head p { margin: 0; }
.contact-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.contact-list small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.contact-list a, .contact-list span { font-weight: 600; overflow-wrap: anywhere; }
.contact-ico { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-ico .icon { width: 18px; height: 18px; }
.contact-list.is-locked .blur { filter: blur(5px); user-select: none; color: var(--ink-2); }
.unlock-steps { list-style: none; counter-reset: s; margin: 0 0 14px; padding: 0; display: grid; gap: 14px; }
.unlock-steps li { counter-increment: s; position: relative; padding-left: 38px; font-size: .92rem; color: var(--ink-2); }
.unlock-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center;
}
.sms-box {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline; margin-top: 8px;
  padding: 12px 16px; border-radius: 12px; background: #fff5f6; border: 1px dashed #ffb3bd; color: var(--ink); text-decoration: none;
}
.sms-box:hover { color: var(--ink); }
.sms-box span { font-size: .8rem; color: var(--muted); }
.sms-box strong { font-size: 1.25rem; color: var(--red); letter-spacing: .02em; white-space: nowrap; line-height: 1.3; }
.sms-box b { font-size: .95rem; color: var(--ink); }
.sms-link { display: none; margin-top: 8px; }
.masked { color: #9aa6b8 !important; letter-spacing: .05em; font-weight: 600; }
.contact-list.is-locked li { position: relative; }
.lock-mini { margin-left: auto; color: #b6c0d0; display: flex; }
.lock-mini .icon { width: 16px; height: 16px; }
.alert a { color: inherit; font-weight: 600; }
mark { background: #fff3a3; color: inherit; border-radius: 3px; padding: 0 2px; }
.unlock-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: #dcfce7; color: #166534; font-size: .82rem; font-weight: 700; white-space: nowrap;
}
.unlock-pill .icon { width: 16px; height: 16px; }
.code-form { display: flex; gap: 8px; margin-top: 8px; }
.code-form input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; text-align: center; font-size: 1.05rem; }
.code-form .btn { padding: 11px 16px; }
.unlock-benefit { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; padding: 10px 12px; border-radius: 12px; background: #f0fdf4; color: #166534; }
.unlock-benefit .icon { width: 18px; height: 18px; margin-top: 2px; }
.why { margin-top: 6px; font-size: .9rem; }
.why summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.why p { margin: 10px 0 0; color: var(--ink-2); }
.similar { margin-top: 48px; }

/* ---------- hlášky ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; margin: 0 0 16px; font-size: .92rem; }
.alert .icon { width: 20px; height: 20px; margin-top: 1px; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert-ok { background: #ecfdf3; color: #166534; border: 1px solid #c9f0d6; }
.alert-error { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.empty, .success { padding: 48px 28px; text-align: center; }
.empty .step-ico, .success .step-ico { margin: 0 auto 16px; }
.empty .cat-ico { margin-bottom: 16px; }
.big-code { font-size: 5rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 0 0 8px; background: linear-gradient(135deg, var(--blue), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- formuláře ---------- */
.form { padding: 32px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.form legend { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; margin-bottom: 16px; padding: 0; }
.legend-no { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.field { margin-bottom: 18px; position: relative; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.hint { display: flex; gap: 6px; align-items: flex-start; font-size: .83rem; color: var(--muted); margin: 6px 0 0; }
.hint .icon { width: 16px; height: 16px; margin-top: 2px; }
.field-error { display: flex; gap: 6px; align-items: flex-start; font-size: .85rem; font-weight: 600; color: #b4122a; margin: 6px 0 0; }
.field-error .icon { width: 16px; height: 16px; margin-top: 2px; flex: none; }
.has-error input[type=text], .has-error input[type=email], .has-error input[type=tel], .has-error select, .has-error textarea { border-color: var(--red); background: #fff8f8; }
.has-error input:focus, .has-error select:focus, .has-error textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(224, 22, 43, .14); }
.has-error .choice label > span { border-color: #f3a5b0; }
.has-error .check { margin-bottom: 0; }
.field > .check { margin-bottom: 0; }
.field:has(> .check) { margin-bottom: 24px; }
#form-errors:focus { outline: none; box-shadow: 0 0 0 4px rgba(224, 22, 43, .16); }
#form-errors a { color: inherit; font-weight: 700; }
.counter { position: absolute; right: 0; top: 2px; font-size: .75rem; color: var(--muted); }
.counter.is-near { color: var(--red); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=search], input[type=password], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid #d3dbe7; border-radius: 12px; padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7a90' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
input::placeholder, textarea::placeholder { color: #9aa6b8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 192, .14); }
textarea { resize: vertical; min-height: 64px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { margin: 0; cursor: pointer; }
.choice label > span {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; height: 100%;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .15s, background .15s;
}
.choice .icon { grid-row: span 2; width: 24px; height: 24px; color: var(--muted); }
.choice small { color: var(--muted); font-weight: 400; font-size: .82rem; }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-50); }
.choice input:checked + span .icon { color: var(--blue); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(37, 99, 192, .2); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 24px; cursor: pointer; font-size: .92rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.tips .card-title { margin-top: 12px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.check-list li { display: flex; gap: 8px; }
.check-list .icon { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.results-count { margin-bottom: 14px; }

/* ---------- textové stránky ---------- */
.prose { padding: 36px; color: var(--ink-2); }
.prose h2 { font-size: 1.25rem; margin-top: 1.6em; color: var(--ink); }
.prose li { margin-bottom: 8px; }

/* ---------- patička ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); margin-top: 48px; font-size: .92rem; }
.footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--red) 0%, #ff5a4f 100%); color: #fff; border-radius: 24px; padding: 32px 36px;
  transform: translateY(-48px); margin-bottom: -16px; box-shadow: 0 24px 50px -24px rgba(224, 22, 43, .7);
}
.footer-cta h2 { color: #fff; margin: 0 0 4px; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); }
.footer-cta p { margin: 0; color: rgba(255, 255, 255, .9); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-grid h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-logo { width: 180px; margin-bottom: 14px; }
.footer-brand p { max-width: 300px; }
.footer-partners { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; }
.footer-partners span { color: rgba(255, 255, 255, .65); }
.footer-partners a { color: rgba(255, 255, 255, .65); text-decoration: none; }
.footer-partners a:hover { color: #fff; }
.copy { margin: 0; padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: rgba(255, 255, 255, .65); }

/* ==========================================================================
   Responzivita
   ========================================================================== */
@media (max-width: 1080px) {
  .with-aside { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .main-nav > a[href="/kontakt"] { display: none; }
  .ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { gap: 32px; }
  .mock-phone { width: 150px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .wrap { padding: 0 16px; }
  .section { padding-top: 32px; padding-bottom: 32px; }

  /* mobilní menu (backdrop-filter by fixní menu uzavřel do hlavičky) */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; }
  .header-cta span { display: none; }
  .header-cta { padding: 10px; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0; z-index: 49;
    flex-direction: column; gap: 2px; padding: 16px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .main-nav > a, .main-nav > a[href="/kontakt"] { display: block; padding: 14px 12px; font-size: 1.05rem; }
  .nav-mobile-cats { display: grid; gap: 2px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
  .nav-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 4px 12px 8px; }
  .nav-mobile-cats a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; color: var(--ink); font-weight: 600; text-decoration: none; }
  .nav-mobile-cats a:hover { background: var(--bg); }
  .nav-mobile-cats .cat-ico { width: 36px; height: 36px; border-radius: 10px; }
  .nav-mobile-cats .cat-ico .icon { width: 18px; height: 18px; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-top: 32px; padding-bottom: 36px; gap: 24px; }
  .hero-visual { display: none; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .with-aside, .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .aside, .detail-aside { position: static; }
  .detail-layout { display: flex; flex-direction: column; }
  .detail-layout > .main-col { display: contents; }
  .detail-layout .detail { order: 1; }
  .detail-layout .detail-aside { order: 2; }
  .detail-layout .ad-slot-detail { order: 3; }
  .detail-layout .tip { order: 4; }
  .detail-layout .similar { order: 5; margin-top: 16px; }
  .sms-link { display: flex; }
  .unlock-pill span { display: none; }
  .unlock-pill { padding: 8px; }
  .steps { grid-template-columns: 1fr; }
  .safety { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .logo img { width: 160px; }
  .header-inner { gap: 8px; }
  .icon-btn { width: 40px; height: 40px; }
  .hero h1 { font-size: 2rem; }
  .hero-lead { font-size: 1rem; }
  .hero-search { flex-wrap: wrap; padding: 8px; }
  .hero-search > .icon { display: none; }
  .hero-search input { flex: 1 1 100%; padding: 10px 8px !important; }
  .hero-search select { flex: 1; border-left: 0 !important; border-top: 1px solid var(--line) !important; padding-left: 8px !important; }
  .hero-search .btn { flex: 1; }
  .hero-cats span { display: none; }
  .hero-cats { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px; scrollbar-width: none; }
  .hero-cats a { flex: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-tile { padding: 16px; }
  .ad-card { padding: 16px; gap: 12px; }
  .ad-card .cat-ico { width: 38px; height: 38px; border-radius: 10px; }
  .ad-card .cat-ico .icon { width: 19px; height: 19px; }
  .ad-go { display: none; }
  .ad-grid { grid-template-columns: 1fr; }
  .ad-excerpt { -webkit-line-clamp: 3; }
  .detail, .form, .prose { padding: 20px; }
  .detail-head { flex-direction: column; gap: 12px; }
  .detail-head .cat-ico { display: none; }
  .safety-list { grid-template-columns: 1fr; }
  .grid-2, .choice { grid-template-columns: 1fr; }
  .page-hero-inner .cat-ico { display: none; }
  .page-hero-inner .seg-links { width: 100%; }
  .page-hero-inner .seg-links a { flex: 1; text-align: center; }
  .footer-cta { padding: 24px; border-radius: 20px; }
  .footer-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pagination .pg-gap, .pagination a:not(.pg-prev):not(.pg-next) { display: none; }
  .pagination .pg-prev, .pagination .pg-next { flex: 1; }
  .share-btn span:not(.sr-only) { display: none; }
}

/* spodní lišta s kontaktem (mobil) */
.mobile-contact-bar { display: none; }
@media (max-width: 900px) {
  .mobile-contact-bar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; align-items: center; justify-content: center; gap: 8px;
    padding: 14px; border-radius: 14px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none;
    box-shadow: 0 12px 30px -10px rgba(224, 22, 43, .7);
  }
  .mobile-contact-bar:hover { color: #fff; }
  .mobile-contact-bar.is-open { background: var(--green); box-shadow: 0 12px 30px -10px rgba(22, 163, 74, .7); }
  .mobile-contact-bar .icon { width: 20px; height: 20px; }
  html.has-contact-bar .site-footer { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- kontakt: provozovatel ---------- */
.company-card { background: var(--bg); border-radius: var(--r); padding: 20px 22px; }
.company-card p { color: var(--ink); }
.company-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.company-dl dt { color: var(--muted); }
.company-dl dd { margin: 0; color: var(--ink); font-weight: 600; }
.copy a { color: inherit; }
@media (max-width: 600px) { .company-dl { grid-template-columns: 1fr; gap: 0; } .company-dl dd { margin-bottom: 8px; } }

/* ==========================================================================
   Rádce (blog)
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.post-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post-cover { height: 150px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.post-cover .icon { width: 56px; height: 56px; color: #fff; position: relative; z-index: 1; stroke-width: 1.5; }
.post-cover::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.12); right: -60px; top: -90px; }
.post-cover::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.08); left: -40px; bottom: -80px; }
.cover-blue   { background: linear-gradient(135deg, #1d4f9a, #3b82f6); }
.cover-green  { background: linear-gradient(135deg, #0f7a3d, #22c55e); }
.cover-violet { background: linear-gradient(135deg, #5b21b6, #a855f7); }
.cover-orange { background: linear-gradient(135deg, #c2410c, #fb923c); }
.cover-navy   { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover h3 a { color: var(--blue); }
.post-perex { color: var(--ink-2); font-size: .93rem; margin-bottom: 14px; flex: 1; }
.post-meta { font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
.post-tag { color: var(--blue); font-weight: 700; }
.post-card-big { flex-direction: row; }
.post-card-big .post-cover { height: auto; min-height: 260px; flex: 0 0 42%; }
.post-card-big .post-cover .icon { width: 84px; height: 84px; }
.post-card-big .post-card-body { padding: 36px; justify-content: center; }
.post-card-big h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.post-card-big .post-perex { flex: 0; font-size: 1.02rem; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.article { padding: 44px 52px; }
.article-head h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 14px; }
.article-perex { font-size: 1.15rem; color: var(--ink-2); line-height: 1.65; margin: 0; }
.toc { background: var(--bg); border-radius: var(--r); padding: 18px 22px; margin: 28px 0 8px; }
.toc-title { font-weight: 800; margin: 0 0 8px; font-size: .95rem; }
.toc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .93rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose-article { font-size: 1.07rem; line-height: 1.8; color: #2c3a50; max-width: 70ch; }
.prose-article h2 { font-size: 1.45rem; margin: 1.8em 0 .5em; scroll-margin-top: calc(var(--header-h) + 16px); color: var(--ink); }
.prose-article ul, .prose-article ol { padding-left: 22px; }
.prose-article li { margin-bottom: 6px; }
.prose-article strong { color: var(--ink); }
.callout { background: var(--blue-50); border-left: 4px solid var(--blue); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 16px 20px; margin: 1.5em 0; }
.callout p { margin: 0; }
.callout-warn { background: #fffbeb; border-left-color: #f59e0b; }
.callout-danger { background: #fff1f2; border-left-color: var(--red); }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--green);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat;
}
.template { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: var(--r); padding: 20px 24px; font-size: .97rem; }
.template p:last-child { margin: 0; }
.prose-article .btn { text-decoration: none; }
.article-hero { margin: 0 0 28px; }
.article-hero img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.prose-article figure { margin: 1.6em 0; }
.prose-article figure img { display: block; max-width: 100%; height: auto; border-radius: var(--r-sm); }
.prose-article figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.table-wrap { overflow-x: auto; margin: 1.5em 0; -webkit-overflow-scrolling: touch; }
.prose-article table { width: 100%; border-collapse: collapse; font-size: .97rem; line-height: 1.5; min-width: 440px; }
.prose-article th, .prose-article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose-article thead th { background: var(--blue-50); color: var(--ink); font-weight: 700; }
.prose-article td.num, .prose-article th.num { text-align: right; white-space: nowrap; }
.faq-list { margin: 1em 0 0; }
.faq-answer { padding: 0 22px 18px; color: var(--ink-2); }
.faq-answer p { margin: 0 0 .6em; padding: 0 !important; }
.faq-answer p:last-child { margin: 0; }
.article-sources { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 8px; }
.article-sources h2 { font-size: 1.15rem; }
.article-sources ul { padding-left: 20px; margin: 0 0 12px; }
.article-sources li { margin-bottom: 4px; font-size: .95rem; }
.article-foot { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; }
.cta-card .card-title { margin-top: 12px; }
.cta-card .btn + .btn { margin-top: 8px; }
.section-radce .post-grid { margin-top: 0; }

@media (max-width: 1080px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
  .article { padding: 36px; }
}
@media (max-width: 900px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .post-card-big { flex-direction: column; }
  .post-card-big .post-cover { min-height: 170px; }
  .post-card-big .post-card-body { padding: 24px; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .article { padding: 22px; }
  .prose-article { font-size: 1.02rem; }
}

/* ---------- logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.brand-mark { width: 40px; height: 40px; flex: none; display: block; }
.brand-word { font-weight: 800; font-size: 1.42rem; letter-spacing: -.03em; color: var(--navy); white-space: nowrap; }
.brand-word b { color: var(--red); font-weight: 800; }
.brand-word i { font-style: normal; color: var(--muted); font-weight: 600; }
.brand-dark .brand-word { color: #fff; }
.brand-dark .brand-word b { color: #ff6b78; }
.brand-dark .brand-word i { color: #9fb3d1; }
.logo { text-decoration: none; }
.footer-brand .brand { margin-bottom: 14px; }
@media (max-width: 600px) {
  .brand-mark { width: 32px; height: 32px; }
  .brand-word { font-size: 1.12rem; }
  .brand { gap: 8px; }
}
@media (max-width: 360px) {
  .brand-word i { display: none; }
}
/* úzké telefony: hlavička se vejde i s odznakem „Odemčeno“ (dřív se uřízlo menu) */
@media (max-width: 420px) {
  .header-actions { gap: 4px; }
  .icon-btn { width: 36px; height: 36px; }
  .header-cta { padding: 8px; }
  .unlock-pill { padding: 6px; }
  .brand-word i { display: none; }
}
@media (max-width: 360px) {
  .unlock-pill { display: none; } /* stav odemčení je vidět v kartě kontaktu */
}
@media (max-width: 330px) {
  .brand-word { font-size: 1rem; }
  .brand-mark { width: 28px; height: 28px; }
}

/* ==========================================================================
   Doladění podle auditu
   ========================================================================== */
.site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.chips { -webkit-mask-image: none; mask-image: none; }
.chips-wrap { -webkit-mask-image: none; mask-image: none; }
.hero-search:focus-within { box-shadow: 0 0 0 4px rgba(37, 99, 192, .35), 0 20px 50px -20px rgba(0, 0, 0, .5); }
.hero-search-light:focus-within { box-shadow: 0 0 0 4px rgba(37, 99, 192, .2); border-color: var(--blue); }
mark { padding: 0; box-shadow: 0 0 0 2px #fff3a3; border-radius: 2px; }
.btn-wrap { white-space: normal; text-align: center; }
.share-btn.is-done { color: var(--green); border-color: #c9f0d6; background: #f0fdf4; }
.post-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.safety-intro .link-arrow { margin-top: 12px; display: inline-flex; }
@media (max-width: 900px) {
  .chips { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .chips-wrap { -webkit-mask-image: none; mask-image: none; }
  .aside .partners { display: none; }
}
@media (max-width: 600px) {
  .btn { white-space: normal; }
  .footer-grid a, .footer-partners a { display: inline-block; padding: 6px 0; }
  .breadcrumbs a { padding: 6px 4px; }
  .hero-cats a { padding: 8px 14px; }
  .post-grid-2 { grid-template-columns: 1fr; }
}
/* převzaté nabídky (Úřad práce) */
.ad-home { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.ad-home .icon { width: 14px; height: 14px; }
.ad-home-2 { background: #dcfce7; color: #166534; }
.ad-home-1 { background: #fef3c7; color: #92400e; }
.source-note { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; padding: 14px 16px; background: #f5f8fd; border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; color: var(--ink-2); }
.source-note .icon { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }

/* neaktuální inzeráty a shrnutí převzaté nabídky */
.ad-stale { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #eef0f4; color: #5b6475; white-space: nowrap; }
.stale-note { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; padding: 14px 16px; background: #fff8e6; border: 1px solid #f5dfa8; border-radius: 12px; font-size: .92rem; color: var(--ink-2); }
.stale-note .icon { flex: none; width: 22px; height: 22px; color: #b7791f; margin-top: 2px; }
.stale-note p { margin: 0; }
.stale-note p + p { margin-top: 8px; }
.ad-summary { margin: 0 0 20px; padding: 16px 18px; background: #f0fbf4; border: 1px solid #bfe8cd; border-radius: 12px; }
.ad-summary h2 { font-size: 1rem; margin: 0 0 10px; }
.ad-summary dl { margin: 0 0 8px; display: grid; gap: 6px; }
.ad-summary dl div { display: grid; grid-template-columns: 170px 1fr; gap: 10px; font-size: .92rem; }
.ad-summary dt { color: var(--ink-2); }
.ad-summary dd { margin: 0; font-weight: 600; }
.ad-summary p { margin: 0; }
@media (max-width: 560px) { .ad-summary dl div { grid-template-columns: 1fr; gap: 0; } }

/* stránky krajů a oborů */
.landing-intro { margin-bottom: 20px; }
.landing-intro > p { margin: 0 0 14px; line-height: 1.6; }
.landing-intro > p:last-child { margin-bottom: 0; }
.landing-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.landing-stats li { background: #f5f8fd; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.landing-stats strong { display: block; font-size: 1.25rem; color: var(--ink); }
.landing-stats span { font-size: .85rem; color: var(--ink-2); }
.landing-facts { margin: 0; font-size: .92rem; color: var(--ink-2); }
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.region-grid a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink); text-decoration: none; }
.region-grid a:hover { border-color: var(--blue); }
.region-grid a span { font-weight: 700; color: var(--blue); white-space: nowrap; }
.region-grid a.is-few { color: var(--ink-2); font-weight: 500; }
.region-grid a.is-few span { color: var(--ink-2); }

/* kalkulačka přivýdělku */
.calc { margin-bottom: 14px; }
.calc-row { margin-bottom: 18px; }
.calc-label { display: block; font-weight: 700; margin-bottom: 8px; }
.calc-opts { display: grid; gap: 6px; }
.calc-opts label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.calc-opts label:has(input:checked) { border-color: var(--blue); background: #f5f8fd; }
.calc-inline { display: grid; grid-template-columns: 1fr 140px; gap: 8px 12px; align-items: end; }
.calc-inline .calc-label { margin: 0; }
.calc-inline label[for="calc-rok"] { grid-column: 2; grid-row: 1; }
.calc-inline input, .calc-inline select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 1.05rem; width: 100%; box-sizing: border-box; }
.calc-verdict { padding: 16px 18px; border-radius: 12px; border: 1px solid; }
.calc-verdict p { margin: 6px 0 0; }
.calc-ok { background: #f0fbf4; border-color: #bfe8cd; }
.calc-ok strong { color: #166534; }
.calc-no { background: #fef2f2; border-color: #f5c2c2; }
.calc-no strong { color: #b91c1c; }
.calc-warn { background: #fff8e6; border-color: #f5dfa8; }
.calc-cta { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: #f0fbf4; border: 1px solid #bfe8cd; border-radius: 12px; }
.calc-cta .icon { flex: none; width: 20px; height: 20px; color: #166534; margin-top: 3px; }
@media (max-width: 560px) { .calc-inline { grid-template-columns: 1fr 100px; } }

/* autor článku */
.article-author { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: .88rem; color: var(--ink-2); }
.article-author .icon { width: 16px; height: 16px; flex: none; }
