/* Adapt the homepage's native summary presentation to explicit FAQ buttons. */
.km-license-policy .km-license-faq__item + .km-license-faq__item {
    border-top: 1px solid var(--km-home-color-border);
}

.km-license-policy .km-license-faq__item > h2 {
    margin: 0;
    font-size: inherit;
    text-wrap: initial;
}

.km-license-policy .km-license-faq__question {
    width: 100%;
    min-height: 4.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.125rem .25rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--km-home-color-text);
    cursor: pointer;
    font-family: var(--km-home-font-sans);
    font-size: .9375rem;
    font-weight: 650;
    line-height: 1.65;
    text-align: left;
}

.km-license-policy .km-license-faq__question .km-home-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex: 0 0 auto;
    color: var(--km-home-color-primary);
    transition: transform var(--km-home-transition);
}

.km-license-policy .km-license-faq__question[aria-expanded="true"] .km-home-icon {
    transform: rotate(180deg);
}

.km-license-policy .km-license-faq__answer {
    padding: 0 3rem 1.375rem 0;
    color: var(--km-home-color-text-muted);
    font-size: .875rem;
    overflow-wrap: anywhere;
}

.km-license-policy .km-license-faq__answer[hidden] {
    display: none;
}

.km-license-policy .km-license-faq__answer :where(p, ul) {
    margin: 0 0 1rem;
}

.km-license-policy .km-license-faq__answer > :last-child {
    margin-bottom: 0;
}

.km-license-policy .km-license-faq__answer ul {
    padding-left: 1.25rem;
}

@media (max-width: 47.99rem) {
    .km-license-policy .km-license-faq__question {
        gap: 1rem;
        padding-block: 1rem;
        font-size: .875rem;
    }

    .km-license-policy .km-license-faq__answer {
        padding-right: 1.5rem;
    }
}
