.ayri-review-card{
    display: flex;
    gap: 10px;
    flex: 0 0 calc(50% - 15px)
}
.ayri-review-card:focus-visible,.ayri-review-card:focus{
    outline: none;
}
.ayri-review-card__image{
    text-decoration: none;
    cursor: pointer;
    gap: 10px;
    display: flex;
    flex-direction: column;
}
.ayri-attachment{
    border-radius: 50%;
    border: 10px solid rgba(255, 255, 255, 0.06);
    object-fit: cover;
    object-position: top;
    
}
.ayri-review-card__name{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-h);
}

.ayri-review_card_block{
    position: relative;
    padding: 2px;
    z-index: 1;
    width: 100%;
    border-radius: 30px 6px;

}
.ayri-review-card__info{
    border-radius: 28px 4px;
    padding: 28px;
    max-width: 500px;
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: start;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}
.ayri-review_header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ayri-review_header_author{
    display: flex;
    gap: 20px;
    align-items: center;
}
.ayri-review_stars{
    display: flex;
    gap: 4px;
}
.ayri-review-card__author{
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 144%;
    color: var(--text-h);
}
.ayri-review-card__date{
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 162%;
    text-align: right;
    color: var(--txt);
    align-self: flex-end;
}
.ayri-review-card__text{
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 162%;
    color: var(--txt);
}
.ayri-gotoprofile-btn{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #e5a938;
    cursor: pointer;
    text-decoration: none;
    transition: 0.5s ease-in-out font-weight;
}
.a_hover:hover .ayri-gotoprofile-btn{
    font-weight: 700;
}


@media (max-width:1023px) {
    .ayri-review-card{
        flex: 0 0 100%;
    }
    
    .ayri-review_card_block {
        width: 100%;
    }
    .ayri-review-card__info {
        max-width: 100%;
    }
}
@media (max-width:768px) {
    .ayri-page-header__title{
        font-size: 54px;
    }
}
@media (max-width:555px) {
    .ayri-review-card {
        flex-direction: column;
    }
    .ayri-review-card__name{
        font-size: 15px;
    }
    .ayri-review-card__image{
        flex-direction: row;
        align-items: center;
    }
    .ayri-attachment{
        width: 60px;
        height: 60px;
        border: 5px solid rgba(255, 255, 255, 0.06);
    }
    .ayri-review-card__text{
        font-size: 15px;
    }
    .ayri-review-card__date{
        font-size: 14px;
    }
    .ayri-review-card__author{
        font-size: 16px;
    }
    .ayri-gotoprofile-btn{
        font-size: 12px;
    }
    .ayri-review_header {
        flex-wrap: wrap;
    }
    .ayri-review-card__info {
        padding: 15px;
    }
}