

button {
    background: none;
    border: none;
    cursor: pointer;
}
html {
    scroll-behavior: smooth;
    height: 100%;
}
body {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

/* Header *Start* */

.header {
}
.header-top {
    border-bottom: 2px solid #F0F0F0;
}
.header-top > .container {
    margin: 0 10%;
}
.header-top > .flex-container {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    margin: 0 10%;
}
.header-wrapper {
    display: flex;
    align-items: center;
}
.header-wrapper > * {
    display: inline-block;
    padding: 12px 24px;
    border-right: 2px solid #F0F0F0;
}
.main-title {
    width:68%;
}
.link {
    display: flex;
    align-items: center;
    gap: 3px;

    text-decoration: none;
}
.link__icon {
    width: 24px;
    height: 24px;
}
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    text-decoration: none;
}
.login-btn {
    width: 198px;
    border-left: 2px solid #F0F0F0;
}
.register-btn {
    border-right: 2px solid #F0F0F0;
}
.btn__icon {
    width: 24px;
    height: 24px;
}

/* Header bottom START */

.header-bottom {
    border-bottom: 2px solid #F0F0F0;
}
.header-bottom > .container {
    display: flex;
    align-items: center;
    margin: 0 10%;
    border-right: 2px solid #F0F0F0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 364px;
    height: 65px;
    color: #E83D3D;
    margin-right: 25px;
}
.nav-links {
    display: flex;
    align-items: center;
    padding: 22px 23px;
    gap: 45px;

    border-left: 2px solid #F0F0F0;
    border-right: 2px solid #F0F0F0;
}
.nav-links #search-form {
    display: none;
}
.nav-links__item {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;

    white-space: nowrap;
    text-decoration: none;
    color: #3D3D3D;
}
.nav-uslugi-links {
    border-left: none;
    border-right: none;
    border-radius: none;
}
.uslugi-links-block {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
}
.nav-links__item:hover {
    transition: .2s;
    color: #FF0000;
}
.nav-links__item.selected {
    color: #FF0000;
}
.header-bottom .search {
    margin: 0 23px;
}

/* Header *Stop* */

/* Footer *Start* */

.footer {
    margin-bottom: 60px;
}
.footer-h2 {
    padding: 55px 10%;
    border-top: 2px solid #E3E3E3;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 41.7758px;
    line-height: 60px;
    text-transform: uppercase;

    color: #000000;
}
.footer-bottom {
    border-top: 2px solid #E3E3E3;
    border-bottom: 2px solid #E3E3E3;
}
.footer-bottom > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 0 10%;
}
.free-kassa {
    padding: 16px 44px;
    border-left: 2px solid #E3E3E3;
}
.copyright {
    max-width: 344px;
    word-wrap: break-word;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 17.1127px;
    line-height: 25px;

    color: #000000;
}
.contacts-wrapper {
    margin-right: 77px;
    display: flex;
    gap: 49px;
}
.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.arrow-btn {
    width: 71px;
    height: 71px;
    background-image: url(../images/arrow-horizontal.svg);
    background-repeat: no-repeat;
    background-position: center center;
    transform: rotate(180deg);
}
/* Footer info block *Start* */

.footer-info {
    border-top: 2px solid #E3E3E3;
}
.footer-info > .container {
    display: flex;
    margin: 0 10%;
}
.footer-info > .container > * {
    padding-top: 45px;
    padding-bottom: 58px;
}
.info-block:first-child {
    padding-right: 54px;
}
.info-block:last-child {
    padding-left: 54px;
}
.info-block > .text-p {
    margin-top: 39px;
}
.articles_mini {
    padding-left: 58px;
    padding-right: 52px;
    border-left: 2px solid #E3E3E3;
    border-right: 2px solid #E3E3E3;
}
.articles_mini-header {
    display: flex;
    gap: 34px;
}
.articles_mini-header > .text-h2 {
    border-right: 2px solid #E3E3E3;
    padding-right: 34px;
}
.articles_mini-list {
    width: 274px;
    margin-top: 37px;
    display: flex;
    flex-direction: column;
    gap: 29px;
}
.articles_mini-list__item {
    display: flex;
    gap: 20px;
}
.articles_mini-list__preview {
    width: 118px;
    min-width: 118px;
    height: 78px;
    background: #D9D9D9;
}
.articles_mini-list__title {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 17.5619px;
    line-height: 25px;

    color: #000000;
}
.articles_mini-list__date {
    margin-top: 6px;
    display: flex;
    gap: 9px;
}
.articles_mini-list__date-icon {
    width: 18.77px;
    height: 18.77px;
}
.particles_mini-list__date-text {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 13.079px;
    line-height: 19px;

    color: #666666;
    opacity: 0.9;
}

/* Footer info block *Stop* */

/* Footer *Stop* */

/* Content *Start* */

.content {
}
.content-header {
    padding: 51px 0;
    border-bottom: 2px solid #D9D9D9;
}
.content-header > .container {
    margin: 0 10%;
}
.content-header > .flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 10%;
}
.content-body > .container {
    margin: 44px 10%;
}
.content-h2 {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 27.3534px;
    line-height: 40px;

    color: #363636;
}
.content-preview {
    margin-top: 53px;
    width: 100%;
}
.content-p {
    max-width: 60%;
    margin-top: 44px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;

    color: #3E3E3E;
}

/* Content *Stop* */

/* Contacts form *Start* */

