/* Source showcase content, using the new homepage's shared carousel and tokens. */
.codecortex-showcase-section {
  background: var(--surface);
}
.codecortex-showcase-section .codecortex-showcase-header {
  max-width: 850px;
  margin: 0 auto 40px;
  text-align: center;
}
.codecortex-showcase-section .codecortex-showcase-header h2 {
  margin: 0;
}
.codecortex-showcase-section .codecortex-heading {
  margin: 16px 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
}
.codecortex-showcase-section .intro-text {
  max-width: 70ch;
  margin: 0 auto;
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.codecortex-showcase-section .agents-carousel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.codecortex-showcase-section .agents-slide {
  padding: 0;
  gap: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.codecortex-showcase-section .agents-slide-visual-top {
  display: block;
  margin: 0;
  padding: 24px;
  aspect-ratio: 16 / 9;
  box-sizing: border-box;
  background: #d8eafa;
  border-radius: 8px;
  overflow: hidden;
}
.codecortex-showcase-section
  .agents-slide:nth-child(2)
  .agents-slide-visual-top {
  background: #dcefe3;
}
.codecortex-showcase-section
  .agents-slide:nth-child(3)
  .agents-slide-visual-top {
  background: #d8eff0;
}
.codecortex-showcase-section
  .agents-slide:nth-child(4)
  .agents-slide-visual-top {
  background: #f5e1e5;
}
.codecortex-showcase-section
  .agents-slide:nth-child(5)
  .agents-slide-visual-top {
  background: #e9e3f6;
}
.codecortex-showcase-section
  .agents-slide:nth-child(6)
  .agents-slide-visual-top {
  background: #f6ecd6;
}
.codecortex-showcase-section .agents-slide-visual-top > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
}
.codecortex-showcase-section .agents-slide-content {
  max-width: 78ch;
}
.codecortex-showcase-section .agents-slide-content h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}
.codecortex-showcase-section .agents-slide-content p {
  font-size: 16px;
  line-height: 1.7;
}
.codecortex-showcase-section .agents-tag {
  margin-bottom: 10px;
  padding: 0;
  background: none;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  text-transform: none;
}
.codecortex-showcase-section .agents-dash.is-active {
  border-color: var(--blue);
  box-shadow: none;
}
.codecortex-showcase-section
  :is(.carousel-btn, .agents-dash, .agents-autoplay-toggle):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
@media (max-width: 640px) {
  .codecortex-showcase-section .codecortex-showcase-header {
    text-align: left;
    margin-bottom: 28px;
  }
  .codecortex-showcase-section .codecortex-heading {
    font-size: 22px;
  }
  .codecortex-showcase-section .intro-text {
    font-size: 16px;
  }
  .codecortex-showcase-section .agents-carousel-container {
    gap: 8px;
  }
  .codecortex-showcase-section .agents-slide {
    gap: 20px;
  }
  .codecortex-showcase-section .agents-slide-visual-top {
    padding: 10px;
  }
  .codecortex-showcase-section .agents-slide-content h3 {
    font-size: 22px;
  }
  .codecortex-showcase-section .agents-dash-list {
    gap: 8px;
  }
  .codecortex-showcase-section .agents-dash {
    width: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .codecortex-showcase-section .agents-slide {
    transition: none;
  }
}
