/* LP Prípadové štúdie
   Vizuál vychádza z webu Lukáčik & Partners: svetlé písmo, biele pozadie,
   zaoblené tlačidlá v limetkovej s olivovým textom.
   Farby a rozmery sa dajú meniť premennými v Nastaveniach (Vlastné CSS). */

.lp-cs {
  --lp-cs-ink: #55595c;
  --lp-cs-text: #62676b;
  --lp-cs-muted: #8a8e91;
  --lp-cs-line: #e4e5e6;
  --lp-cs-panel: #ffffff;
  --lp-cs-green: #d8e34a;
  --lp-cs-green-hover: #cbd73a;
  --lp-cs-green-ink: #6f7a0c;
  --lp-cs-radius: 16px;
  --lp-cs-max: 1100px;
  --lp-cs-read: 760px;
  color: var(--lp-cs-text);
  font-family: inherit;
  line-height: 1.7;
  box-sizing: border-box;
}
.lp-cs *, .lp-cs *::before, .lp-cs *::after { box-sizing: inherit; }

.lp-cs-wrap {
  max-width: var(--lp-cs-max);
  margin: 0 auto;
  padding: 32px 20px 72px;
}

/* ---------- Omrvinková navigácia ---------- */
.lp-cs-crumbs ol {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 14px;
  color: var(--lp-cs-muted);
}
.lp-cs-crumbs li + li::before { content: "/"; margin-right: 10px; color: #c9ccc6; }
.lp-cs-crumbs a { color: var(--lp-cs-muted); text-decoration: none; }
.lp-cs-crumbs a:hover { color: var(--lp-cs-green-ink); }

/* ---------- Hlavička detailu ---------- */
.lp-cs-hero { max-width: var(--lp-cs-read); }
.lp-cs-kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding-bottom: 5px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lp-cs-green-ink);
  border-bottom: 3px solid var(--lp-cs-green);
}
.lp-cs-title {
  margin: 0 0 20px;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.15;
  font-weight: 300;
  color: var(--lp-cs-ink);
}
.lp-cs-lead { margin: 0 0 24px; font-size: 20px; font-weight: 300; color: var(--lp-cs-muted); line-height: 1.6; }
.lp-cs-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin: 0 0 36px;
  font-size: 14px;
  color: var(--lp-cs-muted);
}
.lp-cs-byline__author { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.lp-cs-byline__img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--lp-cs-line); }
.lp-cs-author-name { font-weight: 600; color: var(--lp-cs-ink); }

/* tlačidlo „Viac o nás“ pri autorovi */
.lp-cs a.lp-cs-author-btn {
  display: inline-block;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--lp-cs-green-ink);
  background: var(--lp-cs-green);
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s ease;
}
.lp-cs a.lp-cs-author-btn:hover,
.lp-cs a.lp-cs-author-btn:focus-visible { background: var(--lp-cs-green-hover); color: var(--lp-cs-green-ink); }

/* ---------- Faktografia ---------- */
.lp-cs-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 36px;
  margin: 0 0 56px;
  padding: 6px 0;
  border-top: 1px solid var(--lp-cs-line);
  border-bottom: 1px solid var(--lp-cs-line);
}
.lp-cs-facts > div { padding: 16px 0; }
.lp-cs-facts dt {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lp-cs-green-ink);
}
.lp-cs-facts dd { margin: 0; font-size: 15px; color: var(--lp-cs-ink); line-height: 1.55; }

/* ---------- Telo štúdie ---------- */
.lp-cs-body { max-width: var(--lp-cs-read); counter-reset: lpcs; }
.lp-cs-section { margin: 0 0 48px; }
.lp-cs-section h2 {
  counter-increment: lpcs;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
  font-weight: 300;
  color: var(--lp-cs-ink);
}
.lp-cs-section h2::before {
  content: "0" counter(lpcs);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--lp-cs-green-ink);
  background: var(--lp-cs-green);
  border-radius: 50%;
}
.lp-cs-prose p { margin: 0 0 1.1em; font-size: 17px; }
.lp-cs-prose p:last-child { margin-bottom: 0; }

/* ---------- Karta autora ---------- */
.lp-cs-author {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: var(--lp-cs-read);
  margin: 8px 0 0;
  padding: 24px 28px;
  background: var(--lp-cs-panel);
  border: 1px solid var(--lp-cs-line);
  border-radius: var(--lp-cs-radius);
}
.lp-cs-author__img { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center top; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--lp-cs-line); }
.lp-cs-author__text p { margin: 0; }
.lp-cs-author__label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-cs-green-ink); margin-bottom: 4px !important; }
.lp-cs-author__name { font-size: 19px; font-weight: 600; color: var(--lp-cs-ink); }
.lp-cs-author__role { font-size: 14px; color: var(--lp-cs-muted); margin-top: 2px !important; }
.lp-cs-author__date { font-size: 13px; color: var(--lp-cs-muted); margin-top: 6px !important; }
.lp-cs-author__action { margin-top: 12px !important; }

