.tukan-google-reviews {
position: relative;
} .tukan-google-reviews__header {
text-align: center;
margin-bottom: 30px;
}
.tukan-google-reviews__title {
font-size: 2em;
margin-bottom: 15px;
position: relative;
}
.tukan-google-reviews__global-rating {
display: inline-block;
padding: 12px 20px;
}
.tukan-google-reviews__global-rating a {
text-decoration: none;
color: inherit;
display: inline-flex;
align-items: center;
gap: 8px;
}
.global-rating-text {
font-size: 1.2em;
font-weight: 600;
color: #333;
}
.rating-stars {
font-size: 1.2em;
color: #fbbc04;
margin: 0 5px;
line-height: 1;
}
.rating-count {
color: #666;
font-size: 0.9em;
} .tukan-google-reviews .swiper {
margin-left: auto;
margin-right: auto;
width: 100%;
}
.tukan-google-reviews .swiper-wrapper {
margin-top: 5px;
margin-bottom: 20px;
box-sizing: border-box;
align-items: stretch;
height: auto;
}
.tukan-google-reviews .swiper-slide {
padding: 5px;
height: auto;
display: flex;
}
.tukan-google-reviews .swiper-pagination {
margin-top: 20px;
position: relative !important;
bottom: 0 !important;
}
.tukan-google-reviews .swiper-pagination-bullet {
width: 10px;
height: 10px;
background: #ddd;
opacity: 1;
}
.tukan-google-reviews .swiper-pagination-bullet-active {
background: #000 !important;
} .review-card {
background: #fff;
border-radius: 12px;
padding: 24px;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
height: 100%;
display: flex;
flex-direction: column;
transition: transform 0.2s ease, box-shadow 0.2s ease;
width: 100%;
}
.review-card:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.review-header {
display: flex;
align-items: flex-start;
margin-bottom: 15px;
}
.author-image {
width: 50px;
height: 50px;
border-radius: 50%;
margin-right: 15px;
object-fit: cover;
border: 2px solid #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.review-meta {
flex: 1;
min-width: 0;
}
.review-meta-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 5px;
flex-wrap: wrap;
}
.author-name {
margin: 0 0 5px;
font-size: 16px;
font-weight: bold;
color: #333;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.google-logo {
width: 20px;
height: auto;
flex-shrink: 0;
}
.review-rating {
display: flex;
align-items: center;
margin-bottom: 5px;
color: #fbbc04;
}
.star {
color: #ddd;
font-size: 16px;
line-height: 1;
}
.star.filled {
color: #fbbc04;
}
.google-verified {
margin-left: 5px;
width: 16px;
height: auto;
flex-shrink: 0;
}
.review-date {
font-size: 12px;
color: #666;
}
.review-content {
font-size: 14px;
line-height: 1.6;
color: #333;
flex-grow: 1;
position: relative;
overflow: hidden;
}
.review-text-short,
.review-text-full {
margin-bottom: 15px;
}
.read-more-btn,
.view-on-google-btn {
background: none;
border: none;
color: #1a73e8;
cursor: pointer;
padding: 5px 0;
font-size: 14px;
text-decoration: underline;
display: inline-block;
margin-top: 5px;
font-weight: 500;
transition: color 0.2s ease;
}
.read-more-btn:hover,
.view-on-google-btn:hover {
color: #174ea6;
}
.view-on-google-btn {
display: block;
margin-top: 10px;
}
.tukan-google-reviews--flex {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 30px;
}
.tukan-google-reviews--left .tukan-google-reviews__header {
flex: 0 0 300px;
margin-bottom: 0;
text-align: left;
}
.tukan-google-reviews--right .tukan-google-reviews__header {
flex: 0 0 300px;
margin-bottom: 0;
order: 2;
text-align: left;
}
.tukan-google-reviews--left .swiper,
.tukan-google-reviews--right .swiper {
flex: 1;
min-width: 0;
} @media (max-width: 1024px) {
.review-card {
padding: 20px;
}
}
@media (max-width: 768px) {
.tukan-google-reviews {
padding: 15px 10px;
}
.tukan-google-reviews__title {
font-size: 1.5em;
}
.global-rating-text {
font-size: 1em;
}
.tukan-google-reviews--flex {
flex-direction: column;
}
.tukan-google-reviews--right .tukan-google-reviews__header {
order: 0;
}
.tukan-google-reviews--left .tukan-google-reviews__header,
.tukan-google-reviews--right .tukan-google-reviews__header {
flex: 0 0 auto;
margin-bottom: 20px;
width: 100%;
text-align: center;
}
.review-card {
padding: 15px;
}
.write-review-btn {
padding: 8px 16px;
font-size: 13px;
}
}
@media (max-width: 480px) {
.author-image {
width: 40px;
height: 40px;
margin-right: 10px;
}
.review-header {
margin-bottom: 10px;
}
.review-meta-header {
flex-direction: column;
align-items: flex-start;
}
.google-logo {
margin-top: 5px;
}
.author-name {
font-size: 14px;
}
.review-content {
font-size: 13px;
}
.tukan-google-reviews__global-rating {
padding: 8px 15px;
}
} .tukan-google-reviews__write-review {
margin-top: 15px;
}
.write-review-btn {
display: inline-block;
background-color: #4285F4;
color: white;
font-weight: 500;
padding: 10px 20px;
border-radius: 4px;
text-decoration: none;
transition: background-color 0.3s ease;
font-size: 14px;
border: none;
cursor: pointer;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.write-review-btn:hover {
background-color: #3367D6;
color: white;
text-decoration: none;
}