.cmp-featuredJobs__inner {
  max-width: var(--especiales-max-width-desktop);
  padding: var(--space-8) 0px;
  margin-inline: auto;
  width: 100%;
}

.cmp-featuredJobs__heading_tag {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: 0 0 var(--space-4);
}


.cmp-featuredJobs__heading {
  margin: 0 0 var(--space-4);
}

.cmp-featuredJobs__heading .cmp-featuredJobs__topic-icon{
  margin-bottom: var(--space-6);
}

.cmp-featuredJobs__title-separator {
  width: 0.0625rem;
  height: 2.1875rem;
  background-color: #548BAF;
}

.cmp-featuredJobs__topic-icon {
  display: flex;
  padding: var(--space-4);
  align-items: flex-start;
  gap: var(--space-2);
  border-radius: var(--space-5);
  background: var(--Celeste-100);
  width: fit-content;
  height: auto;
}

.cmp-featuredJobs__topic-label {
  color: var(--CAF-Colores-neutros-gris-900);
  font-family: var(--Heading-Mvil-H4-fontFamily);
  font-size: var(--Heading-Mvil-H4-fontSize);
  font-style: normal;
  font-weight: var(--Weights-Regular);
  line-height: var(--Heading-Mvil-H4-lineHeight);
  letter-spacing: var(--Heading-Mvil-H4-letterSpacing);
}

.cmp-featuredJobs__title {
  margin: 0;
  color: var(--CAF-Textos-Text---Headings);
  font-family: var(--Heading-Mvil-H2-fontFamily);
  font-size: var(--Heading-Mvil-H2-fontSize);
  font-style: normal;
  font-weight: var(--Weights-SemiBold);
  line-height: var(--Heading-Mvil-H2-lineHeight);
  letter-spacing: var(--Heading-Mvil-H2-letterSpacing);
}

.cmp-featuredJobs__cta {
  display: inline-block;
  margin: 0 0 var(--space-4);
  color: var(--CAF-Colores-neutros-gris-900);
  font-family: var(--Heading-Mvil-H5-fontFamily);
  font-size: var(--Heading-Mvil-H5-fontSize);
  font-style: normal;
  font-weight: var(--Weights-Regular);
  line-height: var(--Heading-Mvil-H5-lineHeight);
  letter-spacing: var(--Heading-Mvil-H5-letterSpacing);
  text-decoration-line: underline;
}

/* ---- Cards (ported from caf-com-2026 nuestros-proyectos) ---- */

.cmp-project-card {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  height: auto;
  padding: 1.25rem;
  border-radius: 1.5rem;
  border: 0.0625rem solid #eaeaeb;
  background: #fdfdfd;
  box-shadow: 0.375rem 0.25rem 0.75rem 0 rgba(0, 0, 0, 0.15);
  color: #3b3b3b;
}


.cmp-project-card__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cmp-project-card__status {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 1.25rem 1.25rem 0 0;
  font-family: var(--Label-Label-1-fontFamily, "Raleway", sans-serif);
  font-size: var(--Label-Label-1-fontSize, 1rem);
  font-weight: var(--Weights-SemiBold, 600);
  line-height: var(--Label-Label-1-lineHeight, 1.375rem);
  letter-spacing: var(--Label-Label-1-letterSpacing, -0.18px);
}

