/* Reskin to match www.prosperityfs.cz visual identity: blue + navy, Roboto / Plus Jakarta Sans, rounded cards & buttons. */

:root {
  --pfs-blue: #0b4fb0;
  --pfs-blue-dark: #073a85;
  --pfs-blue-light: #e8f1fd;
  --pfs-navy: #081a30;
  --pfs-navy-dark: #050f1c;
  --pfs-gray: #5e5e5e;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #333;
  background: #fff;
}

h1, h2, h3, h4, h5, h6,
.section-title h1, .section-title h2 {
  font-family: 'Plus Jakarta Sans', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--pfs-navy);
  letter-spacing: -.01em;
}

.section-title h1,
.section-dynamic h1 {
  position: relative;
  padding-bottom: 18px;
}
.section-title h1:after,
.section-dynamic h1:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--pfs-blue), var(--pfs-navy));
}

#content a:not(.btn) {
  color: var(--pfs-blue);
}
#content a:not(.btn):hover {
  color: var(--pfs-blue-dark);
}

/* top contact bar */
#top-ribbon {
  background: var(--pfs-navy);
  border-bottom: 3px solid var(--pfs-blue);
}
#top-ribbon a, #contactus {
  color: rgba(255, 255, 255, .85);
}
#top-ribbon a:hover {
  color: #fff;
}
#top-ribbon .btn.btn-danger {
  background: var(--pfs-blue);
  border-color: var(--pfs-blue);
  border-radius: 30px;
}
#top-ribbon .btn.btn-danger:hover {
  background: var(--pfs-blue-dark);
  border-color: var(--pfs-blue-dark);
}

/* main nav: gym/style.css paints `.navbar.navbar-default` (and the scrolled homepage `.f-nav`) #1a1a1a, navy links vanish on it */
/* always solid white, homepage included (gym makes it rgba(26,26,26,.1) over the hero there) */
.navbar.navbar-default,
#index .navbar.navbar-default,
#index .navbar.navbar-default.f-nav {
  background: #fff !important;
}
@media (max-width: 991px) {
  .navbar-default .navbar-collapse {
    background: #fff !important;
  }
}
@media (min-width: 992px) {
  .navbar-default .navbar-collapse {
    background: transparent !important;
  }
}
.navbar-default {
  border: none;
  box-shadow: 0 4px 20px rgba(11, 44, 61, .08);
}
.logo img {
  max-height: 60px;
}
/* theme19 draws the hamburger white (it sat on a dark bar) */
.navbar-default .navbar-toggle {
  border-color: var(--pfs-navy);
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: var(--pfs-navy);
}
/* nav links: theme19 + gym/style.css stack three different :after underlines (orange/yellow, growing height, top:75%)
   and orange/grey backgrounds on :hover/:focus - this block is the single source, hence the !important */
#navbar .navbar-nav > li > a {
  position: relative;
  color: var(--pfs-navy) !important;
  font-weight: 600;
  letter-spacing: .2px;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
  transition: color .2s ease;
}
#navbar .navbar-nav > li > a:hover,
#navbar .navbar-nav > li > a:focus,
#navbar .navbar-nav > li > a:active,
#navbar .navbar-nav > li.active > a {
  color: var(--pfs-blue) !important;
  background: transparent !important;
}
#navbar .navbar-nav > li > a:focus-visible {
  outline: 2px solid var(--pfs-blue);
  outline-offset: 2px;
}
#navbar .navbar-nav > li > a:after,
#navbar .navbar-nav > li > a:hover:after,
#navbar .navbar-nav > li > a:focus:after,
#navbar .navbar-nav > li.active > a:after {
  content: '' !important;
  position: absolute !important;
  top: auto !important;
  bottom: 4px !important;
  left: 15px !important;
  right: 15px !important;
  width: auto !important;
  height: 2px !important;
  opacity: 1 !important;
  background: var(--pfs-blue) !important;
  transform: scaleX(0) !important;
  transition: transform .2s ease !important;
}
#navbar .navbar-nav > li > a:hover:after,
#navbar .navbar-nav > li.active > a:after {
  transform: scaleX(1) !important;
}
@media (min-width: 992px) {
  /* gym/style.css hides these :after with display:none (it had no underline); mobile keeps that */
  #navbar .navbar-nav > li > a:after {
    display: block !important;
  }
}

/* the crawl saved only fontawesome-webfont.eot, so every FA icon (button arrows, footer) rendered as an empty box;
   a later @font-face of the same family wins, pointing at the real files */
@font-face {
  font-family: 'FontAwesome';
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2') format('woff2'),
       url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* buttons */
.btn.btn-primary,
.btn.btn-primary .goin,
.btn-danger .goin {
  color: #fff !important;
  font-family: inherit;
}
.btn-primary, .btn-danger {
  background-color: var(--pfs-blue) !important;
  border-color: var(--pfs-blue) !important;
  border-radius: 30px !important;
  font-weight: 600;
  letter-spacing: .2px;
  padding: 11px 28px !important;
  box-shadow: 0 6px 18px rgba(33, 154, 216, .25);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover, .btn-danger:hover {
  background-color: var(--pfs-blue-dark) !important;
  border-color: var(--pfs-blue-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 103, 144, .3);
}

/* motto / hero band */
#motive {
  /* color only: the header photo is background-image in styl/1/index.css, a `background:` shorthand here wipes it */
  background-color: var(--pfs-navy);
  background-position: center;
}
#motive:empty,
#motive:has(> .container:empty) {
  display: none;
}

