#core_body {
    margin-bottom: 0 !important;
}

#legal{
    display: grid;
  }

#legal__content {
    display: grid;
    grid-template-columns: 3fr 4fr;
    height: 90vh;
    overflow: hidden;
    position: relative;

}

#legal-content {
    overflow-y: auto;
}

#legal-content li {
    list-style-type: disc; /* Adds a dot (bullet) */
    padding-left: 20px; /* Ensures proper indentation */
}


#legal-content a {
    text-decoration-line: underline;
}

#legal-content a:hover {
    overflow-y: auto;
    color: var(--clr-accent);
}

.legal__tabs {
    display: grid;
    grid-template-rows: max-content max-content max-content;


    justify-content: start;
    align-items: start;
    gap: 1rem;

}

.legal__tabs button {
    letter-spacing: .2vw;
    text-align: left;
    font-size: var(--fs-400);
    cursor: pointer;
    font-weight: 500;
    color: var(--clr-background-4);
}

.legal__tabs button.selected {
    color: var(--clr-accent);
    
}



#legal-content {

    margin-bottom: 4rem;
    display: grid;
    
    justify-content: left;
    border-top: 0.14rem solid var(--clr-dark);
    padding-top: 1rem;
}

#legal-content * {
    text-align: left;
    
    
}

#legal-content > h1 {
    font-size: var(--fs-500);
    
    margin: 0;
}

#legal-content > h2 {
    font-size: var(--fs-400);
    
    margin: 2rem 0 0 0;
}

#legal-content > h3 {
    margin-top: 1rem;
    font-size: var(--fs-300);
    font-style: italic;
}

.company_terms li{
    list-style-type: none!important;
    font-size: var(--fs-200);
    
    pointer-events: none;
    -webkit-user-select: none; 
    -ms-user-select: none; 
    user-select: none;
}

.company_ma {
    list-style-type: none!important;
}

@media (max-width: 1111px) {
	#legal__content {
        display: grid;
        height: 100%; 
        width: calc(100% - 2rem);
        grid-template-columns: 1fr;
        position: absolute;
        top: 1rem;
    }


    .legal__tabs {
        padding-bottom: 1rem;
    }

    .legal__tabs button {
        text-align: left;
        font-size: var(--fs-350);
        margin: 0 ;
        padding: 0;
    }

    #legal-content {
        overflow-y: auto;
        
        border-left: 0;
        padding-left: 0;
        
        
    }
}