/* =====================================
POMOC STAVEBNIKUM
Jemne upravy vzhledu webu
===================================== */

/* ZAKLADNI TEXT */
#content p,
main p,
article p {
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 8px;
}

/* NADPISY */
#content h1,
#content h2,
#content h3,
main h1,
main h2,
main h3 {
  line-height: 1.25;
  margin-top: 22px;
  margin-bottom: 10px;
}

/* HLAVNI NADPIS */
#content h1,
main h1 {
  margin-top: 0;
  margin-bottom: 16px;
}

/* ODKAZY */
#content a,
main a {
  text-underline-offset: 3px;
}

/* OBRÁZKY */
#content img,
main img {
  max-width: 100%;
  height: auto;
}

/* MOBILNI ZOBRAZENI */
@media (max-width: 768px) {
  #content p,
  main p,
  article p {
    line-height: 1.5;
    margin-bottom: 7px;
  }

  #content h1,
  #content h2,
  #content h3,
  main h1,
  main h2,
  main h3 {
    margin-top: 18px;
    margin-bottom: 9px;
  }
}


/* =================================
OPRAVA MEZER MEZI ODSTAVCI
POMOC STAVEBNIKUM
================================= */

p {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
  line-height: 1.45 !important;
}

p + p {
  margin-top: 0 !important;
}

/* Textove bloky */
div p {
  margin-bottom: 6px !important;
}

/* Mobilni zarizeni */
@media screen and (max-width: 768px) {
  p {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    line-height: 1.45 !important;
  }
}


/* DIAGNOSTIKA ROZESTUPU BLOKU */
p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
}

p + p {
  margin-top: 0 !important;
}

p br {
  line-height: 1.35 !important;
}
