.glossary-hero__summary {
    max-width: 720px;
    margin: 0;
    color: #465466;
    font-size: 18px;
    line-height: 1.7;
}

.glossary-tools {
    display: grid;
    gap: 18px;
    margin: 0 0 34px;
}

.glossary-search {
    display: flex;
    gap: 10px;
}

.glossary-search label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.glossary-search input {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #d6e0e9;
    border-radius: 10px;
    background: #fff;
    color: #34445b;
    font: inherit;
}

.glossary-search input:focus-visible {
    outline: 3px solid #00897b;
    outline-offset: 2px;
}

.glossary-alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.glossary-alphabet a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #dce6ed;
    border-radius: 8px;
    background: #f7fafb;
    color: #24417c;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.glossary-alphabet a:hover,
.glossary-alphabet a:focus-visible {
    border-color: #00897b;
    background: #eaf5f3;
}

.glossary-results {
    margin: 0 0 18px;
    color: #65758a;
    font-size: 14px;
}

.glossary-group {
    margin: 0 0 36px;
    scroll-margin-top: 110px;
}

.glossary-group h2 {
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5ebf0;
    color: #24417c;
    font-size: 26px;
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.glossary-entry {
    padding: 18px 20px;
    border: 1px solid #e2e9ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(36, 65, 124, .04);
}

.glossary-entry h3 {
    margin: 0 0 7px;
    color: #176c70;
    font-size: 18px;
    line-height: 1.4;
}

.glossary-entry p {
    margin: 0;
    color: #536174;
    font-size: 15px;
    line-height: 1.65;
}

.glossary-entry[hidden],
.glossary-group[hidden] {
    display: none;
}

.glossary-empty {
    padding: 20px;
    border-radius: 10px;
    background: #f3f6fa;
    color: #465466;
}

.glossary-disclaimer {
    margin-top: 32px !important;
    padding: 16px 18px;
    border-radius: 9px;
    background: #f3f6fa;
    color: #596779;
    font-size: 14px;
}

@media (max-width: 680px) {
    .glossary-hero__summary {
        font-size: 16px;
    }

    .glossary-grid {
        grid-template-columns: 1fr;
    }

    .glossary-entry {
        padding: 16px;
    }
}