.contacts-content {
    display: flex;
}
.contacts-left {
    max-width: 533px;
    display: flex;
    flex-direction: column;
    margin-left: 10%;
    margin-right: 52px;
    margin-top: 81px;
}
.map {
    width: 533px;
    height: 271px;
    background: #D9D9D9;
}
.map > * {
    width: 100%;
    height: 100%;
}
.contacts-left .text-p {
    margin-top: 27px;

    font-weight: 400;
    font-size: 18px;
    line-height: 26px;

    color: #3C3C3C;
}
.contacts-left .contacts-wrapper {
    margin-top: 38px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 27px;
}
.contacts-form {
    width: 100%;
    border-left: 2px solid #E3E3E3;
}
.contacts-form select {
    padding: 6px;
    padding-right: 66px;

    border: none;
    background: none;
    appearance: none;
    outline: none;

    background-image: url(../images/arrow.svg);
    background-position: right center;
    background-repeat: no-repeat;

    border-bottom: 2px solid #E3E3E3;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 27.4087px;
    line-height: 100%;

    color: #9C9C9C;
}
.contacts-form__header {
    border-bottom: 2px solid #E3E3E3;
}
.contacts-form__title {
    padding: 48px 59px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 41.7758px;
    line-height: 60px;
    text-transform: uppercase;

    color: #000000;
}
.contacts-form__body {
    display: flex;
    gap: 37px;
    padding: 42px 0 50px 51px;
}
.contacts-form__wrapper {
    display: flex;
    flex-direction: column;
}
.captcha {
    margin-top: 39px;
    width: 160px;
    height: 80px;
}
.captcha + label {
    margin-top: 20px;
}
.form-btn {
    width: 182px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding: 17px 43px;

    background: #FF0000;
    border-radius: 8.06061px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 24.6723px;
    line-height: 36px;

    color: #FFFFFF;
}
/* Contacts form *Stop* */

/* Articles *Start* */
.articles-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.articles-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 55px;
    margin-left: 10%;
    max-width: 90vw;
}
.articles-list {
    position: relative;
    padding-bottom: 90px;
    display: grid;
    grid-template-columns: repeat( 3, minmax(250px, 1fr) );
    gap: 34px;
}
.articles-list__item {
    width: calc(100% - 44px);
    height: 165.55px;
    display: flex;
    gap: 22px;

    padding: 36px 22px;
    border: 0.78181px solid #A6A6A6;
    border-radius: 24px;
}
.articles-list_scroll {
    display: flex;
    transition: 1s;

    border-top: 2px solid #E3E3E3;
    border-bottom: 2px solid #E3E3E3;
}
.articles-list_scroll__before-btn {
    height: 100%;
    width: 100px;
    position: absolute;
    left: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../images/arrow-horizontal.svg);
}
.articles-list_scroll__before-btn::before {
    z-index: -1;
    content: "";
    height: 100%;
    width: 100px;
    position: absolute;
    left: 0;
    top: 0;
    box-shadow: inset 100px 0 100px 0 white;
}
.articles-list_scroll__next-btn {
    height: 100%;
    width: 100px;
    position: absolute;
    right: 0;
    box-shadow: inset 10em 10em linear-gradient(to right, black, transparent);
    background-repeat: no-repeat;
    transform: rotate(180deg);
    background-position: center center;
    background-image: url(../images/arrow-horizontal.svg);
}
.articles-list_scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
    visibility: hidden;
}
.articles-list_scroll__item {
    max-width: 500px;
    min-width: 500px;

    padding: 77px 52px;
    display: flex;
    gap: 42px;
    border-right: 2px solid #E3E3E3;
}
.articles-list__preview {
    width: 232.98px;
    height: 165.74px;
}
.articles-list__wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.articles-list__title {
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 176.08px;
    max-height: 50px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 19.448px;
    line-height: 28px;

    color: #000000;
}
.articles-list__text {
    width: fit-content;
    height: 88px;
    text-overflow: ellipsis;
    overflow: hidden; 

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 12.1345px;
    line-height: 18px;

    color: #7A7A7A;
}
.articles-list__meta-wrapper {
    display: flex;
    gap: 15px;
}
.articles-list__meta {
    display: flex;
    align-items: center;
    gap: 7px;
}
.articles-list__meta-icon {
    width: 14.68px;
    height: 14.68px;
}
.articles-list__meta-text {
    max-width: 40px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 10.2253px;
    line-height: 15px;

    color: #666666;
}

/* Articles *Stop* */