/* ---------- Prelinkovanie ---------- */
.lp-cs-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin: 64px 0 0;
  padding: 32px 0;
  border-top: 1px solid var(--lp-cs-line);
  border-bottom: 1px solid var(--lp-cs-line);
}
.lp-cs-links h2 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lp-cs-green-ink);
}
.lp-cs-links ul { list-style: none; margin: 0; padding: 0; }
.lp-cs-links li { margin: 0 0 10px; }
.lp-cs-links a { color: var(--lp-cs-ink); text-decoration: none; border-bottom: 2px solid var(--lp-cs-green); transition: background .15s ease; }
.lp-cs-links a:hover { background: var(--lp-cs-green); }

/* ---------- Karty ---------- */
.lp-cs-block-title { margin: 0 0 24px; font-size: clamp(24px, 3vw, 32px); font-weight: 300; color: var(--lp-cs-ink); }
.lp-cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.lp-cs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--lp-cs-line);
  border-radius: var(--lp-cs-radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lp-cs-card:hover, .lp-cs-card:focus-within {
  border-color: var(--lp-cs-green);
  box-shadow: 0 10px 28px rgba(85, 89, 92, .10);
}
.lp-cs-card__kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lp-cs-green-ink);
}
.lp-cs-card__title { margin: 0 0 12px; font-size: 20px; line-height: 1.3; font-weight: 600; }
.lp-cs-card__title a { color: var(--lp-cs-ink); text-decoration: none; }
/* celá karta je klikateľná cez bežný odkaz v nadpise */
.lp-cs-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--lp-cs-radius); }
.lp-cs-card__desc { margin: 0 0 16px; font-size: 15px; font-weight: 300; color: var(--lp-cs-text); }
.lp-cs-card__client { margin: auto 0 16px; font-size: 13px; color: var(--lp-cs-muted); padding-top: 14px; border-top: 1px solid var(--lp-cs-line); }
.lp-cs-card__more { margin: 0; font-size: 14px; font-weight: 700; color: var(--lp-cs-green-ink); }
.lp-cs-card__more span { display: inline-block; transition: transform .15s ease; }
.lp-cs-card:hover .lp-cs-card__more span { transform: translateX(4px); }

.lp-cs-related { margin: 64px 0 0; }
.lp-cs-related h2 { margin: 0 0 24px; font-size: clamp(24px, 3vw, 32px); font-weight: 300; color: var(--lp-cs-ink); }

/* ---------- Filter ---------- */
.lp-cs-filter { margin: 0 0 32px; }
.lp-cs-filter ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-cs-filter a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--lp-cs-ink);
  text-decoration: none;
  border: 1px solid var(--lp-cs-line);
  border-radius: 999px;
  transition: background .15s ease, border-color .15s ease;
}
.lp-cs-filter a:hover { border-color: var(--lp-cs-green); }
.lp-cs-filter a.is-active { background: var(--lp-cs-green); border-color: var(--lp-cs-green); color: var(--lp-cs-green-ink); font-weight: 700; }
.lp-cs-empty { color: var(--lp-cs-muted); }

/* ---------- Blok na stránke služby ---------- */
.lp-cs-service-block { max-width: var(--lp-cs-max); margin: 64px auto 0; padding: 0 20px 64px; }
.lp-cs-service-block__all { margin: 26px 0 0; font-size: 15px; }
.lp-cs-service-block__all a { color: var(--lp-cs-green-ink); font-weight: 700; text-decoration: none; }
.lp-cs-service-block__all a:hover { text-decoration: underline; }

/* ---------- CTA: jemná výzva v štýle webu ---------- */
.lp-cs-cta {
  margin: 56px 0 0;
  padding: 0 0 4px;
  text-align: center;
}
.lp-cs .lp-cs-cta h2 {
  max-width: 620px;
  margin: 0 auto 22px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  font-weight: 300;
  color: var(--lp-cs-muted);
}
.lp-cs-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }
.lp-cs a.lp-cs-btn {
  display: inline-block;
  padding: 11px 28px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--lp-cs-green-ink);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--lp-cs-green);
  border-radius: 999px;
  transition: background .15s ease, border-color .15s ease;
}
.lp-cs a.lp-cs-btn:hover { background: var(--lp-cs-green); color: var(--lp-cs-green-ink); }
.lp-cs a.lp-cs-btn--primary { background: var(--lp-cs-green); }
.lp-cs a.lp-cs-btn--primary:hover { background: var(--lp-cs-green-hover); border-color: var(--lp-cs-green-hover); }

.lp-cs-note { margin: 40px auto 0; font-size: 13px; color: var(--lp-cs-muted); max-width: var(--lp-cs-read); text-align: center; }

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
  .lp-cs-wrap { padding: 20px 16px 56px; }
  .lp-cs-lead { font-size: 18px; }
  .lp-cs-prose p { font-size: 16px; }
  .lp-cs-card { padding: 22px; }
  .lp-cs-author { flex-direction: column; align-items: flex-start; padding: 22px; }
  .lp-cs a.lp-cs-btn { width: 100%; text-align: center; }
  .lp-cs-service-block { padding: 0 16px 48px; }
}
