/* 背景波浪-start */
.main-container {
    /* background: rgba(30, 140, 230, 0.08); */
    /* background-color: #f0f0f0; */
    /* background: linear-gradient(to left, var(--yellow-color) 0%, rgba(0, 106, 190, 1) 50%, rgba(0, 106, 190, 1) 100%); */
    background: #ffffff;
}

.wave {
    position: absolute;
    left: 0;
    bottom: 200px;
    width: 100%;
    height: 62vh;
    max-height: 720px;
    min-height: 360px;
    display: block;
    pointer-events: none;
    z-index: 0;
}

/* 背景波浪-end */

/* FAQ Banner-start */
.faq-banner-section {
    height: 260px;
    background-image: url("/static/image/page_heder_2.webp");
    background-size: cover;
    background-position: center 46%;
    background-repeat: no-repeat;

    .my-container {
        height: auto;
        justify-content: center;
        align-items: center;
        background-image: none;

        .banner-title {
            font-size: 36px;
            font-weight: 500;
            text-align: center;
        }
    }

    .faq-banner__content {
        max-width: 720px;
    }

    .banner-title {
        margin: 0 0 12px;
        font-size: 40px;
        font-weight: 600;
        line-height: 1.2;
        color: var(--black-color);
    }

    .faq-banner__desc {
        margin: 0;
        font-size: 16px;
        line-height: 1.7;
        color: var(--black-color);
    }
}

/* FAQ Banner-end */

/* 常見問題區塊-start */
.faq-section {
    padding: 56px 0 96px;
    background: #ffffff;
    min-height: calc(100vh - 260px);

    .faq-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 24px;
        align-items: start;
    }

    .faq-grid__col {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .faq-item {
        border: 1px solid rgba(24, 24, 24, 0.12);
        border-radius: 0;
        background: #ffffff;

        .faq-item__trigger {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            width: 100%;
            padding: 22px 24px;
            border: none;
            background: transparent;
            text-align: left;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .faq-item__question {
            flex: 1;
            font-size: 16px;
            font-weight: 600;
            line-height: 1.5;
            color: var(--black-color);
        }

        .faq-item__icon {
            position: relative;
            flex-shrink: 0;
            width: 18px;
            height: 18px;

            &::before,
            &::after {
                content: "";
                position: absolute;
                top: 50%;
                left: 50%;
                background: var(--black-color);
                transform: translate(-50%, -50%);
                transition: transform 0.2s ease, opacity 0.2s ease;
            }

            &::before {
                width: 14px;
                height: 1.5px;
            }

            &::after {
                width: 1.5px;
                height: 14px;
            }
        }

        .faq-item__body {
            display: none;
            padding: 0 24px 22px;

            p {
                margin: 0;
                font-size: 14px;
                line-height: 1.8;
                color: rgba(24, 24, 24, 0.72);
            }
        }

        &.is-open {
            border-color: var(--main-color);

            .faq-item__question {
                color: var(--main-color);
            }

            .faq-item__icon {
                &::before,
                &::after {
                    background-color: var(--main-color);
                    transform: translate(-50%, -50%) rotate(45deg);
                }
            }

            .faq-item__body {
                display: block;
            }
        }

        &:hover {
            border-color: rgba(30, 140, 230, 0.2);

            .faq-item__question {
                color: var(--main-color);
            }

            .faq-item__icon {
                &::before,
                &::after {
                    background-color: var(--main-color);
                }
            }

            .faq-item__trigger {
                background: rgba(30, 140, 230, 0.02);
            }
        }
    }
}

/* 常見問題區塊-end */