/* ==========================================================================
   Kidan Interactive List Widget - Hover Effects with Dynamic Images
   ========================================================================== */

.kidan-interactive-list {
    width: 100%;
}

.kidan-interactive-list-item {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.kidan-interactive-list-item:last-child {
    border-bottom: none;
}

/* Link wrapper */
.kidan-list-item-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Item Content */
.kidan-list-item-content {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Icon */
.kidan-list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Text Wrapper */
.kidan-list-text-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.kidan-list-text {
    font-family: 'Gantari', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.kidan-list-subtext {
    font-family: 'Gantari', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

/* Hover Image */
.kidan-list-hover-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    overflow: hidden;
}

.kidan-list-hover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover State */
.kidan-interactive-list-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.kidan-interactive-list-item:hover .kidan-list-hover-image {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .kidan-list-text {
        font-size: 16px;
    }

    .kidan-list-subtext {
        font-size: 14px;
        display: block;
        width: 100%;
        margin-left: 28px !important;
        margin-top: 4px;
    }

    .kidan-list-hover-image {
        display: none; /* Hide hover images on mobile */
    }
}
