/* Scope all styles to the component class */
.meidecasting_9fK2b {
    width: 100%;
    margin: var(--margin-tb) auto;


   padding-left: var(--padding-lr);
    padding-right: var(--padding-lr);
    max-width: var(--custom-content-max-width);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.header_wrapper_9fK2b {
    text-align: center;
    margin-bottom: 3rem;
}

.section_title_9fK2b {
    font-size: var(--title-size);
    color: var(--title-color);
    margin-bottom: 2rem;
    font-weight: bold;
}

.section_desc_9fK2b {
    font-size: var(--desc-size);
    color: var(--desc-color);
    line-height: 1.5;
}

.content_wrapper_9fK2b {
    display: flex;
    gap: 4rem;
    align-items: center;
}

/* Navigation (Left A) */
.nav_container_9fK2b {
    display: flex;
    flex-direction: column;
    align-items: center;

    flex-shrink: 0;
    padding-top: 2rem;
}

.nav_item_9fK2b {
    display: flex;
    flex-direction: row;
    /* Changed to row for "vertical item icon structure" but usually "vertical item" means items are stacked vertically. The icon and text relationship? "icon below has icon text" -> text below icon usually. */
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.nav_item_9fK2b.active {
    opacity: 1;
}

.nav_item_9fK2b:hover {
    opacity: 0.8;
}

.icon_wrapper_9fK2b {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.progress_ring_9fK2b {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress_ring_bg_9fK2b {
    stroke: var(--icon-ring-bg, #eee);
}

.progress_ring_circle_9fK2b {
    stroke-dasharray: 175.9;
    stroke-dashoffset: 175.9;
    transition: stroke-dashoffset 0.1s linear;
    /* JS controls this smoothly or CSS animation? CSS transition is better for JS updates */
}

.nav_item_9fK2b.active .progress_ring_circle_9fK2b {
    /* stroke-dashoffset will be handled by JS */
}

.icon_inner_9fK2b {
    font-size: 2.4rem;
    color: var(--theme-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon_inner_9fK2b .yiyingbaoicon {
    font-size: var(--item-icon-size);
}

.nav_text_9fK2b {
    font-size: var(--icon-des-size, 1.4rem);
    color: var(--icon-title-color);
    text-align: center;
    font-weight: 500;
}

.dashed_line_9fK2b {
    width: 1px;
    height: 60px;
    border-left: 1px dashed #000;
    margin: 1rem 0;
    opacity: 0.3;
}

/* Display Area (Right B) */
.display_container_9fK2b {
    flex-grow: 1;
    position: relative;
    height: 100%;
    /* Adjust based on content */
}

.tab_content_9fK2b {
    display: none;
    width: 100%;
    height: 100%;
}

.tab_content_9fK2b.active {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    animation: fadeIn_9fK2b 0.5s ease-out;

}

.text_area_9fK2b {

    opacity: 0;
    /* Start hidden for animation */
    transform: translateY(20px);
}

.tab_content_9fK2b.active .text_area_9fK2b {
    animation: slideUpFade_9fK2b 0.6s ease-out forwards 0.1s;
    flex: 1 1 0%;
    min-width: 0;
}

.item_title_9fK2b {
    font-size: var(--item-title-size, 2.4rem);
    /* Assuming variable exists or fallback */
    color: var(--theme-color);
    margin-bottom: 2rem;
    font-weight: bold;
}

.item_desc_9fK2b {
    font-size: var(--item-description-size, 1.4rem);
    color: var(--item-desc-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.item_link_group_9fK2b {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.link_text_9fK2b {
    font-size: 1.4rem;
    color: var(--item-link-color);
}

.link_btn_9fK2b {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: var(--theme-color);
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s;
}

.link_btn_9fK2b:hover {
    transform: translateX(5px);
}

.link_btn_9fK2b .yiyingbaoicon {}

.image_area_9fK2b {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    flex: 0 0 var(--image-width, 680px);
    width: var(--image-width, 680px);
    aspect-ratio: var(--image-aspect-ratio, 2 / 1);
}

.image_area_9fK2b img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.image_area_9fK2b:hover img {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn_9fK2b {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUpFade_9fK2b {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */



/* Mobile: All vertical */
@media (max-width:1200px) {
    .section_title_9fK2b {
        font-size: calc(var(--title-size) * 0.9);
    }

    .nav_text_9fK2b {
        font-size: calc(var(--icon-des-size, 1.4rem) * 0.9);

    }

    .item_desc_9fK2b {
        font-size: calc(var(--item-description-size, 1.4rem) * 0.9);

    }

    .display_container_9fK2b {
        margin-top: 2rem;
    }

    .tab_content_9fK2b.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        animation: fadeIn_9fK2b 0.5s ease-out;
    }

    .item_title_9fK2b {
        font-size: calc(var(--item-title-size, 2.4rem) * 0.9);
    }

    .content_wrapper_9fK2b {
        flex-direction: column;
        gap: 2rem;
    }

    .nav_container_9fK2b {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .dashed_line_9fK2b {
        display: none;
    }

    .tab_content_9fK2b {
        flex-direction: column;
        /* B-1 and B-2 up-down */
    }

    .text_area_9fK2b {
        order: 1;
        padding-right: 0;
        text-align: center;
    }

    .item_link_group_9fK2b {
        justify-content: center;
    }

    .image_area_9fK2b {
        order: 2;
        width: 100%;
        flex: 0 0 100%;
    }
}
