/* Contenedor principal vertical */
.ult-overlay-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

/* La tarjeta */
.ult-card {
    position: relative;
    display: block;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background-color: #000;
}

/* Imagen de fondo con zoom */
.ult-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
    opacity: 0.75;
}

.ult-card:hover .ult-card-bg {
    transform: scale(1.1);
    opacity: 0.9;
}

/* Degradado inferior para legibilidad */
.ult-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

/* Caja de contenido */
.ult-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    z-index: 3;
    box-sizing: border-box;
}

/* CATEGORÍA: Casi transparente siempre, incluso al pasar el ratón */
.ult-category {
    display: inline-block;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05); /* 5% de blanco inicial */
    padding: 1px 6px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 6px;
    border-radius: 1px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 4;
}

.ult-category:hover {
    /* Tu color #008d95 con solo 30% de opacidad al pasar el ratón */
    background: rgba(0, 141, 149, 0.3); 
    border-color: rgba(0, 141, 149, 0.5);
}

/* TÍTULO: Sin cambio de color, blanco puro */
.ult-title-link {
    text-decoration: none;
    display: block;
}

.ult-title {
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    margin: 0 !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    transition: transform 0.3s ease;
}

/* Movimiento sutil hacia arriba */
.ult-card:hover .ult-title {
    transform: translateY(-3px);
}

/* Enlace invisible total */
.ult-full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}