.custom-carousel-wrapper{
    width: 100%;
    position: relative;
    padding: 0 70px 30px;
    box-sizing: border-box;
}

.custom-carousel-home{
    width: 100%;
    position: relative;
}

.custom-carousel-inner{
    border-radius: 24px;
    overflow: hidden;
    background: transparent;
}

.custom-carousel-item{
    background: transparent;
}

.custom-carousel-item-box{
    width: 100%;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
}

.custom-carousel-media{
    width: 100%;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.custom-carousel-image{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
}

.custom-carousel-empty{
    min-height: 320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: #5b6475;
    background: rgba(255,255,255,.9);
    border-radius: 18px;
}

.custom-carousel-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    padding: 16px;
    min-height: 92px;
    flex-shrink: 0;
    background: transparent;
}

.custom-carousel-actions-empty{
    display: block;
    width: 1px;
    height: 44px;
    opacity: 0;
}

.btn-carousel-action{
    appearance: none;
    border: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.btn-carousel-action:hover{
    transform: translateY(-1px);
    opacity: .96;
    text-decoration: none;
}

.btn-carousel-pdf{
    background: #d72638;
    color: #fff;
}

.btn-carousel-link{
    background: #2a9d8f;
    color: #fff;
}

.btn-carousel-video{
    background: #2A275C;
    color: #fff;
}

.custom-carousel-indicators{
    margin-bottom: 0;
    bottom: -6px;
}

.custom-carousel-indicators [data-bs-target]{
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 0;
    margin: 0 5px;
    background-color: rgba(255,255,255,.7);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.custom-carousel-indicators .active{
    background-color: #ffffff;
    transform: scale(1.15);
}

.custom-carousel-control{
    position: absolute;
    top: 230px;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    opacity: 1;
    z-index: 20;
    border: 0;
}

.custom-carousel-control.carousel-control-prev{
    left: -62px;
}

.custom-carousel-control.carousel-control-next{
    right: -62px;
}

.custom-carousel-control-icon{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 39, 92, .95);
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
    transition: transform .2s ease, background .2s ease;
}

.custom-carousel-control:hover .custom-carousel-control-icon{
    transform: scale(1.06);
    background: rgba(42, 39, 92, 1);
}

.arrow-carousel{
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.custom-video-modal-dialog{
    width: min(92vw, 980px);
    max-width: none;
}

.custom-video-modal-content{
    border: 0;
    border-radius: 24px;
    overflow: hidden;
}

.custom-video-modal-header{
    background: linear-gradient(135deg, #2A275C 0%, #4A49A8 100%);
    color: #fff;
    border-bottom: 0;
    padding: 1rem 1.25rem;
}

.custom-video-modal-header .modal-title{
    font-weight: 800;
    font-size: 1.15rem;
}

.custom-video-modal-header .btn-close{
    filter: invert(1) grayscale(1) brightness(200%);
    opacity: 1;
}

.custom-video-modal-body{
    padding: 1.5rem;
    background: #f8fafc;
}

.custom-video-frame-wrap{
    min-height: 220px;
    width: 100%;
}

.custom-video-frame-wrap.is-video{
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-video-link-box{
    width: 100%;
    padding: 2rem 1rem;
    text-align: center;
}

@media (max-width: 991.98px){
    .custom-carousel-wrapper{
        padding: 0 52px 28px;
    }

    .custom-carousel-item-box{
        min-height: 460px;
    }

    .custom-carousel-media{
        height: 360px;
    }

    .custom-carousel-actions{
        min-height: 88px;
    }

    .btn-carousel-action{
        min-width: 145px;
        padding: 11px 16px;
        font-size: .92rem;
    }

    .custom-carousel-control{
        width: 46px;
        height: 46px;
        top: 180px;
    }

    .custom-carousel-control.carousel-control-prev{
        left: -48px;
    }

    .custom-carousel-control.carousel-control-next{
        right: -48px;
    }

    .custom-carousel-control-icon{
        width: 46px;
        height: 46px;
    }

    .arrow-carousel{
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 575.98px){
    .custom-carousel-wrapper{
        padding: 0 0 26px;
    }

    .custom-carousel-inner{
        border-radius: 16px;
    }

    .custom-carousel-item-box{
        min-height: 360px;
    }

    .custom-carousel-media{
        height: 240px;
    }

    .custom-carousel-actions{
        padding: .9rem .8rem 1rem;
        gap: 10px;
        min-height: 112px;
    }

    .btn-carousel-action{
        width: 100%;
        min-width: 100%;
    }

    .custom-carousel-control{
        top: 120px;
        width: 40px;
        height: 40px;
    }

    .custom-carousel-control.carousel-control-prev{
        left: 8px;
    }

    .custom-carousel-control.carousel-control-next{
        right: 8px;
    }

    .custom-carousel-control-icon{
        width: 40px;
        height: 40px;
    }

    .arrow-carousel{
        width: 18px;
        height: 18px;
    }

    .custom-video-modal-dialog{
        width: calc(100vw - 1rem);
        margin: .5rem auto;
    }

    .custom-video-modal-body{
        padding: 1rem;
    }
}

.custom-video-embed-wrap{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 18px;
    overflow: hidden;
}

.custom-video-embed-wrap iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}