.section__partners {
    max-width: 1400px;
    width: 100%;
    margin: auto;
    padding-top: 180px;
    padding-left: 30px;
    padding-right: 30px;
}

.ydr__partners__sort__title span {
    font-family: var(--second-family);
}

.section__present, .section__present__photos {
    max-width: 1400px;
    width: 100%;
    margin: auto;
    padding-left: 30px;
    padding-right: 30px;
}

.section__present__photos {
    padding: 120px 30px 120px 30px;
}

.ydr__partners__sort {
    width: 100%;
    padding: 60px 0 120px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.ydr__partner__item {
    /*max-width: 206.6px;*/
    width: 15.36%;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;

    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;

	opacity: 0.75;
    -webkit-filter: grayscale(1);
    -moz-filter: grayscale(1);
    -ms-filter: grayscale(1);
    -o-filter: grayscale(1);
    filter: grayscale(100%);
    filter: gray; /* IE 6-9 */
}

.ydr__partner__item:hover {
    opacity: 1;
    -webkit-filter: none;
    -moz-filter: none;
    -ms-filter: none;
    -o-filter: none;
    filter: none;
    filter: none; /* IE 6-9 */
}

.ydr__partners__sort, .ydr__partners__sort__item, .ydr__partners__items__logos {
    width: 100%;
}

.ydr__partners__items__logos {
    height: auto;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ypil__center {
    justify-content: center;
    align-items: center;
}

.ypil__left {
    justify-content: flex-start;
    align-items: flex-start;
}

.ydr__partners__sort__title {
    margin-bottom: 36px;
    font-family: var(--font-family1);
    font-weight: 700;
    font-size: 64px;
    line-height: 97%;
    text-transform: uppercase;
}

.ydr__partners__sort__title span {
    font-family: var(--second-family);
}

.ypst__1 {
    color: #c4b5f0;
}

.ypst__2 {
    color: #cb6789;
}

.ypst__3 {
    color: #fc9c57;
}

.ypst__4 {
    color: #f2cc44;
}

.ypst__5 {
    color: #c4b5f0;
}

.ypst__6 {
    color: #fc9c57;
}

.ypst__6 {
    color: #cb6789;
}

.ydr__present__items {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ydr__present__item {
    width: 100%;
    padding: 20px 30px 40px 30px;
    border: 2px solid #202221;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.ypi__l1, .ypi__l2 {
    display: flex;
    justify-content: space-between;
}

.ypi__l1 h3 {
    font-family: var(--font-family1);
    font-weight: 700;
    font-size: 24px;
    line-height: 123%;
    text-align: left;
    color: #202221;
}

.section__ydr__present__title__descr {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.section__ydr__present__title {
    font-family: var(--font-family1);
    font-weight: 700;
    font-size: 64px;
    line-height: 97%;
    text-transform: uppercase;
    text-align: center;
    color: #202221;
}

.section__ydr__present__descr {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #202221;
}

.ypi__l1 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ypi__l2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.ypi__l2__item {
    display: flex;
    max-width: 375px;
    width: 100%;
    min-width: 200px;
}

.ypi__l2__item__flex {
    align-items: flex-start;
    gap: 10px;
}

.ypi__l2__item__flex__center {
    align-items: center !important;
}

.ypi__l2__item__column {
    flex-direction: column;
    gap: 30px;
}

.ydrp__icon__1 {
    width: 38px;
    height: auto;
}
.ydrp__icon__2 {
    width: 44px;
    height: auto;
}
.ydrp__icon__3 {
    width: 44px;
    height: auto;
}
.ydrp__icon__4 {
    width: 37px;
    height: auto;
}

.ydrp__text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #202221;
}

.ydr__partner__logo {
    width: 163px;
    height: 99px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.section__present__photos h3 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #202221;
    margin-bottom: 50px;
    text-align: center;
}

.section__present__photos p {
    text-align: center;
    margin: 0 auto 50px auto;
    max-width: 660px;
    font-size: 16px;
}

.present__photos__items {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.present__photo__item {
    border-radius: 30px;
    /*max-width: 320px;*/
    width: 23.82%;
    aspect-ratio: 1 / 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
}

@media(max-width: 1339px) and (min-width: 790px) {
    .ydr__partners__items__logos {
        gap: 0;
    }

    .ydrp__text {
        font-size: 14px;
    }

    /* .ydr__partner__item {
        width: 33.3%;
    } */

    .present__photos__items {
        gap: 15px;
    }

    .present__photo__item {
        width: calc( 33.3% - 10px);
    }

    .ypi__l2__item {
        word-break: break-word;
    }

    .ypi__l2 {
        gap: 20px
    }
}

@media(max-width: 960px) and (min-width: 790px) {
    .ydrp__text {
        font-size: 12px;
    }

    .ypi__l2 {
        gap: 20px
    }

    .ydr__present__item {
        padding: 16px 16px 20px 16px;
    }
}

@media(max-width: 789px) and (min-width: 640px) {
    .ydrp__text {
        font-size: 10px;
    }

    .ypi__l2__item {
        min-width: 170px;
    }

    .present__photo__item {
        width: 32%;
    }

    .present__photos__items {
        gap: 10px;
        justify-content: center;
    }

    .ydr__partners__items__logos {
        gap: 0;
    }

    .ydr__partner__item {
        width: 33.3%;
    }

    .ypi__l2 {
        gap: 10px
    }

    .ydrp__text:last-child {
        word-break: break-word;
    }

    .ydr__present__item {
        padding: 16px 16px 20px 16px;
    }
}

@media(max-width: 639px) and (min-width: 480px) {
    .section__present, .section__present__photos, .section__partners {
        padding-left: 10px;
        padding-right: 10px;
    }

    .ydr__partners__items__logos {
        gap: 20px;
    }

    .ydr__partner__item, .present__photo__item {
        width: calc( 50% - 10px );
    }

    .present__photos__items {
        gap: 20px;
    }

    .ydrp__text {
        font-size: 12px;
    }

    .ydr__present__item {
        padding: 16px 16px 20px 16px;
    }

    .ypi__l2 {
        gap: 10px;
        flex-direction: column;
    }

    .ypi__l2__item.ypi_l2__item__flex:last-child {
        word-break: break-word;
    }

    .ydr__partners__sort__title {
        font-size: 30px;
    }
}

@media(max-width: 479px) and (min-width: 320px) {
    .section__partners {
        padding: 106px 10px 0 10px;
    }

    .section__present, .section__present__photos {
        padding-left: 10px;
        padding-right: 10px;
    }

    .ydr__partners__items__logos {
        gap: 10px;
    }

    .ydr__partner__item, .present__photo__item {
        width: calc( 50% - 5px );
    }

    .present__photos__items {
        gap: 10px;
    }

    .ydrp__text {
        font-size: 12px;
    }

    .ydr__present__item {
        padding: 16px 16px 20px 16px;
    }

    .ydr__partners__sort__title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .ypi__l1 h3 {
        font-size: 16px;
        text-align: left;
        width: 158px;
    }

    .ypi__l2 {
        flex-direction: column;
        gap: 20px;
    }

    .section__ydr__present__title__descr {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 20px;
    }

    .section__ydr__present__title {
        font-size: 20px;
    }

    .section__ydr__present__descr {
        font-size: 12px;
    }

    .ydr__partner__logo {
        width: 100px;
        height: 100px;
        background-size: cover;
    }

    .section__present__photos h3 {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .ydr__present__items {
        gap: 10px;
    }

    .ydr__present__item {
        gap: 16px;
    }

    .ydr__partners__sort {
        gap: 56px;
    }

    .present__photo__item {
        border-radius: 20px;
    }

    .section__present__photos {
        padding: 36px 10px 56px 10px;
    }

    .ydr__partners__sort {
        padding: 32px 0 56px;
    }

    .ydrp__icon__1 {
        width: 24px;
        height: auto;
    }
    .ydrp__icon__2 {
        width: 24px;
        height: auto;
    }
    .ydrp__icon__3 {
        width: 24px;
        height: auto;
    }
    .ydrp__icon__4 {
        width: 24px;
        height: auto;
    }

    .section__present__photos p {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .ypi__l2__item {
        min-width: 120px;
    }
}