.dyncs-shell {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 70px 20px 38px;
  background: #030711;
  box-sizing: border-box;
}

.dyncs-shell.is-full-width {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

.dyncs-inner {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  box-sizing: border-box;
}

.dyncs-slider {
  --dyncs-per-view: 2.2;
  --dyncs-gap: 28px;
  position: relative;
  width: 100%;
  min-width: 0;
}

.dyncs-viewport {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.dyncs-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.dyncs-track {
  display: flex;
  align-items: stretch;
  gap: var(--dyncs-gap);
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.dyncs-slide {
  flex: 0 0 calc((100vw - (var(--dyncs-per-view) - 1) * var(--dyncs-gap)) / var(--dyncs-per-view));
  width: calc((100vw - (var(--dyncs-per-view) - 1) * var(--dyncs-gap)) / var(--dyncs-per-view));
  max-width: calc((1500px - (var(--dyncs-per-view) - 1) * var(--dyncs-gap)) / var(--dyncs-per-view));
  min-width: 0;
  box-sizing: border-box;
}

.dyncs-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 280px;
  padding: 38px 42px;
  color: inherit;
  text-decoration: none;
  background-color: var(--dyncs-item-bg, #080e20);
  border: 1px solid #24305d;
  border-radius: 4px;
  box-sizing: border-box;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

a.dyncs-card:hover,
a.dyncs-card:focus,
a.dyncs-card:active {
  color: inherit;
  text-decoration: none;
}

.dyncs-mark {
  min-height: 34px;
  margin: 0 0 8px;
  color: #4d57b8;
  font-family: Georgia, serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 0.75;
}

.dyncs-quote {
  color: #f3f4fb;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
}

.dyncs-meta {
  margin-top: auto;
  padding-top: 28px;
}

.dyncs-author {
  margin-bottom: 6px;
  color: #7681d4;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dyncs-subtitle {
  color: #78819c;
  font-size: 13px;
  line-height: 1.5;
}

.dyncs-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 34px;
}

.dyncs-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dyncs-dot,
.dyncs-arrow {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: 0;
  box-shadow: none;
  cursor: pointer;
}

.dyncs-dot,
.dyncs-dot:hover,
.dyncs-dot:focus,
.dyncs-dot:active {
  width: 28px;
  height: 2px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: #5965ff;
  opacity: 0.35;
  transition: width 0.2s ease, opacity 0.2s ease;
}

.dyncs-dot.is-active {
  width: 44px;
  opacity: 1;
}

.dyncs-arrow,
.dyncs-arrow:hover,
.dyncs-arrow:focus,
.dyncs-arrow:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  margin: 0;
  padding: 0;
  color: #5965ff;
  font-size: 19px;
  line-height: 1;
  background: transparent;
  border: 1px solid #5965ff;
  border-radius: 50%;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.dyncs-arrow:hover {
  color: #fff;
  border-color: #fff;
}

@media (max-width: 1024px) {
  .dyncs-slider {
    --dyncs-per-view: 1.5;
    --dyncs-gap: 20px;
  }

  .dyncs-card {
    padding: 32px;
  }
}

@media (max-width: 767px) {
  .dyncs-shell {
    padding: 44px 16px 28px;
  }

  .dyncs-slider {
    --dyncs-per-view: 1;
    --dyncs-gap: 14px;
  }

  .dyncs-slide {
    flex-basis: calc(100vw - 32px);
    width: calc(100vw - 32px);
  }

  .dyncs-card {
    min-height: 240px;
    padding: 28px 24px;
  }

  .dyncs-quote {
    font-size: 16px;
  }

  .dyncs-navigation {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dyncs-track,
  .dyncs-card,
  .dyncs-dot,
  .dyncs-arrow {
    transition-duration: 0.01ms !important;
  }
}
