/* Feature Slider Widget — frontend styles */

.fsw-wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 440px;
    background: #0a0a0a;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    box-sizing: border-box;
}

.fsw-left {
    width: 42%;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
}

.fsw-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 1.25rem 0;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: opacity 0.3s ease;
}
.fsw-item:last-child { border-bottom: none; }
.fsw-item:not(.active) { opacity: 0.35; }
.fsw-item:not(.active):hover { opacity: 0.6; }

.fsw-bar-wrap {
    width: 3px;
    align-self: stretch;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    min-height: 24px;
}
.fsw-bar-fill {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: #4ade80;
    border-radius: 2px;
    height: 0%;
}

.fsw-text { flex: 1; }

.fsw-title {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}
.fsw-item.active .fsw-title {
    font-size: 21px;
    margin-bottom: 0.45rem;
}

.fsw-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    margin: 0;
}
.fsw-item.active .fsw-desc {
    max-height: 120px;
    opacity: 1;
}

.fsw-right {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #080808;
}

.fsw-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}
.fsw-visual.active {
    opacity: 1;
    pointer-events: auto;
}

.fsw-visual img,
.fsw-visual video {
    width: fit-content !important;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fsw-icon-box {
    width: 240px;
    height: 280px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    border: 1px solid rgba(255,255,255,0.1);
}
.fsw-icon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}
.fsw-icon-inner i,
.fsw-icon-inner svg {
    font-size: 52px;
    width: 52px;
    height: 52px;
}
.fsw-icon-label {
    font-size: 13px;
    text-align: center;
    padding: 0 1.2rem;
    line-height: 1.5;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .fsw-wrap {
        flex-direction: column-reverse;
        min-height: unset;
    }
    .fsw-left {
        width: 100% !important;
        padding: 2rem 1.5rem;
    }
    .fsw-right {
        height: 300px;
        position: relative;
    }
}

