﻿#technology__ia{
    background-color:var(--off-white);
}

.dx-rocola {
    position: relative;
    height: 720px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:url("/images/technology/coreai.webp");
    background-position:center;
    background-repeat:no-repeat;
    background-size:50%;
}

.dx-core {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

    .dx-core img {
        width: 160px;
        height: auto;
        filter: drop-shadow(0 24px 60px rgba(0,0,0,.16));
        opacity: .95;
    }

.rocola {
    width: min(1200px, 100%);
    height: 490px;
    position: relative;
    z-index: 2;
    touch-action: pan-y;
    cursor: grab;
}

    .rocola:active {
        cursor: grabbing;
    }

.rocola__track {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.rocola__card {
    position: absolute;
    width: 100%;
    min-width: 350px;
    max-width: 425px;
    height: 650px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 0px 30px rgba(0,0,0,.08);
    padding: 22px 22px 18px;
    user-select: none;
    transition: transform .22s ease, opacity .22s ease, filter .22s ease;
    will-change: transform, opacity;
}

.rocola__thumb {
    height: 190px;
    margin-bottom: 14px;
    background-image: url(../images/ai/ClassificationAI.webp);

    background-repeat: no-repeat; 
    background-position: center center; 
    background-size: cover; 
}

.rocola__thumb1 {
    height: 210px;
    margin-bottom: 14px;
    background-image: url(../images/ai/ClassificationAI.jpg);
    background-repeat: no-repeat; 
    background-position: center center; 
    background-size: cover; 
}

.rocola__thumb3 {
    height: 210px;
    margin-bottom: 14px;
    background-image: url(../images/ai/glosaai.jpg);
    background-repeat: no-repeat; 
    background-position: center center; 
    background-size: cover;
}

.rocola__thumb2 {
    height: 210px;
    margin-bottom: 14px;
    background-image: url(../images/ai/glosapostr1.jpg);
    background-repeat: no-repeat; 
    background-position: center center; 
    background-size: cover; 
}

.rocola__card h3 {
    margin: 8px 0 8px;
    font: 700 18px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Inter;
    color: #001c15;
}

.rocola__card p {
    margin: 0;
    font: 400 14px/1.45 system-ui, -apple-system, Segoe UI, Roboto, Inter;
    color: rgba(0,28,21,.72);
}


.rocola {
    perspective: 1200px; 
    perspective-origin: 50% 50%;
}

.rocola__track {
    transform-style: preserve-3d; 
}

.rocola__card {
    transform-style: preserve-3d;
    backface-visibility: hidden; 
}

.rocola {
    position: relative;
}

.rocola__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(6px);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 28px;
    line-height: 1;
    z-index: 10;
}

.rocola__btn--prev {
    left: 10px;
}

.rocola__btn--next {
    right: 10px;
}

.rocola__btn:hover {
    background: rgba(255,255,255,.95);
}

.rocola__btn:active {
    transform: translateY(-50%) scale(.98);
}

.article-subtitle:lang(es) {
    line-height: 1;
    min-height: 1em;
    margin-top: 10px;
    margin: 10px;
}


@media (max-width: 768px) {
    .rocola__btn {
        top: 40%; 
        transform: translateY(-50%);
    }
}

@media (max-width: 420px) {
    .rocola__btn {
        top: 27%;
    }
}