.pagination {
    display: flex;
    gap: 12px;
    align-items: center;
}
.articles-list .pagination {
    position: absolute;
    bottom: 0;
    left: 0;
}
#fullsearch + .articles-list,#dle-content .pagination {
    margin: 0 10%;
}
#dle-content {
    margin-bottom: 62px;
}
.pagination > :first-child, .pagination > :last-child {
    width: 48.49px;
    min-width: 48.49px;
    height: 48.49px;
    border: 0.841588px solid #666666;
    border-radius: 14px;

    background-image: url(../images/arrow-horizontal.svg);
    background-position: center center;
    background-repeat: no-repeat;
}
.pagination > :last-child {
    transform: rotate(180deg);
}
.pagination > :first-child:hover, .pagination > :last-child:hover {
    border-color: transparent;
    background-color: #FF0000;
    background-image: url(../images/arrow-horizontal_hover.svg);

    transition: .2s;
}
.pagination__pages {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.pagination__pages > * {
    width: 48.49px;
    height: 48.49px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0.841588px solid #666666;
    border-radius: 14px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 37.2697px;
    line-height: 54px;

    color: #767676;
    cursor: pointer;
}
.pagination__pages > span {
    border-color: transparent;
    background: #FF0000;
    color: #FFFFFF;
}
.pagination__pages > *:hover {
    border-color: transparent;
    background-color: #FF0000;
    color: #FFFFFF;

    transition: .2s;
}
.pagination__next-btn {
    transform: rotate(180deg);
}


/* Search extended *Start* */

.search-extended {
    display: flex;
    gap: 34px;
    margin: 40px 0;
}
.search-extended__filter-title {
    margin-bottom: 17px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 18.2099px;
    line-height: 100%;

    color: #717171;
}
.search-extended__filter + .search-extended__filter {
    margin-top: 45px;
}
.search-extended__filter + .search-extended__filter-title {
    margin-top: 45px;
}
.search-extended__filter {
    min-width: 456.83px;
    display: flex;
    gap: 15px;
    flex-direction: column;

    padding: 20px;
    border: 1.79856px solid #D9D9D9;
}
.flex-wrapper {
    display: flex;
    align-items: center;
    gap: 13px;
}
.search-extended__buttons {
    margin-top: 43px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.search-h2 {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 25.9422px;
    line-height: 37px;

    color: #A8A8A8;
}
.search-extended + .search-h2 {
    margin-bottom: 55px;
}
.footer-contacts {
    display: flex;
    border-top: 2px solid #E3E3E3;
}

/* Search extended *Stop* */
.footer > .container {
    margin: 0 10%;
}
.space-between {
    justify-content: space-between;
}

/* Components list *Start* */

.components-list {
    display: flex;
    flex-direction: column;
    gap: 62px;
}
.components-list__item {
    display: flex;
    gap: 56px;

    padding-bottom: 62px;
    border-bottom: 2px solid #E3E3E3;
}
.components-list__preview {
    width: 396.04px;
    height: 240.94px;
}
.components-list__title {
    text-overflow: ellipsis;
    overflow: hidden; 
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 31.4543px;
    line-height: 45px;

    color: #000000;
}
.components-list__text {
    text-overflow: ellipsis;
    overflow: hidden; 
    max-width: 340px;
    width: fit-content;
    max-height: fit-content;
    margin-top: 18px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 19.6257px;
    line-height: 28px;

    color: #7A7A7A;
}


/* Components list *Stop* */

/* Thesis list *Start* */

.thesis-list {
    margin-bottom: 62px;
    display: flex;
    flex-direction: column;
}
.thesis-list__item {
    padding-bottom: 17px;
    border-bottom: 2px solid #E0E0E0;
}
.thesis-list__item > .flex-wrapper {
    margin-top: 72px;
    gap: 40px;
}
.thesis-list__title {
    width: 100%;
    padding: 40px 0;
    margin-bottom: 17px;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 41.7758px;
    line-height: 60px;
    text-transform: uppercase;

    color: #000000;
}
.thesis-list__gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    align-items: self-start;

    width: 528px;
    max-height: 565px;
}
.thesis-list__preview {
    max-width: 528px;
    max-height: 565px;
}
.thesis-list__text {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    
    color: #3C3C3C;    
}

/* Thesis list *Stop* */

.align-start {
    align-items: flex-start;
}

/* Gallery *Start* */

.gallery {
    display: flex;
    justify-content: space-between;
    align-items: self-start;
    gap: 39px;
}
.gallery__item {
    max-width: 100%;
}
.gallery__other {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 45px;
}

/* Gallery *Stop* */

/* Article *Start* */
.article-body {
    margin-bottom: 70px;
}

.article-statistics {
    display: flex;
    flex-wrap: wrap;
    gap: 27px;
}
.article-statistics__item {
    display: flex;
    gap: 12.5px;
    align-items: center;
}
.article-statistics__icon {
    width: 25.44px;
    height: 25.44px;
}
.article-statistics__text {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 17.7238px;
    line-height: 26px;

    color: #666666;
}

.rating_block {
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: row-reverse;
}
.rating_block input[type="radio"] {
    display: none;
}
.label_rating {
    float: right;
    display: block;
    width: 25px;
    height: 25px;
    background: url(../images/star.svg) no-repeat 50% 0;
    cursor: pointer;
}

.rating_block .label_rating:hover, 
.rating_block .label_rating:hover ~ .label_rating, 
.rating_block input[type="radio"]:checked ~ .label_rating 
{
    background: url(../images/star_fill.svg) no-repeat 50% 0;
}

.article-content {
    margin-top: 62px;
    width: 70%;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 17.7238px;
    line-height: 26px;

    color: #000000;
}

.article-content img {
    max-width: 100%;
    margin: auto;
    display: block;
    float: none !important;
}
.highslide img {
    cursor: zoom-in;
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
}
.infoblock img, .fullstory img {
    margin: 5px 20px 0 0;
}
/* Article *Stop* */

/* Consultation Page *Start* */

.consultation-request {
    max-width: 544px;

    padding-bottom: 40px;
    border-bottom: 2px solid #EAEAEA;
    margin-bottom: 30px;
}
.consultation-request > button {
    margin-top: 42px;
}
.consultation-p {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;

    color: #000000;
}
/* Consultation Page *Stop* */

/* Forum table *Start* */

.forum-table {
    margin-top: 45px;
}
.forum-table th {
    padding: 11px 38px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 17.7238px;
    line-height: 26px;
    text-align: left;

    color: #000000;
    background: #EEEEEE;
    border: 2px solid #FFFFFF;
    border-collapse: collapse;
}
.forum-table td {
    padding-right: 38px;
}
.forum-table td, .forum-table td > * {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 17.7238px;
    line-height: 292%;

    text-decoration-line: underline;
    color: #000000;
}
.forum-table a:hover {
    color: #FF0000;
    transition: .2s;
}
/* Forum table *Stop* */

/* Master page *Start* */

.master-wrapper {
    display: flex;
    gap: 53px;
}
.master-img {
    width: 78%;
    height: fit-content;
}
.master-p {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 17.7238px;
    line-height: 26px;

    color: #000000;
}
.history-list {
    display: flex;
    flex-direction: column;
}
.history-list__item {
    border-top: 2px solid #D9D9D9;
    padding: 59px 10%;
}
.history-list__title {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 41.7758px;
    line-height: 60px;
    text-decoration-line: underline;
    text-transform: uppercase;

    color: #000000;
}
.history-list__wrapper {
    margin-top: 74px;
    display: flex;
    gap: 63px;
}
.history-list__preview {
    width: 529px;
    height: 338px;
    object-fit: cover;
}
.history-list__wrapper > p {
    max-width: 437px;
}
/* Master page *Stop* */

.search-wrapper {
    display: flex;
    flex-direction: column;
    gap: 31px;
    margin-bottom: 61px;
}

/* UI Kit *Start* */

.button_bordered {
    padding: 11.0369px 27.9169px;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 0.64923px solid #000000;
    border-radius: 5.23319px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 16.018px;
    line-height: 23px;

    color: #000000;
}
.button_red {
    padding: 11.0369px 27.9169px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FF0000;
    border-radius: 5.23319px;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 16.018px;
    line-height: 23px;

    color: #FFFFFF;
    max-height: 28px;
}
.button_fullstory {
    margin-top: 27px;
    width: 165px;
}
.text-h1 {
    max-width: 68%;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 41.7758px;
    line-height: 60px;
    text-transform: uppercase;

    color: #000000;
}
.text-h1-main {
    max-width: 100%;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 35px;
    line-height: 50px;
    text-transform: uppercase;

    color: #000000;
}
.text-h2 {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 30.4576px;
    line-height: 44px;
    text-transform: uppercase;

    color: #000000;
}
.text-h3 {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;

    color: #000000;
}
.text-p {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 15.8313px;
    line-height: 23px;

    color: #959595;
}
.forum-p {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 17.7238px;
    line-height: 26px;

    color: #000000;
}
.red {
    color: #FF0000;
}
.underline {
    text-decoration-line: underline;
}
.label {
    display: block;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 20.446px;
    line-height: 100%;

    color: #717171;
}
label + input {
    margin-top: 10px;
}
label + select {
    margin-top: 24px;
}
input + .label   {
    margin-top: 24px;
}
.input_underline {
    position: relative;
    outline: none;
    background: none;
    border: none;
    border-bottom: 2px solid #E3E3E3;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 22.4087px;
    line-height: 100%;

    color: #373737;
}
.input_underline::placeholder {
    color: #9C9C9C;
}
#search-form {
    margin: 0 23px;
    width: 100%;
}
.header__search {
    max-width: 608px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 18px !important;

    background: #EEEEEE;
    border-radius: 6px;
}
.header__search button {
    margin: 0;
    padding: 0;
    height: 25px;
}
.header__search img {
    width: 25px;
    height: 25px;
}
.header__search input {
    width: 100%;
    background: none;
    border: none;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 15.6248px;
    line-height: 23px;

    color: #6C6C6C;
}
#dosearch,#dofullsearch,#doclear {
    background: unset;
    text-shadow: unset;
    border: unset;
    color: unset;
    padding: unset;
    margin-bottom: unset;
    height: unset;
    cursor: pointer;
    -webkit-border-radius: unset;
    -moz-border-radius: unset;
    border-radius: unset;
    -moz-box-shadow: unset;
    -webkit-box-shadow: unset;
    box-shadow: unset;
}
#dosearch {
    padding: 11.0369px 27.9169px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0.64923px solid #000000;
    border-radius: 5.23319px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 16.018px;
    line-height: 23px;

    color: #000000;
}
#dofullsearch,#doclear {
    padding: 11.0369px 27.9169px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #FF0000;
    border-radius: 5.23319px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 16.018px;
    line-height: 23px;

    color: #FFFFFF;
}

