.swiper-container {
    display: flex;
    justify-content: center; 
    padding: 10px;
    overflow: hidden; 
    box-sizing: border-box;
    position: relative; 
    min-width: 100%;
	width:100%;
    min-height: 100%; 
	height:100%;
}
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #007aff; 
    width: 50px; 
    height: 50px; 
    border: none;
    outline: none; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
}
.swiper-button-prev {
    left: 10px; 
}

.swiper-button-next {
    right: 10px; 
}

.swiper-wrapper {
    display: flex;
    box-sizing: border-box;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0; 
    overflow:hidden;
}

.review-card-content {
    display: grid;
    grid-template-rows: 40px 40px 1fr 10px;
    min-height: 250px;
    width: 100%; 
    max-width: 250px;
    padding: 20px;
    padding-bottom: 0;
    margin: 10px;
    border-radius: 10px;
    background-color: white;
    position: relative;
    box-shadow: 0px 6px 10px rgba(74, 70, 74, 0.414);
    
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 5px; 
    margin: 0;
}

.review-rating span {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    margin: 1px; 
}

.review-rating p {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
}

/* rating stars */
.fa-star {
    color: #ccc;
}

.fa-star.checked {
    color: orange;
}

.review-head {
    display: flex;
}

.review-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    font-family: sans-serif;
}

.review-description {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    max-height: 7.5em; 
    position: relative;
    overflow: hidden;
    text-align: left;
    margin-bottom: 5px; 
    font-family: sans-serif;
}

.review-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.6em;
    background: linear-gradient(to bottom, transparent, white);
    z-index: 1; 
}

.review-description p {
    margin: 5px 0 0;
    font-size: 14px;
    line-height: 1.4; 
    font-weight: 400;
    color: #666;
    font-family: sans-serif;
}

.review-date {
    display: flex;
    margin-top: 10px; 
    justify-content: space-between;
    padding-bottom: 5px; 
}

.review-date p {
    font-size: 12px;
    font-weight: 600;
    color: #797878;
    margin-top: 0;
}

.review-date a {
    height: 20px;
    font-size: 11px;
    color: blue;
    text-decoration: none;
    cursor: pointer;
    font-family: sans-serif;
}

.review-date a:hover {
    color: rgb(95, 149, 248);
}

.review-date a:active {
    color: rgb(4, 54, 148);
    border: none;
}

@media (max-width: 600px) {
    
    .review-card-content {
        min-height: 220px;
        height: 230px;
        min-width: 210px;
        width: 220px;
        grid-template-rows: 30px 35px 1fr 25px; 
    }
    .review-head {
        font-size: 13px;
    }
    .review-description {
        max-height: 7.5em;
    }
    .review-description p {
        font-size: 11px;
    }
    .review-rating p {
        font-size: 12px;
    }
    .review-rating span {
        font-size: 15px;
    }
	.review-date{
		margin-top:0;
	}
    .review-date p {
        font-size: 10px;
    }
    .review-date a {
        font-size: 10px;
    }
	.swiper-button-prev {
		left: 49px;
        top: 60%;
        transform: translate(-50%, -50%);
    }
    .swiper-button-next {
        right: 0px;
		top: 60%;
        transform: translate(-50%, -50%);
    }
}

@media (min-width: 601px) and (max-width: 768px) {
    .review-card-content {
        min-width: 230px;
        width: 230px;
        margin: 5px;
        min-height: 240px;
        height: 240px;
		grid-template-rows: 30px 35px 1fr 35px;
    }
    .review-description {
        height: 7.2em;
    }
    .review-description p {
        font-size: 13px;
    }
    .review-rating p {
        font-size: 14px;
    }
    .review-rating span {
        font-size: 16px;
    }
	.review-date{
		margin-top:0;
	}
    .swiper-button-prev {
        left: 35px;
        top: 60%;
        transform: translate(-50%, -50%);
    }
    .swiper-button-next {
        right: -15px;
		top: 60%;
        transform: translate(-50%, -50%);
    }
    .review-date p {
        font-size: 12px;
    }
    .review-date a {
        font-size: 11px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .review-card-content {
        min-width: 250px;
        width: 250px;
        margin: 5px;
        min-height: 250px;
        height: 250px;
		grid-template-rows: 30px 35px 1fr 35px; 
    }
    .review-description {
        height: 7.6em;
		margin-bottom:0;
    }
    .review-description p {
        font-size: 13px;
		margin-bottom:0;
    }
    .review-rating p {
        font-size: 14px;
    }
    .review-rating span {
        font-size: 17px;
    }
      .swiper-button-prev {
        left: 40px;
        top: 60%;
        transform: translate(-50%, -50%);
    }
    .swiper-button-next {
        right: 0px;
		top: 60%;
        transform: translate(-50%, -50%);
    }
	.review-date{
		margin-top:0;
	}
    .review-date p {
        font-size: 13px;
    }
    .review-date a {
        font-size: 12px;
    }
}

@media (min-width: 993px) and (max-width: 1230px) {
    .review-card-content {
        min-height: 240px;
        height: 250px;
        margin: 5px;
        min-width: 230px;
        width: 240px;
		 grid-template-rows: 30px 35px 1.2fr 35px; 
    }
    .review-description {
        height: 8em;
		margin-bottom:0px;
    }
    .review-description p {
        font-size: 12px;
    }
	.review-description::after {
		height:0.9em;
	}
    .review-rating p {
        font-size: 15px;
    }
    .review-rating span {
        font-size: 16px;
    }
    .review-date {
        margin-top: 0;
    }
    .swiper-button-prev {
        left: 30px;
        top: 60%;
        transform: translate(-50%, -50%);
    }
    .swiper-button-next {
        right: -20px;
		top: 60%;
        transform: translate(-50%, -50%);
    }
}

@media (min-width: 1231px) {
    .review-card-content {
        min-height: 250px;
        height: 250px;
        margin: 5px;
        min-width: 250px;
        width: 260px;
        grid-template-rows: 40px 40px 1fr 25px;
    }
    .review-description {
        height: 7.2em;
    }
    .review-description p {
        font-size: 13px;
    }
    .review-rating p {
        font-size: 14px;
    }
    .review-rating span {
        font-size: 16px;
    }
    .review-date {
        margin-top: 0px;
    }
   .swiper-button-next {
        right: -39px;
        top: 60%;
        transform: translate(-50%, -50%);
}
.swiper-button-prev {
        left: 12px;
        top: 60%;
        transform: translate(-50%, -50%);
}
}