/*
    Block: Single FAQs
    Note: Selectors must start with .block-faqs-simple
*/

@layer blocks {
    .block-faqs-simple .main-wrapper {
        display: grid;
        grid-template-columns: 306fr 847fr;
        gap: 8.0625rem;
    }

    .block-faqs-simple .sticky-wrapper {
        position: sticky;
        top: 6.25rem;
    }

    .block-faqs-simple .sticky-wrapper :is(h6,.h6) {
        color: var(--c-feature);
        margin-block: 0 1.875rem;
    }

    .block-faqs-simple .accordions-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .block-faqs-simple .buttons {
        justify-content: flex-start;
        margin-top: 3.125rem;
    }

    .block-faqs-simple .accordion .ac-icon {
        width: 1.9375rem;
        height: 1.9375rem;
        flex: 0 0 1.9375rem;
    }

    .block-faqs-simple .accordion .ac-trigger {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        padding: 1.875rem;
    }

    .block-faqs-simple .content-wrapper {
        padding: 0 1.875rem 1.875rem;
    }

    .block-faqs-simple .accordion .ac-content {
        border: none;
    }

    .block-faqs-simple .accordion {
        background-color: var(--c-white);
        border-radius: 0.5rem;
        border: 1px solid var(--c-dark-15-tint);
    }

    .block-faqs-simple .accordion .video-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        border-radius: .5rem;
        padding: 1.25rem;
    }

    .block-faqs-simple .accordion .video-wrapper:not(:first-child) {
        margin-top: 3.125rem;
    }

    .block-faqs-simple .accordion .video-wrapper .media-wrapper::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(237.67deg, transparent 30.62%, #292034 100%);
        mix-blend-mode: multiply;
    }

    .block-faqs-simple .head {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        margin-bottom: 3.125rem;
    }

    .block-faqs-simple .head .label {
        display: flex;
        align-items: center;
        gap: .9375rem;
        color: var(--c-dark-50-tint);
        font-weight: 500;
    }

    .block-faqs-simple .head .label .icon-wrap {
        width: 1.875rem;
        height: 1.875rem;
        display: grid;
        place-items: center;
        border-radius: 100vw;
        background: var(--c-feature);
    }

    .block-faqs-simple .head .label .icon-wrap svg {
        color: var(--c-white);
    }

    @media screen and (width <= 920px) {
        .block-faqs-simple .main-wrapper {
            gap: 2.5rem;
        }
    }

    @media screen and (width <= 620px) {
        .block-faqs-simple .main-wrapper {
            grid-template-columns: 1fr;
            gap: 3.125rem;
        }
        .block-faqs-simple .sticky-wrapper :is(h6,.h6) {
            margin-block: 0 1.25rem;   
        }
        .block-faqs-simple .sticky-wrapper {
            position: static;
            top: unset;
        }
        .block-faqs-simple .sticky-wrapper :is(h2,.h2) {
            width: 85%;
            text-wrap: balance;
        }
        .block-faqs-simple .accordion .ac-trigger {
            padding: 1.25rem;
            align-items: flex-start;
        }
        .block-faqs-simple .buttons {
            margin-top: 1.875rem;
        }
        .block-faqs-simple .accordion .ac-icon {
            width: 1.625rem;
            height: 1.625rem;
            flex: 0 0 1.625rem;
        }
        .block-faqs-simple .content-wrapper {
            padding: 1px 1.25rem 1.25rem;
        }
        .block-faqs-simple .accordion .video-wrapper:not(:first-child) {
            margin-top: 1.875rem;
        }
        .block-faqs-simple .head .label .icon-wrap {
            width: 1.25rem;
            height: 1.25rem;
        }
        .block-faqs-simple .head .label .icon-wrap svg {
            width: .625rem;
        }
        .block-faqs-simple .head {
            gap: .9375rem;
            margin-bottom: 1.875rem;
        }
        .block-faqs-simple .accordions-wrapper {
            gap: .625rem;
        }

    }
}
