.faq-page-block{
    margin-top: 25px;
}

.faq-page-block .faq-block{
    gap: 20px;
}

.faq-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-course-block .faq-block {
    gap: 10px;
}

.faq-item {
    cursor: pointer;
}

.faq-header {
    background: white;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: black;
}

.faq-header-text{
    font-size: 22px;
    font-weight: 500;
}

.faq-arrow-block {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("/local/templates/csio-dpo/svg/cross-violet.svg");
    background-color: #F3F3F3;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.5s, transform 0.5s;
}

.faq-item:hover .faq-arrow-block {
    background-image: url("/local/templates/csio-dpo/svg/cross-violet-white.svg");
    background-color: var(--violet-color);
}

.faq-item.open .faq-arrow-block {
    background-image: url("/local/templates/csio-dpo/svg/cross-violet-white.svg");
    background-color: var(--violet-color);
    transform: rotate(-45deg);
}

.faq-detail {
    background: white;
    color: var(--gray4-text-color);
    padding: 0 30px 0 30px;
    max-height: 0;
    transition: max-height 0.5s, padding-top 0.5s, padding-bottom 0.5s;
    overflow: hidden;
}

.faq-item.open .faq-detail {
    padding-bottom: 30px;
    max-height: 200px;
}

@media (max-width: 780px) {
    .faq-global-block {
        margin: 20px;
    }

    .faq-global-block h2 {
        font-size: 30px;
    }

    .faq-block {
        gap: 10px;
    }

    .faq-header {
        padding: 10px 15px;
    }

    .faq-header-text {
        font-size: 18px;
        width: calc(100% - 75px);
    }
    .faq-item .faq-detail {
        font-size: 14px;
        padding: 0 15px;
    }
    .faq-item.open .faq-detail {
        padding: 10px 15px;
    }
}
