.cti-as-wrap { max-width: 920px; margin: 0 auto; }

.cti-as-viewport {
  position: relative;
  overflow: hidden;
}

.cti-as-track {
  display: flex;
  will-change: transform;
  transform: translate3d(0,0,0);
}

.cti-as-slide {
  flex: 0 0 100%;
  padding: 0;
}

.cti-as-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.cti-as-media {
  flex: 0 0 auto;
  display: block;
  width: 100%;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #e9ecef;
}

.cti-as-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f2c200;
  color: #111;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 16px;
}

.cti-as-body {
  flex: 1 1 auto;
  padding-bottom: 96px;
  padding: 26px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cti-as-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  color: #1f6aa5;
  font-weight: 800;
}

.cti-as-text {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.cti-as-text.is-full {
  display: block;
  overflow: visible;
}

.cti-as-wrap[data-excerpt-mode="clamp"] .cti-as-text:not(.is-full) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: var(--cti-as-excerpt-lines, 4);
}

.cti-as-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1f6aa5;
  font-weight: 700;
}

.cti-as-cta-arrow { font-size: 18px; line-height: 1; }

/* Controls */
.cti-as-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 10px;
  z-index: 20;
}

.cti-as-arrow {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Dots */
.cti-as-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 15;
}

.cti-as-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
  cursor: pointer;
}

.cti-as-dot.is-active {
  background: rgba(0,0,0,0.55);
}


@media (max-width: 640px) {
  .cti-as-body { padding-bottom: 118px; }
  .cti-as-controls { bottom: 64px; }
  .cti-as-dots { bottom: 18px; }
}

