/* Main Container */
.elementor-widget-mystic_content_carousel .content-carousel {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 !important;
  max-width: 993px;
  margin: 0 auto;
  font-family:
    var(--e-global-typography-text-font-family, "Public Sans"),
    -apple-system,
    Helvetica,
    sans-serif;
}

.content-carousel {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 !important;
  max-width: 993px;
  margin: 0 auto;
  font-family:
    "Public Sans",
    -apple-system,
    Helvetica,
    sans-serif;
}

/* Header */
.content-carousel-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.content-carousel-indicator-section {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
  position: relative;
}

.content-carousel-indicator-line {
  width: 100%;
  height: 1px;
  background: rgba(15, 126, 186, 0.1);
  position: relative;
}

.content-carousel-indicator-active {
  width: 106px;
  height: 2px;
  background: var(--blue-600);
  position: absolute;
  top: 3px;
  transition: left 0.3s ease;
  max-width: calc(100% - 20px);
}

.content-carousel-title-and-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.content-carousel-title-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

/* Navigation Arrows */
.content-carousel-navigation {
  display: flex;
  width: 96px;
  height: 40px;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.content-carousel-nav-button {
  display: flex;
  width: 40px;
  height: 40px;
  padding: 8px;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.content-carousel-nav-button.prev {
  background: #f1f9fe;
  color: var(--blue-950);
}

.content-carousel-nav-button.next {
  background: #0f557d;
  color: #f1f9fe;
}

.content-carousel-nav-button:hover:not(:disabled) {
  transform: scale(1.05);
}

.content-carousel-nav-button:disabled,
.content-carousel-nav-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Main Content */
.content-carousel-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 45px;
  width: 100%;
  min-height: 400px;
}

/* Image Section - Takes 1/3 of available space */
.content-carousel-image-container {
  flex: 1 1 auto;
  height: 100%;
  min-width: 0;
  min-height: 300px;
  max-height: 408px;
  position: relative;
  overflow: hidden;
}

/* Ensure Elementor images have 100% height */
.elementor img {
  height: 100%;
}

.content-carousel-image-container .content-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
  z-index: 1;
}

.content-carousel-image.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

/* Right Content - Takes 2/3 of available space */
.content-carousel-right {
  display: flex;
  flex: 2;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  position: relative;
  min-width: 0;
}

/* Content Items */
.content-carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateX(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  display: none;
}

.content-carousel-item.active {
  position: relative;
  transform: translateX(0);
  pointer-events: auto;
  display: block;
}

/* Title and Description */
.content-carousel-text-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-carousel-title {
  width: 100%;
  font-family:
    "Public Sans",
    -apple-system,
    Helvetica,
    sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.48px;
  color: #0e6496;
  margin: 0 !important;
}

.content-carousel-description {
  font-family:
    var(--e-global-typography-text-font-family, "Public Sans"),
    -apple-system,
    Helvetica,
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  color: var(--e-global-color-text, #3a3a40);
  margin: 0 !important;
}

/* Bullet Points */
.content-carousel-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-carousel-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.content-carousel-bullet-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--mystic-success);
}

.content-carousel-bullet-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1 0 0;
}

.content-carousel-bullet-text {
  align-self: stretch;
  font-family:
    "Public Sans",
    -apple-system,
    Helvetica,
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 0.16px;
  color: rgba(20, 20, 20, 0.7);
}

.content-carousel-bullet-text strong,
.content-carousel-bullet-text b {
  font-weight: 700;
  color: rgba(20, 20, 20, 1);
}

.content-carousel-bullet-link {
  color: var(--blue-600);
  text-decoration: underline;
  font-weight: 400;
}

.content-carousel-bullet-link:hover {
  color: #0e6496;
}

/* Tip Box */
.content-carousel-tip-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 12px;
  background: #f1f9fe;
  margin-top: 20px;
}

.content-carousel-tip-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.content-carousel-tip-title {
  font-family:
    var(--e-global-typography-text-font-family, "Public Sans"),
    -apple-system,
    Helvetica,
    sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  color: var(--mystic-text-dark);
  margin: 0 !important;
}

.content-carousel-tip-content {
  font-family:
    var(--e-global-typography-text-font-family, "Public Sans"),
    -apple-system,
    Helvetica,
    sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  color: rgba(20, 20, 20, 0.8);
  margin: 0 !important;
}

.content-carousel-tip-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-carousel-tip-bullets .content-carousel-bullet-text {
  font-size: 14px;
  color: rgba(20, 20, 20, 0.8);
}

/* Enhanced Bullet List Styles */
.enhanced-bullet-content {
  font-family:
    var(--e-global-typography-text-font-family, "Public Sans"),
    -apple-system,
    Helvetica,
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 0.16px;
  color: rgba(20, 20, 20, 0.7);
}

.enhanced-bullet-link {
  background: var(--blue-600);
  text-decoration: underline;
  font-weight: 400;
}

.enhanced-bullet-link:hover {
  color: var(--e-global-color-accent, #0e6496);
}

/* Responsive Design */
@media (max-width: 1440px) {
  .content-carousel {
    padding: 24px 16px;
  }
}

@media (max-width: 1024px) {
  .content-carousel {
    padding: 24px 16px;
  }

  .content-carousel-content {
    height: auto;
    flex-direction: column-reverse;
    gap: 24px;
  }

  .content-carousel-image-container {
    width: 100%;
    height: 300px;
  }

  .content-carousel-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .content-carousel {
    gap: 24px;
    padding: 16px;
  }

  .content-carousel-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .content-carousel-title {
    font-size: 20px;
  }

  .content-carousel-nav-button {
    width: 36px;
    height: 36px;
  }

  .content-carousel-image-container {
    height: 200px;
  }

  .content-carousel-right {
    gap: 24px;
  }
}
