*, *::before, *::after {
  box-sizing: inherit; /* наследовать значение от родителя */
}

:root {
  --wrap: 560px;
}


html, body {
  min-width: 400px;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  width: 100% !important;
  height: 100% !important;
}


/*Стили для контейнеров*/

.uc-ava .t-container_8 {
    max-width: var(--wrap);
    padding: 0 20px;
    width: auto;
}

@media (min-width:448px) {
    .uc-ava .t-container_8 {
        padding: 0 24px;
    }
    
    .uc-ava .t-row {
        gap: 20px;
    }
}


.uc-title,
.uc-text {
    box-sizing: border-box;
}

.uc-title .t-col,
.uc-text .t-col,
.uc-text .t004,
.uc-qoute .t-col,
.uc-list .t-col {
    padding: 0;
    margin: 0;
    width: 100%;
}

.uc-title .t-container,
.uc-text .t-container,
.uc-article-bar .t-container,
.uc-qoute .t-container,
.uc-list .t510__container,
.uc-btn .t-container_100,
.uc-gal .t-container {
    box-sizing: border-box;
    max-width: var(--wrap);
    padding: 0 20px!important;
    margin: auto;
    width: auto;
}

@media (min-width:448px) {
    .uc-title .t-container
    .uc-article-bar .t-container,
    .uc-text .t-container,
    .uc-qoute .t-container,
    .uc-list .t510__container,
    .uc-btn .t-container_100,
    .uc-gal .t-container {
        padding: 0 24px!important;
    }
}



/*Стили фото автора статьи*/

.uc-ava .t-row {
    display: flex;
    gap: 16px;
}


.uc-ava {
    box-sizing: border-box;
}

.uc-ava .t-col_2 {
    width: auto;
    margin: 0 !important;
    padding: 0;
    height: auto;
}

.uc-ava .t-col_6 {
    width: 100%;
    margin: 0 !important;
    padding: 0;
    height: auto;
}

.uc-ava .t152__textwrapper {
    margin-top: 3px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.uc-ava .t152__autor-descr {
    padding: 0;
}


/*Стили заголовка статьи*/


@media (max-width:448px) {
    .uc-title {
        padding-bottom: 20px!important;
    }
}

.uc-title .t030__title {
    margin: 0;
}


@media (min-width:448px) {
    
    .uc-title .t-title_xxs {
        font-size: 30px;
    }
}

@media (min-width:512px) {
    
    .uc-title .t-title_xxs {
        font-size: 34px;
    }
}

@media (min-width:640px) {
    
    .uc-title .t-title_xxs {
        font-size: 35px;
    }
}

@media (min-width:1280px) {
    
    .uc-title .t-title_xxs {
        font-size: 38px;
    }
}


/*@media (min-width:1280px) {*/
    
/*    .uc-title .t-title_xxs {*/
/*        font-size: 38px;*/
/*    }*/
/*}*/


/*Стили для текста*/


.uc-text {
    padding-bottom: 18px !important;
}


@media (min-width:448px) {
    
    .uc-text .t-text {
        font-size: 20px;
    }
}


@media (min-width:512px) {
    
    .uc-text {
    padding-bottom: 20px !important;
}

    .uc-text .t-text {
        font-size: 21px;
    }
}

/*@media (min-width:640px) {*/

/*    .uc-text .t-text {*/
/*        font-size: 22px;*/
/*    }*/
/*}*/


/*Стили для бара*/

@media (max-width:448px) {
    .uc-article-bar {
        padding-bottom: 20px!important;
    }
}

body .uc-article-bar .t-list__item,
body .uc-article-bar .t508__bgimg {
    margin: 0 !important;
    padding: 0 !important;
}

/*Стили для фотографии*/

@media (max-width:448px) {
    .uc-photo {
        padding-top: 8px!important;
        padding-bottom: 28px!important;
    }
}

.uc-photo .t107__mobpadding {
    padding: 0 20px !important;
}

.uc-photo .t-img {
    max-width: 540px !important;
}


/*Стили для кнопочки*/

.uc-btn .t142__wraptwo {
    display: flex;
    margin: 0;
}

.uc-btn .t-btn {
    width: 100%;
    min-height: 72px;
}

/*Стили для списка с цифрами*/



.uc-list .t510 .t-list__item {
    margin-top: 24px!important;
}

@media (min-width:960px) {
    
    .uc-list .t510 .t-list__item {
        margin-top: 32px!important;
    }
}

.uc-list .t510 .t-list__item:first-child {
    margin-top: 0px!important;
}

/*Стили для галереи*/

.uc-gal .t-slds__main,
.uc-gal .t-slds__container {
    overflow: hidden;
    border-radius: 24px;
}


