.stands {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    max-width: 1132px;
}

.stand {
    display: flex;
    flex-direction: column;
    box-shadow:
        0 4px 4px 0 rgba(0, 0, 0, 0.25),
        3px 4px 4px 0 rgba(0, 0, 0, 0.71);
    background: #e9e9e9;
    border: 3px solid #a7a7a7;
    border-radius: 2px;
    width: 100%;
    gap: 12px;
    padding: 12px;
    position: relative;

    &:nth-child(2n) {
        top: 10%;
    }

    /*&:nth-child(2n + 1) {*/
    /*    top: -50%;*/
    /*}*/

    &:nth-child(1) {
        top: 0;
    }
}

.stand__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px;
    box-shadow: inset 0 0 6px 1px rgba(0, 0, 0, 0.55);
    background: #34175a;

    font-family: var(--second-family);
    font-weight: 800;
    font-size: 36px;
    line-height: 90%;
    text-transform: uppercase;
    color: #acf26b;
}

.stand__image {
    width: 100%;
    /*max-width: 650px;*/
    /*height: 437.33px;*/
    /*height: 163px;*/
    overflow: hidden;

    img {
        width: 100%;
        object-fit: cover;
        display: block;
    }
}

.stand__text {
    margin-top: 10px;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-align: left;
}

.stand__more-action {
    box-shadow:
        0 4px 4px 0 rgba(0, 0, 0, 0.25),
        3px 4px 4px 0 rgba(0, 0, 0, 0.71);
    border-radius: 2px;
    padding: 18px 35px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 12px;
    line-height: 158%;
    letter-spacing: 0.02em;
    background: #acf26b;
    border-color: #898989;
}

.stand:nth-child(3n + 1) {
    .stand__header {
        color: #acf26b;
    }

    .stand__more-action {
        background: #acf26b;
    }
}

.stand:nth-child(3n + 2) {
    .stand__header {
        color: #ffe65f;
    }

    .stand__more-action {
        background: #ffe65f;
    }
}

.stand:nth-child(3n + 3) {
    .stand__header {
        color: #79c9ff;
    }

    .stand__more-action {
        background: #79c9ff;
    }
}

.stand-modal-content {
}

.stand-modal__content {
    display: flex;
    flex-direction: column;

    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 117%;
    color: #38363a;
    gap: 12px;
}

.stand-modal__content {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 135%;
    letter-spacing: 0.02em;
    color: #502974;
}

stand-img {
    box-shadow: inset 2px 0 6px 1px rgba(0, 0, 0, 0.55);
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
    border-radius: 2px;
    border: 2px solid rgb(98, 98, 98);
}

.stand-modal__content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1080px) {
    .stands {
        grid-row-gap: 20px;
        grid-column-gap: 20px;
    }
}
@media (max-width: 980px) {
    .stands {
        /*padding: 0 12px;*/
        /*grid-row-gap: 20px;*/
        /*grid-column-gap: 20px;*/
        grid-template-columns: 1fr;
    }

    .stand:nth-child(2n) {
        top: 0;
    }
}
@media (max-width: 768px) {
    .stand__header {
        flex-wrap: wrap;
    }

    .stand__more-action {
        padding: 8px 18px;
        margin-left: auto;
    }
}

.stand-variant-2 {
    margin: auto 0 0;
    height: fit-content;
}

.stand-variant-2:nth-child(3n + 1) {
    .stand__header {
        color: #acf26b;
    }

    .stand__more-action {
        background: #acf26b;
    }
}

.stand-variant-stand-variant-22:nth-child(3n + 2) {
    .stand__header {
        color: #f2c06b;
    }

    .stand__more-action {
        background: #f2c06b;
    }
}

.stand-variant-2:nth-child(3n + 3) {
    .stand__header {
        color: #79c9ff;
    }

    .stand__more-action {
        background: #79c9ff;
    }
}
.stand-variant-2:nth-child(4n + 4) {
    .stand__header {
        color: #fe3d8e;
    }

    .stand__more-action {
        background: #fe3d8e;
    }
}

.stand-modal__content-2 a {
    text-decoration: underline;
}
.stand-modal__content-2 ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stand-modal__content-2 li {
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.stand-modal__content-2 li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid #9e62fe;
    border-top: 7.5px solid transparent;
    border-bottom: 7.5px solid transparent;
}

@media (max-width: 768px) {
    .stand-variant-2 .stand__more-action {
        margin-left: 0;
    }
    .stand-variant-2 .stand__header {
        font-size: 28px;
    }
}

@media (max-width: 420px) {
    .stand-variant-2 .stand__header {
        font-size: 24px;
    }
}
