.legal-hub-container {
    padding: 32px 0;
}

.legal-hub-container h1 {
    font-family: "Sharp Grotesk";
    font-size: 56px;
    line-height: 1.2em;
    color: #212121;
    margin-bottom: 32px;
}

.legal-hub-container h1 {
    text-align: center;
}

.legal-hub-language-switcher {
    width: fit-content;
    margin: auto;
    margin-bottom: 32px;
}

.lh-select-wrapper {
    position: relative;
    user-select: none;
    width: 220px;
    display: flex;
    gap: 10px;
    background-color: #fff;
    padding: 16px 8px;
    border-radius: 8px;
    align-items: center;
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
}

.lh-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: none;
    z-index: 1;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.lh-options.open {
    display: block;
}

.lh-option {
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.lh-option:hover {
    background-color: #f0f0f0;
}

.lh-option.selected {
    font-weight: bold;
    background-color: #f5f5f5;
}

.lh-select-trigger {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lh-select-wrapper:before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url(../images/globe.svg);
    position: relative;
    display: flex;
}

.legal-hub-category-outer {
    background-color: #fff;
    padding: 32px 24px;
    border-radius: 24px;
    margin-bottom: 24px;
}

.legal-hub-category {
    font-family: "Sharp Grotesk";
    font-size: 32px;
    line-height: 1.2em;
    color: #212121;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.legal-hub-subcategory {
    font-family: "Sharp Grotesk" !important;
    font-size: 20px!important;
    font-weight: 400 !important;
    color: #212121;
    padding-bottom: 24px;
    margin: 0;
}

.legal-hub-document a {
    color: #1E1E1E;
    font-family: Manrope;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.16px;
    text-decoration: none !important;
    text-transform: capitalize;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 1px solid #D4D5D5;
    border-radius: 8px;
    gap: 10px;
}

.legal-hub-documents, .legal-hub-parent-documents {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.legal-hub-parent-documents {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #D4D5D5;
}

.legal-hub-download-icons {
    display: flex;
    gap: 10px;
}

.legal-hub-category-child {
    padding-bottom: 24px;
    border-bottom: 1px solid #D4D5D5;
    margin-bottom: 24px;
}

.legal-hub-category-child:nth-last-child(1) {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
}

span.legal-hub-document-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media only screen and (max-width: 1024px) {
    .legal-hub-documents, .legal-hub-parent-documents {
        grid-template-columns: repeat(1, 1fr);
    }

    .legal-hub-category {
        font-size: 20px;
    }

    .legal-hub-subcategory {
        font-size: 16px !important;
    }
}

@media only screen and (max-width: 768px) {
    .lh-select-trigger {
        width: 95%;
    }

    .lh-select-wrapper {
        width: 100%;
    }

    .legal-hub-language-switcher {
        width: initial;
    }
}

@media screen and (max-width: 320px) {
    .legal-hub-document a, .legal-hub-download-icons {
        gap: 5px;
    }

    .legal-hub-download-icons img {
        max-width: 24px;
    }
}
