/* === Blog článek – redesign (.type-post .news-item-detail) === */

/* --- Datum --- */
.type-post .news-item-detail time {
  font-size: 14px !important;
  color: #888 !important;
  margin-bottom: 20px !important;
}

/* --- Kontejner textu --- */
.type-post .news-item-detail .text {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px !important;
}

/* --- Override inline font-family Source Sans 3 → Nunito Sans --- */
.type-post .news-item-detail .text span[style*="font-family"] {
  font-family: 'Nunito Sans', sans-serif !important;
}

/* --- Odstavce --- */
.type-post .news-item-detail .text p {
  font-size: 16px !important;
  line-height: 28px !important;
  margin-bottom: 24px !important;
  color: #24242E !important;
}

/* --- První odstavec (intro) --- */
.type-post .news-item-detail .text > p:first-of-type {
  font-size: 18px !important;
  line-height: 30px !important;
  font-weight: 600 !important;
}

/* --- h4 nadpisy – zelený levý border --- */
.type-post .news-item-detail .text h4 {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #24242E !important;
  margin: 36px 0 20px 0 !important;
  border-left: 4px solid #239D38;
  padding-left: 16px;
}

/* --- h3 nadpisy – zelený levý border --- */
.type-post .news-item-detail .text h3 {
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #24242E !important;
  margin: 40px 0 22px 0 !important;
  border-left: 4px solid #239D38;
  padding-left: 16px;
}

/* --- h5/h6 nadpisy --- */
.type-post .news-item-detail .text h5,
.type-post .news-item-detail .text h6 {
  font-weight: 700 !important;
  color: #24242E !important;
  margin: 28px 0 16px 0 !important;
  border-left: 3px solid #239D38;
  padding-left: 14px;
}

/* --- Obrázky --- */
.type-post .news-item-detail .text img {
  width: 100% !important;
  height: auto !important;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin: 28px 0 !important;
  display: block;
}

/* Obrázky s explicitní šířkou (menší) – zachovat originální šířku */
.type-post .news-item-detail .text img[width] {
  width: auto !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* --- Seznamy ul/li --- */
.type-post .news-item-detail .text ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 20px 0 28px 0 !important;
}

.type-post .news-item-detail .text ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 16px !important;
  line-height: 28px !important;
  color: #24242E !important;
}

.type-post .news-item-detail .text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #239D38;
}

/* Odstavce uvnitř li – reset marginu */
.type-post .news-item-detail .text ul li p {
  margin-bottom: 4px !important;
}

/* --- Ordered lists ol --- */
.type-post .news-item-detail .text ol {
  padding-left: 24px !important;
  margin: 20px 0 28px 0 !important;
}

.type-post .news-item-detail .text ol li {
  font-size: 16px !important;
  line-height: 28px !important;
  color: #24242E !important;
  margin-bottom: 10px;
  padding-left: 4px;
}

/* --- Odkazy --- */
.type-post .news-item-detail .text a {
  color: #239D38 !important;
  text-decoration: underline !important;
  transition: color 0.2s ease;
}

.type-post .news-item-detail .text a:hover {
  color: #1a7a2a !important;
}

/* --- Tučný text --- */
.type-post .news-item-detail .text b,
.type-post .news-item-detail .text strong {
  font-weight: 700;
  color: #24242E;
}

/* --- Blockquote (pokud existuje) --- */
.type-post .news-item-detail .text blockquote {
  border-left: 4px solid #239D38;
  padding: 16px 20px;
  margin: 28px 0;
  background: #f8f8f8;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 17px !important;
  line-height: 28px !important;
  color: #444;
}

/* ==============================
   RESPONSIVE
   ============================== */

@media screen and (max-width: 991px) {
  .type-post .news-item-detail .text h4 {
    font-size: 20px !important;
  }

  .type-post .news-item-detail .text h3 {
    font-size: 22px !important;
  }

  .type-post .news-item-detail .text > p:first-of-type {
    font-size: 17px !important;
    line-height: 28px !important;
  }
}

@media screen and (max-width: 767px) {
  .type-post .news-item-detail .text h4 {
    font-size: 19px !important;
    border-left-width: 3px;
    padding-left: 14px;
    margin: 30px 0 16px 0 !important;
  }

  .type-post .news-item-detail .text h3 {
    font-size: 21px !important;
    border-left-width: 3px;
    padding-left: 14px;
    margin: 34px 0 18px 0 !important;
  }

  .type-post .news-item-detail .text h5,
  .type-post .news-item-detail .text h6 {
    border-left-width: 3px;
    padding-left: 12px;
  }

  .type-post .news-item-detail .text img {
    border-radius: 10px;
    margin: 22px 0 !important;
  }

  .type-post .news-item-detail .text {
    margin-bottom: 36px !important;
  }
}

@media screen and (max-width: 479px) {
  .type-post .news-item-detail .text h4 {
    font-size: 18px !important;
    margin: 26px 0 14px 0 !important;
  }

  .type-post .news-item-detail .text h3 {
    font-size: 20px !important;
    margin: 30px 0 16px 0 !important;
  }

  .type-post .news-item-detail .text p {
    font-size: 15px !important;
    line-height: 26px !important;
    margin-bottom: 20px !important;
  }

  .type-post .news-item-detail .text > p:first-of-type {
    font-size: 16px !important;
    line-height: 26px !important;
  }

  .type-post .news-item-detail .text ul li {
    font-size: 15px !important;
    line-height: 26px !important;
  }

  .type-post .news-item-detail .text ul li::before {
    top: 9px;
    width: 7px;
    height: 7px;
  }

  .type-post .news-item-detail .text ol li {
    font-size: 15px !important;
    line-height: 26px !important;
  }
}
