﻿/* === Průvodce výběrem (pk-guide) – styl blog.css === */


.pk-guide {
  margin: 24px 0;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid #bfe3de;
  border-radius: 6px;
  box-shadow:
    0 1px 2px rgba(0, 109, 99, 0.04),
    0 8px 18px rgba(0, 109, 99, 0.05);
}


.pk-guide__title {
  margin: 0 0 10px;
  color: #006d63;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
}


.pk-guide__intro {
  margin: 0 0 16px;
  color: #006d63;
  line-height: 1.6;
}


/* Rozbalovací logika přes <details> */
.pk-guide details {
  margin: 0;
}


.pk-guide details > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #00a896;
  color: #ffffff;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  transition: background-color 0.15s ease;
  user-select: none;
  box-sizing: border-box;
}


.pk-guide details > summary::-webkit-details-marker {
  display: none;
}


.pk-guide details > summary:hover {
  background: #006d63;
}


.pk-guide details > summary:focus-visible {
  outline: 3px solid rgba(0, 168, 150, 0.35);
  outline-offset: 3px;
}


/* Chevron */
.pk-guide__chevron {
  width: 14px;
  height: 14px;
  display: block;
  transition: transform 0.2s ease;
}


.pk-guide details[open] .pk-guide__chevron {
  transform: rotate(180deg);
}


/* Přepínání textu tlačítka */
.pk-guide__btn-label--more {
  display: inline;
}


.pk-guide__btn-label--less {
  display: none;
}


.pk-guide details[open] .pk-guide__btn-label--more {
  display: none;
}


.pk-guide details[open] .pk-guide__btn-label--less {
  display: inline;
}


/* Obsah průvodce po rozbalení */
.pk-guide__content {
  margin-top: 8px;
  padding-top: 16px;
}


.pk-guide details[open] .pk-guide__content {
  border-top: 1px solid #edf6f4;
  margin-top: 18px;
}


/* Kroky uvnitř průvodce */
.pk-guide ol.pk-steps {
  --num-size: 28px;
  --num-gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pkstep;
}


.pk-guide ol.pk-steps > li {
  position: relative;
  margin: 0 0 28px;
  padding-top: 2px;
  padding-left: 0;
  min-height: 0;
  counter-increment: pkstep;
}


.pk-guide ol.pk-steps > li:last-child {
  margin-bottom: 0;
}


