/* ============================================================
 * BUSCADOR DE PUBLICACIONES — estilos (Figma)
 * Input + botón Buscar, pill (radius 1000px), borde #1F0538.
 * ============================================================ */
.buscador-publicaciones {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin-bottom: 2rem;
}

.buscador-publicaciones .bp-texto {
    flex: 0 0 auto;
}

.buscador-publicaciones #bp-texto {
    box-sizing: border-box;
    width: 300px;
    max-width: 100%;
    height: 39px;
    padding: 0 20px;
    border: 1px solid #1F0538;
    border-radius: 1000px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #1F0538;
    background: #D4D9B8;
    outline: none;
}

.buscador-publicaciones #bp-texto::placeholder {
    color: #1F0538;
    opacity: 0.5;
}

.buscador-publicaciones .bp-filtrar {
    box-sizing: border-box;
    height: 39px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1F0538;
    border-radius: 1000px;
    background: transparent;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #1F0538;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.buscador-publicaciones .bp-filtrar:hover {
    background: #1F0538;
    color: #ffffff;
}

/* Mobile: abajo de 810px el boton pasa debajo del input */
@media (max-width: 810px) {
    .buscador-publicaciones {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: wrap;
    }
    .buscador-publicaciones .bp-texto,
    .buscador-publicaciones #bp-texto {
        width: 100%;
    }
    .buscador-publicaciones .bp-filtrar {
        width: 100%;
        justify-content: center;
    }
}
