h1 {
    text-align: center;
    color: #2d3748;
    margin-bottom: 1rem;
}

h2 {
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
    color: black;
}

.thesis-title a:hover {
  color: #2fbaf9!important;
}
.tesis-filters {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    background-color: #e5e7eb; /* Gris claro de fondo */
    border-radius: 9999px; /* Bordes #dc3545ondeados para efecto píldora */
    padding: 0.5rem;
    max-width: 500px; /* Ancho máximo para el contenedor */
    margin-left: auto;
    margin-right: auto;
    box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
}

.filter-btn-sm {
    padding: 0.55rem 0.1rem;
    border: none; /* Sin borde */
    border-radius: 9999px; /* Bordes #dc3545ondeados */
    background-color: transparent; /* Fondo transparente por defecto */
    color: #4b5563; /* Color de texto gris oscuro */
    cursor: pointer;
    font-weight: 600; /* Un poco más de peso en la fuente */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Transición suave */
    font-size: 0.55rem;
    flex-grow: 1; /* Para que los botones ocupen el espacio */
    text-align: center;
}



.filter-btn.active {
    background-color: #ffffff; /* Fondo blanco para el botón activo */
    color: #2fbaf9; /* Color azul para el texto activo */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); /* Sombra sutil */
}

.cards-container {
    display: grid;
    grid-template-columns: 1;
    gap: 1.5rem;
}


a:hover .card-title {
    color: #2fbaf9 !important; /* o el color que prefieras */
}
.download-link {
    color: black !important;
}
.download-link:hover {
    color: #2fbaf9 !important;
}

.production-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff; /* bg-white */
    padding: 1.5rem; /* p-6 */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* shadow-md */
    
    /* Transiciones para el efecto hover */
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
        }

        /* --- Efecto Hover --- */
        .production-card:hover {
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* hover:shadow-2xl */
            transform: translateY(-0.25rem); /* hover:-translate-y-1 */
        }

        /* --- Tipografía --- */
        .card-title {
            font-size: 1.125rem; /* text-lg */
            line-height: 1.75rem;
            font-weight: 700; /* font-bold */
            color: #1f2937; /* text-gray-800 */
        }

        .card-year {
            font-size: 1rem; /* text-base */
            font-weight: 500; /* font-medium */
            color: #6b7280; /* text-gray-500 */
        }

        .card-authors, .card-source {
            margin-top: 0rem; /* mt-3 */
            font-size: 0.875rem; /* text-sm */
            line-height: 1.25rem;
            color: #4b5563; /* text-gray-600 */
        }
        
        .card-source {             
             font-style: italic;
             color: #6b7280; /* text-gray-500 */
        }

        .card-authors-label {
            font-weight: 600; /* font-semibold */
        }

        /* --- Enlace --- */
        .card-link {
            display: inline-block;
            margin-top: 1rem; /* mt-4 */
            color: #2563eb; /* text-blue-600 */
            font-weight: 600; /* font-semibold */
            text-decoration: none;
        }

        .card-link:hover {
            text-decoration: underline;
        }

@media screen and (min-width: 768px) {
  
  .filter-btn-sm {
    padding: 0.75rem 1.5rem;   
    font-size: 0.95rem;
        
  }


}