.file-type {
    border-radius: 10px;
    background:  #F66E47;
    color: #fff;
    padding: 10px;
    text-transform: uppercase;
    font-size: 17px;
}
.file-name {
    color: var(--color-dark-grey);
    margin-bottom: 5px;
    transition: 0.4s;
    font-weight: 700;
}
.doc-item:hover .file-name {
    color: var(--color-red);
}
.file-data {
    color: #8C8B8C;
    font-size: 18px;
}
.doc-item {
    border-radius: 10px;
    background: #F7F7F3;
    padding: 32px;
    gap: 19px;
    width: calc(33.33% - 49.34px);
}
.docs {
    gap: 74px;
    flex-wrap: wrap;
    align-items: stretch;
}
.h1 {
    margin: 0 0 80px;
}
.rukovod {
    background: #F7F7F3;
}
.team-item {
    background: #FFFFFD;
    border-radius: 10px;
}
.team-item .team-title {
    width: auto;
}
h1.entry-title {
    margin: 46px 0 60px;
}
.goal {
    background: var(--color-main);
}
.goal .h1 {
    color: #fff;
}
.goal .team-item {
    padding: 32px;
    width: 25%;
}
.goal .team-item .team-title{
    margin: 0 0 40px;
}
.goal .team-item ol {
    margin: 0;
    text-transform: none;
}
.goal .team-page {
    align-items: stretch;
}
.h1 span {
    color: var(--color-yellow);
}
.dost-item {
    border-radius: 10px;
    background: #F7F7F3;
    height: 400px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: calc(25% - 9px);
    align-items: flex-start;
}
.dost-item:nth-child(1) {
    width: calc(50% - 32px);
}
.dost-item:nth-child(5) {
    width: calc(75% - 16px);
    padding: 0;
    overflow: hidden;
}
.dost-item img {
    transition: 0.4s;
}
.dost .team-page {
    flex-wrap: wrap;
}
.dost-num {
    font-size: 42px;
    text-transform: uppercase;
    font-family: 'DelaGothicOne';
}
.about-dost {
    font-size: 24px;
    line-height: 160%;
    font-weight: 400;
}
.history-text {
    background: var(--color-main);
    padding: 48px;
    color: #fff;
    font-size: 36px;
    line-height: 110%;
    font-family: 'DelaGothicOne';
    display: flex;
    flex-direction: column;
    gap: 48px;
    border-radius: 24px;
    width: calc(50% - 16px);
}
.history-slider {
    width: calc(50% - 16px);
    border-radius: 24px;
    background: #F7F7F3;
    padding: 48px;
    position: relative;
}
.tip {
    text-transform: uppercase;
    color: #8C8B8C;
    margin-bottom: 48px;
}
.history-title {
    font-family: 'DelaGothicOne';
    font-size: 36px;
    line-height: 110%;
    color: var(--color-main);
    margin-bottom: 48px;
}
.history-slide {
    font-size: 24px;
    line-height: 160%;
}
.history-time {
    font-family: 'DelaGothicOne';
    font-size: 24px;
    color: var(--color-yellow);
}
.history .flex {
    align-items: stretch;
}
.button {
    background: var(--color-main);
    border-radius: 50px;
    height: 48px;
    width: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    cursor: pointer;
    z-index: 9;
    transition: 0.4s;
}
.button.slick-next {
    left: 66px;
}
.button:hover {
    background: var(--color-yellow);
}
.button.slick-disabled {
    background: #8C8B8C;
}

.button.slick-prev:before {
    content: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6443 15.2886L10.667 15.266L3.59499 8.17664L10.667 1.08797L10.6443 1.06531H7.09833L0.000325203 8.17597L7.09833 15.2873L10.6443 15.2886Z' fill='%23FFFEFF'/%3E%3Cpath d='M16 6.99194H3.556V9.36194H16V6.99194Z' fill='%23FFFEFF'/%3E%3C/svg%3E");
}
.button.slick-next:before {
    content: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.35567 15.2886L5.33301 15.266L12.405 8.17664L5.33301 1.08797L5.35567 1.06531H8.90167L15.9997 8.17597L8.90167 15.2873L5.35567 15.2886Z' fill='%23FFFEFF'/%3E%3Cpath d='M0 6.99194H12.444V9.36194H0V6.99194Z' fill='%23FFFEFF'/%3E%3C/svg%3E");
}
.history-slider-start {
    height: calc(100% - 65px);
}
.slick-track, .slick-list, .history-item, .slick-slide > div:first-child  {
    height: 100%;
}
.history-item {
    padding-bottom: 86px;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
}
.slide-num {
    position: absolute;
    left: 215px;
    bottom: 56px;
    color: #8C8B8C;
}
.gap {
    margin: 0 10px;
}
.slide-num span {
    color: var(--color-dark-grey);
}
@media (max-width: 900px) {
    .history-text, .history-slider{
        font-size: 22px;
        padding: 24px;
        gap: 24px;
    }
    .tip {
        margin-bottom: 24px;
    }
    .history-title {
        font-size: 22px;
        margin-bottom: 24px;
    }
    .history-slide {
        font-size: 18px;
        line-height: 140%;
    }
    .history-time {
        font-size: 16px;
    }
    .button {
        height: 35px;
        width: 35px;
    }
    .button.slick-next {
        left: 50px;
    }
    .slide-num {
        left: 160px;
        bottom: 41px;
        font-size: 16px;
    }
    .work.team-page, .goal .team-page {
        flex-wrap: wrap;
    }
    .team-item, .goal .team-item {
        width: calc(50% - 14px);
    }
    .goal .team-item {
        padding: 16px;
    }
    .team-title {
        font-size: 16px;
    }
    .team-photo {
        height: 250px;
    }
    .docs {
        gap: 24px;
    }
    .doc-item {
        width: calc(50% - 12px);
    }
    .padding {
        padding: 60px 0;
    }
    .dost-num {
        font-size: 24px;
    }
    .about-dost {
        font-size: 18px;
        line-height: 140%;
    }
    .dost-item:nth-child(2), .dost-item:nth-child(1), .dost-item:nth-child(3), .dost-item:nth-child(4) {
        width: calc(50% - 16px);
        height: auto;
        padding: 16px;
    }
    .dost-item:nth-child(5) {
        width: 100%;
        height: auto;
    }
    .dost .team-page {
        align-items: stretch;
    }
}
@media (max-width: 680px) {
    body .h1, body h1 {
        margin: 24px 0 32px;
        font-size: 24px;
    }
    .doc-item, .goal .team-item {
        width: 100%;
    }
      .history .flex {
          flex-wrap: wrap;
      }
    .history-text, .history-slider {
        width: 100%;
    }
    .history-text, .history-slider {
        font-size: 18px; width:
    };
}
@media (max-width: 550px) {
    .team-item {
        width: 100%;
    }
    .team-photo {
        height: 320px;
    }
}
@media (max-width: 450px) {
    .dost-item:nth-child(2), .dost-item:nth-child(1), .dost-item:nth-child(3), .dost-item:nth-child(4) {
        width: 100%;
        height: auto;
    }
}