/* homepage service cards: flex + gap, because the card sits on the bootstrap column itself (no gutter between boxes) */
section.section-3-col-bottom-text .section-cell-parent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 10px 0 30px;
}
section.section-3-col-bottom-text .section-cell-parent:before,
section.section-3-col-bottom-text .section-cell-parent:after {
  display: none;
}
section.section-3-col-bottom-text .section-cell-item {
  float: none;
  flex: 1 1 260px;
  max-width: 350px;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 30px 34px;
  border-radius: 18px;
  border: 1px solid #c9d8ee;
  /* soft blue disc behind the icon; drawn here because the icon's own colour filter would tint an img background too */
  background: radial-gradient(circle at 50% 88px, var(--pfs-blue-light) 47px, transparent 48px), #fff;
  box-shadow: 0 18px 40px rgba(8, 26, 48, .14);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
section.section-3-col-bottom-text .section-cell-item:hover {
  transform: translateY(-6px);
  border-color: #a9c2e6;
  box-shadow: 0 24px 48px rgba(8, 26, 48, .2);
}
section.section-3-col-bottom-text img {
  filter: invert(20%) sepia(90%) saturate(2200%) hue-rotate(213deg) brightness(90%) contrast(105%);
  width: 52px !important;
  height: 52px !important;
  margin: 22px 0 0;
}
section.section-3-col-bottom-text .section-cell-item h3 {
  margin: 44px 0 12px;
  font-size: 21px;
}
section.section-3-col-bottom-text .section-cell-item p {
  margin: 0;
  padding: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: #5b6875;
}
section.section-3-col-bottom-text h3 a {
  color: var(--pfs-navy);
}
section.section-3-col-bottom-text h3 a:hover {
  color: var(--pfs-blue);
}

/* "why us" services list: full-bleed deep navy band (same navy as footer), items as plain rows with hairlines and a check mark (boxes/tiles were rejected as AI slop) */
section.section-services {
  /* edge-to-edge although the section sits inside .container: border-image paints the colour 100vmax sideways
     (a box-shadow spread left a hairline seam at the container edge) */
  border-image: conic-gradient(var(--pfs-navy) 0 0) fill 0 / / 0 100vmax;
  padding: 60px 30px 64px;
  margin: 40px 0;
}
section.section-services h2 {
  margin: 0 0 34px;
  color: #fff;
}
section.section-services ul {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
section.section-services li {
  float: none;
  width: auto;
  text-align: left;
  color: rgba(255, 255, 255, .9);
  font-size: 17px;
  background: none;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 0;
  box-shadow: none;
  padding: 16px 0 16px 42px;
  margin: 0;
  position: relative;
}
section.section-services li:last-child {
  border-bottom: none !important;
}
section.section-services li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pfs-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* "Kde nás najdete?" map + contact: map left, plain label/value rows right (markup has inline text-align:center, hence !important) */
section.section-map .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
section.section-map #map {
  padding-right: 30px;
}
section.section-map #map iframe {
  display: block;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(8, 26, 48, .14);
}
section.section-map #map:empty,
section.section-map .table-responsive:empty {
  display: none;
}
section.section-map .section-content {
  text-align: left;
  padding-left: 30px;
}
section.section-map .section-content h2 {
  margin: 52px 0 18px;
  text-align: left !important;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--pfs-blue);
}
section.section-map .section-content h2:first-child {
  margin-top: 0;
}
section.section-map .section-content p {
  text-align: left !important;
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.6;
  color: #333;
}
section.section-map .section-content p span {
  font-size: inherit !important;
}
section.section-map .section-content p strong {
  color: var(--pfs-navy);
}
section.section-map .section-content p:last-child {
  margin-top: 40px;
}
@media (max-width: 767px) {
  section.section-map #map {
    padding-right: 15px;
    margin-bottom: 26px;
  }
  section.section-map .section-content {
    padding-left: 15px;
  }
}

/* CMS leftovers: a price table with only an empty header cell rendered as a dark bar, and empty title rows add blank space */
section.section-pricelist:not(:has(tbody)),
section.section-title:not(:has(h1, h2, p.Standard)) {
  display: none;
}

/* pricing tables */
.table-striped {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(11, 44, 61, .06);
}
.table-striped > thead {
  background: var(--pfs-navy);
  color: #fff;
}
.table-striped > tbody > tr:hover {
  background: var(--pfs-blue-light);
}

/* category / blog listings: one card grid for both lists, no stock photos, whole card clickable, full width (there is no sidebar) */
main:has(> ul.media-list), main:has(> h1 + ul.media-list) { width: 100%; }
ul#list-rubrics, ul#list-pages {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
  list-style: none; margin: 40px 0 0; padding: 0; float: none; width: 100%;
}
ul#list-rubrics > li, ul#list-pages > li {
  position: relative; float: none; width: auto; margin: 0; padding: 28px 28px 24px;
  background: #fff; border: 1px solid #c9d8ee; border-radius: 18px;
  display: flex; flex-direction: column;
  box-shadow: 0 6px 18px rgba(8,26,48,.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
ul#list-rubrics > li:hover, ul#list-pages > li:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(8,26,48,.14); border-color: var(--pfs-blue); }
ul#list-rubrics .media-body { width: auto; display: block; border: 0; padding: 0; box-shadow: none; background: none; }
ul#list-rubrics .perex, ul#list-pages .image-perex, ul#list-pages .perex-image-link { display: none; }
ul#list-rubrics h2.subtitle, ul#list-pages h4 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.25;
  margin: 0 0 10px; color: var(--pfs-navy);
}
ul#list-rubrics h2.subtitle a, ul#list-pages h4 > a { color: var(--pfs-navy) !important; text-decoration: none; }
ul#list-rubrics li:hover h2.subtitle a, ul#list-pages li:hover h4 > a { color: var(--pfs-blue) !important; }
ul#list-rubrics h2.subtitle a::after, ul#list-pages h4 > a::after { content: ''; position: absolute; inset: 0 0 -10px 0; border-radius: 18px; z-index: 1; } /* bottom overshoot > hover lift, else the card slides out from under the cursor and flickers */
ul#list-pages h4 .rub { display: none; }
ul#list-rubrics .details, ul#list-pages .normal-date { font-size: 14px; color: #5b6875; margin: 0; }
ul#list-pages .description { margin-top: 12px; color: #5b6875; font-size: 16px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
ul#list-pages .description:empty { display: none; }
ul#list-pages .description p { margin: 0 !important; }
ul#list-rubrics > li::after, ul#list-pages > li::after {
  content: 'Více'; margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 15px; color: var(--pfs-blue);
}
main > hr { display: none; }

