#shemas-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

#shemas-block .wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

#shemas-block .grid-all {
    grid-row: span 2;
    grid-column: span 2;
    padding: 40px;
    border-radius: 10px;
    background: var(--bg-alt-main);
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 0rem + 6.25vw, 7.5rem);
}

#shemas-block .grid-second {
    grid-column: span 2;
}

#shemas-block .shemas-item {
    position: relative;
    height: 100%;
}

#shemas-block .shemas-item .img {
    position: absolute;
    right: 0;
    bottom: 0;
}

#shemas-block .shemas-item .read-more-btn {
    width: fit-content;
    gap: 30px;
}

#shemas-block .shemas-item .step {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: var(--bg-primary-main);
    border-radius: 5px;
    padding: 6px 8px;
    background: var(--colors-second);
    width: fit-content;
}

#shemas-block .shemas-item .img.opacity-min {
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0.7;
}

#shemas-block .shemas-item .steps-top-info:not(.step-1) {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: start;
}

#shemas-block .shemas-item .steps-top-info.step-1 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#shemas-block .form-side {
    width: 100%;
    max-width: 620px;
    border: 1.50px solid var(--bg-alt-stroke);
    border-radius: 10px;
    padding: 30px;
    background: var(--bg-primary-main);
}

#shemas-block .h3 {
    margin-bottom: 15px;
}


#shemas-block .h2 {
    text-align: center;
}

#shemas-block .image-holder img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    max-height: 360px;
}

#shemas-block .shemas-item.default-item {
    border-radius: 10px;
    padding: 30px;
    background: var(--bg-alt-main);
}

#shemas-block .shemas-item.default-item .top-item-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#shemas-block .shemas-item .p2 {
    color: var(--text-primary-main);
}

#shemas-block .image-holder {
    width: 100%;
    height: 100%;
}

@media (max-width: 1280px) {
    #shemas-block .grid-all {
        grid-row: span 3;
    }
    #shemas-block .shemas-item.default-item {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    /*#shemas-block .shemas-item {*/
    /*    grid-row: span 1 !important;*/
    /*    grid-column: span 1 !important;*/
    /*}*/
    #shemas-block .wrapper {
        display: flex;
        flex-direction: column;
    }
    #shemas-block .shemas-item .img {
        opacity: 0.7;
    }
    #shemas-block .top-item-wrapper {
        z-index: 2;
        position: relative;
    }
    #shemas-block .shemas-item {
        padding: 10px !important;
    }
    #shemas-block .shemas-item .steps-top-info:not(.step-1) {
        flex-direction: column;
    }
}