/* =========================================================
KŘTINY, MŮJ DOMOV
Sjednocení vertikálního rytmu homepage
========================================================= */


/* ---------------------------------------------------------
1. ÚVOD HOMEPAGE
--------------------------------------------------------- */

.km-home-intro {
  margin: 0 0 56px 0 !important;
  padding: 22px 0 0 0 !important;
}

.km-home-intro h1 {
  margin-top: 6px !important;
  margin-bottom: 18px !important;
}

.km-home-intro p {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.km-home-intro p:last-child {
  margin-bottom: 0 !important;
}


/* ---------------------------------------------------------
2. HLAVNÍ OBSAHOVÉ SEKCE
Co chceme / Náš tým / další budoucí sekce
--------------------------------------------------------- */

.section-container {
  margin: 0 0 56px 0 !important;
  padding: 0 !important;
}


/* ---------------------------------------------------------
3. NADPISY H2
Bez odsazení od horní hranice sekce
--------------------------------------------------------- */

.section-container h2 {
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
}


/* ---------------------------------------------------------
4. BĚŽNÉ ODSTAVCE V SEKCI
--------------------------------------------------------- */

.section-container p {
  margin-top: 0;
  margin-bottom: 14px;
}


/* Poslední odstavec nemá vytvářet další zbytečnou mezeru */
.section-container p:last-child {
  margin-bottom: 0;
}


/* ---------------------------------------------------------
5. POSLEDNÍ SEKCE PŘED PATIČKOU
--------------------------------------------------------- */

.section-container:last-of-type {
  margin-bottom: 45px !important;
}


/* ---------------------------------------------------------
6. MOBIL
--------------------------------------------------------- */

@media (max-width: 767px) {

  .km-home-intro {
    margin-bottom: 40px !important;
    padding-top: 18px !important;
  }

  .km-home-intro h1 {
    margin-bottom: 16px !important;
  }

  .section-container {
    margin-bottom: 40px !important;
    padding: 0 !important;
  }

  .section-container h2 {
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
  }

}