.custom-card-ioarr {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
    height: 100%;
}
.custom-card-ioarr:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    border-color: #d3d3d3;
}
.custom-card-ioarr .card-img-top-container {
    height: 180px;
    overflow: hidden;
    position: relative;
}
.custom-card-ioarr .card-img-top-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.custom-card-ioarr .badges-container {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
}
.custom-card-ioarr .card-body {
    padding: 20px;
    flex: 1; 
}
.custom-card-ioarr .card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-secundario);
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.custom-card-ioarr .grid-datos {
    display: flex;
    flex-wrap: wrap;
}
.custom-card-ioarr .grid-datos .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    margin-bottom: 0px;
}
.custom-card-ioarr .grid-datos span {
    display: block;
    font-size: 11px;
    color: var(--color-gris-texto);
    margin-bottom: 2px;
}
.custom-card-ioarr .grid-datos strong {
    color: var(--color-secundario);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    display: block;
}
.custom-card-ioarr .card-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    background-color: #fafafa;
}
.custom-card-ioarr .card-footer .boton-01 {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}
.custom-card-ioarr .badges-container {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    gap: 4px;
}
.custom-card-ioarr .badges-container > div {
    background-color: var(--fen); /* Llama al color guinda de tu root */
    color: #fff;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 14px;
}

/*CODIGO LIMPIO*/
/* =========================================
   COMPONENTE: INFORMACIÓN GENERAL
========================================= */

/* Título de la sección */
.custom-titulo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.custom-titulo .icon-box {
    margin-right: 10px;
}
.custom-titulo h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Contenedor principal de la tabla */
.informacion-general .custom-grid-info {
    border-top: 1px solid #e3e5e4;
    margin: 0;
    width: 100%;
}

/* Celda (Forzamos Flexbox aquí para alinear el ícono y los textos) */
.informacion-general .info-celda {
    display: flex !important;
    flex-direction: row !important; /* Ícono a la izquierda, textos a la derecha */
    align-items: center !important; /* Centrado vertical */
    padding: 15px 20px !important; 
    border-bottom: 1px solid #e3e5e4;
    box-sizing: border-box;
}

/* Borde derecho para la columna 1 (impares) en escritorio */
@media (min-width: 768px) {
    .informacion-general .info-celda:nth-child(odd) {
        border-right: 1px solid #e3e5e4;
    }
}

/* Ícono: Medida estricta para que no se deforme */
.informacion-general .info-icon {
    display: block;
    width: 35px;
    min-width: 35px;
    text-align: center;
    margin-right: 15px;
}

.informacion-general .info-icon i {
    font-size: 24px;
    color: var(--color-gris-texto, #595957);
}

/* Contenedor de Textos: Apila la etiqueta sobre el valor */
.informacion-general .info-text {
    display: flex !important;
    flex-direction: column !important; /* Etiqueta arriba, valor abajo */
    width: 100%;
}

.informacion-general .info-text span {
    font-size: 12px;
    color: var(--color-gris-texto, #7a7a7a);
    margin-bottom: 4px;
    display: block;
    line-height: 1.1;
}

.informacion-general .info-text p {
    font-size: 15px;
    color: var(--color-secundario, #161A1D);
    font-weight: 500;
    margin: 0;
    display: block;
    line-height: 1.2;
    word-break: break-word;
}

.informacion-general .info-icon {
    margin: 5px !important;
    text-align: center;
    align-items: center;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
}

.info-icon {
    margin: 5px !important;
    text-align: center;
    align-items: center;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
}

.informacion-general .bottom-icon {
    margin-bottom: 5px !important; 
}



/* =========================================
   RESPONSIVE: TARJETAS IOARR (MÓVILES)
========================================= */
@media only screen and (max-width: 767px) {
    .custom-card-ioarr .grid-datos .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 12px;
    }
    
    .custom-card-ioarr .card-title {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .custom-card-ioarr .card-body {
        padding: 15px;
    }
}

@media (min-width: 981px) {
    .tab-inversiones-priorizadas .col-inversiones {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}