body {
    background-color: #f5f5f5 !important;
}
.row-docs__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 30px;
    grid-template-areas: ". .";
}
.row-docs__grid .block-docs__item {
    justify-content: flex-start;
    margin: 0;
    align-items: center;
}
.row-docs__grid .block-docs__icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 8px;
    font-size: 14px;
    color: rgba(229, 175, 152, 1);
}
.row-docs__grid .block-docs__item:not(:last-child) {
    margin-bottom: 12px;
}
.row-docs__grid .block-docs__cat {
    margin: 0;
    background-color: white;
    padding: 24px;
    border-radius: 12px;
}

.row-docs__grid .block-docs__cat-name {
    font-size: 32px;
    font-weight: 500;
    line-height: 110%;
    border: none;
    text-transform: none;
    color: rgba(87, 87, 87, 1);
}
.row-docs__grid .block-docs__item-name {
    font-size: 16px;
    font-weight: 400;
    line-height: 130%;
    color: rgba(87, 87, 87, 1);
    padding-left: 0;
    padding-right: 0;
}
.row-docs__grid .block-docs__item-name::after {
    content: none;
}

.info-block .block-docs__item {
    justify-content: flex-start;
    margin: 0;
    align-items: center;
}
.info-block .block-docs__icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 8px;
    font-size: 14px;
    color: rgba(229, 175, 152, 1);
}
.info-block .block-docs__item:not(:last-child) {
    margin-bottom: 12px;
}
.info-block .block-docs__cat {
    margin: 0;
    background-color: white;
    padding: 24px;
    border-radius: 12px;
}

.info-block .block-docs__cat-name {
    font-size: 32px;
    font-weight: 500;
    line-height: 110%;
    border: none;
    text-transform: none;
    color: rgba(87, 87, 87, 1);
}
.info-block .block-docs__item-name {
    font-size: 16px;
    font-weight: 400;
    line-height: 130%;
    color: rgba(87, 87, 87, 1);
    padding-left: 0;
    padding-right: 0;
}
.info-block .block-docs__item-name::after {
    content: none;
}

@media (max-width: 991px) {
    .row-docs__grid {
        grid-template-columns: 1fr;
        grid-template-areas: ".";
    }
}
.hover-items {
    display: flex;
    gap: 30px;
    flex-direction: column;
    width: 100%;
    margin-bottom: 60px;
    overflow: hidden;
}
.hover-block {
    height: 100%;
    width: 100%;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    z-index: 2;
    transition: all 0.5s ease;
}
.hover-block.active {
    width: 40%;
}
.hover-block.active .text-content {
    
}
.content {
    display: flex;
    flex: 1;
    align-items: center;
    padding: 24px;
    gap: 24px;
    flex-direction: row;
    position: relative;
    transition: all 0.5s ease;
}
.content svg {
    position: absolute;
    top: 43%;
    right: 24px;
}
.content img {
    width: 466px;
    height: 232px;
    /* width: 100%; */
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.block-docs__cat {
    opacity: 1;
    transition: opacity 0.1s ease;
    display: block;
}
.text-content {
    display: flex;
    flex-direction: column;
}
.text-content h2 {
    font-weight: 500;
    font-size: 32px;
    line-height: 110%;
    color: rgba(87, 87, 87, 1);
}
.text-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #555;
    max-width: 600px;
}
.info-block {
    position: relative;
    top: 0;
    right: 0;
    /* width: 0; */
    border-radius: 12px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s;
    z-index: 1;
    user-select: none;
    /* opacity: 0; */
    /* height: 0; */
    display: none;
}
.info-block.active {
    opacity: 1;
    width: 60%;
    height: 100%;
    display: inline;
}
.content__header .text-content {
    height: 0;
    transition: all 0.4s;
}
.hover-block.active .content__header .text-content {
    height: 100%;
}
.hover-block.active .content {
    /* flex-direction: column-reverse; */
    /* align-items: flex-start; */
}
.hover-block.active .content img {
    /* max-width: 100%; */
}
.hover-block.active .content svg {
    top: 24px;
    rotate: 180deg;
}
.container-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    gap: 30px;
}
.container-wrapper.active {
    gap: 30px;
}

@media (max-width: 1440px) {
    .hover-block.active {
        width: 50%;
    }
    .info-block.active {
        width: 50%;
    }
}

