/**
 * Improved public styles for Google Reviews Display plugin (slider removed)
 */

/* Common styles for all layouts */
.google-reviews-display {
    padding: 20px 0;
}

.google-review-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.google-reviews-slider .slick-slide {
    margin: 0 8px !important;
}
.google-reviews-slider .slick-arrow{
	background:transparent !important;
}
.google-review-item:hover {
    transform: translate(0, -5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.google-reviews-slider .slick-list.draggable {
    padding-top: 5px;
}

.google-review-header {
    display: flex;
    align-items: center;
}

.google-review-author-photo {
    width: 44px;
    height: 44px;
    margin-right: 15px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #f1f1f1;
}

.google-review-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.google-review-author-info {
    flex-grow: 1;
}

.google-review-author-name {
    font-weight: bold;
    font-size: 14px;
    overflow: hidden;
    padding-right: 25px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #000000;
    margin-bottom: 2px;
    text-transform: capitalize;
	line-height: 18px;
	font-family: inherit;
}

.google-review-date {
    color: #8a8a8a;
    font-size: 12px;
	font-family: inherit;
	line-height: 18px;
}

.google-review-rating {
    margin-bottom: 8px;
	margin-top: 15px;
}

.google-review-stars {
    display: inline-flex;
    line-height: 1;
}

.google-review-star {
    font-size: 20px;
    margin-right: 2px;
    color: #ffc107;
}

.google-review-star-full {
    color: #ffc107;
}

.google-review-star-empty {
    color: #e0e0e0;
}

.google-review-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.google-review-text p {
    margin: 0;
}

.google-review-place {
    margin-top: 5px;
    font-size: 14px;
    color: #777;
    font-style: italic;
    text-align: right;
    border-top: 1px solid #f1f1f1;
    padding-top: 5px;
}

/* View More button */
.google-reviews-view-more {
    text-align: center;
    margin: 20px 0;
}

.google-reviews-view-more-button {
    display: inline-block;
    background-color: #4285f4;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.google-reviews-view-more-button:hover {
    background-color: #3367d6;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Grid layout */
.google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.google-reviews-grid .google-review-item {
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.toggle-review-btn {
    height: 20px;
}
.google-reviews-slider .slick-arrow {
	border: unset !important;
    background: unset;
    padding: 0;
    border-radius: 0;
	width: 20px;
    height: 30px;
}
.google-reviews-slider .slick-arrow:before{   
    content: "";
    background: #b7b7b7;
    width: 17px;
    height: 3px;
    display: block;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border-radius: 2px;
    position: absolute;
	opacity: 1 !important;
}
.google-reviews-slider .slick-arrow:after{  
   content: "";
    background: #b7b7b7;
    width: 17px;
    height: 3px;
    display: block;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    border-radius: 2px;
    position: absolute;
	opacity: 1 !important;
}
.google-next:before, .google-prev:after {
    top: 8px;
    right:3px;
}
.google-prev:before, .google-next:after{
	top: 18px;
    left: 0px;
}

/* List layout */
.google-reviews-list .google-review-item {
    margin-bottom: 25px;
}
.google-reviews-list .google-review-text .review-text-short {
    height: 24px;
    -webkit-line-clamp: 1;
}
/* Empty message */
.google-reviews-empty {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: #777;
}

/* Pagination controls */
.google-reviews-pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.google-reviews-page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    font-size: 16px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.google-reviews-page-button:hover {
    background: #f8f8f8;
    border-color: #ccc;
}

.google-reviews-page-button.current {
    background: #4285f4;
    border-color: #4285f4;
    color: #fff;
}

.google-reviews-page-button.prev,
.google-reviews-page-button.next {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
}
.google-review-text:not(.expanded){
	min-height:107px;
} 
.google-review-text .review-text-short {
    overflow: hidden;
    position: relative;
    line-height: 21.75px;
    font-size: 15px;
	-webkit-line-clamp: 4;
	 display: -webkit-box;
    -webkit-box-orient: vertical;
	color: #000000;
	font-family: inherit;
}

.google-review-text.expanded .review-text-short {
    min-height: auto;
	display: unset;
}

.google-review-text .toggle-review {
    display: block;
    font-weight: 400;
    white-space: nowrap;
    font-size: 13.5px;
    color: #000000 !important;
    opacity: 0.5;
    text-decoration: none !important;
    transition: color 300ms ease-out;
    cursor: pointer;
    background: unset;
    border: unset;
    padding: 0;
    border-radius: 0;
    letter-spacing: 0;
    text-transform: capitalize;
}
.google-review-text .toggle-review:hover {
    text-decoration: underline !important;
    opacity: 1;
    color: #000000;
}
.google-next, .google-prev {
	z-index:9;
}	
.google-reviews-slider .slick-disabled{
	opacity:0;
}	
.google-next {
	right:-18px !important;
}	
.google-prev{
	left: -18px !important;
}

/* Small screen adjustments */
@media screen and (max-width: 767px) {
.google-reviews-grid {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 15px;
}
.google-next {
	right:-10px !important;
}	
.google-prev{
	left: -10px !important;
}	
.google-reviews-list .google-review-item {
    margin-bottom: 15px;
}
.google-reviews-list .google-review-text .review-text-short {
    height: 65px;
    -webkit-line-clamp: 3;
}
.google-reviews-pagination-controls button {
    padding: 10px !important;
}	
}
@media screen and (min-width: 767px) and (max-width: 1024px) {
.google-reviews-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.google-reviews-list .google-review-item {
    margin-bottom: 20px;
}
.google-reviews-list .google-review-text .review-text-short {
    height: 45px;
    -webkit-line-clamp: 2;
}	
}
@media screen and (min-width:1025px) {
.google-reviews-slider-wrapper {
    margin: 0 20px;
}	
}
