.faq-directory {
    color: #172f50;
}

.faq-tools {
    background: #eff4fa;
    padding: clamp(16px, 2vw, 30px);
    border-radius: 12px;
    margin-bottom: 32px;
}

.faq-tools label {
    display: block;
    font-size: 22px;
    font-weight: 650;
    margin-bottom: 8px;
}

.faq-tools input {
    width: min(100%, 48rem);
    background: white;
    border: 1px solid #879bb7;
    padding: 10px 14px;
    border-radius: 7px;
}

#topic-status {
    margin: 8px 0 0;
}

#topic-status:empty {
    display: none;
}

.topic-layout {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) minmax(0, 3fr);
    gap: clamp(24px, 4vw, 70px);
    align-items: start;
}

.topic-nav {
    position: sticky;
    top: 95px;
}

.topic-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.topic-nav a {
    display: block;
    padding: 7px 0;
}

.topic-nav select,
.topic-nav label {
    display: none;
}

.faq-directory h2 {
    font-size: clamp(22px, 2vw, 30px);
    letter-spacing: -.025em;
    margin: 0 0 12px;
}

.topic-results section:not([hidden]) ~ section {
    margin-top: 32px;
}

.topic-results details,
.topic-results section,
.topic-alias {
    scroll-margin-top: 106px;
}

.topic-alias {
    display: block;
}

.topic-results details {
    border-bottom: 1px solid #d5deeb;
}

.topic-results summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.topic-results summary::-webkit-details-marker {
    display: none;
}

.topic-results summary::after {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border: solid #345b8b;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.topic-results details[open] summary::after {
    transform: rotate(225deg);
}

.topic-answer {
    padding: 0 0 12px;
    overflow-wrap: anywhere;
}

.topic-excerpt {
    color: #485f78;
    margin: 2px 0 10px;
    font-size: .95em;
}

.faq-directory [hidden] {
    display: none !important;
}

@media (max-width: 760px) {
    .topic-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .topic-nav {
        position: static;
    }

    .topic-nav.js-ready ul,
    .topic-nav.js-ready h2 {
        display: none;
    }

    .topic-nav.js-ready select,
    .topic-nav.js-ready label {
        display: block;
    }

    .topic-nav select {
        width: 100%;
        padding: 8px;
    }
}
