.glossary {
    padding-top: 60px;
    background: #F9F9F9;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
}

.glossary::after {
    content: '';
    position: absolute;
    top: 25px;
    right: 25px;
    width: 90px;
    height: 60px;
    background: url('/SiteFiles/Images/hexagon.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

.glossary .glossary-heading {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 25px;
    background: #F9F9F9;
}

.glossary .glossary-heading .container {
    margin-left: unset;
    margin-right: unset;
}

.glossary .glossary-heading__wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    justify-content: center;
}

.glossary .glossary-heading__wrapper .heading {
    font-size: 30px;
}

.glossary .glossary-heading__wrapper .description {
    font-size: 16px;
}

.glossary .glossary-search-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.glossary button {
    display: inline-block;
    position: relative;
    padding: 15px 20px;
    border: 2px solid #f7a933;
    color: #4a4949;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.7px;
    transition: 0.8s;
    background: none;
}

.glossary .glossary-search-wrapper input {
    height: 58px;
    width: 100%;
    font: 16px / 38px Plantin;
    background: #fff;
    border: 1px solid #6e6e6d;
    padding: 0 10px;
}

.glossary .glossary-letters {
    display: flex;
    gap: 5px;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin: 0 20px;
    justify-content: center;
}

.glossary .glossary-heading .letter-slide {
    display: inline-block;
    margin: 0 5px;
}

.glossary .glossary-heading .letters-slider {
    width: fit-content;
}

.glossary .glossary-heading .letters-slider .slick-list {
    width: 100vw;
    margin: 0 auto;
}

.glossary .glossary-letter {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #4A49494D;
    background-color: #EEEEEE;
    color: #000;
}

.glossary .glossary-letter.active {
    background: #4A4949;
    color: #fff;
}

.glossary .glossary-content {
    padding-top: 25px;
    background: #fff;
    padding-bottom: 60px;
}

.glossary .glossary-content .container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.glossary .glossary-content .glossary-content__heading {
    font-size: 24px;
}

.glossary .glossary-content .glossary-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.glossary .glossary-content .glossary-item {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.glossary .glossary-content .glossary-item .glossary-item__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    cursor: pointer;
    padding: 20px;
}

.glossary .glossary-content .glossary-item .glossary-item__heading div {
    height: 16px;
    width: 16px;
    position: relative;
}

.glossary .glossary-content .glossary-item .glossary-item__heading div:before {
    content: '';
    position: absolute;
    width: 16px;
    height: 1px;
    background: #000;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.glossary .glossary-content .glossary-item .glossary-item__heading.closed div:after {
    content: '';
    position: absolute;
    width: 1px;
    height: 16px;
    background: #000;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.glossary .glossary-content .glossary-item .glossary-item__content {
    padding: 20px;
}

.glossary .glossary-content button {
    margin-left: auto;
    margin-right: auto;
}

.glossary .slick-progress-container .slick-dots {
    display: flex !important;
    width: 100%;
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #e0e0e0;
}

.glossary .slick-progress-container .slick-dots li {
    flex: 1;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
    background: transparent;
    transition: background 0.3s ease;
    height: 5px;
    width: calc(100% / 27);
}

.glossary .slick-progress-container .slick-dots li.filled,
.glossary .slick-progress-container .slick-dots li.slick-active {
    background: #000;
}

@media (min-width: 767px) {
    .glossary::after {
        content: '';
        position: absolute;
        top: 25px;
        right: 25px;
        width: 180px;
        height: 120px;
        background: url('/SiteFiles/Images/hexagon.svg');
        background-repeat: no-repeat;
        background-size: cover;
    }

    .glossary .glossary-heading .container {
        margin-left: auto;
        margin-right: auto;
    }

    .glossary .glossary-search-wrapper {
        flex-direction: row;
    }

    .glossary button {
        width: fit-content;
    }
}
