/* Mobile breakpoint */
@media (max-width: 544px) {
  .gpi-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

/* Only Tablet breakpoint */
@media (min-width: 545px) and (max-width: 768px) {
  .gpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.gpi-grid {
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.gpi-card {
  width: 100%;
  border-radius: 12px;

  background: #fff;
  box-shadow: 0px 4px 4px rgba(50, 50, 71, 0.08), 0px 4px 8px rgba(50, 50, 71, 0.06);

  border: 1px solid #f0f5fa;
}

.line-height-1 {
  line-height: 1rem;
}

.no-text-decoration {
  text-decoration: none !important;
}

/*
------------------------------------------------
Last Reviews Styles
------------------------------------------------
*/
.gpi-avatar-container {
  position: relative;
  display: inline-block;
}

.gpi-profile-picture {
  transition: opacity 0.3s ease;
}

.gpi-avatar-placeholder {
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gpi-review-header {
  align-items: flex-start;
}

.gpi-user-name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.gpi-review-time {
  font-size: 0.75rem;
  opacity: 0.7;
}

.gpi-review-text p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #555;
}

/*
------------------------------------------------
Address and Contact Styles
------------------------------------------------
*/
.gpi-maps-redirect {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  gap: 5px;

  background: #f1f5f9;
  box-shadow: 0px 4px 4px rgba(50, 50, 71, 0.08), 0px 4px 8px rgba(50, 50, 71, 0.06);
  border-radius: 4px;
}
