/* === Wrapper === */
.is-fc1417f4-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

/* === Sidebar === */
.is-fc1417f4-sidebar {
    flex: 1 1 300px;
}

.is-fc1417f4-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.is-fc1417f4-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.is-fc1417f4-list-item.active,
.is-fc1417f4-list-item:hover {
    opacity: 1;
}

.is-fc1417f4-list-item-num {
    font-size: 0.9em;
    font-weight: 600;
}

.is-fc1417f4-list-item-line {
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.is-fc1417f4-list-item.active .is-fc1417f4-list-item-line {
    width: 50px;
}

.is-fc1417f4-list-item-title {
    font-size: 2em;
}

/* === Content Area === */
.is-fc1417f4-content {
    flex: 2 1 500px;
    position: relative;
    min-height: 500px;
}

.is-fc1417f4-content-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.is-fc1417f4-content-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* === Images === */
.is-fc1417f4-images-wrap {
    position: relative;
    width: 100%;
}

.is-fc1417f4-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

.is-fc1417f4-img-top {
    position: relative;
    z-index: 2;
    width: 80%;
    margin-left: auto;
}

.is-fc1417f4-img-bottom {
    position: absolute;
    bottom: -10%;
    left: 0;
    width: 60%;
    z-index: 3;
}

/* === Heading === */
.is-fc1417f4-heading {
    margin: 15px 0;
    padding: 0;
    line-height: 1.3;
}

.is-fc1417f4-heading--overlay {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: 90%;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* === Description === */
.is-fc1417f4-desc {
    position: relative;
    width: 50%;
    margin-left: auto;
    padding: 20px;
    z-index: 4;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    margin-top: 15px;
}

/* === Responsive: Tablet === */
@media (max-width: 1024px) {
    .is-fc1417f4-wrapper {
        gap: 30px;
    }

    .is-fc1417f4-sidebar {
        flex: 1 1 250px;
    }

    .is-fc1417f4-content {
        flex: 2 1 400px;
        min-height: 400px;
    }

    .is-fc1417f4-list-item-title {
        font-size: 1.6em;
    }

    .is-fc1417f4-img-top {
        width: 85%;
    }

    .is-fc1417f4-img-bottom {
        width: 55%;
    }

    .is-fc1417f4-desc {
        width: 60%;
    }
}

/* === Responsive: Mobile === */
@media (max-width: 767px) {
    .is-fc1417f4-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .is-fc1417f4-sidebar {
        flex: 1 1 auto;
        width: 100%;
    }

    .is-fc1417f4-content {
        flex: 1 1 auto;
        min-height: auto;
        width: 100%;
    }

    .is-fc1417f4-content-item {
        position: relative;
        height: auto;
    }

    .is-fc1417f4-content-item:not(.active) {
        position: absolute;
    }

    .is-fc1417f4-list-item-title {
        font-size: 1.3em;
    }

    .is-fc1417f4-list-item {
        padding: 10px 0;
        gap: 10px;
    }

    .is-fc1417f4-images-wrap {
        position: relative;
    }

    .is-fc1417f4-img-top {
        width: 100%;
        margin-left: 0;
    }

    .is-fc1417f4-img-bottom {
        position: relative;
        width: 70%;
        bottom: auto;
        left: auto;
        margin-top: -15%;
    }

    .is-fc1417f4-heading {
        margin: 10px 0;
    }

    .is-fc1417f4-heading--overlay {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        color: inherit;
        text-shadow: none;
    }

    .is-fc1417f4-desc {
        position: relative;
        width: 100%;
        margin-left: 0;
        bottom: auto;
        left: auto;
        margin-top: 10px;
        padding: 15px;
    }
}
