.dor-rv {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.dor-rv-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.dor-rv-viewport {
  overflow: hidden;
  border-radius: 18px;
}

.dor-rv-track {
  display: flex;
  will-change: transform;
  transition: transform 420ms ease;
}

/* 3 в ряд по умолчанию */
.dor-rv-slide {
  flex: 0 0 calc(100% / 3);
  padding: 10px;
  box-sizing: border-box;
}

.dor-rv-card {
  background: #001e57;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  height: 300px;

  margin-left: 20px;
  margin-right: 20px;
  justify-content: space-evenly;
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 0;
  

}

.dor-rv-text {
  font-size: 1.02rem;
  line-height: 1.55;
  font-style: italic;
}

.dor-rv-name {
  margin-top: 12px;
  font-weight: 700;
  opacity: 0.9;
}

.dor-rv-controls {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
 
}

.dor-rv-btn {
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.dor-rv-btn:hover {
  background: rgba(255, 255, 255, 1);
}

.dor-rv-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dor-rv-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.dor-rv-dot.is-active {
  background: rgba(0, 0, 0, 0.35);
}

/* планшет: 2 в ряд */
@media (max-width: 980px) {
  .dor-rv-slide {
    flex-basis: calc(100% / 2);
  }
  .dor-rv-prev,
  .dor-rv-next { display: none; }

  .dor-rv-controls {
    grid-template-columns: 1fr; /* чтобы остались только dots и центрировались */
  }
  .dor-rv-track {
    cursor: default;
  }
}

/* мобилка: 1 в ряд */
@media (max-width: 640px) {
  .dor-rv-slide {
    flex-basis: 100%;
  }

  .dor-rv-card {
    padding: 16px;
    height: 275px;
  }

  .dor-rv-text {
    font-size: 1rem;
  }
  .dor-rv-dots {
    gap: 2px;
  }
}

.dor-rv-track {
  touch-action: pan-y;
  /* вертикальная прокрутка страницы разрешена */
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: grab;
}

.dor-rv-track:active {
  cursor: grabbing;
}

.dor-rv-card:hover {
  cursor: pointer;
}