@media (max-width: 960px) {
    .container-wrapper {
        flex-direction: column;
    }
    .hover-block {
        flex-direction: column;
        max-height: none;
        width: 100% !important;
        cursor: pointer;
        z-index: auto;
        transition: width 0.5s ease;
    }
    .container-wrapper.active .hover-block {
        width: 100% !important;
    }
    .container-wrapper.active {
        gap: 30px;
    }
    .hover-block.active .content {
        flex-direction: column;
    }
    .hover-block.active .content svg {
        bottom: 24px;
        top: auto;
    }
    .content {
        flex-direction: column;
        padding: 24px;
        align-items: flex-start;
        width: 100%;
        position: relative;
    }
    .content svg {
        top: initial;
        bottom: 24px;
        right: 24px;
        rotate: 90deg;
        transition: rotate 0.3s ease;
    }
    .content img {
        max-width: 100%;
        max-height: 260px;
        border-radius: 8px;
    }
    .container-wrapper.active .content img {
        max-width: 100%;
    }
    .text-content {
        margin-left: 0;
        padding: 0 15px;
        text-align: left;
    }
    .text-content p {
        margin-bottom: 0;
    }
    .info-block {
        position: relative;
        max-height: 0;
        height: auto;
        right: 0px;
        padding: 0px 15px;
        border-radius: 10px;
        opacity: 0;
        transition: opacity 1.5s, max-height 0.9s;
        overflow: hidden;
        display: block;
        width: 100%;
    }
    .info-block.active {
        opacity: 1;
        max-height: 1100px;
        width: 100%;
    }
    .content.active svg {
        rotate: 270deg !important;
    }

    .container-wrapper.active .info-block {
        opacity: 1;
        max-height: 800px; /* Установите максимальную высоту для анимации */
        padding: 20px 15px;
        width: 100%;
        transition: max-height 0.9s ease; /* Изменено на max-height */
    }
    .container-wrapper.active .content {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .text-content h2 {
        font-size: 24px;
    }
    .text-content p {
        font-size: 16px;
    }
    .container-wrapper {
        gap: 0;
    }
    .hover-block {
        border-radius: 12px 12px 0 0;
    }
    .info-block {
        border-radius: 0 0 12px 12px;
        padding: 0;
    }
    .content {
        padding: 16px;
    }
    .info-block .block-docs__cat {
        padding: 16px;
    }
}

.documents {
    margin-bottom: 60px;
}
@media (max-width: 1200px) {
    .documents {
        margin-bottom: 40px;
    }
}
.documents .title-h2 {
    margin-bottom: 40px;
}
@media (max-width: 1200px) {
    .documents .title-h2 {
        margin-bottom: 24px;
    } 
}
.documents__items {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    cursor: pointer;
}
@media (min-width: 1590px) {
.documents__items {
    row-gap: 30px;
}
}
.documents__item {
    background: rgba(255, 255, 255, 1);
    border-radius: 12px;
    display: flex;
    gap: 16px;
    transition: all 0.4s;
}
.documents__item.documents__item--hover {
    background: transparent;
    cursor: initial;
}
.documents__media {
    cursor: pointer;
}
.documents__header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    cursor: pointer;
    height: 0px;
    overflow: hidden;
    transition: all 0.4s;
}
.documents__header--visible {
    margin-bottom: 24px;
}
.documents__icon {
    transition: transform 0.3s ease;
}
.documents__icon.documents__icon--docs {
    display: none;
}
.documents__header--visible .documents__icon {
    transform: rotate(180deg);
}
.documents__media--wrap {
    padding: 24px;
    border-radius: 12px;
    background: yellow;
    background: rgba(255, 255, 255, 1);
    position: sticky;
    top: 100px;
}
.documents__item--pointer {
    pointer-events: none;
}
.documents__list {
    flex-grow: 1;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 1);
}
.documents__docs--wrap {
    padding: 24px;
}
.documents__docs {
    background: #fff;
    height: 0px;
    opacity: 0;
    transition: all 0.4s;
}
.documents__docs--click {
    pointer-events: initial;
}
.documents__item.documents__item--hover .documents__docs {
    opacity: 1;
}
.documents__info {
    position: absolute;
    top: 50%;
    left: 0;   
    transform: translateY(-50%);
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    opacity: 1;
    z-index: 100;
    transition: all 0.4s;
}
.documents__item.documents__item--hover .documents__info {
    opacity: 0;
    z-index: -100;
}
.documents__text {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}
.documents__title {
    color: rgba(87, 87, 87, 1);
    font-weight: 500;
    font-size: 28px;
    line-height: 110%;
}
.documents__subtitle {
    color: rgba(87, 87, 87, 1);
    font-weight: 400;
    font-size: 21px;
    line-height: 120%;
}
.documents__image {
    width: 526px;
    height: 260px;
}
.documents__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.documents__link {
    display: flex;
    justify-content: start;
    color: rgba(87, 87, 87, 1);
    column-gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}
.documents__link:last-child {
    margin-bottom: 0;
}
.documents__link:hover {
    color: rgba(229, 175, 152, 1);
}
.documents__link .block-docs__icon {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(229, 175, 152, 1);
}
.documents__link .block-docs__item-name::after {
    content: none;
}
.documents__link .block-docs__item-name {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    padding: 0;
}
.documents__link:hover .block-docs__item-name {
    color: rgba(229, 175, 152, 1);
}
.developers {
    margin-bottom: 60px;
}
@media (max-width: 1200px) {
    .developers {
        margin-bottom: 40px;
    }
}
.developers .title-h2 {
    margin-bottom: 40px;
}
@media (max-width: 1200px) {
    .developers .title-h2 {
        margin-bottom: 24px;
    } 
}
.developers .block-docs__cat-name {
    margin-bottom: 24px;
    font-size: 21px;
}
@media (max-width: 1590px) {
    .documents__image {
    }
}
@media (max-width: 1200px) {
    .documents__list {
        padding: 0;
    }
    .documents__item.documents__item--hover .documents__list {
        margin-top: 20px;
    }
    .documents__item {
        flex-direction: column;
        row-gap: 0;
    }
    .documents__image {
        width: 100%;
    }
    .documents__info {
        display: none;
    }
    .documents__docs {
        height: 0px;
        padding: 0;
        transition: height 0.4s;
    }
    .documents__docs--wrap {
        padding: 16px;
    }
    .documents__item--hover .documents__docs {
    }
    .documents__header {
        height: initial;
    }
    .documents__media--wrap {
        padding: 16px;
        display: flex;
        flex-direction: column-reverse;
        row-gap: 16px;
    }
    .documents__title {
        font-size: 21px;
    }
    .documents__subtitle {
        font-size: 16px;
    }
    .documents__icon {
        transform: rotate(180deg);
        transition: all 0.4s;
    }
    .documents__item.documents__item--hover .documents__icon {
        transform: rotate(0deg);
    }
    .documents__icon.documents__icon--docs {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}