.card-ceibas-display {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.background-card {
    position: relative;
    width: 500px;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Imagen de fondo */
.card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Capa semitransparente */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* oscurece la imagen */
    display: flex;
    align-items: flex-end; /* contenido abajo */
    padding: 20px;
}

/* Contenido: texto + botón */
.card-content {
    width: 100%;

    & p, h1, h2, h3, h4, h5, h6 {
        color: white !important;
        font-size: 1.1rem;
        font-weight: bold;
    }

}

.read-more {
    padding: 10px 20px;
    background: #001793;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.read-more:hover {
    background: #001793;
    box-shadow: 0 0 8px #fff;
    color: #fff;
}

.half-navbar {
    width: 50%;
    background-color: #001793;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;

    & p, h1, h2, h3, h4, h5, h6 {
        color: #fff !important;
        margin-bottom: 0;
        font-weight: bold;
    }
}


.half-navbar.center {
    margin: 0 auto;
}

.half-navbar.left {
    margin-left: auto;
}