.review-card {
    width: 90%;
    display: flex;
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    flex-direction: row;
}
.review-leftblock{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.review-rightblock{
    display: flex;
    position: relative;
    height: auto;
    background-color: #e3dad2;
    padding: 20px;
    border-radius: 10px;
    flex-direction: column;
    justify-content: center;
}
.review-rightblock::before {
    align-self: center;
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px solid #3a3434;
    border-radius: 10px;
    pointer-events: none;
}

.review-photo {
    flex-shrink: 0;
}

.review-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #e3dad2;
}

.review-info {
    flex: 1;
}

.review-name {
    font-family: 'Jun', serif;
    font-size: 30px;
    color: #e3dad2;
    margin-bottom: 8px;
}

.review-regalia {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: #e3dad2;
}

.review-description {
    width: 100%;
    height: calc(100% - 130px);
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #3a3434;
    margin-bottom: 15px;
    padding: 15px 30px 0px 30px;
}

.review-preview {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    font-size: 1rem;
    line-height: 1.7;
    color: #2c3e50;
    margin-top: 15px;
    position: relative;
    max-height: 200px;
    overflow: hidden;
}

.review-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, white);
}
.review-pageName{
    font-size: 130px;
}
.read-full-btn {
    display: block;
    margin-top: 15px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 20px;
    height: 60px;
    padding: 13px 25px;
    background-color: #e3dad2;
    border: 1px solid #3a3434;
    color: #3a3434;
    text-decoration: none;
    border-radius: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
}

.read-full-btn:hover {
    border: 1px dashed #3a3434;
    background: #3a343415;
}

.no-photo {
    width: 120px;
    height: 120px;
    background: #ecf0f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.reviews-container {
    margin: 0 auto;
    height: auto;
}

@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .review-photo {
        margin-bottom: 15px;
        margin:  0 auto;
    }
    
    .review-info {
        text-align: center;
    }
    
    .review-name {
        font-size: 30px;
    }
    .review-description{
        font-size: 16px;
        padding: 5px 10px 0px 10px;
        margin-bottom: 0px;
        height: 100%;
    }
    .review-preview {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .read-full-btn {
        width: 100%;
        text-align: center;
        font-size: 16px;
        height: 50px;
        margin:  20px 0px;
    }
    .review-pageName{
        font-size: 40px;
    }
}