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

.iln-carousel .iln-shell {
    position: relative;
    width: 100%;
    height: 26rem;
    border-radius: 1.25rem;
    background: #f5f5f5;
    box-shadow: 0 1.5rem 2.5rem rgba(2, 24, 54, 0.2);
    overflow: hidden;
}

.iln-carousel .iln-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.iln-carousel .iln-item {
    width: 12.5rem;
    height: 15.75rem;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 1.1rem;
    box-shadow: 0 1.25rem 2rem rgba(0, 0, 0, 0.35);
    background-position: center;
    background-size: cover;
    display: inline-block;
    transition: all 0.5s ease;
}

.iln-carousel .iln-item:nth-child(1),
.iln-carousel .iln-item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    width: 100%;
    height: 100%;
    border-radius: 1.25rem;
}

.iln-carousel .iln-item:nth-child(3) {
    left: 50%;
}

.iln-carousel .iln-item:nth-child(4) {
    left: calc(50% + 13.75rem);
}

.iln-carousel .iln-item:nth-child(5) {
    left: calc(50% + 27.5rem);
}

.iln-carousel .iln-item:nth-child(n + 6) {
    left: calc(50% + 41.25rem);
    opacity: 0;
}

.iln-carousel .iln-content {
    position: absolute;
    left: 2.5rem;
    right: 2.5rem;
    bottom: 2rem;
    max-width: 34rem;
    color: #fff;
    text-align: left;
    display: none;
    padding: 1rem 1.1rem;
    border-radius: 0.95rem;
    background: linear-gradient(180deg, rgba(8, 35, 84, 0.08) 0%, rgba(8, 35, 84, 0.82) 100%);
    backdrop-filter: blur(1px);
}

.iln-carousel .iln-item:nth-child(2) .iln-content {
    display: block;
}

.iln-carousel .iln-name {
    margin: 0 0 0.45rem 0;
    font-size: clamp(1.2rem, 1vw + 0.95rem, 1.8rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    opacity: 0;
    animation: ilnReveal 0.8s ease-in-out 1 forwards;
}

.iln-carousel .iln-des {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.55;
    opacity: 0;
    animation: ilnReveal 0.8s ease-in-out 0.2s 1 forwards;
}

@keyframes ilnReveal {
    from {
        opacity: 0;
        transform: translateY(2.2rem);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.iln-carousel .iln-button {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.iln-carousel .iln-button button {
    width: 2.35rem;
    height: 2.1rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.65);
    color: #0b3875;
    transition: transform 0.25s ease, background-color 0.25s ease;
    font-weight: 700;
}

.iln-carousel .iln-button button:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.9);
}

.iln-carousel .iln-button button:active {
    transform: scale(1.02);
}

@media (max-width: 991.98px) {
    .iln-carousel .iln-shell {
        height: 23rem;
    }

    .iln-carousel .iln-item {
        width: 10rem;
        height: 12.5rem;
    }

    .iln-carousel .iln-item:nth-child(3) {
        left: 62%;
    }

    .iln-carousel .iln-item:nth-child(4),
    .iln-carousel .iln-item:nth-child(5),
    .iln-carousel .iln-item:nth-child(n + 6) {
        opacity: 0;
    }
}

@media (max-width: 767.98px) {
    .iln-carousel .iln-shell {
        height: 21rem;
    }

    .iln-carousel .iln-item:nth-child(n + 3) {
        opacity: 0;
    }

    .iln-carousel .iln-content {
        left: 1rem;
        right: 1rem;
        bottom: 3.1rem;
        padding: 0.8rem 0.9rem;
    }

    .iln-carousel .iln-des {
        font-size: 0.9rem;
        line-height: 1.45;
    }
}