/* ceník: the table became four price cards (same card language as the service tiles) */
section.section-pricing { padding: 10px 0 20px; }
ul.pricing-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px;
  list-style: none; margin: 0; padding: 0;
}
ul.pricing-cards > li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 36px 24px 32px; background: #fff; border: 1px solid #c9d8ee; border-radius: 18px;
  box-shadow: 0 6px 18px rgba(8,26,48,.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
ul.pricing-cards > li:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(8,26,48,.14); border-color: var(--pfs-blue); }
.pricing-name { min-height: 2.6em; display: flex; align-items: center; font-size: 16.5px; line-height: 1.3; font-weight: 600; color: #5b6875; }
.pricing-price { margin-top: 14px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 38px; line-height: 1.1; color: var(--pfs-navy); white-space: nowrap; }
.pricing-price small { font-size: 16px; font-weight: 600; color: var(--pfs-blue); margin-right: 2px; }
.pricing-unit { margin-top: 8px; font-size: 14px; color: #5b6875; letter-spacing: .3px; }
/* intro + small print around the cards */
section.section-blank p.Standard { max-width: 820px; margin-left: auto; margin-right: auto; font-size: 17px; line-height: 1.7; color: #5b6875; }
section.section-cta { text-align: center; padding: 50px 0 20px; }
section.section-title p.Standard { max-width: 820px; margin: 10px auto 0; padding: 22px 28px; background: var(--pfs-blue-light); border-radius: 18px; font-size: 15px; line-height: 1.65; color: #34465a; }

/* kontakt: contact form (static copy, submit only shows the thank-you note) */
section.section-form { max-width: 820px; margin: 30px auto 10px; text-align: center; }
section.section-form h2 { margin-bottom: 6px; }
.form-lead { color: #5b6875; margin-bottom: 26px; }
.contact-form { text-align: left; }
.contact-form label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--pfs-navy); margin-bottom: 18px; }
.cf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 20px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 13px 16px; font: 400 16px 'Roboto', sans-serif; text-transform: none; letter-spacing: 0;
  color: var(--pfs-navy); background: #fff; border: 1px solid #c9d8ee; border-radius: 12px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--pfs-blue); box-shadow: 0 0 0 4px rgba(11,79,176,.12); }
.contact-form .cf-check { font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #5b6875; }
.contact-form .cf-check input { margin-right: 8px; }
.contact-form .btn { margin-top: 6px; }
.cf-ok { padding: 22px 28px; background: var(--pfs-blue-light); border-radius: 18px; color: var(--pfs-navy); font-weight: 600; }

/* gym/style.css paints every h1 underline orange (#fe6500); header title sits on the dark photo so it gets a lighter blue */
h1:after { background: var(--pfs-blue) !important; }
#motive h1:after { background: #4f8ff0 !important; }

/* kontakt page: three info cards, e-mail directory, map + form side by side */
section.section-contact > .row { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; }
section.section-contact > .row:before, section.section-contact > .row:after { display: none; }
section.section-contact > .row > div {
  flex: 1 1 240px; float: none; width: auto; padding: 32px 24px 28px; text-align: center !important;
  background: #fff; border: 1px solid #c9d8ee; border-radius: 18px; box-shadow: 0 6px 18px rgba(8,26,48,.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
section.section-contact > .row > div:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(8,26,48,.14); border-color: var(--pfs-blue); }
section.section-contact > .row > div h3 {
  margin: 0 0 14px !important; font-family: 'Roboto', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--pfs-blue);
}
section.section-contact ul { margin: 0; }
section.section-contact li.section-cell-item { padding: 0; margin: 0 0 6px; border: 0; background: none; box-shadow: none; font-size: 17px; line-height: 1.6; color: var(--pfs-navy); }
section.section-contact li.section-cell-item:empty { display: none; }
section.section-contact li .fa { color: var(--pfs-blue); margin-right: 6px; letter-spacing: 0; }
section.section-contact li a { color: var(--pfs-navy); font-weight: 600; text-decoration: none; }
section.section-contact li a:hover { color: var(--pfs-blue); }

section.section-emails { max-width: 820px; margin: 50px auto 30px; text-align: center; }
section.section-emails .emails-lead { color: #5b6875; font-size: 17px; line-height: 1.7; margin: 8px 0 26px; font-style: normal; }
ul.emails-list { list-style: none; margin: 0; padding: 0; text-align: left; border-top: 1px solid #dbe3ec; }
ul.emails-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; padding: 16px 4px; border-bottom: 1px solid #dbe3ec; font-size: 17px; }
.em-label { color: #5b6875; }
ul.emails-list a { font-weight: 700; color: var(--pfs-blue); text-decoration: none; }
ul.emails-list a:hover { text-decoration: underline; }

.contact-form-wrap h3 { margin: 0 0 6px; font-size: 26px; text-align: left; }
.contact-form-wrap .form-lead { text-align: left; margin-bottom: 20px; }

/* inner pages: bright reception photo as header (homepage keeps its own); left shade only so the white title stays readable */
body:not(#index) #motive { background-image: url(../obrazek/3/header-reception.jpg) !important; background-position: center 65% !important; background-size: cover !important; }
body:not(#index) #motive:before { background: linear-gradient(90deg, rgba(8,26,48,.75) 0%, rgba(8,26,48,.4) 35%, rgba(8,26,48,0) 60%); }

/* blog index (the only listing whose entries carry a text perex): plain article list instead of a card grid, so many entries stay scannable */
ul#list-pages:has(.description p) { display: block; max-width: 900px; margin: 30px auto 0; }
ul#list-pages:has(.description p) > li {
  display: block; padding: 26px 130px 26px 0; background: none; border: 0; border-bottom: 1px solid #dbe3ec; border-radius: 0; box-shadow: none; transform: none;
  transition: border-color .2s ease;
}
ul#list-pages:has(.description p) > li:first-child { border-top: 1px solid #dbe3ec; }
ul#list-pages:has(.description p) > li:hover { transform: none; box-shadow: none; border-color: var(--pfs-blue); }
ul#list-pages:has(.description p) h4 { font-size: 24px; margin: 0 0 8px; }
ul#list-pages:has(.description p) .description { margin: 0; -webkit-line-clamp: 2; font-size: 16px; line-height: 1.55; }
ul#list-pages:has(.description p) > li::after {
  content: 'Číst článek'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0; padding: 0; font-size: 15px;
}
@media (max-width: 600px) {
  ul#list-pages:has(.description p) > li { padding-right: 0; }
  ul#list-pages:has(.description p) > li::after { position: static; transform: none; padding-top: 10px; display: block; }
}

/* homepage FAQ (native details, no JS) */
section.section-faq { max-width: 860px; margin: 50px auto; padding: 56px 0 64px; background: #edf2f8; box-shadow: 0 0 0 100vmax #edf2f8; clip-path: inset(0 -100vmax); }
section.section-faq h2 { text-align: center; margin-bottom: 34px; }
section.section-faq h2::after { content: ''; display: block; width: 56px; height: 4px; margin: 14px auto 0; border-radius: 2px; background: var(--pfs-blue); }
.faq-list { counter-reset: faq; display: grid; gap: 14px; padding: 0 16px; }
.faq-list details { counter-increment: faq; background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(8,26,48,.07); transition: box-shadow .2s ease; }
.faq-list details:hover { box-shadow: 0 6px 20px rgba(8,26,48,.12); }
.faq-list details[open] { box-shadow: 0 8px 26px rgba(11,79,176,.16); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative; display: flex; align-items: center; gap: 18px; padding: 22px 76px 22px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.35; color: var(--pfs-navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; position: absolute; right: 24px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: linear-gradient(var(--pfs-blue), var(--pfs-blue)) center / 100% 2.5px no-repeat,
              linear-gradient(var(--pfs-blue), var(--pfs-blue)) center / 2.5px 100% no-repeat;
}

.faq-list details[open] summary::after { background-size: 100% 2.5px, 0 100%; }
.faq-list summary:hover { color: var(--pfs-blue); }
.faq-list details p { margin: 0; padding: 0 76px 24px 24px; font-size: 17px; line-height: 1.7; color: #4a5766; }
/* FAQ open/close animation (Chrome/Edge/Safari with ::details-content; others open instantly) */
.faq-list { interpolate-size: allow-keywords; }
.faq-list details::details-content { block-size: 0; overflow: hidden; opacity: 0; transition: block-size .35s ease, opacity .3s ease, content-visibility .35s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; opacity: 1; }
@media (max-width: 600px) { .faq-list summary { font-size: 17px; padding: 18px 64px 18px 16px; gap: 12px; } .faq-list details p { padding: 0 20px 20px 16px; } }

/* secondary page headings were h1 (two h1 per page); they are h2.h1-look now and keep the h1 look */
h2.h1-look { font-size: 6.4rem; text-transform: uppercase; line-height: 1.1; text-align: center; }
@media (max-width: 991px) { h2.h1-look { font-size: 3.84rem; } }
#mainContent > section:not(:first-of-type) h2.h1-look { margin-top: 10rem; }
.section-title h2.h1-look, .section-dynamic h2.h1-look { position: relative; padding-bottom: 18px; }
.section-title h2.h1-look:after, .section-dynamic h2.h1-look:after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 64px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--pfs-blue), var(--pfs-navy));
}

/* homepage certificates: text block + strip of framed certificates, click opens a modal */
section.section-certs { max-width: 1100px; margin: 40px auto 50px; }
.cert-text { margin: 0 0 36px; text-align: left; }
.cert-text h2, .cert-text > p { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.cert-eyebrow { color: var(--pfs-blue); text-transform: uppercase; font-weight: 600; letter-spacing: .02em; margin: 0 0 6px; }
.cert-text h2 { font-size: 40px; line-height: 1.15; margin: 0 auto 16px; }
.cert-text h3 { font-size: 18px; font-weight: 600; margin: 22px 0 14px; text-align: left; }
.cert-list { list-style: none; margin: 0; padding: 0; text-align: left; }
.cert-list li { position: relative; padding-left: 36px; margin-bottom: 12px; }
.cert-list li:before { content: "★"; position: absolute; left: 0; color: var(--pfs-blue); }
.cert-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; align-items: start; }
.cert-frame { display: block; background: #f3f0ea; border: 7px solid #1d1f22; padding: 9px; box-shadow: 0 10px 28px rgba(8,26,48,.22), inset 0 0 6px rgba(0,0,0,.18); transition: transform .2s; }
.cert-frame, .cert-frame:focus, .cert-frame:active, #cert-modal, #cert-modal img, #cert-modal button { outline: none; -webkit-tap-highlight-color: transparent; }
.cert-frame:hover { transform: translateY(-3px); }
.cert-frame img { width: 100%; aspect-ratio: 1 / 1.414; object-fit: fill; height: auto; display: block; box-shadow: 0 0 5px rgba(0,0,0,.25); }
#cert-modal { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
#cert-modal::backdrop { background: rgba(8,26,48,.82); }
#cert-modal img { display: block; max-width: 94vw; max-height: 92vh; width: auto; height: auto; background: #fff; border: 8px solid #1d1f22; cursor: zoom-out; }
#cert-modal button { position: absolute; top: -14px; right: -14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: #081a30; font-size: 22px; line-height: 1; cursor: pointer; }
@media (max-width: 767px) {
  .cert-strip { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cert-text h2 { font-size: 30px; }
  .cert-frame { border-width: 4px; padding: 5px; }
}
@media (max-width: 480px) { .cert-strip { grid-template-columns: repeat(2, 1fr); } }
/* footer: deep navy, three plain columns with small uppercase headings (same label style as the contact section), no panels */
footer {
  background: var(--pfs-navy-dark);
  color: rgba(255, 255, 255, .75);
  padding-top: 64px;
  border-top: 3px solid var(--pfs-blue);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 0;
}
footer #footbox {
  flex: 0 0 100%;
}
footer h3, footer h3.panel-title, footer .panel-title {
  margin: 0 0 18px;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 1.6px !important;
  text-transform: uppercase;
  color: #fff !important;
  margin-bottom: 18px !important;
}
footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
footer li {
  margin-bottom: 10px;
  line-height: 1.55;
  font-size: 15.5px;
}
footer .fa.text-primary {
  color: var(--pfs-blue) !important;
  margin-right: 6px;
}
footer a {
  color: rgba(255, 255, 255, .75);
  transition: color .2s ease;
}
footer a:hover {
  color: #fff;
}
footer .panel-primary,
footer .panel-primary > .panel-heading,
footer .panel-primary > .panel-body {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
footer .social-site-icon {
  display: flex;
  gap: 10px;
}
footer .social-site-icon li {
  margin: 0;
}
/* same as the Galactic Games footer: plain grey glyphs, no circles, brand colour on hover */
footer .social-site-icon a {
  display: block;
  width: 44px;
  text-align: center;
  height: auto;
  margin: 0;
  padding: 0;
  background: none !important;
  border-radius: 0 !important;
  color: rgba(255, 255, 255, .65) !important;
  font-size: 30px;
  line-height: 1;
  transition: color .2s ease;
}
/* gym/style.css lays a grey square (:before) over each icon and offsets the glyph with top/left */
footer .social-site-icon a:before {
  display: none !important;
}
footer .social-site-icon a .fa {
  position: static;
  margin: 0 !important;
  width: auto !important;
  font-size: 30px;
  line-height: 1;
}
footer .social-site-icon a[href*="facebook"]:hover { color: #1877f2 !important; }
footer .social-site-icon a[href*="youtube"]:hover { color: #ff0000 !important; }
footer .social-site-icon a[href*="instagram"]:hover { color: #c13584 !important; }
#footbox {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0 26px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
}
#footbox p {
  margin: 0;
}
#footbox hr {
  display: none;
}
#footbox a,
#footbox a[style] {
  color: rgba(255, 255, 255, .75) !important;
}
#footbox a:hover {
  color: #fff !important;
}

/* homepage "Jak to funguje": three numbered steps, plain columns with a hairline between (no boxes) */
section.section-steps {
  padding: 50px 0 30px;
}
section.section-steps h2 {
  text-align: center;
  margin: 0 0 48px;
  font-size: 38px;
}
section.section-steps ol {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
section.section-steps li {
  flex: 1 1 300px;
  padding: 0 36px;
  counter-increment: step;
  text-align: left;
}
section.section-steps li + li {
  border-left: 1px solid #dbe3ec;
}
section.section-steps li:before {
  content: counter(step);
  display: block;
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', 'Roboto', Arial, sans-serif;
  font-size: 70px;
  font-weight: 700;
  line-height: 1;
  color: var(--pfs-blue);
}
section.section-steps h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}
section.section-steps p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: #5b6875;
}
section.section-steps .steps-cta {
  text-align: center;
  margin: 72px 0 30px;
}
@media (max-width: 767px) {
  section.section-steps li {
    flex-basis: 100%;
    padding: 0 15px 28px;
  }
  section.section-steps li + li {
    border-left: none;
    border-top: 1px solid #dbe3ec;
    padding-top: 28px;
  }
}
footer #footer-contact .fa.text-primary {
  color: var(--pfs-blue) !important;
}

/* vyhodne-balicky */ /* cards, hero banner, cta (used on rubrika/vyhodne-balicky and home) */

.vb{--b:#0b4fb0;--bd:#073a85;--bl:#e8f1fd;--n:#081a30;font-family:'Roboto',Arial,sans-serif;color:#333}
.vb h1,.vb h2,.vb h3{font-family:'Plus Jakarta Sans','Roboto',Arial,sans-serif;color:var(--n);letter-spacing:-.01em;margin:0}
.vb a.btn-x{display:inline-block;background:var(--b);color:#fff!important;padding:13px 28px;border-radius:30px;font-weight:700;text-decoration:none;transition:background .2s}
.vb a.btn-x:hover{background:var(--bd)}
.vb a.btn-o{display:inline-block;border:2px solid var(--b);color:var(--b)!important;padding:11px 26px;border-radius:30px;font-weight:700;text-decoration:none}
.vb a.btn-o:hover{background:var(--bl)}
.vb .lead{font-size:18px;line-height:1.6;color:#4a5568;max-width:720px}
.vb .pr{font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;color:var(--n)}
.vb .pr small{font-size:.5em;font-weight:500;color:#5e5e5e}
.vb ul.ck{list-style:none;padding:0;margin:14px 0 20px}
.vb ul.ck li{padding:5px 0 5px 26px;position:relative;line-height:1.45}
.vb ul.ck li:before{content:"\2713";position:absolute;left:0;color:var(--b);font-weight:700}
.vb .note{font-size:13px;color:#6b7280}
.vb section{margin:0 0 56px}
.vb .tag{display:inline-block;background:var(--bl);color:var(--b);font-weight:700;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:5px 12px;border-radius:20px}
.vb .cta{background:var(--n) radial-gradient(circle at 90% 10%,rgba(11,79,176,.55),transparent 55%);border-radius:20px;padding:44px 32px;text-align:center;color:#fff}
.vb .cta h2{color:#fff;margin-bottom:10px}
.vb .cta p{color:rgba(255,255,255,.8);max-width:600px;margin:0 auto 22px}
.vb .cta a.btn-x{background:#fff;color:var(--n)!important}
.vb .cta a.btn-x:hover{background:var(--bl)}
.vb .cta a.tel{color:#fff;font-weight:700;margin-left:18px;font-size:18px}
.vb .proof{display:flex;flex-wrap:wrap;gap:12px 28px;justify-content:center;font-size:14px;color:#4a5568;padding:18px 0;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}
.vb .proof b{color:var(--n)}
@media(max-width:767px){.vb .cta a.tel{display:block;margin:14px 0 0}}
#content .vb h1,#content .vb h2,#content .vb h3{text-transform:none!important;text-shadow:none!important;padding:0!important;color:var(--n)}
#content .vb h1,#content .vb h2{margin-top:0!important;-webkit-text-fill-color:currentColor!important;-webkit-text-stroke:0!important;opacity:1!important;line-height:1.15!important;margin-bottom:14px!important;height:auto!important;min-height:0!important;color:var(--n)!important;text-align:left!important}
#content .vb .cta h2{text-align:center!important}
#content .vb .tc h1{text-align:center!important}
#content .vb h1:after,#content .vb h2:after{display:none!important}
#content .vb .hero h1,#content .vb .cta h2{color:#fff!important}
#content .vb .cta a.tel{color:#fff!important}
#content .vb a.btn-x,#content .vb a.btn-x:hover{color:#fff!important}
#content .vb .cta a.btn-x,#content .vb .hero a.btn-x{color:var(--n)!important}
.vb section.hero p{margin:0 0 8px}
.vb section.hero{align-items:center}
/* D1 cards */
.vb .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px;align-items:stretch}
.vb .card{border:1px solid #dbe3ee;border-radius:18px;padding:28px 24px;display:flex;flex-direction:column;background:#fff;position:relative;transition:transform .15s,box-shadow .15s}
.vb .card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(8,26,48,.12)}
.vb .card.hot{border:2px solid var(--b);box-shadow:0 14px 34px rgba(11,79,176,.16)}
.vb .card .flag{position:absolute;top:-13px;left:24px;background:var(--b);color:#fff;font-size:12px;font-weight:700;padding:4px 12px;border-radius:20px}
.vb .card h3{font-size:21px;margin:6px 0 4px}
.vb .card .for{color:#5e5e5e;font-size:14px;min-height:42px}
.vb .card .pr{font-size:34px;margin:14px 0 0}
.vb .card .unit{font-size:13px;color:#6b7280;margin-bottom:6px}
.vb .card .btn-x,.vb .card .btn-o{margin-top:auto;text-align:center}
/* D2 audience tiles */
.vb .who{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.vb .tile{border-radius:18px;padding:32px 28px;background:linear-gradient(160deg,var(--bl),#fff);border:1px solid #dbe3ee;display:flex;flex-direction:column}
.vb .tile .ic{width:54px;height:54px;border-radius:14px;background:var(--b);color:#fff;font-size:26px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.vb .tile h3{font-size:22px;margin-bottom:6px}
.vb .tile .pr{font-size:26px;margin:10px 0 4px}
.vb .tile .btn-x{margin-top:auto;text-align:center}
.vb .steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;counter-reset:s}
.vb .step{padding:22px;border-radius:14px;background:#f6f8fb}
.vb .step:before{counter-increment:s;content:counter(s);display:flex;width:36px;height:36px;border-radius:50%;background:var(--n);color:#fff;font-weight:700;align-items:center;justify-content:center;margin-bottom:10px}
.vb .step b{display:block;color:var(--n);margin-bottom:4px}
/* D3 hero + table */
.vb .hero{background:var(--n);color:#fff;border-radius:22px;padding:56px 44px;display:grid;grid-template-columns:1.3fr 1fr;gap:36px;align-items:center;background-image:radial-gradient(circle at 90% 10%,rgba(11,79,176,.55),transparent 55%)}
.vb .hero h1{color:#fff;font-size:38px;line-height:1.15;margin-bottom:14px}
.vb .hero p{color:rgba(255,255,255,.82);font-size:18px;line-height:1.55}
.vb .hero .box{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:18px;padding:26px}
.vb .hero .box .pr{color:#fff;font-size:36px}
.vb .hero .box .pr small{color:rgba(255,255,255,.7)}
.vb .hero .btn-x{background:#fff;color:var(--n)!important}
@media(max-width:860px){.vb .hero{grid-template-columns:1fr;padding:36px 24px}.vb .hero h1{font-size:30px}}
.vb table.cmp{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #dbe3ee;border-radius:16px;overflow:hidden}
.vb table.cmp th,.vb table.cmp td{padding:14px 16px;border-bottom:1px solid #e8edf4;text-align:center;font-size:15px}
.vb table.cmp th:first-child,.vb table.cmp td:first-child{text-align:left}
.vb table.cmp thead th{background:var(--n);color:#fff;font-family:'Plus Jakarta Sans',sans-serif}
.vb table.cmp tbody tr:nth-child(even){background:#f6f8fb}
.vb table.cmp .y{color:var(--b);font-weight:700;font-size:18px}
.vb table.cmp .n{color:#c0c7d2}
.vb .scroll{overflow-x:auto}
.vb details{border:1px solid #dbe3ee;border-radius:12px;padding:16px 20px;margin-bottom:10px}
.vb details summary{font-weight:700;color:var(--n);cursor:pointer}
.vb details p{margin:10px 0 0;line-height:1.55}
.vb .feat{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.vb .feat div{padding:20px;border-radius:14px;background:var(--bl)}
.vb .feat b{display:block;color:var(--n);margin-bottom:4px}

#content .vb .hero h2{color:#fff!important;font-size:38px;line-height:1.15!important;margin:0 0 14px!important;text-align:left!important}
@media(max-width:860px){#content .vb .hero h2{font-size:30px}}
.vb.vb-home{margin:50px auto}


.contact-form select{width:100%;padding:13px 16px;border:1px solid #cfd8e6;border-radius:14px;background:#fff;font:inherit;font-size:16px;color:#333;margin-top:6px;text-transform:none;letter-spacing:0;font-weight:400}
.contact-form select:focus{border-color:var(--pfs-blue);box-shadow:0 0 0 4px rgba(11,79,176,.12);outline:none}

/* o-nas */
.on-lead p { text-align: center; font-size: 20px; line-height: 1.6; max-width: 760px; margin: 0 auto; }
.on-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 34px auto; text-align: center; }
.on-stats div { background: #edf2f8; border-radius: 14px; padding: 26px 16px; }
.on-stats b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 44px; line-height: 1.1; color: var(--pfs-blue); }
.on-stats span { display: block; margin-top: 8px; color: #4a5766; line-height: 1.4; }
.on-services h2, .on-people h2 { text-align: center; margin-bottom: 24px; }
.on-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.on-grid div { background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(8,26,48,.09); padding: 22px 22px 20px; }
.on-grid h3 { font-size: 18px; margin: 0 0 8px; color: var(--pfs-navy); }
.on-grid p { margin: 0; color: #4a5766; line-height: 1.55; }
.on-more { text-align: center; margin-top: 20px; font-weight: 600; }
.on-people { margin: 40px auto; }
.on-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.on-cols p { margin: 0; line-height: 1.65; }
@media (max-width: 600px) { .on-stats { grid-template-columns: 1fr; } .on-lead p { font-size: 18px; } }

/* smooth anchor scrolling (respects reduced-motion), offset for sticky nav */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* o-nas v2 */
.on-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
a.on-card { display: block; background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(8,26,48,.09); padding: 22px 22px 20px; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.on-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(8,26,48,.15); }
a.on-card h3 { font-size: 18px; margin: 0 0 8px; color: var(--pfs-navy); }
a.on-card:hover h3 { color: var(--pfs-blue); }
a.on-card p { margin: 0; color: #4a5766; line-height: 1.55; }
.on-timeline h2, .on-how h2, .on-where h2 { text-align: center; margin-bottom: 24px; }
.on-timeline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; border-top: 3px solid var(--pfs-blue); }
.on-timeline li { position: relative; padding: 22px 18px 0 0; }
.on-timeline li:before { content: ''; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--pfs-blue); }
.on-timeline b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; color: var(--pfs-blue); }
.on-timeline span { display: block; margin-top: 4px; line-height: 1.5; color: #4a5766; }
.on-how { margin: 40px auto; }
.on-how .on-cols p { background: #edf2f8; border-radius: 12px; padding: 20px 22px; }
.on-start { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--pfs-navy); border-radius: 16px; padding: 34px 36px; color: #fff; }
.on-start h2 { color: #fff; margin: 0 0 8px; text-align: left; }
.on-start p { margin: 0; max-width: 640px; color: rgba(255,255,255,.85); line-height: 1.6; }
.on-where { text-align: center; margin: 40px auto; }
.on-where p { margin: 0 0 8px; }
.on-small { font-size: 13px; color: #6b7280; }

.on-timeline h2 { margin-bottom: 40px !important; }
.on-timeline li.now:before { background: #fff; border: 4px solid var(--pfs-blue); box-sizing: border-box; }
.on-timeline li.now b { color: var(--pfs-navy); }

/* o-nas cards v2: 4 x 2, equal height, scannable */
.on-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 16px; }
a.on-card { display: flex; flex-direction: column; padding: 20px 20px 18px; min-height: 170px; }
a.on-card h3 { font-size: 19px; line-height: 1.25; margin: 0 0 10px; min-height: 2.5em; }
a.on-card p { font-size: 15.5px; line-height: 1.5; flex: 1; }
a.on-card .more { margin-top: 14px; font-weight: 700; color: var(--pfs-blue); font-size: 15px; }
a.on-card:focus-visible { outline: 2px solid var(--pfs-blue); outline-offset: 2px; }
@media (max-width: 1100px) { .on-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px) { .on-grid { grid-template-columns: 1fr !important; } a.on-card { min-height: 0; } a.on-card h3 { min-height: 0; } }
/* timeline ends at "Dnes" */
.on-timeline ol { border-top: 0 !important; }
.on-timeline li:not(:last-child):after { content: ''; position: absolute; top: -3px; left: 0; right: 0; height: 3px; background: var(--pfs-blue); }
.on-timeline li:before { z-index: 1; }
/* o-nas services v3: clean two-column list, no cards */
.on-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0 56px !important; max-width: 1000px; margin: 0 auto; }
a.on-card { background: none !important; box-shadow: none !important; border-radius: 0 !important; min-height: 0 !important; transform: none !important; padding: 22px 0 !important; border-bottom: 1px solid #dbe3ec; }
a.on-card h3 { min-height: 0 !important; font-size: 21px !important; margin: 0 0 6px !important; }
a.on-card p { font-size: 16.5px !important; flex: none !important; }
a.on-card .more { display: none; }
@media (max-width: 767px) { .on-grid { grid-template-columns: 1fr !important; } }

/* o-nas "Jak pracujeme": same clean list */
.on-how .on-cols p { background: none; padding: 0; border-radius: 0; }
.on-item { padding: 22px 0; border-bottom: 1px solid #dbe3ec; }
.on-item h3 { font-size: 21px; margin: 0 0 6px; color: var(--pfs-navy); }
.on-item p { margin: 0; font-size: 16.5px; line-height: 1.55; color: #4a5766; }
/* o-nas boxes v4: gap + hover (services and how we work) */
.on-grid { gap: 16px 20px !important; }
.on-item, a.on-card { background: #fff !important; border: 0 !important; border-radius: 12px !important; box-shadow: 0 2px 10px rgba(8,26,48,.09) !important; padding: 22px 24px !important; transition: transform .2s ease, box-shadow .2s ease; }
.on-item:hover, a.on-card:hover { transform: translateY(-4px) !important; box-shadow: 0 12px 28px rgba(8,26,48,.16) !important; }
a.on-card:hover h3 { color: var(--pfs-navy); }

/* legal / long text pages: Obchodni podminky, Reklamacni rad, CSR - readable, left aligned */
.legal { max-width: 820px; margin: 0 auto; }
.legal p, .legal li, .legal h2, .legal h3 { text-align: left !important; }
.legal p { font-size: 17px; line-height: 1.75; margin: 0 0 14px; color: #2f3b4a; }
.legal h2 { font-size: 26px; line-height: 1.25; margin: 48px 0 14px !important; padding-top: 28px; border-top: 1px solid #dbe3ec; }
.legal h3 { font-size: 19px; margin: 28px 0 10px !important; color: var(--pfs-navy); }
.legal .cl { padding-left: 0; }
.legal .cl b { color: var(--pfs-navy); margin-right: 4px; }
.legal .cl.lt { margin-left: 30px; }
.legal ul { padding-left: 22px; }
.legal li { line-height: 1.7; margin-bottom: 6px; }
.legal-toc { background: #edf2f8; border-radius: 12px; padding: 22px 26px; margin: 10px 0 8px; }
.legal-toc h2 { font-size: 20px !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; }
.legal-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 40px; }
.legal-toc li { margin-bottom: 6px; line-height: 1.4; break-inside: avoid; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } .legal h2 { font-size: 23px; } }

/* kontakt: three info boxes */
.kc .kc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1100px; margin: 0 auto; }
.kc-box { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(8,26,48,.09); padding: 34px 24px 28px; transition: transform .2s ease, box-shadow .2s ease; }
.kc-box:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(8,26,48,.16); }
.kc-box > .fa { font-size: 34px; color: var(--pfs-blue); margin-bottom: 14px; }
.kc-box h3 { font-size: 20px; margin: 0 0 14px; color: var(--pfs-navy); }
.kc-box p { margin: 0 0 4px; font-size: 17px; line-height: 1.55; color: #4a5766; }
.kc-box p.kc-main { font-size: 21px; font-weight: 700; color: var(--pfs-navy); margin-bottom: 6px; }
.kc-box a { color: var(--pfs-blue); text-decoration: none; }
.kc-box p.kc-main a { color: var(--pfs-navy); }
.kc-box a:hover { text-decoration: underline; }
.kc-link { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 16px; }
@media (max-width: 860px) { .kc .kc-grid { grid-template-columns: 1fr; } }


/* quiz */
.quiz .qz-lead { font-size: 19px; line-height: 1.6; margin-bottom: 28px; }
.qz-q { border: 0; background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(8,26,48,.09); padding: 22px 24px; margin: 0 0 18px; min-width: 0; }
.qz-q legend { float: none; width: auto; border: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.35; color: var(--pfs-navy); padding: 0; margin: 0 0 12px; }
.qz-n { color: var(--pfs-blue); }
.qz-opt { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; margin: 0 -12px; border-radius: 8px; cursor: pointer; font-weight: 400; line-height: 1.5; transition: background .15s; }
.qz-opt:hover { background: #edf2f8; }
.qz-opt input { margin-top: 5px; accent-color: var(--pfs-blue); flex: none; }
.qz-opt input:checked + span { color: var(--pfs-navy); font-weight: 600; }
.qz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 26px 0 40px; }
#qz-msg { color: #b3261e; font-weight: 600; }
.qz-result { background: #fff; border-radius: 14px; box-shadow: 0 6px 24px rgba(8,26,48,.12); padding: 36px 34px; margin: 0 0 40px; }
.qz-result h2 { border: 0 !important; padding-top: 0 !important; margin: 0 0 10px !important; font-size: 34px; }
.qz-eyebrow { text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: 13px; color: var(--pfs-blue) !important; margin-bottom: 6px !important; }
.qz-cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.qz-contact { font-size: 15px !important; color: #6b7280 !important; margin-top: 18px; }

/* quiz teaser on home */
.quiz-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; max-width: 1000px; margin: 40px auto; background: #fff; border-radius: 14px; box-shadow: 0 4px 20px rgba(8,26,48,.12); padding: 30px 36px; }
.quiz-teaser h2 { text-align: left !important; margin: 0 0 8px !important; font-size: 28px; }
.quiz-teaser h2:after { display: none !important; }
.quiz-teaser p { margin: 0; max-width: 560px; line-height: 1.6; color: #4a5766; }
.quiz-teaser { padding: 30px 40px !important; box-sizing: border-box; box-shadow: 0 6px 28px rgba(8,26,48,.16) !important; }

/* blog list: card grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 10px 0 40px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(8,26,48,.09); text-decoration: none !important; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(8,26,48,.16); }
.bc-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #edf2f8; }
.bc-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; margin: 0 !important; transition: transform .4s ease; }
.blog-card:hover .bc-img img { transform: scale(1.04); }
.bc-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.bc-meta { font-size: 13px; color: #6b7280; margin-bottom: 8px; }
.bc-body h2 { font-size: 21px !important; line-height: 1.25 !important; margin: 0 0 10px !important; padding: 0 !important; color: var(--pfs-navy); text-align: left !important; }
.bc-body h2:after { display: none !important; }
.bc-ex { font-size: 15.5px; line-height: 1.55; color: #4a5766; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bc-more { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--pfs-blue); }
.blog-card:hover .bc-more { text-decoration: underline; }
.blog-featured { grid-column: 1 / -1; flex-direction: row; }
.blog-featured .bc-img { flex: 0 0 52%; aspect-ratio: auto; min-height: 300px; }
.blog-featured .bc-body { justify-content: center; padding: 30px 34px; }
.blog-featured .bc-body h2 { font-size: 30px !important; }
.blog-featured .bc-ex { font-size: 17px; -webkit-line-clamp: 6; }
@media (max-width: 991px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } .blog-featured { flex-direction: column; } .blog-featured .bc-img { flex: none; aspect-ratio: 16 / 10; min-height: 0; } .blog-featured .bc-body h2 { font-size: 24px !important; } }

/* blog post */
main.post .section-container { max-width: 760px; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
.post-crumb { max-width: 760px; margin: 6px auto 0; font-size: 15px; }
.post-crumb a { color: var(--pfs-blue); font-weight: 600; }
.post-crumb a:before { content: '<- '; }
.post-meta { max-width: 760px; margin: 0 auto 18px; color: #6b7280; font-size: 15px; text-align: left !important; }
.post-hero { max-width: 760px; margin: 0 auto 26px; }
main.post .post-hero img, main.post img { max-width: 100%; height: auto; border-radius: 12px; display: block; margin: 22px 0; }
main.post h1 { text-align: left !important; font-size: 40px; line-height: 1.15; margin: 14px 0 10px !important; }
main.post h1:after { display: none !important; }
main.post h2, main.post h3 { text-align: left !important; margin: 34px 0 12px !important; }
main.post h2 { font-size: 27px; }
main.post p, main.post li { text-align: left !important; font-size: 18px !important; line-height: 1.75 !important; color: #2f3b4a; }
main.post p span, main.post li span { font-size: inherit !important; font-family: inherit !important; line-height: inherit !important; }
main.post .section-title p, main.post .section-title .text-container p { font-size: 20px !important; color: var(--pfs-navy); }
main.post .section-title .text-container, main.post .section-title .section-content { background: none !important; box-shadow: none !important; padding: 0 !important; border: 0 !important; }
main.post .row { display: block; margin-left: 0; margin-right: 0; }
main.post [class*="col-sm-6"] { width: 100%; float: none; padding-left: 0; padding-right: 0; }
main.post .section-blank p { color: #6b7280; }
.post-extra { max-width: none !important; margin-top: 56px; }
.post-extra > h2 { text-align: left; margin-bottom: 18px !important; }
.blog-related { margin-bottom: 30px; }
.post-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; background: #fff; border-radius: 14px; box-shadow: 0 6px 26px rgba(8,26,48,.14); padding: 30px 34px; }
.post-cta h2 { margin: 0 0 6px !important; font-size: 24px; text-align: left !important; }
.post-cta p { margin: 0 !important; max-width: 560px; font-size: 16.5px !important; color: #4a5766 !important; }
/* blog fixes */
.blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.blog-grid > * { min-width: 0; }
@media (max-width: 991px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: minmax(0, 1fr) !important; } }
main.post section.section-title p.Standard, main.post section.section-title .text-container p { background: none !important; padding: 0 !important; border-radius: 0 !important; max-width: none !important; margin: 0 0 16px !important; box-shadow: none !important; }
main.post a#comments + div { display: none !important; }

/* faq page + home link */
.faq-more { text-align: center; margin: 26px 0 0; font-weight: 700; }
.faq-more a { color: var(--pfs-blue); }
.faq-end { text-align: center; margin: 20px auto 40px; }
.faq-end h2 { margin-bottom: 10px; }
.faq-end p { margin-bottom: 14px; }

.faq-list strong.hl { color: var(--pfs-blue); font-weight: 700; }
.cf-err { margin-top: 12px; padding: 14px 18px; background: #fdecec; border-radius: 12px; color: #8a1c1c; font-weight: 600; }
/* headings: balanced lines (no lone last word), a bit more room between words */
.section-title h1, .section-title h2, .section-dynamic h1, h2.h1-look { text-wrap: balance; word-spacing: .12em; max-width: 22ch; margin-left: auto; margin-right: auto; }

/* contact form: required marker (red) and optional hint (grey) */
.contact-form .req { color: #d62828; margin-left: 4px; font-weight: 700; }
.contact-form .opt { color: #8a93a3; margin-left: 8px; font-weight: 400; font-size: 12px; letter-spacing: 0; text-transform: none; }
