.footer-bottom a
{
    color: #e8eef1;
    text-decoration: none;
}

.footer-bottom a:hover
{
    color: var(--white, #ffffff);
}

.legal-page h2
{
    margin-bottom: 16px;
}

.legal-document
{
    max-height: min(56vh, 560px);
    overflow-y: auto;
    overscroll-behavior: contain;

    padding: 18px 22px 22px;

    background: #f7f9fb;
    border: 1px solid #d7dee4;
    border-left: 4px solid var(--blue, #1F5F82);
    border-radius: 4px;

    line-height: 1.55;
    color: #2a3340;
}

.legal-document::-webkit-scrollbar
{
    width: 8px;
}

.legal-document::-webkit-scrollbar-thumb
{
    background: var(--blue, #1F5F82);
    border-radius: 4px;
}

.legal-document h2,
.legal-document h3,
.legal-document h4
{
    color: var(--blue, #1F5F82);
    margin: 1.15rem 0 0.45rem;
    line-height: 1.3;
}

.legal-document h2
{
    font-size: 1.2rem;
    padding-bottom: 0;
}

.legal-document h2::after
{
    display: none;
}

.legal-document h3
{
    font-size: 1.05rem;
}

.legal-document h4
{
    font-size: 1rem;
}

.legal-document > *:first-child,
.legal-document > div > *:first-child
{
    margin-top: 0;
}

.legal-document p
{
    margin: 0 0 0.75rem;
}

.legal-document ul,
.legal-document ol
{
    margin: 0 0 0.9rem 1.2rem;
}

.legal-document li
{
    margin-bottom: 0.35rem;
}

.legal-document a
{
    color: var(--blue, #1F5F82);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-document a:hover
{
    color: var(--orange, #E97824);
}

@media (max-width: 768px)
{
    .legal-document
    {
        max-height: min(68vh, 620px);
        padding: 14px 14px 18px;
    }
}

.di-consent-dialog .di-dialog-footer
{
    flex-wrap: wrap;
    gap: 8px;
}

.consent-embed
{
    position: relative;
    width: 100%;
    min-height: 320px;
    margin-top: 16px;
    border-radius: 8px;
    overflow: hidden;
    background: #eef3f6;
}

.consent-embed iframe
{
    display: none;
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: 8px;
}

.consent-embed.is-allowed iframe
{
    display: block;
}

.consent-embed.is-allowed .consent-embed-placeholder
{
    display: none;
}

.consent-embed-placeholder
{
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 28px 24px;
    text-align: center;
    color: #2a3340;
}

.consent-embed-placeholder p
{
    margin: 0;
    max-width: 36rem;
    line-height: 1.5;
}

.consent-embed-placeholder .submit-btn
{
    margin: 0;
}