.cmp-project-card__status img {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.status-activa {
  border: 0.0625rem solid #abd7ab;
  background: #edf6ed;
  color: #324e08;
}

.status-por-cerrar {
  border: 0.0625rem solid var(--Advertencia-200, #fad28f);
  background: var(--Advertencia-50, #fef5e7);
}

.status-por-cerrar span {
  color: var(--Advertencia-800);
}

.status-cerrada {
  border: 0.0625rem solid var(--Error-200, #ef9b9b);
  background: var(--Error-50, #fce9e9);
}

.status-cerrada span {
  color: var(--Error-800);
}

.status-cerrada img {
  width: 1rem !important;
  height: 1rem !important;
}

.cmp-project-card__tags {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  min-height: 2.875rem;
  padding: 0.5rem 1rem;
  border-radius: 0 0 1.25rem 1.25rem;
}

.card__tags-grey {
  background: var(--Neutros-100, #f4f4f5);
}

.cmp-project-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}

.cmp-project-card__pill.pill-grey {
  border: 0.09375rem solid var(--Neutros-500, #a1a4a8);
  background: var(--BN-white, #fdfdfd);
}

.cmp-project-card__pill.pill-turquoise {
  border: 0.09375rem solid var(--Turquesa-turquesa-500, #12bdce);
  background: var(--Turquesa-turquesa-50, #e7f8fa);
}

.pill-text {
  font-size: var(--Label-Label-3-fontSize, 0.75rem);
}

.pill-grey span,
.pill-turquoise span {
  font-family: var(--Label-Label-3-fontFamily, "Raleway", sans-serif);
  font-size: var(--Label-Label-3-fontSize, 0.75rem);
  font-weight: var(--Weights-Bold, 700);
  line-height: var(--Label-Label-3-lineHeight, 1rem);
  letter-spacing: var(--Label-Label-3-letterSpacing, -0.12px);
}

.pill-grey span{
  color: var(--Neutros-700, #585a5d);
}

.pill-turquoise span{
  color: var(--Turquesa-turquesa-900, #084f57);
}

.cmp-project-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 auto;
}

.cmp-project-card__date {
  margin: 0;
  font-family: var(--Body-Body-3-fontFamily, "Raleway", sans-serif);
  font-size: var(--Body-Body-3-fontSize, 0.875rem);
  font-weight: var(--Weights-Regular, 400);
  line-height: var(--Body-Body-3-lineHeight, 1.25rem);
  color: var(--CAF-Colores-neutros-gris-900, #3b3b3b);
}

.cmp-project-card__title-grey {
  margin: 0 0 var(--space-2);
  color: var(--Neutros-Grey-800);
  font-family: var(--Heading-Mvil-H5-fontFamily, "Montserrat", sans-serif);
  font-size: var(--Heading-Mvil-H5-fontSize, 1rem);
  font-weight: var(--Weights-SemiBold, 600);
  line-height: var(--Heading-Mvil-H5-lineHeight, 1.5rem);
  letter-spacing: var(--Heading-Mvil-H5-letterSpacing, 0);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cmp-project-card__topics {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.cmp-project-card__topics-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.cmp-project-card__topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.cmp-project-card__topics-list span {
  color: #005288;
  font-family: var(--Label-Label-3-fontFamily, "Raleway", sans-serif);
  font-size: var(--Label-Label-3-fontSize, 0.75rem);
  font-weight: var(--Weights-Bold, 700);
  line-height: var(--Label-Label-3-lineHeight, 1rem);
  letter-spacing: var(--Label-Label-3-letterSpacing, -0.12px);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.125rem;
}

/* CTA action link */
.cmp-project-card__actions {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: auto;
}

.cmp-project-card__action-download {
  display: flex;
  flex: 1 0 0;
  height: 2.25rem;
  padding: 0.75rem 1.5rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-radius: 2rem;
  border: 0.0625rem solid var(--CAF-Primary-corporativo-primario-2, #1774ad);
  background: var(--CAF-Colores-neutros-full-white, #fff);
  color: var(--CAF-Primary-corporativo-primario-2, #1774ad);
  font-family: var(--Label-Label-1-fontFamily, "Raleway", sans-serif);
  font-size: var(--Label-Label-1-fontSize, 1rem);
  font-weight: var(--Weights-Bold, 700);
  line-height: var(--Label-Label-1-lineHeight, 1.375rem);
  text-decoration: none;
  cursor: pointer;
}

.cmp-project-card__action-download img {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.cmp-project-card__action-download:hover {
  transform: translateY(-0.125rem);
}

.cmp-project-card__action-download:focus-visible {
  outline: 0.125rem solid #1774ad;
  outline-offset: 0.125rem;
  border-radius: 0.5rem;
}

/* ---- Carousel ---- */

.cmp-nuestros-proyectos__carousel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.cmp-featuredJobs__manual {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.cmp-nuestros-proyectos__track {
  --cmp-featuredJobs-gap: var(--space-6, 1.5rem);
  display: flex;
  align-items: stretch;
  gap: var(--cmp-featuredJobs-gap);
  align-self: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-top: 0.5rem;
  padding-inline-end: 0.75rem;
  padding-bottom: 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cmp-nuestros-proyectos__track .cmp-container{
  display: flex;
  align-items: stretch;
  gap: var(--cmp-featuredJobs-gap, 1.5rem);
  align-self: stretch;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-top: 0.5rem;
  padding-inline-end: 0.75rem;
  padding-bottom: 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cmp-nuestros-proyectos__track::-webkit-scrollbar {
  display: none;
}

.cmp-nuestros-proyectos__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.cmp-nuestros-proyectos__track > .cmp-nuestros-proyectos__card,
.cmp-nuestros-proyectos__track .cmp-container > .cmp-nuestros-proyectos__card,
.cmp-nuestros-proyectos__track .featuredJobsItem {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 1 0 calc((100% - 2 * var(--cmp-featuredJobs-gap, 1.5rem)) / 3);
  min-width: 18rem;
  scroll-snap-align: start;
}

.cmp-nuestros-proyectos__track .featuredJobsItem .cmp-project-card {
  flex: 1 1 auto;
}


.cmp-nuestros-proyectos__carousel-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  width: 100%;
}

.cmp-nuestros-proyectos__nav-button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  border: none;
  background-color: var(--color-white);
  box-shadow: var(--shadow-elev-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.cmp-nuestros-proyectos__nav-button img {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.cmp-nuestros-proyectos__nav-button:hover {
  transform: translateY(-0.125rem);
}

.cmp-nuestros-proyectos__dots {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.cmp-nuestros-proyectos__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  border: 0.0625rem solid var(--color-aprende-dot-border);
  background-color: transparent;
  cursor: pointer;
  transition: all 150ms ease;
}

.cmp-nuestros-proyectos__dot[aria-current="true"] {
  width: 1.25rem;
  background-color: var(--Primario-500-Marca);
}

@media (max-width: 48rem) {
  .cmp-nuestros-proyectos__carousel-nav {
    display: flex;
  }
}
@media (min-width: 64rem) {
  .cmp-project-card__title-grey {
    font-family: var(--Heading-Escritorio-H5-fontFamily);
    font-size: var(--Heading-Escritorio-H5-fontSize);
    line-height: var(--Heading-Escritorio-H5-lineHeight);
    letter-spacing: var(--Heading-Escritorio-H5-letterSpacing);
  }
}
