.brand__title {
    font-size: 40px;
    margin-bottom: 30px;
}

.brand h2 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 30px;
}

.brand h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.brand__desc {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.brand__img {
    flex: 1 2 20%;
    align-self: flex-start;
    object-fit: contain;
    max-width: 25%;
    width: 100%;
}

.brand__content {
    flex: 1 1 80%;

    font-weight: 300;
    font-size: 17px;
    line-height: 1.8;
}

.brand__desc-text {
    margin-bottom: 40px;
}


.brand__docs {
    margin-bottom: 60px; 
    display: grid;
    justify-items: stretch;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.brand__doc {
    /* width: 190px; */
    /* min-height: 260px; */
    color: #000;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.brand__doc:hover {
    /* background-color: #4BBF3B; */
    border-color: #4BBF3B;
    color: #000;
}

.brand__doc-icon {
    width: 90px;
    margin-bottom: 24px;
}

.brand__doc-title {
    /* min-height: 60px; */
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0;
    /* margin-top: auto; */
}

.brand__articles {
    margin-bottom: 60px;
}

.articles-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.article {
    border-radius: 15px;
    background-color: #F2F2F2;
    text-decoration: none;
}

.article__img-wrap {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 180px;
    background-color: #D7D7D7;
    overflow: hidden;
}

.article__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article__info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 200px;
}

.article__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: #333;
}

.article__desc {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 20px;

    /* Обрезка по количеству строк */
    margin: 0;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* =========================== */
}

.article__time {
    color: #333;
    margin-top: auto;
}


.videos-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.video {}

.video__view {
    display: block;
    /* height: 180px; */
    border-radius: 15px;
    background-color: gray;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.video__view::after {
    content: "";
    position: absolute;
    border: 20px solid transparent;
    border-left: 40px solid #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform .4s;
}

.video__view:hover::after {
    transform: translate(-50%, -50%) scale(1.2);
}

.video__view img {
    display: block;
    width: 100%;
}

.video__name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: #333;
}

@media (max-width: 1080px) {
    .brand__docs {
        grid-template-columns: repeat(3, 1fr);
    }
    .brand__doc {
        /* min-height: 210px; */
    }
    .articles-wrap,
    .videos-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .brand__docs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .brand__desc {
        flex-direction: column;
    }

    .articles-wrap,
    .videos-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 548px) {
    .brand__docs {
        grid-template-columns: 1fr;
    }

    .brand__doc {
        width: auto;
        min-height: auto;
        flex-direction: row;
        align-items: center;
        gap: 30px;
        padding: 10px;
    }

    .brand__doc-icon {
        margin: 0;
    }

    .brand__doc-title {
        min-height: unset;
        text-align: left;
    }
}



.modal-documents {
    box-sizing: border-box;
    width: calc(100% - 30px);
    max-width: 800px;
    max-height: 100vh;
    overflow-y: auto;
    margin: auto;
    position: relative;
    z-index: 230; /* Должен быть выше чем у подложки*/
    box-shadow: 0 3px 10px -.5px rgba(0, 0, 0, .2); 
    text-align: center;
    padding: 60px 42px 42px;
    border-radius: 3px;
    background-color: #fff;
    transition: 0.3s all;
}

@media (max-width: 548px) {
    .modal-documents {
        width: 100vw;
        height: 100vh;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.modal-documents__items {
    display: flex;
    flex-direction: column;
}

.modal-documents__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #D7D7D7;
    margin-bottom: 20px;
    padding: 6px 20px;
    border: 2px solid #D7D7D7;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    transition: border-color .3s;
}

.modal-documents__item:hover,
.modal-documents__item:focus {
    color: #333;
    border-color: #4BBF3B;
}

.modal-documents__doc-name {
    /* margin-bottom: 0; */
}

.modal-documents__doc-ic {
    width: 40px;
    height: 60px;
}












/* todo: удалить почле переноса */
.brand__docs._old {
    margin-bottom: 60px; 
    display: grid;
    justify-items: stretch;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px;
}
.brand__doc._old {
    /* width: 190px; */
    min-height: 260px;
    border-radius: 15px;
    background-color: #EAEAEA;
    transition: background-color .3s ease;
    color: #000;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 2px solid #EAEAEA;
    transition: border-color .3s;
    cursor: pointer;
}

.brand__doc._old:hover {
    /* background-color: #4BBF3B; */
    border-color: #4BBF3B;
    color: #000;
}

.brand__doc-title._old {
    min-height: 60px;
    text-transform: uppercase;
    text-align: center;
    margin-top: auto;
}

.brand__doc._old svg {
    width: 80px;
    margin-top: auto;
    margin-bottom: 30px;
}