.dyntc-grid {
  display: grid;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  grid-template-columns: repeat(var(--dyntc-cols, 3), minmax(0, 1fr));
  gap: var(--dyntc-gap, 24px);
}

.dyntc-slider {
  --dyntc-per-view: 3;
  --dyntc-gap: 24px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.dyntc-viewport {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.dyntc-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.dyntc-track {
  display: flex;
  align-items: stretch;
  gap: var(--dyntc-gap);
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.dyntc-slide {
  flex: 0 0 auto;
  min-width: 0;
  box-sizing: border-box;
}

.dyntc-slide .dyntc-card {
  height: 100%;
}

.dyntc-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 28px;
}

.dyntc-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dyntc-dot,
.dyntc-arrow {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: 0;
  box-shadow: none;
  cursor: pointer;
}

.dyntc-dot {
  width: 24px;
  height: 2px;
  margin: 0;
  padding: 0;
  background: #c4a035;
  opacity: 0.35;
  transition: width 0.2s ease, opacity 0.2s ease;
}

.dyntc-dot.is-active {
  width: 36px;
  opacity: 1;
}

.dyntc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #c4a035;
  font-size: 18px;
  line-height: 1;
  background: transparent;
  border: 1px solid #c4a035;
  border-radius: 50%;
}

.dyntc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: var(--dyntc-min-h, 220px);
  padding: 28px 26px 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  box-sizing: border-box;
}

.dyntc-mark {
  margin: 0 0 14px;
  color: #c4a035;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 0.75;
}

.dyntc-quote {
  flex: 1 1 auto;
  margin: 0 0 18px;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
}

.dyntc-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  line-height: 1;
}

.dyntc-star {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #c4a035;
}

.dyntc-star svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dyntc-star.is-filled.is-active svg path {
  fill: var(--dyntc-star-inner-fill, currentColor);
  stroke: currentColor;
}

.dyntc-star.is-filled.is-inactive svg path {
  fill: var(--dyntc-star-inner-fill-empty, transparent);
  stroke: currentColor;
  opacity: 0.35;
}

.dyntc-star.is-outline.is-active svg path {
  fill: var(--dyntc-star-inner-fill, none);
  stroke: currentColor;
  stroke-width: 1.4;
}

.dyntc-star.is-outline.is-inactive svg path {
  fill: var(--dyntc-star-inner-fill-empty, none);
  stroke: currentColor;
  stroke-width: 1.4;
  opacity: 0.35;
}

.dyntc-author {
  margin: 0;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.dyntc-author .dyntc-sep {
  font-weight: 700;
}

@media (max-width: 767px) {
  .dyntc-card {
    padding: 24px 20px 20px;
  }

  .dyntc-quote {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dyntc-track {
    transition-duration: 0.01ms !important;
  }
}
