
.quote-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--layout-gutter);
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  height: 100%;
  margin: 0;
  padding: var(--space-24) var(--space-card-pad);
}

.quote-card blockquote {
  margin: 0;
  font-size: var(--font-size-body-case);
  line-height: var(--line-height-body-case);
}

.quote-card__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-12);
  margin-top: auto;
}

.quote-card__who {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.quote-card__name {
  font-size: var(--font-size-ui);
  font-weight: 500;
  line-height: var(--line-height-ui);
}

.quote-card__role {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--color-text-secondary);
}

.quote-card__path {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1px; /* check:ignore */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12px; /* check:ignore */
  padding-block: 3px; /* check:ignore */
  pointer-events: none;
}

.quote-card__path svg {
  display: block;
  overflow: visible;
}

.quote-card__path circle {
  fill: var(--color-bg);
  stroke: var(--color-accent);
  stroke-width: 1.5;
}

.quote-path__vertex {
  flex: none;
}

.quote-path__segment {
  position: relative;
  flex: 1 0 0;
  width: 12px; /* check:ignore */
  min-height: 1px;
}

.quote-path__segment svg {
  position: absolute;
  width: 6.23458px; /* check:ignore */
  height: 100.96%;
}

.quote-path__segment path,
.quote-path__segment rect {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.quote-path__segment--curve-a svg {
  top: 0;
  left: 0.765px; /* check:ignore */
}

.quote-path__segment--curve-b svg {
  top: -0.96%;
  left: 5px; /* check:ignore */
}

.quote-path__segment--line {
  display: none;
}

.quote-path__segment--line svg {
  top: 0;
  left: 0;
  width: 12px; /* check:ignore */
  height: 100%;
}

.quote-path__segment--line rect {
  fill: var(--color-accent);
  stroke: none;
}

.quote-path__mid {
  position: relative;
  flex: none;
  width: 12px; /* check:ignore */
  height: 3px; /* check:ignore */
}

.quote-path__mid svg {
  position: absolute;
  top: -3.5px; /* check:ignore */
  left: -2px; /* check:ignore */
  max-width: none;
}

.quote-path__curve {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
}

.quote-card__path .quote-path__vertex-mid {
  fill: var(--color-accent);
}

@media (width < 1024px) {
  .quote-cards {
    grid-template-columns: 1fr;
  }
}

@media (width < 768px) {
  .quote-path__segment--curve-a,
  .quote-path__segment--curve-b,
  .quote-path__mid {
    display: none;
  }

  .quote-path__segment--line {
    display: block;
  }
}
