/**
 * @version     CVS: 1.0.0
 * @package     mod_google_reviews
 * @author      Imtiaz CASSAMALLY <imtiaz@cassamally.com>
 * @copyright   2026 Solar Sea Walk
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

/* ===========================
       TESTIMONIALS
    =========================== */
#reviews {
  padding: 100px 5%;
  /* background: linear-gradient(180deg, #030f2e 0%, #061a4a 100%); */
}
.reviews-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.reviews-header .section-label {
  justify-content: center;
}
.reviews-track {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 196, 212, 0.12);
  border-radius: 20px;
  padding: 32px 28px;
  transition: var(--transition);
}
.review-card:hover {
  border-color: rgba(0, 196, 212, 0.35);
  transform: translateY(-6px);
}
.review-stars {
  color: var(--sun);
  font-size: 1rem;
  margin-bottom: 16px;
}
.review-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  border: 2px solid rgba(0, 196, 212, 0.3);
}
.reviewer-name {
  font-size: 0.9rem;
  font-weight: 700;
}
.reviewer-country {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 880px) {
  .reviews-track {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.mod-google-reviews {
  font-family: inherit;
  color: inherit;
}
/* .mgr-error {
  padding: 1rem;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
  color: #856404;
} */
.mgr-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 1.2rem;
  /* border-bottom: 1px solid rgba(0, 0, 0, 0.1); */
  margin-bottom: 1.2rem;
}
.mgr-summary__logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.mgr-summary__score {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
}
.mgr-summary__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.mgr-summary__stars {
  display: inline-flex;
  gap: 1px;
}
.mgr-summary__count {
  font-size: 0.8rem;
  color: #666;
}
.mgr-summary__link {
  font-size: 0.8rem;
  color: var(--primary);
  text-decoration: none;
}
.mgr-summary__link:hover {
  text-decoration: none;
  color: var(--secondary);
}
.mgr-reviews-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mgr-review {
  /* background: #fff; */
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.2s;
  background: radial-gradient(ellipse at 80% 50%, rgba(0,120,168,0.2), transparent 60%), linear-gradient(180deg, #061a4a 0%, #030f2e 100%);
}
.mgr-review:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  /* background-color: #d8e6fc; */
}
.mgr-review__header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}
.mgr-review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  /* background: #e8eaed; */
}
.mgr-review__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: #4285f4;
}
.mgr-review__meta {
  flex: 1;
  min-width: 0;
}
.mgr-review__author {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

.mgr-review__author a {
  color: var(--sun);
  text-decoration: none;
}
.mgr-review__author a:hover {
  text-decoration: underline;
  color: var(--primary);
}

.mgr-review__date {
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.1rem;
}
.mgr-review__stars {
  display: flex;
  gap: 1px;
  margin-bottom: 0.5rem;
}
.mgr-star--filled {
  color: #fbbc04;
}
.mgr-star--empty {
  color: #ddd;
}
.mgr-review__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #FFF;
}
.mgr-review__readmore {
  font-size: 0.8rem;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-top: 0.3rem;
  display: inline-block;
}
.mgr-review__readmore:hover {
  text-decoration: underline;
  color: #FFF;
}
.mgr-powered {
  text-align: right;
  margin-top: 0.8rem;
  font-size: 0.73rem;
  color: #aaa;
}
.mgr-powered a {
  color: var(--primary);
  text-decoration: none;
}
.mgr-powered a:hover {
  text-decoration: underline;
  color: var(--secondary);
}
@media (max-width: 480px) {
  .mgr-summary {
    flex-wrap: wrap;
  }
}

