.pcftg-grid,
.pcftg-grid * {
  box-sizing: border-box;
}

.pcftg-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  font-family: inherit;
}

.pcftg-card {
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 59, 46, 0.09);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(162, 204, 102, 0.14), transparent 32%),
    linear-gradient(145deg, #ffffff, #fbfdfb);
  box-shadow: 0 14px 38px rgba(23, 59, 46, 0.09);
  color: #173b2e;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  align-self: start;
}

.pcftg-card::after {
  width: 90px;
  height: 90px;
  position: absolute;
  right: -55px;
  bottom: -55px;
  border: 16px solid rgba(51, 153, 90, 0.045);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.pcftg-card:hover {
  transform: translateY(-5px);
  border-color: rgba(51, 153, 90, 0.25);
  box-shadow: 0 22px 50px rgba(23, 59, 46, 0.14);
}

.pcftg-card-header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 13px;
}

.pcftg-initial {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #33995a, #267b47);
  box-shadow: 0 9px 20px rgba(51, 153, 90, 0.2);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.pcftg-person {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pcftg-person strong,
.pcftg-person span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pcftg-person strong {
  color: #173b2e;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
}

.pcftg-person span {
  color: #77827d;
  font-size: 12px;
  line-height: 1.3;
}

.pcftg-google {
  width: 29px;
  height: 29px;
  display: block;
}

.pcftg-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.pcftg-rating span {
  display: flex;
  gap: 2px;
}

.pcftg-rating i {
  color: #d8dfda;
  font-size: 18px;
  font-style: normal;
  line-height: 1;
}

.pcftg-rating i.is-filled {
  color: #f5ae00;
}

.pcftg-rating i.is-partial {
  display: inline-block;
  background: linear-gradient(90deg, #f5ae00 70%, #d8dfda 70%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.pcftg-verified {
  width: 18px;
  height: 18px;
  fill: #4285f4;
}

.pcftg-verified path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pcftg-review {
  margin-top: 17px;
  color: #3f4b46;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-line;
  transition: max-height 320ms ease;
}

.pcftg-review.is-collapsed {
  max-height: 116px;
  overflow: hidden;
}

.pcftg-review.is-expanded {
  overflow: hidden;
}

.pcftg-grid button.pcftg-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: inline !important;
  align-self: flex-start !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #77827d !important;
  -webkit-text-fill-color: #77827d !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer;
}

.pcftg-grid button.pcftg-toggle:hover,
.pcftg-grid button.pcftg-toggle:focus-visible,
.pcftg-grid button.pcftg-toggle[aria-expanded="true"] {
  border: 0 !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #33995a !important;
  -webkit-text-fill-color: #33995a !important;
  transform: none !important;
}

.pcftg-grid button.pcftg-toggle:focus-visible {
  outline: 2px solid rgba(51, 153, 90, 0.42);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .pcftg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .pcftg-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .pcftg-card {
    min-height: 0;
    padding: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pcftg-card,
  .pcftg-review {
    transition: none;
  }
}
