/* ==========================================================
   TEJPY.cz — UNIVERSAL CATEGORY CSS FOR SHOPTET
   FINAL / DESKTOP + TABLET + MOBILE
   ==========================================================
   Vložte do globálního CSS Shoptetu.
   HTML používá třídy začínající "tejp-category".
   H1 není součástí HTML — H1 vytváří Shoptet.
   ========================================================== */


/* ==========================================================
   ZÁKLAD
   ========================================================== */

body .tejp-category {
  display: block !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  color: #1b2422 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  text-align: left !important;
}

body .tejp-category *,
body .tejp-category *:before,
body .tejp-category *:after {
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
}


/* ==========================================================
   NADPISY A TEXT
   ========================================================== */

body .tejp-category h2 {
  display: block !important;
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
  color: #1b2422 !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

body .tejp-category h3 {
  display: block !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  color: #1b2422 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
}

body .tejp-category p {
  display: block !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: 1.6 !important;
}

body .tejp-category strong {
  font-weight: 700 !important;
}

body .tejp-category a {
  color: #176b58 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

body .tejp-category a:hover {
  color: #0e4c3f !important;
}


/* KICKER */

body .tejp-category .tejp-category-kicker {
  display: block !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  color: #176b58 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}


/* ==========================================================
   ÚVODNÍ BLOK
   ========================================================== */

body .tejp-category .tejp-category-intro {
  display: block !important;
  width: 100% !important;
  margin: 0 0 34px 0 !important;
  padding: 24px 28px !important;
  border: 1px solid #dfe5e2 !important;
  border-radius: 16px !important;
  background: #f5f7f6 !important;
  overflow: hidden !important;
}

body .tejp-category .tejp-category-intro h2 {
  margin-bottom: 12px !important;
}

body .tejp-category .tejp-category-intro p {
  max-width: 900px !important;
  color: #66716e !important;
}

body .tejp-category .tejp-category-intro .tejp-category-lead {
  color: #394541 !important;
  font-size: 17px !important;
}


/* ==========================================================
   SEKCE
   ========================================================== */

body .tejp-category .tejp-category-section {
  display: block !important;
  width: 100% !important;
  margin: 0 0 42px 0 !important;
  padding: 0 !important;
}

body .tejp-category .tejp-category-section > h2 {
  margin-bottom: 18px !important;
}


/* ==========================================================
   KARTY — DESKTOP
   ========================================================== */

body .tejp-category .tejp-category-grid {
  display: flex !important;
  width: 100% !important;
  margin: 0 -6px !important;
  padding: 0 !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
}

body .tejp-category .tejp-category-card {
  display: block !important;
  flex: 0 0 calc(25% - 12px) !important;
  width: calc(25% - 12px) !important;
  margin: 0 6px 12px 6px !important;
  padding: 19px !important;
  border: 1px solid #dfe5e2 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  vertical-align: top !important;
}

body .tejp-category .tejp-category-card h3 {
  margin-bottom: 8px !important;
}

body .tejp-category .tejp-category-card p {
  margin: 0 !important;
  color: #66716e !important;
  font-size: 14px !important;
}


/* ==========================================================
   SVĚTLÁ SEKCE
   ========================================================== */

body .tejp-category .tejp-category-section-soft {
  display: block !important;
  width: 100% !important;
  padding: 27px 29px !important;
  border-radius: 18px !important;
  background: #f5f7f6 !important;
}


/* ==========================================================
   TABULKA
   ========================================================== */

body .tejp-category .tejp-category-table-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 16px 0 0 0 !important;
  padding: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  border: 1px solid #dfe5e2 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  -webkit-overflow-scrolling: touch !important;
}

body .tejp-category .tejp-category-table {
  display: table !important;
  width: 100% !important;
  min-width: 680px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: auto !important;
  font-size: 14px !important;
}

body .tejp-category .tejp-category-table caption {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

body .tejp-category .tejp-category-table thead {
  display: table-header-group !important;
}

body .tejp-category .tejp-category-table tbody {
  display: table-row-group !important;
}

body .tejp-category .tejp-category-table tr {
  display: table-row !important;
}

body .tejp-category .tejp-category-table th,
body .tejp-category .tejp-category-table td {
  display: table-cell !important;
  padding: 12px 14px !important;
  border-bottom: 1px solid #dfe5e2 !important;
  text-align: left !important;
  vertical-align: top !important;
  white-space: normal !important;
}

body .tejp-category .tejp-category-table thead th {
  background: #edf2ef !important;
  color: #33403c !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

body .tejp-category .tejp-category-table tbody th {
  width: 25% !important;
  color: #1b2422 !important;
  font-weight: 700 !important;
}

body .tejp-category .tejp-category-table tbody td {
  color: #66716e !important;
}

body .tejp-category .tejp-category-table tbody tr:last-child th,
body .tejp-category .tejp-category-table tbody tr:last-child td {
  border-bottom: 0 !important;
}


/* ==========================================================
   INFORMAČNÍ BLOK
   ========================================================== */

body .tejp-category .tejp-category-note {
  display: block !important;
  width: 100% !important;
  padding: 23px 27px !important;
  border-left: 4px solid #176b58 !important;
  background: #f5f7f6 !important;
}

body .tejp-category .tejp-category-note p {
  max-width: 900px !important;
  margin-bottom: 0 !important;
  color: #66716e !important;
}


/* ==========================================================
   FAQ
   ========================================================== */

body .tejp-category .tejp-category-faq {
  display: block !important;
  width: 100% !important;
  max-width: 900px !important;
}

body .tejp-category .tejp-category-faq-heading {
  display: block !important;
  margin-bottom: 17px !important;
}

body .tejp-category .tejp-category-faq-heading > p:last-child {
  color: #66716e !important;
}

body .tejp-category .tejp-category-faq-list {
  display: block !important;
  width: 100% !important;
}

body .tejp-category .tejp-category-faq-item {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 17px 0 !important;
  border-top: 1px solid #dfe5e2 !important;
}

body .tejp-category .tejp-category-faq-item:last-child {
  border-bottom: 1px solid #dfe5e2 !important;
}

body .tejp-category .tejp-category-faq-item h3 {
  margin-bottom: 7px !important;
  font-size: 17px !important;
}

body .tejp-category .tejp-category-faq-answer {
  display: block !important;
  color: #66716e !important;
  font-size: 14px !important;
}

body .tejp-category .tejp-category-faq-answer p {
  margin-bottom: 0 !important;
}


/* ==========================================================
   E-E-A-T
   ========================================================== */

body .tejp-category .tejp-category-expert {
  display: table !important;
  width: 100% !important;
  margin: 0 0 42px 0 !important;
  padding: 25px 28px !important;
  border: 1px solid #cfe0da !important;
  border-radius: 18px !important;
  background: #f3f8f6 !important;
}

body .tejp-category .tejp-category-expert-mark {
  display: table-cell !important;
  width: 60px !important;
  padding-right: 18px !important;
  vertical-align: top !important;
  color: #176b58 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 42px !important;
}

body .tejp-category .tejp-category-expert-content {
  display: table-cell !important;
  vertical-align: top !important;
}

body .tejp-category .tejp-category-expert-content h2 {
  margin-bottom: 12px !important;
}

body .tejp-category .tejp-category-expert-content p {
  max-width: 900px !important;
  color: #66716e !important;
}

body .tejp-category .tejp-category-expert-meta {
  display: block !important;
  margin-top: 16px !important;
  padding-top: 14px !important;
  border-top: 1px solid #d4e3de !important;
  color: #66716e !important;
  font-size: 13px !important;
}

body .tejp-category .tejp-category-expert-meta span {
  display: inline-block !important;
  margin-right: 24px !important;
}


/* ==========================================================
   ZDROJE
   ========================================================== */

body .tejp-category .tejp-category-source {
  display: block !important;
  width: 100% !important;
  max-width: 900px !important;
  margin: -8px 0 0 0 !important;
  padding-top: 17px !important;
  border-top: 1px solid #dfe5e2 !important;
  color: #66716e !important;
  font-size: 12px !important;
}

body .tejp-category .tejp-category-source p {
  margin-bottom: 5px !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media only screen and (max-width: 900px) {

  body .tejp-category {
    max-width: 100% !important;
  }

  body .tejp-category .tejp-category-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -5px !important;
  }

  body .tejp-category .tejp-category-card {
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    margin: 0 5px 10px 5px !important;
  }

}


/* ==========================================================
   MOBIL
   ========================================================== */

@media only screen and (max-width: 600px) {

  body .tejp-category {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  body .tejp-category h2 {
    margin-bottom: 15px !important;
    font-size: 25px !important;
    line-height: 1.25 !important;
  }

  body .tejp-category h3 {
    font-size: 17px !important;
    line-height: 1.3 !important;
  }

  body .tejp-category p {
    line-height: 1.55 !important;
  }


  /* TOP */

  body .tejp-category .tejp-category-intro {
    width: 100% !important;
    margin-bottom: 28px !important;
    padding: 20px 17px !important;
    border-radius: 12px !important;
  }

  body .tejp-category .tejp-category-intro .tejp-category-lead {
    font-size: 16px !important;
  }


  /* SEKCE */

  body .tejp-category .tejp-category-section {
    width: 100% !important;
    margin-bottom: 32px !important;
  }


  /* KARTY */

  body .tejp-category .tejp-category-grid {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body .tejp-category .tejp-category-card {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    padding: 16px !important;
    border-radius: 11px !important;
  }


  /* SVĚTLÁ SEKCE */

  body .tejp-category .tejp-category-section-soft {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 20px 14px !important;
    border-radius: 12px !important;
  }


  /* TABULKA */

  body .tejp-category .tejp-category-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 14px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body .tejp-category .tejp-category-table {
    width: 680px !important;
    min-width: 680px !important;
    max-width: none !important;
    font-size: 13px !important;
  }

  body .tejp-category .tejp-category-table th,
  body .tejp-category .tejp-category-table td {
    padding: 10px 11px !important;
  }


  /* NOTE */

  body .tejp-category .tejp-category-note {
    width: 100% !important;
    padding: 18px 16px !important;
  }


  /* FAQ */

  body .tejp-category .tejp-category-faq {
    width: 100% !important;
    max-width: 100% !important;
  }

  body .tejp-category .tejp-category-faq-item {
    padding: 15px 0 !important;
  }

  body .tejp-category .tejp-category-faq-answer {
    font-size: 14px !important;
  }


  /* E-E-A-T */

  body .tejp-category .tejp-category-expert {
    display: block !important;
    width: 100% !important;
    margin-bottom: 32px !important;
    padding: 19px 17px !important;
    border-radius: 12px !important;
  }

  body .tejp-category .tejp-category-expert-mark {
    display: block !important;
    width: auto !important;
    margin-bottom: 5px !important;
    padding: 0 !important;
    font-size: 25px !important;
    line-height: 32px !important;
  }

  body .tejp-category .tejp-category-expert-content {
    display: block !important;
    width: 100% !important;
  }

  body .tejp-category .tejp-category-expert-meta {
    margin-top: 14px !important;
    padding-top: 12px !important;
  }

  body .tejp-category .tejp-category-expert-meta span {
    display: block !important;
    margin: 0 0 5px 0 !important;
  }


  /* ZDROJE */

  body .tejp-category .tejp-category-source {
    width: 100% !important;
    font-size: 12px !important;
  }

}


/* ==========================================================
   VERY SMALL PHONES
   ========================================================== */

@media only screen and (max-width: 380px) {

  body .tejp-category .tejp-category-intro {
    padding: 17px 14px !important;
  }

  body .tejp-category h2 {
    font-size: 23px !important;
  }

  body .tejp-category .tejp-category-card {
    padding: 14px !important;
  }

  body .tejp-category .tejp-category-section-soft {
    padding: 17px 11px !important;
  }

}
