/* ==========================================================
   JAMBU TYPOGRAPHY SYSTEM v1.0
   ========================================================== */


/* ==========================================================
   uc-book
   Длинные статьи, описания услуг, блог
   ========================================================== */

.uc-book .t-text {
    text-align: justify;
    text-align-last: left;

    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;

    overflow-wrap: break-word;
    word-break: normal;

    line-height: 1.8;
    letter-spacing: 0.01em;
}

.uc-book .t-text p {
    margin-top: 0;
    margin-bottom: 1.2em;
}

.uc-book .t-text p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   uc-center
   Короткие тексты по центру
   ========================================================== */

.uc-center .t-text {
    text-align: center;
    line-height: 1.8;
}


/* ==========================================================
   uc-note
   Важные мысли
   ========================================================== */

.uc-note .t-text {
    text-align: left;
    line-height: 1.8;
    font-weight: 500;
}


/* ==========================================================
   uc-quote
   Цитаты и притчи
   ========================================================== */

.uc-quote .t-text {
    text-align: center;
    font-style: italic;
    line-height: 1.9;
    max-width: 820px;
    margin: 0 auto;
}


/* ==========================================================
   uc-story
   Истории для души
   ========================================================== */

.uc-story .t-text {
    text-align: justify;
    text-align-last: left;

    hyphens: auto;
    -webkit-hyphens: auto;

    line-height: 1.95;
    letter-spacing: 0.015em;

    max-width: 760px;
    margin: 0 auto;
}


/* ==========================================================
   uc-hero
   Первый экран
   ========================================================== */

.uc-hero .t-text {
    text-align: center;
    line-height: 1.7;
    letter-spacing: 0.03em;
}


/* ==========================================================
   Адаптация для планшетов
   ========================================================== */

@media (max-width: 980px){

    .uc-book .t-text,
    .uc-note .t-text,
    .uc-story .t-text{

        line-height:1.75;
    }

}


/* ==========================================================
   Адаптация для телефонов
   ========================================================== */

@media (max-width:640px){

    .uc-book .t-text,
    .uc-note .t-text,
    .uc-story .t-text{

        line-height:1.7;
        letter-spacing:0;
    }

    .uc-quote .t-text{

        line-height:1.8;
    }

}