.header__search #searchinput, .search-results #searchinput {
    padding: 12px 18px 12px 48px;

    background-color: #EEEEEE;
    background-image: url(../images/search.svg);
    background-repeat: no-repeat;
    background-position: 18px center;
    border: none;
    border-radius: 6px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 15.6248px;
    line-height: 23px;

    color: #6C6C6C;
}
.select_underline {
    padding: 6px;
    padding-right: 66px;

    border: none;
    background: none;
    appearance: none;
    outline: none;

    background-image: url(../images/arrow.svg);
    background-position: right center;
    background-repeat: no-repeat;

    border-bottom: 2px solid #E3E3E3;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 27.4087px;
    line-height: 100%;

    color: #9C9C9C;
}
.select_bordered {
    padding: 16px 28px;
    padding-right: 66px;

    border: none;
    background: none;
    appearance: none;
    outline: none;

    background-image: url(../images/arrow.svg);
    background-position: 90% center;
    background-repeat: no-repeat;
    background-size: 29px 29px;

    border: 2px solid #E3E3E3;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 15.6809px;
    line-height: 23px;
    
    color: #656565;    
}
.select-container_bordered > select {
    border: none;
    background: none;
    appearance: none;
    outline: none;

    border: 2px solid #E3E3E3;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 15.6809px;
    line-height: 23px;
    
    color: #656565;    
}
/* Comments *Start* */
.comments-wrapper {
    display: flex;
    gap: 56px;
    flex-direction: column;
    width: 70%;
}
.add-comment-wrapper {
    width: fit-content;
}
#dle-comments-list {
    display: flex;
    gap: 20px;
    flex-direction: column;
}
.comments-list__item {
    list-style: none;
}
.comments-list__header {
    display: flex;
    justify-content: space-between;
}
.comments-list__header > :first-child {
    display: flex;
    gap: 50px;
}
.comments-list__h3 {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 20.3906px;
    line-height: 100%;

    text-transform: uppercase;
    color: #000000;
}
.comments-list__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.comments-list__actions > * {
    width: 24px;
    height: 24px;
}
.comments-list__actions i {
    display: none;
}
.comments-list__actions > :nth-child(1) {
    background-image: url(../images/left-arrow.svg);
}
.comments-list__actions > :nth-child(2) {
    background-image: url(../images/Info.svg);
}
.comments-list__actions > :nth-child(3) {
    background-image: url(../images/Edit.svg);
}
.comments-list__body {
    margin-top: 36px;
    padding: 63px 36px;
    max-height: 300px;
    display: flex;
    gap: 53px;
    background: #EEEEEE;
}
.comments-list__avatar {
    width: 173px;
    height: 173px;
}
.comments-list__text {
    overflow: hidden;
    max-height: 300px;
    text-overflow: ellipsis;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 20.3906px;
    line-height: 130.5%;

    color: #656565;
}