/* Číslovaný badge u kroku – styl barevných nadpisů z blog.css */
.pk-guide ol.pk-steps > li::before {
  content: counter(pkstep);
  position: absolute;
  top: 2px;
  left: 0;
  width: var(--num-size, 28px);
  height: var(--num-size, 28px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e8f7f4;
  border: 1px solid #d5eeea;
  color: #006d63;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}


.pk-guide__stepTitle {
  margin: 0 0 8px;
  padding-left: calc(var(--num-size, 28px) + var(--num-gap, 12px));
  min-height: var(--num-size, 28px);
  display: flex;
  align-items: center;
  color: #006d63;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}


.pk-guide__stepLead {
  margin: 0 0 12px;
  color: #006d63;
  line-height: 1.65;
}


/* Mezery mezi komponenty uvnitř kroku */
.pk-guide ol.pk-steps > li .pk-data-table__wrap {
  margin: 12px 0 6px;
}


.pk-guide ol.pk-steps > li .pk-tip {
  margin: 12px 0 0;
}


.pk-guide ol.pk-steps > li .pk-bullets--dot {
  margin: 8px 0 0;
}


/* Tip uvnitř průvodce – sjednoceno s tip-note z blog.css */
.pk-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0;
  padding: 14px 16px;
  background: #f1faf8;
  color: #24242E;
  border: 1px solid #00a896;
  border-radius: 4px;
  line-height: 1.55;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}


.pk-tip__icon {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1.3;
  color: #00a897;
  font-weight: 700;
}


.pk-tip__text {
  flex: 1 1 auto;
  font-weight: 500;
}


.pk-tip__text strong {
  color: #5f5547;
  font-weight: 700;
}


.pk-tip a {
  color: #00a896;
  text-decoration: underline;
  text-underline-offset: 2px;
}


.pk-tip a:hover {
  color: #006d63;
}


/* Mobil */
@media (max-width: 640px) {
  .pk-guide {
    padding: 14px 12px;
    text-align: left;
  }


  .pk-guide,
  .pk-guide p,
  .pk-guide li,
  .pk-guide td,
  .pk-guide th,
  .pk-guide h2,
  .pk-guide h3,
  .pk-guide h4 {
    text-align: left !important;
  }


  .pk-guide__title {
    font-size: 22px;
  }


  .pk-guide__intro {
    font-size: 14px;
    line-height: 1.6;
  }


  .pk-guide__stepTitle {
    font-size: 15px;
    padding-left: 34px;
    min-height: 24px;
  }


  .pk-guide ol.pk-steps {
    --num-size: 24px;
    --num-gap: 10px;
  }


  .pk-guide ol.pk-steps > li::before {
    width: 24px;
    height: 24px;
    font-size: 12px;
    top: 1px;
  }


  .pk-guide__stepLead {
    font-size: 14px;
    line-height: 1.6;
  }


  .pk-guide details > summary {
    width: 100%;
    justify-content: center;
  }


  .pk-guide ol.pk-steps > li {
    font-size: 14px;
    line-height: 1.6;
  }


  .pk-guide ol.pk-steps > li .pk-bullets--dot,
  .pk-guide ol.pk-steps > li .pk-bullets--dot li {
    font-size: 14px;
    line-height: 1.6;
  }


  .pk-guide .pk-tip,
  .pk-guide .pk-tip__text {
    font-size: 14px;
    line-height: 1.55;
  }
}








/* === Trust box s USP – styl blog.css === */


.trust-box-wrap {
  font-family: inherit;
  width: 100%;
  padding: 1.5rem 1.75rem;
  background: #f1faf8;
  border: 1px solid #bfe3de;
  border-radius: 6px;
  box-sizing: border-box;
  box-shadow:
    0 1px 2px rgba(0, 109, 99, 0.04),
    0 8px 18px rgba(0, 109, 99, 0.05);
}


.trust-box-text {
  font-size: 14px;
  line-height: 1.75;
  color: #006d63;
  margin: 0 0 1.5rem;
}


.trust-box-text strong {
  font-weight: 700;
  color: inherit;
}


.trust-box-usps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid #abd8d2;
  padding-top: 1.25rem;
}


.trust-box-usp {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  gap: 10px;
}


/* Čáry pouze na desktopu */
.trust-box-usp + .trust-box-usp {
  border-left: 1px solid #abd8d2;
}


.trust-box-usp-icon {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00a896;
}


/* Obrázkové ikony (PNG, JPG, SVG) */
.trust-box-usp-icon img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  display: block;
}


.trust-box-usp-label {
  font-size: 12px;
  font-weight: 600;
  color: #006d63;
  line-height: 1.4;
  text-align: center;
}


/* Přebije text-align:left z .category__secondDescription * */
.category__secondDescription .trust-box-usp-label {
  text-align: center !important;
}


/* Tablet – 3 sloupce, bez čar */
@media (max-width: 760px) {
  .trust-box-usps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.5rem;
  }
  .trust-box-usp + .trust-box-usp {
    border-left: none;
  }
}


/* Mobil – 2 sloupce, bez čar */
@media (max-width: 480px) {
  .trust-box-wrap {
    padding: 1.25rem;
    border-radius: 6px;
  }
  .trust-box-text {
    font-size: 13px;
  }
  .trust-box-usps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.5rem;
  }
  .trust-box-usp + .trust-box-usp {
    border-left: none;
  }
  .trust-box-usp-icon {
    height: 36px;
  }
  .trust-box-usp-label {
    font-size: 11.5px;
  }
}