.tablist .tablinks {
  font-size: 1rem;
}

.tablist .tablinks {
  line-height: 1.25;
}

.tablist .tablinks {
  font-family: inherit;
}

.slick-dots {
  -webkit-display: flex;
  display: flex;
}

.fundacion-controls {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.fundacion-controls .control {
  pointer-events: all;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
  font-size: 1.5rem;
}
.fundacion-controls .control i {
  font-size: 1.5rem;
}
.fundacion-controls .control:first-child {
  margin-right: auto;
  margin-left: 0.75rem;
}
.fundacion-controls .control:last-child {
  margin-right: 0.75rem;
  margin-left: auto;
}
.fundacion-controls .slick-disabled.control {
  display: none !important;
}

.draggable {
  -ms-touch-action: none;
  touch-action: none;
}

.tablist {
  border-bottom: 2px solid var(--c-black-black);
}
.tablist .tablinks {
  cursor: pointer;
  overflow: hidden;
  border-radius: 0 0.5rem 0 0;
}
.tablist .tablinks.active {
  cursor: auto;
  pointer-events: none;
}

.tabcontent {
  display: none;
}

.tablist {
  border-bottom: 0;
}

.tablinks {
  background-clip: padding-box;
  margin-right: 2px;
  border: 1px solid var(--c-black-black);
  border-radius: 0 !important;
}
.tablinks.active {
  background-color: var(--c-black-black);
  color: var(--c-white);
}
.tablinks.active .icon-orange {
  background-color: var(--c-orange);
}

.slick-slide {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.fundacion-slider {
  padding: 0 2rem;
}

.fundacion-controls {
  pointer-events: none;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 1510px;
}


/*=============================================
=            Estilos para el sistema de filtros por años            =
=============================================*/

.tablinks {
  transition: all 0.3s ease;
}

.tablinks.hidden {
  display: none !important;
}

.tablinks.filtered-out {
  opacity: 0.3;
  pointer-events: none;
}

.doc-link-paginator.active {
  background-color: #FF4F00 !important;
  color: white !important;
}

.doc-link-paginator {
  cursor: pointer;
  transition: all 0.3s ease;
}

.doc-link-paginator:hover {
  background-color: #FF4F00;
  color: white;
}

/* Estilos para scroll horizontal en responsive */
.tablist {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #FF4F00 #f1f1f1;
}

/* Personalización de scrollbar para WebKit (Chrome, Safari, Edge) */
.tablist::-webkit-scrollbar {
  height: 8px;
}

.tablist::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.tablist::-webkit-scrollbar-thumb {
  background: #FF4F00;
  border-radius: 4px;
}

.tablist::-webkit-scrollbar-thumb:hover {
  background: #e64400;
}

/* Mantener tabs horizontales en responsive */
.tablist .tablinks {
  flex-shrink: 0;
  min-width: auto;
}

/* Estilos para scroll horizontal en navegación de años */
nav.row.col.container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #FF4F00 #f1f1f1;
}

/* Personalización de scrollbar para navegación de años */
nav.row.col.container::-webkit-scrollbar {
  height: 8px;
}

nav.row.col.container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

nav.row.col.container::-webkit-scrollbar-thumb {
  background: #FF4F00;
  border-radius: 4px;
}

nav.row.col.container::-webkit-scrollbar-thumb:hover {
  background: #e64400;
}

/* Responsive: mantener layout horizontal */
@media (max-width: 991px) {
  .tablist {
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }
  
  .tablist .tablinks {
    margin-right: 8px;
    margin-bottom: 0;
  }
  
  /* Navegación de años en móvil */
  nav.row.col.container {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
  }
  
  nav.row.col.container .doc-link-paginator {
    flex-shrink: 0;
    margin-right: 8px;
    margin-bottom: 0;
  }
}

/*=====  Termina Estilos para el sistema de filtros por años  ======*/
