.seo-faq {
    display: flex;
    flex-direction: column;
    padding: 0 50px;
    overflow: hidden;

    .full {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 80px 0 40px;
        max-width: 1280px;
        margin: 0 auto;
        width: 100%;

        >h2.heading {
            color: var(--Colour-Text, #1D1921);
            font-family: Poppins;
            font-size: 48px;
            font-style: normal;
            font-weight: 600;
            line-height: 120%;
        }

        .seo-faq-accordion {
            display: flex;
            flex-direction: column;
            gap: 0;

            .seo-faq-item {
                border-bottom: 1px solid rgba(29, 25, 33, 0.15);

                &:first-child {
                    border-top: 1px solid rgba(29, 25, 33, 0.15);
                }

                .seo-faq-header {
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-items: center;
                    padding: 20px 8px;
                    cursor: pointer;
                    user-select: none;

                    .seo-faq-title {
                        color: var(--Colour-Text, #1D1921);
                        font-family: "Lexend Deca";
                        font-size: 18px;
                        font-style: normal;
                        font-weight: 500;
                        line-height: 140%;
                        flex: 1;
                        padding-right: 24px;
                    }

                    .seo-faq-icon {
                        flex-shrink: 0;
                        width: 20px;
                        height: 20px;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        svg {
                            width: 16px;
                            height: 16px;
                            fill: var(--Colour-Primary, #453784);
                        }
                    }
                }

                &.active .seo-faq-header {
                    background: #ecebf3;
                }

                .seo-faq-content {
                    max-height: 0;
                    overflow: hidden;
                    transition: max-height 0.35s ease;

                    .seo-faq-body {
                        padding: 20px 8px;
                        color: var(--Colour-Text, #1D1921);
                        font-family: "Lexend Deca";
                        font-size: 16px;
                        font-style: normal;
                        font-weight: 300;
                        line-height: 150%;

                        p {
                            margin: 0 0 12px;

                            &:last-child {
                                margin-bottom: 0;
                            }
                        }

                        a {
                            color: var(--Colour-Primary, #453784);
                            text-decoration: underline;
                        }
                    }
                }

            }
        }
    }
}

@media (max-width: 1024px) {
    .seo-faq {
        padding: 0 40px;

        .full {
            padding: 40px 0;

            >h2.heading {
                font-size: 32px;
            }

            .seo-faq-title {
                font-size: 16px !important;
            }
        }
    }
}

@media (max-width: 767px) {
    .seo-faq {
        padding: 0 20px;

        .full {
            padding-bottom: 20px;
        }
    }
}