/* Comments *Stop* */

/* Search Extended *Start* */



/* Search Extended *Stop* */
.textarea {
    width: fit-content;
    height: fit-content;
    border: 1px solid #9B9B9B;
    border-radius: 21px;
    padding: 24px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 158%;

    color: #373737;
}
.textarea::placeholder {
    color: #717171;
}
.textarea_square {
    padding: 23px 27px;
    border: 1.79856px solid #D9D9D9;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 158%;

    color: #717171;
}
label + textarea {
    margin-top: 24px;
}
textarea + label {
    margin-top: 43px;
}
input + button {
    margin-top: 25px;
}
select + button {
    margin-top: 25px;
}
button + label {
    margin-top: 25px;
}
select + button {
    margin-top: 25px;
}
label + .wseditor {
    margin-top: 25px;
}
.wseditor + label {
    margin-top: 25px;
}
.input {
    padding: 7px 13px;
    border: none;
    outline: none;
    background: #EEEEEE;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 15.6809px;
    line-height: 23px;

    color: #656565;
}
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 9.5px;
}
.checkbox-wrapper + .checkbox-wrapper {
    margin-top: 16px;
}
.checkbox, .search-extended__filter input[type='checkbox'] {
    margin: 0;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;

    box-sizing: border-box;
    border: 1.90154px solid #BFBFBF;
    border-radius: 152.123px;
}
label:has(input[type='checkbox']) {
    display: flex;
    align-items: center;
    gap: 9.5px;
}
.checkbox:checked::before, .search-extended__filter input[type='checkbox']:checked::before {
    content: "";
    width: 7px;
    height: 7px;
    background: #000000;
    border-radius: 76.0616px;
}
.checkbox__label {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 13.1728px;
    line-height: 100%;

    color: #717171;
}
.select {
    padding: 5px 15px;
    padding-right: 40px;

    border: none;
    background: none;
    appearance: none;
    outline: none;

    background-color: #EEEEEE;
    background-image: url(../images/arrow.svg);
    background-size: 29px 29px;
    background-position: right center;
    background-repeat: no-repeat;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 15.6809px;
    line-height: 23px;

    color: #9C9C9C;
}
#catlist {
    border: none;
    background-color: #EEEEEE;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 15.6809px;
    line-height: 23px;

    color: #9C9C9C;
}
.input_file {
    position: relative;
    width: 225.81px;
    height: 58.6px;
    padding-top: 2px;
    padding-left: 2px;
}
.input_file::after {
    z-index: 1;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
    content: "Прикрепить файл";
    padding: 13.7999px 34.9057px;
    border: 0.81176px solid #000000;
    border-radius: 6.54328px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 20.028px;
    line-height: 29px;

    color: #000000;
}
.input_file-error {
    margin-top: 20px;

    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;

    color: #FF0000;
}
.banner-wrapper {
    position: relative;
}
.baner-text_left, 
.baner-text_right {
    position: absolute;
    font-family: 'Jost';
    font-size: 3.3em;
    font-weight: 500;
    text-transform: uppercase;
    color: #000;
}
.baner-text_left {
    top: 20%;
    left: 2%;
}
.baner-text_right {
    top: 20%;
    right: 2%;
}
.ask-question {
    position: absolute;
    width: 165px;
    bottom: 3%;
    right: 1%;
}
.subtitle {
    margin-top: 10px;
    margin-bottom: 20px;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 21.7238px;
    line-height: 26px;
    color: #000000;
  }

  .uslugi__item .advantages__list {
    column-gap: 0;
  }
  .cta-wrapper {
    margin-top: 40px;
    column-gap: 53px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .cta-wrapper__text {
    margin-top: 0 !important;
    flex: 4 0 0;
  }
  .cta-wrapper__text > strong {
    font-weight: 700;
  }
  .cta-wrapper__btn {
    flex: 1 0 0;
  }
  .advantages__list {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 90px;
  }

  .advantages__item {
    text-align: center;
  }
  .advantages__item-title {
    max-width: 100%;
    margin-top: 0 !important;
    margin-bottom: 10px;
  
  }
  .methods {
    margin-top: 40px;
  }
  .methods__item {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }

/* UI Kit *Stop* */
.overlay {
    display: none;
}
details summary::-webkit-details-marker {
    display: none
  }
  details > summary {
    list-style: none;
    cursor: pointer;
  }
  summary {
    position: relative;
    padding-left: 50px;
  }
  details summary:before {
    content: "+";
    position: absolute;
    left: 0;
    top: 54px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ff0000;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 30px;
  }
  details[open] summary:before {
    content: "-";
    position: absolute;
    left: 0;
    top: 54px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ff0000;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 30px;
  }
/* Media requests *Start* */

@media (max-width: 1702px) {
    .header-top > .container, .header-bottom > .container, .footer > .container, .footer-info > .container, .footer-bottom > .container, .content-body > .container, .content-header > .container {
        margin-left: 3%;
        margin-right: 3%;
    }
    .header-top > .container, .header-bottom > .container {
        margin-left: 2%;
        margin-right: 2%;
    }
    .articles-wrapper, .contacts-left, #fullsearch + .articles-list, #dle-content .pagination {
        margin-left: 3%;
        margin-right: 3%;
    }
    .articles-wrapper {
        max-width: 97vw;
    }
    .history-list__item {
        padding: 53px 3%;
    }
}
.burger-btn {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5.35px;
}
.burger-btn > span {
    width: 26px;
    height: 3px;
    background: #888888;
    border-radius: 48.1764px;
}

