/* Záchranná sieť: rebuilt to match the old WordPress look (Bridge theme + SiteOrigin widgets).
   Values come from the old theme CSS: page #f6f6f6, text Raleway 14px/26px #818181, headings #303030,
   1100px content, 100px white header, footer #262626 / #1b1b1b, teal #0a97a5 / #109eab / #239ca6.
   Fonts (fonts.css): Raleway (text), Roboto (big headline), Open Sans (sub-headlines). */

@font-face {
  /* Elegant Line icons (Elegant Themes, GPL/MIT), as bundled by SiteOrigin Widgets on the old site */
  font-family: "sow-elegantline";
  src: url(/static/fonts/elegantline.woff) format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

:root {
  --page: #f6f6f6;
  --text: #818181;
  --head: #303030;
  --head-strong: #21282f;
  --sub: #7b7c7e;
  --teal-box: #0a97a5;
  --teal-icon: #109eab;
  --teal-btn: #239ca6;
  --box: #e5e5e5;
  --footer: #262626;
  --footer-bottom: #1b1b1b;
  --pill: #32373c;
  --display: "Roboto", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --title: "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Raleway", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1100px;

  /* shared with the admin (admin.css) */
  --teal: #0b8f9b;
  --teal-ink: #066b74;
  --teal-deep: #05545b;
  --teal-soft: #e3f3f4;
  --teal-line: #c4e4e6;
  --bg-tint: #f3f8f8;
  --ink: #15282b;
  --muted: #56686b;
  --line: #dde8e9;
  --err: #b42318;
  --err-soft: #fdecea;
  --ok: #1f7a4a;
  --ok-soft: #e5f4ec;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 14px/26px var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--head); text-decoration: none; transition: color .1s linear; }
a:hover { color: var(--teal-icon); }
:focus-visible { outline: 2px solid var(--teal-icon); outline-offset: 2px; }
p { margin: 0 0 10px; }
h1, h2, h3, h4, h5, h6 { color: var(--head); margin: 0; font-family: var(--body); }
h5 { font-size: 15px; line-height: 1.57; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.container { width: 100%; max-width: calc(var(--container) + 40px); margin: 0 auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--head); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { top: 12px; color: #fff; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- header (Bridge "header_bottom") ---------- */
.hdr { background: #fff; position: relative; z-index: 20; }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 100px; padding: 0 45px; }
.logo img { display: block; height: 70px; width: auto; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; }
.menu a { display: block; padding: 0 17px; line-height: 100px; color: #9d9d9d; font: 600 13px/100px var(--body); letter-spacing: 1px; text-transform: uppercase; transition: color .3s ease-in-out; }
.menu a:hover, .menu li.active a { color: var(--head); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--head); }
@media (max-width: 1000px) {
  .hdr-in { height: 80px; padding: 0 20px; }
  .logo img { height: 52px; }
  .nav-toggle { display: flex; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid #eaeaea; box-shadow: 0 8px 16px rgba(0, 0, 0, .06); }
  .menu.open { display: block; }
  .menu ul { flex-direction: column; padding: 6px 20px 14px; }
  .menu a { line-height: 44px; padding: 0; border-bottom: 1px solid #f0f0f0; }
}

/* ---------- headline widget ---------- */
.hl-wrap { margin: 0 0 20px; }
.hl { font: 400 40px/1.4em var(--body); color: var(--head-strong); letter-spacing: 0; text-transform: none; }
.hl-center { text-align: center; }
.hl-left { text-align: left; }
.hl-roboto .hl { font-family: var(--display); font-weight: 300; }
.hl-md .hl { font-size: 30px; }
.hl-caps .hl { text-transform: uppercase; font-size: 36px; }
.hl-rule { display: block; border-top: 1px solid #000; width: 38%; min-width: 200px; max-width: 80%; margin: 14px 0 0; }
.hl-center .hl-rule { margin-inline: auto; width: 24%; border-color: #000; }
.hl-rule-full .hl-rule { width: 80%; border-color: #919191; }
.hl-sub { font: 400 16px/1.4em var(--title); color: var(--sub); margin: 12px 0 0; }
.hl-sub-big .hl-sub { font: 400 24px/1.4 var(--body); color: var(--head); margin-top: 8px; }
.hl-left .hl-sub { color: var(--head); font-family: var(--body); font-size: 14px; }
@media (max-width: 780px) {
  .hl { font-size: 30px; }
  .hl-caps .hl { font-size: 28px; }
  .hl-left, .hl-left .hl { text-align: center; }
  .hl-left .hl-rule { margin-inline: auto; }
}

/* ---------- teal intro box ---------- */
.home-intro { display: grid; grid-template-columns: 38.2% 1fr; gap: 30px; padding-top: 10px; }
.teal-box { background: var(--teal-box); color: #fff; padding: 20px; border-radius: 12px; font-size: 15px; line-height: 26px; }
.teal-center { max-width: 780px; margin: 0 auto 40px; text-align: center; }
@media (max-width: 780px) { .home-intro { grid-template-columns: 1fr; } .home-intro-gap { display: none; } }

/* ---------- "Ako nás môžete kontaktovať?" ---------- */
.contact { padding-top: 50px; padding-bottom: 20px; }
.contact .hl-wrap { margin-bottom: 18px; }
.contact-row { display: grid; grid-template-columns: 23.6% 1fr; gap: 38px; }
.cbox { background: var(--box); border-radius: 12px; text-align: center; color: var(--head); }
.cbox img { display: block; margin: 0 auto 26px; width: 160px; height: 160px; }
.cbox h5 { margin-bottom: 18px; }
.cbox p { font-size: 17px; line-height: 1.4; margin: 0; color: #303030; }
.cbox .tel { color: #111; }
.cbox .tel strong { font-weight: 800; letter-spacing: .5px; }
.cbox-phone { padding: 50px 20px 56px; }
.cbox-chat { display: grid; grid-template-columns: 42% 1fr; align-items: center; padding: 46px 30px 56px; }
.chat-form { display: grid; justify-items: center; gap: 14px; padding: 0 10px; }
.chat-form form { display: grid; justify-items: center; gap: 14px; width: 100%; }
.code-input { width: 100%; max-width: 340px; height: 46px; border: 1px solid var(--teal-btn); background: #f3f3f3; color: var(--teal-btn); text-align: center; font: 400 24px/1 Consolas, "DejaVu Sans Mono", "Liberation Mono", Menlo, ui-monospace, monospace; letter-spacing: 1px; padding: 0 10px; border-radius: 0; }
.code-input::placeholder { color: #777; }
.btn-send { background: var(--teal-btn); color: #fff; border: 0; border-radius: 2px; padding: 0 34px; height: 72px; min-width: 200px; font: 400 26px/1 Arial, "Helvetica Neue", sans-serif; text-transform: uppercase; cursor: pointer; }
.btn-send:hover { background: #1d8790; }
.chat-on { font-size: 16px; }
.msg { padding: 8px 12px; font-size: 14px; line-height: 1.45; font-weight: 600; margin: 0; border-radius: 4px; max-width: 360px; }
.msg.err { background: var(--err-soft); color: var(--err); }
.msg.ok { background: var(--ok-soft); color: var(--ok); }
@media (max-width: 900px) {
  .contact-row { grid-template-columns: 1fr; gap: 20px; }
  .cbox-chat { grid-template-columns: 1fr; gap: 26px; padding: 40px 20px; }
}

/* ---------- topics: homepage 3×2 and subpage row ---------- */
.topics-home { background: #f5f6f7; padding: 60px 0 10px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 30px; margin-top: 40px; }
.feature { display: grid; justify-items: center; text-align: center; color: var(--head); }
.feature:hover { color: var(--teal-icon); }
.feature h5 { margin-top: 26px; color: inherit; }
.feature p { font-size: 13px; line-height: 1.6; color: #595959; margin: 6px 0 0; }
.eli { font-family: "sow-elegantline"; font-size: 90px; line-height: 1; color: var(--teal-icon); speak: none; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; }
.topics-row { padding-top: 50px; padding-bottom: 20px; }
.features-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 30px 20px; margin-top: 40px; }
.features-row .eli { font-size: 54px; }
.features-row h5 { margin-top: 18px; font-size: 13px; line-height: 1.5; }
@media (max-width: 780px) { .features { grid-template-columns: repeat(2, 1fr); } .eli { font-size: 70px; } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* ---------- homepage: O projekte, Kto za projektom ---------- */
.about-home { padding-top: 50px; }
.about-text { max-width: 1000px; padding-top: 16px; }
.about-text p { margin: 0 0 12px; }
.people-home { padding-top: 40px; padding-bottom: 60px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.person { display: grid; justify-items: center; text-align: center; color: var(--head); }
.person-photo { width: 300px; height: 300px; border-radius: 50%; object-fit: cover; margin-bottom: 24px; }
.person p { color: var(--head); font-size: 14px; line-height: 20px; }
.person strong { font-weight: 700; }
.person-logo { margin-top: 18px; width: 120px; height: auto; }
@media (max-width: 700px) { .people { grid-template-columns: 1fr; gap: 50px; } .person-photo { width: 240px; height: 240px; } }

/* ---------- topic page ---------- */
.page-pad { height: 30px; }
.topic-page { padding-top: 50px; }
.page-title { font: 400 60px/1.3 var(--body); color: var(--head-strong); text-align: center; margin: 10px 0 36px; }
.topic-video { max-width: 640px; margin: 0 0 60px; }
.poradna-teaser { max-width: 800px; margin: 0 auto 70px; text-align: center; }
.poradna-teaser .hl-rule { width: 38%; }
.teaser-text { text-align: justify; font-size: 13px; line-height: 22px; margin: 26px 0 26px; }
.btn-teal { display: inline-block; background: var(--teal-btn); color: #fff; padding: 12px 22px; font: 500 14px/1 var(--body); border-radius: 2px; }
.btn-teal:hover { background: #1d8790; color: #fff; }
.topic-list { margin-bottom: 60px; }
.topic-list .hl-wrap { margin-bottom: 36px; }
.more { margin-top: 26px; }
@media (max-width: 780px) { .page-title { font-size: 40px; } }

/* ---------- blog list (Články, Videá) ---------- */
.list-page { padding-top: 0; padding-bottom: 30px; }
.list-page > .hl-wrap { padding-top: 40px; margin-bottom: 36px; }
.blog-list { display: grid; gap: 40px; }
.blog-row { display: grid; grid-template-columns: 50% 50%; align-items: start; }
.blog-media { background: #000; }
.blog-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s; }
.blog-img:hover img { opacity: .9; }
.blog-img-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--teal-icon), #07717b); }
.blog-media .yt { aspect-ratio: 4 / 3; }
.blog-txt { background: #fff; padding: 25px; }
.blog-txt h3 { font: 500 20px/1.4 var(--body); letter-spacing: 1px; text-transform: uppercase; margin: 0 0 6px; }
.blog-txt h3 a { color: var(--head); }
.blog-txt h3 a:hover { color: var(--teal-icon); }
.blog-txt p { font-size: 13px; line-height: 22px; margin: 0 0 22px; }
.btn-outline { display: inline-block; border: 2px solid var(--head); color: var(--head); padding: 0 14px; height: 32px; line-height: 28px; font: 700 11px/28px var(--body); letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; }
.btn-outline:hover { background: var(--head); color: #fff; }
.empty { font-style: italic; }
@media (max-width: 780px) { .blog-row { grid-template-columns: 1fr; } }

/* ---------- Poradňa big cards ---------- */
.big-list { display: grid; gap: 40px; padding-bottom: 20px; }
.big-img { display: block; aspect-ratio: 1100 / 460; overflow: hidden; background: #ddd; }
.big-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.big-txt { background: #fff; padding: 36px 90px 40px; }
.big-txt h3 { font: 500 20px/1.4 var(--body); letter-spacing: 1px; text-transform: uppercase; margin: 0 0 12px; }
.big-txt p { font-size: 13px; line-height: 22px; margin: 0; padding-bottom: 26px; border-bottom: 1px solid #eee; }
@media (max-width: 780px) { .big-txt { padding: 26px 22px 30px; } }

/* ---------- pagination (Bridge squares) ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 44px 0 10px; }
.pager a, .pager span { min-width: 38px; height: 38px; line-height: 36px; text-align: center; border: 1px solid #e3e3e3; background: #fff; color: var(--head); font-weight: 600; }
.pager a:hover { border-color: var(--head); }
.pager .cur { background: var(--head); border-color: var(--head); color: #fff; }
.pager .gap { border: 0; background: none; }

/* ---------- video (click to load) ---------- */
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.yt a, .yt img, .yt iframe { display: block; width: 100%; height: 100%; border: 0; }
.yt img { object-fit: cover; }
.play-ico { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); }
.yt a:hover .play-ico path:first-child { fill: #f00; fill-opacity: 1; }

/* ---------- article / episode ---------- */
.post { padding-top: 0; padding-bottom: 30px; }
.post-hero { aspect-ratio: 1100 / 420; overflow: hidden; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-video { max-width: 1100px; margin: 0 0 10px; }
.post-head { text-align: center; padding: 40px 0 30px; }
.post-title { font: 400 30px/1.4 var(--body); color: var(--head-strong); max-width: 900px; margin: 0 auto; }
.post-rule { display: block; width: 88%; max-width: 860px; margin: 18px auto 12px; border-top: 1px solid #eee; }
.post-meta { font-size: 13px; margin: 0; }
.post-meta a { color: var(--teal-icon); }
.prose { font-size: 14px; line-height: 26px; }
.prose > * + * { margin-top: 1em; }
.prose p { margin: 0; }
.prose h2 { font: 400 25px/1.4 var(--body); color: var(--head-strong); text-transform: none; letter-spacing: 0; margin-top: 1.6em; }
.prose h3, .prose h4 { font: 400 20px/1.4 var(--body); color: var(--head-strong); margin-top: 1.4em; }
.prose p:has(> strong:only-child) { text-align: center; font-size: 18px; line-height: 1.5; color: var(--head); padding: 10px 6%; }
.prose p:has(> strong:only-child) strong { font-weight: 400; }
.prose a { color: var(--teal-icon); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--teal-icon); font-style: italic; }
.prose figure { margin-inline: 0; }
.prose img { display: block; margin-inline: auto; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid #ddd; padding: 6px 10px; text-align: left; }
.byline { margin-top: 26px; font-weight: 700; color: var(--head); text-align: right; }
.post-experts { display: grid; gap: 12px; margin-top: 34px; }
.expert-mini { display: flex; gap: 16px; align-items: center; background: #fff; padding: 16px 20px; color: var(--head); }
.expert-mini span { display: grid; gap: 2px; }
.expert-mini small { color: var(--text); font-size: 13px; line-height: 1.5; }
.mini-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.related { padding-top: 30px; padding-bottom: 20px; }
.related .hl-wrap { margin-bottom: 30px; }

/* ---------- Kto vám pomáha (slider) ---------- */
.kto { padding-top: 30px; }
.kto-video { max-width: 1040px; margin: 0 auto; }
.kto-title { font: 400 24px/1.4 var(--body); color: var(--head-strong); text-align: center; margin: 40px 0 0; }
.kto-title::after { content: ""; display: block; width: 92px; margin: 12px auto 0; border-top: 2px solid var(--teal-btn); }
.slider { position: relative; margin: 34px 0 20px; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; background: #fff; padding: 30px 40px 20px; display: grid; grid-template-columns: 300px 1fr; gap: 20px 30px; align-items: start; }
.slide-photo { width: 300px; height: 300px; border-radius: 50%; object-fit: cover; }
.slide-name { font: 400 30px/1.3 var(--body); color: var(--head-strong); text-align: center; text-transform: none; letter-spacing: 0; margin: 16px 0 20px; }
.slide-txt p { font-size: 14px; line-height: 26px; margin: 0 0 10px; }
.slide-cta { text-align: right; }
.slide-cta a { font: 400 19px/1.4 var(--body); color: var(--head); }
.slide-cta a:hover { color: var(--teal-icon); }
.slider-btn { position: absolute; top: 170px; width: 40px; height: 60px; border: 0; background: rgba(0, 0, 0, .25); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.slider-btn:hover { background: rgba(0, 0, 0, .5); }
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }
.slider-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: #cfcfcf; cursor: pointer; }
.slider-dots button[aria-current="true"] { background: var(--teal-btn); }
.others { margin-top: 60px; }
.others .hl-wrap { margin-bottom: 30px; }
.others-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.other { display: flex; gap: 16px; align-items: center; background: #fff; padding: 16px; color: var(--head); }
.other span { display: grid; gap: 4px; }
.other b { font-weight: 600; }
.other small { color: var(--text); font-size: 13px; line-height: 1.5; }
.other-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-ph { display: grid; place-items: center; background: #dfeff0; color: var(--teal-box); font: 600 1.2em/1 var(--body); border-radius: 50%; flex: none; }
.slide-photo.avatar-ph { font-size: 64px; }
@media (max-width: 780px) {
  .slide { grid-template-columns: 1fr; justify-items: center; padding: 26px 22px 16px; }
  .slide-photo { width: 200px; height: 200px; }
  .slider-btn { top: 110px; }
}

/* ---------- profile ---------- */
.profile { padding-top: 50px; }
.profile-card { display: grid; grid-template-columns: 170px 1fr; gap: 30px; background: #fff; padding: 10px 30px 30px 10px; border-radius: 10px; margin: 30px 0 30px; align-items: start; }
.profile-photo { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; }
.profile-photo.avatar-ph { font-size: 44px; }
.profile-card .prose { padding-top: 20px; }
.profile-video { max-width: 640px; margin-bottom: 30px; }
@media (max-width: 700px) { .profile-card { grid-template-columns: 1fr; justify-items: center; padding: 20px; } }

/* ---------- kontakt ---------- */
.contact-page { padding-top: 60px; }
.contact-page .hl-wrap { margin-bottom: 60px; }
.billing { font-size: 13px; line-height: 22px; }
.billing p strong { color: #5b5b5b; }
.billing dl { display: grid; grid-template-columns: 250px 1fr; margin: 16px 0 0; }
.billing dt, .billing dd { margin: 0; }
@media (max-width: 600px) { .billing dl { grid-template-columns: 1fr; } .billing dd { margin-bottom: 8px; color: var(--head); } }
.mail-us { text-align: center; padding-top: 40px; padding-bottom: 40px; }
.hl-mail { font: 400 30px/1.4 var(--display); color: var(--head-strong); margin-bottom: 24px; }
.btn-mail { display: inline-flex; align-items: center; gap: 12px; background: linear-gradient(#2e9ad6, #1f7fb8); color: #fff; padding: 14px 34px; font: 500 17px/1 var(--body); border-radius: 2px; }
.btn-mail:hover { color: #fff; filter: brightness(1.08); }
.btn-mail svg { width: 18px; height: 18px; }

/* ---------- plain pages ---------- */
.plain-page { padding-top: 60px; padding-bottom: 20px; }
.plain-page .hl-wrap { margin-bottom: 40px; }

/* ---------- footer ---------- */
.ftr { margin-top: 40px; }
.ftr-top { background: var(--footer); padding: 60px 0 50px; color: #9d9d9d; font-size: 13px; line-height: 22px; }
.ftr-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: start; }
.ftr-billing p { margin: 0 0 0; }
.ftr-billing strong { color: #9d9d9d; }
.ftr a { color: #9d9d9d; }
.ftr a:hover { color: #fff; }
.ftr-pills { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ftr-pills a { background: var(--pill); color: #9d9d9d; border-radius: 9999px; padding: 6px 20px; font-size: 11px; line-height: 20px; text-transform: uppercase; letter-spacing: .3px; }
.ftr-pills a:hover { color: #fff; }
.ftr-contact { text-align: right; }
.ftr-contact p { margin: 0 0 10px; }
.ftr-bottom { background: var(--footer-bottom); color: #9d9d9d; text-align: center; font-size: 13px; padding: 8px 20px; }
@media (max-width: 780px) { .ftr-grid { grid-template-columns: 1fr; } .ftr-contact { text-align: left; } .ftr-pills { align-items: flex-start; } }

/* ---------- shared with the admin ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; padding: 10px 16px; font: 700 15px var(--body); cursor: pointer; background: var(--teal); color: #fff; }
.btn:hover { background: var(--teal-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal-ink); border: 1.5px solid var(--teal-line); }
.btn-ghost:hover { background: var(--teal-soft); color: var(--teal-deep); }

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