/* Noticias pagina principal */

.noticia-item {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 30px;
}





.noticia-img img {
    border-radius: 4px;
}

.noticia-fecha {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 5px;
}

.noticia-titulo {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.noticia-texto {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}


/* Noticias pagina interna */


.sidebar-sticky {
    position: sticky;
    top: 100px; /* ajusta según tu header */
}


/* Contenedor del buscador */
.buscador-principal {
    border: 2px solid #007bff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f1f8ff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Wrapper para input + botón */
.buscador-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Input del buscador */
.buscador-principal input {
    width: 100%;
    padding: 12px 45px 12px 12px; /* deja espacio para el botón */
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
}

/* Botón de búsqueda */
.buscador-principal button {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    color: #007bff;
    cursor: pointer;
}

/* Texto adicional debajo del input */
.buscador-texto {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}