.body-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


    .body-wrapper main {
        flex: 1;
    }

.faq-item {
    width: 100%;
    padding: 1.875rem;
    background: white;
    border-radius: 16px;
    line-height: 1.75;
    margin-bottom: 1rem;
    position: relative;
}

    .faq-item.open .faq-answer {
        display: block
    }

    .faq-item:last-child {
        margin-bottom: 0;
    }

    .faq-item .faq-question {
        width: 100%;
        color: #121D26;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        cursor: pointer;
        font-weight: 600;
    }

        .faq-item .faq-question:after {
            content: "⌃";
            width: 32px;
            height: 32px;
            aspect-ratio: 1/1;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            align-content: center;
            color: #121D26;
            padding-top: 4px;
            transform: rotate(180deg);
        }


    .faq-item .faq-answer {
        width: 100%;
        color: #121D26;
        display: none;
    }

        .faq-item .faq-answer p {
            width: 100%;
            margin-bottom: 0;
        }

        .faq-item .faq-answer img {
            width: 100%;
            height: auto;
            object-fit: contain;
        }

        .faq-item .faq-answer [data-type="ans-detail"] {
            margin-top: 1.5rem;
        }


    .faq-item.open .faq-question:after {
        transform: rotate(0);
    }

[iostem-button] {
    text-align: center;
}

body {
    background: -webkit-gradient(linear, left top, left bottom, from(#22243c), color-stop(66.83%, #1d3246));
    background: linear-gradient(180deg, #22243c, #1d3246 66.83%);
}

.home-page__main_wrap {
    background: url("../images/home-page/bg_homepage_main.png") repeat-x top left / auto auto;
}

.iostem-section {
    width: 100%;
    margin: max(2rem, 4%) 0;
}


    .iostem-section .section-header {
        width: 100%;
        border-left: 3px solid #04CFD7;
        padding: 0 0.75rem;
        color: white;
        margin-bottom: 1.5rem;
    }


    .iostem-section .section-body {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .iostem-section .section-footer {
        width: 100%;
        display: flex;
        justify-content: center;
        align-content: center;
        gap: 1rem;
    }


.players-ranking [iostem-horizontal-card]:first-child {
    background-color: #FFD700;
}

    .players-ranking [iostem-horizontal-card]:first-child h3[iostem-text] {
        width: 24px;
        height: 24px;
        background: url("../images/home-page/ic_ranking_1.png") no-repeat center / contain;
    }

.players-ranking [iostem-horizontal-card]:nth-child(2) {
    background-color: #DEDEDE;
}

    .players-ranking [iostem-horizontal-card]:nth-child(2) h3[iostem-text] {
        width: 24px;
        height: 24px;
        background: url("../images/home-page/ic_ranking_2.png") no-repeat center / contain;
    }

.players-ranking [iostem-horizontal-card]:nth-child(3) {
    background-color: #D5A06D;
}

    .players-ranking [iostem-horizontal-card]:nth-child(3) h3[iostem-text] {
        width: 24px;
        height: 24px;
        background: url("../images/home-page/ic_ranking_3.png") no-repeat center / contain;
    }

.players-ranking [iostem-horizontal-card] h3[iostem-text] {
    color: #F24E1E;
}

.players-ranking [iostem-horizontal-card] {
    border: 1px solid #E2E8F0;
}

.flex-base {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.iostem-nav {
    width: calc(320 / 1200 * 100%);
    background: #FFFFFF4D;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #ccc;
    height: fit-content;
    position: sticky;
    top: 124px;
    margin-bottom: 1rem;
}



    .iostem-nav .root-nav {
        width: 100%;
    }

        .iostem-nav .root-nav.active .root-title {
            background-color: #04CFD7;
        }

        .iostem-nav .root-nav .root-title {
            min-height: 56px;
            margin-bottom: 0;
            display: flex;
            align-items: center;
            padding: 12px 24px;
            border-radius: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }

            .iostem-nav .root-nav .root-title::after {
                content: "";
                width: 0;
                height: 0;
                border-top: 6px solid white;
                border-right: 6px solid transparent;
                border-left: 6px solid transparent;
                transition: all 0.3s ease;
            }

            .iostem-nav .root-nav .root-title:not(:has(+ .sub-nav))::after {
                display: none;
            }

        .iostem-nav .root-nav.active .root-title::after {
            transform: rotate(180deg);
        }

.sub-nav .sub-item {
    min-height: 56px;
    display: flex;
    align-items: center;
    padding-left: 2.5rem;
    cursor: pointer;
    margin-bottom: 0;
}

    .sub-nav .sub-item:hover,
    .sub-nav .sub-item.active {
        color: #04CFD7;
    }


.collapse {
    display: block;
}

.collapse-hidden {
    display: none;
}

.iostem-content {
    width: calc(856 / 1200 * 100%);
}


@media (max-width: 992px) {
    .flex-base {
        flex-direction: column
    }

    .iostem-nav,
    .iostem-content {
        width: 100%;
        position: relative;
        top: 0;
    }
}


.message-noty {
    width: 100%;
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

.iostem-tab-items:hover {
    background: #04CFD7;
    border-radius: .75rem;
}

.text-timeline {
    text-align: center;
}

    .text-timeline h3 {
        color: #F9CC3B;
        letter-spacing: 2px;
        font-weight: 700;
        font-size: 30px;
    }


    .text-timeline p {
        color: white;
        margin-bottom: 0;
        font-size: 16px
    }