@media (max-width: 1535px) {
    .articles-list {
        grid-template-columns: 1fr 1fr;
        width: fit-content;
        margin: 0 auto;
    }
    .footer-bottom > .container {
        flex-direction: column;
        margin: 0;
    }
    .footer-bottom .contacts-wrapper {
        padding: 33px 0;
    }
    .footer-bottom .flex-wrapper {
        border-top: 2px solid #E3E3E3;
        margin-left: 3%;
        margin-right: 3%;
        width: 100%;
        justify-content: center;
    }
    .free-kassa {
        padding-left: 0;
        padding-right: 0;
        border: none;
    }
}
@media (max-width: 1400px) { 
    .header .search {
        display: none;
    }
    .header .nav-links {
        justify-content: space-between;
        width: calc(100% - 48px);
        border-right: none;
    }
    .footer-contacts {
        margin-top: 33px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .map {
        width: 100%;
    }
    .contacts-form__body {
        padding-left: 0;
        justify-content: center;
    }
    .gallery {
        flex-direction: column;
    }
    .gallery__other > .gallery__item {
        width: 45%;
    }
    .gallery > .gallery__item:first-child {
        width: 100%;
    }
    .gallery__other {
        flex-direction: row;
    }
    .contacts-content .contacts-form__body {
        flex-direction: column;
    }
    .contacts-content .contacts-form__wrapper {
        margin: 0 26px;
    }
    .advantages__list-4 {
        flex-wrap: wrap;
        row-gap: 40px;
        column-gap: 52px;
    }
    .advantages__list-4 .advantages__item {
        width: 45%;
    }
}
@media (max-width: 1245px) {
    .contacts-left {
        margin-bottom: 40px;
    }
    .contacts-form__header {
        border-top: 2px solid #E3E3E3;
    }
    .articles-wrapper {
        margin-left: 0;
        margin-right: 0;
        max-width: 100vw;
    }
    .header-top {
        display: none;
    }
    .header-bottom > .container {
        padding: 23px 0;
        justify-content: space-between;
        border-right: none;
    }
    .header-bottom {
        position: relative;
    }
    .header .nav-links {
        left: 0;
        top: 100%;
        position: absolute;
        display: none;
        flex-direction: column;
        z-index: 1;

        border-top: 2px solid #D9D9D9;
        background-color: white;
    }
    .header .nav-links.active {
        display: flex;
    }
    .burger-btn {
        display: flex;
    }
    .header__search, #search-form {
        display: none;
    }
    .nav-links #search-form {
        display: block;
    }
    .nav-links .cnt {
        width: 100%;
    }
    .nav-links .header__search {
        display: flex;
        margin: 0 auto;
    }
    .logo {
        width: fit-content;
        height: 51px;
    }
    .baner-text_left, 
    .baner-text_right {
        font-size: 3em;
}
}
@media (max-width: 1100px) {
    .articles-list {
        grid-template-columns: 1fr;
    }
    .footer-info > .container {
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .info-block:first-child {
        padding-right: 0;
    }
    .info-block:last-child {
        padding-left: 0;
    }
    .articles_mini-header {
        justify-content: space-between;
    }
    .articles_mini-header > .text-h2 {
        border: none;
    }
    .articles_mini {
        width: 100%;
        border: none;
        padding-left: 0;
        padding-right: 0;
    }
    .search-extended {
        flex-direction: column-reverse;
    }
    .comments-wrapper {
        width: 100%;
    }
    .add-comment-wrapper {
        width: 100%;
    }
    .baner-text_left, 
    .baner-text_right {
        font-size: 2.7em;
}
}
@media (max-width: 1000px) {
    .thesis-list__item > .flex-wrapper {
        flex-direction: column;
    }
    .thesis-list__item {
        padding-bottom: 42px;
    }
    .contacts-wrapper {
        justify-content: flex-start;
        margin-right: 0;
        flex-wrap: wrap;
    }
    .article-img {
        width: 45%;
        height: auto;
    }
    .baner-text_left, 
    .baner-text_right {
        top: 26%;
        font-size: 2em;
}
}
@media (max-width: 800px) {
    .content-header {
        padding: 29px 0;
    }
    .content-body > .container {
        margin: 0;
    }
    .content-h2 {
        margin-top: 29px;
        margin-left: 3%;

        font-size: 15px;
        line-height: 22px;
    }
    .content-p {
        max-width: unset;
        margin-top: 41px;
        margin-bottom: 33px;
        padding-left: 3%;
        padding-right: 3%;
        padding-bottom: 24px;

        border-bottom: 2px solid #E3E3E3;
        font-size: 12px;
        line-height: 17px;
    }
    .text-h1-main {
        max-width: 100%;
        font-family: 'Jost';
        font-style: normal;
        font-weight: 500;
        font-size: 35px;
        line-height: 50px;
        text-transform: uppercase;
        color: #000000;
    }
    .button_red {
    max-height: 28px;
    }
    .main-title {
        width: 86%;
    }
    .text-h1-main {
        font-size: 54px;
        line-height: 62px;
    }
    .text-h1 {
        font-size: 23.673px;
        line-height: 34px;
    }
    .components-list {
        width: 205vw;
        padding: 26px 0;
        overflow-x: scroll;
        flex-direction: row;
        gap: 0;
        border-bottom: 2px solid #E3E3E3;
    }
    .components-list__item {
        padding: 20px;
        width: 90vw;
        gap: 20px;
        height: fit-content;
        max-height: 420px;
        border-bottom: none;
        border-right: 2px solid #E3E3E3;
    }
    .components-list__preview {
        width: 240px;
        height: 146.01px;
    }
    .components-list__title {
        max-height: 54px;
        font-weight: 400;
        font-size: 30px;
        line-height: 34px;
        overflow: visible;
    }
    .components-list__text {
        font-weight: 400;
        font-size: 26px;
        line-height: 30px;
    }
    .contacts-form__body {
        padding-left: 0;
        padding-right: 0;
        flex-direction: column;
    }
    .contacts-form__body .contacts-form__wrapper {
        padding-left: 3%;
        padding-right: 3%;
    }
    .contacts-form__body .contacts-form__wrapper:last-child {
        padding-top: 28px;
        border-top: 2px solid #E3E3E3;
    }
    .thesis-list__title, .text-h2, .contacts-form__title {
        font-size: 37px;
        line-height: 35px;
    }

    .thesis-list__text {
        font-size: 34px;
        line-height: 25px;
    }
    .thesis-list {
        margin: 0 3%;
    }
    .thesis-list__item .flex-wrapper {
        flex-direction: column;
    }
    .articles-header {
        padding: 33px 3%;
    }
    .contacts-form__title {
        padding-left: 3%;
        padding-right: 3%;
    }
    .articles-wrapper {
        margin-bottom: 33px;
        margin-right: 0;
    }
    .contacts-left {
        margin-top: 33px;
    }
    .contacts-form__title {
        padding-top: 33px;
        padding-bottom: 33px;
    }
    .articles-list_scroll > button {
        display: none;
    }
    .articles-list_scroll {
        overflow-x: scroll;
    }
    .article-content {
        width: 100%;
    }
    .article-body {
        margin: 0 3%;
    }
    .article-statistics {
        margin-top: 24px;
    }
    .article-preview {
        width: 100%;
        height: auto;
    }
    .article-p {
        width: 100%;
    }
    .article-statistics__icon {
        width: 15.46px;
        height: 15.46px;
    }
    .article-statistics__text {
        font-size: 11.4202px;
        line-height: 17px;
    }
    .label_rating {
        background-size: 16.19px 16.19px;
        width: 16.19px;
        height: 16.19px;
    }
    .rating_block .label_rating:hover, .rating_block .label_rating:hover ~ .label_rating, .rating_block input[type="radio"]:checked ~ .label_rating {
        background-size: 16.19px 16.19px;
    }
    .article-p {
        font-size: 12px;
        line-height: 17px;
    }
    .article-p + .text-h2 {
        margin-top: 18px;
    }
    .text-h2 + .article-p {
        margin-top: 18px;
    }
    .search-extended {
        margin: 29px 3%;
    }
    .search-h2 {
        margin: 0 3%;
        font-size: 12px;
        line-height: 17px;
    }
    .search-extended + .search-h2 {
        margin-bottom: 0;
    }
    .search-extended__filter {
        width: 85%;
        min-width: unset;
    }
    .footer .contacts-form .textarea {
        min-width: 290px;
        width: 50%;
    }
    .comments-wrapper {
        margin-left: 3%;
        margin-right: 3%;
        width: 94%;
    }
    .add-comment-wrapper {
        margin-left: 3%;
        margin-right: 3%;
        width: 94%;
    }
}
@media (max-width: 800px) {
    .logo {
        font-size: 20px;
    }
    .form-btn {
        font-size: 16.1762px;
        line-height: 23px;
    }
    .components-list__item {
        flex-direction: column;
    }
    .copyright {
        font-size: 12px;
        line-height: 17px;
    }
    .input_underline {
        font-size: 19.3807px;
    }
    .input_file {
        width: 178.36px;
        height: 47.52px;
    }
    .input_file::after {
        font-size: 14.1618px;
        line-height: 20px;
    }
    .input_file-error {
        font-size: 12.7278px;
        line-height: 18px;
    }
    .textarea {
        font-size: 11.8016px;
        line-height: 158%;
    }
    .text-h1-main {
        font-size: 54px;
        line-height: 74px;
    }
    .text-h3 {
        font-size: 28px;
        line-height: 31px;
    }
    .text-p {
        font-size: 12px;
        line-height: 17px;
    }
    .link__icon {
        width: 17.89px;
        height: 17.89px;
    }
    .contacts-left .text-p {
        font-size: 34px;
        line-height: 36px;
    }
    .thesis-list__gallery {
        width: 100%;
        justify-content: center;
        max-height: unset;
    }
    .thesis-list__preview {
        max-width: unset;
        max-height: unset;
    }
    .thesis-list__preview {
        width: calc(50% - 26px);
    }
    .thesis-list__preview:first-child {
        width: 100%;
        height: 100%;
    }
    .content-header > .container {
        flex-direction: column;
    }
    .content-header .text-h1 {
        max-width: 100%;
    }
    .content-header .content-preview {
        order: 2;
    }
    .content-header .button_red {
        margin-top: 29px;
        order: 3;
    }
    .content-header .flex-wrapper {
        order: 4;
    }
    .footer-info > .container {
        margin: 0;
    }
    .footer-bottom .contacts-wrapper {
        margin-left: 3%;
        margin-right: 3%;
    }
    .articles-list_scroll__item {
        padding: 33px 26px;
    }
    .label + .textarea {
        margin-top: 25px;
    }
    .footer-info > .container > * {
        padding: 33px 3%;
    }
    .articles_mini {
        width: unset;
    }
    .info-block:first-child {
        border-bottom: 2px solid #E3E3E3;
    }
    .info-block:last-child {
        border-top: 2px solid #E3E3E3;
    }
    .articles-list {
        padding: 29px 0;
        padding-bottom: 150px;
        margin-bottom: 45px;
    }
    .articles-list_scroll {
        padding: 33px 26px;
        gap: 12px;
    }
    .articles-list__preview {
        width: 149px;
    }
    .articles-list_scroll__item {
        padding: 21px 14px;
        max-width: 450px;
        min-width: 415px;
        gap: 15px;
        border: 0.502521px solid #A6A6A6;
        border-radius: 15.4264px;
    }
    .articles-list__title {
        font-size: 22.9097px;
        line-height: 25px;
    }
    .articles-list__text {
        font-size: 17.7872px;
        line-height: 19px;
    }
    .articles-list__meta-wrapper {
        gap: 11px;
    }
    .articles-list__meta-icon {
        width: 10.5px;
        height: 10.5px;
    }
    .articles-list__meta-text {
        max-width: 84px;
        font-size: 16.31332px;
        line-height: 16px;
    }
    .free-kassa {
        padding: 0;
    }
    .footer-bottom > .container > .flex-wrapper {
        padding: 33px 0;
    }
    .contacts-content {
        flex-direction: column;
    }
    .contacts-content .contacts-left {
        max-width: 100%;
    }
    .contacts-content .contacts-form__wrapper {
        margin: 0;
    }
    .contacts-left {
        max-width: none;
    }
    .forum-p {
        margin: 21px 3%;
        font-size: 12px;
        line-height: 17px;
    }
    .forum-table {
        margin: 0 3%;
        margin-bottom: 42px;
    }
    .forum-table th {
        border: 10px solid #FFFFFF;
        white-space: nowrap;
        text-align: center;
        padding: 12px 23px;
        font-size: 12px;
        line-height: 17px;
    }
    .forum-table td, .forum-table td > * {
        font-size: 12px;
    }
    .forum-table td {
        padding-right: 10px;
    }
    .master-wrapper {
        gap: 36px;
        flex-direction: column;
        margin: 44px 3%;
    }
    .master-img {
        width: 100%;
    }
    .history-list__item {
        padding-top: 33px;
    }
    .history-list__title {
        font-size: 24px;
        line-height: 35px;
    }
    .history-list__wrapper {
        margin-top: 38px;
    }
    .history-list__wrapper > p {
        max-width: 100%;
    }
    .history-list__wrapper {
        flex-direction: column;
    }
    .history-list__preview {
        width: 100%;
        object-fit: cover;
    }
    .history-list__wrapper {
        gap: 36px;
    }
    .consultation-request {
        margin-bottom: 0;
    }
    .consultation-p {
        margin: 29px 3%;

        font-size: 12px;
        line-height: 17px;
    }
    .consultation-p + .button_red {
        margin-left: 3%;
    }
    .consultation-p:last-child {
        margin: 0;
        padding: 29px 3%;
        margin-bottom: 29px;
        border-bottom: 2px solid #E3E3E3;
    }
    .content-body .search {
        margin: 54px 3%;
        width: unset;
    }
    .content-body .search + .flex-wrapper {
        margin: 0 3%;
    }
    .comments-list__header {
        flex-direction: column;
        gap: 15px;
    }
    .comments-list__header > :first-child {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .mass_comments_action {
        display: flex;
        flex-direction: column;
    }
    .search-extended__filter .flex-wrapper {
        flex-wrap: wrap;
    }
    .uslugi {
        padding: 20px 10px;
     }
    .uslugi .content-p, 
    .uslugi__item .content-p, 
    .advantages__item .content-p, 
    .cta-wrapper .content-p {
        margin-top: 0;
        margin-bottom: 0;
        padding-bottom: 0; 
        border-bottom: none;
    }
    .cta-wrapper {
        margin-bottom: 60px;
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }
    .advantages__list {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        row-gap: 20px;
    }
    .advantages__list-4 .advantages__item {
        width: 100%;
    }
    .advantages__item-title {
        margin-bottom: 30px !important;
        font-size: 46px;
        line-height: 46px;
    }
    .advantages__item-descr {
        font-size: 32px;
        line-height: 37px;
    }
    .cta-wrapper__text {
        font-size: 20px;
    }
    .cta-wrapper__btn a {
        font-size: 25px;
        line-height: 34;
    }
    .ask-question {
        bottom: 7%;
        right: 3%;
    }
    .components-list {
        width: 205vw;
    }
    .articles-wrapper {
        max-width: 205vw;
    }
    .subtitle {
        font-size: 31.7238px;
        line-height: 26px;
    }
    .advantages__item {
        max-width: 100%;
        text-align: center;
    }
    .button_red[href='/donate.html'] {
        height: 50px;
        max-height: 67px;
        font-size: 28.018px;
        line-height: 23px;
    }
}
@media (max-width: 450px) {
    .text-h1-main {
        font-size: 34px;
        line-height: 43px;
    }
    .text-h3 {
        font-size: 30px;
        line-height: 32px;
    }
    .baner-text_left,
    .baner-text_right {
        display: none;
    }
    .subtitle {
        font-size: 36.7238px;
        line-height: 44px;;
    }
    .button_red {
        font-size: 23px;
    }
    .components-list__item  {
        max-height: 334px;
    }
    .components-list__title {
        overflow: visible;
        font-size: 28px;
        line-height: 33px;
    }
    .components-list__text {
        overflow: visible;
        font-size: 20px;
        line-height: 23px;
    }
    .articles-list {
        margin-left: 3%;
        margin-right: 3%;
    }
    .advantages__list-4 .advantages__item {
        width: 100%;
    }
    .advantages__item {
        max-width: 100%;
    }
    .advantages__item-title {
        margin-bottom: 33px !important;
        font-size: 43px;
        line-height: 40px;
    }
    .advantages__item-descr {
        font-size: 26px;
        line-height: 27px;
    }
    .cta-wrapper__text {
        line-height: 29px;
        font-size: 29px;
    }
    .contacts-left .text-p {
        font-size: 31px;
        line-height: 36px;
    }
    .pagination > :first-child, .pagination > :last-child {
        background-size: 90% 90%;
        width: 33.16px;
        height: 33.16px;
        border-radius: 9.57372px;
    }
    .pagination__pages > * {
        width: 33.16px;
        height: 33.16px;
        border-radius: 9.57372px;

        font-size: 25.4864px;
        line-height: 37px;
    }
    .master-p {
        font-size: 12px;
        line-height: 17px;
    }
    .comments-list__body {
        flex-direction: column;
        align-items: center;
    }
    .thesis-list__title, .text-h2, .contacts-form__title {
        font-size: 34px;
        line-height: 43px;
    }
}
/* Media requests *Stop* */
