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 {
    padding: 0.75rem 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.68rem;
    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;
}




.design-2 .thesis-card {
    background-color: #fdfdfd;
    border: 1px solid #d1d5db;
      max-width: 90vw;
    display: flex;
    flex-direction: column;
}

.design-2 .thesis-card .status-finalizada { border-top: 5px solid #dc3545;}
.design-2 .thesis-card .status-en-curso { border-top: 5px solid #1d4ed8; }
.design-2 .thesis-card .status-disponible { border-top: 5px solid #107c41; }

.design-2 .thesis-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.design-2 .thesis-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: normal;
    color: #111827;
}

.design-2 .thesis-title a { text-decoration: none; color: inherit; }
.design-2 .thesis-title a:hover { color: #1d4ed8; }

.design-2 .thesis-status-label {    
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.design-2 .status-finalizada .thesis-status-label { color: red; }
.design-2 .status-en-curso .thesis-status-label { color: #1d4ed8; }
.design-2 .status-disponible .thesis-status-label { color: #107c41; }

.design-2 .thesis-content {
    padding: 20px;
    flex-grow: 1;
}

.design-2 .thesis-excerpt {
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
    margin: 0;
}

.design-2 .thesis-meta {
    padding: 20px;    
    font-size: 0.9rem;
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.design-2 .meta-item { margin-bottom: 10px; }
.design-2 .meta-item:last-child { margin-bottom: 0; }
.design-2 .meta-item strong { font-weight: bold; color: #111827; }
.design-2 .meta-item i { margin-right: 6px; }

.design-2 .thesis-footer {
    padding: 20px;
    text-align: left;
}

.design-2 .btn-ver-mas {
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
}


.tesista {
    font-size: 1.1rem;
    color: white;
    padding: 0.5rem;
}
.tesista strong {
    color: white!important;
}
.tesista-en-curso {
    background-color: #1d4ed8;
}
.tesista-finalizada {
    background-color: #dc3545;
}



.design-2 .btn-ver-mas:after {
    content: ' →';
    transition: margin-left 0.2s;
}



.status-disponible-btn {
    color: #107c41;
}
.status-en-curso-btn {
    color: #1d4ed8;
}
.status-finalizada-btn {
    color: #dc3545;
}

.status-disponible-btn:hover {
    color: #107c41!important;
}
.status-en-curso-btn:hover{
    color: #1d4ed8;
}
.status-finalizada-btn:hover {
    color: #dc3545;
}



.design-2 .btn-ver-mas:hover:after { margin-left: 5px; }

@media screen and (min-width: 768px) {
  
  .filter-btn {
    padding: 0.75rem 1.5rem;   
    font-size: 0.95rem;
        
  }
  .tesista {
    font-size: 1.2rem;
}
  .cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));  ;
    gap: 1.5rem;
}

}