/* Flat card like the product and room cards: no border, no shadow, stone ground. */
.cc_q0jhsra0_VUTSld8UCQ .ti {
  /* Narrow cards (three on a phone): long words break inside the card instead of running into the next one. */
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--mr-radius-md);
  background: var(--tms-card, var(--mr-color-bg-soft));
  color: inherit;
}

.cc_q0jhsra0_VUTSld8UCQ .ti-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--mr-space-sm);
  padding: var(--mr-space-md);
}

.cc_q0jhsra0_VUTSld8UCQ .ti-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mr-space-sm);
}

.cc_q0jhsra0_VUTSld8UCQ .ti-stars {
  display: flex;
  gap: 2px;
}

/* Product tag: small pill, no frosted photo overlay anymore. */
.cc_q0jhsra0_VUTSld8UCQ .ti-badge {
  min-width: 0;
  max-width: 100%;
  padding: 4px 10px;
  overflow: hidden;
  border-radius: var(--mr-radius-full);
  background: var(--mr-color-bg-page);
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Room photo: small rounded thumbnail at the end of the author row. */
.cc_q0jhsra0_VUTSld8UCQ .ti-image {
  display: block;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: var(--mr-radius-sm);
  object-fit: cover;
}

.cc_q0jhsra0_VUTSld8UCQ .ti-star {
  opacity: 0.22;
}

.cc_q0jhsra0_VUTSld8UCQ .ti-star.is-on {
  opacity: 1;
}

/* The author row sits at the bottom, so cards with quotes of different length line up in the row. */
.cc_q0jhsra0_VUTSld8UCQ .ti-quote {
  display: -webkit-box;
  flex: 1;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.cc_q0jhsra0_VUTSld8UCQ .ti-author {
  display: flex;
  align-items: center;
  gap: var(--mr-space-sm);
  margin-top: var(--mr-space-xs);
}

.cc_q0jhsra0_VUTSld8UCQ .ti-avatar {
  display: inline-flex;
  flex: none;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: var(--mr-radius-full);
  background: var(--mr-color-bg-page);
}

.cc_q0jhsra0_VUTSld8UCQ .ti-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc_q0jhsra0_VUTSld8UCQ .ti-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.cc_q0jhsra0_VUTSld8UCQ .ti-author-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.cc_q0jhsra0_VUTSld8UCQ .ti-name, .cc_q0jhsra0_VUTSld8UCQ .ti-role {
  display: block;
}

.cc_q0jhsra0_VUTSld8UCQ .ti-role {
  opacity: 0.7;
}

.cc_q0jhsra0_VUTSld8UCQ .ti-verified {
  display: inline-flex;
  align-items: center;
  gap: var(--mr-space-xs);
  opacity: 0.7;
}

.cc_q0jhsra0_VUTSld8UCQ .ti-verified .icon {
  color: var(--mr-color-primary);
}
