/* Alejo Video Carousel - frontend */
.avc-carousel,
.avc-carousel *{
    box-sizing:border-box;
}

.avc-carousel{
    position:relative;
    width:100%;
    font-family:'Poppins',Arial,sans-serif;
}

.avc-viewport{
    width:100%;
    overflow:hidden;
    border-radius:22px;
}

.avc-track{
    display:flex;
    width:100%;
    transition:transform .45s cubic-bezier(.22,.61,.36,1);
    will-change:transform;
}

.avc-slide{
    min-width:100%;
    width:100%;
}

.avc-media{
    position:relative;
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    border-radius:22px;
    background:#06192e;
    box-shadow:0 18px 45px rgba(4,63,125,.16);
}

.avc-media video,
.avc-media iframe{
    width:100%;
    height:100%;
    display:block;
    border:0;
    background:#000;
    object-fit:cover;
}

.avc-project-badge{
    position:absolute;
    left:18px;
    top:18px;
    z-index:5;
    padding:9px 14px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    border-radius:50px;
    background:rgba(3,47,102,.94);
    color:#fff;
    font-size:11px;
    line-height:1;
    font-weight:700;
    pointer-events:none;
    box-shadow:0 8px 22px rgba(0,0,0,.18);
}

.avc-project-badge::before{
    content:"▶";
    width:25px;
    height:25px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#ff2d3a;
    font-size:9px;
}

.avc-caption{
    padding:22px 5px 5px;
    text-align:center;
}

.avc-caption h3{
    margin:0;
    color:#032f66;
    font-size:20px;
    line-height:1.3;
    font-weight:800;
}

.avc-caption p{
    max-width:800px;
    margin:8px auto 0;
    color:#657486;
    font-size:13px;
    line-height:1.7;
}

.avc-arrow{
    position:absolute;
    top:calc(50% - 34px);
    z-index:10;
    width:48px;
    height:48px;
    border:0;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    color:#074b91;
    font-size:31px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 10px 28px rgba(4,63,125,.20);
    transition:transform .22s ease, background .22s ease, color .22s ease;
}

.avc-arrow:hover{
    transform:scale(1.06);
    background:#074b91;
    color:#fff;
}

.avc-prev{ left:-24px; }
.avc-next{ right:-24px; }

.avc-dots{
    margin-top:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.avc-dot{
    width:9px;
    height:9px;
    padding:0;
    border:0;
    border-radius:50%;
    background:#c7d5e4;
    cursor:pointer;
    transition:width .2s ease, border-radius .2s ease, background .2s ease;
}

.avc-dot.is-active{
    width:28px;
    border-radius:20px;
    background:#ff2d3a;
}

.avc-empty{
    padding:25px;
    border:1px dashed #b8c8d9;
    border-radius:16px;
    background:#f7fafe;
    color:#52677c;
    text-align:center;
}

@media(max-width:760px){
    .avc-viewport,
    .avc-media{
        border-radius:16px;
    }

    .avc-arrow{
        width:40px;
        height:40px;
        top:calc(50% - 45px);
        font-size:27px;
    }

    .avc-prev{ left:8px; }
    .avc-next{ right:8px; }

    .avc-project-badge{
        left:12px;
        top:12px;
        padding:7px 10px;
        font-size:9px;
    }

    .avc-project-badge::before{
        width:21px;
        height:21px;
    }

    .avc-caption{
        padding-top:16px;
    }

    .avc-caption h3{
        font-size:17px;
    }

    .avc-caption p{
        font-size:12px;
    }
}
