/* ==========================================
   STORY CAROUSEL — Capitalize Funding
   Single-card carousel with side arrows
   and dot pagination.
   ========================================== */

.story-carousel {
  position: relative;
  width: 100%;
  padding: 0 55px;
  /* space for the side arrows */
}

.story-carousel-track {
  background: #f5f7fa;
  border-radius: 18px;
  padding: 42px 48px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-carousel .sc-card {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.story-carousel .sc-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-top: 4px;
}

.story-carousel .sc-content {
  flex: 1;
}

.story-carousel .sc-title {
  font-family: 'Vectora Bold', sans-serif;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 12px;
  text-align: left;
}

.story-carousel .sc-body {
  font-family: 'Vectora Roman', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-align: justify;
  color: #000000;
  margin-bottom: 0px;
}

.story-carousel .sc-link {
  display: block;
  text-align: right;
  font-family: 'Vectora Roman', sans-serif;
  font-size: 18px;
  letter-spacing: 0em;
  font-weight: 900;
  color: #6ab235;
  text-decoration: underline;
  text-transform: uppercase;
  -webkit-text-stroke: 0.03px;
}

.story-carousel .sc-link:hover {
  color: #000000;
}

/* SIDE ARROWS */
.story-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.40);
  background: #ffffff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  z-index: 2;
}

.story-carousel-arrow:hover,
.story-carousel-arrow:focus,
.story-carousel-arrow:active {
  border-color: #6ab235;
  outline: none;
}

.story-carousel-arrow.sc-prev {
  left: 0;
}

.story-carousel-arrow.sc-next {
  right: 0;
}

.story-carousel-arrow:disabled {
  opacity: 0.6;
  cursor: default;
}

/* DOT PAGINATION */
.story-carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.story-carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #c9cfd6;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.story-carousel-dots button.active {
  background: #6ab235;
  transform: scale(1.2);
}

.story-carousel-dots button:hover {
  background: #6ab235;
}

@media (max-width: 768px) {
  .story-carousel {
    padding: 0 45px;
  }

  .story-carousel-track {
    padding: 30px 25px;
  }

  .story-carousel .sc-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .story-carousel .sc-title {
    font-size: 20px;
    text-align: center;
  }

  .story-carousel .sc-body {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .story-carousel {
    padding: 0 30px;
  }

  .story-carousel-arrow {
    width: 34px;
    height: 34px;
  }
}